/* ============================================================
   DENTAL PARK — style.css
   Premium Dental Clinic Theme
   ============================================================ */

/* ------ RESET & BASE ------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* ── Marka Renkleri (dentalparklinik.com orijinal palette) ── */
    --teal:        #01C2A9;
    --teal-dark:   #019e8a;
    --teal-light:  #e6faf8;
    --red:         #951610;
    --red-dark:    #7a1109;
    --navy:        #0D1427;
    --navy-mid:    #1a2640;
    --text:        #0D0D0D;
    --text-mid:    #747474;
    --text-light:  #878991;
    --white:       #ffffff;
    --gray-50:     #F6F7FA;
    --gray-100:    #EAECF1;
    --gray-200:    #D6D8E0;
    --gray-300:    #c9c1c1;
    --success:     #22c55e;
    /* Geriye dönük uyumluluk için blue aliasları teal'e yönlendiriliyor */
    --blue:        #01C2A9;
    --blue-dark:   #019e8a;
    --blue-light:  #e6faf8;
    /* ── Spacing / Shape ── */
    --radius-sm:   6px;
    --radius:      10px;
    --radius-lg:   16px;
    --radius-xl:   24px;
    --shadow-sm:   0 1px 4px rgba(0,0,0,.06);
    --shadow:      0 4px 20px rgba(0,0,0,.08);
    --shadow-lg:   0 12px 40px rgba(0,0,0,.12);
    --transition:  .25s ease;
    /* ── Tipografi (Heebo — sitenin orijinal fontu) ── */
    --font:        'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif:  'IBM Plex Sans', Georgia, serif;
    --header-h:    72px;
    --topbar-h:    38px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* overflow-x: hidden burada body yerine html'de — sticky header'ı bozmuyor */
    overflow-x: hidden;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
svg { flex-shrink: 0; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section-padding { padding: 5rem 0; }
.bg-light-gray { background: var(--gray-100); }

/* ------ TOPBAR ------ */
.topbar {
    background: var(--navy);
    color: rgba(255,255,255,.8);
    height: var(--topbar-h);
    display: flex;
    align-items: center;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.topbar-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,.78);
    transition: color var(--transition);
}
.topbar-link:hover { color: var(--white); }
.topbar-social { padding: 0.25rem; }

.topbar-lang {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,.5);
}
.lang-btn {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    padding: 0.15rem 0.35rem;
    border-radius: 3px;
    transition: all var(--transition);
}
.lang-btn.active, .lang-btn:hover {
    color: var(--white);
    background: rgba(255,255,255,.12);
}

/* ------ NAVBAR ------ */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
    /* will-change:transform + position:sticky kombinasyonu Chromium'da titreşmeye yol açıyor.
       Bunun yerine translate3d ile GPU katmanına alıp will-change kaldırıyoruz. */
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.navbar { background: var(--white); }

.navbar-inner {
    display: flex;
    align-items: center;
    height: var(--header-h);
    gap: 2rem;
}

/* LOGO */
.navbar-brand { display: flex; align-items: center; }

.navbar-logo {
    height: 48px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

/* fallback için eski logo-wrap stilleri korunuyor */
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.logo-main {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: 0.04em;
    line-height: 1;
}
.logo-sub {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--teal);
    font-weight: 500;
    margin-top: 2px;
}

/* NAV MENU */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
}

.nav-item { position: relative; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
    color: var(--blue);
    background: var(--blue-light);
}
.nav-link.active { font-weight: 600; }

.dropdown-arrow { transition: transform var(--transition); }
.nav-item.has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

/* DROPDOWN */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition);
    border: 1px solid var(--gray-200);
    z-index: 999;
}
.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-link {
    display: block;
    padding: 0.55rem 0.85rem;
    font-size: 0.845rem;
    color: var(--text-mid);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.dropdown-link:hover {
    color: var(--blue);
    background: var(--blue-light);
}
.dropdown-link.view-all {
    color: var(--blue);
    font-weight: 600;
    border-top: 1px solid var(--gray-200);
    margin-top: 0.25rem;
    padding-top: 0.65rem;
}

/* NAVBAR ACTIONS */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 1.5rem;
}

