/* ==========================================================================
   Abhi's Clinic — Dual Specialty Theme
   Design system + components
   ========================================================================== */

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a {
    color: inherit;
    text-decoration: none;
    -webkit-text-decoration: none;
}
/* Pseudo-class rules without color: so class-based colors (.btn-book, .btn-*) still win. */
a:hover, a:active, a:focus, a:visited {
    text-decoration: none;
    -webkit-text-decoration: none;
}
button, input, select, textarea { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    letter-spacing: -0.012em;
    margin: 0 0 .5em;
    line-height: 1.18;
    color: var(--ink);
}
h5, h6 { font-family: 'Inter', sans-serif; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }

:root {
    /* Neutrals */
    --ink:        #1a1a1f;
    --ink-soft:   #4a4a55;
    --muted:      #787885;
    --line:       #ececf0;
    --bg:         #fdfcfb;
    --bg-alt:     #f7f4f1;
    --white:      #ffffff;

    /* Dermatology palette (soft) */
    --derma-50:   #fff5f1;
    --derma-100:  #fde1dd;
    --derma-200:  #f8c6c6;
    --derma-300:  #f2a8a8;
    --derma-500:  #e07a7a;
    --derma-700:  #c06c84;
    --derma-900:  #6b2c43;
    --derma-peach:#f5c6a5;
    --derma-beige:#f5ede4;

    /* Rheumatology palette (strong) */
    --rheum-50:   #eef4fa;
    --rheum-100:  #d6e4ef;
    --rheum-200:  #a9c3d9;
    --rheum-500:  #547a9a;
    --rheum-700:  #355573;
    --rheum-900:  #1f3a5f;
    --rheum-green:#2e5e4e;
    --rheum-grey: #6a89a7;

    /* Meta */
    --radius:      14px;
    --radius-lg:   22px;
    --shadow-sm:   0 2px 8px rgba(20, 20, 40, .05);
    --shadow:      0 12px 32px rgba(20, 20, 40, .08);
    --shadow-lg:   0 24px 64px rgba(20, 20, 40, .12);
    --ease:        cubic-bezier(.22, .61, .36, 1);
    --header-h:    76px;
    --container:   1200px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-sm { padding: clamp(40px, 6vw, 72px) 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 16px; display: inline-block; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 24px; border-radius: 999px;
    font-size: 15px; font-weight: 500; letter-spacing: .01em;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
    white-space: nowrap;
}
.btn .abhis-icon svg { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--derma-700); box-shadow: var(--shadow); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-derma { background: var(--derma-700); color: var(--white); }
.btn-derma:hover { background: var(--derma-900); box-shadow: 0 12px 30px rgba(192, 108, 132, .35); }
.btn-rheum { background: var(--rheum-900); color: var(--white); }
.btn-rheum:hover { background: var(--rheum-700); box-shadow: 0 12px 30px rgba(31, 58, 95, .35); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { color: var(--derma-700); }

/* ---------- Header / nav ---------- */
:root { --header-h: 72px; }

.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(253, 252, 251, .78);
    backdrop-filter: saturate(1.3) blur(18px);
    -webkit-backdrop-filter: saturate(1.3) blur(18px);
    border-bottom: 1px solid transparent;
    transition: background .35s var(--ease), border-color .35s var(--ease);
}
.site-header.is-scrolled {
    background: rgba(253, 252, 251, .95);
    border-bottom-color: rgba(0,0,0,.06);
    box-shadow: 0 1px 20px rgba(20, 20, 40, .04);
}

.nav-wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    height: var(--header-h);
    gap: 40px;
}

/* Brand */
.brand {
    display: inline-flex; align-items: center; gap: 12px;
    color: var(--ink);
    transition: opacity .3s var(--ease);
}
.brand:hover { opacity: .85; }
.brand img {
    height: 40px; width: 40px;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.15; }
.brand-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    font-size: 19px;
    letter-spacing: -.008em;
    color: inherit;
}
.brand-sub {
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 3px;
}

/* Menu */
.nav-primary { justify-self: center; }
.nav-menu {
    display: flex; gap: 4px; list-style: none; padding: 0; margin: 0;
}
.nav-menu a {
    display: inline-block;
    padding: 8px 16px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--ink-soft);
    transition: color .25s var(--ease);
    position: relative;
}
.nav-menu a:hover { color: var(--ink); }
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a { color: var(--ink); }
.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after {
    content: ""; position: absolute; left: 50%; bottom: -2px;
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--derma-700);
    transform: translateX(-50%);
}

