/* ==========================================================================
   FLORANSA DENTAL CLINIC - LUXURY EDITORIAL DESIGN SYSTEM
   Color Palette:
   - Primary: Deep Night Amethyst / Mürdüm (#1D1326, #251633, #2E1B3D, #4A2E62)
   - Secondary: Antique Gold (#967E56, #BFA37E, #DFC7A5, #F8F4EC)
   - Base: Pure White (#FFFFFF) & Carrara Marble (#FBF9FB, #F5F0F7)
   - Typography: Cormorant Garamond / Playfair Display & Plus Jakarta Sans / Vazirmatn
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Vazirmatn:wght@300;400;500;600;700&display=swap');

:root {
    --color-emerald-deep: #1D1326; /* Derin Gece Mürdümü */
    --color-emerald-dark: #251633;
    --color-emerald-main: #2E1B3D; /* Ana Ametist Rengi */
    --color-emerald-light: #4A2E62;
    --color-emerald-subtle: #F5EEF8;
    --color-emerald-glow: rgba(46, 27, 61, 0.18);

    --color-champagne-dark: #967E56;
    --color-champagne-main: #BFA37E; /* Mat Antik Gold */
    --color-champagne-light: #DFC7A5;
    --color-champagne-subtle: #F8F4EC;
    --color-champagne-border: #EADBCE;

    --color-bg-white: #FFFFFF;
    --color-bg-porcelain: #FBF9FB; /* Carrara Mermer Beyazı */
    --color-bg-surface: #F5F0F7;

    --color-text-dark: #1A1322;
    --color-text-muted: #655670;
    --color-text-light: #9488A0;
    --color-text-white: #FFFFFF;

    --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-farsi: 'Vazirmatn', Tahoma, sans-serif;

    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
    --radius-pill: 0px;

    --shadow-subtle: none;
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-emerald: none;

    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --container-max: 1280px;
}

/* Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-porcelain);
    color: var(--color-text-dark);
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.65;
    background-color: var(--color-bg-porcelain);
    padding-top: 80px;
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-wrap: break-word;
    word-break: normal;
}

img, picture, video, canvas, svg, iframe {
    max-width: 100%;
    height: auto;
}

/* RTL Support for Persian */
[dir="rtl"] {
    font-family: var(--font-farsi);
    text-align: right;
}

[dir="rtl"] .hero-actions,
[dir="rtl"] .nav-links,
[dir="rtl"] .meta-row,
[dir="rtl"] .footer-links {
    direction: rtl;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-emerald-deep);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 {
    font-family: var(--font-farsi);
    font-weight: 700;
    letter-spacing: normal;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   TOP BAR & NAVIGATION
   ========================================================================== */
.topbar {
    background-color: var(--color-emerald-deep);
    color: var(--color-champagne-subtle);
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(197, 168, 128, 0.2);
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-champagne-subtle);
}

.topbar-item i {
    color: var(--color-champagne-main);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Navbar Language Selector */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: 1px solid rgba(46, 27, 61, 0.2);
}

.lang-btn {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--color-text-muted);
    padding: 5px 8px;
    border-radius: 0;
    transition: var(--transition);
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 0.05em;
}

.lang-btn:hover {
    color: var(--color-emerald-deep);
    background: rgba(46, 27, 61, 0.05);
}

.lang-btn.active {
    background: var(--color-emerald-deep);
    color: #FFFFFF;
}

/* Main Header & Minimalist Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(46, 27, 61, 0.08);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(250, 249, 246, 0.98);
    box-shadow: 0 4px 20px rgba(46, 27, 61, 0.08);
    border-bottom-color: rgba(197, 168, 128, 0.28);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    gap: 1rem;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
    text-decoration: none;
    transition: var(--transition);
}

.brand-logo:hover {
    opacity: 0.95;
}

.brand-logo-img {
    height: 60px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    display: block;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.brand-logo:hover .brand-logo-img {
    transform: translateY(-1px) scale(1.03);
    filter: drop-shadow(0 4px 14px rgba(191, 163, 126, 0.3));
}

.brand-icon-dentvan {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.35s ease;
}

.brand-logo:hover .brand-icon-dentvan {
    transform: translateY(-1px) scale(1.05);
}

.brand-tooth-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(197, 168, 128, 0.22));
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    white-space: nowrap;
}

[dir="rtl"] .brand-text {
    align-items: flex-start;
}

.brand-wordmark-img {
    height: 22px;
    width: auto;
    object-fit: contain;
    display: block;
}

.brand-subtitle {
    font-size: 0.58rem;
    color: var(--color-champagne-dark);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 3px;
    line-height: 1.15;
    white-space: nowrap;
}

[dir="rtl"] .brand-subtitle {
    font-family: var(--font-farsi);
    letter-spacing: normal !important;
    font-size: 0.72rem;
    font-weight: 600;
    margin-top: 1px;
}

/* Footer Brand Adaptations */
.footer-brand-logo .brand-tooth-img {
    height: 46px;
    filter: drop-shadow(0 2px 12px rgba(223, 202, 159, 0.28));
}

.footer-brand-logo .brand-wordmark-img {
    height: 24px;
}

.brand-subtitle-footer {
    color: var(--color-champagne-light);
    opacity: 0.92;
}

.footer-logo-img {
    height: 76px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    display: block;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
    filter: drop-shadow(0 4px 18px rgba(191, 163, 126, 0.28));
}

.footer-brand-logo:hover .footer-logo-img {
    transform: translateY(-2px) scale(1.03);
    filter: drop-shadow(0 6px 24px rgba(223, 199, 165, 0.42));
}

.brand-icon {
    width: 38px;
    height: 38px;
    background: transparent;
    color: var(--color-emerald-deep);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    border: 1.5px solid var(--color-champagne-main);
    transition: var(--transition);
    flex-shrink: 0;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-emerald-deep);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.1;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: clamp(0.65rem, 1.25vw, 1.5rem);
    margin: 0;
    padding: 0;
    flex-shrink: 1;
}