.btn-appointment {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--blue);
    color: var(--white);
    padding: 0.55rem 1.2rem;
    border-radius: var(--radius);
    font-size: 0.845rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 4px 12px rgba(26,107,255,.3);
    white-space: nowrap;
}
.btn-appointment:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(26,107,255,.4);
    color: var(--white);
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: none;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 6px;
}
.hamburger span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE OVERLAY */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 998;
}
.mobile-overlay.active { display: block; }

/* ------ BUTTONS ------ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    line-height: 1.4;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    box-shadow: 0 4px 12px rgba(26,107,255,.25);
}
.btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(26,107,255,.35);
    color: var(--white);
}

.btn-outline-primary {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
}
.btn-outline-primary:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-white {
    background: var(--white);
    color: var(--blue);
    border-color: var(--white);
    font-weight: 700;
}
.btn-white:hover {
    background: var(--blue-light);
    transform: translateY(-1px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.7);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,.15);
    border-color: var(--white);
    transform: translateY(-1px);
}

/* Alias – kept for backward-compat */
.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.7);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,.15);
    border-color: var(--white);
    transform: translateY(-1px);
}

.btn-lg { padding: 0.8rem 1.75rem; font-size: 0.96rem; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; }

/* ------ SECTION COMMON ------ */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}

.section-badge {
    display: inline-block;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 0.85rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.section-subtitle, .section-desc {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.7;
}

.section-footer-btn {
    text-align: center;
    margin-top: 2.5rem;
}

/* ------ PLACEHOLDER ------ */
.img-placeholder {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    color: var(--text-light);
}
.placeholder-inner p { font-size: 0.85rem; margin: 0; }
.placeholder-inner small { font-size: 0.75rem; color: var(--gray-300); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    height: calc(100vh - var(--header-h) - var(--topbar-h));
    min-height: 600px;
    width: 100%;
    /* Slider repaint'lerinin header'a sızmaması için kendi compositor katmanı ve
       layout containment — bu sayede içerideki opacity geçişleri header'ı sallamaz */
    isolation: isolate;
    transform: translateZ(0);
    contain: layout paint;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    /* Slider container'ı kendi GPU katmanına alarak slide geçişlerini izole et */
    transform: translateZ(0);
    will-change: opacity;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.7s ease;
    padding: 5rem 0 7rem;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    /* layout'u bozmamak için her zaman DOM akışından çıkarılmış */
    pointer-events: none;
    /* Geçiş sırasında üst elemanları (header) sarsmamak için ayrı GPU katmanı */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: opacity;
}
.hero-slide.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

.hero-bg-shape {
    position: absolute;
    top: 0; right: 0;
    width: 50%;
    height: 100%;
    background: rgba(255,255,255,.04);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 580px;
    padding-top: 2rem;
}

.hero-text { color: var(--white); }

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    color: rgba(255,255,255,.9);
    border: 1px solid rgba(255,255,255,.25);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.hero-title .highlight {
    color: #60a5fa;
    display: block;
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,.82);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
}

.stat {
    display: flex;
    flex-direction: column;
    padding: 0 1.5rem;
}
.stat:first-child { padding-left: 0; }

.stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,.65);
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,.2);
}

/* HERO VISUAL */
.hero-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-img-wrap {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.hero-img-main-photo {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    display: block;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.hero-img-placeholder {
    width: 100%;
    height: 420px;
    background: rgba(255,255,255,.1);
    border: 2px solid rgba(255,255,255,.2);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.hero-badge-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    padding: 0.7rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: var(--shadow-lg);
}

.hero-badge-top { top: -16px; right: -16px; }
.hero-badge-bottom { bottom: 24px; left: -20px; }

.badge-card-num {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}
.badge-card-text {
    display: block;
    font-size: 0.7rem;
    color: var(--text-light);
    margin-top: 2px;
}

/* SLIDER CONTROLS */
.slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.slider-btn {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.15);
    border: 1.5px solid rgba(255,255,255,.35);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    backdrop-filter: blur(4px);
}
.slider-btn:hover {
    background: rgba(255,255,255,.3);
}

.slider-dots { display: flex; gap: 0.4rem; }

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.4);
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}
.slider-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--white);
}

