/* Piwan Dental — shared stylesheet */
/* Built by AshFLAC Tech Solutions, 2026 */

.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
  .icon-row .icon { width: 32px; height: 32px; stroke-width: 1.4; }
  .arrow.icon { width: 22px; height: 22px; }
  .btn-book .icon, .btn-primary .icon, .btn-secondary .icon { width: 18px; height: 18px; }
  .socials .icon { width: 16px; height: 16px; }
  .whatsapp-fab .icon { width: 30px; height: 30px; stroke-width: 1.5; }

  :root {
  /* === REFINED PALETTE: A (clay+cream) + C (medical luxe) — NO GREEN === */
  /* Backgrounds — warm cream foundation */
  --bg: #FAF7F2;             /* primary cream */
  --bg-warm: #F2EBDD;        /* warmer section bg */
  --bg-soft: #F7F1E5;        /* between bg and bg-warm */
  --bg-card: #FFFFFF;
  --cream: #FAF7F2;          /* alias */
  
  /* Text — warm charcoal, not pure black */
  --ink: #1F1B17;
  --ink-soft: #5A4F47;
  --ink-mute: #8B8378;
  
  /* Primary — deep Acholi terracotta clay */
  --clay: #B04A2C;
  --clay-deep: #8B3A20;
  --clay-soft: #E2B59E;
  
  /* Cosmetic accent — rose-gold terracotta (from Medical Luxe) */
  --rose: #B76E5C;
  --rose-deep: #8F4F3E;
  --rose-soft: #E8C9BE;
  
  /* Gold — antique gold (from Medical Luxe), refined not loud */
  --gold: #C9A572;
  --gold-deep: #A48553;
  --gold-soft: #E8D7B8;
  
  /* Warm earth tones */
  --cocoa: #5A3A28;
  --cocoa-soft: #C9A88E;
  
  /* Structural */
  --line: #E5DFD3;
  --line-soft: #F0E8D5;
  
  /* Typography */
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Onest', system-ui, -apple-system, sans-serif;
  
  /* Layout */
  --radius: 6px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shadow-card: 0 4px 24px rgba(31, 27, 23, 0.06);
  --shadow-elev: 0 24px 60px rgba(31, 27, 23, 0.12);
  
  /* Legacy aliases — anything that referenced --teal now points to rose */
  --teal: #B76E5C;
  --teal-deep: #8F4F3E;
  --teal-soft: #E8C9BE;
}

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.55;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  ::selection { background: var(--clay); color: var(--bg); }

  h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; }
  .display { font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1; }
  .display-italic { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }

  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; height: auto; display: block; }

  /* ============== NAV ============== */
  nav.top {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 32px;
    background: rgba(250, 247, 242, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: padding 0.3s ease;
  }
  nav.top .brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ink); text-decoration: none; padding: 4px 8px; margin: -4px -8px; border-radius: 8px; outline: none; }
  nav.top .brand:focus { outline: none; }
  nav.top .brand:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
  nav.top .brand img { width: 38px; height: 38px; }
  nav.top .brand small { font-family: var(--sans); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); display: block; margin-top: 2px; }
  nav.top ul { list-style: none; display: flex; gap: 36px; }
  nav.top ul a { font-size: 14px; font-weight: 500; color: var(--ink-soft); transition: color 0.2s; }
  nav.top ul a:hover { color: var(--clay); }
  nav.top .actions { display: flex; align-items: center; gap: 12px; }
  nav.top .lang { font-size: 12px; letter-spacing: 0.1em; color: var(--ink-mute); padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; background: transparent; font-family: var(--sans); }
  nav.top .lang:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
  .btn-book {
    background: var(--ink); color: var(--bg); padding: 11px 22px; border-radius: 100px;
    font-size: 14px; font-weight: 500; font-family: var(--sans);
    border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
    transition: transform 0.2s, background 0.2s;
  }
  .btn-book:hover { background: var(--clay); transform: translateY(-1px); }
  .btn-book i { font-size: 16px; }

  @media (max-width: 900px) {
    nav.top { padding: 14px 18px; }
    nav.top ul { display: none; }
    nav.top .brand small { display: none; }
    nav.top .brand img { width: 32px; height: 32px; }
    nav.top .brand { font-size: 18px; gap: 10px; white-space: nowrap; }
    nav.top .lang { display: none; }
    nav.top .btn-book { padding: 9px 16px; font-size: 13px; }
    nav.top .btn-book .icon { width: 14px; height: 14px; }
  }

  /* ============== HERO ============== */
  .hero {
    padding: 140px 32px 80px;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: var(--max);
    margin: 0 auto;
    position: relative;
  }
  .hero .eyebrow {
    font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--clay); font-weight: 600; margin-bottom: 28px;
    display: flex; align-items: center; gap: 14px;
  }
  .hero .eyebrow::before {
    content: ""; width: 32px; height: 1px; background: var(--clay);
  }
  .hero h1 {
    font-size: clamp(56px, 8vw, 112px);
    margin-bottom: 32px;
    font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 1;
  }
  .hero h1 em {
    font-style: italic; color: var(--clay);
    font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  }
  .hero .lede {
    font-size: 18px; line-height: 1.65; color: var(--ink-soft);
    max-width: 480px; margin-bottom: 40px;
  }
  .hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
  .hero-cta .btn-primary {
    background: var(--ink); color: var(--bg); padding: 16px 32px; border-radius: 100px;
    font-size: 15px; font-weight: 500; border: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 10px; transition: all 0.2s;
  }
  .hero-cta .btn-primary:hover { background: var(--clay); transform: translateY(-2px); }
  .hero-cta .btn-secondary {
    background: transparent; color: var(--ink); padding: 16px 0; font-size: 15px; font-weight: 500;
    border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
    border-bottom: 1px solid var(--ink); border-radius: 0;
  }
  .hero-cta .btn-secondary:hover { color: var(--clay); border-color: var(--clay); }

  .hero-visual { position: relative; }
  .hero-visual .main-img {
    width: 100%; aspect-ratio: 4/5; object-fit: cover;
    border-radius: var(--radius-lg); position: relative; z-index: 2;
  }
  .hero-visual .accent-card {
    position: absolute; bottom: -32px; left: -40px; z-index: 3;
    background: var(--bg-card); padding: 20px 24px; border-radius: var(--radius-lg);
    border: 1px solid var(--line); width: 240px;
  }
  .hero-visual .accent-card .stars { color: var(--gold); font-size: 16px; margin-bottom: 6px; }
  .hero-visual .accent-card .rating { font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1; }
  .hero-visual .accent-card .sub { font-size: 12px; color: var(--ink-mute); margin-top: 4px; }
  .hero-visual .decoration {
    position: absolute; top: -20px; right: -30px; z-index: 1;
    width: 180px; height: 180px; border: 1px solid var(--line-strong); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-style: italic; font-size: 14px;
    color: var(--ink-mute); transform: rotate(-12deg);
  }

  @media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding: 90px 20px 60px; gap: 50px; }
    .hero h1 { font-size: clamp(44px, 11vw, 64px); }
    .hero .eyebrow { font-size: 11px; letter-spacing: 0.15em; margin-bottom: 20px; }
    .hero .lede { font-size: 16px; }
    .hero-visual .accent-card { left: 12px; bottom: -20px; width: 200px; padding: 16px 20px; }
    .hero-visual .decoration { display: none; }
  }

  /* ============== MARQUEE ============== */
  .marquee {
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 24px 0; overflow: hidden; margin-top: 60px;
  }
  .marquee-track { display: flex; gap: 60px; white-space: nowrap; animation: scroll 30s linear infinite; }
  .marquee-track span {
    font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--ink-soft);
    display: inline-flex; align-items: center; gap: 60px;
  }
  .marquee-track span::after { content: "✦"; color: var(--clay); font-style: normal; }
  @keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* ============== FAQ ============== */
  .faq { background: var(--cream); border-top: 1px solid var(--line); max-width: 100%; padding: 120px 32px; }
  .faq > .reveal { max-width: 1280px; margin: 0 auto; }
  .faq-list { max-width: 920px; margin: 60px auto 0; }
  .faq-item {
    background: var(--bg-card); border: 1px solid var(--line);
    border-radius: var(--radius-lg); margin-bottom: 12px;
    overflow: hidden; transition: border-color 0.2s;
  }
  .faq-item[open] { border-color: var(--clay-soft); }
  .faq-item summary {
    list-style: none; cursor: pointer;
    padding: 24px 28px; font-family: var(--serif);
    font-size: 22px; font-weight: 400; color: var(--ink);
    font-variation-settings: "opsz" 24, "SOFT" 40;
    display: flex; justify-content: space-between; align-items: center; gap: 24px;
    transition: color 0.2s;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after {
    content: "+"; font-family: var(--sans); font-size: 28px; font-weight: 300;
    color: var(--clay); flex-shrink: 0; transition: transform 0.3s;
    width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  }
  .faq-item[open] summary::after { transform: rotate(45deg); }
  .faq-item summary:hover { color: var(--clay); }
  .faq-item > div { padding: 0 28px 28px; }
  .faq-item p { font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
  .faq-item p a { color: var(--clay); border-bottom: 1px solid var(--clay-soft); }

  @media (max-width: 700px) {
    .faq { padding: 80px 18px; }
    .faq-item summary { padding: 20px 22px; font-size: 18px; }
    .faq-item > div { padding: 0 22px 24px; }
    .faq-item p { font-size: 15px; }
  }

  /* ============== SECTION DEFAULTS ============== */
  section { padding: 120px 32px; max-width: var(--max); margin: 0 auto; }
  .section-eyebrow {
    font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--clay); font-weight: 600; margin-bottom: 20px;
    display: flex; align-items: center; gap: 12px;
  }
  .section-eyebrow::before {
    content: "—"; color: var(--clay);
  }
  .section-h2 {
    font-size: clamp(40px, 5vw, 64px);
    margin-bottom: 24px; max-width: 800px;
    font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 1;
  }
  .section-h2 em {
    font-style: italic; color: var(--clay);
    font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  }
  .section-intro { font-size: 18px; color: var(--ink-soft); max-width: 600px; line-height: 1.6; }

  /* ============== SERVICES ============== */
  .services { background: var(--bg); }
  .services-header { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 80px; }
  .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .service-card {
    background: var(--bg); padding: 48px 32px; min-height: 280px;
    display: flex; flex-direction: column; justify-content: space-between;
    transition: background 0.3s; cursor: pointer; position: relative;
  }
  .service-card:hover { background: var(--cream); }
  .service-card .num {
    font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--clay);
  }
  .service-card .icon-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; }
  .service-card .icon-row i { font-size: 32px; color: var(--ink); }
  .service-card h3 { font-size: 28px; margin-bottom: 12px; }
  .service-card p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
  .service-card .arrow {
    position: absolute; bottom: 32px; right: 32px;
    opacity: 0; transform: translateX(-6px); transition: all 0.3s;
  }
  .service-card:hover .arrow { opacity: 1; transform: translateX(0); }

  @media (max-width: 900px) {
    .services-grid { grid-template-columns: 1fr; }
    .services-header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 50px; }
  }

  /* ============== STORY (Dr. Okeny) ============== */
  .story {
    background: var(--ink); color: var(--bg);
    max-width: 100%; padding: 140px 32px;
  }
  .story-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
  .story .section-eyebrow { color: var(--gold); }
  .story .section-eyebrow::before { color: var(--gold); }
  .story-h2 {
    font-family: var(--serif); font-size: clamp(40px, 5.5vw, 72px);
    font-weight: 400; line-height: 1.05; margin-bottom: 32px;
    font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
  }
  .story-h2 em {
    font-style: italic; color: var(--gold);
    font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  }
  .story p { font-size: 17px; line-height: 1.75; color: rgba(250, 247, 242, 0.78); margin-bottom: 20px; }
  .story .acholi {
    font-family: var(--serif); font-style: italic; font-size: 14px;
    color: var(--gold); margin-top: 32px; padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex; gap: 24px; flex-wrap: wrap;
  }
  .story .acholi span { display: flex; flex-direction: column; }
  .story .acholi span b { color: var(--bg); font-weight: 500; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
  .story-image-wrap { position: relative; }
  .story-image-wrap img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); }
  .story-image-wrap .caption {
    position: absolute; bottom: 24px; left: 24px; right: 24px;
    background: rgba(15, 20, 25, 0.85); backdrop-filter: blur(8px);
    padding: 16px 20px; border-radius: var(--radius);
    font-size: 13px; color: var(--bg);
  }
  .story-image-wrap .caption b { color: var(--gold); font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 15px; display: block; margin-bottom: 2px; }

  @media (max-width: 900px) {
    .story-inner { grid-template-columns: 1fr; gap: 50px; }
  }

  /* ============== IMPACT BAND ============== */
  .impact { background: var(--cream); padding: 100px 32px; max-width: 100%; }
  .impact-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  .impact-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
  .impact-stat .num { font-family: var(--serif); font-size: 56px; font-weight: 400; line-height: 1; color: var(--clay); margin-bottom: 8px; font-variation-settings: "opsz" 144, "SOFT" 60; }
  .impact-stat .label { font-size: 13px; color: var(--ink-soft); letter-spacing: 0.05em; }
  .impact-image { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius-lg); }

  @media (max-width: 900px) {
    .impact-inner { grid-template-columns: 1fr; }
  }

  /* ============== REVIEWS ============== */
  .reviews { background: var(--bg); }
  .reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 60px; }
  .review-card {
    background: var(--bg-card); padding: 36px 32px;
    border-radius: var(--radius-lg); border: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 20px;
  }
  .review-card .stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; }
  .review-card .quote {
    font-family: var(--serif); font-size: 20px; line-height: 1.5;
    color: var(--ink); font-weight: 400;
    font-variation-settings: "opsz" 14, "SOFT" 40;
  }
  .review-card .meta { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
  .review-card .avatar {
    width: 36px; height: 36px; border-radius: 50%; background: var(--clay-soft);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-weight: 500; font-size: 14px; color: var(--clay);
  }
  .review-card .who { font-size: 13px; color: var(--ink-soft); }
  .review-card .who b { color: var(--ink); font-weight: 500; }

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

  /* ============== TEAM ============== */
  .team { background: var(--bg); }
  .team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
  .team-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
  .team-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform 0.6s; }
  .team-card:hover img { transform: scale(1.04); }
  .team-card .info {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 24px;
    background: linear-gradient(to top, rgba(15, 20, 25, 0.92) 30%, transparent);
    color: var(--bg);
  }
  .team-card .info h4 { font-family: var(--serif); font-size: 22px; font-weight: 400; margin-bottom: 4px; }
  .team-card .info p { font-size: 13px; color: rgba(250, 247, 242, 0.72); }

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

  /* ============== VISIT ============== */
  .visit { background: var(--bg); border-top: 1px solid var(--line); }
  .visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 60px; align-items: start; }
  .visit-info dl { display: grid; grid-template-columns: 140px 1fr; gap: 24px 32px; margin-top: 40px; }
  .visit-info dt { font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-mute); padding-top: 4px; }
  .visit-info dd { font-size: 16px; color: var(--ink); line-height: 1.6; }
  .visit-info dd a { color: var(--clay); border-bottom: 1px solid var(--clay-soft); }
  .visit-info .hours-table { font-size: 14px; }
  .visit-info .hours-table div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); }
  .visit-info .hours-table div:last-child { border-bottom: none; }
  .visit-info .hours-table div span:first-child { color: var(--ink-soft); }
  .visit-info .closed { color: var(--ink-mute); }
  
  /* ============================================================
     BOOKING FORM — REDESIGNED (May 2026)
     Solved: autofill purple tint, invisible dropdown options,
     inconsistent input backgrounds, mobile usability.
     ============================================================ */
  .visit-form {
    background: var(--ink); color: var(--bg);
    padding: 48px 40px; border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.35);
  }
  .visit-form h3 {
    font-size: 32px; margin-bottom: 8px;
    font-family: var(--serif); font-weight: 400;
    font-variation-settings: "opsz" 144, "SOFT" 60;
    color: var(--bg);
  }
  .visit-form > p {
    font-size: 14px; line-height: 1.55;
    color: rgba(250, 247, 242, 0.7);
    margin-bottom: 28px;
  }
  .visit-form .form-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 14px; margin-bottom: 14px;
  }
  
  /* Inputs, select, textarea — UNIFIED styling */
  .visit-form input[type="text"],
  .visit-form input[type="tel"],
  .visit-form input[type="email"],
  .visit-form input[type="date"],
  .visit-form select,
  .visit-form textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--bg);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 14px 16px;
    border-radius: var(--radius);
    font-size: 15px;
    font-family: var(--sans);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
    box-sizing: border-box;
  }
  
  /* Placeholder styling */
  .visit-form input::placeholder,
  .visit-form textarea::placeholder {
    color: rgba(250, 247, 242, 0.42);
    opacity: 1;
  }
  
  /* Focus state */
  .visit-form input:focus,
  .visit-form select:focus,
  .visit-form textarea:focus {
    outline: none;
    border-color: var(--clay);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(176, 74, 44, 0.15);
  }
  
  /* AUTOFILL FIX — kill Chrome's blue/purple autofill overlay */
  .visit-form input:-webkit-autofill,
  .visit-form input:-webkit-autofill:hover,
  .visit-form input:-webkit-autofill:focus,
  .visit-form input:-webkit-autofill:active,
  .visit-form select:-webkit-autofill,
  .visit-form textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px var(--ink) inset !important;
    -webkit-text-fill-color: var(--bg) !important;
    caret-color: var(--bg);
    transition: background-color 5000s ease-in-out 0s;
  }
  
  /* SELECT DROPDOWN — custom arrow + readable options */
  .visit-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23FAF7F2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 44px;
    cursor: pointer;
    margin-bottom: 14px;
  }
  /* The actual <option> elements live in a popup outside the form's color context.
     We explicitly style them with the cream background and dark ink text so they're readable. */
  .visit-form select option {
    background-color: var(--bg);
    color: var(--ink);
    padding: 12px 16px;
    font-family: var(--sans);
  }
  .visit-form select option:checked,
  .visit-form select option:hover {
    background-color: var(--clay);
    color: var(--bg);
  }
  
  /* Date input — make the calendar picker icon visible on dark background */
  .visit-form input[type="date"] {
    color-scheme: dark;
    margin-bottom: 14px;
  }
  .visit-form input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(0.85);
    cursor: pointer;
    opacity: 0.7;
  }
  .visit-form input[type="date"]::-webkit-calendar-picker-indicator:hover { opacity: 1; }
  
  /* Textarea */
  .visit-form textarea {
    resize: vertical;
    min-height: 96px;
    line-height: 1.5;
  }
  
  /* Submit button */
  .visit-form button {
    width: 100%;
    background: var(--clay);
    color: var(--bg);
    border: none;
    padding: 16px 24px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    font-family: var(--sans);
    cursor: pointer;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    letter-spacing: 0.01em;
  }
  .visit-form button:hover:not(:disabled) {
    background: var(--bg);
    color: var(--ink);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.3);
  }
  .visit-form button:active:not(:disabled) { transform: translateY(0); }
  .visit-form button:disabled {
    cursor: progress;
    opacity: 0.75;
  }
  
  /* Mobile refinements */
  @media (max-width: 600px) {
    .visit-form {
      padding: 32px 22px;
      border-radius: var(--radius);
    }
    .visit-form h3 { font-size: 26px; }
    .visit-form .form-row {
      grid-template-columns: 1fr;
      gap: 12px;
    }
    .visit-form input[type="text"],
    .visit-form input[type="tel"],
    .visit-form input[type="email"],
    .visit-form input[type="date"],
    .visit-form select,
    .visit-form textarea {
      padding: 13px 14px;
      font-size: 16px;  /* 16px prevents iOS Safari zoom-on-focus */
    }
  }

  @media (max-width: 900px) {
    .visit-grid { grid-template-columns: 1fr; gap: 48px; }
    .visit-info dl { grid-template-columns: 1fr; gap: 8px 0; }
    .visit-info dt { padding-top: 16px; }
  }

  /* ============== FOOTER ============== */
  footer { background: var(--ink); color: var(--bg); padding: 80px 32px 40px; max-width: 100%; }
  .footer-inner { max-width: var(--max); margin: 0 auto; }
  .footer-top {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 60px;
    padding-bottom: 60px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .footer-top .brand-block img { width: 56px; margin-bottom: 16px; }
  .footer-top .brand-block .name { font-family: var(--serif); font-size: 28px; margin-bottom: 8px; }
  .footer-top .brand-block p { font-size: 14px; color: rgba(250, 247, 242, 0.6); line-height: 1.6; max-width: 320px; }
  .footer-col h5 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; font-weight: 500; }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 10px; }
  .footer-col ul a { font-size: 14px; color: rgba(250, 247, 242, 0.75); transition: color 0.2s; }
  .footer-col ul a:hover { color: var(--clay-soft); }
  .footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 32px; font-size: 12px; color: rgba(250, 247, 242, 0.5); flex-wrap: wrap; gap: 16px;
  }
  .footer-bottom a:hover { color: var(--clay-soft); }
  .socials { display: flex; gap: 8px; }
  .socials a {
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex; align-items: center; justify-content: center;
    color: rgba(250, 247, 242, 0.75); transition: all 0.2s;
  }
  .socials a:hover { background: var(--clay); color: var(--bg); border-color: var(--clay); }

  @media (max-width: 900px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 40px; }
    .footer-top .brand-block { grid-column: span 2; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
  }

  /* ============== FLOATING WHATSAPP ============== */
  .whatsapp-fab {
    position: fixed; bottom: 28px; right: 28px; z-index: 90;
    width: 60px; height: 60px; border-radius: 50%;
    background: #25D366; color: white;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s;
  }
  .whatsapp-fab:hover { transform: scale(1.08); }
  .whatsapp-fab i { font-size: 30px; }

  /* ============== FADE IN ANIMATIONS (safe — visible by default, opt-in to animation) ============== */
  /* Default: content is visible. This way if JavaScript doesn't run (Yandex, Opera Mini, JS-blocked,
     intersection observer failure), users still see everything. */
  .reveal { opacity: 1; transform: none; }
  /* Only hide initially if JS has loaded successfully and marked body as ready for animations */
  body.js-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
  body.js-ready .reveal.visible { opacity: 1; transform: translateY(0); }
  /* Failsafe: even with JS loaded, if user prefers reduced motion, no animation */
  @media (prefers-reduced-motion: reduce) {
    body.js-ready .reveal { opacity: 1; transform: none; transition: none; }
  }
  /* ============== FOLLOW ============== */
  .follow { background: var(--ink); color: var(--bg); padding: 120px 32px; max-width: 100%; }
  .follow-inner { max-width: 1280px; margin: 0 auto; }
  .follow .section-eyebrow { color: var(--gold); }
  .follow .section-eyebrow::before { color: var(--gold); }
  .follow h2 { color: var(--bg); }
  .follow h2 em { color: var(--gold); }
  .follow .section-intro { color: rgba(250, 247, 242, 0.7); max-width: 640px; }
  .follow-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 60px; }
  .follow-card {
    display: flex; align-items: center; gap: 20px;
    padding: 28px 32px; background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: all 0.3s; color: var(--bg);
  }
  .follow-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--clay);
    transform: translateY(-2px);
  }
  .follow-card.follow-tiktok:hover { border-color: #ff0050; }
  .follow-card.follow-whatsapp:hover { border-color: #25d366; }
  .follow-card.follow-ohu:hover { border-color: var(--gold); }
  .follow-icon {
    width: 56px; height: 56px; flex-shrink: 0;
    background: var(--clay); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--bg);
  }
  .follow-card.follow-tiktok .follow-icon { background: #ff0050; }
  .follow-card.follow-whatsapp .follow-icon { background: #25d366; }
  .follow-card.follow-ohu .follow-icon { background: var(--gold); color: var(--ink); }
  .follow-text { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; }
  .follow-text .handle { font-family: var(--serif); font-size: 22px; font-variation-settings: "opsz" 24, "SOFT" 40; }
  .follow-text .label { font-size: 13px; color: rgba(250, 247, 242, 0.6); }
  .follow-arrow { color: rgba(250, 247, 242, 0.4); transition: transform 0.3s, color 0.3s; }
  .follow-card:hover .follow-arrow { transform: translate(2px, -2px); color: var(--bg); }

  @media (max-width: 700px) {
    .follow { padding: 80px 18px; }
    .follow-grid { grid-template-columns: 1fr; }
    .follow-card { padding: 20px 22px; gap: 16px; }
    .follow-icon { width: 48px; height: 48px; }
    .follow-text .handle { font-size: 18px; }
  }

  /* ============== PAGE HERO (sub-pages) ============== */
  .page-hero { padding: 160px 32px 80px; max-width: 1280px; margin: 0 auto; }
  .page-hero-inner { max-width: 900px; }
  .page-hero .eyebrow {
    font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--clay); font-weight: 600; margin-bottom: 28px;
    display: flex; align-items: center; gap: 14px;
  }
  .page-hero .eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--clay); }
  .page-hero h1 {
    font-size: clamp(48px, 7vw, 96px); margin-bottom: 32px;
    font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 1;
  }
  .page-hero h1 em {
    font-style: italic; color: var(--clay);
    font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  }
  .page-hero .lede {
    font-size: 19px; line-height: 1.65; color: var(--ink-soft);
    max-width: 680px; margin-bottom: 40px;
  }
  @media (max-width: 700px) {
    .page-hero { padding: 110px 20px 50px; }
    .page-hero h1 { font-size: clamp(40px, 10vw, 64px); }
    .page-hero .lede { font-size: 16px; }
  }

  /* ============== SERVICES HUB ============== */
  .services-hub {
    max-width: 1280px; margin: 0 auto; padding: 60px 32px 120px;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
    background: var(--line); border: 1px solid var(--line);
    border-radius: var(--radius-lg); overflow: hidden;
  }
  .service-hub-card {
    background: var(--bg-card); padding: 40px 32px; min-height: 320px;
    display: flex; flex-direction: column; gap: 12px;
    transition: background 0.3s; position: relative;
  }
  .service-hub-card:hover { background: var(--cream); }
  .hub-icon-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
  .hub-icon-row .icon { color: var(--ink); }
  .hub-icon-row .num { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--clay); }
  .service-hub-card h3 { font-family: var(--serif); font-size: 26px; line-height: 1.15; }
  .service-hub-card p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; flex-grow: 1; }
  .service-hub-card .hub-from {
    margin-top: auto; padding-top: 16px;
    font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--clay); font-weight: 600;
  }
  @media (max-width: 900px) {
    .services-hub { grid-template-columns: 1fr; padding: 40px 18px 80px; }
  }

  /* ============== STORY DEEP (about page) ============== */
  .story-deep { max-width: 1280px; margin: 0 auto; padding: 60px 32px 120px; }
  .story-deep-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
  .story-aside { position: sticky; top: 100px; }
  .story-aside figure { margin: 0 0 32px; }
  .story-aside figure img {
    width: 100%; aspect-ratio: 4/5; object-fit: cover;
    border-radius: var(--radius-lg);
  }
  .story-aside figcaption {
    font-family: var(--serif); font-style: italic; font-size: 14px;
    color: var(--ink-soft); margin-top: 16px; line-height: 1.5;
  }
  .story-aside figcaption strong { color: var(--ink); font-style: normal; font-family: var(--sans); font-weight: 500; }
  .story-aside .facts { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .story-aside .facts dt {
    font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--ink-mute); margin-bottom: 2px;
  }
  .story-aside .facts dd { font-size: 14px; color: var(--ink); }
  .story-body h2 {
    font-family: var(--serif); font-size: 36px; font-weight: 400;
    margin: 48px 0 20px; line-height: 1.15;
    font-variation-settings: "opsz" 36, "SOFT" 40;
  }
  .story-body h2:first-child { margin-top: 0; }
  .story-body p { font-size: 18px; line-height: 1.75; color: var(--ink); margin-bottom: 20px; }
  .story-body p strong { font-weight: 500; }
  .story-body blockquote {
    border-left: 3px solid var(--clay); padding: 12px 0 12px 28px; margin: 40px 0;
  }
  .story-body blockquote p {
    font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.45;
    color: var(--ink); margin-bottom: 12px;
    font-variation-settings: "opsz" 24, "SOFT" 60;
  }
  .story-body blockquote cite {
    font-size: 13px; color: var(--ink-mute); font-style: normal;
    letter-spacing: 0.05em;
  }
  .story-cta { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
  @media (max-width: 900px) {
    .story-deep-grid { grid-template-columns: 1fr; gap: 50px; }
    .story-aside { position: static; }
    .story-body h2 { font-size: 28px; }
    .story-body p { font-size: 16px; }
  }

  /* ============== RELATED ============== */
  .related { max-width: 1280px; margin: 0 auto; padding: 80px 32px; }
  .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
  .related-card {
    display: flex; justify-content: space-between; align-items: center;
    padding: 24px 28px; background: var(--bg-card);
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    transition: all 0.2s;
  }
  .related-card:hover {
    border-color: var(--clay); background: var(--cream);
  }
  .related-label { font-family: var(--serif); font-size: 20px; }
  .related-arrow { color: var(--clay); font-size: 22px; }
  @media (max-width: 700px) {
    .related-grid { grid-template-columns: 1fr; }
  }

  /* ============== CTA BAND ============== */
  .cta-band { background: var(--ink); color: var(--bg); padding: 100px 32px; max-width: 100%; }
  .cta-inner {
    max-width: 800px; margin: 0 auto; text-align: center;
  }
  .cta-inner h2 {
    font-family: var(--serif); font-size: clamp(36px, 5vw, 56px);
    color: var(--bg); margin-bottom: 16px;
    font-variation-settings: "opsz" 144, "SOFT" 60;
  }
  .cta-inner p {
    font-size: 18px; color: rgba(250, 247, 242, 0.75); margin-bottom: 32px; line-height: 1.5;
  }
  .cta-actions {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  }
  .cta-band .btn-primary {
    background: var(--clay); color: var(--bg); padding: 16px 32px; border-radius: 100px;
    font-weight: 500; display: inline-flex; align-items: center; gap: 10px;
    transition: all 0.2s;
  }
  .cta-band .btn-primary:hover { background: var(--bg); color: var(--ink); }
  .cta-band .btn-secondary {
    color: var(--bg); border-bottom: 1px solid var(--bg);
    padding: 16px 0; font-weight: 500;
  }
  .cta-band .btn-secondary:hover { color: var(--gold); border-color: var(--gold); }

  /* ============== MAP BAND ============== */
  .map-band { max-width: 1280px; margin: 0 auto; padding: 0 32px 100px; }
  .map-inner { border-radius: var(--radius-lg); overflow: hidden; }

  /* ============== FAQ ON SERVICE PAGES ============== */
  .faq.faq-service { max-width: 1280px; margin: 0 auto; padding: 80px 32px; background: var(--bg); border: none; }


/* ============================================================
   HERO REBUILD — orbital photo motion, multi-variant text
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  padding: 120px 32px 80px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
  overflow: visible;
}

/* Sparkle particles drifting in background — like diamond dust */
.hero-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.sparkle {
  position: absolute;
  opacity: 0;
  animation: sparkle-drift 18s linear infinite;
  display: block;
  pointer-events: none;
}
.sparkle svg {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
}
.sparkle.s1 { top: 8%; left: 12%; width: 14px; height: 14px; animation-delay: 0s; animation-duration: 16s; }
.sparkle.s2 { top: 22%; left: 38%; width: 10px; height: 10px; animation-delay: -4s; animation-duration: 20s; }
.sparkle.s3 { top: 65%; left: 5%; width: 12px; height: 12px; animation-delay: -8s; animation-duration: 14s; }
.sparkle.s4 { top: 45%; left: 28%; width: 8px; height: 8px; animation-delay: -2s; animation-duration: 22s; }
.sparkle.s5 { top: 78%; left: 18%; width: 16px; height: 16px; animation-delay: -10s; animation-duration: 18s; }
.sparkle.s6 { top: 12%; left: 55%; width: 9px; height: 9px; animation-delay: -6s; animation-duration: 24s; }
.sparkle.s7 { top: 88%; left: 42%; width: 11px; height: 11px; animation-delay: -12s; animation-duration: 19s; }
.sparkle.s8 { top: 35%; left: 8%; width: 13px; height: 13px; animation-delay: -14s; animation-duration: 17s; }

@keyframes sparkle-drift {
  0%   { opacity: 0; transform: translateY(0) rotate(0deg) scale(0.6); }
  10%  { opacity: 0.7; transform: translateY(20px) rotate(45deg) scale(1); }
  50%  { opacity: 0.5; transform: translateY(80px) rotate(180deg) scale(0.9); }
  90%  { opacity: 0.4; transform: translateY(180px) rotate(360deg) scale(0.7); }
  100% { opacity: 0; transform: translateY(220px) rotate(405deg) scale(0.5); }
}

/* HERO TEXT - multi variant */
.hero-text {
  position: relative;
  z-index: 2;
}
.hero-variants {
  position: relative;
  min-height: 540px;
}
.hero-variant {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.8s ease, transform 0.8s ease, visibility 0s linear 0.8s;
}
.hero-variant.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease, visibility 0s linear 0s;
}
.hero-variant .eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-variant .eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--clay);
}
.hero-variant h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 6.5vw, 88px);
  line-height: 0.98;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 1;
  margin-bottom: 28px;
  color: var(--ink);
}
.hero-variant h1 em {
  font-style: italic;
  color: var(--clay);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.hero-variant p.lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 0;
}
.hero-variant p.lede strong {
  color: var(--ink);
  font-weight: 600;
}

