/* ==========================================================================
   MAIN STYLESHEET — Op. Dr. Alper Tuncel V5
   Atelier Noir — Dark Luxury Medical

   Fonts are loaded via <link> tags in header.php for non-blocking paint.
   ========================================================================== */

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background-color: var(--color-dark);
    /* Prevent iOS Safari from auto-inflating text on orientation change */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: var(--weight-light);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--color-white-60);
    background-color: var(--color-dark);
    overflow-x: hidden;
    /* Typography polish: enable common ligatures, contextual alternates, kerning */
    font-feature-settings: "kern" 1, "liga" 1, "clig" 1, "calt" 1;
    font-kerning: normal;
    font-variant-ligatures: common-ligatures contextual;
    /* Ensure numbers align properly in forms, tables, lists */
    font-variant-numeric: lining-nums proportional-nums;
}

/* Headings get tighter kerning + proper optical spacing */
h1, h2, h3, h4, h5, h6 {
    font-feature-settings: "kern" 1, "liga" 1, "dlig" 1, "calt" 1;
    font-kerning: normal;
    font-variant-ligatures: common-ligatures discretionary-ligatures contextual;
    text-wrap: balance; /* Modern browsers: balance heading line breaks */
}

/* Body paragraphs get pretty-wrap for better readability */
p {
    text-wrap: pretty;
}

/* Tabular figures for numeric UI: prices, counters, times, form inputs */
input[type="tel"],
input[type="number"],
input[type="email"],
.tabular-nums,
time,
.price,
.counter {
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
}

/* Grain texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

::selection { background-color: var(--color-gold); color: var(--color-dark); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; background: none; border: none; }
button { cursor: pointer; }

/* ==========================================================================
   FOCUS VISIBILITY — WCAG 2.4.7 (Keyboard Accessibility)
   Hide the default outline only when the user is NOT keyboard-navigating,
   and draw a visible gold ring whenever focus is triggered via keyboard.
   ========================================================================== */
:focus { outline: none; }
:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 3px;
    border-radius: 2px;
    box-shadow: 0 0 0 4px rgba(184, 149, 106, 0.15);
}
.theme-light :focus-visible,
.theme-stone :focus-visible {
    outline-color: var(--color-gold-ink);
    box-shadow: 0 0 0 4px rgba(122, 95, 48, 0.18);
}
/* Skip-link (hidden by default, visible on focus) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    padding: 12px 20px;
    background: var(--color-dark);
    color: var(--color-gold);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    border: 1px solid var(--color-gold);
    z-index: var(--z-loader);
    transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus {
    top: 16px;
    outline: none;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important; height: 1px !important;
    padding: 0 !important; margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important; border: 0 !important;
}

/* ==========================================================================
   SECTION THEMES
   ========================================================================== */

.theme-dark {
    background-color: var(--color-dark);
    color: var(--color-white-60);
}
.theme-dark h1, .theme-dark h2, .theme-dark h3, .theme-dark h4 { color: var(--color-white); }

.theme-light {
    background-color: var(--color-warm-white);
    color: var(--color-dark-muted);
}
.theme-light h1, .theme-light h2, .theme-light h3, .theme-light h4 { color: var(--color-dark); }

.theme-stone {
    background-color: var(--color-stone);
    color: var(--color-dark-muted);
}
.theme-stone h1, .theme-stone h2, .theme-stone h3, .theme-stone h4 { color: var(--color-dark); }

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--weight-regular);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
}

.text-4xl { font-size: var(--text-4xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-xl  { font-size: var(--text-xl); }
.text-lg  { font-size: var(--text-lg); }
.text-md  { font-size: var(--text-md); }
.text-sm  { font-size: var(--text-sm); }
.text-xs  { font-size: var(--text-xs); }

.text-serif { font-family: var(--font-display); }
.text-gold  { color: var(--color-gold); }

.label {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    color: var(--color-gold);
}

.theme-light .label,
.theme-stone .label {
    color: var(--color-gold-ink);
}

/* ==========================================================================
   ACCESSIBILITY — Gold text on light backgrounds (WCAG AA)
   Gold at #B8956A fails contrast (2.75:1) on white, so switch to the
   darker --color-gold-ink (5:1+) whenever it appears on a light theme.
   (.btn-outline already uses --color-dark on light themes — see below.)
   ========================================================================== */
.theme-light .text-gold,
.theme-stone .text-gold,
.theme-light a.text-gold,
.theme-stone a.text-gold {
    color: var(--color-gold-ink);
}

.theme-light .btn-text,
.theme-stone .btn-text {
    color: var(--color-gold-ink);
}

.theme-light .btn-text:hover,
.theme-stone .btn-text:hover {
    color: var(--color-gold-dark);
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container      { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { max-width: var(--container-wide); }
.container-text { max-width: var(--container-text); margin: 0 auto; }

.section { padding: var(--sp-20) 0; position: relative; }
.section-lg { padding: var(--sp-24) 0; position: relative; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); }

@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PAGE HERO (Inner Pages)
   ========================================================================== */

.page-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 0 60px;
    background: var(--color-dark);
    overflow: hidden;
}

.page-hero__glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 700px; height: 400px;
    background: radial-gradient(ellipse, rgba(184, 149, 106, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero__breadcrumb {
    margin-bottom: 28px;
}

.page-hero__breadcrumb ol {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0; margin: 0;
    gap: 0;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: var(--weight-regular);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.page-hero__breadcrumb li {
    display: flex;
    align-items: center;
    color: var(--color-white-40);
}

.page-hero__breadcrumb li + li::before {
    content: '/';
    margin: 0 12px;
    color: var(--color-white-20);
}

.page-hero__breadcrumb a {
    color: var(--color-white-40);
    transition: color var(--dur-fast) var(--ease-out);
}

.page-hero__breadcrumb a:hover {
    color: var(--color-gold);
}

.page-hero__breadcrumb li.current {
    color: var(--color-gold);
    font-weight: var(--weight-medium);
}

.page-hero__title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: var(--weight-regular);
    color: var(--color-white);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    margin-bottom: 20px;
}

.page-hero__subtitle {
    max-width: 620px;
    margin: 0 auto;
    padding: 0 var(--gutter);
    font-size: var(--text-md);
    font-weight: var(--weight-light);
    color: var(--color-white-60);
    line-height: var(--leading-relaxed);
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 260px;
        padding: 120px 0 48px;
    }
    .page-hero__title {
        font-size: var(--text-2xl);
    }
    .page-hero__subtitle {
        font-size: var(--text-base);
    }
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-sticky);
    padding: var(--sp-6) 0;
    transition: padding var(--dur-base) var(--ease-dramatic),
                background-color var(--dur-base) var(--ease-dramatic),
                border-color var(--dur-base) var(--ease-dramatic);
    border-bottom: 1px solid transparent;
    background: transparent;
}

.site-header.scrolled {
    padding: var(--sp-4) 0;
    background: rgba(11, 10, 9, 0.88);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom-color: var(--color-white-05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    z-index: var(--z-overlay);
    color: var(--color-white);
    text-decoration: none;
}
.logo__svg {
    height: 52px;
    width: 100px;
    object-fit: cover;
    object-position: left center;
    transition: opacity var(--dur-base) var(--ease-out);
    flex-shrink: 0;
}
.logo:hover .logo__svg { opacity: 0.8; }
.logo__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    white-space: nowrap;
}
.logo__name {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: var(--weight-medium);
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: var(--color-white);
}
.logo__title {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: var(--weight-regular);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--color-gold);
    opacity: 0.85;
    line-height: 1.3;
}

/* Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: var(--sp-8);
}

.nav-list {
    display: flex;
    gap: var(--sp-6);
}

.nav-link {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: var(--weight-regular);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-white-40);
    transition: color var(--dur-base) var(--ease-out);
    position: relative;
    padding: var(--sp-2) 0;
}
.nav-link:hover,
.nav-link.active { color: var(--color-white-80); }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--dur-slow) var(--ease-dramatic);
}
.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Header CTA */
.btn-header {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    font-size: 12px;
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--color-gold);
    border: 1px solid rgba(184, 149, 106, 0.35);
    border-radius: var(--radius);
    transition: all var(--dur-base) var(--ease-out);
    position: relative;
    overflow: hidden;
}
.btn-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-base) var(--ease-dramatic);
    z-index: -1;
}
.btn-header:hover {
    color: var(--color-dark);
    border-color: var(--color-gold);
}
.btn-header:hover::before {
    transform: scaleX(1);
}