.nav-links li {
    white-space: nowrap;
}

.nav-links li a {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-dark);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    padding: 0.4rem 0.2rem;
    transition: var(--transition);
    opacity: 0.82;
    white-space: nowrap;
    display: inline-block;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 1.5px;
    background: var(--color-champagne-main);
    transition: var(--transition);
}

[dir="rtl"] .nav-links li a::after {
    left: auto;
    right: 0;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--color-emerald-deep);
    opacity: 1;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

/* Minimalist Navbar Appointment CTA Button */
.btn-nav-appointment {
    background: transparent;
    color: var(--color-emerald-deep);
    border: 1.5px solid var(--color-emerald-deep);
    padding: 0.55rem 1.15rem;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 0;
    box-shadow: none;
    transition: var(--transition);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.btn-nav-appointment:hover {
    background: var(--color-emerald-deep);
    color: #FFFFFF;
    box-shadow: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.6rem;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 0;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: 0.02em;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    box-shadow: none;
}

.btn-primary {
    background: var(--color-emerald-deep);
    color: #FFFFFF;
    border: 1px solid var(--color-emerald-deep);
    box-shadow: none;
}

.btn-primary:hover {
    background: var(--color-emerald-dark);
    color: #FFFFFF;
    box-shadow: none;
}

.btn-champagne {
    background: var(--color-champagne-main);
    color: var(--color-emerald-deep);
    border: 1px solid var(--color-champagne-dark);
    font-weight: 700;
    box-shadow: none;
}

.btn-champagne:hover {
    background: var(--color-champagne-light);
    color: var(--color-emerald-deep);
    box-shadow: none;
}

.btn-whatsapp {
    background: #128C7E;
    color: #FFFFFF;
    border: 1px solid #0F7569;
    box-shadow: none;
}

.btn-whatsapp:hover {
    background: #0E6B60;
    color: #FFFFFF;
    box-shadow: none;
}

.btn-outline-white {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    box-shadow: none;
}

.btn-outline-white:hover {
    background: #FFFFFF;
    color: var(--color-emerald-deep);
    border-color: #FFFFFF;
    box-shadow: none;
}

.btn-outline-emerald {
    background: transparent;
    color: var(--color-emerald-deep);
    border: 1px solid var(--color-emerald-deep);
    box-shadow: none;
}

.btn-outline-emerald:hover {
    background: var(--color-emerald-deep);
    color: #FFFFFF;
    box-shadow: none;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--color-emerald-deep);
    cursor: pointer;
}

/* ==========================================================================
   FULLSCREEN HERO SECTION (EDITORIAL & CLEAN)
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-color: var(--color-emerald-deep);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.88);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(
        135deg,
        rgba(46, 27, 61, 0.94) 0%,
        rgba(46, 27, 61, 0.78) 45%,
        rgba(46, 27, 61, 0.48) 100%
    );
}

[dir="rtl"] .hero-overlay {
    background: linear-gradient(
        225deg,
        rgba(46, 27, 61, 0.94) 0%,
        rgba(46, 27, 61, 0.78) 45%,
        rgba(46, 27, 61, 0.48) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 780px;
    padding: 6rem 0;
    color: #FFFFFF;
}

.hero-eyebrow {
    font-size: 0.9rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-champagne-light);
    margin-bottom: 1.25rem;
    font-weight: 600;
    display: block;
}

.hero-title {
    font-size: 3.85rem;
    line-height: 1.12;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 2.5rem;
    max-width: 650px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(223, 202, 159, 0.3);
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-champagne-light);
    line-height: 1;
    margin-bottom: 0.4rem;
}

[dir="rtl"] .hero-stat-number {
    font-family: var(--font-farsi);
    font-weight: 700;
}

.hero-stat-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   PHILOSOPHY & STERILE EXPERIENCE SECTION
   ========================================================================== */
.section {
    padding: 6.5rem 0;
    background-color: var(--color-bg-porcelain);
}

.section-bg-light {
    background-color: var(--color-bg-surface);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 4rem auto;
}

.section-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-champagne-dark);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.section-tag::before,
.section-tag::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--color-champagne-main);
    opacity: 0.55;
}

.section-title {
    font-size: 2.8rem;
    color: var(--color-emerald-deep);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Bespoke Editorial Standards Layout */
.standards-editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
}

.standard-editorial-card {
    background: #FFFFFF;
    padding: 3.25rem 2.5rem;
    border: 1px solid rgba(197, 168, 128, 0.28);
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(46, 27, 61, 0.03);
}

.standard-editorial-card:hover {
    border-color: var(--color-champagne-main);
    box-shadow: 0 10px 30px rgba(46, 27, 61, 0.07);
    transform: translateY(-2px);
}

.standard-editorial-head {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.standard-index {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-champagne-dark);
    line-height: 1;
    letter-spacing: -0.02em;
}

.standard-rule {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(197, 168, 128, 0.45), transparent);
}

[dir="rtl"] .standard-rule {
    background: linear-gradient(-90deg, rgba(197, 168, 128, 0.45), transparent);
}

.standard-heading {
    font-size: 1.45rem;
    color: var(--color-emerald-deep);
    margin-bottom: 0.95rem;
    line-height: 1.35;
    font-weight: 600;
}

.standard-text {
    font-size: 0.94rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Fallback for legacy philosophy grid if referenced */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.philosophy-card {
    background: #FFFFFF;
    padding: 3rem 2.25rem;
    border: 1px solid rgba(197, 168, 128, 0.28);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(46, 27, 61, 0.03);
}

.philosophy-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-color: var(--color-champagne-main);
}

.philosophy-icon {
    width: 58px;
    height: 58px;
    border-radius: 0;
    background: var(--color-emerald-subtle);
    color: var(--color-emerald-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.75rem;
    border: 1px solid rgba(197, 168, 128, 0.35);
    transition: var(--transition);
}

.philosophy-card h3 {
    font-size: 1.55rem;
    margin-bottom: 1rem;
    color: var(--color-emerald-deep);
}

.philosophy-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.68;
}

