/* =========================================================
   Attune ENT — "The Tuning Gauge"
   Teal + clear white · Space Grotesk / IBM Plex Sans
   ========================================================= */

:root {
  --ink:        #0F2A33;
  --ink-2:      #14414D;
  --aqua:       #3FB6C4;
  --aqua-deep:  #1F7E8C;
  --aqua-soft:  #9FDBE2;
  --paper:      #FBFDFD;
  --mist:       #E7F2F3;
  --mist-2:     #DCECEE;
  --sand:       #F4EFE7;
  --amber:      #E39A2E;

  --text:       #17323A;
  --muted:      #516A71;
  --line:       rgba(15, 42, 51, .12);
  --line-2:     rgba(15, 42, 51, .07);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'IBM Plex Sans', system-ui, sans-serif;

  --radius:   18px;
  --radius-s: 12px;
  --radius-l: 26px;

  --shadow-s: 0 2px 10px rgba(15, 42, 51, .05);
  --shadow-m: 0 14px 40px -22px rgba(15, 42, 51, .40);
  --shadow-l: 0 40px 80px -46px rgba(15, 42, 51, .55);

  --wrap: 1140px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; color: var(--ink); }
ul { list-style: none; padding: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 2.5rem); }

/* ---------- skip link ---------- */
.skip-link {
  position: fixed; top: .6rem; left: .6rem; z-index: 200;
  background: var(--ink); color: #fff; padding: .6rem 1rem;
  border-radius: 10px; font-weight: 600; font-size: .9rem;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- focus ---------- */
:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   Brand mark — the mini equaliser
   ========================================================= */
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none; color: var(--ink);
}
.brand__mark {
  display: inline-flex; align-items: flex-end; gap: 2.5px;
  height: 24px; width: 26px;
  padding: 3px 4px; border-radius: 7px;
  background: var(--ink);
}
.brand__mark span {
  flex: 1; height: var(--h);
  background: var(--aqua); border-radius: 2px;
  transition: height .35s var(--ease);
}
.brand__mark span:nth-child(4) { background: var(--amber); }
.brand:hover .brand__mark span:nth-child(1) { height: 60%; }
.brand:hover .brand__mark span:nth-child(2) { height: 44%; }
.brand:hover .brand__mark span:nth-child(3) { height: 82%; }
.brand:hover .brand__mark span:nth-child(4) { height: 56%; }
.brand:hover .brand__mark span:nth-child(5) { height: 72%; }
.brand__name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.22rem; letter-spacing: -.01em; color: var(--ink);
}
.brand__sub {
  font-family: var(--font-body); font-weight: 600;
  font-size: .62rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--aqua-deep); margin-left: .38rem; vertical-align: middle;
}

/* =========================================================
   Header / nav
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 253, 253, .78);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -26px rgba(15, 42, 51, .6);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 74px; gap: 1rem;
}

.nav__list {
  display: flex; align-items: center; gap: clamp(.35rem, 1.6vw, 1.4rem);
}
.nav__link {
  text-decoration: none; color: var(--ink);
  font-weight: 500; font-size: .98rem;
  padding: .5rem .2rem; position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: .2rem; right: .2rem; bottom: .28rem;
  height: 2px; background: var(--aqua); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); }

.nav__cta {
  text-decoration: none; font-weight: 600; font-size: .95rem;
  color: #fff; background: var(--ink);
  padding: .62rem 1.15rem; border-radius: 999px;
  margin-left: .4rem; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.nav__cta:hover { background: var(--aqua-deep); transform: translateY(-2px); box-shadow: var(--shadow-m); }

.nav-toggle {
  display: none; align-items: center; gap: .5rem;
  background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem .85rem; cursor: pointer; color: var(--ink);
  font-family: var(--font-body); font-weight: 600; font-size: .9rem;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after  { position: absolute; top: 6px; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  padding: .85rem 1.5rem; border-radius: 999px; line-height: 1;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--aqua-deep); transform: translateY(-2px); box-shadow: var(--shadow-m); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--aqua-deep); color: var(--aqua-deep); transform: translateY(-2px); }
.btn--ghost-light { color: #eafafb; border-color: rgba(255, 255, 255, .32); }
.btn--ghost-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--full { width: 100%; }

/* =========================================================
   Eyebrows & section heads
   ========================================================= */