/* Hamburger */
.menu-toggle {
    display: none;
    width: 26px; height: 16px;
    position: relative;
    z-index: var(--z-overlay);
}
.menu-toggle__bar {
    position: absolute; left: 0;
    width: 100%; height: 1px;
    background: var(--color-white);
    transition: all var(--dur-base) var(--ease-dramatic);
}
.menu-toggle__bar:nth-child(1) { top: 0; }
.menu-toggle__bar:nth-child(2) { top: 50%; transform: translateY(-50%); width: 70%; }
.menu-toggle__bar:nth-child(3) { bottom: 0; width: 40%; }

.menu-toggle.active .menu-toggle__bar:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.menu-toggle.active .menu-toggle__bar:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.menu-toggle.active .menu-toggle__bar:nth-child(3) { bottom: auto; top: 50%; width: 100%; transform: translateY(-50%) rotate(-45deg); }

/* ==========================================================================
   LANGUAGE SWITCHER — Refined dropdown
   ========================================================================== */
.header-lang-switcher {
    position: relative;
    flex-shrink: 0;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid var(--color-white-20);
    border-radius: 999px;
    color: var(--color-white-80);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: var(--weight-medium);
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color var(--dur-base) var(--ease-out),
                color var(--dur-base) var(--ease-out),
                background-color var(--dur-base) var(--ease-out);
}
.lang-toggle:hover,
.lang-toggle[aria-expanded="true"] {
    border-color: var(--color-gold);
    color: var(--color-gold);
}
.lang-toggle svg {
    transition: transform var(--dur-base) var(--ease-out);
}
.lang-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 180px;
    padding: 8px;
    margin: 0;
    list-style: none;
    background: rgba(16, 15, 13, 0.96);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid var(--color-white-10);
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur-base) var(--ease-dramatic),
                visibility var(--dur-base) var(--ease-dramatic),
                transform var(--dur-base) var(--ease-dramatic);
    z-index: var(--z-overlay);
}
.header-lang-switcher.is-open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

.lang-dropdown li { list-style: none; }

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: calc(var(--radius) - 2px);
    color: var(--color-white-60);
    font-family: var(--font-body);
    font-size: 13px;
    text-decoration: none;
    transition: background-color var(--dur-base) var(--ease-out),
                color var(--dur-base) var(--ease-out);
}
.lang-option:hover {
    background: var(--color-white-05);
    color: var(--color-white);
}
.lang-option.is-active {
    color: var(--color-gold);
    background: rgba(184, 149, 106, 0.08);
}
.lang-option__code {
    font-size: 10px;
    font-weight: var(--weight-medium);
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    min-width: 22px;
    color: var(--color-gold);
    opacity: 0.85;
}
.lang-option__name {
    font-size: 13px;
    font-weight: var(--weight-regular);
}

/* Mobile nav */
@media (max-width: 1024px) {
    .menu-toggle { display: block; }
    .logo__text { display: none; }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh; /* dynamic viewport — avoids iOS Safari bottom bar jump */
        background: var(--color-dark);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: var(--sp-3);
        padding: 90px var(--sp-6) var(--sp-5);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 90;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity var(--dur-base) var(--ease-dramatic), visibility var(--dur-base) var(--ease-dramatic);
    }
    .main-nav.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .main-nav::before {
        content: '';
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        width: 1px; height: 0;
        background: linear-gradient(to bottom, transparent, var(--color-gold-subtle), transparent);
        transition: height var(--dur-cinematic) var(--ease-dramatic);
        pointer-events: none;
    }
    .main-nav.open::before { height: 60%; }

    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: var(--sp-3);
        margin: 0;
        padding: 0;
    }
    .nav-link {
        font-size: var(--text-lg);
        font-family: var(--font-display);
        text-transform: none;
        letter-spacing: 0.01em;
        color: var(--color-white-60);
        font-weight: var(--weight-light);
        padding: 6px 0;
        display: inline-block;
    }
    .nav-link:hover, .nav-link.active { color: var(--color-white); }

    .header-cta {
        margin-top: var(--sp-4);
        order: 4;
    }

    .btn-header {
        font-size: 11px;
        padding: 14px 36px;
    }

    /* -------- Language switcher inside mobile drawer --------
       Appears below nav items as an elegant pill row with gold-accented active state. */
    .header-lang-switcher {
        order: 3;
        margin-top: var(--sp-5);
        padding-top: var(--sp-4);
        width: 100%;
        max-width: 340px;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }
    /* Hairline gold divider above the lang switcher */
    .header-lang-switcher::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
        opacity: 0.6;
    }
    .lang-toggle { display: none; } /* No dropdown trigger on mobile — show inline pills */
    .lang-dropdown {
        position: static;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 0;
        margin: 0;
        min-width: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        list-style: none;
    }
    .lang-dropdown li {
        list-style: none;
        margin: 0;
    }
    .lang-option {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 10px 18px;
        min-width: 62px;
        border: 1px solid var(--color-white-20);
        border-radius: 999px;
        font-size: 12px;
        font-family: var(--font-body);
        color: var(--color-white-60);
        background: var(--color-white-05);
        transition: all var(--dur-fast) var(--ease-out);
    }
    .lang-option:hover {
        border-color: var(--color-gold);
        color: var(--color-white);
        background: rgba(184, 149, 106, 0.08);
    }
    .lang-option.is-active {
        border-color: var(--color-gold);
        background: rgba(184, 149, 106, 0.15);
        color: var(--color-gold);
    }
    .lang-option__code {
        font-size: 11px;
        font-weight: var(--weight-semibold);
        letter-spacing: 0.1em;
        color: inherit;
        opacity: 1;
        min-width: 0;
    }
    .lang-option__name { display: none; } /* Compact: code only on mobile */
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 17px 40px;
    background: var(--color-gold);
    color: var(--color-dark);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    border-radius: var(--radius);
    transition: all var(--dur-base) var(--ease-dramatic);
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.2) 45%, rgba(232,217,184,0.3) 50%, rgba(255,255,255,0.2) 55%, transparent 70%);
    transform: translateX(-100%);
    transition: transform var(--dur-slow) var(--ease-out);
}
.btn-primary:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(184, 149, 106, 0.25), 0 0 60px rgba(184, 149, 106, 0.08);
}
.btn-primary:hover::after {
    transform: translateX(100%);
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 17px 40px;
    background: var(--color-dark);
    color: var(--color-white-80);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    border-radius: var(--radius);
    border: 1px solid var(--color-white-10);
    transition: all var(--dur-base) var(--ease-dramatic);
}
.btn-dark:hover {
    background: var(--color-dark-elevated);
    color: var(--color-gold);
    border-color: rgba(184, 149, 106, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 17px 40px;
    background: transparent;
    color: var(--color-white-80);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: var(--weight-regular);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    border: 1px solid var(--color-white-20);
    border-radius: var(--radius);
    transition: all var(--dur-base) var(--ease-out);
}
.btn-outline:hover {
    border-color: var(--color-white-60);
    color: var(--color-white);
    background: var(--color-white-05);
}

.theme-light .btn-outline,
.theme-stone .btn-outline {
    color: var(--color-dark);
    border-color: rgba(11, 10, 9, 0.15);
}
.theme-light .btn-outline:hover,
.theme-stone .btn-outline:hover {
    border-color: rgba(11, 10, 9, 0.4);
    color: var(--color-dark);
    background: rgba(11, 10, 9, 0.03);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: var(--text-sm);
    font-weight: var(--weight-regular);
    color: var(--color-gold);
    letter-spacing: var(--tracking-wide);
    transition: gap var(--dur-base) var(--ease-dramatic), color var(--dur-fast) var(--ease-out);
}
.btn-text:hover { gap: 16px; color: var(--color-gold-light); }
.btn-text svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background: var(--color-dark);
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent 10%, rgba(184, 149, 106, 0.1) 35%, rgba(232, 217, 184, 0.18) 50%, rgba(184, 149, 106, 0.1) 65%, transparent 90%) 1;
    padding: var(--sp-16) 0 var(--sp-8);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -1px; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 1px;
    background: var(--gradient-gold-foil);
    background-size: 200% auto;
    animation: foil-shimmer-subtle 8s linear infinite;
    opacity: 0.5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--sp-10);
    margin-bottom: var(--sp-12);
}

