/* =========================================================
   Al-Asad Clinic · public website
   Palette follows the clinic logo (forest green) and the
   management system accent (#00a884) on white.
   ========================================================= */

:root {
    --green-950: #082215;
    --green-900: #0d3320;
    --green-800: #14532d;
    --green-700: #1b6b35;        /* logo green */
    --green-500: #00a884;        /* management system accent */
    --green-300: #7ccfa6;
    --mint-100: #e6f4ec;
    --mint-50:  #f3faf6;
    --white: #ffffff;
    --ink: #0f2419;
    --ink-soft: #3d5247;
    --muted: #64786c;
    --line: #d9e8df;

    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius-lg: 28px;
    --radius: 18px;
    --radius-sm: 12px;
    --wrap: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --section-space: clamp(72px, 11vw, 150px);
    --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }

::selection { background: var(--green-700); color: var(--white); }

:focus-visible {
    outline: 3px solid var(--green-500);
    outline-offset: 3px;
    border-radius: 6px;
}

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

.section { padding: var(--section-space) 0; }
section[id] { scroll-margin-top: 70px; }

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--green-800);
    color: var(--white);
    border-radius: 10px;
    text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* Hidden until GSAP animates them in (see .motion in index.php) */
.motion [data-hero],
.motion [data-hero-line],
.motion [data-reveal],
.motion [data-service],
.motion [data-chip] { visibility: hidden; }

/* ---------- Type ---------- */
h2 {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4.6vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-variation-settings: 'opsz' 144;
}
h2 em, .hero-title em {
    font-style: italic;
    color: var(--green-700);
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--green-700);
}
.eyebrow::before {
    content: '';
    width: 28px;
    height: 1.5px;
    background: currentColor;
}
.eyebrow-light { color: var(--green-300); }