.eyebrow, .section__eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--aqua-deep);
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 999px; background: var(--amber);
  box-shadow: 0 0 0 4px rgba(227, 154, 46, .18);
}
.section__eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--aqua); border-radius: 2px;
}

.section { padding-block: clamp(3.6rem, 8vw, 6.5rem); }
.section--care { background: var(--mist); }
.section--tint {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(63, 182, 196, .10), transparent 60%),
    var(--sand);
}
.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__title { font-size: clamp(1.9rem, 4.4vw, 2.85rem); margin-top: .9rem; }
.section__lede { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); margin-top: 1rem; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding-block: clamp(2.6rem, 6vw, 4.6rem) clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(90% 120% at 88% -10%, rgba(63, 182, 196, .16), transparent 55%),
    radial-gradient(70% 90% at -5% 110%, rgba(15, 42, 51, .06), transparent 60%),
    var(--paper);
  overflow: hidden;
}
.hero__inner {
  display: grid; grid-template-columns: 1.06fr .94fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero__content { max-width: 34rem; }
.hero__title {
  font-size: clamp(2.5rem, 6.2vw, 4.1rem); font-weight: 600;
  margin-top: 1.15rem; letter-spacing: -.03em;
}
.hero__title em {
  font-style: normal; color: var(--aqua-deep);
  position: relative; white-space: nowrap;
}
.hero__title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .14em;
  background: linear-gradient(90deg, var(--aqua), var(--amber));
  border-radius: 2px; opacity: .55;
}
.hero__lede { font-size: clamp(1.06rem, 2vw, 1.22rem); color: var(--muted); margin-top: 1.35rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }
.hero__trust {
  margin-top: 1.4rem; font-size: .92rem; color: var(--muted);
  letter-spacing: .01em;
}

/* hero media + signature gauge */
.hero__media { position: relative; }
.hero__frame {
  position: relative; margin: 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-l);
  outline: 1px solid var(--line-2); outline-offset: -1px;
}
.hero__frame::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 42, 51, .28));
}
.hero__img { width: 100%; aspect-ratio: 11 / 13; object-fit: cover; }