.footer-nav-title {
    font-size: 10px;
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    color: var(--color-white-40);
    margin-bottom: var(--sp-5);
}

.footer-nav-link {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--weight-light);
    color: var(--color-white-40);
    padding: var(--sp-2) 0;
    transition: color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.footer-nav-link:hover {
    color: var(--color-white-80);
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: var(--border-light);
    padding-top: var(--sp-6);
}

.footer-copy {
    font-size: var(--text-xs);
    color: var(--color-white-20);
    letter-spacing: 0.02em;
}

.footer-social {
    display: flex;
    gap: var(--sp-5);
}
.footer-social a {
    color: var(--color-white-20);
    transition: color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.footer-social a:hover {
    color: var(--color-gold);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--sp-8);
    }
    .footer-bottom {
        flex-direction: column;
        gap: var(--sp-4);
        text-align: center;
    }
}

/* ==========================================================================
   MOBILE STICKY CTA
   ========================================================================== */

.mobile-cta {
    display: none;
}

@media (max-width: 768px) {
    .mobile-cta {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        z-index: var(--z-sticky);
        transform: translateY(100%);
        transition: transform var(--dur-base) var(--ease-dramatic);
        box-shadow: 0 -2px 24px rgba(0, 0, 0, 0.3);
    }
    .mobile-cta.visible { transform: translateY(0); }

    .mobile-cta__btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 60px;
        font-family: var(--font-body);
        font-size: 10px;
        font-weight: var(--weight-medium);
        text-transform: uppercase;
        letter-spacing: var(--tracking-widest);
        text-align: center;
        border: none;
        transition: background var(--dur-fast) var(--ease-out);
    }
    .mobile-cta__btn--primary {
        background: var(--color-dark);
        color: var(--color-gold);
        border-top: 1px solid rgba(184, 149, 106, 0.25);
    }
    .mobile-cta__btn--primary:hover { background: var(--color-dark-elevated); }

    .mobile-cta__btn--secondary {
        background: var(--color-dark-elevated);
        color: var(--color-white-40);
        border-top: 1px solid var(--color-white-05);
    }

    .mobile-cta__btn svg { width: 16px; height: 16px; }

    body { padding-bottom: 60px; }
}

@media (max-width: 428px) {
    .mobile-cta__btn { height: 54px; gap: 6px; font-size: 9px; }
    body { padding-bottom: 54px; }
    .container { padding: 0 1rem; }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

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

.flex            { display: flex; }
.flex-col        { flex-direction: column; }
.flex-wrap       { flex-wrap: wrap; }
.items-center    { align-items: center; }
.items-start     { align-items: flex-start; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2  { gap: var(--sp-2); }
.gap-3  { gap: var(--sp-3); }
.gap-4  { gap: var(--sp-4); }
.gap-5  { gap: var(--sp-5); }
.gap-6  { gap: var(--sp-6); }
.gap-8  { gap: var(--sp-8); }
.shrink-0 { flex-shrink: 0; }
.w-full  { width: 100%; }

.grid { display: grid; }

.mt-1  { margin-top: var(--sp-1); }
.mt-2  { margin-top: var(--sp-2); }
.mt-3  { margin-top: var(--sp-3); }
.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }
.mt-10 { margin-top: var(--sp-10); }
.mt-12 { margin-top: var(--sp-12); }

.mb-2  { margin-bottom: var(--sp-2); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-6  { margin-bottom: var(--sp-6); }
.mb-8  { margin-bottom: var(--sp-8); }
.mb-12 { margin-bottom: var(--sp-12); }
.mb-20 { margin-bottom: var(--sp-20); }

.pt-6  { padding-top: var(--sp-6); }
.pt-10 { padding-top: var(--sp-10); }
.pb-6  { padding-bottom: var(--sp-6); }
.pb-20 { padding-bottom: var(--sp-20); }
.p-6   { padding: var(--sp-6); }
.p-8   { padding: var(--sp-8); }
.p-12  { padding: var(--sp-12); }

.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.overflow-hidden { overflow: hidden; }

.border-b       { border-bottom: var(--border-dark); }
.border-ink-5   { border-color: var(--color-ink-05); }
.border-ink-10  { border-color: var(--color-ink-10); }

.bg-white    { background-color: var(--color-white); }
.bg-cream    { background-color: var(--color-cream); }
.bg-stone-50 { background-color: var(--color-warm-white); }

.text-ink-60 { color: var(--color-ink-60); }
.text-ink-80 { color: var(--color-ink-80); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.leading-relaxed { line-height: var(--leading-relaxed); }

.transition-colors { transition: color var(--dur-fast) var(--ease-out); }

.block  { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.hidden { display: none !important; }
.underline { text-decoration: underline; }

.font-medium { font-weight: var(--weight-medium); }
.font-bold   { font-weight: 700; }

.max-w-lg  { max-width: 32rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.-mt-1 { margin-top: -0.25rem; }

.text-white { color: var(--color-white); }
.text-ink { color: var(--color-ink); }

.border   { border: 1px solid var(--color-ink-10); }
.border-t { border-top: 1px solid var(--color-ink-05); }
.rounded-full { border-radius: var(--radius-full); }

/* ==========================================================================
   CONTENT PROSE (for blog/service detail pages)
   ========================================================================== */

.content-prose {
    font-size: var(--text-md);
    line-height: var(--leading-relaxed);
    color: var(--color-ink-80);
    font-weight: var(--weight-light);
}

.content-prose h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: var(--weight-regular);
    color: var(--color-dark);
    margin-top: 2.5em;
    margin-bottom: 0.8em;
    line-height: var(--leading-snug);
}

.content-prose h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: var(--weight-regular);
    color: var(--color-dark);
    margin-top: 2em;
    margin-bottom: 0.6em;
}

.content-prose p {
    margin-bottom: 1.6em;
}

.content-prose ul,
.content-prose ol {
    list-style: none;
    padding: 0;
    margin-bottom: 1.6em;
}

.content-prose ul li {
    position: relative;
    padding-left: 1.6em;
    margin-bottom: 0.5em;
}

.content-prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-gold);
}

.content-prose ol {
    counter-reset: prose-ol;
}

.content-prose ol li {
    counter-increment: prose-ol;
    position: relative;
    padding-left: 2em;
    margin-bottom: 0.5em;
}

.content-prose ol li::before {
    content: counter(prose-ol) '.';
    position: absolute;
    left: 0;
    color: var(--color-gold-ink);
    font-weight: var(--weight-medium);
}

.content-prose strong {
    font-weight: var(--weight-medium);
    color: var(--color-dark);
}

.content-prose em {
    font-style: italic;
}

.content-prose blockquote {
    border-left: 2px solid var(--color-gold-ink);
    padding: var(--sp-4) var(--sp-6);
    margin: var(--sp-8) 0;
    background: var(--color-gold-glow);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-style: italic;
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--color-ink-80);
}