/* split-word helper (built by site.js) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: var(--green-800);
    --btn-fg: var(--white);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 26px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font: 600 15.5px/1 var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary:hover { --btn-bg: var(--green-950); }
.btn-ghost {
    --btn-bg: transparent;
    --btn-fg: var(--green-800);
    border-color: var(--line);
}
.btn-ghost svg { fill: currentColor; stroke: none; }
.btn-ghost:hover { border-color: var(--green-700); --btn-bg: var(--mint-50); }
.btn-ghost:hover svg { transform: none; }
.btn-sm { padding: 11px 18px; font-size: 14.5px; }
.btn-block { width: 100%; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 34px;
    font-weight: 700;
    color: var(--green-800);
    text-decoration: none;
    border-bottom: 1.5px solid var(--green-300);
    padding-bottom: 4px;
}
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    transition: background .35s var(--ease), box-shadow .35s var(--ease), transform .45s var(--ease);
}
.site-header.is-scrolled {
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 78px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-text {
    font-family: var(--font-display);
    font-size: 21px;
    letter-spacing: -.01em;
    color: var(--green-800);
    white-space: nowrap;
}
.brand-text span { font-style: italic; color: var(--green-700); }
.main-nav { display: flex; gap: 30px; }
.main-nav a {
    position: relative;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-soft);
    text-decoration: none;
}
.main-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 1.5px;
    background: var(--green-700);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--ease);
}
.main-nav a:hover { color: var(--green-800); }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
    color: var(--green-800);
    text-decoration: none;
}
.header-phone svg { width: 16px; height: 16px; fill: currentColor; }

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
    position: relative;
}
.menu-toggle span {
    position: absolute;
    left: 13px; right: 13px;
    height: 1.5px;
    background: var(--green-800);
    transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px var(--gutter) 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) {
    padding: 12px 0;
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--green-900);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 14px; }


/* ---------- Notice bar (admin "Website Notices") ---------- */
.notice-bar {
    display: flex;
    align-items: stretch;
    height: 42px;
    background: var(--green-950);
    color: var(--white);
    font-size: 14.5px;
    font-weight: 600;
    overflow: hidden;
}
.notice-label {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px 0 max(16px, calc((100vw - var(--wrap)) / 2 + var(--gutter)));
    background: #f5b62e;
    color: var(--green-950);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 12px 0 18px -6px rgba(8, 34, 21, .9);
}
.notice-label svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.notice-viewport { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; overflow: hidden; }
.notice-track {
    display: flex;
    width: max-content;
    animation: notice-scroll var(--notice-duration, 30s) linear infinite;
}
.notice-bar:hover .notice-track,
.notice-bar:focus-within .notice-track { animation-play-state: paused; }
.notice-group { display: flex; align-items: center; flex-shrink: 0; }
.notice-group span { padding: 0 26px; white-space: nowrap; }
.notice-group i {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    background:
        linear-gradient(var(--green-300), var(--green-300)) center / 100% 3px no-repeat,
        linear-gradient(var(--green-300), var(--green-300)) center / 3px 100% no-repeat;
}
@keyframes notice-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
/* Screen readers (and reduced-motion users, below) get the plain text once. */
.notice-static {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
    .notice-bar { height: auto; min-height: 42px; }
    .notice-track { display: none; }
    .notice-static {
        position: static;
        width: auto;
        height: auto;
        clip: auto;
        white-space: normal;
        padding: 10px 16px;
    }
}
.has-notice .hero { padding-top: 162px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 120px 0 90px;
    background:
        radial-gradient(1100px 600px at 85% 20%, var(--mint-100), transparent 60%),
        var(--white);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: center;
    gap: 40px;
}
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 12px;
    margin-bottom: 30px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
}
.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--muted);
    flex-shrink: 0;
}
.status-pill.is-open .status-dot {
    background: var(--green-500);
    box-shadow: 0 0 0 0 rgba(0, 168, 132, .5);
    animation: pulse 2.2s infinite;
}
.status-pill.is-closed .status-dot { background: #c2410c; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 168, 132, .45); }
    70% { box-shadow: 0 0 0 10px rgba(0, 168, 132, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 168, 132, 0); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5.9vw, 5.2rem);
    line-height: .98;
    letter-spacing: -0.035em;
    font-variation-settings: 'opsz' 144;
    color: var(--green-950);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-lead {
    max-width: 34rem;
    margin-top: 30px;
    font-size: clamp(16.5px, 1.4vw, 18.5px);
    color: var(--ink-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 14px 34px;
    margin: 48px 0 0;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}
.hero-facts dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-facts dd { margin: 4px 0 0; font-weight: 600; font-size: 15px; color: var(--green-900); }

.hero-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 560px;
    justify-self: end;
}
.hero-disc {
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, var(--white) 0%, var(--mint-100) 55%, #d3ebdd 100%);
    box-shadow: inset 0 -30px 60px rgba(27, 107, 53, .08);
}
.hero-disc::after {
    content: '';
    position: absolute;
    inset: -7%;
    border-radius: 50%;
    border: 1px dashed rgba(27, 107, 53, .25);
}
#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 72%;
    height: auto;
    transform: translate(-50%, -50%);
    display: none;
}
.no-webgl .hero-fallback { display: block; }
.no-webgl #hero-canvas { display: none; }


/* ---------- Quick info band ---------- */
.info-band {
    background: var(--green-800);
    color: var(--white);
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 30px 28px;
    border-left: 1px solid rgba(255, 255, 255, .12);
    color: inherit;
    text-decoration: none;
}
.info-item:first-child { border-left: 0; padding-left: 0; }
.info-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--green-300);
}
.info-value {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
    letter-spacing: -0.01em;
}
.info-call { transition: background .3s var(--ease); }
.info-call .info-value { text-decoration: underline; text-decoration-color: rgba(124, 207, 166, .5); text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.info-call:hover { background: rgba(255, 255, 255, .06); }

/* ---------- Intro ---------- */
.intro-grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
}
.intro .eyebrow { margin-top: 14px; }
.intro-text {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.3vw, 2.6rem);
    line-height: 1.22;
    letter-spacing: -0.015em;
    color: var(--green-950);
}

/* ---------- Services ---------- */
.services { background: var(--mint-50); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 70px); }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service {
    position: relative;
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.25fr);
    align-items: baseline;
    gap: 24px;
    padding: 34px 0;
    border-bottom: 1px solid var(--line);
    isolation: isolate;
}
.service::before {
    content: '';
    position: absolute;
    inset: 0 calc(var(--gutter) * -1);
    z-index: -1;
    background: var(--white);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .5s var(--ease);
}
.service:hover::before { transform: scaleY(1); }
.service-no {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 20px;
    color: var(--green-500);
}
.service h3 {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.1;
    letter-spacing: -0.015em;
    color: var(--green-900);
    transition: transform .5s var(--ease);
}
.service:hover h3 { transform: translateX(8px); }
.service p { color: var(--ink-soft); max-width: 34rem; }