.gauge {
  position: absolute; left: -8%; bottom: -7%; z-index: 3;
  width: min(78%, 340px);
  background: rgba(251, 253, 253, .92);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.05rem .9rem;
  box-shadow: var(--shadow-m);
}
.gauge__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .7rem; }
.gauge__label {
  font-family: var(--font-body); font-weight: 600; font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.gauge__tag {
  font-family: var(--font-body); font-weight: 700; font-size: .68rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: #7a5410; background: rgba(227, 154, 46, .18);
  padding: .2rem .5rem; border-radius: 999px;
}

.eq {
  display: flex; align-items: flex-end; gap: 2px;
  height: 74px;
}
.eq span {
  flex: 1; height: var(--h); min-height: 4px;
  background: linear-gradient(180deg, var(--aqua), var(--aqua-deep));
  border-radius: 3px 3px 1px 1px;
  transform-origin: bottom;
}
.eq .eq__peak { background: linear-gradient(180deg, #f0b451, var(--amber)); }

.ruler {
  display: flex; justify-content: space-between; align-items: center;
  gap: .2rem; margin-top: .55rem;
  border-top: 1px dashed var(--line); padding-top: .45rem;
}
.ruler span {
  font-family: var(--font-body); font-size: .62rem; font-weight: 500;
  color: var(--muted); letter-spacing: .04em; font-variant-numeric: tabular-nums;
}
.ruler__unit { color: var(--aqua-deep) !important; font-weight: 700 !important; }

/* eq load animation */
.js .eq span { animation: eqRise .8s var(--ease) backwards; animation-delay: calc(var(--i) * 42ms); }
@keyframes eqRise { from { transform: scaleY(.04); opacity: .2; } to { transform: scaleY(1); opacity: 1; } }

/* =========================================================
   Departments
   ========================================================= */
.depts {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.4vw, 1.6rem);
}
.dept {
  scroll-margin-top: 96px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.dept::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--aqua), var(--aqua-deep));
  transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease);
}
.dept:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); border-color: transparent; }
.dept:hover::before { transform: scaleY(1); }
.dept__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 15px;
  color: var(--aqua-deep); background: var(--mist);
  margin-bottom: 1.1rem;
}
.dept:hover .dept__icon { color: var(--ink); background: var(--aqua-soft); }
.dept__icon svg { width: 30px; height: 30px; }
.dept__title { font-size: 1.4rem; }
.dept__desc { color: var(--muted); margin-top: .55rem; font-size: 1rem; }
.dept__list { margin-top: 1.1rem; display: grid; gap: .5rem; }
.dept__list li {
  position: relative; padding-left: 1.5rem; font-size: .96rem; color: var(--text);
}
.dept__list li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 9px; height: 9px; border-radius: 999px;
  background: var(--paper); border: 2px solid var(--aqua);
}
.dept__link {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.4rem; font-family: var(--font-display); font-weight: 600;
  color: var(--ink); text-decoration: none; font-size: 1rem;
}
.dept__link span { transition: transform .2s var(--ease); }
.dept__link:hover { color: var(--aqua-deep); }
.dept__link:hover span { transform: translateX(4px); }

/* =========================================================
   Feature (image + text)
   ========================================================= */
.feature {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 5vw, 4rem); align-items: center;
}
.feature--reverse .feature__body { order: 2; }
.feature__media {
  margin: 0; position: relative; border-radius: var(--radius-l);
  overflow: hidden; box-shadow: var(--shadow-m);
  outline: 1px solid var(--line-2); outline-offset: -1px;
}
.feature__img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; }
.feature__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.2rem .9rem; font-size: .86rem; color: #eafafb;
  background: linear-gradient(180deg, transparent, rgba(15, 42, 51, .82));
}
.feature__body .btn { margin-top: 1.7rem; }

.list-check { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem 1.2rem; }
.list-check li {
  position: relative; padding-left: 1.75rem; font-size: .98rem; color: var(--text);
}
.list-check li::before {
  content: ""; position: absolute; left: 0; top: .18em;
  width: 18px; height: 18px; border-radius: 999px;
  background: var(--aqua-deep);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 13px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.pill-list { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.pill-list li {
  font-family: var(--font-body); font-weight: 500; font-size: .95rem;
  color: var(--ink); background: var(--mist);
  border: 1px solid var(--line); padding: .5rem 1rem; border-radius: 999px;
}

/* =========================================================
   Steps
   ========================================================= */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.5vw, 1.6rem);
  list-style: none;
}
.step {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.5rem 1.7rem;
  position: relative;
}
.step__num {
  font-family: var(--font-display); font-weight: 700; font-size: 2.2rem;
  color: var(--aqua); letter-spacing: -.03em;
  display: block; line-height: 1;
}
.step__num::after {
  content: ""; display: block; width: 34px; height: 3px; margin-top: .7rem;
  background: var(--amber); border-radius: 2px;
}
.step__title { font-size: 1.28rem; margin-top: 1rem; }
.step__text { color: var(--muted); margin-top: .5rem; font-size: .97rem; }

/* =========================================================
   Quote
   ========================================================= */