.content-prose img {
    border-radius: var(--radius-lg);
    margin: var(--sp-8) 0;
}

.content-prose a {
    color: var(--color-gold-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--dur-fast) var(--ease-out);
}

.content-prose a:hover {
    color: var(--color-gold-dark);
}

/* ==========================================================================
   ABOUT PAGE (hakkimda.php)
   ========================================================================== */

.about-layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 56px;
    align-items: start;
}

.about-sidebar {
    position: sticky;
    top: 120px;
}

.about-photo {
    width: 100%;
    border-radius: var(--radius-lg);
    aspect-ratio: 3/4;
    object-fit: cover;
}

.about-lang-card {
    margin-top: var(--sp-6);
    padding: var(--sp-5);
    background: var(--color-cream);
    border-radius: var(--radius-lg);
}

.about-lang-card .label {
    display: block;
    margin-bottom: var(--sp-3);
}

.about-lang-item {
    font-size: var(--text-sm);
    color: var(--color-dark-muted);
    margin-bottom: var(--sp-1);
}

.about-bio-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: var(--weight-light);
    margin-top: var(--sp-3);
    margin-bottom: var(--sp-6);
    line-height: var(--leading-snug);
}

.about-bio-text {
    white-space: pre-wrap;
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-dark-muted);
    font-weight: var(--weight-light);
}

.about-section {
    margin-top: var(--sp-12);
}

.about-section--sm {
    margin-top: var(--sp-10);
}

.about-edu-list {
    margin-top: var(--sp-5);
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.about-edu-item {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    padding-bottom: var(--sp-4);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.about-edu-item::before {
    content: '';
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--color-gold);
    flex-shrink: 0;
}

.about-edu-item span {
    font-size: var(--text-base);
    color: var(--color-dark);
    font-weight: var(--weight-regular);
}

.about-experience {
    margin-top: var(--sp-4);
    font-size: var(--text-lg);
    font-family: var(--font-display);
    font-weight: var(--weight-light);
    color: var(--color-dark);
    line-height: var(--leading-relaxed);
}

.about-thesis {
    margin-top: var(--sp-4);
    font-size: var(--text-sm);
    font-style: italic;
    color: var(--color-dark-muted);
    line-height: var(--leading-relaxed);
}

.about-actions {
    margin-top: var(--sp-12);
    display: flex;
    gap: var(--sp-4);
}

@media (max-width: 1024px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: var(--sp-8);
    }
    .about-sidebar {
        position: static;
        max-width: 500px;
    }
}

/* ==========================================================================
   ABOUT PAGE — Extended Sections (Philosophy, Journey, Press)
   ========================================================================== */

/* -------- Philosophy Section -------- */
.about-philosophy {
    position: relative;
    overflow: hidden;
}
.about-philosophy::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(184, 149, 106, 0.08), transparent 70%);
    pointer-events: none;
}
.about-philosophy__grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: var(--sp-12);
    align-items: center;
    position: relative;
    z-index: 1;
}
.about-philosophy__image {
    position: relative;
    aspect-ratio: 4/5;
}
.about-philosophy__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    filter: saturate(0.92);
}
.about-philosophy__frame {
    position: absolute;
    inset: -12px -12px auto auto;
    width: 60%;
    height: 60%;
    border-top: 1px solid var(--color-gold);
    border-right: 1px solid var(--color-gold);
    opacity: 0.7;
    pointer-events: none;
}
.about-philosophy__content .label {
    display: block;
    margin-bottom: var(--sp-3);
}
.about-philosophy__title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: var(--weight-light);
    line-height: var(--leading-snug);
    color: var(--color-white);
    margin-bottom: var(--sp-6);
    letter-spacing: var(--tracking-tight);
}
.about-philosophy__text {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-white-60);
    font-weight: var(--weight-light);
    margin-bottom: var(--sp-4);
}
.about-philosophy__quote {
    margin-top: var(--sp-6);
    padding-left: var(--sp-6);
    border-left: 1px solid var(--color-gold);
    font-family: var(--font-display);
    font-style: italic;
    font-size: var(--text-lg);
    color: var(--color-white-80);
    line-height: var(--leading-snug);
    position: relative;
}
.about-philosophy__quote-mark {
    position: absolute;
    left: 8px;
    top: -16px;
    font-size: 3em;
    color: var(--color-gold);
    opacity: 0.4;
    font-family: var(--font-display);
    line-height: 1;
    pointer-events: none;
}

/* -------- Journey / Signature Moments -------- */
.about-journey__header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--sp-12);
}
.about-journey__header .label {
    display: inline-block;
    margin-bottom: var(--sp-3);
}
.about-journey__title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: var(--weight-light);
    line-height: var(--leading-snug);
    margin-bottom: var(--sp-4);
    color: var(--color-dark);
    letter-spacing: var(--tracking-tight);
}
.about-journey__subtitle {
    font-size: var(--text-base);
    color: var(--color-dark-muted);
    line-height: var(--leading-relaxed);
    font-weight: var(--weight-light);
}
.about-journey__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-5);
}
.about-journey__card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
    margin: 0;
    display: flex;
    flex-direction: column;
}
.about-journey__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.about-journey__card-image {
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
}
.about-journey__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease-out);
}
.about-journey__card:hover .about-journey__card-image img {
    transform: scale(1.04);
}
.about-journey__card-body {
    padding: var(--sp-5) var(--sp-5) var(--sp-6);
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    flex: 1;
}
.about-journey__card-num {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--color-gold);
    font-weight: var(--weight-light);
    letter-spacing: 0.02em;
    line-height: 1;
}
.about-journey__card-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: var(--weight-regular);
    line-height: var(--leading-snug);
    color: var(--color-dark);
    margin: 0;
}
.about-journey__card-text {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-dark-muted);
    font-weight: var(--weight-light);
    margin: 0;
}

/* -------- About Extended Sections: Responsive -------- */
@media (max-width: 1024px) {
    .about-philosophy__grid {
        grid-template-columns: 1fr;
        gap: var(--sp-8);
    }
    .about-philosophy__image {
        max-width: 480px;
        margin: 0 auto;
        aspect-ratio: 4/5;
    }
    .about-journey__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .about-journey__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CONTACT PAGE (iletisim.php)
   ========================================================================== */

.contact-layout {
    display: grid;
    /* minmax(0, 1fr) prevents grid items from forcing intrinsic content-width
       overflow on mobile (fixes h2/long text pushing column past container). */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
}

.contact-card {
    padding: var(--sp-12);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-ink-05);
    min-width: 0;
}

.contact-card h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--sp-8);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
    font-size: var(--text-lg);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-4);
}

.contact-info-item svg {
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--color-ink);
}

.contact-info-item strong {
    display: block;
    margin-bottom: var(--sp-1);
}

.contact-info-item a {
    color: var(--color-ink-60);
    transition: color var(--dur-fast) var(--ease-out);
}

.contact-info-item a:hover {
    color: var(--color-ink);
}

.map-card h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--sp-6);
}

.map-frame {
    background: var(--color-white);
    padding: 8px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    height: 400px;
}

.map-frame iframe {
    border: 0;
    border-radius: var(--radius-lg);
    width: 100%;
    height: 100%;
}

.work-hours {
    margin-top: var(--sp-8);
}

.work-hours h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--sp-4);
}

.work-hours-list {
    color: var(--color-ink-60);
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.work-hours-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-ink-05);
    padding-bottom: var(--sp-2);
}

@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--sp-8);
    }
}