/* Hero CTAs - persistent, below variants */
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  position: relative;
  z-index: 3;
}
.hero-cta-row .btn-primary {
  background: var(--ink);
  color: var(--bg);
  padding: 16px 30px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}
.hero-cta-row .btn-primary:hover {
  background: var(--clay);
  transform: translateY(-1px);
}
.hero-cta-row .btn-primary .icon { width: 16px; height: 16px; }
.hero-cta-row .meet-link {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-cta-row .meet-link:hover {
  color: var(--clay);
  border-color: var(--clay);
}

/* Dot indicators for hero variants */
.hero-dots {
  display: flex;
  gap: 10px;
  margin-top: 40px;
  align-items: center;
}
.hero-dots button {
  width: 28px;
  height: 4px;
  border: none;
  background: var(--line);
  border-radius: 100px;
  cursor: pointer;
  padding: 0;
  transition: all 0.4s ease;
}
.hero-dots button.active {
  background: var(--clay);
  width: 44px;
}
.hero-dots button:hover:not(.active) {
  background: var(--cocoa-soft);
}

/* HERO STAGE - photo carousel + orbital satellites */
.hero-stage {
  position: relative;
  z-index: 1;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main rotating photo - center stage */
.hero-main-photo {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 560px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-elev);
  z-index: 3;
}
.photo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s ease, transform 1.8s ease;
}
.photo-slide.active {
  opacity: 1;
  transform: scale(1);
}
.photo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Orbital satellite photos - drift gently */
.orbit-photo {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 4px solid var(--bg);
  z-index: 2;
}
.orbit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.orbit-1 {
  width: 130px;
  height: 130px;
  top: 5%;
  left: -8%;
  animation: orbit-drift-1 14s ease-in-out infinite;
}
.orbit-2 {
  width: 110px;
  height: 110px;
  bottom: 8%;
  right: -6%;
  animation: orbit-drift-2 18s ease-in-out infinite;
}
.orbit-3 {
  width: 86px;
  height: 86px;
  top: 38%;
  right: -12%;
  animation: orbit-drift-3 16s ease-in-out infinite;
  z-index: 4;
}