.quote {
  margin: 1.9rem 0 0; padding: 1.5rem 1.6rem;
  background: var(--paper); border: 1px solid var(--line);
  border-left: 4px solid var(--aqua); border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-s);
}
.quote blockquote {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem); line-height: 1.4;
  color: var(--ink); letter-spacing: -.01em;
}
.quote figcaption { margin-top: 1rem; font-size: .92rem; color: var(--muted); }
.quote__name { font-weight: 600; color: var(--ink); }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(63, 182, 196, .30), transparent 55%),
    linear-gradient(120deg, var(--ink), var(--ink-2));
  color: #eafafb;
  padding-block: clamp(3rem, 6vw, 4.6rem);
}
.cta-band__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.8rem;
}
.cta-band__title { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.cta-band__text { color: rgba(234, 250, 251, .85); max-width: 34rem; margin-top: .8rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--ink); color: rgba(234, 250, 251, .78); padding-top: clamp(3rem, 6vw, 4.4rem); }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.2rem 1.6rem; padding-bottom: 2.6rem;
}
.brand--footer .brand__name, .brand--footer { color: #fff; }
.brand--footer .brand__sub { color: var(--aqua-soft); }
.footer__tag { margin-top: 1rem; color: rgba(234, 250, 251, .82); max-width: 22rem; }
.footer__demo { margin-top: .8rem; font-size: .82rem; color: rgba(234, 250, 251, .5); }
.footer__heading {
  font-family: var(--font-body); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--aqua-soft);
  margin-bottom: 1rem;
}
.footer__col ul { display: grid; gap: .55rem; }
.footer__col a { color: rgba(234, 250, 251, .78); text-decoration: none; transition: color .2s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__address, .footer__hours { font-style: normal; color: rgba(234, 250, 251, .78); line-height: 1.7; }
.footer__hours { margin-top: .9rem; }
.footer__base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .6rem; padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .88rem; color: rgba(234, 250, 251, .62);
}
.footer__base a { color: rgba(234, 250, 251, .9); text-decoration: underline; text-underline-offset: 3px; }
.footer__base a:hover { color: #fff; }
.footer__credit { color: rgba(234, 250, 251, .7); }

/* =========================================================
   Contact page
   ========================================================= */
.page-hero {
  padding-block: clamp(2.6rem, 6vw, 4rem) clamp(1.6rem, 4vw, 2.6rem);
  background:
    radial-gradient(80% 120% at 90% -20%, rgba(63, 182, 196, .16), transparent 55%),
    var(--paper);
}
.page-hero__inner { max-width: 42rem; }
.page-hero__title { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-top: 1rem; }
.page-hero__lede { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); margin-top: 1rem; }

.book { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.book__grid { display: grid; grid-template-columns: 1.35fr .95fr; gap: clamp(1.8rem, 4vw, 3rem); align-items: start; }

.form-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: clamp(1.4rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow-m);
}
.form-card__title { font-size: 1.5rem; }
.form-card__note { color: var(--muted); margin-top: .5rem; font-size: .96rem; margin-bottom: 1.6rem; }

.field { margin-bottom: 1.15rem; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field label {
  display: block; font-weight: 600; font-size: .92rem; color: var(--ink);
  margin-bottom: .4rem;
}
.field .req { color: var(--aqua-deep); }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--text);
  background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--radius-s); padding: .8rem .9rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #9aabb0; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--aqua-deep);
  box-shadow: 0 0 0 4px rgba(63, 182, 196, .16);
}
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F7E8C' stroke-width='2.4' 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 .9rem center; background-size: 18px;
  padding-right: 2.6rem;
}
.field textarea { resize: vertical; min-height: 120px; }

.consent { display: flex; gap: .65rem; align-items: flex-start; margin: 1.1rem 0 1.5rem; }
.consent input { width: 20px; height: 20px; margin-top: .15rem; flex: none; accent-color: var(--aqua-deep); }
.consent label { font-size: .92rem; color: var(--muted); font-weight: 400; margin: 0; }

.form-foot { font-size: .84rem; color: var(--muted); margin-top: 1rem; text-align: center; }