@media (max-width: 768px) {
    .contact-layout {
        gap: var(--sp-6);
    }
    .contact-card {
        padding: var(--sp-6);
        border-radius: var(--radius-lg);
    }
    .contact-card h2 {
        font-size: var(--text-2xl);
        margin-bottom: var(--sp-5);
    }
    .contact-info-list {
        font-size: var(--text-base);
        gap: var(--sp-5);
    }
    .map-frame {
        height: 280px;
        padding: 6px;
    }
    .map-card h3,
    .work-hours h3 {
        font-size: var(--text-lg);
    }
}

@media (max-width: 420px) {
    .contact-card {
        padding: var(--sp-5);
    }
    .contact-card h2 {
        font-size: var(--text-xl);
    }
    .contact-info-list {
        font-size: var(--text-sm);
    }
    .contact-info-item {
        gap: var(--sp-3);
    }
    .map-frame {
        height: 240px;
    }
}

/* ==========================================================================
   SERVICE HERO — Cinematic Integrated Image (tedavi-detay.php)
   ========================================================================== */

.service-hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--color-dark);
    padding-bottom: var(--sp-12);
}

.service-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.service-hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.35) contrast(1.08) saturate(0.85);
    transform: scale(1.02);
    transition: transform 15s linear;
}

.service-hero:hover .service-hero__bg-img {
    transform: scale(1.06);
}

.service-hero__scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11,10,9,0.3) 0%, rgba(11,10,9,0.15) 30%, rgba(11,10,9,0.6) 65%, rgba(11,10,9,0.95) 100%),
        linear-gradient(90deg, rgba(11,10,9,0.4) 0%, transparent 50%);
    z-index: 1;
}

.service-hero__glow {
    position: absolute;
    bottom: 20%;
    left: 30%;
    width: 400px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(184, 149, 106, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
}

.service-hero .container {
    position: relative;
    z-index: 4;
    padding-top: var(--sp-24);
}

/* Breadcrumb inside service hero */
.service-hero__breadcrumb ol {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: var(--sp-6);
    list-style: none;
    padding: 0;
}

.service-hero__breadcrumb li {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-white-20);
}

.service-hero__breadcrumb li a {
    color: var(--color-white-40);
    transition: color var(--dur-fast) var(--ease-out);
}

.service-hero__breadcrumb li a:hover {
    color: var(--color-gold);
}

.service-hero__breadcrumb li + li::before {
    content: '/';
    margin-right: 8px;
    color: var(--color-white-10);
}

.service-hero__content {
    max-width: 720px;
}

.service-hero__category {
    display: inline-block;
    font-size: 10px;
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    color: var(--color-gold);
    margin-bottom: var(--sp-4);
    padding: 4px 12px;
    border: 1px solid rgba(184, 149, 106, 0.2);
    border-radius: 1px;
}

.service-hero__title {
    font-size: var(--text-4xl);
    font-weight: var(--weight-light);
    color: var(--color-white);
    margin-bottom: var(--sp-4);
    letter-spacing: -0.02em;
    line-height: var(--leading-tight);
}

.service-hero__subtitle {
    font-size: var(--text-lg);
    font-weight: var(--weight-light);
    color: var(--color-white-40);
    max-width: 600px;
    line-height: var(--leading-relaxed);
    margin-bottom: var(--sp-6);
}

/* Quick stats strip */
.service-hero__meta {
    display: flex;
    gap: var(--sp-6);
    padding-top: var(--sp-5);
    border-top: 1px solid var(--color-white-05);
}

.service-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-sm);
    font-weight: var(--weight-light);
    color: var(--color-white-60);
}

.service-hero__meta-item svg {
    color: var(--color-gold);
    opacity: 0.6;
}

/* Bottom gold line */
.service-hero__bottom-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(184, 149, 106, 0.12) 30%, rgba(232, 217, 184, 0.2) 50%, rgba(184, 149, 106, 0.12) 70%, transparent 95%);
    z-index: 5;
}

@media (max-width: 768px) {
    .service-hero { min-height: 45vh; }
    .service-hero__title { font-size: var(--text-2xl); }
    .service-hero__meta { flex-wrap: wrap; gap: var(--sp-4); }
}

@media (max-width: 428px) {
    .service-hero { min-height: 40vh; }
    .service-hero__title { font-size: var(--text-xl); }
    .service-hero__meta { flex-direction: column; gap: var(--sp-3); }
}

/* ==========================================================================
   SERVICE DETAIL LAYOUT
   ========================================================================== */

.service-detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.service-sidebar {
    position: sticky;
    top: 120px;
}

.service-summary-card {
    padding: 0;
    border-radius: var(--radius-lg);
    background: var(--color-dark);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.service-summary-card__head {
    padding: var(--sp-6) var(--sp-6) var(--sp-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
}

.service-summary-card__head::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-gold-foil);
    background-size: 200% auto;
    animation: foil-shimmer-subtle 8s linear infinite;
    opacity: 0.5;
}

.service-summary-card h3 {
    font-size: var(--text-lg);
    font-weight: var(--weight-light);
    color: var(--color-white);
    margin: 0;
    padding: 0;
    border: none;
}

.service-summary-card .summary-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
}

.service-summary-card .summary-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    padding: var(--sp-4) var(--sp-6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background var(--dur-fast) var(--ease-out);
}

.service-summary-card .summary-list li:last-child {
    border-bottom: none;
}

.service-summary-card .summary-list li:hover {
    background: rgba(255, 255, 255, 0.02);
}

.service-summary-card .summary-list svg {
    color: var(--color-gold);
    opacity: 0.5;
    margin-top: 2px;
    flex-shrink: 0;
}

.service-summary-card .summary-list strong {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-white-80);
    margin-bottom: 2px;
}

.service-summary-card .summary-list span {
    font-size: var(--text-sm);
    font-weight: var(--weight-light);
    color: var(--color-white-40);
}

.service-summary-card__actions {
    padding: var(--sp-5) var(--sp-6) var(--sp-6);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.video-container {
    margin-top: var(--sp-12);
    margin-bottom: var(--sp-12);
}

.video-container h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--sp-6);
}

.video-frame {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 1024px) {
    .service-detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .service-sidebar {
        position: static;
    }
}

/* ==========================================================================
   BLOG PAGES
   ========================================================================== */

.blog-filter {
    display: flex;
    gap: 16px;
    margin-bottom: var(--sp-8);
    flex-wrap: wrap;
}

.blog-filter-btn {
    padding: 8px 20px;
    font-size: var(--text-sm);
    font-weight: var(--weight-regular);
    border: 1px solid var(--color-ink-10);
    border-radius: var(--radius-full);
    color: var(--color-ink-60);
    transition: all var(--dur-fast) var(--ease-out);
    cursor: pointer;
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
    border-color: var(--color-gold-ink);
    color: var(--color-gold-ink);
    background: var(--color-gold-subtle);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.blog-empty {
    text-align: center;
    padding: var(--sp-16) var(--sp-8);
    color: var(--color-ink-40);
    font-size: var(--text-lg);
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   BLOG DETAIL — EDITORIAL MEDICAL JOURNAL
   Aesthetic: "Noir Medical Editorial" — Vogue beauty meets The New Yorker
   Full-immersive dark hero + cream editorial body + drop caps + pull quotes
   ========================================================================== */

/* Reading progress bar — fixed top gold fill */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(184, 149, 106, 0.08);
    z-index: calc(var(--z-sticky) + 1);
    pointer-events: none;
}
.reading-progress__bar {
    height: 100%;
    width: 0;
    background: var(--gradient-gold-foil);
    background-size: 200% auto;
    animation: foil-shimmer 10s linear infinite;
    transition: width 120ms linear;
    box-shadow: 0 0 16px rgba(184, 149, 106, 0.5);
}

/* ── HERO ────────────────────────────────────────────────────────── */
.blog-article { position: relative; }

.blog-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: flex-end;
    color: var(--color-white);
    background: var(--color-dark);
    overflow: hidden;
    padding: calc(var(--sp-20) + 60px) 0 var(--sp-16);
}