/* ---------- Doctor ---------- */
.doctor-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(40px, 7vw, 100px);
}
.doctor-card-wrap { perspective: 1200px; }
.doctor-card {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(120% 80% at 20% 0%, #23804a 0%, transparent 60%),
        linear-gradient(160deg, var(--green-800), var(--green-950));
    color: var(--white);
    box-shadow: 0 40px 80px -40px rgba(8, 34, 21, .7);
    transform-style: preserve-3d;
    overflow: hidden;
}
.doctor-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
}
.doctor-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.14), transparent 60%);
    pointer-events: none;
}
.doctor-card-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(24px, 3vw, 38px);
    transform: translateZ(40px);
}
.doctor-card-logo {
    width: 72px;
    height: 72px;
    padding: 8px;
    border-radius: 16px;
    background: var(--white);
    object-fit: contain;
}
.doctor-monogram {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(5rem, 13vw, 9.5rem);
    line-height: .9;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, .92);
}
.doctor-card-foot {
    display: flex;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.2);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--green-300);
}
.doctor-lead { margin-top: 26px; font-size: 18px; color: var(--ink-soft); max-width: 36rem; }
.credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}
.credentials li {
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--mint-50);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--green-800);
}

/* ---------- Visit (horizontal scroll on desktop) ---------- */
.visit {
    background: var(--green-950);
    color: var(--white);
    overflow: hidden;
}
.visit-pin {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(40px, 6vw, 70px);
    padding: var(--section-space) 0;
}
.visit h2 { color: var(--white); max-width: 760px; }
.visit h2 em { color: var(--green-300); }
.visit-track {
    display: flex;
    gap: 22px;
    padding: 0 var(--gutter);
    padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
    width: max-content;
}
.step {
    position: relative;
    width: clamp(280px, 30vw, 380px);
    min-height: 330px;
    padding: 34px 30px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 14px;
    flex-shrink: 0;
}
.step:nth-child(even) { background: rgba(124, 207, 166, .08); }
.step-no {
    position: absolute;
    top: 22px;
    right: 28px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 6.5rem;
    line-height: 1;
    color: rgba(124, 207, 166, .22);
}
.step h3 { font-family: var(--font-display); font-size: 1.9rem; letter-spacing: -0.015em; }
.step p { color: rgba(255, 255, 255, .72); font-size: 16px; }

/* ---------- Hours ---------- */
.hours-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: clamp(40px, 6vw, 90px);
}
.hours-note { margin-top: 22px; color: var(--muted); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td {
    padding: 24px 6px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    font-weight: 500;
}
.hours-table tr:first-child th, .hours-table tr:first-child td { border-top: 1px solid var(--line); }
.hours-table th { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.75rem); color: var(--green-900); }
.hours-table td { text-align: right; font-weight: 700; font-size: 17px; color: var(--ink-soft); }
.hours-table .is-closed td { color: #b45309; }
.hours-table tr.is-today th::after {
    content: 'Today';
    margin-left: 12px;
    padding: 3px 10px;
    vertical-align: middle;
    border-radius: 999px;
    background: var(--green-700);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* ---------- Booking ---------- */
.book { background: var(--mint-50); }
.book-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: clamp(40px, 6vw, 80px);
}
.book-intro > p { margin-top: 22px; color: var(--ink-soft); max-width: 28rem; }
.call-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 36px;
    padding: 26px 28px;
    border-radius: var(--radius);
    background: var(--green-800);
    color: var(--white);
}
.call-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-300); }
.call-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.6vw, 2.6rem);
    letter-spacing: -0.01em;
    color: var(--white);
    text-decoration: none;
}
.call-number:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.call-hint { color: rgba(255,255,255,.7); font-size: 15px; }

.book-form {
    position: relative;
    padding: clamp(24px, 4vw, 44px);
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 30px 70px -45px rgba(13, 51, 32, .45);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; min-width: 0; }
.field label { font-size: 14px; font-weight: 700; color: var(--green-900); }
.field label span[aria-hidden] { color: var(--green-500); }
.optional { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--ink);
    font: 500 16px/1.4 var(--font-body);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
    -webkit-appearance: none;
    appearance: none;
}
.field select {
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b6b35' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
}
.field select:disabled { background-color: var(--mint-50); color: var(--muted); }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--green-700);
    box-shadow: 0 0 0 4px rgba(27, 107, 53, .12);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c2410c; }