@keyframes orbit-drift-1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(12px, -18px) rotate(4deg); }
  66% { transform: translate(-8px, -10px) rotate(-3deg); }
}
@keyframes orbit-drift-2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-14px, -22px) rotate(-5deg); }
}
@keyframes orbit-drift-3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  40% { transform: translate(8px, 12px) rotate(3deg); }
  70% { transform: translate(-6px, 8px) rotate(-2deg); }
}

/* Rating card persists */
.rating-card-v2 {
  position: absolute;
  bottom: 16px;
  left: -28px;
  background: var(--bg-card);
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elev);
  z-index: 5;
  border: 1px solid var(--line);
}
.rating-card-v2 .stars {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}
.rating-card-v2 .score {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  font-variation-settings: "opsz" 36, "SOFT" 40;
  line-height: 1;
  color: var(--ink);
}
.rating-card-v2 .label {
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* Mobile: collapse orbital, simplify */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 20px 60px;
    gap: 50px;
    min-height: auto;
  }
  .hero-variants { min-height: 460px; }
  .hero-variant h1 { font-size: clamp(40px, 11vw, 64px); }
  .hero-variant p.lede { font-size: 15px; }
  .hero-stage { height: 440px; }
  .hero-main-photo { max-width: 100%; height: 420px; }
  .orbit-1 { width: 88px; height: 88px; top: -4%; left: -4%; }
  .orbit-2 { width: 76px; height: 76px; bottom: 6%; right: -3%; }
  .orbit-3 { display: none; }
  .rating-card-v2 {
    left: 12px;
    bottom: -16px;
    padding: 14px 18px;
  }
  .rating-card-v2 .score { font-size: 22px; }
}

