/* ============================================================
   Areeba Tariq — Clinical Dietitian
   Design system: fresh + vibrant on clean medical blue/white
   ============================================================ */

:root {
  /* ---- Color (oklch) ---- */
  --bg:           oklch(0.992 0.006 230);
  --bg-soft:      oklch(0.972 0.012 228);
  --surface:      oklch(1 0 0);
  --ink:          oklch(0.26 0.045 256);
  --ink-soft:     oklch(0.46 0.035 256);
  --ink-faint:    oklch(0.62 0.028 256);
  --line:         oklch(0.9 0.018 244);

  /* primary fresh medical blue */
  --blue:         oklch(0.6 0.16 248);
  --blue-deep:    oklch(0.47 0.15 255);
  --blue-soft:    oklch(0.94 0.035 240);

  /* vibrant accents — shared chroma family */
  --mint:         oklch(0.78 0.15 178);
  --mint-soft:    oklch(0.95 0.05 178);
  --citrus:       oklch(0.85 0.16 110);
  --coral:        oklch(0.74 0.16 32);
  --coral-soft:   oklch(0.95 0.04 32);
  --violet:       oklch(0.66 0.16 295);

  --white-on:     oklch(0.99 0.004 230);

  /* ---- Type ---- */
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;

  /* ---- Geometry ---- */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --shadow-sm: 0 2px 8px oklch(0.5 0.1 250 / 0.06);
  --shadow-md: 0 14px 40px oklch(0.5 0.12 252 / 0.12);
  --shadow-lg: 0 30px 80px oklch(0.45 0.13 255 / 0.18);
  --shadow-glow: 0 18px 50px oklch(0.6 0.16 248 / 0.28);

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}

p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---- Layout helpers ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 130px); position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue-deep);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--blue); display: inline-block;
}
.eyebrow.center { justify-content: center; }

.section-head { max-width: 680px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  margin-top: 18px; color: var(--ink);
}
.section-sub {
  margin-top: 18px; font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ink-soft); max-width: 56ch;
}
.center .section-sub { margin-inline: auto; }

/* gradient text accent */
.grad {
  background: linear-gradient(105deg, var(--blue) 0%, var(--mint) 55%, var(--violet) 110%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 1rem; padding: 15px 26px;
  border-radius: 999px; transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, background .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--blue); color: var(--white-on);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-3px); background: var(--blue-deep); }
.btn-ghost {
  background: var(--surface); color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--blue); color: var(--blue-deep); }
.btn-light { background: var(--white-on); color: var(--blue-deep); box-shadow: var(--shadow-md); }
.btn-light:hover { transform: translateY(-3px); }

/* ---- Placeholder imagery ---- */
.ph {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg,
      oklch(0.93 0.03 240) 0 14px,
      oklch(0.96 0.02 240) 14px 28px);
  display: grid; place-items: center;
  color: var(--blue-deep);
}
.ph::after {
  content: attr(data-label);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.72rem; letter-spacing: 0.06em;
  background: oklch(1 0 0 / 0.82); color: var(--ink-soft);
  padding: 6px 12px; border-radius: 999px; text-align: center;
  border: 1px solid var(--line);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled {
  background: oklch(0.99 0.005 230 / 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; flex: none; object-fit: contain;
  filter: drop-shadow(0 4px 10px oklch(0.6 0.12 248 / 0.28));
}
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.02em; line-height: 1; }
.brand-role { font-size: 0.72rem; color: var(--ink-faint); letter-spacing: 0.04em; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.94rem; font-weight: 600; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--blue-deep); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: .25s; }