/* ============================================================
   FEATURES BAR
   ============================================================ */
.features-bar {
    background: var(--white);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: var(--radius);
    transition: background var(--transition);
}
.feature-item:hover { background: var(--gray-50); }

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--blue-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.2rem;
}
.feature-text p {
    font-size: 0.78rem;
    color: var(--text-light);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-visual { position: relative; }

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about-img-secondary {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 180px;
    height: 160px;
    border-radius: var(--radius-lg);
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
}

.about-exp-badge {
    position: absolute;
    top: 2rem;
    left: -2rem;
    background: var(--blue);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.exp-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}
.exp-text {
    display: block;
    font-size: 0.72rem;
    opacity: 0.85;
    margin-top: 0.2rem;
    line-height: 1.4;
}

.about-content .section-badge { margin-bottom: 0.6rem; }
.about-content .section-title { margin-bottom: 1rem; }
.about-content .section-desc { margin-bottom: 0.75rem; }

.about-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0 2rem;
}

.about-feat {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-mid);
}

.about-feat-icon {
    width: 28px;
    height: 28px;
    background: var(--blue-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.about-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: all var(--transition);
    cursor: pointer;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue);
}

.service-icon { width: 60px; height: 60px; }

.service-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}

.service-desc {
    font-size: 0.85rem;
    color: var(--text-mid);
    line-height: 1.65;
    flex: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--blue);
    margin-top: auto;
}
.service-card:hover .service-link svg {
    transform: translateX(3px);
}
.service-link svg { transition: transform var(--transition); }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.why-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.why-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue);
    opacity: 0.25;
    line-height: 1;
    min-width: 36px;
    transition: opacity var(--transition);
}
.why-item:hover .why-num { opacity: 1; }

.why-body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.3rem;
}
.why-body p {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.why-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.why-stat-card {
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.why-stat-blue {
    background: var(--blue);
    color: var(--white);
}
.why-stat-white {
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.why-stat-num {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}
.why-stat-blue .why-stat-num { color: var(--white); }
.why-stat-white .why-stat-num { color: var(--blue); }

.why-stat-label {
    font-size: 0.8rem;
    font-weight: 500;
}
.why-stat-blue .why-stat-label { color: rgba(255,255,255,.75); }
.why-stat-white .why-stat-label { color: var(--text-mid); }

/* ============================================================
   DENTISTS SECTION
   ============================================================ */
.dentists-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.dentists-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.dentist-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    display: block;
    cursor: pointer;
}
.dentist-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue);
}

.dentist-img {
    overflow: hidden;
    border-radius: 0;
}

.dentist-info {
    padding: 1.25rem;
}

.dentist-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.dentist-title {
    display: block;
    font-size: 0.8rem;
    color: var(--blue);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.dentist-bio {
    font-size: 0.845rem;
    color: var(--text-mid);
    line-height: 1.65;
    margin-bottom: 0.85rem;
}

.dentist-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tag {
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--blue-light);
    color: var(--blue);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
}

.dentist-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.dentist-social-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
    color: var(--text-light);
    transition: all var(--transition);
}
.dentist-card:hover .dentist-social-icon {
    background: var(--blue-light);
    color: var(--blue);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-slider { position: relative; overflow: hidden; }

.testimonials-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.4s ease;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 1rem);
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.testimonial-stars { display: flex; gap: 0.2rem; }