/* ==========================================================================
   SERVICES / TREATMENTS SECTION
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: #FFFFFF;
    border: 1px solid rgba(46, 27, 61, 0.08);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 18px rgba(46, 27, 61, 0.03);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-champagne-main), transparent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-color: var(--color-champagne-main);
}

.service-image {
    height: 230px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: var(--color-emerald-deep);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-image img {
    transform: scale(1.06);
}

.service-body {
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--color-champagne-dark);
    margin-bottom: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.service-title {
    font-size: 1.6rem;
    color: var(--color-emerald-deep);
    margin-bottom: 0.85rem;
}

.service-desc {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.service-footer {
    padding-top: 1.25rem;
    border-top: 1px solid rgba(46, 27, 61, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-emerald-deep);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    letter-spacing: 0.03em;
    transition: var(--transition);
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-link {
    color: var(--color-champagne-dark);
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

[dir="rtl"] .service-card:hover .service-link i {
    transform: translateX(-5px);
}

/* ==========================================================================
   APPOINTMENT BOOKING SECTION (WHATSAPP INTEGRATED)
   ========================================================================== */
.appointment-section {
    background: linear-gradient(180deg, var(--color-bg-white) 0%, var(--color-bg-porcelain) 100%);
    position: relative;
}

.appointment-wrapper {
    background: #FFFFFF;
    border: 1px solid var(--color-champagne-border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    overflow: hidden;
}

.appointment-form-col {
    padding: 3.5rem;
}

.appointment-info-col {
    background: var(--color-emerald-deep);
    color: #FFFFFF;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.appointment-info-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero.jpg') center/cover;
    opacity: 0.08;
    pointer-events: none;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group-full {
    grid-column: span 2;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-emerald-deep);
    margin-bottom: 0.45rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--color-text-dark);
    background: var(--color-bg-porcelain);
    border: 1px solid rgba(46, 27, 61, 0.2);
    border-radius: 0;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    background: #FFFFFF;
    border-color: var(--color-emerald-deep);
    box-shadow: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Phone Input Group with Country Code Selector */
.phone-input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
    direction: ltr !important; /* Dial codes and phone numbers are strictly LTR worldwide */
    background: var(--color-bg-porcelain);
}

.phone-input-group .country-code-select {
    flex: 0 0 auto;
    width: 125px;
    padding: 0.85rem 0.5rem 0.85rem 0.75rem;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--color-emerald-deep);
    background-color: var(--color-bg-porcelain);
    border: 1px solid rgba(46, 27, 61, 0.2);
    border-right: none;
    border-radius: 0;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

.phone-input-group .country-code-select:hover {
    background-color: #FFFFFF;
}

.phone-input-group .country-code-select:focus {
    background-color: #FFFFFF;
    border-color: var(--color-emerald-deep);
}

.phone-input-group .form-control {
    flex: 1 1 auto;
    min-width: 0;
    border-left: 1px solid rgba(46, 27, 61, 0.15);
    direction: ltr;
    text-align: left;
}

.phone-input-group:focus-within .country-code-select {
    border-color: var(--color-emerald-deep);
}

.phone-input-group:focus-within .form-control {
    border-color: var(--color-emerald-deep);
}

/* Legal KVKK Consent Checkbox */
.form-consent-group {
    margin: 0.5rem 0 0.5rem 0;
}

.custom-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.84rem;
    color: var(--color-text-muted);
    cursor: pointer;
    line-height: 1.5;
    user-select: none;
}

.custom-checkbox-label input[type="checkbox"] {
    accent-color: var(--color-emerald-deep);
    width: 17px;
    height: 17px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.info-box {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.info-box h3 {
    color: #FFFFFF;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.info-box p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Editorial Clinical Reception Protocol List */
.info-protocol-list {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.info-protocol-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.info-protocol-step {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-style: italic;
    font-weight: 400;
    color: var(--color-champagne-light);
    line-height: 1;
    min-width: 28px;
    padding-top: 2px;
    letter-spacing: -0.02em;
}

.info-protocol-text h4 {
    color: #FFFFFF;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.info-protocol-text p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.86rem;
    line-height: 1.55;
    margin: 0;
}

/* Fallback feature list */
.info-feature-list {
    list-style: none;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

.info-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-feature-icon {
    color: var(--color-champagne-light);
    font-size: 1.25rem;
    margin-top: 2px;
}

.info-feature-text h4 {
    color: #FFFFFF;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.info-feature-text p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
}

.info-contact-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(223, 202, 159, 0.3);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    position: relative;
    z-index: 1;
}

.info-contact-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #FFFFFF;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.info-contact-item:last-child {
    margin-bottom: 0;
}

.info-contact-item i {
    color: var(--color-champagne-light);
    font-size: 1.1rem;
}

/* ==========================================================================
   DOCTORS SECTION
   ========================================================================== */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.doctor-card {
    background: #FFFFFF;
    border: 1px solid rgba(197, 168, 128, 0.28);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 6px 20px rgba(46, 27, 61, 0.04);
}

.doctor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-champagne-main), var(--color-emerald-main));
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.doctor-card:hover::before {
    opacity: 1;
}

.doctor-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-color: var(--color-champagne-main);
}

.doctor-photo-wrapper {
    height: 390px;
    position: relative;
    overflow: hidden;
    background-color: var(--color-emerald-deep);
}

.doctor-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.doctor-card:hover .doctor-photo-wrapper img {
    transform: scale(1.05);
}

.doctor-info {
    padding: 2.25rem 2rem;
    text-align: center;
}

.doctor-name {
    font-size: 1.75rem;
    color: var(--color-emerald-deep);
    margin-bottom: 0.35rem;
}