/* ============================================================
   SERVICES GRID — expanded to 9 with new entries
   ============================================================ */
.services-grid-9 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 60px;
}
.service-card-v2 {
  background: var(--bg-card);
  padding: 36px 30px 32px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.3s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.service-card-v2:hover {
  background: var(--bg);
}
.service-card-v2.featured {
  background: linear-gradient(135deg, var(--bg-card) 0%, #FFF9EE 100%);
}
.service-card-v2.featured:hover {
  background: linear-gradient(135deg, #FFF9EE 0%, var(--gold-soft) 100%);
}
.service-card-v2 .icon-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.service-card-v2 .icon-row .icon {
  width: 36px;
  height: 36px;
  color: var(--ink);
  stroke-width: 1.4;
}
.service-card-v2.featured .icon-row .icon { color: var(--gold-deep); }
.service-card-v2 .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--clay);
  font-variation-settings: "opsz" 16, "SOFT" 60;
}
.service-card-v2 .new-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: var(--gold);
  color: var(--ink);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 100px;
  font-weight: 700;
  vertical-align: middle;
}
.service-card-v2 h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
  font-variation-settings: "opsz" 30, "SOFT" 40;
}
.service-card-v2 p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  flex-grow: 1;
}
.service-card-v2 .price {
  margin-top: auto;
  padding-top: 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 700;
}
.service-card-v2.featured .price { color: var(--gold-deep); }

