/* Serenity Group — crema y azul. Texto azul sobre crema cumple AA. */

:root {
  --cream: #f6f1e6;
  --cream-deep: #efe6d4;
  --paper: #fbf8f2;
  --sand: #e8d5b0;
  --blue: #202a44;
  --blue-soft: #3a4866;
  --line: rgba(32, 42, 68, 0.16);
  --wa: #25d366;
  --header: 76px;
  --dock: 76px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --shadow: 0 18px 40px rgba(32, 42, 68, 0.08);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 140px; }

html.splash-on { overflow: hidden; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--blue);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); }

a:hover { color: var(--blue); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 100;
  background: var(--blue);
  color: var(--cream);
  padding: 10px 14px;
  transform: translateY(-160%);
}

.skip:focus { transform: none; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

p { margin: 0; }

/* ---------- header + persistent CTA ---------- */

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 241, 230, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.persist {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px clamp(18px, 4vw, 40px) 0;
}

.persist-place {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 650;
}

.persist-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 8px clamp(18px, 4vw, 40px) 12px;
}

.logo img { height: 34px; width: auto; }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--blue);
  font: 600 0.78rem/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 560;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.site-nav a[aria-current="page"] { border-bottom-color: var(--blue); }

.dock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  }

.dock-agendar { background: var(--blue); color: var(--cream); }
.dock-agendar:hover { color: var(--cream); background: #2a3654; }

.dock-phone {
  background: var(--paper);
  color: var(--blue);
  border: 1px solid var(--blue);
}

.dock-wa {
  background: var(--wa);
  color: var(--blue);
  border: 1px solid #128a45;
}
.dock-wa:hover { color: var(--blue); background: #2ee070; }

.tag-pending {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sand);
  color: var(--blue);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
}

.tag-pending::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.dock-wa .tag-pending {
  background: transparent;
  padding: 0;
  letter-spacing: 0.06em;
}

.dock-wa .tag-pending::before { background: var(--blue); }

/* ---------- splash ---------- */

.splash {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  place-items: center;
  padding: 28px 22px 96px;
  background-color: #e4c99a;
  background-image:
    radial-gradient(ellipse at 12% 0%, rgba(251, 248, 242, 0.55), transparent 48%),
    radial-gradient(ellipse at 100% 100%, rgba(32, 42, 68, 0.12), transparent 42%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: auto, auto, 140px 140px;
  color: var(--blue);
}

html.splash-on .splash {
  display: grid;
  animation: splash-in 0.6s ease both;
}

.splash-inner {
  width: min(720px, 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.splash-kicker {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 650;
}

.splash-mission {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.25;
}

.splash-source {
  margin: 0;
  max-width: 46ch;
  color: var(--blue-soft);
  font-size: 0.92rem;
}

.splash-skip {
  border: 1px solid var(--blue);
  background: var(--paper);
  color: var(--blue);
  font: 650 0.78rem/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
}

.splash .s-stage { width: 92px; }

@keyframes splash-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- animated brand S ---------- */

.s-stage {
  position: relative;
  width: min(180px, 42vw);
  aspect-ratio: 276 / 357;
}

.s-mark {
  position: absolute;
  inset: 0;
  background-image: url("assets/logo-navy.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 463.77% 100%;
}

.s-mark.layer-a { animation: s-wave 7.5s ease-in-out infinite; }
.s-mark.layer-b {
  animation: s-wave 7.5s ease-in-out infinite -2.5s;
  opacity: 0.45;
  filter: blur(0.2px);
}
.s-mark.layer-c {
  animation: s-wave 7.5s ease-in-out infinite -5s;
  opacity: 0.28;
}

@keyframes s-wave {
  0%, 100% { transform: translate3d(0, 5px, 0); opacity: 0.35; }
  50% { transform: translate3d(0, -8px, 0); opacity: 1; }
}

.s-watermark {
  position: absolute;
  width: min(460px, 58vw);
  aspect-ratio: 276 / 357;
  right: -6vw;
  top: -6vh;
  opacity: 0.08;
  pointer-events: none;
  background-image: url("assets/logo-navy.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 463.77% 100%;
}

/* ---------- layout ---------- */

.wrap {
  width: min(1180px, calc(100% - 2 * clamp(18px, 4vw, 40px)));
  margin-inline: auto;
}

main { padding-bottom: 0; }

.intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(160px, 0.5fr);
  gap: 28px;
  align-items: end;
  min-height: 58vh;
  padding: 54px 0 28px;
  overflow: hidden;
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

h1 { font-size: clamp(3.4rem, 8vw, 6.4rem); }

.lede {
  max-width: 42rem;
  margin-top: 18px;
  font-size: 1.14rem;
  color: var(--blue);
}

.intro-s { justify-self: end; margin-bottom: 12px; }

.portal {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  padding-bottom: 18px;
}

.unit {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color 0.35s ease;
}

.unit:hover,
.unit:focus-within { border-color: var(--blue); }

.unit-media {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--cream-deep);
  overflow: hidden;
}

.unit-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.7s ease;
}

.unit:hover .unit-media img,
.unit:focus-within .unit-media img { transform: scale(1.05); }

.unit-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255, 250, 240, 0.5), transparent 60%),
    var(--sand);
}

.unit-type .s-stage { width: 120px; }

.unit-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; margin-top: auto; }