/* End cluster: Patient Login + Book button */
.nav-end {
    display: inline-flex; align-items: center; gap: 18px; justify-self: end;
}
.nav-login {
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-soft);
    letter-spacing: 0;
    transition: color .25s var(--ease);
    white-space: nowrap;
}
.nav-login:hover { color: var(--ink); }

.btn-book {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px 10px 22px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1;
    transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
    white-space: nowrap;
}
.btn-book:hover {
    background: var(--derma-700);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(192,108,132,.28);
}
.btn-book .btn-book-arrow {
    display: inline-block;
    transition: transform .3s var(--ease);
}
.btn-book:hover .btn-book-arrow { transform: translateX(3px); }

/* Hamburger */
.nav-toggle {
    display: none;
    width: 36px; height: 36px; border-radius: 50%;
    flex-direction: column; justify-content: center; align-items: center; gap: 4px;
    transition: background .25s var(--ease);
}
.nav-toggle span {
    display: block; width: 18px; height: 1.5px; background: currentColor;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 960px) {
    .nav-wrap { grid-template-columns: auto 1fr auto; gap: 16px; }
    .nav-primary, .nav-login { display: none; }
    .nav-toggle { display: inline-flex; }
    .btn-book { padding: 9px 16px 9px 18px; font-size: 13px; }
    .btn-book .btn-book-arrow { display: none; }
    body.menu-open .nav-primary {
        display: flex;
        position: fixed;
        top: var(--header-h); left: 0; right: 0; bottom: 0;
        background: var(--white);
        border-top: 1px solid var(--line);
        padding: 32px 24px;
        z-index: 99;
        overflow-y: auto;
    }
    body.menu-open .nav-primary .nav-menu {
        flex-direction: column; gap: 4px; width: 100%;
    }
    body.menu-open .nav-menu a {
        display: block;
        padding: 16px 12px;
        font-size: 17px;
        font-weight: 500;
        color: var(--ink);
        border-bottom: 1px solid var(--line);
        letter-spacing: 0;
    }
}

@media (max-width: 480px) {
    .brand-sub { display: none; }
    .brand img { height: 36px; width: 36px; }
}

/* ---------- Hero: split screen ---------- */
.split-hero {
    min-height: 100vh;
    padding-top: var(--header-h);
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
}
.split-hero .divider {
    position: absolute; top: 0; bottom: 0; left: 50%;
    width: 1px; background: rgba(255,255,255,.4);
    transform: translateX(-50%); z-index: 2; pointer-events: none;
    transition: opacity .6s var(--ease);
}
.split-pane {
    position: relative;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: clamp(32px, 6vw, 80px);
    color: var(--white);
    overflow: hidden;
    transition: flex-grow .7s var(--ease);
    isolation: isolate;
}
.split-pane::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background-size: cover; background-position: center;
    transition: transform 1.2s var(--ease), filter .7s var(--ease);
}
.split-pane::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    transition: background .7s var(--ease);
}
.split-derma::before {
    background-image: radial-gradient(circle at 30% 40%, rgba(248, 198, 198, .5), transparent 60%),
                      linear-gradient(135deg, #fde1dd 0%, #f5c6a5 60%, #f5ede4 100%);
}
.split-derma::after { background: linear-gradient(180deg, rgba(107, 44, 67, .05) 0%, rgba(107, 44, 67, .55) 100%); }
.split-rheum::before {
    background-image: radial-gradient(circle at 70% 60%, rgba(106, 137, 167, .4), transparent 60%),
                      linear-gradient(135deg, #1f3a5f 0%, #2e5e4e 55%, #355573 100%);
}
.split-rheum::after { background: linear-gradient(180deg, rgba(10, 22, 40, .0) 0%, rgba(10, 22, 40, .45) 100%); }

.split-pane .split-icon {
    width: 64px; height: 64px; border-radius: 18px;
    background: rgba(255,255,255,.14); backdrop-filter: blur(6px);
    display: grid; place-items: center; margin-bottom: 24px;
    transition: transform .6s var(--ease);
}
.split-pane .split-icon svg { width: 32px; height: 32px; color: var(--white); }
.split-pane h2 {
    font-size: clamp(38px, 6vw, 72px);
    color: var(--white); margin-bottom: 12px;
    text-shadow: 0 2px 30px rgba(0,0,0,.15);
}
.split-pane .tag { text-transform: uppercase; letter-spacing: .25em; font-size: 12px; color: rgba(255,255,255,.75); margin-bottom: 16px; display: inline-block; }
.split-pane p { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,.88); max-width: 44ch; margin-bottom: 28px; }
.split-pane .btn { align-self: flex-start; background: var(--white); color: var(--ink); }
.split-pane .btn:hover { background: var(--ink); color: var(--white); }

/* Hover expansion (desktop) */
@media (min-width: 961px) {
    .split-hero:hover .split-pane { flex: .85; }
    .split-hero .split-pane:hover { flex: 1.5; }
    .split-hero .split-pane:hover::before { transform: scale(1.06); }
    .split-hero .split-pane:hover .split-icon { transform: translateY(-4px) scale(1.05); }
}

@media (max-width: 960px) {
    .split-hero { grid-template-columns: 1fr; min-height: auto; }
    .split-pane { min-height: 70vh; justify-content: flex-end; }
    .split-hero .divider { display: none; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
    padding: calc(var(--header-h) + 64px) 0 40px;
    text-align: center;
    position: relative; overflow: hidden;
}
.page-hero + .section,
.page-hero + .stats-band { padding-top: 40px; }
.page-hero--compact { padding-bottom: 24px; }
.page-hero--compact + .section--tight { padding-top: 16px; padding-bottom: 64px; }
.section--tight .wp-content { max-width: 760px; }
.page-hero .lead { margin-top: 20px; }
.page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(600px 300px at 50% 0%, var(--derma-100), transparent 70%);
}
.page-hero.rheum::before { background: radial-gradient(600px 300px at 50% 0%, var(--rheum-100), transparent 70%); }
.page-hero h1 { font-size: clamp(40px, 6vw, 72px); }
.page-hero .lead { margin: 16px auto 0; }

/* ---------- Card grid ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 32px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
    position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .card-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: grid; place-items: center; margin-bottom: 20px;
    background: var(--derma-50); color: var(--derma-700);
}
.card.rheum .card-icon { background: var(--rheum-50); color: var(--rheum-900); }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--ink-soft); margin: 0; }
.card .card-icon svg { width: 26px; height: 26px; }

/* Treatment chip cards */
.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: 999px;
    background: var(--bg-alt); color: var(--ink-soft);
    font-size: 14px; font-weight: 500;
    transition: background .3s var(--ease), color .3s var(--ease);
}
.chip .abhis-icon svg { width: 14px; height: 14px; }
.chip:hover { background: var(--ink); color: var(--white); }
.chip-derma:hover { background: var(--derma-700); color: var(--white); }
.chip-rheum:hover { background: var(--rheum-900); color: var(--white); }