.testimonial-text {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.7;
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.author-avatar {
    width: 42px;
    height: 42px;
    background: var(--blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    flex-shrink: 0;
}

.author-name {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy);
}
.author-location {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 2px;
}

.google-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: var(--text-light);
    border-top: 1px solid var(--gray-200);
    padding-top: 0.75rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.testimonial-btn {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-mid);
    transition: all var(--transition);
}
.testimonial-btn:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    padding: 4.5rem 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-text h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}
.cta-text p {
    color: rgba(255,255,255,.78);
    font-size: 1rem;
}

.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; flex-shrink: 0; }

/* ============================================================
   MAP SECTION
   ============================================================ */
.map-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 2.5rem;
    align-items: start;
}

.map-info {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.map-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}
.map-info-item:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.map-icon {
    width: 42px;
    height: 42px;
    background: var(--blue-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    flex-shrink: 0;
}

.map-info-item h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
}
.map-info-item p {
    font-size: 0.85rem;
    color: var(--text-mid);
    line-height: 1.55;
}
.map-info-item a { color: var(--blue); }
.map-info-item a:hover { text-decoration: underline; }

.map-embed { height: 100%; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 40%;
    height: 100%;
    background: rgba(255,255,255,.03);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,.6);
    margin-bottom: 0.85rem;
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.9); }

.page-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-hero-desc {
    font-size: 1rem;
    color: rgba(255,255,255,.75);
    max-width: 600px;
}

/* ============================================================
   MISSION / VISION CARDS
   ============================================================ */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.mv-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    text-align: center;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.mv-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue);
}

.mv-icon {
    width: 70px;
    height: 70px;
    background: var(--blue-light);
    border-radius: var(--radius-xl);
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mv-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.75rem;
}
.mv-card p {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.7;
}

/* Technology Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.tech-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all var(--transition);
}
.tech-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--blue);
}
.tech-icon {
    width: 60px;
    height: 60px;
    background: var(--blue-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.tech-card h4 {
    font-size: 0.975rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.tech-card p {
    font-size: 0.845rem;
    color: var(--text-mid);
    line-height: 1.6;
}

/* ============================================================
   SERVICES LIST PAGE
   ============================================================ */
.services-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-list-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.service-list-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.slc-img { overflow: hidden; }

.slc-body { padding: 1.75rem; }
.slc-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.75rem;
}
.slc-body p {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.slc-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 1rem;
    margin-bottom: 1.25rem;
}
.slc-list li {
    font-size: 0.82rem;
    color: var(--text-mid);
    padding-left: 1rem;
    position: relative;
}
.slc-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 700;
}

/* ============================================================
   DETAIL LAYOUT (service / dentist detail)
   ============================================================ */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
}

.detail-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    margin: 2rem 0 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--blue-light);
}
.detail-section-title:first-of-type { margin-top: 0; }

.detail-main p {
    font-size: 0.93rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 0.85rem;
}

/* Steps */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 0.5rem;
}
.step-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 1.25rem;
    border-left: 3px solid var(--blue);
}
.step-num {
    width: 36px;
    height: 36px;
    background: var(--blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.step-body h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.3rem;
}
.step-body p {
    font-size: 0.845rem;
    color: var(--text-mid);
    margin: 0;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
    background: var(--gray-50);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    text-align: left;
    gap: 1rem;
    transition: background var(--transition);
}
.faq-question:hover { background: var(--blue-light); }
.faq-question svg { flex-shrink: 0; transition: transform var(--transition); }
.faq-question.open svg { transform: rotate(180deg); }

.faq-answer {
    display: none;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--gray-200);
}
.faq-answer.open { display: block; }
.faq-answer p { font-size: 0.875rem; color: var(--text-mid); line-height: 1.7; margin: 0; }

/* Sidebar */
.sidebar-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.sidebar-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.sidebar-card p {
    font-size: 0.845rem;
    color: var(--text-mid);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}
.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.sidebar-links a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.845rem;
    color: var(--text-mid);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.sidebar-links a:hover { color: var(--blue); background: var(--blue-light); }

/* ============================================================
   DENTIST PROFILE PAGE
   ============================================================ */