.unit h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }

.unit h2 a { text-decoration: none; }

.unit-summary { color: var(--blue); }

.unit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.45s ease, margin 0.35s ease;
}

.unit:hover .unit-actions,
.unit:focus-within .unit-actions {
  max-height: 90px;
  opacity: 1;
  transform: none;
  margin-top: 8px;
}

.unit-actions a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--cream);
}

.unit-actions a:hover { border-color: var(--blue); }

.unit-soon { grid-column: 1 / -1; }
.unit-soon .unit-body { padding: 28px; }
.unit-soon .unit-actions { max-height: none; opacity: 1; transform: none; }

.soon-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
}

.quiet-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--blue);
  padding-bottom: 3px;
}

/* ---------- interior pages ---------- */

.page-hero { padding: 64px 0 28px; max-width: 46rem; }

.page-hero h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); }

.page-hero .lede { margin-top: 16px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 28px 0 64px;
}

.split img, .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.frame {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream-deep);
}

.band {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band .wrap, .section { padding: 72px 0; }

.service {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.service-num {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--blue);
}

.service h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 8px; }

.service-note {
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--paper);
  border-left: 3px solid var(--sand);
  color: var(--blue);
  font-size: 0.98rem;
}

.specialty-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.specialty-list li {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
}

.hours { display: grid; gap: 10px; margin: 12px 0 0; }
.hour-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.hour-row dt { font-weight: 650; }
.hour-row dd { margin: 0; }

.photo-grid, .value-grid, .step-grid, .card-grid {
  display: grid;
  gap: 16px;
}

.photo-grid { grid-template-columns: 1fr 1fr; }
.value-grid, .card-grid { grid-template-columns: repeat(4, 1fr); }
.step-grid { grid-template-columns: repeat(4, 1fr); }

.photo-pending {
  margin: 0;
  background: var(--paper);
  border: 1px dashed var(--blue);
  border-radius: 16px;
  overflow: hidden;
}

.photo-pending img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(0.35);
  opacity: 0.88;
}

.photo-pending figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 16px 16px;
  font-size: 0.92rem;
}

.vslot {
  width: min(320px, 100%);
  aspect-ratio: 9 / 16;
  border: 1px dashed var(--blue);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(255, 250, 240, 0.65), transparent 55%),
    var(--sand);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px;
}

.vslot video, .vslot img.poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.vslot p { font-family: var(--serif); font-size: 1.7rem; line-height: 1.15; }
.vslot .fine { font-family: var(--sans); font-size: 0.9rem; }

.card, .value, .step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}

.step { border-radius: 0; border-left: none; border-right: none; border-bottom: none; background: transparent; padding: 18px 8px 0 0; }

.value h3, .card h3, .step h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: 0;
  margin: 8px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
  padding-bottom: 72px;
}

form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  display: grid;
  gap: 16px;
}

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

label { display: grid; gap: 6px; font-size: 0.78rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }

input, textarea {
  font: 400 1rem/1.5 var(--sans);
  color: var(--blue);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  text-transform: none;
  letter-spacing: 0;
}

textarea { resize: vertical; min-height: 140px; }

button[type="submit"], .btn {
  justify-self: start;
  border: none;
  cursor: pointer;
  background: var(--blue);
  color: var(--cream);
  font: 650 0.78rem/1 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 20px;
  border-radius: 999px;
  text-decoration: none;
}

.form-status { min-height: 1.4em; font-size: 0.95rem; }
.fine { color: var(--blue-soft); font-size: 0.92rem; }

.facts { display: grid; gap: 16px; }
.facts h2 { font-size: 2rem; margin-bottom: 8px; }
.facts a { font-weight: 600; }

details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
}

details + details { margin-top: 10px; }

summary { cursor: pointer; font-weight: 650; }

details p { margin-top: 10px; }

.cta-band {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background: var(--blue);
  color: var(--cream);
  border-radius: 18px;
  padding: 36px;
  margin: 28px 0 48px;
}

.closing-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.closing-band h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); max-width: 14ch; }

.closing-band p { margin-top: 12px; max-width: 34rem; color: #d9deea; }

.closing-band .hero-actions { margin-top: 0; flex-shrink: 0; }

.btn-line {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(246, 241, 230, 0.72);
}

.btn-line:hover { color: var(--blue); background: var(--cream); }

.cta-band h2 { color: var(--cream); font-size: clamp(1.8rem, 3vw, 2.6rem); }
.cta-band p { color: var(--sand); margin-top: 8px; }
.cta-band .btn { background: var(--sand); color: var(--blue); }

.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mission-grid h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 10px 0 12px; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--blue);
  color: var(--cream);
  padding: 56px clamp(18px, 4vw, 40px) 28px;
}

.footer-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
}

.site-footer a { color: var(--cream); }
.site-footer p,
.site-footer dt,
.site-footer dd { color: var(--cream); }
.site-footer .tag-pending { color: var(--blue); }