@media (max-width: 900px) {
  .services-grid-9 { grid-template-columns: 1fr; }
  .service-card-v2 { min-height: 220px; padding: 28px 24px 26px; }
  .service-card-v2 h3 { font-size: 22px; }
}

/* ============================================================
   ILLUSTRATED REVIEWER AVATARS
   ============================================================ */
.reviewer-row-v2 {
  display: flex;
  align-items: center;
  gap: 14px;
}
.reviewer-avatar-v2 {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--bg);
  box-shadow: 0 2px 8px rgba(26, 47, 38, 0.08);
}
.reviewer-avatar-v2 svg {
  width: 100%;
  height: 100%;
  display: block;
}
.reviewer-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.reviewer-meta .name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.reviewer-meta .label {
  font-size: 12px;
  color: var(--ink-mute);
}

/* ============================================================
   SECTION VARIANTS - more visual rhythm
   ============================================================ */
.section-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 32px;
}
.section-image-side img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

@media (max-width: 900px) {
  .section-with-image {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 80px 20px;
  }
}

/* Hover refinements for service cards on home */
.service-hub-card:hover { background: var(--bg); }

/* Selection color refresh */
::selection {
  background: var(--clay);
  color: var(--bg);
}

/* Print-friendly */
@media print {
  .hero-sparkles, .orbit-photo { display: none; }
}