.blog-hero__image {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.blog-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: saturate(0.85) brightness(0.62);
    transform: scale(1.04);
    animation: hero-ken-burns 20s ease-out forwards;
}
@keyframes hero-ken-burns {
    from { transform: scale(1.04); }
    to   { transform: scale(1.08); }
}

/* Multi-stop dark overlay for dramatic legibility */
.blog-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(11, 10, 9, 0.92) 0%,
            rgba(11, 10, 9, 0.55) 35%,
            rgba(11, 10, 9, 0.70) 70%,
            rgba(11, 10, 9, 0.96) 100%
        );
}

/* Radial vignette on top of the gradient */
.blog-hero__vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(
        ellipse at center,
        transparent 30%,
        rgba(11, 10, 9, 0.55) 100%
    );
    pointer-events: none;
}

/* Decorative gold corner ornaments (large frame) */
.blog-hero__corner {
    position: absolute;
    width: 90px;
    height: 90px;
    z-index: 3;
    pointer-events: none;
    opacity: 0.85;
}
.blog-hero__corner--tl {
    top: calc(var(--sp-10) + 80px);
    left: var(--sp-8);
    border-top: 1px solid var(--color-gold);
    border-left: 1px solid var(--color-gold);
}
.blog-hero__corner--br {
    bottom: var(--sp-8);
    right: var(--sp-8);
    border-bottom: 1px solid var(--color-gold);
    border-right: 1px solid var(--color-gold);
}

.blog-hero__inner {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    padding: 0 var(--gutter);
    text-align: center;
}

.blog-hero__breadcrumb {
    margin-bottom: var(--sp-10);
    animation: editorial-fade-up 900ms var(--ease-dramatic) both;
    animation-delay: 100ms;
}
.blog-hero__breadcrumb ol {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 0;
    margin: 0;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.45);
}
.blog-hero__breadcrumb li { display: inline; }
.blog-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.65);
    transition: color var(--dur-fast) var(--ease-out);
}
.blog-hero__breadcrumb a:hover { color: var(--color-gold); }
.blog-hero__breadcrumb-sep {
    color: var(--color-gold);
    font-size: 14px;
    opacity: 0.6;
}

/* Category — with flanking gold lines (editorial section marker) */
.blog-hero__category {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-bottom: var(--sp-8);
    animation: editorial-fade-up 900ms var(--ease-dramatic) both;
    animation-delay: 200ms;
}
.blog-hero__category-line {
    width: 48px;
    height: 1px;
    background: var(--color-gold);
    opacity: 0.6;
}
.blog-hero__category-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-gold);
}

/* Massive Fraunces title — centrepiece */
.blog-hero__title {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-size: clamp(2.25rem, 1.2rem + 4.8vw, 5.25rem);
    font-weight: 350;
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: var(--color-white);
    margin: 0 auto var(--sp-8);
    max-width: 14ch;
    text-wrap: balance;
    font-feature-settings: "kern" 1, "liga" 1, "dlig" 1, "ss01" 1;
    animation: editorial-fade-up 1100ms var(--ease-dramatic) both;
    animation-delay: 300ms;
}

.blog-hero__lede {
    max-width: 560px;
    margin: 0 auto var(--sp-10);
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1rem, 0.85rem + 0.8vw, 1.375rem);
    font-weight: 300;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: -0.005em;
    animation: editorial-fade-up 1200ms var(--ease-dramatic) both;
    animation-delay: 450ms;
}

/* Editorial meta row — tombstone style */
.blog-hero__meta {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-6);
    padding: var(--sp-4) var(--sp-8);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: editorial-fade-up 1300ms var(--ease-dramatic) both;
    animation-delay: 600ms;
}
.blog-hero__meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: center;
    min-width: 0;
}
.blog-hero__meta-label {
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.4);
}
.blog-hero__meta-value {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-white);
    letter-spacing: -0.005em;
    font-feature-settings: "tnum" 1, "lnum" 1;
}
.blog-hero__meta-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.15);
}

.blog-hero__scroll {
    position: absolute;
    bottom: var(--sp-5);
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 56px;
    overflow: hidden;
    z-index: 5;
    animation: editorial-fade-up 1400ms var(--ease-dramatic) both;
    animation-delay: 800ms;
}
.blog-hero__scroll-line {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--color-gold), transparent);
    animation: scroll-line 2.4s ease-in-out infinite;
}
@keyframes scroll-line {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes editorial-fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── BODY ────────────────────────────────────────────────────────── */
.blog-body {
    background: var(--color-warm-white);
    padding: var(--sp-20) 0 var(--sp-16);
    position: relative;
}

/* Paper-texture backdrop for editorial feel */
.blog-body::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 10%, rgba(184, 149, 106, 0.025) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(184, 149, 106, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.blog-body__inner {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Prose refinements — editorial typography */
.blog-body__prose {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.78;
    color: var(--color-ink-80);
    letter-spacing: -0.003em;
    font-feature-settings: "kern" 1, "liga" 1;
}

/* Drop cap on first paragraph — classic magazine touch.
   Applies to first direct <p>, or first <p> after opening <h2>, to cover
   both WordPress-style content (h2 first) and plain (p first). */
.blog-body__prose > p:first-child::first-letter,
.blog-body__prose > p:first-of-type::first-letter,
.blog-body__prose > h2:first-child + p::first-letter,
.blog-body__prose > h2:first-of-type + p::first-letter,
.blog-body__prose > h3:first-of-type + p::first-letter {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    float: left;
    font-size: 5.5em;
    line-height: 0.82;
    font-weight: 400;
    margin: 0.08em 0.1em -0.05em 0;
    color: var(--color-gold-ink);
    letter-spacing: -0.04em;
    font-feature-settings: "kern" 1, "liga" 1, "dlig" 1, "ss01" 1;
    font-style: normal;
}

.blog-body__prose p {
    margin-bottom: 1.5em;
    text-wrap: pretty;
}

.blog-body__prose h2 {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem);
    font-weight: 450;
    color: var(--color-dark);
    margin: 2.2em 0 0.7em;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-feature-settings: "kern" 1, "liga" 1, "dlig" 1, "ss01" 1;
    position: relative;
    padding-left: 1.2em;
}
.blog-body__prose h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 0.75em;
    height: 2px;
    background: var(--color-gold);
}

.blog-body__prose h3 {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-size: clamp(1.25rem, 1rem + 0.8vw, 1.625rem);
    font-weight: 500;
    color: var(--color-dark);
    margin: 1.8em 0 0.55em;
    line-height: 1.3;
    letter-spacing: -0.015em;
    font-style: italic;
}

.blog-body__prose strong {
    font-weight: 600;
    color: var(--color-dark);
}

.blog-body__prose em {
    font-style: italic;
    color: var(--color-ink-80);
}

.blog-body__prose ul,
.blog-body__prose ol {
    margin: 1.5em 0 1.8em;
    padding-left: 0;
    list-style: none;
}

.blog-body__prose ul li {
    position: relative;
    padding-left: 1.8em;
    margin-bottom: 0.7em;
}
.blog-body__prose ul li::before {
    content: '';
    position: absolute;
    left: 0.35em;
    top: 0.85em;
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    transform: rotate(45deg);
}

.blog-body__prose ol {
    counter-reset: prose-ol;
}
.blog-body__prose ol li {
    counter-increment: prose-ol;
    position: relative;
    padding-left: 2.2em;
    margin-bottom: 0.7em;
}
.blog-body__prose ol li::before {
    content: counter(prose-ol, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0.1em;
    font-family: var(--font-display);
    font-size: 0.95em;
    font-weight: 500;
    color: var(--color-gold-ink);
    letter-spacing: -0.02em;
}

/* Pull quote — dramatic editorial element */
.blog-body__prose blockquote {
    margin: 2.5em -1.5em;
    padding: var(--sp-6) 0 var(--sp-6) var(--sp-8);
    border-left: 3px solid var(--color-gold);
    background: none;
    border-radius: 0;
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
    font-weight: 400;
    line-height: 1.45;
    color: var(--color-dark);
    letter-spacing: -0.015em;
    position: relative;
}
.blog-body__prose blockquote::before {
    content: '"';
    position: absolute;
    left: 8px;
    top: -0.1em;
    font-size: 3em;
    color: var(--color-gold);
    opacity: 0.3;
    line-height: 1;
    font-family: var(--font-display);
}

.blog-body__prose a {
    color: var(--color-gold-ink);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color var(--dur-fast) var(--ease-out);
    font-weight: 500;
}
.blog-body__prose a:hover {
    color: var(--color-gold-dark);
    text-decoration-thickness: 2px;
}

.blog-body__prose img {
    width: 100%;
    margin: 2em 0;
    border-radius: 2px;
}

.blog-body__prose hr {
    border: 0;
    text-align: center;
    margin: 3em 0;
}
.blog-body__prose hr::before {
    content: '◆ ◆ ◆';
    letter-spacing: 1em;
    color: var(--color-gold);
    font-size: 10px;
    opacity: 0.6;
}

/* Signature mark — end of article */
.blog-body__signature {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: var(--sp-12) auto var(--sp-10);
    max-width: 180px;
    justify-content: center;
}
.blog-body__signature-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}
.blog-body__signature-ornament {
    color: var(--color-gold);
    font-size: 14px;
    opacity: 0.8;
}

/* Footer share + disclaimer row */
.blog-body__footer {
    margin-top: var(--sp-10);
    padding-top: var(--sp-8);
    border-top: 1px solid var(--color-ink-10);
}

.blog-body__share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--sp-8);
}
.blog-body__share-label {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-ink-40);
    margin-right: 4px;
}
.blog-body__share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-ink-10);
    color: var(--color-ink-60);
    transition: all var(--dur-fast) var(--ease-out);
}
.blog-body__share-btn:hover {
    border-color: var(--color-gold);
    color: var(--color-gold-ink);
    background: var(--color-gold-subtle);
    transform: translateY(-2px);
}

