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

:root {
  --gold: #f8b04b;
  --navy: #0e5475;
  --deep: #082433;
  --ice: #e7eef1;
  --ink: #0a3044;
  --margin: clamp(22px, 6vw, 96px);
  --font: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

html {
  background: var(--deep);
}

html:has(body.page-doc) {
  background: var(--ice);
}

body {
  font-family: var(--font);
  color: white;
  background: var(--deep);
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 5;
  background: var(--gold);
  color: var(--deep);
  padding: 8px 12px;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.film {
  height: 600vh;
}

.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--deep) url("../media/poster.jpg") center / cover no-repeat;
}

video,
.stills img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cuadros fijos por capítulo: se ven mientras carga el video y cuando no se usa (movimiento reducido, ahorro de datos). */
.stills img {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.stills img.is-on {
  opacity: 1;
}

video {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.stage[data-mode="video"] video {
  opacity: 1;
}

.film-load {
  position: absolute;
  left: 50%;
  bottom: 56px;
  transform: translateX(-50%);
  z-index: 5;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(231, 238, 241, 0.9);
  color: var(--deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.stage[data-mode="loading"] .film-load {
  opacity: 1;
}

.scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.scrim--left {
  background:
    linear-gradient(180deg, rgba(231, 238, 241, 0.42) 0%, rgba(231, 238, 241, 0) 12%),
    linear-gradient(90deg, rgba(231, 238, 241, 0.86) 0%, rgba(231, 238, 241, 0.68) 22%, rgba(231, 238, 241, 0.28) 40%, rgba(231, 238, 241, 0) 56%);
}

.scrim--right {
  opacity: 0;
  background:
    linear-gradient(180deg, rgba(231, 238, 241, 0.42) 0%, rgba(231, 238, 241, 0) 12%),
    linear-gradient(270deg, rgba(231, 238, 241, 0.86) 0%, rgba(231, 238, 241, 0.68) 22%, rgba(231, 238, 241, 0.28) 40%, rgba(231, 238, 241, 0) 56%);
}

.stage.is-right .scrim--left {
  opacity: 0;
}

.stage.is-right .scrim--right {
  opacity: 1;
}

.top {
  position: fixed;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  padding: 14px var(--margin);
}

.top.is-solid,
.top.is-open {
  background: rgba(231, 238, 241, 0.96);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.nav a.is-active {
  box-shadow: inset 0 -2px 0 var(--gold);
}

.nav a.nav__cta {
  color: var(--deep);
  background: var(--gold);
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
}

.top.is-solid .nav a,
.top.is-open .nav a {
  color: var(--navy);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--gold);
}

.nav a.nav__cta:hover,
.nav a.nav__cta:focus-visible {
  color: var(--deep);
}

.top.is-solid .nav__cta,
.top.is-open .nav__cta {
  color: var(--deep);
  background: var(--gold);
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
}

.top.is-solid .nav a:hover,
.top.is-solid .nav a:focus-visible,
.top.is-open .nav a:hover,
.top.is-open .nav a:focus-visible {
  color: var(--deep);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 8px;
  background: var(--navy);
}

.top.is-solid .nav-toggle span,
.top.is-open .nav-toggle span {
  background: var(--navy);
}

.top img {
  display: block;
  width: auto;
  height: 36px;
}

.mark {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.top__link {
  margin-left: auto;
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.top__link:hover,
.top__link:focus-visible {
  color: var(--gold);
}

.panel {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 88px 0 48px;
  color: var(--ink);
  pointer-events: none;
}

.stage.is-right .panel {
  justify-content: flex-end;
}

.slide {
  display: none;
  position: relative;
  width: min(540px, calc(100% - 2 * var(--margin)));
  max-height: calc(100vh - 150px);
  margin-left: var(--margin);
  margin-right: var(--margin);
  overflow: auto;
  pointer-events: none;
}

.slide.is-on {
  display: block;
  pointer-events: auto;
}

.panel-kicker {
  color: #3d5a6a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel-title {
  margin-top: 14px;
  max-width: 12ch;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 520;
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 0.94;
  letter-spacing: -0.02em;
}

.panel-title span {
  display: block;
}

.panel-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}

.panel-lead {
  margin-top: 16px;
  max-width: 42ch;
  color: #3d5a6a;
  font-size: 16px;
  line-height: 1.5;
}

.panel .pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: 100%;
  max-width: 460px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
  background: rgba(14, 84, 117, 0.18);
  border: 1px solid rgba(14, 84, 117, 0.18);
}

.panel .pillars li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  background: white;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.panel .pillars svg {
  width: 16px;
  height: 16px;
  color: var(--navy);
}

.panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin-top: 8px;
  padding: 0 18px;
  background: var(--gold);
  color: var(--deep);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.panel-cta--ghost {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(14, 84, 117, 0.35);
}

.dash {
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid rgba(14, 84, 117, 0.18);
  background: white;
}

.dash header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--navy);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dash header em {
  margin-left: auto;
  color: var(--gold);
  font-style: normal;
}

.dash__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ecf8e;
}

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

.dash__kpis p {
  padding: 10px 12px;
  border-top: 1px solid rgba(14, 84, 117, 0.12);
}

.dash__kpis small {
  display: block;
  color: #5f7380;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dash__kpis strong {
  display: block;
  margin-top: 2px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
}

.dash__kpis p:last-child strong {
  color: #c27d16;
}

.dash__body {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: 10px;
  padding: 10px 12px 12px;
  background: #f6fafc;
}

.dash__body svg {
  width: 100%;
  height: 78px;
  display: block;
}

.dash__map {
  background: #eef5f8;
}

.slide .areas {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.slide .area {
  height: 92px;
  min-height: 0;
}

.slide .area img {
  position: absolute;
  inset: 0;
}

.slide .area span {
  z-index: 2;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slide .area::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 62%;
  background: linear-gradient(to top, rgba(8, 36, 51, 0.72), transparent);
  pointer-events: none;
}

.slide .area--mix {
  grid-column: 1 / -1;
  display: block;
  height: 108px;
}

.slide .area--mix img:nth-child(1) {
  object-position: 30% center;
  clip-path: polygon(0 0, 40% 0, 26% 100%, 0 100%);
}

.slide .area--mix img:nth-child(2) {
  object-position: 48% center;
  clip-path: polygon(38% 0, 72% 0, 58% 100%, 24% 100%);
}

.slide .area--mix img:nth-child(3) {
  object-position: 70% center;
  clip-path: polygon(70% 0, 100% 0, 100% 100%, 56% 100%);
}

.slide .mix-labels {
  left: 10px;
  right: 10px;
  bottom: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  font-size: 11px;
}

.slide .mix-labels em {
  font-style: normal;
}

.slide .mix-labels em:nth-child(2) {
  text-align: center;
}

.slide .mix-labels em:nth-child(3) {
  text-align: right;
}

body.page-doc {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--ice);
  color: var(--ink);
}

body.page-doc main {
  flex: 1;
}

.facts {
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

.facts li {
  padding: 12px 0;
  border-top: 1px solid rgba(14, 84, 117, 0.18);
}

.facts li:last-child {
  border-bottom: 1px solid rgba(14, 84, 117, 0.18);
}

.facts strong {
  display: block;
  font-size: 15px;
}

.facts span,
.mini {
  display: block;
  margin-top: 4px;
  color: #3d5a6a;
  font-size: 14px;
  line-height: 1.45;
}

.specs-inline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.specs-inline strong {
  display: block;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}

.specs-inline span {
  display: block;
  margin-top: 4px;
  color: #3d5a6a;
  font-size: 13px;
}

.names {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.names li {
  padding: 8px 12px;
  background: white;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.service-line {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(14, 84, 117, 0.16);
}

.service-line h3 {
  font-size: 16px;
}

.service-line h3 small {
  margin-left: 8px;
  color: var(--navy);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-line p {
  margin-top: 4px;
  color: #3d5a6a;
  font-size: 14px;
  line-height: 1.45;
}

.service-line a {
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.panel .fields {
  margin-top: 16px;
}

.panel input,
.panel textarea {
  background: white;
}

.copy {
  position: absolute;
  z-index: 2;
  left: var(--margin);
  bottom: 56px;
  max-width: min(640px, calc(100% - 2 * var(--margin)));
}

.kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.title {
  margin-top: 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.lead {
  margin-top: 16px;
  max-width: 38ch;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.beats {
  display: none;
}

.beats .is-on {
  color: var(--gold);
}

.hint {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 0.4s ease;
}

.hint.is-gone {
  opacity: 0;
}

.meter {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.22);
}

.meter span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
}

.cierre {
  position: relative;
  z-index: 2;
  background: var(--ice);
  color: var(--ink);
  padding: 104px var(--margin) 120px;
}

.kicker--navy {
  color: var(--navy);
}

.cierre h1 {
  margin-top: 14px;
  max-width: 12ch;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.cierre__text {
  margin-top: 22px;
  max-width: 42ch;
  font-size: 18px;
  line-height: 1.5;
  color: #3d5a6a;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  background: var(--gold);
  color: var(--deep);
  text-decoration: none;
  font-weight: 700;
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(14, 84, 117, 0.35);
}

.btn:focus-visible,
.top__link:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.page {
  position: relative;
  z-index: 2;
  background: var(--ice);
  color: var(--ink);
}

.block {
  padding: 88px var(--margin);
  scroll-margin-top: 84px;
}

.block--white {
  background: white;
}

.block h1,
.block h2,
.legal h1 {
  margin-top: 12px;
  max-width: 16ch;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.block h1 em,
.block h2 em,
.legal h1 em {
  font-style: italic;
}

.lede {
  margin-top: 18px;
  max-width: 46ch;
  font-size: 18px;
  line-height: 1.5;
  color: #3d5a6a;
}

.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.pillars li {
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(14, 84, 117, 0.22);
  font-weight: 700;
  font-size: 14px;
}

.cols,
.specs,
.services {
  display: grid;
  gap: 22px;
  margin-top: 36px;
}

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

.cols article,
.spec {
  padding-top: 16px;
  border-top: 1px solid rgba(14, 84, 117, 0.18);
}

.cols h3,
.service h3 {
  font-size: 18px;
  line-height: 1.3;
}

.cols p,
.service p,
.note,
.legal p,
.legal li {
  margin-top: 10px;
  color: #3d5a6a;
  font-size: 16px;
  line-height: 1.5;
}

.tag {
  display: block;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.spec strong {
  display: block;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.spec span {
  display: block;
  margin-top: 6px;
  color: #3d5a6a;
}

.demo {
  margin-top: 28px;
  max-width: 640px;
  background: white;
  border: 1px solid rgba(14, 84, 117, 0.16);
}

.demo header,
.demo div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.demo header {
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid rgba(14, 84, 117, 0.12);
}

.demo strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}

.demo small {
  color: #5f7380;
}

.areas {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.area {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  color: white;
  text-decoration: none;
  background: var(--deep);
}

.area img,
.mix img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.area span,
.mix-labels {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.area--mix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.area--mix img:first-child {
  grid-row: 1 / span 2;
}

.mix-labels {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

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

#servicios {
  background: var(--ice);
  color: var(--ink);
}

.service {
  background: white;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}

.block--white .service {
  background: var(--ice);
}

.service figure {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #d7e4ea;
}

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

.service h3,
.service p {
  padding-left: 18px;
  padding-right: 18px;
}

.service h3 {
  margin-top: 16px;
}

.service h3 small {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service .more {
  margin: 8px 18px 18px;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.service .more:hover,
.service .more:focus-visible {
  color: var(--deep);
}

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

.contact a {
  color: var(--navy);
}

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

.field--full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
}

.req {
  color: var(--navy);
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(14, 84, 117, 0.28);
  background: white;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-consent,
.form-status {
  margin-top: 12px;
  color: #3d5a6a;
  font-size: 14px;
}

.form-status.is-error {
  color: #8a2e2e;
}

.form-status.is-ok {
  color: var(--navy);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

button.btn {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px var(--margin) 36px;
  background: var(--deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.site-footer a {
  color: white;
}

.legal {
  max-width: 68ch;
  padding: 120px var(--margin) 80px;
}

.legal h2 {
  margin-top: 28px;
  font-size: 22px;
}

.legal ul {
  margin: 8px 0 0 18px;
}

@media (max-width: 980px) {
  .cols,
  .specs,
  .services,
  .areas {
    grid-template-columns: 1fr 1fr;
  }

  .contact,
  .fields {
    grid-template-columns: 1fr;
  }

  .field--full {
    grid-column: auto;
  }
}

@media (max-width: 800px) {
  .scrim {
    background: linear-gradient(180deg, rgba(231, 238, 241, 0.28) 0%, rgba(231, 238, 241, 0.62) 42%, rgba(231, 238, 241, 0.84) 100%);
  }

  .panel,
  .stage.is-right .panel {
    justify-content: flex-start;
    align-items: flex-end;
    padding-bottom: 28px;
  }

  .slide {
    width: auto;
    max-height: 62vh;
  }

  .stage.is-right .scrim--left {
    opacity: 1;
  }

  .scrim--right {
    display: none;
  }

  .beats,
  .hint {
    display: none;
  }

  .panel-title {
    font-size: 36px;
  }

  .specs-inline,
  .panel .pillars {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .top .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px var(--margin) 18px;
    background: var(--ice);
  }

  .top.is-open .nav,
  .top--legal .nav {
    display: flex;
  }

  .top--legal .nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
    padding: 0;
    background: transparent;
  }

  .top.is-open .nav a,
  .top.is-open .nav__cta {
    color: var(--navy);
    background: transparent;
    min-height: 42px;
    padding: 0;
  }

  .cols,
  .specs,
  .services,
  .areas {
    grid-template-columns: 1fr;
  }

  .block {
    padding: 64px var(--margin);
  }
}

.page-doc .top {
  background: linear-gradient(180deg, rgba(231, 238, 241, 0.82) 0%, rgba(231, 238, 241, 0.28) 62%, transparent 100%);
}

.page-doc .top.is-open {
  background: rgba(231, 238, 241, 0.96);
}

.doc-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 62vh;
  padding: 160px var(--margin) 48px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(231, 238, 241, 0.35) 0%, rgba(231, 238, 241, 0.05) 46%, rgba(231, 238, 241, 0.82) 84%, var(--ice) 100%),
    var(--scene) center / cover no-repeat;
}

.doc-hero--plain {
  background:
    linear-gradient(180deg, rgba(231, 238, 241, 0.35) 0%, rgba(231, 238, 241, 0.05) 46%, rgba(255, 255, 255, 0.88) 84%, white 100%),
    var(--scene) center / cover no-repeat;
}

.doc-hero__content {
  max-width: 720px;
}

.doc-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #3d5a6a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.doc-hero__label span {
  width: 24px;
  height: 1px;
  background: rgba(14, 84, 117, 0.35);
}

.doc-hero h1 {
  color: var(--ink);
  font-weight: 520;
  font-size: clamp(40px, 5vw, 80px);
  line-height: 0.94;
  letter-spacing: 0;
}

.doc-hero h1 em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  white-space: nowrap;
}

.doc-sheet {
  background: var(--ice);
  color: var(--ink);
}

.doc-sheet__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px var(--margin) 88px;
}

.doc-kicker {
  margin-bottom: 12px;
  color: #5f7380;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.doc-title {
  max-width: none;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 520;
  line-height: 1.02;
}

.doc-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.doc-lead {
  max-width: none;
  margin-bottom: 40px;
  color: #3d5a6a;
  font-size: 16px;
  line-height: 1.6;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 32px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(14, 84, 117, 0.16);
}

.service-card figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: #d5e0e6;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(8, 36, 51, 0.12);
}

.card-icon svg {
  width: 16px;
  height: 16px;
}

.card-icon--gold {
  color: #c27d16;
}

.service-card h3 {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
}

.service-card h3 small {
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.service-card p {
  color: #3d5a6a;
  font-size: 14.5px;
  line-height: 1.55;
}

.service-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.service-cta svg {
  width: 12px;
  height: 12px;
}

.service-cta:hover,
.service-cta:focus-visible {
  gap: 12px;
  color: var(--deep);
}

.contact-band {
  background: white;
  color: var(--navy);
  padding: 88px var(--margin) 96px;
}

.contact-band__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-band .doc-kicker {
  color: #c27d16;
}

.contact-band .doc-title,
.contact-band .contact-meta a {
  color: var(--navy);
}

.contact-band .doc-title em {
  color: #c27d16;
}

.contact-band .doc-lead {
  margin-bottom: 0;
  color: var(--navy);
}

.contact-meta {
  padding-top: 16px;
  border-top: 1px solid rgba(14, 84, 117, 0.18);
}

.contact-meta dt {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-meta dd {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
}

.contact-meta a {
  color: var(--navy);
  text-decoration: none;
}

.contact-meta a:hover,
.contact-meta a:focus-visible {
  color: #c27d16;
}

.contact-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 20px;
  align-items: end;
}

.contact-form .field {
  min-width: 0;
}

.contact-form .field label {
  display: flex;
  align-items: flex-end;
  min-height: 2.6em;
  margin-bottom: 0;
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.contact-form .req {
  color: #c27d16;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 8px 0 10px;
  border: 0;
  border-bottom: 1px solid rgba(14, 84, 117, 0.22);
  border-radius: 0;
  background: transparent;
  color: var(--navy);
  caret-color: var(--gold);
}

.contact-form input {
  height: 42px;
}

.contact-form textarea {
  height: 88px;
  min-height: 88px;
  line-height: 1.45;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.contact-form .form-consent,
.contact-form .form-actions {
  grid-column: 1 / -1;
}

.contact-form .form-consent {
  margin-top: 0;
  color: var(--navy);
  font-size: 12px;
}

.contact-form .form-consent a {
  color: var(--navy);
}

.doc-send {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: var(--gold);
  color: var(--deep);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.doc-send svg {
  width: 12px;
  height: 12px;
}

.doc-send:hover,
.doc-send:focus-visible {
  background: transparent;
  color: var(--navy);
}

@media (max-width: 900px) {
  .service-grid,
  .contact-band__inner,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .doc-hero {
    min-height: 52vh;
    padding: 120px 22px 36px;
  }

  .doc-hero h1 {
    font-size: clamp(36px, 11vw, 56px);
  }

  .doc-hero h1 em {
    white-space: normal;
  }

  .doc-sheet__inner,
  .contact-band {
    padding: 40px 22px 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stills img {
    transition: none;
  }

  .hint {
    display: none;
  }
}