/* ============================================================
   OUTREACH STRIP (above footer)
   ============================================================ */
.outreach-strip {
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 70px 32px;
}
.outreach-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.4fr;
  gap: 48px;
  align-items: center;
}
.outreach-stat {
  text-align: left;
}
.outreach-number {
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 400;
  line-height: 1;
  color: var(--clay);
  font-variation-settings: "opsz" 96, "SOFT" 40, "WONK" 1;
  margin-bottom: 12px;
}
.outreach-label {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 220px;
}
.outreach-cta-box {
  background: var(--ink);
  color: var(--bg);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
}
.outreach-cta-box h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--bg);
  font-variation-settings: "opsz" 24, "SOFT" 40;
}
.outreach-cta-box p {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(250, 247, 242, 0.78);
  margin-bottom: 18px;
}
.outreach-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--clay);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s;
  text-decoration: none;
}
.outreach-cta-btn:hover { background: var(--bg); color: var(--ink); }

@media (max-width: 900px) {
  .outreach-strip { padding: 50px 20px; }
  .outreach-strip-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .outreach-cta-box { grid-column: span 2; padding: 24px 20px; }
}
@media (max-width: 560px) {
  .outreach-strip-inner { grid-template-columns: 1fr; gap: 28px; }
  .outreach-cta-box { grid-column: 1; }
  .outreach-number { font-size: 44px; }
}