.dentist-profile-header {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-200);
}

.dentist-specialty {
    font-size: 1rem;
    color: var(--blue);
    font-weight: 500;
    display: block;
    margin-top: 0.25rem;
}

.dentist-contact-btns {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.dentist-section {
    margin-bottom: 2.5rem;
}
.dentist-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--blue-light);
}
.dentist-section p {
    font-size: 0.91rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 0.85rem;
}

.edu-list { display: flex; flex-direction: column; gap: 1rem; }
.edu-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    background: var(--gray-50);
    border-radius: var(--radius);
    border-left: 3px solid var(--blue);
}
.edu-year {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--blue);
    min-width: 44px;
}
.edu-body h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.2rem;
}
.edu-body p {
    font-size: 0.82rem;
    color: var(--text-light);
    margin: 0;
}

.services-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.service-mini-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
}
.service-mini-card h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.35rem;
}
.service-mini-card p {
    font-size: 0.8rem;
    color: var(--text-mid);
    line-height: 1.55;
    margin: 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.contact-info-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.contact-info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.ci-icon {
    width: 60px;
    height: 60px;
    background: var(--blue-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-info-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.contact-info-card p {
    font-size: 0.845rem;
    color: var(--text-mid);
    line-height: 1.6;
}
.contact-info-card a { color: var(--blue); }
.contact-info-card a:hover { text-decoration: underline; }

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form-wrap .section-title { margin-bottom: 0.5rem; }
.contact-form-wrap .section-desc { margin-bottom: 1.75rem; }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.845rem;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.9rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26,107,255,.12);
}

.form-check {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.6rem;
}
.form-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    padding: 0;
    border: 1.5px solid var(--gray-300);
    border-radius: 3px;
}
.form-check label {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-light);
    cursor: pointer;
}
.form-check label a { color: var(--blue); }

.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    font-size: 15px;
    color: var(--text-dark);
    outline: none;
    transition: border-color .2s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.form-select:focus { border-color: var(--teal); }

.kvkk-group {
    background: #f8fbff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
}
.kvkk-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    cursor: pointer;
}
.kvkk-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--teal);
    width: 16px;
    height: 16px;
}
.kvkk-label a { color: var(--teal); text-decoration: underline; }
.kvkk-title {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}
.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    margin-bottom: 6px;
}
.radio-label input[type="radio"] {
    accent-color: var(--teal);
    width: 16px;
    height: 16px;
}

.form-submit-btn { align-self: flex-start; }

.form-success-msg {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f0fdf4;
    color: var(--success);
    border: 1px solid #bbf7d0;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

/* International Grid */
.intl-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.intl-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.intl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.intl-icon {
    width: 64px;
    height: 64px;
    background: var(--blue-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.intl-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.intl-card p {
    font-size: 0.845rem;
    color: var(--text-mid);
    line-height: 1.65;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.8); }

.footer-wave {
    line-height: 0;
    overflow: hidden;
    background: var(--gray-100); /* matches the last section bg */
}
.footer-wave svg { width: 100%; height: 60px; display: block; }

.footer-body { padding: 4rem 0 3rem; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.footer-logo .logo-main { color: var(--white); }
.footer-logo .logo-sub { color: rgba(255,255,255,.6); }

.footer-desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,.6);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
}
.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.7);
    transition: all var(--transition);
}
.social-icon:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-links a {
    font-size: 0.845rem;
    color: rgba(255,255,255,.6);
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.footer-links a:hover { color: var(--white); }
.footer-links a::before {
    content: '›';
    color: var(--blue);
    font-weight: 700;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.footer-contact-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.845rem;
    color: rgba(255,255,255,.6);
    line-height: 1.55;
}
.footer-contact-list svg { flex-shrink: 0; color: var(--blue); margin-top: 1px; }
.footer-contact-list a { color: rgba(255,255,255,.75); }
.footer-contact-list a:hover { color: var(--white); }

.footer-bottom {
    background: rgba(0,0,0,.2);
    padding: 1rem 0;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,.45);
}
.footer-bottom-links {
    display: flex;
    gap: 1.25rem;
}
.footer-bottom-links a {
    font-size: 0.78rem;
    color: rgba(255,255,255,.45);
    transition: color var(--transition);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.floating-buttons {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 9999;
}

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.float-btn:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.25); }

