/* ==========================================================================
   UZM. DR. ONUR ÇAPKAN - PREMIUM DESIGN SYSTEM & MEDICAL STYLESHEET
   ========================================================================== */

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('assets/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 1. Global Variables & Design Tokens */
:root {
    /* Color Palette (Luxury Medical / Soft Skincare Aesthetic) */
    --primary: #1A56DB;          /* Warm Champagne Gold */
    --primary-hover: #1E40AF;    /* Deeper Gold */
    --primary-light: #EFF6FF;    /* Cream Soft Accent */
    --secondary: #0284C7;        /* Medical Sage Green */
    --secondary-light: #E0F2FE;  /* Soft Green Hue */
    --dark: #0F172A;             /* Deep Slate Charcoal */
    --dark-light: #1E293B;       /* Softer Slate Card Base */
    --light: #F8FAFC;            /* Warm Off-White Background */
    --white: #FEFEFE;
    --gray-100: #F3F4F6;
    --gray-300: #D1D5DB;
    --gray-500: #6B7280;
    --gray-700: #374151;
    
    /* Typography */
    --font-title: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    /* Layout & Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    --header-height-scrolled: 70px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Transitions & Shadows */
    --transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(26, 86, 219, 0.08), 0 4px 6px -2px rgba(26, 86, 219, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(30, 34, 41, 0.08), 0 10px 10px -5px rgba(30, 34, 41, 0.03);
    --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

/* 2. Global Reset & Base Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
    -webkit-text-size-adjust: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.75;
    color: #2D333F;             /* Deep slate high-contrast dark neutral */
    background-color: var(--light);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1200;
    padding: 10px 16px;
    border-radius: var(--border-radius-sm);
    color: var(--white);
    background: var(--dark);
    text-decoration: none;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid rgba(26, 86, 219, 0.45);
    outline-offset: 4px;
}

.scroll-sentinel {
    position: absolute;
    top: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

/* 3. Common Layout & Grid Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.alternate-bg {
    background-color: var(--white);
    border-top: 1px solid rgba(26, 86, 219, 0.1);
    border-bottom: 1px solid rgba(26, 86, 219, 0.1);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1023px) {
    .header-actions > .btn {
        display: none;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn:active,
.channel-card:active,
.floating-cta:active {
    transform: translateY(1px) scale(0.99);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(26, 86, 219, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 86, 219, 0.5);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--dark);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

/* Section Header Typography */
.section-header {
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.text-center {
    text-align: center;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    background-color: var(--primary-light);
    border-radius: 50px;
    margin-bottom: 16px;
    border: 1px solid rgba(26, 86, 219, 0.2);
}

.section-title {
    font-family: var(--font-title);
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-500);
}

@media (min-width: 768px) {
    .section-title { font-size: 44px; }
}

/* 4. Floating Header & Nav Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(248, 250, 252, 0.88);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(26, 86, 219, 0.08);
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    height: var(--header-height-scrolled);
    background-color: rgba(248, 250, 252, 0.96);
    box-shadow: var(--shadow-sm);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-title {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    transition: var(--transition);
}

.logo-subtitle {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
}

/* Desktop Navigation */
.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Nav Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--dark);
    transition: var(--transition);
}

.mobile-menu-toggle.open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hide navigation/actions on small screens */
.desktop-nav {
    display: none;
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: block;
    }
    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile Navigation Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100dvh;
    background-color: var(--light);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul {
    list-style: none;
    text-align: center;
}

.mobile-nav-link {
    display: block;
    font-family: var(--font-title);
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    padding: 16px 0;
    transition: var(--transition);
}

.mobile-nav-link:hover {
    color: var(--primary);
    transform: scale(1.05);
}

.mobile-menu-footer {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.whatsapp-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #25D366;
    text-decoration: none;
}

/* 5. Hero Section Styles */
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    background: radial-gradient(circle at 80% 20%, rgba(26, 86, 219, 0.08) 0%, transparent 60%);
    overflow: hidden;
    min-height: min(820px, 100dvh);
    display: flex;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-hover);
    background-color: var(--primary-light);
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-family: var(--font-title);
    font-size: 48px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 16px;
}

.accent-text {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.accent-text::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--primary-light);
    z-index: -1;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 24px;
}

.hero-text {
    font-size: 16px;
    color: var(--gray-500);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    border-top: 1px solid var(--gray-300);
    padding-top: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-icon {
    font-size: 18px;
}

.feature-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

@media (min-width: 768px) {
    .hero-content h1 { font-size: 64px; }
    .hero-subtitle { font-size: 28px; }
}

/* Hero Image Card Frame */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 0.82;
    border-radius: var(--border-radius-lg);
    background-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    overflow: visible;
}

.hero-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: auto;
    object-fit: cover;
    z-index: 2;
    filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.15));
}

/* Floating Badges */
.hero-floating-badge {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(26, 86, 219, 0.2);
    border-radius: var(--border-radius-sm);
    padding: 12px 18px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    animation: floating 4s ease-in-out infinite;
}