.field-error { min-height: 0; font-size: 13.5px; font-weight: 600; color: #c2410c; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-foot { margin-top: 8px; }
.form-status { margin-top: 14px; font-size: 14.5px; font-weight: 600; color: #c2410c; text-align: center; }
.form-status:empty { display: none; }
.btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}
.is-loading .btn-spinner { display: inline-block; }
.is-loading .btn-label { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px;
    border-radius: var(--radius-lg);
    background: var(--white);
    text-align: center;
}
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }
.form-success h3 { font-family: var(--font-display); font-size: 2.2rem; color: var(--green-900); }
.form-success p { color: var(--ink-soft); max-width: 26rem; }
.success-ref { font-size: 14px; color: var(--muted); }
.success-mark svg { width: 72px; height: 72px; fill: none; stroke: var(--green-700); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.success-mark circle { stroke: var(--line); }
.form-success .btn { margin-top: 10px; }

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(40px, 6vw, 80px);
}
.contact-list {
    display: flex;
    flex-direction: column;
    margin-top: 34px;
    font-style: normal;
}
.contact-list > div {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.contact-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact-list a { font-weight: 700; color: var(--green-800); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.map-frame {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--mint-100);
}
.map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: saturate(.85) hue-rotate(-8deg);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--green-950);
    color: rgba(255,255,255,.72);
    padding: 80px 0 30px;
    font-size: 15px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1.2fr .8fr .8fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img {
    width: 64px;
    height: 64px;
    padding: 6px;
    border-radius: 14px;
    background: var(--white);
    object-fit: contain;
    margin-bottom: 18px;
}
.footer-brand p { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.35; color: var(--white); max-width: 18rem; }
.site-footer h4 { margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-300); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-top: 26px;
    font-size: 13.5px;
    color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.6); }

/* ---------- Mobile quick bar ---------- */
.mobile-bar {
    display: none;
    position: fixed;
    left: 12px; right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 40;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    box-shadow: 0 20px 40px -20px rgba(8,34,21,.45);
    transform: translateY(140%);
    transition: transform .45s var(--ease);
}
.mobile-bar.is-visible { transform: translateY(0); }
.mobile-bar .btn { flex: 1; padding: 13px 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .main-nav { display: none; }
    .menu-toggle { display: block; }
}

@media (max-width: 900px) {
    .header-phone { display: none; }
    .hero { padding-top: 110px; min-height: auto; }
    .has-notice .hero { padding-top: 152px; }
    .notice-label { padding-left: 16px; }
    .notice-label-text { display: none; }
    .hero-grid { grid-template-columns: 1fr; gap: 10px; }
    .hero-visual { max-width: 380px; justify-self: center; margin: 36px auto 0; width: 82%; }
    .intro-grid { grid-template-columns: 1fr; gap: 0; }
    .info-grid { grid-template-columns: 1fr 1fr; }
    .info-item { padding: 22px 0 22px 20px; }
    .info-item:nth-child(odd) { border-left: 0; padding-left: 0; }
    .info-item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
    .service { grid-template-columns: 54px minmax(0, 1fr); gap: 6px 14px; padding: 28px 0; }
    .service p { grid-column: 2; }
    .doctor-grid, .hours-grid, .book-grid, .contact-grid { grid-template-columns: 1fr; }
    .doctor-card-wrap { max-width: 420px; }
    .visit-track { width: auto; flex-direction: column; padding: 0 var(--gutter); }
    .step { width: 100%; min-height: 0; padding-top: 90px; }
    .step-no { font-size: 4.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .mobile-bar { display: flex; }
    .site-footer { padding-bottom: 110px; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .header-inner { height: 68px; }
    .brand img { width: 44px; height: 44px; }
    .brand-text { font-size: 19px; }
    .header-actions .btn-sm { display: none; }
    .hero-actions .btn { width: 100%; }
    .hero-facts { grid-template-columns: 1fr; gap: 14px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-list > div { grid-template-columns: 1fr; gap: 4px; }
    .footer-grid { grid-template-columns: 1fr; }
    .hours-table th, .hours-table td { padding: 18px 2px; }
    .hours-table td { font-size: 15px; }
}