.doctor-title {
    font-size: 0.85rem;
    color: var(--color-champagne-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

.doctor-bio {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

/* ==========================================================================
   CLINICAL PROCESS & PATIENT CARE PROTOCOL (MEVZUAT UYUMLU)
   ========================================================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.process-card {
    background: #FFFFFF;
    border: 1px solid rgba(197, 168, 128, 0.28);
    padding: 2.75rem 1.85rem;
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(46, 27, 61, 0.03);
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-emerald-main), var(--color-champagne-main));
    opacity: 0.5;
    transition: var(--transition);
}

.process-card:hover::before {
    opacity: 1;
    height: 4px;
}

.process-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-color: var(--color-champagne-main);
}

.process-number {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-champagne-dark);
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.process-number::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(197, 168, 128, 0.45), transparent);
}

[dir="rtl"] .process-number::after {
    background: linear-gradient(-90deg, rgba(197, 168, 128, 0.45), transparent);
}

.process-card:hover .process-number {
    color: var(--color-emerald-deep);
}

[dir="rtl"] .process-number {
    font-family: var(--font-farsi);
}

.process-icon {
    width: 54px;
    height: 54px;
    border-radius: 0;
    background: var(--color-emerald-subtle);
    color: var(--color-emerald-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
    border: 1.5px solid rgba(197, 168, 128, 0.35);
    transition: var(--transition);
}

.process-card:hover .process-icon {
    background: var(--color-emerald-deep);
    color: var(--color-champagne-light);
    border-color: var(--color-emerald-deep);
}

.process-title {
    font-size: 1.35rem;
    color: var(--color-emerald-deep);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.process-desc {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

/* ==========================================================================
   CONTACT & MAP SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-card-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.75rem;
    background: #FFFFFF;
    border: 1px solid rgba(197, 168, 128, 0.28);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(46, 27, 61, 0.02);
}

.contact-detail-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-color: var(--color-champagne-main);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 0;
    background: var(--color-emerald-subtle);
    color: var(--color-emerald-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: var(--transition);
    border: 1px solid rgba(197, 168, 128, 0.25);
}

.contact-detail-card:hover .contact-icon {
    background: var(--color-emerald-deep);
    color: var(--color-champagne-light);
    border-color: var(--color-emerald-deep);
}

.contact-meta h4 {
    font-size: 1.15rem;
    color: var(--color-emerald-deep);
    margin-bottom: 0.25rem;
}

.contact-meta p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
}

.map-container {
    height: 100%;
    min-height: 380px;
    border: 1px solid rgba(197, 168, 128, 0.35);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--color-emerald-deep);
    color: #FFFFFF;
    padding: 5rem 0 2rem 0;
    border-top: 1px solid rgba(197, 168, 128, 0.3);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.15fr 1.85fr 0.8fr 1.35fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.footer-col-treatments {
    min-width: 0;
}

.footer-treatments-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--color-champagne-light);
    font-size: 1.15rem;
    font-weight: 600;
    transform: translateX(-38px);
}

[dir="rtl"] .footer-treatments-title {
    transform: translateX(38px);
}

.footer-treatments-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    text-align: start;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
    margin-top: 1.25rem;
    line-height: 1.65;
    max-width: 320px;
}

/* Footer Square Social Badges & Direct Contact */
.footer-social-badges {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1.35rem;
    margin-bottom: 1.15rem;
}

.social-badge-square {
    width: 38px;
    height: 38px;
    border-radius: 0; /* Köşeli */
    border: 1px solid rgba(197, 168, 128, 0.35);
    background: rgba(197, 168, 128, 0.08);
    color: var(--color-champagne-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-badge-square:hover {
    background: var(--color-champagne-main);
    color: var(--color-emerald-deep);
    border-color: var(--color-champagne-main);
    transform: translateY(-2px);
}

.footer-brand-contact {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.25rem;
    align-items: flex-start;
}

[dir="rtl"] .footer-brand-contact {
    align-items: flex-start;
}

.footer-brand-contact-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.2s ease;
    width: fit-content;
}

.footer-brand-contact-item i {
    width: 16px;
    color: var(--color-champagne-main);
    font-size: 0.85rem;
    text-align: center;
}

.footer-brand-contact-item:hover {
    color: var(--color-champagne-light);
    transform: translateX(3px);
}

[dir="rtl"] .footer-brand-contact-item:hover {
    transform: translateX(-3px);
}

.footer-col h4 {
    color: var(--color-champagne-light);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Dedicated Clinic Information Column */
.footer-col-clinic {
    min-width: 0;
}

.footer-clinic-contact {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.25s ease;
}

a.footer-contact-row:hover {
    color: var(--color-champagne-light);
    transform: translateX(4px);
}

[dir="rtl"] a.footer-contact-row:hover {
    transform: translateX(-4px);
}

.footer-contact-icon {
    width: 34px;
    height: 34px;
    border-radius: 0;
    border: 1px solid rgba(197, 168, 128, 0.35);
    background: rgba(197, 168, 128, 0.08);
    color: var(--color-champagne-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    flex-shrink: 0;
    margin-top: 1px;
    transition: all 0.25s ease;
}

.footer-contact-icon i {
    font-size: 0.92rem;
    line-height: 1;
}

.footer-contact-icon .fa-whatsapp {
    font-size: 1.06rem; /* Optical balance to match fa-phone glyph volume */
}

a.footer-contact-row:hover .footer-contact-icon {
    background: var(--color-champagne-main);
    color: var(--color-emerald-deep);
    border-color: var(--color-champagne-main);
    box-shadow: 0 4px 12px rgba(197, 168, 128, 0.25);
}

.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.footer-contact-label {
    font-size: 0.68rem;
    color: var(--color-champagne-light);
    text-transform: uppercase;
    letter-spacing: 0.10em;
    font-weight: 600;
    line-height: 1.1;
    opacity: 0.9;
}

[dir="rtl"] .footer-contact-label {
    font-family: var(--font-farsi);
    letter-spacing: normal;
    font-size: 0.74rem;
}

.footer-contact-value {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.45;
    word-break: break-word;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.footer-links li a:hover {
    color: var(--color-champagne-light);
    padding-left: 5px;
}

[dir="rtl"] .footer-links li a:hover {
    padding-left: 0;
    padding-right: 5px;
}

.footer-bottom {
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    flex-wrap: nowrap;
}

[dir="rtl"] .footer-bottom {
    direction: ltr !important; /* Keep Left: Copyright+Legal and Right: Blackzone unified across all 3 languages */
}

[dir="rtl"] .footer-bottom-info {
    direction: ltr;
}

[dir="rtl"] .footer-legal-links-wrap {
    direction: rtl;
}

.footer-bottom-info {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.65);
    white-space: nowrap;
}

.footer-legal-links-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    white-space: nowrap;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.82rem;
    white-space: nowrap;
}

.footer-legal-link:hover {
    color: var(--color-champagne-light);
}

.footer-legal-dot {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.75rem;
    user-select: none;
}

.footer-branding {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.footer-branding:hover {
    opacity: 1;
}

.footer-branding img {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.footer-branding span {
    color: var(--color-champagne-light);
    letter-spacing: 0.85px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON & TOAST NOTIFICATIONS
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem !important;
    left: auto !important;
    z-index: 999;
    width: 52px;
    height: 52px;
    background: #128C7E;
    color: #FFFFFF;
    border-radius: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.6rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    text-align: center !important;
}

.floating-whatsapp i {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.floating-whatsapp:hover {
    background: #0E6B60;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: none;
}

/* ==========================================================================
   BACK TO TOP FLOATING BUTTON (EMERALD BG + CHAMPAGNE ARROW)
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: calc(2rem + 52px + 12px);
    right: 2rem !important;
    left: auto !important;
    z-index: 998;
    width: 48px;
    height: 48px;
    background: var(--color-emerald-deep);
    border: 1.5px solid rgba(197, 168, 128, 0.45);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(46, 27, 61, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top i {
    color: var(--color-champagne-light);
    font-size: 1.15rem;
    transition: transform 0.25s ease, color 0.25s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-emerald-dark);
    border-color: var(--color-champagne-light);
    box-shadow: 0 6px 22px rgba(46, 27, 61, 0.35);
    transform: translateY(-3px);
}

.back-to-top:hover i {
    color: #FFFFFF;
    transform: translateY(-2px);
}

.toast-container {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    background: var(--color-emerald-deep);
    color: #FFFFFF;
    border: 1px solid var(--color-champagne-main);
    padding: 1.25rem 2rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 1rem;
    pointer-events: auto;
    animation: toastIn 0.4s ease forwards;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Default hide mobile CTA in navbar */
.nav-mobile-cta {
    display: none;
}

/* ==========================================================================
   RESPONSIVE DESIGN (DESKTOP -> TABLET -> MOBILE)
   ========================================================================== */

/* 1. TABLET / SMALL LAPTOP BREAKPOINT (<= 1120px) */
/* Mobile Nav Open - Lock Page Scroll & Prevent Scroll-Chaining */
html.mobile-nav-open,
body.mobile-nav-open {
    overflow: hidden !important;
    height: 100% !important;
    touch-action: none;
    overscroll-behavior: none !important;
    -webkit-overflow-scrolling: auto;
}

.mobile-nav-backdrop {
    display: none;
}

@media (max-width: 1120px) {
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        position: relative;
        z-index: 1002; /* Always accessible above drawer */
        transition: var(--transition);
    }

    .mobile-nav-backdrop {
        display: block;
        position: fixed;
        top: 80px; /* Üst header alanını kesinlikle kapatmaz ve blurlamaz */
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(29, 19, 38, 0.32); /* Çok hafif, zarif mürdüm tonu */
        backdrop-filter: blur(3px); /* Çok hafif ve pürüzsüz buğu */
        -webkit-backdrop-filter: blur(3px);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    .mobile-nav-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    /* LUXURY RIGHT OFF-CANVAS DRAWER */
    .nav-links {
        display: flex;
        position: fixed;
        top: 80px; /* Header'ın hemen altından başlar, üst alanı örtmez */
        right: 0;
        bottom: 0;
        left: auto;
        width: 82%;
        max-width: 320px;
        height: calc(100vh - 80px);
        height: calc(100dvh - 80px);
        background: #FFFFFF;
        flex-direction: column;
        padding: 2rem 1.75rem 2.5rem 1.75rem;
        gap: 1rem;
        box-shadow: -10px 10px 40px rgba(0, 0, 0, 0.18);
        border-left: 2px solid var(--color-champagne-main);
        border-bottom: none;
        z-index: 999;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        transform: translateX(105%);
        transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.38s ease;
        visibility: hidden;
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        padding: 0.75rem 0.5rem;
        font-size: 1rem;
        font-weight: 600;
        color: var(--color-emerald-deep);
        border-bottom: 1px solid rgba(46, 27, 61, 0.08);
        transition: var(--transition);
    }

    .nav-links li a:hover,
    .nav-links li a.active {
        color: var(--color-champagne-dark);
        padding-left: 0.85rem;
    }

    .nav-mobile-cta {
        display: block !important;
        width: 100% !important;
        margin-top: 0.75rem !important;
        padding-top: 1rem !important;
        border-top: 1px solid rgba(197, 168, 128, 0.28) !important;
    }

    .nav-links li.nav-mobile-cta a,
    .btn-mobile-appointment {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.65rem !important;
        width: 100% !important;
        padding: 0.95rem 1.25rem !important;
        background: var(--color-emerald-deep) !important;
        color: #FFFFFF !important;
        font-size: 0.88rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.06em !important;
        text-transform: uppercase !important;
        border: 1px solid var(--color-champagne-main) !important;
        border-bottom: 1px solid var(--color-champagne-main) !important;
        border-radius: 0 !important;
        box-shadow: 0 4px 16px rgba(46, 27, 61, 0.28) !important;
        text-align: center !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
        transition: all 0.25s ease !important;
    }

    .nav-links li.nav-mobile-cta a::after,
    .btn-mobile-appointment::after {
        display: none !important;
    }

    .nav-links li.nav-mobile-cta a i,
    .btn-mobile-appointment i {
        color: var(--color-champagne-main) !important;
        font-size: 1.1rem !important;
        transition: transform 0.2s ease, color 0.2s ease !important;
    }

    .nav-links li.nav-mobile-cta a span,
    .btn-mobile-appointment span {
        color: #FFFFFF !important;
    }

    .nav-links li.nav-mobile-cta a:hover,
    .nav-links li.nav-mobile-cta a:active,
    .btn-mobile-appointment:hover,
    .btn-mobile-appointment:active {
        background: var(--color-emerald-dark) !important;
        color: #FFFFFF !important;
        border-color: #FFFFFF !important;
        padding-left: 1.25rem !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(46, 27, 61, 0.4) !important;
    }

    .nav-links li.nav-mobile-cta a:hover i,
    .btn-mobile-appointment:hover i {
        color: #FFFFFF !important;
        transform: scale(1.15);
    }

    .standards-editorial-grid,
    .philosophy-grid,
    .services-grid,
    .process-grid,
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }

    .hero-title {
        font-size: clamp(2.4rem, 5vw, 3.2rem);
    }

    .hero-stats {
        gap: 1.5rem;
    }
}

/* 2. MID-TABLET BREAKPOINT (<= 900px) */
@media (max-width: 900px) {
    .appointment-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .map-container iframe {
        min-height: 340px;
        height: 340px;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

/* 3. MOBILE SMARTPHONE BREAKPOINT (<= 768px) */
@media (max-width: 768px) {
    body {
        padding-top: 72px;
    }

    .site-header {
        height: 72px;
    }

    .nav-container {
        height: 72px;
        padding: 0 1rem;
        gap: 0.4rem;
        width: 100%;
        max-width: 100%;
    }

    .nav-links {
        top: 72px;
        padding: 1.5rem 1.25rem;
    }

    /* Hide header appointment button on phones to guarantee 0% overflow */
    .nav-actions .btn-nav-appointment {
        display: none !important;
    }

    .brand-logo {
        max-width: 65%;
        min-width: 0;
        flex-shrink: 1;
        gap: 0.55rem;
    }

    .brand-logo-img {
        height: 50px;
        max-width: 90px;
    }

    .footer-logo-img {
        height: 64px;
        max-width: 120px;
    }

    .brand-tooth-img {
        height: 32px;
    }

    .brand-wordmark-img {
        height: 18px;
    }

    .brand-icon {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
        flex-shrink: 0;
    }

    .brand-text {
        min-width: 0;
        overflow: hidden;
    }

    .brand-title {
        font-size: 1.15rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .brand-subtitle {
        font-size: 0.48rem;
        letter-spacing: 0.10em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    [dir="rtl"] .brand-subtitle {
        font-size: 0.62rem;
        letter-spacing: normal !important;
    }

    .nav-actions {
        gap: 0.4rem;
        flex-shrink: 0;
    }

    .lang-switcher {
        padding: 2px 4px;
        gap: 2px;
    }

    .lang-btn {
        font-size: 0.68rem;
        padding: 3px 6px;
    }

    .mobile-toggle {
        font-size: 1.35rem;
        padding: 4px;
    }

    /* Hero Section Mobile */
    .hero-section {
        min-height: auto;
        padding: 4.5rem 0 3.5rem 0;
    }

    .hero-content {
        padding: 1.5rem 0;
        max-width: 100%;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .hero-eyebrow {
        font-size: 0.78rem;
        letter-spacing: 0.12em;
        margin-bottom: 0.85rem;
        white-space: normal;
        word-break: break-word;
    }

    .hero-title {
        font-size: clamp(1.85rem, 6.5vw, 2.35rem);
        line-height: 1.2;
        margin-bottom: 1.15rem;
        word-break: break-word;
    }

    .hero-subtitle {
        font-size: 0.98rem;
        line-height: 1.6;
        margin-bottom: 1.85rem;
        word-break: break-word;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.85rem;
        margin-bottom: 2.5rem;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        padding: 0.85rem 1rem;
        font-size: 0.88rem;
        white-space: normal;
        text-align: center;
        box-sizing: border-box;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: center;
        padding-top: 1.75rem;
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    /* Content Sections Mobile */
    .section {
        padding: 4.25rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-tag {
        font-size: 0.75rem;
        letter-spacing: 0.16em;
    }

    .section-title {
        font-size: clamp(1.85rem, 6vw, 2.25rem);
    }

    .standards-editorial-grid,
    .philosophy-grid,
    .services-grid,
    .doctors-grid,
    .process-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .map-container {
        min-height: 280px;
        height: 280px;
        width: 100%;
        max-width: 100%;
    }

    .map-container iframe {
        height: 100%;
        width: 100%;
    }

    /* Appointment Station Mobile */
    .appointment-form-col {
        padding: 2rem 1.25rem;
    }

    .appointment-info-col {
        padding: 2rem 1.25rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-group-full {
        grid-column: span 1;
    }

    /* FAQ Mobile */
    .faq-question-btn {
        padding: 1.1rem 1.2rem !important;
        font-size: 0.95rem !important;
        white-space: normal !important;
        word-break: break-word !important;
    }

    .faq-answer-content {
        padding: 0 1.2rem 1.2rem 1.2rem !important;
        font-size: 0.92rem !important;
    }

    /* Footer Mobile */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .footer-treatments-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }

    .footer-bottom {
        flex-direction: column !important;
        gap: 1.15rem;
        text-align: center;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    .footer-bottom-info {
        flex-direction: column;
        gap: 0.65rem;
        white-space: normal;
        text-align: center;
    }

    .footer-bottom-info .footer-copyright-dot {
        display: none;
    }

    .footer-legal-links-wrap {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.65rem;
    }

    /* Floating WhatsApp Button Mobile */
    .floating-whatsapp {
        bottom: 1.25rem;
        right: 1.25rem !important;
        left: auto !important;
        width: 52px;
        height: 52px;
        font-size: 1.65rem;
    }

    /* Back to Top Mobile */
    .back-to-top {
        bottom: calc(1.25rem + 52px + 10px);
        right: 1.25rem !important;
        left: auto !important;
        width: 44px;
        height: 44px;
    }

    .back-to-top i {
        font-size: 1.05rem;
    }
}

/* 4. COMPACT MOBILE BREAKPOINT (<= 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 0.85rem;
    }

    .brand-title {
        font-size: 1.05rem;
    }

    .brand-subtitle {
        font-size: 0.48rem;
        letter-spacing: 0.1em;
    }

    .brand-icon {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 1.65rem;
        line-height: 1.22;
    }

    .section-title {
        font-size: 1.65rem;
    }

    .hero-actions .btn {
        padding: 0.8rem 0.9rem;
        font-size: 0.84rem;
    }

    .appointment-form-col {
        padding: 1.5rem 1rem;
    }

    .appointment-info-col {
        padding: 1.5rem 1rem;
    }

    .process-step-card {
        padding: 1.5rem 1.2rem;
    }

    .contact-detail-card {
        padding: 1.2rem 1rem;
    }
}

/* ==========================================================================
   FAQ Section Styling
   ========================================================================== */
.faq-card {
    transition: var(--transition);
}

.faq-card:hover {
    border-color: var(--color-champagne-main) !important;
    box-shadow: var(--shadow-subtle);
}

[dir="rtl"] .faq-question-btn span i {
    margin-right: 0 !important;
    margin-left: 0.6rem !important;
}

[dir="rtl"] .faq-question-btn {
    text-align: right !important;
}

/* ==========================================================================
   MULTI-PAGE INNER PAGE HERO & LAYOUT STYLES
   ========================================================================== */
.page-hero {
    background-color: var(--color-emerald-deep);
    color: #FFFFFF;
    padding: 4.5rem 0 3.5rem 0;
    position: relative;
    border-bottom: 1px solid rgba(197, 168, 128, 0.25);
}

.page-hero-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-champagne-light);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: block;
}

.page-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    color: #FFFFFF;
    margin-bottom: 0.9rem;
    font-weight: 500;
    font-family: var(--font-heading);
}

.page-hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 720px;
    line-height: 1.65;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--color-champagne-light);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #FFFFFF;
}

.breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.7;
}

[dir="rtl"] .breadcrumb i.fa-angle-right {
    transform: rotate(180deg);
}

/* Treatment Detail Layout */
.treatment-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.treatment-main-image {
    width: 100%;
    height: 420px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(197, 168, 128, 0.25);
}

.treatment-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.treatment-prose h2,
.treatment-prose h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-emerald-deep);
}

.treatment-prose p {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.treatment-steps-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.treatment-step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--color-bg-porcelain);
    border: 1px solid rgba(197, 168, 128, 0.2);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-champagne-dark);
    line-height: 1;
    flex-shrink: 0;
}

.step-info h4 {
    font-size: 1.15rem;
    color: var(--color-emerald-deep);
    margin-bottom: 0.35rem;
}

.step-info p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.treatment-sidebar-card {
    background: #FFFFFF;
    border: 1px solid rgba(197, 168, 128, 0.3);
    padding: 2.25rem 2rem;
    margin-bottom: 2rem;
}

.treatment-sidebar-card h3 {
    font-size: 1.35rem;
    color: var(--color-emerald-deep);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(197, 168, 128, 0.25);
}

.spec-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.92rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(46, 27, 61, 0.06);
}

.spec-label {
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spec-value {
    font-weight: 600;
    color: var(--color-emerald-deep);
}

.other-treatments-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.other-treatments-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--color-bg-porcelain);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-dark);
    border: 1px solid transparent;
    transition: var(--transition);
}

.other-treatments-list li a:hover,
.other-treatments-list li a.active {
    background: #FFFFFF;
    border-color: var(--color-champagne-main);
    color: var(--color-emerald-deep);
}

@media (max-width: 900px) {
    .treatment-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .treatment-main-image {
        height: 280px;
    }
}

/* ==========================================================================
   COOKIE CONSENT BANNER (LUXURY GLASSMORPHIC STYLE)
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 1100px;
    margin: 0 auto;
    z-index: 9998;
    background: rgba(46, 27, 61, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(223, 202, 159, 0.35);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
    padding: 1.25rem 1.75rem;
    color: #FFFFFF;
    transform: translateY(120px);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cookie-banner-icon {
    font-size: 2rem;
    color: var(--color-champagne-light);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text h4 {
    color: var(--color-champagne-light);
    font-size: 1.05rem;
    font-family: var(--font-heading);
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}

.cookie-banner-text p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin: 0;
}

.cookie-policy-link {
    color: var(--color-champagne-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-left: 0.35rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-policy-link:hover {
    color: #FFFFFF;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background: var(--color-champagne-light);
    color: var(--color-emerald-deep);
    border: 1px solid var(--color-champagne-light);
    padding: 0.65rem 1.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cookie-accept:hover {
    background: #FFFFFF;
    color: var(--color-emerald-deep);
    border-color: #FFFFFF;
    transform: translateY(-1px);
}

.btn-cookie-decline {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.65rem 1.1rem;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cookie-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border-color: #FFFFFF;
}

@media (max-width: 860px) {
    .cookie-banner {
        bottom: 12px;
        left: 12px;
        right: 12px;
        padding: 1.15rem;
    }

    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cookie-banner-actions {
        width: 100%;
        display: flex;
        flex-direction: column-reverse;
        gap: 0.5rem;
    }

    .btn-cookie-accept,
    .btn-cookie-decline {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   LEGAL MODAL (KVKK, COOKIE, PRIVACY DIALOG)
   ========================================================================== */
.legal-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(29, 19, 38, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.legal-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.legal-modal-container {
    background: #FFFFFF;
    width: 100%;
    max-width: 860px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-champagne-border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-modal-backdrop.active .legal-modal-container {
    transform: translateY(0) scale(1);
}

.legal-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-emerald-deep);
    border-bottom: 2px solid var(--color-champagne-main);
    padding: 0 1rem;
    flex-shrink: 0;
}

.legal-modal-tabs {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
}

.legal-tab-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 1rem 1.25rem;
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.legal-tab-btn i {
    font-size: 0.95rem;
    color: var(--color-champagne-light);
}

.legal-tab-btn:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
}

.legal-tab-btn.active {
    color: #FFFFFF;
    border-bottom-color: var(--color-champagne-light);
    background: rgba(255, 255, 255, 0.08);
}

.legal-modal-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.legal-modal-close:hover {
    color: var(--color-champagne-light);
    transform: rotate(90deg);
}

.legal-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 2.25rem 2.5rem;
    color: var(--color-text-dark);
    line-height: 1.75;
}