/* aside */
.aside__block {
  background: var(--mist); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem 1.5rem;
  margin-bottom: 1.2rem;
}
.aside__block h2 {
  font-family: var(--font-body); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--aqua-deep);
  margin-bottom: .9rem;
}
.aside__list { display: grid; gap: .9rem; }
.aside__item { display: flex; gap: .8rem; align-items: flex-start; }
.aside__icon {
  flex: none; width: 40px; height: 40px; border-radius: 11px;
  background: var(--paper); color: var(--aqua-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.aside__icon svg { width: 20px; height: 20px; }
.aside__item a { color: var(--ink); font-weight: 600; text-decoration: none; }
.aside__item a:hover { color: var(--aqua-deep); }
.aside__item span { display: block; font-size: .85rem; color: var(--muted); font-weight: 400; }
.aside__contact { display: flex; flex-direction: column; gap: .7rem; margin-top: .3rem; }
.aside__contact .btn { width: 100%; }
.btn--whatsapp { background: #128C7E; color: #fff; }
.btn--whatsapp:hover { background: #0e7466; transform: translateY(-2px); box-shadow: var(--shadow-m); }

.emergency {
  background: rgba(227, 154, 46, .1); border: 1px solid rgba(227, 154, 46, .35);
  color: #6b4a12; border-radius: var(--radius-s);
  padding: 1rem 1.1rem; font-size: .9rem;
}
.emergency strong { color: #593d0e; }

/* =========================================================
   Thank you page
   ========================================================= */
.thanks { min-height: 62vh; display: grid; place-items: center; text-align: center;
  padding-block: clamp(3.5rem, 9vw, 7rem);
  background:
    radial-gradient(70% 90% at 50% -10%, rgba(63, 182, 196, .16), transparent 55%),
    var(--paper);
}
.thanks__inner { max-width: 40rem; }
.thanks__badge {
  width: 84px; height: 84px; margin: 0 auto 1.6rem;
  border-radius: 999px; background: var(--mist);
  display: grid; place-items: center; color: var(--aqua-deep);
  box-shadow: 0 0 0 10px rgba(63, 182, 196, .1);
}
.thanks__badge svg { width: 42px; height: 42px; }
.thanks__title { font-size: clamp(2rem, 5vw, 3rem); }
.thanks__text { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.18rem); margin-top: 1rem; }
.thanks__eq { display: flex; justify-content: center; align-items: flex-end; gap: 4px; height: 46px; margin: 2rem auto 0; max-width: 260px; }
.thanks__eq span {
  flex: 1; height: var(--h); background: linear-gradient(180deg, var(--aqua), var(--aqua-deep));
  border-radius: 3px; transform-origin: bottom;
}
.js .thanks__eq span { animation: eqRise .8s var(--ease) backwards; animation-delay: calc(var(--i) * 55ms); }
.thanks__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2rem; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero__content { max-width: none; }
  .hero__media { max-width: 30rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .book__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav__list {
    position: fixed; inset: 74px 0 auto 0; z-index: 90;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-m);
    padding: .5rem clamp(1.15rem, 4vw, 2.5rem) 1.2rem;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform .28s var(--ease), opacity .28s var(--ease);
  }
  body.nav-open .nav__list { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__link { padding: .95rem .2rem; border-bottom: 1px solid var(--line-2); font-size: 1.05rem; }
  .nav__link::after { display: none; }
  .nav__cta { margin: .9rem 0 0; text-align: center; padding: .85rem; }
  body.nav-open .nav-toggle__bars { background: transparent; }
  body.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  body.nav-open .nav-toggle__bars::after  { transform: translateY(-6px) rotate(-45deg); }
}

@media (max-width: 620px) {
  .depts { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature--reverse .feature__body { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .list-check { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .field__row { grid-template-columns: 1fr; }
  .gauge { position: relative; left: 0; bottom: 0; width: 100%; margin-top: 1rem; }
  .hero__media { max-width: none; }
}

@media (max-width: 400px) {
  .hero__actions .btn, .thanks__actions .btn { width: 100%; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .eq span, .js .thanks__eq span { animation: none; }
  .btn:hover, .dept:hover, .nav__cta:hover { transform: none; }
}