.float-whatsapp { background: #25d366; color: var(--white); }
.float-phone { background: var(--blue); color: var(--white); }
.float-top {
    background: var(--white);
    color: var(--text-mid);
    border: 1.5px solid var(--gray-200);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
}
.float-top.visible { opacity: 1; pointer-events: auto; }
.float-top:hover { color: var(--blue); border-color: var(--blue); }

.float-tooltip {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--navy);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}
.float-btn:hover .float-tooltip { opacity: 1; }
.float-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: var(--navy);
}

/* ============================================================
   HEADER SCROLL EFFECT
   ============================================================ */
.main-header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,.12);
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    :root { --header-h: 66px; }

    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 1.75rem; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .dentists-grid { grid-template-columns: repeat(2, 1fr); }
    .dentists-full-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
    .testimonials-track .testimonial-card { flex: 0 0 calc(50% - 0.75rem); }
    .intl-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { gap: 3rem; }
    .map-grid { grid-template-columns: 1fr; }
    .map-embed { min-height: 360px; }
    .about-grid { gap: 3rem; }
    .mv-grid { grid-template-columns: 1fr; gap: 1rem; }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr; }
    .services-list-grid { grid-template-columns: 1fr; }
    .detail-layout { grid-template-columns: 1fr; }
    .dentist-profile-header { flex-direction: column; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
    :root {
        --topbar-h: 0px;
        --header-h: 64px;
    }

    .topbar { display: none; }
    .section-padding { padding: 3rem 0; }

    /* NAV */
    .hamburger { display: flex; }
    .navbar-actions .btn-appointment { display: none; }

    .nav-menu {
        position: fixed;
        top: var(--header-h);
        left: 0;
        width: 280px;
        height: calc(100vh - var(--header-h));
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 1.5rem 1rem;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform .3s ease;
        z-index: 999;
        box-shadow: var(--shadow-lg);
    }
    .nav-menu.active { transform: translateX(0); }

    .nav-item { width: 100%; }
    .nav-link { width: 100%; padding: 0.75rem 1rem; border-radius: var(--radius); }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: var(--gray-50);
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0;
        margin-top: 0.25rem;
    }
    .has-dropdown .dropdown-menu { display: none; }
    .has-dropdown.mobile-open .dropdown-menu { display: block; }

    /* HERO */
    .hero-section { min-height: auto; }
    .hero-slide { min-height: auto; padding: 3rem 0 5rem; }
    .hero-content { grid-template-columns: 1fr; text-align: center; min-height: auto; gap: 2rem; }
    .hero-visual { display: none; }
    .hero-text { display: flex; flex-direction: column; align-items: center; }
    .hero-title { font-size: 2rem; }
    .hero-desc { font-size: 0.9rem; max-width: 100%; text-align: center; }
    .hero-stats { justify-content: center; }
    .hero-actions { justify-content: center; }
    .stat { padding: 0 1rem; }

    /* SECTIONS */
    .section-title { font-size: 1.5rem; }
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-img-secondary { display: none; }
    .about-exp-badge { top: 1rem; left: 1rem; }
    .why-grid { grid-template-columns: 1fr; gap: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .dentists-grid { grid-template-columns: 1fr 1fr; }
    .dentists-full-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-track .testimonial-card { flex: 0 0 100%; }
    .intl-grid { grid-template-columns: 1fr 1fr; }
    .contact-info-grid { grid-template-columns: 1fr 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-text h2 { font-size: 1.4rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom-inner { flex-direction: column; text-align: center; gap: 0.5rem; }
    .detail-layout { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: 1fr; }
    .mv-grid { grid-template-columns: 1fr; }
    .services-list-grid { grid-template-columns: 1fr; }
    .why-stats-grid { grid-template-columns: 1fr 1fr; }
    .services-mini-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
    .hero-title { font-size: 1.7rem; }
    .hero-stats { display: none; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .dentists-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .intl-grid { grid-template-columns: 1fr; }
    .contact-info-grid { grid-template-columns: 1fr; }
    .why-stats-grid { grid-template-columns: 1fr; }
    .page-hero-title { font-size: 1.75rem; }
    .logo-sub { display: none; }
    .dentist-profile-header { gap: 1.25rem; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp .6s ease both;
}

.hero-badge      { animation: fadeInUp .5s .1s ease both; }
.hero-title      { animation: fadeInUp .6s .2s ease both; }
.hero-desc       { animation: fadeInUp .6s .35s ease both; }
.hero-actions    { animation: fadeInUp .6s .5s ease both; }
.hero-stats      { animation: fadeInUp .6s .65s ease both; }

/* ============================================================
   EXTRA POLISH — added for pixel-perfect matching
   ============================================================ */

/* Dentist card image – fixed height so cards align */
.dentists-grid .dentist-img { height: 220px; }
.dentists-full-grid .dentist-img { height: 280px; }

/* Dentist placeholder img fills the card correctly */
.dentist-img.img-placeholder { border-radius: 0; border: none; }

/* Service card – equal height icons */
.service-icon { display: flex; align-items: center; justify-content: flex-start; }

/* Ensure topbar is hidden properly at mobile */
@media (max-width: 768px) {
    .topbar { display: none !important; }
}

/* Header scroll – compact on scroll */
.main-header.scrolled .topbar { display: none; }
.main-header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.12); }

/* Map embed – responsive height */
.map-embed iframe {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    border: none;
    display: block;
}

/* Contact map wrap – fills height on layout grid */
.contact-map-wrap { height: 100%; min-height: 480px; }
.contact-map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 480px;
    border-radius: var(--radius-lg);
    border: none;
    display: block;
}

/* Smooth page transitions */
body { animation: fadeInUp .35s ease both; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-dark); }