.legal-tab-pane {
    display: none;
}

.legal-tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.legal-tab-pane h3 {
    font-family: var(--font-heading);
    color: var(--color-emerald-deep);
    font-size: 1.85rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.legal-lead {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-emerald-dark);
    border-left: 3px solid var(--color-champagne-main);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

[dir="rtl"] .legal-lead {
    border-left: none;
    border-right: 3px solid var(--color-champagne-main);
    padding-left: 0;
    padding-right: 1rem;
}

.legal-tab-pane h4 {
    color: var(--color-emerald-deep);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.legal-tab-pane p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.legal-tab-pane ul {
    margin: 0.75rem 0 1.25rem 1.5rem;
    padding: 0;
    color: var(--color-text-muted);
    font-size: 0.92rem;
}

[dir="rtl"] .legal-tab-pane ul {
    margin-left: 0;
    margin-right: 1.5rem;
}

.legal-tab-pane li {
    margin-bottom: 0.5rem;
}

.legal-modal-footer {
    padding: 1rem 2rem;
    background: var(--color-bg-porcelain);
    border-top: 1px solid var(--color-champagne-border);
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

.btn-legal-close {
    background: var(--color-emerald-deep);
    color: #FFFFFF;
    border: none;
    padding: 0.6rem 1.6rem;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-legal-close:hover {
    background: var(--color-emerald-dark);
    color: var(--color-champagne-light);
}

/* Footer Legal Links & Consent Inline Link */
.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal-link:hover {
    color: var(--color-champagne-light);
    text-decoration: underline;
}

.footer-legal-dot {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
}

.legal-inline-link {
    color: var(--color-emerald-deep);
    font-weight: 600;
    text-decoration: underline;
    margin-left: 0.3rem;
    cursor: pointer;
    transition: var(--transition);
}

.legal-inline-link:hover {
    color: var(--color-champagne-dark);
}

@media (max-width: 600px) {
    .legal-modal-body {
        padding: 1.5rem;
    }

    .legal-tab-btn {
        padding: 0.75rem 0.85rem;
        font-size: 0.8rem;
    }

    .legal-tab-btn span {
        display: none; /* Mobile icon only for tabs */
    }

    .legal-tab-btn i {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   DOCTORS SHOWCASE CARD (doctors.php) & ABOUT HERO GRID (hakkimizda.php)
   ========================================================================== */
.doctor-showcase-card {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3.5rem;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid rgba(197, 168, 128, 0.28);
    padding: 2.5rem;
    transition: var(--transition);
}

.doctor-showcase-card.reverse {
    grid-template-columns: 1.6fr 1fr;
}

.doctor-showcase-photo {
    height: 420px;
    overflow: hidden;
    border: 1px solid rgba(197, 168, 128, 0.2);
}

.doctor-showcase-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.doctor-showcase-content {
    display: flex;
    flex-direction: column;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.about-hero-image-wrap {
    border: 1px solid rgba(197, 168, 128, 0.3);
    overflow: hidden;
    height: 460px;
}

.about-hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .doctor-showcase-card,
    .doctor-showcase-card.reverse {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 1.5rem !important;
    }

    .doctor-showcase-card.reverse .doctor-showcase-photo {
        order: -1;
    }

    .doctor-showcase-photo {
        height: 320px !important;
    }

    .about-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        margin-bottom: 3rem !important;
    }

    .about-hero-image-wrap {
        height: 300px !important;
    }
}

/* ==========================================================================
   RTL NUMBER DIRECTION & BIDI ISOLATION (NUMBERS START FROM LEFT)
   ========================================================================== */
[dir="rtl"] .phone-number,
[dir="rtl"] .phone-display,
[dir="rtl"] .tel-link,
[dir="rtl"] .contact-meta p a,
[dir="rtl"] input[type="tel"],
[dir="rtl"] .country-code-select,
[dir="rtl"] .hero-stat-number,
[dir="rtl"] .step-num,
[dir="rtl"] .process-number,
[dir="rtl"] .standard-index,
[dir="rtl"] .info-protocol-step {
    direction: ltr !important;
    unicode-bidi: isolate !important;
    text-align: left;
}

[dir="rtl"] .step-num,
[dir="rtl"] .process-number,
[dir="rtl"] .standard-index,
[dir="rtl"] .info-protocol-step,
[dir="rtl"] .hero-stat-number {
    text-align: center !important;
    display: inline-block;
}

[dir="rtl"] .phone-number {
    display: inline-block;
}

[dir="rtl"] .phone-input-group {
    direction: ltr !important;
}

[dir="rtl"] .phone-input-group .country-code-select {
    direction: ltr !important;
    text-align: left !important;
}

[dir="rtl"] .phone-input-group .form-control {
    direction: ltr !important;
    text-align: left !important;
}