/* ── AUTHOR CARD ─────────────────────────────────────────────────── */
.blog-author {
    padding: var(--sp-10) 0 var(--sp-16);
    background: var(--color-warm-white);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.blog-author__card {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: var(--sp-8);
    padding: var(--sp-8);
    background: var(--color-white);
    border: 1px solid var(--color-ink-05);
    align-items: center;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.blog-author__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-gold-foil);
    background-size: 200% auto;
    animation: foil-shimmer 10s linear infinite;
}

.blog-author__portrait {
    position: relative;
    aspect-ratio: 4/5;
}
.blog-author__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.95);
}
.blog-author__portrait-frame {
    position: absolute;
    inset: -8px -8px auto auto;
    width: 60%;
    height: 60%;
    border-top: 1px solid var(--color-gold);
    border-right: 1px solid var(--color-gold);
    opacity: 0.6;
    pointer-events: none;
}

.blog-author__label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--color-gold-ink);
    margin-bottom: 8px;
}
.blog-author__name {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-size: clamp(1.5rem, 1.25rem + 0.8vw, 2rem);
    font-weight: 450;
    color: var(--color-dark);
    margin: 0 0 4px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.blog-author__title {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-ink-60);
    margin: 0 0 var(--sp-4);
    letter-spacing: 0.02em;
}
.blog-author__bio {
    font-size: 14px;
    line-height: 1.65;
    color: var(--color-ink-60);
    margin: 0 0 var(--sp-4);
    max-width: 58ch;
}
.blog-author__actions {
    margin-top: var(--sp-3);
}

/* ── RELATED READING ─────────────────────────────────────────────── */
.blog-related {
    padding: var(--sp-16) 0;
    background: var(--color-stone);
    position: relative;
    overflow: hidden;
}

.blog-related__header {
    text-align: center;
    margin-bottom: var(--sp-12);
}
.blog-related__header .label {
    display: inline-block;
    margin-bottom: var(--sp-3);
}
.blog-related__title {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);
    font-weight: 400;
    color: var(--color-dark);
    letter-spacing: -0.02em;
    line-height: 1.15;
    font-feature-settings: "kern" 1, "liga" 1, "dlig" 1, "ss01" 1;
}

.blog-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
}

.blog-related__card {
    background: var(--color-white);
    overflow: hidden;
    transition: all var(--dur-base) var(--ease-out);
    position: relative;
}
.blog-related__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-base) var(--ease-out);
    z-index: 2;
}
.blog-related__card:hover::before { transform: scaleX(1); }
.blog-related__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.blog-related__card-link {
    display: block;
    color: inherit;
}

.blog-related__card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--color-stone);
}
.blog-related__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease-out);
}
.blog-related__card:hover .blog-related__card-image img {
    transform: scale(1.05);
}

.blog-related__card-body {
    padding: var(--sp-5) var(--sp-5) var(--sp-6);
    position: relative;
}
.blog-related__card-category {
    display: block;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--color-gold-ink);
    margin-bottom: 10px;
}
.blog-related__card-title {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-size: 18px;
    font-weight: 500;
    color: var(--color-dark);
    line-height: 1.3;
    letter-spacing: -0.015em;
    margin: 0 0 var(--sp-3);
    padding-right: 32px;
}
.blog-related__card-arrow {
    position: absolute;
    right: var(--sp-5);
    bottom: var(--sp-5);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold-ink);
    opacity: 0;
    transform: translateX(-8px);
    transition: all var(--dur-base) var(--ease-out);
}
.blog-related__card:hover .blog-related__card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ── CONSULTATION CTA ────────────────────────────────────────────── */
.blog-consultation {
    padding: var(--sp-20) 0;
    background: var(--color-dark);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.blog-consultation__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(184, 149, 106, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.blog-consultation > .container {
    position: relative;
    z-index: 1;
}
.blog-consultation .label {
    display: inline-block;
    margin-bottom: var(--sp-3);
}
.blog-consultation__title {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-size: clamp(1.75rem, 1.3rem + 2vw, 3rem);
    font-weight: 350;
    color: var(--color-white);
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin-bottom: var(--sp-5);
    font-feature-settings: "kern" 1, "liga" 1, "dlig" 1, "ss01" 1;
    text-wrap: balance;
}
.blog-consultation__desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-white-60);
    max-width: 560px;
    margin: 0 auto var(--sp-8);
}
.blog-consultation__actions {
    display: inline-flex;
    gap: var(--sp-3);
    flex-wrap: wrap;
    justify-content: center;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .blog-hero { min-height: 78vh; }
    .blog-hero__corner { width: 60px; height: 60px; }
    .blog-related__grid { grid-template-columns: repeat(2, 1fr); }
    .blog-author__card {
        grid-template-columns: 130px 1fr;
        gap: var(--sp-5);
        padding: var(--sp-6);
    }
}

@media (max-width: 768px) {
    .blog-hero {
        min-height: 72vh;
        padding: calc(var(--sp-16) + 60px) 0 var(--sp-12);
    }
    .blog-hero__corner { display: none; }
    .blog-hero__meta {
        flex-direction: column;
        gap: var(--sp-3);
        padding: var(--sp-4) var(--sp-5);
    }
    .blog-hero__meta-divider { display: none; }
    .blog-hero__category {
        gap: 12px;
    }
    .blog-hero__category-line { width: 28px; }

    .blog-body { padding: var(--sp-12) 0 var(--sp-10); }
    .blog-body__prose { font-size: 16px; }
    .blog-body__prose > p:first-of-type::first-letter {
        font-size: 4.5em;
    }
    .blog-body__prose blockquote {
        margin: 2em 0;
    }

    .blog-author__card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .blog-author__portrait {
        max-width: 160px;
        margin: 0 auto;
    }

    .blog-related__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   LEGAL PAGES (kvkk, gizlilik, cerez)
   ========================================================================== */

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--sp-12);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-ink-05);
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: var(--weight-regular);
    color: var(--color-dark);
    margin-top: 2em;
    margin-bottom: 0.6em;
}