/* Cookie consent banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    color: rgba(255,255,255,.85);
    padding: 1rem 0;
    z-index: 99999;
    border-top: 2px solid var(--blue);
    transform: translateY(100%);
    transition: transform .4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.cookie-banner p {
    font-size: 0.845rem;
    margin: 0;
    flex: 1;
}
.cookie-banner a { color: var(--blue); text-decoration: underline; }
.cookie-banner-btns {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}
.cookie-accept-btn {
    background: var(--blue);
    color: var(--white);
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius);
    font-size: 0.845rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
}
.cookie-accept-btn:hover { background: var(--blue-dark); }
.cookie-reject-btn {
    background: transparent;
    color: rgba(255,255,255,.6);
    border: 1px solid rgba(255,255,255,.25);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.845rem;
    cursor: pointer;
    transition: all var(--transition);
}
.cookie-reject-btn:hover { color: var(--white); border-color: rgba(255,255,255,.6); }

@media (max-width: 768px) {
    .cookie-banner-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .cookie-banner-btns { width: 100%; }
    .cookie-accept-btn, .cookie-reject-btn { flex: 1; text-align: center; }
}

/* Loading state for buttons */
.btn[disabled] { opacity: .65; cursor: not-allowed; pointer-events: none; }

/* ------ INSTAGRAM SECTION ------ */
.instagram-embed-wrap {
    width: 100%;
    overflow: hidden;
}
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .instagram-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 500px) {
    .instagram-grid { grid-template-columns: repeat(2, 1fr); }
}
.insta-card {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
}
.insta-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.insta-card:hover img { transform: scale(1.06); }
.insta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}
.insta-card:hover .insta-overlay { opacity: 1; }
.insta-placeholder {
    background: linear-gradient(135deg, var(--teal-light) 0%, var(--gray-100) 100%);
    cursor: pointer;
}
.insta-placeholder .insta-overlay { opacity: 1; background: rgba(1,194,169,0.15); }
.insta-placeholder:hover .insta-overlay { background: rgba(1,194,169,0.4); }