@media (max-width: 940px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 78px; left: var(--gutter); right: var(--gutter);
    background: var(--surface); padding: 14px; border-radius: var(--r-md);
    box-shadow: var(--shadow-md); border: 1px solid var(--line);
  }
  .nav-links.open a { padding: 12px 14px; border-radius: 10px; width: 100%; }
  .nav-links.open a:hover { background: var(--bg-soft); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(40px, 6vw, 70px); padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--line);
  padding: 8px 8px 8px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  color: var(--ink-soft); box-shadow: var(--shadow-sm);
}
.hero-pill b { color: var(--blue-deep); }
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); }
.hero-pill .tag { background: var(--blue-soft); color: var(--blue-deep); padding: 4px 11px; border-radius: 999px; font-weight: 700; font-size: 0.78rem; }
.hero h1 {
  font-size: clamp(2.7rem, 6.3vw, 5rem);
  margin-top: 24px;
}
.hero-lead {
  margin-top: 22px; font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  color: var(--ink-soft); max-width: 50ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-meta { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta .stat-n { font-family: var(--display); font-size: 1.9rem; font-weight: 800; color: var(--ink); }
.hero-meta .stat-l { font-size: 0.85rem; color: var(--ink-faint); }

/* hero visual */
.hero-visual { position: relative; }
.hero-photo {
  position: relative; aspect-ratio: 4/4.6; border-radius: 36% 36% 32px 32px;
  background:
    repeating-linear-gradient(135deg, oklch(0.9 0.04 200) 0 16px, oklch(0.94 0.03 200) 16px 32px);
  border: 6px solid oklch(0.975 0.012 78);
  box-shadow: 0 30px 80px oklch(0.55 0.05 70 / 0.22);
  display: grid; place-items: center; overflow: hidden;
}
.hero-photo .ph-tag {
  font-family: ui-monospace, monospace; font-size: 0.75rem;
  background: oklch(1 0 0 / 0.85); padding: 8px 14px; border-radius: 999px;
  color: var(--ink-soft); border: 1px solid var(--line);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.float-card {
  position: absolute; background: var(--surface);
  border-radius: var(--r-md); box-shadow: var(--shadow-md);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); animation: bob 5s ease-in-out infinite;
}
.float-card .fc-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.float-card .fc-t { font-size: 0.78rem; color: var(--ink-faint); }
.float-card .fc-v { font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--ink); }
.fc-1 { top: 8%; left: -8%; animation-delay: 0s; }
.fc-2 { bottom: 16%; right: -10%; animation-delay: 1.4s; }
.fc-3 { bottom: -4%; left: 6%; animation-delay: .7s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* hero blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .55; z-index: -1; pointer-events: none; }
.blob-a { width: 480px; height: 480px; background: oklch(0.88 0.04 74); top: -150px; right: -130px; opacity: .7; }
.blob-b { width: 380px; height: 380px; background: var(--blue-soft); bottom: -140px; left: -120px; opacity: .7; }
.blob-c { width: 300px; height: 300px; background: oklch(0.9 0.05 150); top: 34%; left: 36%; opacity: .45; }

/* ============================================================
   MARQUEE (specialties)
   ============================================================ */
.marquee {
  background: var(--blue-deep); color: var(--white-on);
  padding-block: 20px; overflow: hidden; position: relative;
}
.marquee-track { display: flex; gap: 50px; width: max-content; animation: scroll-x 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 14px; font-family: var(--display); font-weight: 600; font-size: 1.15rem; white-space: nowrap; opacity: .92; }
.marquee-item::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(34px, 5vw, 70px); align-items: center; }
.about-photo { aspect-ratio: 1/1.1; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-photo.ph { min-height: 320px; }

/* ---- merged / dissolved photo that blends into the theme ---- */
#about {
  position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, var(--bg) 0%, oklch(0.945 0.016 78) 26%, oklch(0.92 0.022 76) 100%);
}
.about-media { position: relative; }
.about-glow {
  position: absolute; inset: -12% -8% -8% -6%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 62% 38%, oklch(0.9 0.03 70 / 0.9), transparent 70%),
    radial-gradient(55% 60% at 35% 78%, oklch(0.42 0.06 268 / 0.18), transparent 72%);
  filter: blur(20px);
}
.about-photo.merge {
  position: relative; z-index: 1;
  aspect-ratio: 4 / 4.4;
  border-radius: 0; box-shadow: none; overflow: visible; background: none;
}
.about-photo.merge img {
  object-position: center top;
  -webkit-mask-image: radial-gradient(125% 112% at 58% 42%, #000 46%, transparent 86%);
  mask-image: radial-gradient(125% 112% at 58% 42%, #000 46%, transparent 86%);
}
.about-cred .cred { background: oklch(1 0 0 / 0.7); backdrop-filter: blur(4px); }
.about-cred { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.cred {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px 20px;
}
.cred .c-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 12px; }
.cred h4 { font-size: 1rem; }
.cred p { font-size: 0.85rem; color: var(--ink-faint); margin-top: 4px; }
.signature { font-family: var(--display); font-style: italic; font-size: 1.5rem; color: var(--blue-deep); margin-top: 22px; }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 54px; }
.svc-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--accent, var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-ico {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--accent-soft, var(--blue-soft)); color: var(--accent, var(--blue-deep)); margin-bottom: 20px;
}
.svc-ico svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 1.25rem; }
.svc-card p { font-size: 0.92rem; color: var(--ink-soft); margin-top: 10px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.svc-tags span { font-size: 0.74rem; font-weight: 600; color: var(--ink-faint); background: var(--bg-soft); padding: 4px 10px; border-radius: 999px; }

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: var(--bg-soft); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; counter-reset: step; }
.step { position: relative; }
.step-n {
  font-family: var(--display); font-weight: 800; font-size: 1.05rem;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); color: var(--blue-deep); border: 2px solid var(--blue);
  margin-bottom: 20px; position: relative; z-index: 2;
}
.step:not(:last-child) .step-n::after {
  content: ""; position: absolute; left: 60px; top: 50%; width: calc(100% + 22px - 60px); height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent); z-index: -1;
}
.step h3 { font-size: 1.18rem; }
.step p { font-size: 0.9rem; color: var(--ink-soft); margin-top: 8px; }