.hero-floating-badge.top-right {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.hero-floating-badge.bottom-left {
    bottom: 15%;
    left: -12%;
    animation-delay: 1.5s;
}

.hero-floating-badge .number {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.hero-floating-badge .text {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark);
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.hero-floating-badge .icon {
    font-size: 22px;
}

/* Ambient Geometric Accents */
.accent-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
}

.accent-circle-1 {
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background-color: rgba(26, 86, 219, 0.25);
}

.accent-circle-2 {
    bottom: 40px;
    left: -30px;
    width: 200px;
    height: 200px;
    background-color: rgba(118, 140, 124, 0.2);
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* 6. Biography Timeline Styles */
.bio-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.bio-image-stack {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 520px;
}

.bio-bg-shape {
    position: absolute;
    top: 40px;
    left: 40px;
    width: calc(100% - 80px);
    height: calc(100% - 80px);
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(26, 86, 219, 0.15);
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.bio-pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: auto;
    object-fit: contain;
    z-index: 2;
    opacity: 0.95;
    filter: saturate(0.9);
}

.bio-accreditations {
    position: absolute;
    width: 100%;
    bottom: -30px;
    left: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    z-index: 3;
}

.acc-card {
    background-color: var(--white);
    border: 1px solid rgba(26, 86, 219, 0.12);
    border-radius: var(--border-radius-sm);
    padding: 16px 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.acc-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.acc-icon {
    font-size: 28px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.acc-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.acc-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

.acc-desc {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 1023px) {
    .bio-image-stack {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .bio-bg-shape {
        display: none;
    }
    .bio-pattern {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 380px;
        height: auto;
        margin-bottom: 24px;
    }
    .bio-accreditations {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 0;
        width: 100%;
    }
}

@media (min-width: 640px) {
    .bio-accreditations {
        grid-template-columns: repeat(2, 1fr);
    }
}

.lead-text {
    font-size: 18px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 32px;
    line-height: 1.5;
}

/* Timeline Layout */
.bio-timeline {
    position: relative;
    padding-left: 24px;
    border-left: 2px solid var(--primary-light);
}

.timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    top: 6px;
    left: -31px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--white);
    border: 3px solid var(--primary);
    transition: var(--transition);
}

.timeline-item.highlight .timeline-marker {
    background-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.timeline-details {
    transition: var(--transition);
}

.timeline-date {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.timeline-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.timeline-details p {
    font-size: 14px;
    color: var(--gray-500);
}

.timeline-item:hover .timeline-marker {
    background-color: var(--primary-hover);
    transform: scale(1.2);
}

/* 7. Treatments Tab Panel & Bento Grid */
.tabs-navigation {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(26, 86, 219, 0.15);
    margin-bottom: 48px;
    background-color: var(--white);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    padding: 8px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    background: none;
    border: none;
    padding: 16px 24px;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    border-radius: var(--border-radius-sm);
    width: 100%;
}

.tab-btn.active {
    background-color: var(--primary-light);
}

.tab-num {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-300);
    transition: var(--transition);
}

.tab-btn.active .tab-num {
    color: var(--primary);
}

.tab-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-700);
    transition: var(--transition);
}

.tab-btn.active .tab-label {
    color: var(--dark);
}

@media (min-width: 768px) {
    .tabs-navigation {
        flex-direction: row;
        justify-content: space-between;
    }
    .tab-btn {
        width: auto;
    }
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeInTab 0.6s ease;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Treatment Bento Grid Cards */
.treatment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .treatment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.treatment-card {
    background-color: var(--white);
    border: 1px solid rgba(26, 86, 219, 0.1);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.treatment-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.treatment-card.accent {
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
    border-color: var(--primary);
}

.card-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 4px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-icon {
    font-size: 36px;
    margin-bottom: 20px;
}

.card-title {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.card-intro {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.treatment-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.treatment-list li {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    padding-left: 20px;
    position: relative;
}

.treatment-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: -2px;
    color: var(--primary);
    font-size: 18px;
}

/* TAB 2 Intro block style */
.technological-intro {
    background-color: var(--white);
    border: 1px solid rgba(26, 86, 219, 0.1);
    border-radius: var(--border-radius-md);
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.technological-intro h3 {
    font-family: var(--font-title);
    font-size: 20px;
    color: var(--dark);
}

.technological-intro p {
    font-size: 15px;
    color: var(--gray-500);
}

@media (min-width: 768px) {
    .technological-intro {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
    }
    .technological-intro p {
        flex: 1;
        margin-bottom: 0;
    }
}

/* TAB 3: Clinical Dermatology Columns */
.dermatology-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .dermatology-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .dermatology-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.dermatology-column {
    background-color: var(--white);
    border: 1px solid rgba(26, 86, 219, 0.08);
    border-radius: var(--border-radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.column-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 12px;
}

.column-title span {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    background-color: var(--primary-light);
    padding: 4px 8px;
    border-radius: 4px;
}

.dermatology-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dermatology-list li {
    font-size: 14px;
    line-height: 1.4;
}

.dermatology-list li strong {
    display: block;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
    font-size: 15px;
}

.dermatology-list li span {
    color: var(--gray-500);
}

/* 8. Laser Spotlight Card (Accure Akne Lazer) */
.accure-showcase {
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
    border: 1px solid var(--primary);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 60px;
}

.accure-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 1024px) {
    .accure-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.badge-accent {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    margin-bottom: 16px;
}

.accure-content h2 {
    font-family: var(--font-title);
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.2;
}

.laser-wavelength {
    color: var(--primary);
}

.accure-tagline {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 24px;
}

.accure-content p {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.accure-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.bullet {
    font-size: 14px;
    color: var(--gray-700);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.bullet-check {
    color: var(--primary-hover);
    font-weight: 700;
}

.accure-image-card {
    position: relative;
    border-radius: var(--border-radius-md);
    background-color: var(--white);
    border: 1px solid rgba(26, 86, 219, 0.2);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    aspect-ratio: 1.1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.accure-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.accure-image-card picture,
.insta-avatar picture {
    display: block;
    width: 100%;
    height: 100%;
}

.accure-spec-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: #25D366;
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Location Selector Toggle for lasers */
.clinic-toggle-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.toggle-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
}

.clinic-toggle-buttons {
    display: flex;
    background-color: var(--white);
    border: 1px solid rgba(26, 86, 219, 0.2);
    border-radius: 50px;
    padding: 6px;
    box-shadow: var(--shadow-sm);
}

.btn-toggle {
    padding: 10px 24px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray-500);
}

.btn-toggle.active {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(26, 86, 219, 0.3);
}

.clinic-panel {
    display: none;
}

.clinic-panel.active {
    display: block;
    animation: fadeInPanel 0.6s ease;
}

@keyframes fadeInPanel {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Lasers Grid & Cards styling */
.lasers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .lasers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.laser-card {
    background-color: var(--white);
    border: 1px solid rgba(26, 86, 219, 0.1);
    border-radius: var(--border-radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.laser-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.laser-card-header {
    display: flex;
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid rgba(26, 86, 219, 0.08);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.laser-icon {
    font-size: 28px;
    background-color: var(--primary-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.laser-title-group h4 {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.device-brand {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}

.laser-indications {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.laser-indications li {
    font-size: 13px;
    color: var(--gray-500);
    padding-left: 16px;
    position: relative;
}

.laser-indications li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: -2px;
    color: var(--primary);
}

@media (min-width: 640px) {
    .laser-indications {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 9. Instagram Live Preview Card Layout & Styles */
.instagram-card-container {
    max-width: 935px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(26, 86, 219, 0.12);
    padding: 32px;
}

@media (max-width: 576px) {
    .instagram-card-container {
        padding: 20px 16px;
    }
}

.instagram-profile-card {
    display: flex;
    flex-direction: column;
}

.insta-profile-header {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-bottom: 28px;
    padding: 0 12px;
}

@media (max-width: 768px) {
    .insta-profile-header {
        flex-direction: column;
        gap: 24px;
        align-items: center;
        text-align: center;
    }
}

/* Premium Stories Ring & Rotating Animation */
.insta-avatar-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .insta-avatar-wrapper {
        width: 110px;
        height: 110px;
    }
}

.insta-story-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    padding: 3px;
    box-sizing: border-box;
    animation: spin-insta 8s linear infinite;
}

@keyframes spin-insta {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.insta-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid var(--white);
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
    transition: var(--transition);
}

.insta-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.insta-avatar-wrapper:hover .insta-avatar {
    transform: scale(1.03);
}

/* Profile Info & Username Styling */
.insta-profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.insta-username-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .insta-username-row {
        justify-content: center;
    }
}

.insta-username {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 500;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.insta-verified-badge {
    color: #4ba0f6;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.insta-verified-badge svg {
    width: 100%;
    height: 100%;
}

.insta-brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
}

.insta-logo-icon {
    color: #E1306C;
    transition: var(--transition);
}

.insta-brand-badge:hover .insta-logo-icon {
    transform: scale(1.15) rotate(10deg);
    color: #bc1888;
}

/* Action Buttons */
.insta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .insta-actions {
        justify-content: center;
    }
}

.btn-insta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-insta-primary {
    background-color: #0095F6;
    color: var(--white);
    border: 1px solid #0095F6;
}

.btn-insta-primary:hover {
    background-color: #0077C6;
    border-color: #0077C6;
    box-shadow: 0 4px 12px rgba(0, 149, 246, 0.25);
    transform: translateY(-1px);
}

.btn-insta-secondary {
    background-color: transparent;
    color: var(--dark);
    border: 1px solid rgba(30, 34, 41, 0.15);
}

.btn-insta-secondary:hover {
    background-color: rgba(30, 34, 41, 0.04);
    border-color: rgba(30, 34, 41, 0.25);
    transform: translateY(-1px);
}

/* Stats Row */
.insta-stats-row {
    display: flex;
    gap: 28px;
}

@media (max-width: 768px) {
    .insta-stats-row {
        justify-content: center;
        gap: 20px;
    }
}

.insta-stat {
    font-size: 14.5px;
    color: var(--gray-700);
}

.insta-stat .stat-num {
    font-weight: 700;
    color: var(--dark);
}

/* Bio Block */
.insta-bio {
    padding: 0 12px;
    margin-bottom: 32px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-700);
    border-bottom: 1px solid rgba(26, 86, 219, 0.12);
    padding-bottom: 24px;
}

@media (max-width: 768px) {
    .insta-bio {
        text-align: center;
    }
}

.insta-bio .insta-name {
    font-family: var(--font-title);
    font-size: 15.5px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}

.insta-bio .insta-category {
    display: block;
    font-size: 12.5px;
    color: var(--gray-500);
    margin-bottom: 10px;
}

.insta-bio-text {
    margin-bottom: 10px;
}

.insta-bio-link {
    font-weight: 600;
    color: #00376b;
    text-decoration: none;
    transition: var(--transition);
}

.insta-bio-link:hover {
    color: var(--primary);
}

/* 3-Post Gallery Grid */
.insta-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0 12px;
}

@media (max-width: 768px) {
    .insta-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }
}

.insta-post-card {
    position: relative;
    display: block;
    aspect-ratio: 1;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(26, 86, 219, 0.08);
    text-decoration: none;
    transition: var(--transition);
}

.insta-post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.insta-post-media {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.media-post-1 {
    background: linear-gradient(135deg, #E0F2FE 0%, #F0F9FF 100%);
}

.media-post-2 {
    background: linear-gradient(135deg, var(--secondary-light) 0%, #F5F7F6 100%);
}

.media-post-3 {
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
}

.insta-post-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    padding: 20px;
}

.insta-post-visual .visual-badge {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0095F6;
    background-color: rgba(0, 149, 246, 0.12);
    padding: 6px 12px;
    border-radius: 50px;
}

.media-post-2 .visual-badge {
    color: var(--secondary);
    background-color: rgba(118, 140, 124, 0.12);
}

.media-post-3 .visual-badge {
    color: var(--dark);
    background-color: rgba(30, 34, 41, 0.08);
}

.insta-post-visual .visual-icon {
    font-size: 40px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
    transition: var(--transition);
}

.insta-post-card:hover .visual-icon {
    transform: scale(1.15) rotate(4deg);
}

.insta-post-visual .visual-tech {
    font-family: var(--font-title);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--dark);
}

/* Post Hover Cam Overlay */
.insta-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 34, 41, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
    transform: scale(1.02);
}

.insta-post-card:hover .insta-post-overlay {
    opacity: 1;
    transform: scale(1);
}

.insta-post-stats {
    display: flex;
    gap: 20px;
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.insta-post-caption-hover {
    color: rgba(255, 255, 255, 0.85);
    font-size: 12.5px;
    line-height: 1.5;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.instagram-btn-wrapper {
    margin-top: 48px;
}

.instagram-btn-wrapper .icon {
    margin-right: 8px;
}

/* 10. Contact & Location Maps Layout */
.contact-card {
    background-color: var(--white);
    border: 1px solid rgba(26, 86, 219, 0.12);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.clinic-details {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

.clinic-city-tag {
    align-self: flex-start;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    color: var(--secondary);
    background-color: var(--secondary-light);
    border-radius: 4px;
    text-transform: uppercase;
}

.clinic-details h3 {
    font-family: var(--font-title);
    font-size: 22px;
    color: var(--dark);
    line-height: 1.3;
}

.clinic-address {
    font-size: 14px;
    color: var(--gray-500);
}

.clinic-cta-group {
    margin-top: auto;
}

.map-embed-wrapper {
    width: 100%;
    aspect-ratio: 1.6;
    background-color: var(--gray-100);
    border-top: 1px solid rgba(26, 86, 219, 0.08);
}

.map-iframe {
    width: 100%;
    height: 100%;
}

/* Quick contact channels block */
.quick-channels {
    margin-top: 60px;
}

.channel-card {
    background-color: var(--white);
    border: 1px solid rgba(26, 86, 219, 0.1);
    border-radius: var(--border-radius-md);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.channel-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.channel-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.channel-card.whatsapp .channel-icon {
    background-color: rgba(37, 211, 102, 0.1);
}

.channel-card.mail .channel-icon {
    background-color: rgba(26, 86, 219, 0.1);
}

.channel-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.channel-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gray-500);
    letter-spacing: 0.05em;
}

.channel-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.channel-card.whatsapp .channel-value {
    color: #25D366;
}

/* 11. Footer Layout */
.main-footer {
    background-color: var(--dark);
    color: var(--gray-300);
    border-top: 4px solid var(--primary);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 60px;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.footer-logo .logo-title {
    color: var(--white);
    font-size: 24px;
}

.footer-logo .logo-subtitle {
    color: #93C5FD;
}

.footer-disclaimer {
    font-size: 12px;
    line-height: 1.5;
    color: #AAB2C0;
}

.footer-links h4, .footer-social h4 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h4::after, .footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links ul a {
    font-size: 14px;
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--dark-light);
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-booking {
    margin-top: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 30px 0;
    font-size: 12px;
    color: #AAB2C0;
}

/* 12. Floating Action Widgets */
.floating-cta-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

.floating-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    color: var(--white);
    text-decoration: none;
    position: relative;
    transition: var(--transition);
}

.whatsapp-btn {
    background-color: #25D366;
}

.whatsapp-btn:hover {
    background-color: #20BA5A;
    transform: scale(1.08);
}

.cta-tooltip {
    position: absolute;
    right: 76px;
    background-color: var(--dark);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.cta-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -4px;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background-color: var(--dark);
}

.floating-cta:hover .cta-tooltip {
    opacity: 1;
    visibility: visible;
    right: 72px;
}

/* 13. Dynamic Scroll Reveal Framework */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.delay-1 {
    transition-delay: 0.15s;
}

.scroll-reveal.delay-2 {
    transition-delay: 0.3s;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 14. Custom Biography Credentials Grid */
.bio-credentials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

@media (min-width: 1200px) {
    .bio-credentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.credential-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(26, 86, 219, 0.12);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.credential-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.cred-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary);
    margin-top: 8px;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(26, 86, 219, 0.4);
}

.credential-item strong {
    font-size: 15px;
    color: var(--dark);
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
}

.credential-item p {
    font-size: 13.5px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* 15. Premium Multi-Page Subpage Layouts */
.subpage-layout {
    padding-top: var(--header-height);
}

.subpage-hero {
    padding: 100px 0 80px 0;
    border-bottom: 1px solid rgba(26, 86, 219, 0.08);
}

.subpage-hero .section-title {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-top: 10px;
}

.subpage-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(26, 86, 219, 0.1);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.subpage-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.subpage-card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin: 20px 0 12px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.01em;
}

.machine-pill {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: var(--primary-light);
    color: var(--primary-hover);
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid rgba(26, 86, 219, 0.2);
}

.subpage-card-intro {
    font-size: 15.5px;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 24px;
}

.subpage-treatment-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.subpage-treatment-list li {
    padding-left: 18px;
    position: relative;
}

.subpage-treatment-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary);
}

.subpage-treatment-list li strong {
    font-size: 16px;
    color: var(--dark);
    display: block;
    margin-bottom: 2px;
    font-weight: 700;
}

.subpage-treatment-list li span {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.6;
}

.subpage-cta {
    grid-column: span 2;
    margin-top: 60px;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
    padding: 50px 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(26, 86, 219, 0.15);
    box-shadow: var(--shadow-sm);
}

.subpage-cta h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.subpage-cta p {
    font-size: 16px;
    color: var(--gray-700);
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.portal-feature-list {
    list-style: none;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.portal-feature-list li {
    font-size: 14.5px;
    color: var(--gray-700);
    line-height: 1.5;
    padding-left: 16px;
    position: relative;
}

.portal-feature-list li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 0;
}

.portal-feature-list li strong {
    color: var(--dark);
    font-weight: 600;
}

@media (max-width: 991px) {
    .subpage-hero .section-title {
        font-size: 32px;
    }
    
    .subpage-cta {
        grid-column: span 1;
        padding: 40px 24px;
    }
}

@media (min-width: 1024px) {
    .treatments .grid-3 {
        grid-template-columns: 1.08fr 0.96fr 0.96fr;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 72px 0;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 40px);
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        padding-inline: 14px;
    }

    .hero-floating-badge.top-right {
        right: -2%;
    }

    .hero-floating-badge.bottom-left {
        left: -2%;
    }

    .subpage-card {
        padding: 28px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
}

/* 16. Visual refinement - preserve the brand, improve hierarchy */
:root {
    --primary: #1D55C7;
    --primary-hover: #16439E;
    --primary-light: #EAF1FF;
    --secondary: #0B78A8;
    --secondary-light: #E6F5FB;
    --dark: #101828;
    --dark-light: #1D2939;
    --light: #F5F7FA;
    --gray-500: #667085;
    --gray-700: #344054;
    --container-width: 1280px;
    --header-height: 72px;
    --header-height-scrolled: 64px;
    --border-radius-sm: 10px;
    --border-radius-md: 18px;
    --border-radius-lg: 28px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04);
    --shadow-md: 0 12px 32px rgba(31, 64, 122, 0.10);
    --shadow-lg: 0 28px 70px rgba(31, 64, 122, 0.16);
}

body {
    color: var(--gray-700);
    background: var(--light);
}

.container {
    padding-inline: 32px;
}

.section-padding {
    padding-block: 120px;
}

.alternate-bg {
    border: 0;
}

.main-header {
    background: rgba(255, 255, 255, 0.88);
    border-bottom-color: rgba(16, 24, 40, 0.07);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 30px rgba(16, 24, 40, 0.06);
}

.logo-title {
    font-size: 19px;
    letter-spacing: -0.035em;
}

.logo-subtitle {
    font-size: 10px;
    letter-spacing: 0.18em;
}

.desktop-nav ul {
    gap: 26px;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
}

.nav-link::after {
    height: 1px;
}

.btn {
    min-height: 48px;
    padding-inline: 24px;
    font-weight: 700;
}

.btn-sm {
    min-height: 42px;
}

.btn-primary {
    box-shadow: 0 8px 20px rgba(29, 85, 199, 0.22);
}

.btn-primary:hover {
    box-shadow: 0 12px 26px rgba(29, 85, 199, 0.28);
}

.btn-secondary {
    border-color: rgba(29, 85, 199, 0.35);
}

.section-header {
    max-width: 760px;
    margin-bottom: 64px;
}

.section-badge,
.hero-badge {
    padding: 0 0 0 12px;
    border: 0;
    border-left: 2px solid var(--primary);
    border-radius: 0;
    background: transparent;
    color: var(--primary);
    font-size: 11px;
    letter-spacing: 0.14em;
}

.section-title {
    font-size: 42px;
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -0.045em;
}

.section-subtitle {
    max-width: 620px;
    color: var(--gray-500);
    line-height: 1.65;
}

.text-center .section-subtitle {
    margin-inline: auto;
}

/* Hero */
.hero {
    min-height: min(880px, 100dvh);
    padding-top: calc(var(--header-height) + 48px);
    padding-bottom: 64px;
    background: linear-gradient(90deg, #F7F9FC 0 59%, #E9F0FB 59% 100%);
}

.hero-container {
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    gap: clamp(56px, 7vw, 104px);
}

.hero-content {
    position: relative;
    z-index: 4;
}

.hero-badge {
    margin-bottom: 28px;
}

.hero-content h1 {
    max-width: 650px;
    margin-bottom: 20px;
    font-size: clamp(58px, 5.2vw, 76px);
    font-weight: 760;
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.accent-text::after {
    bottom: 2px;
    height: 10px;
    opacity: 0.75;
}

.hero-subtitle {
    margin-bottom: 18px;
    font-size: 26px;
    font-weight: 550;
    letter-spacing: -0.025em;
}

.hero-text {
    max-width: 560px;
    margin-bottom: 32px;
    color: #596579;
    font-size: 17px;
    line-height: 1.75;
}

.hero-buttons {
    margin-bottom: 38px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding-top: 22px;
    border-color: rgba(16, 24, 40, 0.12);
}

.feature-item {
    min-width: 0;
    padding-inline: 16px;
    border-right: 1px solid rgba(16, 24, 40, 0.10);
}

.feature-item:first-child {
    padding-left: 0;
}

.feature-item:last-child {
    padding-right: 0;
    border-right: 0;
}

.feature-label {
    font-size: 12px;
    line-height: 1.35;
}

.hero-image-card {
    max-width: 520px;
    aspect-ratio: 0.86;
    border: 8px solid rgba(255, 255, 255, 0.78);
    border-radius: 32px;
    background: #DDE8F8;
    box-shadow: 0 38px 90px rgba(31, 64, 122, 0.22);
    overflow: visible;
}

.hero-image-card > picture {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    border-radius: 24px;
}

.hero-image {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    object-fit: cover;
    object-position: center top;
    filter: none;
}

.hero-floating-badge {
    border-color: rgba(29, 85, 199, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 40px rgba(31, 64, 122, 0.16);
}

.hero-floating-badge.top-right {
    right: -28px;
}

.hero-floating-badge.bottom-left {
    left: -32px;
}

.accent-circle {
    display: none;
}

/* Biography */
.bio {
    background: var(--white);
}

.bio .grid-2 {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(64px, 8vw, 112px);
}

.bio-image-stack {
    max-width: 580px;
    height: 640px;
}

.bio-bg-shape {
    inset: 18px -18px -18px 18px;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 30px;
    background: var(--primary-light);
    box-shadow: none;
}

.bio-pattern {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    border-radius: 28px;
    object-fit: cover;
    opacity: 1;
    filter: saturate(0.82) contrast(1.04);
}

.bio-accreditations {
    bottom: -36px;
    left: 24px;
    width: calc(100% - 48px);
    gap: 12px;
}

.acc-card {
    min-height: 104px;
    padding: 16px;
    border-color: rgba(16, 24, 40, 0.08);
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(16, 24, 40, 0.14);
}

.bio-content .section-title {
    max-width: 560px;
    font-size: clamp(42px, 4vw, 56px);
}

.lead-text {
    color: #475467;
    font-size: 17px;
    font-weight: 450;
    line-height: 1.72;
}

.bio-credentials-grid {
    gap: 12px;
}

.credential-item {
    min-height: 118px;
    padding: 20px;
    border-color: rgba(16, 24, 40, 0.08);
    border-radius: 14px;
    box-shadow: none;
}

.credential-item:hover {
    border-color: rgba(29, 85, 199, 0.35);
    box-shadow: var(--shadow-md);
}

.cred-dot {
    box-shadow: none;
}

/* Treatments */
.treatments {
    background: #EEF3F9;
}

.treatments .section-header,
.contact .section-header {
    margin-left: 0;
    text-align: left;
}

.treatments .section-header .section-subtitle,
.contact .section-header .section-subtitle {
    margin-left: 0;
}

.treatment-card {
    display: flex;
    flex-direction: column;
    padding: 40px;
    border-color: rgba(16, 24, 40, 0.08);
    border-radius: 22px;
    box-shadow: none;
}

.treatment-card:hover {
    transform: translateY(-3px);
    border-color: rgba(29, 85, 199, 0.35);
    box-shadow: 0 20px 55px rgba(31, 64, 122, 0.11);
}

.card-icon-wrapper {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 28px;
    place-items: center;
    border: 1px solid rgba(29, 85, 199, 0.14);
    border-radius: 14px;
    background: var(--primary-light);
    font-size: 22px;
}

.card-title {
    max-width: 520px;
    font-size: 25px;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.card-intro {
    color: var(--gray-500);
    line-height: 1.7;
}

.portal-feature-list {
    flex-grow: 1;
    gap: 14px;
}

.portal-feature-list li {
    padding-left: 20px;
}

.portal-feature-list li::before {
    content: '';
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.card-action-wrapper {
    margin-top: auto;
    padding-top: 12px;
}

@media (min-width: 1024px) {
    .treatments .grid-3 {
        grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.05fr);
        grid-template-rows: auto auto;
        gap: 22px;
    }

    .treatments .treatment-card:first-child {
        background: #102A56;
        border-color: #102A56;
    }

    .treatments .treatment-card:first-child .card-title,
    .treatments .treatment-card:first-child .portal-feature-list strong {
        color: var(--white);
    }

    .treatments .treatment-card:first-child .card-intro,
    .treatments .treatment-card:first-child .portal-feature-list li {
        color: #CEDAF0;
    }

    .treatments .treatment-card:first-child .card-icon-wrapper {
        border-color: rgba(255, 255, 255, 0.18);
        background: rgba(255, 255, 255, 0.10);
    }

    .treatments .treatment-card:first-child .portal-feature-list li::before {
        background: #8FB7FF;
    }

    .treatments .treatment-card:first-child .btn {
        background: var(--white);
        color: #102A56;
        box-shadow: none;
    }

    .treatments .treatment-card:nth-child(2) .portal-feature-list {
        display: flex;
    }

    .treatments .treatment-card:nth-child(3) {
        grid-column: 1 / -1;
    }

    .treatments .treatment-card:nth-child(3) .portal-feature-list {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px 24px;
    }
}

/* Instagram */
.instagram-section {
    background: var(--white);
}

.instagram-section .section-badge,
.contact .section-badge {
    display: none;
}

.instagram-card-container {
    max-width: 1080px;
    padding: 48px;
    border-color: rgba(16, 24, 40, 0.07);
    border-radius: 24px;
    background: #F7F9FC;
    box-shadow: none;
}

.insta-profile-header {
    gap: 32px;
    padding-inline: 0;
}

.insta-avatar-wrapper {
    width: 116px;
    height: 116px;
}

.insta-story-ring {
    background: var(--primary);
    animation: none;
}

.insta-username {
    font-weight: 700;
}

.insta-bio {
    padding-inline: 0;
    border-color: rgba(16, 24, 40, 0.08);
}

.insta-posts-grid {
    gap: 16px;
    padding-inline: 0;
}

.insta-post-card {
    aspect-ratio: 4 / 3;
    border-color: rgba(16, 24, 40, 0.07);
    border-radius: 16px;
    box-shadow: none;
}

.insta-post-stats {
    margin-bottom: 0;
    font-size: 13px;
}

/* Contact */
.contact {
    background: #F3F6FA;
}

.contact-card {
    border-color: rgba(16, 24, 40, 0.08);
    border-radius: 22px;
    box-shadow: none;
}

.contact-card:hover {
    border-color: rgba(29, 85, 199, 0.30);
    box-shadow: 0 20px 55px rgba(31, 64, 122, 0.10);
}

.clinic-details {
    padding: 36px;
}

.clinic-city-tag {
    color: var(--primary);
    background: var(--primary-light);
    border-radius: 6px;
}

.map-embed-wrapper {
    aspect-ratio: 1.8;
}

.channel-card {
    padding: 24px;
    border-color: rgba(16, 24, 40, 0.08);
    border-radius: 16px;
    box-shadow: none;
}

.channel-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    font-size: 24px;
}

/* Subpages */
.subpage-hero {
    padding: 120px 0 92px;
    background: linear-gradient(90deg, #F7F9FC 0 67%, #EAF1FF 67% 100%);
}

.subpage-hero .text-center {
    text-align: left;
}

.subpage-hero .section-title {
    max-width: 900px;
    margin-top: 18px;
    font-size: clamp(44px, 5vw, 64px);
    line-height: 1.05;
}

.subpage-hero .section-subtitle {
    margin-left: 0;
}

.subpage-content,
.lasers-section {
    background: var(--light);
}

.subpage-content .grid-2 {
    align-items: stretch;
    gap: 24px;
}

.subpage-card {
    padding: 38px;
    border-color: rgba(16, 24, 40, 0.08);
    border-radius: 20px;
    border-top: 3px solid var(--primary);
    box-shadow: none;
}

.subpage-card:hover {
    transform: translateY(-3px);
    border-color: rgba(29, 85, 199, 0.35);
    box-shadow: 0 18px 48px rgba(31, 64, 122, 0.10);
}

.subpage-card-title {
    letter-spacing: -0.03em;
}

.subpage-cta {
    border-color: rgba(29, 85, 199, 0.16);
    box-shadow: none;
}

.accure-showcase {
    padding: 54px;
    border: 0;
    background: #102A56;
    box-shadow: 0 28px 70px rgba(31, 64, 122, 0.16);
}

.accure-content h2 {
    color: var(--white);
    font-size: clamp(30px, 3vw, 42px);
    letter-spacing: -0.04em;
}

.laser-wavelength {
    color: #8FB7FF;
}

.accure-tagline {
    color: #7DD3FC;
}

.accure-content p {
    color: #CBD5E1;
}

.bullet {
    color: #E2E8F0;
}

.badge-accent {
    background: var(--white);
    color: #102A56;
}

.laser-card {
    border-color: rgba(16, 24, 40, 0.08);
    box-shadow: none;
}

.laser-card:hover {
    border-color: rgba(29, 85, 199, 0.32);
    box-shadow: 0 16px 44px rgba(31, 64, 122, 0.10);
}

@media (max-width: 1023px) {
    .container {
        padding-inline: 24px;
    }

    .section-padding {
        padding-block: 88px;
    }

    .hero {
        min-height: auto;
        background: #F4F7FC;
    }

    .hero-container,
    .bio .grid-2 {
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .hero-content,
    .hero-image-wrapper {
        min-width: 0;
        width: 100%;
    }

    .mobile-menu-toggle {
        width: 44px;
        height: 44px;
        padding: 12px 10px;
        flex-shrink: 0;
        border: 1px solid rgba(29, 85, 199, 0.14);
        border-radius: 12px;
        background: var(--primary-light);
    }

    .mobile-menu-toggle.open .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-image-card {
        max-width: 480px;
    }

    .bio-image-stack {
        max-width: 580px;
        height: auto;
        display: block;
    }

    .bio-image-stack > picture {
        display: block;
    }

    .bio-pattern {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 5;
        object-fit: cover;
    }

    .bio-bg-shape {
        display: none;
    }

    .bio-accreditations {
        position: relative;
        inset: auto;
        width: 100%;
        margin-top: 14px;
    }
}

@media (max-width: 767px) {
    .container {
        padding-inline: 20px;
    }

    .section-padding {
        padding-block: 76px;
    }

    .section-header {
        margin-bottom: 42px;
    }

    .section-title {
        font-size: 36px;
    }

    .hero {
        padding-top: calc(var(--header-height) + 42px);
        padding-bottom: 76px;
    }

    .hero-content h1 {
        font-size: clamp(48px, 14vw, 58px);
    }

    .hero-subtitle {
        font-size: 23px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-buttons {
        grid-template-columns: 1fr;
    }

    .hero-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 0;
    }

    .feature-item,
    .feature-item:first-child,
    .feature-item:last-child {
        padding-inline: 0 12px;
        border-right: 0;
    }

    .feature-item:last-child {
        grid-column: 1 / -1;
    }

    .hero-image-card {
        width: calc(100% - 32px);
        max-width: 350px;
        border-width: 6px;
        border-radius: 26px;
    }

    .hero-floating-badge.top-right {
        right: 8px;
    }

    .hero-floating-badge.bottom-left {
        left: 8px;
    }

    .bio-content .section-title {
        font-size: 38px;
    }

    .acc-card {
        min-height: 0;
    }

    .treatment-card,
    .subpage-card {
        padding: 28px 24px;
    }

    .instagram-card-container {
        padding: 28px 20px;
    }

    .insta-posts-grid {
        grid-template-columns: 1fr;
    }

    .contact .section-header,
    .treatments .section-header {
        text-align: left;
    }

    .clinic-details {
        padding: 28px 24px;
    }

    .subpage-hero {
        padding: 88px 0 68px;
        background: #F4F7FC;
    }

    .subpage-hero .section-title {
        font-size: 40px;
    }

    .accure-showcase {
        padding: 30px 24px;
    }

    /* Keep every hero element inside the physical viewport on narrow phones. */
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    .main-header .container,
    .hero-container,
    .hero-content,
    .hero-buttons,
    .hero-image-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .hero-container {
        overflow: hidden;
    }

    .hero-content h1,
    .hero-subtitle,
    .hero-text {
        overflow-wrap: anywhere;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
    }

    .hero-image-wrapper {
        padding-inline: 16px;
        overflow: hidden;
    }

    .hero-image-card {
        width: 100%;
        max-width: 330px;
    }

    .hero-floating-badge {
        max-width: calc(100% - 16px);
        padding: 10px 12px;
    }

    .hero-floating-badge.top-right {
        right: 0;
    }

    .hero-floating-badge.bottom-left {
        left: 0;
    }
}

@media (max-width: 1023px) {
    .header-actions {
        display: flex;
        margin-left: auto;
    }

    .mobile-menu-toggle {
        position: relative;
        display: block;
    }

    .mobile-menu-toggle .bar {
        position: absolute;
        left: 10px;
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 2px;
        background: #102A56;
        transform-origin: center;
    }

    .mobile-menu-toggle .bar:nth-child(1) {
        top: 12px;
    }

    .mobile-menu-toggle .bar:nth-child(2) {
        top: 20px;
    }

    .mobile-menu-toggle .bar:nth-child(3) {
        top: 28px;
    }

    .mobile-menu-toggle.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Click-to-load map + legal footer links */
.map-consent { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; height: 100%; min-height: 220px; padding: 24px; text-align: center; background: var(--primary-light); color: var(--gray-700); font-size: 14px; line-height: 1.6; }
.map-consent p { max-width: 320px; margin: 0; }
.map-consent a { color: var(--primary); text-decoration: underline; }
.footer-legal { margin-top: 8px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
.footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