/* ============================================================
   FOOTER ENHANCEMENTS
   ============================================================ */
.footer-address {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(250, 247, 242, 0.65);
}
.footer-address a {
  color: rgba(250, 247, 242, 0.85);
  border-bottom: 1px solid rgba(250, 247, 242, 0.25);
  text-decoration: none;
}
.footer-address a:hover { color: var(--gold); border-color: var(--gold); }

.partners-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.partners-list li {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(250, 247, 242, 0.85);
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.partner-tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.add-partner-prompt {
  margin-top: 14px !important;
  padding-top: 14px;
  border-top: 1px dashed rgba(250, 247, 242, 0.2);
}
.add-partner-prompt a {
  font-size: 12px;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.ashflac-credit {
  color: var(--gold) !important;
  border-bottom: 1px solid var(--gold) !important;
  transition: opacity 0.2s;
}
.ashflac-credit:hover { opacity: 0.8; }

/* 5-column footer override */
footer .footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 48px;
}

@media (max-width: 1100px) {
  footer .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  footer .brand-block { grid-column: span 2; }
}
@media (max-width: 600px) {
  footer .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  footer .brand-block { grid-column: 1; }
}

/* ============================================================
   PARTNERS SLIDER (added v8)
   ============================================================ */
.partners-section {
  padding: 72px 24px 64px;
  background: var(--bg-warm);
  overflow: hidden;
}
.partners-head { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.partners-title {
  font-family: var(--serif); font-size: clamp(26px, 4vw, 38px);
  font-weight: 400; line-height: 1.1; margin-top: 8px; color: var(--ink);
}
.partners-title em { font-style: italic; color: var(--clay); }
.partners-track-wrap {
  position: relative; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partners-track {
  display: flex; align-items: center; gap: 64px; width: max-content;
  animation: partners-scroll 38s linear infinite;
}
.partners-track:hover { animation-play-state: paused; }
.partner-logo {
  flex-shrink: 0; height: 60px; display: flex; align-items: center; justify-content: center;
  opacity: 0.78; transition: opacity 0.3s, transform 0.3s;
}
.partner-logo:hover { opacity: 1; transform: scale(1.05); }
.partner-logo img { height: 100%; width: auto; max-width: 220px; object-fit: contain; display: block; }
.partner-logo.is-link { cursor: pointer; }
@keyframes partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; gap: 40px; }
  .partners-track-wrap { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 700px) {
  .partners-section { padding: 56px 16px 48px; }
  .partner-logo { height: 48px; }
  .partners-track { gap: 44px; }
}

/* OHU donate block */
.donate-block {
  background: var(--ink); color: var(--bg); border-radius: var(--radius-lg);
  padding: 40px 32px; text-align: center; max-width: 720px; margin: 0 auto;
}
.donate-block h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; margin-bottom: 8px; }
.donate-block p { color: rgba(250,247,242,0.72); font-size: 15px; line-height: 1.55; margin-bottom: 24px; }
.donate-amounts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 16px; }
.donate-amounts button {
  background: rgba(255,255,255,0.08); color: var(--bg); border: 1px solid rgba(255,255,255,0.2);
  padding: 12px 22px; border-radius: 100px; font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: var(--sans); transition: background 0.2s, border-color 0.2s;
}
.donate-amounts button:hover { background: var(--clay); border-color: var(--clay); }
.donate-note { font-size: 12px; color: rgba(250,247,242,0.45); margin-top: 14px; }

/* Scan-to-book QR on Visit page (v8.1) */
.scan-book {
  display: flex; align-items: center; gap: 18px; margin-top: 28px;
  padding: 20px; background: var(--bg-warm); border-radius: 14px;
}
.scan-book img { width: 110px; height: 110px; flex-shrink: 0; border-radius: 8px; background:#fff; padding:6px; }
.scan-book strong { font-family: var(--serif); font-size: 17px; display: block; margin-bottom: 4px; color: var(--ink); }
.scan-book p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; margin: 0; }
@media (max-width: 600px) { .scan-book { flex-direction: column; text-align: center; } }