/* ============================================================
   PRICING
   ============================================================ */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; align-items: stretch; }
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 30px; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.featured {
  background: linear-gradient(165deg, var(--blue-deep), var(--blue));
  color: var(--white-on); border-color: transparent; box-shadow: var(--shadow-glow);
  transform: scale(1.03);
}
.price-card.featured:hover { transform: scale(1.03) translateY(-6px); }
.price-badge { align-self: flex-start; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--mint); color: var(--blue-deep); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.price-card h3 { font-size: 1.4rem; }
.price-card .price { font-family: var(--display); font-weight: 800; font-size: 2.6rem; margin: 14px 0 4px; }
.price-card .price small { font-size: 0.95rem; font-weight: 600; opacity: .7; }
.price-card .per { font-size: 0.85rem; opacity: .7; }
.price-feats { list-style: none; margin: 24px 0; display: grid; gap: 12px; flex: 1; }
.price-feats li { display: flex; gap: 11px; font-size: 0.92rem; align-items: flex-start; }
.price-feats li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--mint); }
.featured .price-feats li svg { color: var(--mint); }
.price-card:not(.featured) .price-feats li svg { color: var(--blue); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 54px; }
.test-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px; display: flex; flex-direction: column;
}
.test-card.tall { grid-row: span 1; }
.stars { display: flex; gap: 3px; color: var(--citrus); margin-bottom: 16px; }
.stars svg { width: 18px; height: 18px; }
.test-quote { font-size: 1.02rem; color: var(--ink); line-height: 1.6; flex: 1; }
.test-person { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
.test-avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; background: linear-gradient(135deg, var(--blue-soft), var(--mint-soft)); display: grid; place-items: center; font-family: var(--display); font-weight: 700; color: var(--blue-deep); }
.test-person .tp-n { font-weight: 700; font-size: 0.95rem; }
.test-person .tp-r { font-size: 0.8rem; color: var(--ink-faint); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 820px; margin: 50px auto 0; display: grid; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq-item.open { box-shadow: var(--shadow-sm); border-color: var(--blue); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; text-align: left; font-family: var(--display); font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.faq-q .ico { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--blue-soft); color: var(--blue-deep); display: grid; place-items: center; transition: transform .3s, background .3s; font-size: 1.2rem; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 26px 24px; color: var(--ink-soft); font-size: 0.96rem; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 54px; }
.blog-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-img { aspect-ratio: 16/10; }
.blog-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-cat { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-deep); }
.blog-card h3 { font-size: 1.2rem; margin-top: 10px; }
.blog-card p { font-size: 0.9rem; color: var(--ink-soft); margin-top: 10px; flex: 1; }
.blog-read { margin-top: 18px; font-weight: 700; font-size: 0.9rem; color: var(--blue-deep); display: inline-flex; align-items: center; gap: 7px; }
.blog-read svg { width: 16px; height: 16px; transition: transform .25s; }
.blog-card:hover .blog-read svg { transform: translateX(4px); }

/* ============================================================
   BOOKING
   ============================================================ */
.booking { background: linear-gradient(170deg, var(--blue-deep), var(--blue) 60%, oklch(0.55 0.15 230)); color: var(--white-on); position: relative; overflow: hidden; }
.booking .blob { opacity: .25; }
.book-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(34px, 5vw, 64px); align-items: start; }
.book-intro .eyebrow { color: var(--mint); }
.book-intro .eyebrow::before { background: var(--mint); }
.book-intro h2 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; }
.book-intro p { margin-top: 18px; color: oklch(0.94 0.02 230); font-size: 1.05rem; max-width: 42ch; }
.book-perks { list-style: none; margin-top: 30px; display: grid; gap: 14px; }
.book-perks li { display: flex; gap: 12px; align-items: center; font-size: 0.98rem; }
.book-perks svg { width: 22px; height: 22px; flex: none; color: var(--mint); }
.book-contact { margin-top: 34px; padding-top: 26px; border-top: 1px solid oklch(1 0 0 / 0.18); display: grid; gap: 12px; }
.book-contact a, .book-contact div { display: flex; gap: 12px; align-items: center; font-size: 0.95rem; color: oklch(0.95 0.02 230); }
.book-contact svg { width: 20px; height: 20px; flex: none; color: var(--mint); }