/* ---------- Doctor profile card ---------- */
.doctor {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center;
}
.doctor-photo {
    aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden;
    background: linear-gradient(135deg, var(--derma-100), var(--derma-peach));
    position: relative;
    box-shadow: var(--shadow-lg);
}
.doctor.rheum .doctor-photo { background: linear-gradient(135deg, var(--rheum-100), var(--rheum-grey)); }
.doctor-photo::after {
    content: ""; position: absolute; inset: 0;
    background-image: url('../img/doctor-placeholder.svg');
    background-size: 60%; background-repeat: no-repeat; background-position: center 105%;
    opacity: .7;
}
.doctor-body h2 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 8px; }
.doctor-body .doctor-role { color: var(--derma-700); font-weight: 500; margin-bottom: 20px; letter-spacing: .02em; }
.doctor.rheum .doctor-body .doctor-role { color: var(--rheum-900); }
.doctor-body .credentials { font-size: 14px; color: var(--muted); margin-bottom: 24px; text-transform: uppercase; letter-spacing: .1em; }
.doctor-body blockquote {
    margin: 24px 0; padding: 18px 22px; border-left: 3px solid var(--derma-700);
    background: var(--derma-50); border-radius: 0 var(--radius) var(--radius) 0;
    font-family: 'Playfair Display', serif; font-style: italic; color: var(--ink-soft);
}
.doctor.rheum .doctor-body blockquote { border-left-color: var(--rheum-900); background: var(--rheum-50); }
@media (max-width: 860px) {
    .doctor { grid-template-columns: 1fr; gap: 32px; }
    .doctor-photo { max-width: 320px; margin: 0 auto; }
}

/* ---------- Feature stripes ---------- */
.feature-stripe {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    padding: 32px; border-radius: var(--radius-lg);
    background: var(--white); border: 1px solid var(--line);
    margin-top: -60px; position: relative; z-index: 2;
    box-shadow: var(--shadow);
}
.feature-stripe .item { display: flex; gap: 14px; align-items: flex-start; }
.feature-stripe .item .abhis-icon { color: var(--derma-700); flex-shrink: 0; }
.feature-stripe .item .abhis-icon svg { width: 28px; height: 28px; }
.feature-stripe strong { display: block; font-size: 15px; margin-bottom: 4px; }
.feature-stripe small { color: var(--muted); font-size: 13px; }
@media (max-width: 860px) { .feature-stripe { grid-template-columns: repeat(2, 1fr); margin-top: -40px; padding: 24px; } }