/* ------ TRUSTINDEX EMBED ------ */
.trustindex-embed-wrap {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

/* ------ WHY CLINIC IMAGE ------ */
.why-clinic-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* Print styles */
@media print {
    .topbar, .main-header, .floating-buttons, .cookie-banner { display: none !important; }
    .hero-section { min-height: auto !important; }
    body { font-size: 12pt; }
}

/* �� Form validation errors (Sprint 4) �� */
/* Form validation errors */
.field-error { display: block; color: #ef4444; font-size: 12px; margin-top: 4px; }
.form-success-msg { display: flex; align-items: flex-start; gap: 12px; background: #dcfce7; color: #166534; border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; font-size: 14px; line-height: 1.5; }

/* ── Clinic Contact Cards (contact page) ───────────────────── */
.clinics-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.clinic-contact-card {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}
.clinic-contact-card:hover { box-shadow: var(--shadow); }
.clinic-contact-header {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    color: #fff;
    padding: 20px 24px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.clinic-contact-icon {
    width: 48px; height: 48px;
    background: rgba(1, 194, 169, .15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.clinic-contact-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}
.clinic-contact-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.clinic-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-mid);
}
.clinic-contact-item svg { flex-shrink: 0; margin-top: 2px; }
.clinic-tel-link, .clinic-mail-link {
    color: var(--teal-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
}
.clinic-tel-link:hover, .clinic-mail-link:hover { color: var(--teal); }
.clinic-contact-actions {
    padding: 12px 24px 20px;
    display: flex;
    gap: 8px;
}

@media (max-width: 600px) {
    .clinics-contact-grid { grid-template-columns: 1fr; }
}
@media (min-width: 601px) and (max-width: 900px) {
    .clinics-contact-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Home Clinics Grid ─────────────────────────────────────── */
.clinics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.clinic-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}
.clinic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.clinic-card-img {
    height: 180px;
    background: linear-gradient(135deg, #0d2240, #1a3a5c);
}
.clinic-card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.clinic-card-name { font-size: 16px; font-weight: 700; color: var(--navy); }
.clinic-card-address { font-size: 13px; color: var(--text-mid); line-height: 1.5; }
.clinic-card-contacts { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text-mid); }
.clinic-card-contacts span { display: flex; align-items: center; gap: 6px; }
.clinic-card-link { font-size: 13px; font-weight: 600; color: var(--teal); margin-top: auto; padding-top: 8px; }
@media (max-width: 768px) { .clinics-grid { grid-template-columns: 1fr; } }
@media (min-width: 769px) and (max-width: 1024px) { .clinics-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Videos Grid ───────────────────────────────────────────── */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.video-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.video-thumb {
    height: 180px;
    background: #0d2240 center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.play-btn {
    width: 60px; height: 60px;
    background: rgba(1, 194, 169, .90);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition), transform var(--transition);
}
.video-card:hover .play-btn { background: var(--teal); transform: scale(1.1); }
.video-info { padding: 16px 20px; }
.video-title { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.video-desc { font-size: 13px; color: var(--text-mid); line-height: 1.5; }
@media (max-width: 768px) { .videos-grid { grid-template-columns: 1fr; } }
@media (min-width: 769px) and (max-width: 1024px) { .videos-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── FAQ Accordion ─────────────────────────────────────────── */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    overflow: hidden;
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    text-align: left;
    line-height: 1.4;
    transition: color var(--transition);
}
.faq-question:hover { color: var(--teal); }
.faq-question.open { color: var(--teal); }
.faq-icon { flex-shrink: 0; transition: transform .25s; }
.faq-question.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}
.faq-answer.open { max-height: 400px; }
.faq-answer p { padding: 0 24px 18px; font-size: 14px; color: var(--text-mid); line-height: 1.7; }