.book-form {
  background: var(--surface); color: var(--ink);
  border-radius: var(--r-xl); padding: clamp(26px, 3.5vw, 42px);
  box-shadow: var(--shadow-lg);
}
.book-form h3 { font-size: 1.5rem; }
.book-form .form-note { font-size: 0.88rem; color: var(--ink-faint); margin-top: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); }
.field label .req { color: var(--coral); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 0.96rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 15px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: var(--surface);
  box-shadow: 0 0 0 4px var(--blue-soft);
}
.field.err input, .field.err select, .field.err textarea { border-color: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
.field .err-msg { font-size: 0.76rem; color: var(--coral); font-weight: 600; display: none; }
.field.err .err-msg { display: block; }

/* segmented consult type */
.seg { display: flex; gap: 8px; }
.seg label {
  flex: 1; position: relative; cursor: pointer;
}
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg .seg-box {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); transition: .2s;
}
.seg .seg-box svg { width: 18px; height: 18px; }
.seg input:checked + .seg-box { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-deep); }
.book-form .btn-primary { width: 100%; margin-top: 22px; }
.form-fineprint { font-size: 0.78rem; color: var(--ink-faint); text-align: center; margin-top: 14px; }

/* success state */
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success.show { display: block; animation: pop .4s cubic-bezier(.2,.8,.2,1); }
.success-ico { width: 76px; height: 76px; border-radius: 50%; background: var(--mint-soft); color: var(--mint); display: grid; place-items: center; margin: 0 auto 22px; }
.success-ico svg { width: 40px; height: 40px; }
.form-success h3 { font-size: 1.6rem; }
.form-success p { color: var(--ink-soft); margin-top: 12px; max-width: 40ch; margin-inline: auto; }
.success-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: oklch(0.82 0.02 256); padding-block: 64px 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand-name { color: #fff; }
.footer-about { font-size: 0.92rem; max-width: 32ch; margin-top: 18px; line-height: 1.7; }
.footer h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--body); }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer ul a { font-size: 0.92rem; color: oklch(0.78 0.02 256); transition: color .2s; }
.footer ul a:hover { color: var(--mint); }
.footer-bottom { margin-top: 48px; padding-top: 26px; border-top: 1px solid oklch(0.35 0.02 256); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; color: oklch(0.62 0.02 256); }
.footer-bottom a { color: oklch(0.78 0.02 256); font-weight: 600; transition: color .2s; }
.footer-bottom a:hover { color: var(--mint); }

/* ---- Social links ---- */
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: oklch(0.32 0.02 256); color: oklch(0.86 0.02 256); transition: transform .25s, background .25s, color .25s; }
.footer-social a svg { width: 20px; height: 20px; }
.footer-social a:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }

.book-social { display: flex; gap: 12px; margin-top: 4px; }
.book-social a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: oklch(1 0 0 / 0.14); color: #fff; transition: transform .25s, background .25s, color .25s; }
.book-social a svg { width: 20px; height: 20px; color: #fff; }
.book-social a:hover { background: var(--mint); transform: translateY(-3px); }
.book-social a:hover svg { color: var(--blue-deep); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .marquee-track { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .book-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 10px auto 0; }
  .svc-grid, .price-grid, .test-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step:not(:last-child) .step-n::after { display: none; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-6px); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 620px) {
  .svc-grid, .price-grid, .test-grid, .blog-grid, .form-grid, .about-cred { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-meta { gap: 22px; }
  .float-card { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .seg { flex-direction: column; }
}

/* ---- Nav CTA label swaps to compact on small screens ---- */
.nav-book .lbl-short { display: none; }
@media (max-width: 560px) {
  .nav-book .lbl-full { display: none; }
  .nav-book .lbl-short { display: inline; }
  .nav .btn-primary.nav-book { padding: 11px 18px; font-size: 0.95rem; box-shadow: var(--shadow-sm); }
  .nav-inner { height: 66px; }
  .nav-links.open { top: 66px; }
  .brand-name { font-size: 1.05rem; }
  .hero h1 { font-size: clamp(2.35rem, 9vw, 3.2rem); }
  .hero { padding-top: 24px; }
  .section { padding-block: clamp(52px, 11vw, 90px); }
  .book-form { padding: 22px 18px; }
  .hero-meta .stat-n { font-size: 1.55rem; }
}
@media (max-width: 380px) {
  .nav-cta { gap: 8px; }
  .hero-meta { gap: 16px 22px; }
}