.footer-brand img { height: 42px; width: auto; margin-bottom: 12px; }

.footer-title {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--sand);
  margin-bottom: 10px;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer p { color: #d9deea; }

.legal {
  width: min(1180px, 100%);
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(246, 241, 230, 0.28);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--sand);
}

/* ---------- hero, why, paths, service photos ---------- */

.hero {
  background: var(--blue);
  color: var(--cream);
  padding: 56px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero .eyebrow { color: var(--sand); }

.hero h1 {
  color: var(--cream);
  font-size: clamp(3.2rem, 6vw, 5.4rem);
}

.hero .lede {
  color: var(--cream);
  max-width: 36rem;
}

.hero-frame {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #2a3654;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn-sand { background: var(--sand); color: var(--blue); }
.btn-sand:hover { color: var(--blue); background: #f2e4c8; }

.btn-wa {
  background: var(--wa);
  color: var(--blue);
  border: 1px solid #128a45;
}
.btn-wa:hover { color: var(--blue); background: #2ee070; }

.portal { padding-top: 36px; }

.portal-single { grid-template-columns: 1fr; }

.portal-single .unit {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.portal-single .unit-media { aspect-ratio: 3 / 4; max-height: 520px; }

.portal-multi { grid-template-columns: 1.15fr 0.85fr; }

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.why-photo { aspect-ratio: 3 / 4; }

.why-list { display: grid; gap: 22px; margin-top: 28px; }

.why-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
}

.why-rule {
  width: 34px;
  height: 1px;
  background: #b99b5e;
  margin-top: 14px;
}

.why-item h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: 0;
  margin: 0 0 4px;
}

.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}

.path-card {
  position: relative;
  display: block;
  min-height: 340px;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: var(--cream);
}

.path-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.path-card:hover img,
.path-card:focus-visible img { transform: scale(1.04); }

.path-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 80px 28px 24px;
  background: linear-gradient(transparent, rgba(32, 42, 68, 0.92));
}

.path-kicker {
  margin: 0 0 8px;
  color: var(--sand);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.path-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.15;
  color: var(--cream);
}

.path-more { margin: 8px 0 0; color: #d9deea; }

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.service-photo { aspect-ratio: 3 / 4; }

.service-body { margin-top: 10px; }

.services-list { padding-bottom: 28px; }

.band-navy {
  background: var(--blue);
  color: var(--cream);
  border-color: var(--blue);
}

.band-navy h2,
.band-navy p { color: var(--cream); }

.band-navy .specialty-list li {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246, 241, 230, 0.4);
}

.page-hero-split { padding-top: 64px; }
.page-hero-split h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); }
.page-hero-split .btn { margin-top: 22px; }

.steps-3 { grid-template-columns: repeat(3, 1fr); }

.photo-pair { margin-top: 36px; }

.faq { margin-top: 16px; }

.value-grid { margin-top: 22px; }
.step-grid, .card-grid { margin-top: 22px; }

form { position: relative; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status.is-ok,
.form-status.is-err { font-weight: 650; }

.site-footer .hour-row { border-bottom-color: rgba(246, 241, 230, 0.28); }

/* ---------- motion ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .s-mark.layer-a,
  .s-mark.layer-b,
  .s-mark.layer-c { animation: none; opacity: 1; transform: none; }
  .s-mark.layer-b,
  .s-mark.layer-c { display: none; }
  html.splash-on .splash { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .unit-media img,
  .path-card img { transition: none; }
}

@media (hover: none) {
  .unit-actions {
    max-height: none;
    opacity: 1;
    transform: none;
    margin-top: 8px;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .portal,
  .portal-multi,
  .portal-single .unit,
  .index-grid,
  .split,
  .contact-grid,
  .mission-grid,
  .footer-grid,
  .hero-grid,
  .why-grid,
  .path-grid,
  .service-row,
  .service-row.is-flip {
    grid-template-columns: 1fr;
  }
  .closing-band .wrap { flex-direction: column; align-items: flex-start; }
  .service-row.is-flip .service-photo { order: 0; }
  .steps-3 { grid-template-columns: 1fr; }
  .portal-single .unit-media { max-height: none; }
  .value-grid, .step-grid { grid-template-columns: 1fr 1fr; }
  .intro { grid-template-columns: 1fr; min-height: 0; }
  .intro-s { justify-self: start; }
  .s-watermark { opacity: 0.06; top: 0; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .persist-place { display: none; }
  .persist { padding-bottom: 0; }
  .persist-actions { width: 100%; }
  .persist-actions .dock-btn { flex: 1; padding-inline: 6px; font-size: 0.68rem; letter-spacing: 0.04em; white-space: nowrap; }
  .persist-actions .tag-pending { display: none; }
  .site-header { flex-wrap: wrap; }
  .site-nav {
    display: none;
    width: 100%;
    order: 3;
    padding-bottom: 8px;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .photo-grid, .value-grid, .step-grid, .card-grid, .fields { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 4px; }
  .cta-band, .legal, .hour-row { flex-direction: column; align-items: flex-start; }
  .page-hero,
  .page-hero-split { padding-top: 40px; }
  .hero { padding: 36px 0 42px; }
}