.legal-content h3 {
    font-size: var(--text-xl);
    font-weight: var(--weight-regular);
    color: var(--color-dark);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.legal-content p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-ink-60);
    margin-bottom: 1.2em;
}

.legal-content ul li {
    font-size: var(--text-base);
    color: var(--color-ink-60);
    padding: var(--sp-1) 0;
}

.legal-content a {
    color: var(--color-gold-ink);
    text-decoration: underline;
}

/* ==========================================================================
   FAQ PAGE (sss.php)
   ========================================================================== */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    margin-bottom: var(--sp-4);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-ink-05);
    overflow: hidden;
    transition: box-shadow var(--dur-base) var(--ease-out);
}

.faq-item:hover {
    box-shadow: var(--shadow-card);
}

.faq-item.active {
    border-color: var(--color-gold-subtle);
    box-shadow: var(--shadow-card), 0 0 0 1px var(--color-gold-subtle);
}

.faq-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: var(--sp-5) var(--sp-6);
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: var(--weight-regular);
    color: var(--color-dark);
    text-align: left;
    cursor: pointer;
    transition: color var(--dur-fast) var(--ease-out);
}

.faq-trigger:hover {
    color: var(--color-gold-ink);
}

.faq-trigger svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform var(--dur-base) var(--ease-dramatic);
    color: var(--color-ink-40);
}

.faq-item.active .faq-trigger svg {
    transform: rotate(180deg);
    color: var(--color-gold-ink);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--dur-base) var(--ease-dramatic), padding var(--dur-base) var(--ease-dramatic);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 var(--sp-6) var(--sp-5);
    font-size: var(--text-base);
    color: var(--color-ink-60);
    line-height: var(--leading-relaxed);
}

/* ==========================================================================
   KLINIK PAGE
   ========================================================================== */

.clinic-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gutter);
    margin-top: var(--sp-10);
}

.clinic-feature-card {
    background: var(--color-white);
    padding: var(--sp-8);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-ink-05);
    text-align: center;
    transition: all var(--dur-base) var(--ease-dramatic);
}

.clinic-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

.clinic-feature-card svg {
    color: var(--color-gold-ink);
    margin-bottom: var(--sp-4);
}

.clinic-feature-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--sp-3);
}

.clinic-feature-card p {
    font-size: var(--text-sm);
    color: var(--color-ink-60);
    line-height: var(--leading-relaxed);
}

@media (max-width: 768px) {
    .clinic-features {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: var(--z-sticky);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-green-wa);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base) var(--ease-out);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
}

.whatsapp-float__pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--color-green-wa);
    animation: wa-pulse 2s ease-out infinite;
}

@keyframes wa-pulse {
    0%   { opacity: 0.6; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.4); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 80px;
        right: 16px;
        width: 48px;
        height: 48px;
    }
}

/* ==========================================================================
   FORM STYLES
   ========================================================================== */

.form-group {
    margin-bottom: var(--sp-5);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-ink);
    margin-bottom: var(--sp-2);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--sp-3) var(--sp-4);
    font-size: var(--text-base);
    font-weight: var(--weight-light);
    color: var(--color-dark);
    background: var(--color-white);
    border: 1px solid var(--color-ink-10);
    border-radius: var(--radius-md);
    transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--color-gold-ink);
    box-shadow: 0 0 0 3px var(--color-gold-subtle);
}
.form-input:focus:not(:focus-visible),
.form-textarea:focus:not(:focus-visible),
.form-select:focus:not(:focus-visible) {
    outline: none;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================================================
   404 / 500 ERROR PAGES
   ========================================================================== */

.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.error-page__code {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    color: var(--color-gold-ink);
    margin-bottom: var(--sp-4);
}

.error-page__title {
    font-size: var(--text-3xl);
    margin-bottom: var(--sp-6);
}

.error-page__desc {
    color: var(--color-ink-20);
    font-size: var(--text-lg);
    max-width: 480px;
    margin: 0 auto var(--sp-8);
    line-height: var(--leading-relaxed);
}

.error-page__actions {
    display: flex;
    gap: var(--sp-4);
    justify-content: center;
}

/* ==========================================================================
   TIMELINE (hasta-sureci.php)
   ========================================================================== */

.timeline {
    position: relative;
    padding-left: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        var(--color-gold),
        var(--color-ink-10) 30%,
        var(--color-ink-10) 70%,
        var(--color-gold)
    );
}

.timeline-item {
    display: flex;
    gap: var(--sp-8);
    margin-bottom: var(--sp-12);
    position: relative;
}

.timeline-marker {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-dark);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: var(--weight-medium);
    z-index: 1;
    border: 2px solid var(--color-gold);
    transition: all var(--dur-base) var(--ease-out);
}

.timeline-item:hover .timeline-marker {
    background: var(--color-gold);
    color: var(--color-dark);
    transform: scale(1.1);
}

.timeline-content {
    flex: 1;
    min-width: 0;
}

.timeline-content h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--sp-3);
    color: var(--color-dark);
}

.timeline-content p {
    font-size: var(--text-base);
    color: var(--color-ink-60);
    line-height: var(--leading-relaxed);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    .timeline-item {
        gap: var(--sp-5);
        margin-bottom: var(--sp-8);
    }
    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: var(--text-lg);
    }
}

/* ==========================================================================
   SECTION VARIANTS
   ========================================================================== */

.section--subtle {
    background: var(--color-warm-white);
}

/* -- Why Us Cards (homepage) -- */
.why-us__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gutter);
    margin-top: var(--sp-10);
}

.why-card {
    padding: var(--sp-8);
    border-left: 2px solid var(--color-gold-ink);
    background: var(--color-white);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    transition: all var(--dur-base) var(--ease-dramatic);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.why-card__icon {
    width: 40px;
    height: 40px;
    color: var(--color-gold-ink);
    margin-bottom: var(--sp-5);
}

.why-card__icon svg {
    width: 100%;
    height: 100%;
}

.why-card__title {
    font-size: var(--text-xl);
    font-weight: var(--weight-regular);
    margin-bottom: var(--sp-3);
    color: var(--color-dark);
}

.why-card__desc {
    font-size: var(--text-sm);
    color: var(--color-ink-60);
    line-height: var(--leading-relaxed);
}

@media (max-width: 768px) {
    .why-us__grid {
        grid-template-columns: 1fr;
    }
}

/* -- Philosophy Section (dark variant) -- */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
    align-items: center;
}

.philosophy-text {
    font-size: var(--text-lg);
    font-weight: var(--weight-light);
    line-height: var(--leading-relaxed);
    color: var(--color-white-60);
}

.philosophy-quote {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: var(--weight-light);
    font-style: italic;
    color: var(--color-white-80);
    border-left: 2px solid var(--color-gold);
    padding-left: var(--sp-6);
    line-height: var(--leading-snug);
}

@media (max-width: 768px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: var(--sp-8);
    }
}

/* ==========================================================================
   MOBILE LANDSCAPE (short viewports) — Shrink hero sections so CTAs remain
   reachable when the device is held sideways and the keyboard is closed.
   ========================================================================== */
@media (max-height: 520px) and (orientation: landscape) {
    .page-hero {
        min-height: 220px;
        padding: 100px 0 40px;
    }
    .hero {
        min-height: 520px;
    }
    .service-hero {
        min-height: 400px;
    }
}