/* ---------- Gallery ---------- */
.gallery-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; }
.gallery-tabs button {
    padding: 12px 22px; border-radius: 999px; font-weight: 500; color: var(--ink-soft);
    background: var(--bg-alt); transition: all .3s var(--ease);
}
.gallery-tabs button.is-active { background: var(--ink); color: var(--white); }
.gallery-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item {
    aspect-ratio: 4/5; border-radius: var(--radius);
    background: var(--bg-alt); overflow: hidden; cursor: pointer; position: relative;
    display: grid; place-items: center; color: var(--muted);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-empty {
    grid-column: 1 / -1; text-align: center; padding: 72px 24px;
    background: var(--bg-alt); border-radius: var(--radius-lg); color: var(--muted);
    border: 1.5px dashed var(--line);
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(10, 14, 22, .9); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); }
.lightbox button { position: absolute; top: 24px; right: 24px; color: var(--white); padding: 12px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.contact-info .info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info .info-row:last-child { border-bottom: 0; }
.contact-info .abhis-icon { color: var(--derma-700); flex-shrink: 0; margin-top: 3px; }
.contact-info .abhis-icon svg { width: 22px; height: 22px; }
.contact-info strong { display: block; margin-bottom: 4px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-info a { color: var(--ink); transition: color .3s var(--ease); }
.contact-info a:hover { color: var(--derma-700); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Contact form */
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.contact-form .field { margin-bottom: 18px; }
.contact-form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--ink-soft); }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; padding: 13px 16px; border-radius: 10px;
    border: 1.5px solid var(--line); font: inherit; background: var(--white);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: 0; border-color: var(--derma-700); box-shadow: 0 0 0 4px rgba(192, 108, 132, .12);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(135deg, var(--ink) 0%, var(--rheum-900) 100%);
    color: var(--white); border-radius: var(--radius-lg);
    padding: clamp(40px, 6vw, 72px); text-align: center;
    position: relative; overflow: hidden;
}
.cta-band::before {
    content: ""; position: absolute; inset: 0; opacity: .15;
    background: radial-gradient(circle at 80% 20%, var(--derma-200), transparent 50%),
                radial-gradient(circle at 20% 80%, var(--rheum-200), transparent 50%);
}
.cta-band h2 { font-size: clamp(30px, 4vw, 46px); color: var(--white); position: relative; }
.cta-band p { max-width: 50ch; margin: 0 auto 24px; color: rgba(255,255,255,.8); position: relative; }
.cta-band .btn { position: relative; }
.cta-band .btn-primary { background: var(--white); color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--derma-700); color: var(--white); }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink); color: rgba(255,255,255,.78);
    padding: 72px 0 28px; margin-top: 80px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14.5px;
    line-height: 1.7;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }
.site-footer h4 {
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin: 0 0 18px;
}
.site-footer p { font-size: 14.5px; line-height: 1.7; margin: 0 0 14px; color: rgba(255,255,255,.72); }
.site-footer a { color: rgba(255,255,255,.78); transition: color .25s var(--ease); }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; font-size: 14px; }
.site-footer .brand { color: var(--white); font-size: 17px; font-weight: 600; font-family: 'Inter', sans-serif; margin-bottom: 12px; }
.site-footer .brand strong { display: block; font-size: 17px; font-weight: 600; }
.site-footer .brand small { display: block; color: rgba(255,255,255,.55); font-size: 12px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px;
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    font-size: 12.5px; color: rgba(255,255,255,.5);
    letter-spacing: .02em;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

/* ---------- Misc ---------- */
.section-title { text-align: center; margin-bottom: 56px; }
.section-title h2 { font-size: clamp(32px, 4.4vw, 52px); }
.section-title p { margin: 12px auto 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.rounded-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.rounded-img.tall { aspect-ratio: 3/4; }

/* WordPress content in page */
.wp-content { max-width: 72ch; margin: 0 auto; }
.wp-content h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 1.5em; }
.wp-content h3 { font-size: 22px; margin-top: 1.4em; }
.wp-content ul { padding-left: 1.2em; }
/* In-copy (editorial) links — a soft derma border, no underline */
.wp-content a {
    color: var(--derma-700);
    border-bottom: 1px solid rgba(192,108,132,.3);
    transition: border-color .25s ease, color .25s ease;
}
.wp-content a:hover { color: var(--derma-900); border-bottom-color: var(--derma-700); }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 1000; }
