:root {
  --navy: #0B2138;
  --navy-soft: #16344F;
  --teal: #00BDB4;
  --teal-text: #00857F;
  --teal-tint: #D8F3F1;
  --paper: #F4F6F5;
  --panel-outer: #D7E4E2;
  --panel-inner: #F8FAF9;
  --white: #FFFFFF;
  --rule: #C4D0CE;
  --text-sec: #405164;
  --card-border: #C4D0CE;
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --header-h: 68px;
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

html { font-size: 125%; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--navy);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal-text); }

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 4px;
  text-decoration: none;
}

.skip-link:focus { top: 12px; color: var(--white); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
  padding: 0 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.site-header .brand-mark {
  width: 38px;
  height: 38px;
}

.site-header .brand-name {
  font-size: calc(0.98rem + 2px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li {
  display: flex;
  align-items: center;
}

.nav-list li:not(:last-child)::after {
  content: "·";
  color: var(--rule);
  margin: 0 0.45rem;
  font-weight: 600;
  pointer-events: none;
}

.nav-list a {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--text-sec);
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 0;
}

.nav-list a:hover {
  color: var(--navy);
}

.nav-list a[aria-current="page"] {
  position: relative;
  z-index: 0;
  color: var(--navy);
  font-weight: 600;
}

.nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.12em;
  right: -0.08em;
  bottom: 0.18em;
  height: 0.42em;
  background: var(--teal);
  opacity: 0.45;
  border-radius: 2px 8px 3px 7px;
  transform: skewX(-10deg) rotate(-1.2deg);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
  text-decoration: none;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
  padding: 11px 18px;
  border: 0;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--navy-soft);
  color: var(--white);
}

.btn-nav { padding: 9px 16px; font-size: 0.84rem; }

.text-link {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--navy);
}

.text-link:hover {
  color: var(--teal-text);
  text-decoration-color: var(--teal-text);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 4px;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--navy);
  position: relative;
  margin: 0 auto;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }

.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 22px;
}

.hero-copy h1 {
  position: relative;
  z-index: 2;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(3.2rem, 5.4vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 auto 0 1.2vw;
  color: var(--navy);
  width: max-content;
  max-width: 100%;
  text-align: left;
}

.hero-copy h1 .hero-lead {
  display: block;
}

.hero-copy h1 .hero-sub {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-left: 1.15em;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.hero-copy h1 .highlight {
  font-style: italic;
}

.hero-walk {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1080 / 430;
  margin: -36px auto 0;
  pointer-events: none;
}

.hero-walk object {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  animation: hero-arrive 1.15s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes hero-arrive {
  from { transform: translateX(-14%); }
  to { transform: translateX(0); }
}

.hero-kicker {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--teal-text);
}

.highlight {
  position: relative;
  z-index: 0;
  font-style: italic;
  white-space: nowrap;
}

.highlight::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.14em;
  right: -0.08em;
  bottom: 0.06em;
  height: 0.46em;
  background: var(--teal);
  opacity: 0.45;
  border-radius: 2px 8px 3px 7px;
  transform: skewX(-10deg) rotate(-1.2deg);
}


.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0 0 22px;
  width: 100%;
  max-width: 7.5rem;
}

.lede {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--navy);
  margin: 0 0 12px;
}

.body {
  color: var(--text-sec);
  margin: 0 0 28px;
  max-width: 34rem;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  color: var(--text-sec);
  font-size: 0.88rem;
}

.trust li {
  display: flex;
  align-items: center;
}

.trust li:not(:last-child)::after {
  content: "·";
  margin: 0 0.75rem;
  color: var(--teal-text);
}

body.option-a {
  background: var(--panel-inner);
  min-height: 100vh;
  padding: 0;
  overflow-x: clip;
}

.frame {
  background: var(--panel-inner);
  border-radius: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 40px 0;
  position: relative;
}

.frame main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.frame .site-header {
  margin: 0 -12px;
  padding: 0 12px;
  border-bottom: 1px solid var(--rule);
}

.hero {
  display: flex;
  justify-content: center;
  min-height: 0;
  padding: 76px 0 8px;
}

.hero-copy {
  width: 100%;
}

.hero-visual { min-width: 0; }

/* ----- Gantt of norms: one card per row, staggered across 4 lanes ----- */

.gantt-scroll { overflow: visible; }

.gantt-board {
  position: relative;
}

.gantt-flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 4;
}

.gantt-flow path.flow-line {
  fill: none;
  stroke: #00BDB4;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.55;
}

.gantt-flow circle.flow-node {
  fill: #ffffff;
  stroke: #00BDB4;
  stroke-width: 1.5;
}

.gantt-flow { display: none; }

.gantt {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.78fr 0.95fr 1.05fr;
  grid-template-rows: auto auto auto auto;
  gap: 16px 14px;
  align-items: stretch;
  padding: 10px 6px 10px 0;
}

.p1 { grid-column: 1 / 3; grid-row: 1; }
.p2 { grid-column: 3 / 4; grid-row: 1 / 3; }
.p3 { grid-column: 4 / 5; grid-row: 1; }
.p4 { grid-column: 1 / 2; grid-row: 2 / 4; }
.p5 { grid-column: 2 / 3; grid-row: 2; }
.p6 { grid-column: 3 / 5; grid-row: 3; }
.p7 { grid-column: 1 / 3; grid-row: 4; }
.p8 { grid-column: 3 / 5; grid-row: 4; }

.p1 .gantt-card-face { transform: rotate(-1.4deg); }
.p3 .gantt-card-face { transform: rotate(1.8deg); }
.p5 .gantt-card-face { transform: rotate(-1deg); }
.p6 .gantt-card-face { min-height: 118px; }
.gantt .gantt-card-face { height: 100%; }


.c1 { grid-column: 1; }
.c2 { grid-column: 2; }
.c3 { grid-column: 3; }
.c4 { grid-column: 4; }
.c1-2 { grid-column: 1 / 3; }
.c2-3 { grid-column: 2 / 4; }
.c3-4 { grid-column: 3 / 5; }
.r1 { grid-row: 1; }
.r2 { grid-row: 2; }
.r3 { grid-row: 3; }
.r4 { grid-row: 4; }
.r5 { grid-row: 5; }
.r6 { grid-row: 6; }
.r7 { grid-row: 7; }
.r8 { grid-row: 8; }
.gantt-card {
  position: relative;
  z-index: 2;
  min-width: 0;
  animation: rise-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s) both;
}

.gantt-card-face {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: auto;
  min-height: 100%;
  padding: 12px 16px 13px;
  overflow: visible;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(11, 33, 56, 0.07), 0 2px 8px rgba(11, 33, 56, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .gantt-card:hover { z-index: 3; }
  .gantt-card:hover .gantt-card-face {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(11, 33, 56, 0.11), 0 4px 12px rgba(11, 33, 56, 0.05);
  }
}

.gantt-card .group {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 6px;
  padding: 3px 9px 3px 7px;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.25;
  white-space: normal;
  overflow: visible;
  background: rgba(0, 189, 180, 0.16);
  color: var(--navy);
}

.gantt-card .group-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: #006460;
}

.gantt-card h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.gantt-card p:not(.group) {
  margin: 4px 0 0;
  font-size: 0.85rem;
  line-height: 1.3;
  color: var(--text-sec);
}

.card-mint .gantt-card-face {
  background: linear-gradient(165deg, #F4FBFA 0%, #D8F3F1 100%);
  color: var(--navy);
}

.card-mint-deep .gantt-card-face {
  background: linear-gradient(165deg, #E8F7F6 0%, #C8EDEC 100%);
  color: var(--navy);
}

.card-navy-soft .gantt-card-face {
  background: linear-gradient(165deg, #F5F7F9 0%, #E2E8EE 100%);
  color: var(--navy);
}

.card-navy-soft .group {
  background: rgba(11, 33, 56, 0.08);
}

.card-ice .gantt-card-face {
  background: linear-gradient(165deg, #FFFFFF 0%, #F3F7F6 100%);
  color: var(--navy);
}

.card-accent .gantt-card-face {
  background: linear-gradient(165deg, #1AC9C2 0%, #00BDB4 72%);
  color: var(--navy);
}

.card-accent .group {
  background: rgba(11, 33, 56, 0.12);
}

.card-accent .group-icon { color: var(--navy); }

.card-accent p:not(.group) { color: var(--navy); }

.gantt-quote {
  margin: 16px 0 0;
  padding: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08rem;
  line-height: 1.4;
  color: var(--navy);
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-foot {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
  padding-bottom: 4px;
}

/* ----- Problema: situations / priorities ----- */

.problem {
  --problem-bg: #D8F3F1;
  background: var(--problem-bg);
  margin: 0 -40px 0;
  padding: 64px 40px 72px;
}

/* ----- Servicios: escenario con índice ----- */

.services {
  margin: 0 -40px 0;
  padding: 72px 40px 64px;
  background: #F7F8F7;
}

.services-head {
  max-width: 40rem;
  margin: 0 auto 28px;
  text-align: center;
}

.services-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--navy);
  text-wrap: balance;
}

.services-head .btn-primary {
  margin-top: 22px;
}

.services-run {
  display: block;
}

.services-index {
  padding-bottom: 0;
}

.service-item {
  min-height: calc(100vh - 48px);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1.05fr);
  gap: 36px 64px;
  align-items: start;
  padding: 64px 0 72px;
  scroll-margin-top: 4vh;
}

.svc-main {
  position: sticky;
  top: 28px;
  align-self: start;
}

.service-btn {
  appearance: none;
  display: block;
  text-decoration: none;
  width: 100%;
  margin: 0;
  padding: 18px 16px 18px 18px;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--text-sec);
  font: inherit;
}

.service-item.is-active .service-btn {
  border-left-color: var(--teal);
  color: var(--navy);
}

.svc-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.service-item[data-service="cumplimiento"] { --accent: #00BDB4; --accent-soft: #D8F3F1; --accent-ink: #00857F; }
.service-item[data-service="oficial"] { --accent: #1B4F72; --accent-soft: #E3EAF1; --accent-ink: #1B4F72; }
.service-item[data-service="calidad"] { --accent: #2E8B74; --accent-soft: #DCEEE6; --accent-ink: #1F6B58; }
.service-item[data-service="diagnostico"] { --accent: #C47B2B; --accent-soft: #F6E8D4; --accent-ink: #8C5616; }
.service-item[data-service="formacion"] { --accent: #5B6BB5; --accent-soft: #E6E8F5; --accent-ink: #3E4C8C; }
.service-item[data-service="datos"] { --accent: #0E7C86; --accent-soft: #D8EEF0; --accent-ink: #0B5E66; }

.service-item .svc-num { color: var(--accent-ink); }
.service-item .service-btn { border-left-color: var(--accent); }
.service-item .service-art::before { background: var(--accent-soft); }
.service-item .service-lines li::before { background-color: var(--accent); }
.service-item .highlight::after { background: var(--accent); }
.service-item.is-active .svc-num { color: var(--accent-ink); }
.service-item.is-active .service-btn { border-left-color: var(--accent); }

.svc-name {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.1vw, 1.95rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.svc-aside {
  display: grid;
  grid-template-columns: minmax(160px, 230px) minmax(0, 1fr);
  gap: 8px 16px;
  align-items: center;
  margin-top: 18px;
}

.svc-promise {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.4;
}

.svc-promise li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: baseline;
}

.svc-promise li + li { margin-top: 8px; }

.svc-promise li::before {
  content: "";
  width: 16px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  transform: translateY(-0.32em);
}

.service-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 168px;
}

.service-art::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 54%;
  width: 92%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: #E4F3F1;
  border-radius: 50%;
  pointer-events: none;
}

.service-art img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 100%;
  max-height: 230px;
  object-fit: contain;
}

.service-item.is-active .service-art img {
  animation: svc-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes svc-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.svc-detail {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 28px;
  min-width: 0;
}

.service-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-lines li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: center;
  font-size: 1.08rem;
  line-height: 1.4;
}

.service-lines li::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%230B2138' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' d='M3.2 8.2 6.3 11.2 12.8 4.6'/></svg>") center / 13px 13px no-repeat;
}

.service-ideal {
  margin: 0;
  padding: 0;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.problem-copy {
  max-width: 40rem;
  margin: 0 auto 40px;
  text-align: center;
}

.problem h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.85rem, 3.1vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 16px;
  text-wrap: balance;
}

.problem-intro {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-sec);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.problem-pair {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s);
}

.problem-copy,
.problem-actions {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s);
}

.problem-pair.is-in,
.problem-copy.is-in,
.problem-actions.is-in {
  opacity: 1;
  transform: none;
}

.problem-flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}

.problem-flow path.flow-line {
  fill: none;
  stroke: #00BDB4;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.55;
}

.problem-flow circle.flow-node {
  fill: #ffffff;
  stroke: #00BDB4;
  stroke-width: 1.5;
}

.problem-card {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.problem-card-face {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  padding: 22px 22px 24px;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(11, 33, 56, 0.07), 0 2px 8px rgba(11, 33, 56, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.problem-card.card-ice .problem-card-face {
  background: linear-gradient(165deg, #FFFFFF 0%, #F3F7F6 100%);
  color: var(--navy);
}

.problem-card.card-navy-soft .problem-card-face {
  background: linear-gradient(165deg, #F5F7F9 0%, #E2E8EE 100%);
  color: var(--navy);
}

.problem-card.card-paper .problem-card-face {
  background: linear-gradient(165deg, #FBFCFC 0%, #EEF4F3 100%);
  color: var(--navy);
}

.problem-card-a .problem-card-face {
  background: linear-gradient(165deg, #F7FBFA 0%, #E8F5F3 100%);
  color: var(--navy);
}

@media (hover: hover) and (pointer: fine) {
  .problem-card:hover .problem-card-face {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(11, 33, 56, 0.11), 0 4px 12px rgba(11, 33, 56, 0.05);
  }
}

.problem-card h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-wrap: balance;
}

.problem-card-a p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-sec);
}

.problem-actions {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

@media (max-width: 1080px) {
  .frame { padding: 0 28px 0; }
  .hero-copy h1 { font-size: clamp(2.7rem, 5vw, 3.6rem); }
  .sector-grid { grid-template-columns: 1fr 1fr; }
  .problem {
    margin: 0 -28px 0;
    padding: 52px 28px 60px;
  }
  .services {
    margin: 0 -28px 0;
    padding: 56px 28px 52px;
  }
}

@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--panel-inner);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 8px 20px 20px;
    z-index: 20;
  }

  .site-nav.is-open { display: flex; }

  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list li:not(:last-child)::after { content: none; }
  .nav-list a {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--rule);
    white-space: normal;
  }
  .btn-nav { margin-top: 16px; width: 100%; }
}

@media (max-width: 860px) {
  :root { --header-h: 60px; }

  body.option-a { padding: 0; }

  .frame {
    border-radius: 0;
    min-height: 100vh;
    padding: 0 20px 0;
  }

  .frame .site-header { margin: 0 -8px; padding: 0 8px; }

  .hero { padding: 48px 0 8px; }
  .hero-copy h1 { font-size: 2.4rem; width: 100%; margin: 0; }
  .hero-copy h1 .hero-sub {
    display: block;
    width: 100%;
    margin-left: 0;
    font-size: 2.12rem;
    text-align: left;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  .hero-copy h1 .hero-sub .highlight { white-space: nowrap; }
  .hero-walk {
    height: 250px;
    aspect-ratio: auto;
    margin: 18px 0 0;
    overflow: hidden;
  }
  .hero-walk object { width: 148%; height: 250px; }
  .rule { margin-bottom: 14px; }
  .lede { font-size: 1rem; margin-bottom: 8px; }
  .body { margin-bottom: 16px; font-size: 0.96rem; }

  /* Stacked cards: one per row, slight stagger. Hide connectors so they never float loose. */
  .gantt-scroll { overflow: visible; margin: 0; padding: 0; }
  .gantt-flow { display: none; }

  .gantt {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 0 6px;
    grid-template-columns: none;
    grid-template-rows: none;
  }

  .gantt-card {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100%;
  }

  .p1 .gantt-card-face,
  .p3 .gantt-card-face,
  .p5 .gantt-card-face,
  .p8 .gantt-card-face { transform: none; }

  .gantt-card-face { padding: 10px 13px 11px; }

  .gantt-quote {
    margin-top: 12px;
    font-size: 1rem;
    padding-bottom: 4px;
  }

  .trust { flex-direction: column; gap: 4px; }
  .trust li:not(:last-child)::after { content: none; }

  .hero { min-height: 0; }

  .problem {
    margin: 0 -20px 0;
    padding: 40px 20px 48px;
  }

  .services {
    margin: 0 -20px 0;
    padding: 40px 20px 28px;
  }

  .services-head { margin-bottom: 8px; }
  .services-head h2 { font-size: 1.7rem; }
  .service-item {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: 0;
    padding: 32px 0 36px;
  }
  .svc-main { position: static; }
  .svc-aside { grid-template-columns: 120px minmax(0, 1fr); }
  .service-art { min-height: 120px; }
  .service-art img { max-height: 150px; }
  .service-ideal { font-size: 1.15rem; }

  .problem-copy { margin-bottom: 28px; }
  .problem h2 { font-size: 1.7rem; margin-bottom: 12px; }
  .problem-intro { font-size: 1rem; }
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .problem-pair { gap: 24px; }
  .problem-card-face { padding: 18px 18px 20px; }
  .problem-actions { margin-top: 24px; }
  .problem-actions .btn-primary { white-space: normal; }
}

@media (min-width: 861px) and (max-height: 900px) {
  .hero-copy h1 { font-size: clamp(3.2rem, 5.4vw, 5.1rem); margin-bottom: 0; }
  .rule { margin-bottom: 16px; }
  .body { margin-bottom: 20px; }
  .gantt-card-face { padding: 9px 12px 10px; }
  .gantt { row-gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  .gantt-card { opacity: 1; transform: none; }
  .gantt-card-face { transform: none; }
  .problem-pair,
  .problem-copy,
  .problem-actions { opacity: 1; transform: none; }
  .problem-card-face { transform: none; }
  .service-item.is-active .service-art img { animation: none; }
}

.band,
.site-footer {
  margin-left: -40px;
  margin-right: -40px;
  padding-left: 40px;
  padding-right: 40px;
}

.audiences {
  padding-top: 72px;
  padding-bottom: 72px;
}

.audiences .section-title,
.audiences .section-intro {
  text-align: center;
}

.audiences .section-intro {
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--navy);
  text-wrap: balance;
}

.section-intro {
  margin: 0 0 28px;
  max-width: 40rem;
  color: var(--text-sec);
  font-size: 1.05rem;
}

.sector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  max-width: 760px;
  margin: 40px auto 0;
}

.sector {
  padding: 0;
  background: transparent;
  text-align: center;
}

.sector-orb {
  position: relative;
  width: min(100%, 240px);
  aspect-ratio: 1;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  background: #D9EEF0;
}

.sector-orb img {
  position: absolute;
  width: 88%;
  height: 72%;
  max-width: none;
  object-fit: contain;
  margin: 0;
}

.sector:nth-child(1) .sector-orb img { left: 2%; top: 16%; }
.sector:nth-child(2) .sector-orb img {
  width: 124%;
  height: auto;
  left: -12%;
  top: 30%;
}
.sector:nth-child(3) .sector-orb img { left: 12%; top: 14%; }
.sector:nth-child(4) .sector-orb img { left: 6%; top: 18%; }

.sector h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.sector p {
  margin: 0;
  color: var(--text-sec);
  font-size: 0.95rem;
  line-height: 1.45;
}

.resource img {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: contain;
  margin: 0 0 16px;
}

.faq {
  padding: 8px 0 72px;
}

.faq-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.35fr);
  gap: 12px 40px;
  align-items: center;
  padding: 36px 44px 28px;
  background: #E6EDF4;
  border-radius: 28px;
}

.faq-intro h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 4.4vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--navy);
  text-wrap: balance;
}

.faq-intro img {
  display: block;
  width: min(100%, 280px);
  height: auto;
  margin: 0 auto;
}

.faq-list details {
  border-bottom: 1px solid color-mix(in srgb, var(--navy) 16%, transparent);
}

.faq-list details:first-child { border-top: 1px solid color-mix(in srgb, var(--navy) 16%, transparent); }

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 1.6px solid var(--navy);
  border-bottom: 1.6px solid var(--navy);
  transform: rotate(45deg) translateY(-2px);
}

.faq-list details[open] summary::after {
  transform: rotate(225deg) translateY(-2px);
}

.faq-list details p {
  margin: 0 0 16px;
  max-width: 40em;
  color: var(--text-sec);
  font-size: 0.96rem;
  line-height: 1.5;
}

.site-footer {
  padding-top: 36px;
  padding-bottom: 22px;
  background: var(--navy);
  color: #D7E4E2;
}

.site-footer .brand-mark {
  width: 64px;
  height: 64px;
}

.site-footer .brand-name {
  font-size: 1.35rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px 40px;
}

.site-footer .brand { color: var(--white); }
.site-footer .brand-quality { color: var(--teal); }

.footer-line {
  margin: 12px 0 0;
  max-width: 18em;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #D7E4E2;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a { color: var(--white); text-decoration: none; }
.footer-nav a:hover { color: var(--teal); }

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.88rem;
}

.footer-policy {
  margin-left: auto;
  text-align: right;
}

.footer-meta a { color: #D7E4E2; }

.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
}

.footer-social svg {
  width: 22px;
  height: 22px;
  display: block;
  flex: 0 0 auto;
}

.page { padding: 48px 0 104px; }

.page-kicker {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--teal-text);
}

.page h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.15rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 16px 0 28px;
  max-width: 22em;
  text-wrap: balance;
}

.page-lead {
  margin: 0 0 8px;
  max-width: 42rem;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.45;
}

.page-intro {
  margin: 0;
  max-width: 44rem;
  color: var(--text-sec);
  font-size: 1.08rem;
  line-height: 1.7;
}

.page > .dot-band + .page-intro {
  margin: 20px 0 72px;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  gap: 48px 80px;
  align-items: start;
  margin-top: 56px;
}

.page-art {
  position: sticky;
  top: 24px;
}

.page h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.5vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 64px 0 22px;
}

.page h2:first-child { margin-top: 0; }

.service-block {
  min-height: calc(100vh - 48px);
  scroll-margin-top: 24px;
}

.service-pin {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--panel-inner);
  padding-top: 12px;
  padding-bottom: 10px;
}

.service-block .page-art {
  position: relative;
  top: auto;
}
.page header.portfolio-head {
  margin: 8px 0 28px;
  text-align: center;
}
.page header.portfolio-head h1 {
  max-width: none;
  margin: 0 0 14px;
  text-align: center;
}
.page header.portfolio-head p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-sec);
  text-wrap: balance;
}
.page header.portfolio-head .btn-primary { margin-top: 22px; }
.service-block::before {
  content: "";
  display: block;
  height: 72px;
  width: 100vw;
  margin: 8px 0 64px calc(50% - 50vw);
  background-image: radial-gradient(circle, color-mix(in srgb, var(--accent, var(--teal)) 70%, white) 1.25px, transparent 1.45px);
  background-size: 16px 16px;
  background-position: center;
}
.service-block + .service-block {
  margin-top: 28px;
  padding-top: 0;
  border-top: 0;
}
#cumplimiento { --accent: #00BDB4; --accent-soft: #D8F3F1; --accent-ink: #00857F; }
#oficial { --accent: #1B4F72; --accent-soft: #E3EAF1; --accent-ink: #1B4F72; }
#calidad { --accent: #2E8B74; --accent-soft: #DCEEE6; --accent-ink: #1F6B58; }
#diagnostico { --accent: #C47B2B; --accent-soft: #F6E8D4; --accent-ink: #8C5616; }
#formacion { --accent: #5B6BB5; --accent-soft: #E6E8F5; --accent-ink: #3E4C8C; }
#datos { --accent: #0E7C86; --accent-soft: #D8EEF0; --accent-ink: #0B5E66; }
.service-block .page-kicker { color: var(--accent-ink); }
.service-block .service-art::before { background: var(--accent-soft); }
.service-block .highlight::after { background: var(--accent); }
.service-block .check-list li::before {
  background-color: var(--accent);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%230B2138' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' d='M3.2 8.2 6.3 11.2 12.8 4.6'/></svg>");
  background-position: center;
  background-size: 13px 13px;
  background-repeat: no-repeat;
}
.service-block h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.05rem, 3.6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 12px 0 18px;
  max-width: 18em;
}
.service-block h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.5vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 64px 0 22px;
}

.check-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.check-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  align-items: start;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  width: 22px;
  height: 22px;
  margin-top: 0.15em;
  border-radius: 50%;
  background-color: var(--accent, var(--teal));
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%230B2138' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' d='M3.2 8.2 6.3 11.2 12.8 4.6'/></svg>");
  background-position: center;
  background-size: 13px 13px;
  background-repeat: no-repeat;
}

.page-ideal {
  margin: 52px 0 28px;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.page .btn-primary { margin-top: 48px; }
.page-ideal + .btn-primary,
.page-note + .btn-primary { margin-top: 0; }

.page-note {
  margin: 52px 0 28px;
  max-width: 44rem;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--navy);
}

.catalog {
  display: flex;
  flex-direction: column;
}

.catalog-item {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 8px 20px;
  padding: 42px 0;
  border-top: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
}

.catalog-item:last-child { border-bottom: 1px solid var(--rule); }

.catalog-num {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--teal-text);
}

.catalog-item h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
}

.catalog-item p { margin: 0; color: var(--text-sec); }

.catalog-item strong {
  display: block;
  margin-top: 10px;
  color: var(--navy);
  font-weight: 600;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.step-num {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--teal-text);
}

.step h2 {
  margin: 10px 0 8px;
  font-size: 1.35rem;
}

.step p { margin: 0; color: var(--text-sec); }

.diff-list { margin: 8px 0 0; padding: 0; list-style: none; }
.diff-list li { padding: 14px 0; border-top: 1px solid var(--rule); }
.diff-list li:last-child { border-bottom: 1px solid var(--rule); }
.diff-list strong { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; }

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.8fr);
  gap: 36px 56px;
  align-items: center;
}

.about-copy h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  letter-spacing: -0.03em;
  color: var(--navy);
}

.about-copy .check-list { margin: 0 0 26px; }

.about-copy p {
  margin: 0 0 14px;
  max-width: 38rem;
  color: var(--text-sec);
}

.about-copy .vision {
  margin: 22px 0 8px;
  padding: 0;
  border: 0;
  max-width: 34rem;
}

.about-copy .vision p {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.28rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.about-copy .vision p::before,
.about-copy .vision p::after {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 2.7rem;
  line-height: 0;
  color: var(--teal);
}

.about-copy .vision p::before {
  content: "“";
  margin-right: 0.12em;
  vertical-align: -0.42em;
}

.about-copy .vision p::after {
  content: "”";
  margin-left: 0.08em;
  vertical-align: -0.55em;
}

.about-copy .btn-primary { margin-top: 10px; }

.founder {
  margin: 0;
  text-align: center;
}

.founder-ring {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 1;
  margin: 18px auto 20px;
}

.founder-halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--teal);
  transform: translate(18px, 16px);
}

.founder-ring img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
}

.founder figcaption {
  margin: 0 auto;
  max-width: 12em;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.resource-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.resource {
  padding: 22px;
  background: var(--white);
  border-radius: 18px;
}
.resource h2 { margin: 0 0 8px; font-size: 1.55rem; }
.resource p { margin: 0; color: var(--text-sec); }

.faq details {
  border-top: 1px solid var(--rule);
  padding: 14px 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
}
.faq details p { margin: 10px 0 4px; color: var(--text-sec); }

.contact-grid,
.form-grid { min-width: 0; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 0.92rem; }
.field-wide { grid-column: 1 / -1; }
.field span { font-weight: 600; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  font: inherit;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 12px 14px;
}
.field textarea { min-height: 140px; resize: vertical; }
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  grid-column: 1 / -1;
}
.check input { margin-top: 0.35em; }
.form-note { margin: 12px 0 0; color: var(--text-sec); font-size: 0.92rem; }
.form-note.is-ok {
  padding: 14px 16px;
  background: var(--teal-tint);
  border-radius: 12px;
  color: var(--navy);
}
.form-note.is-error { color: #8C2F2F; }
.btn-primary:disabled { opacity: 0.65; cursor: progress; }
#contacto-form { position: relative; }
.field-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-ok {
  margin: 0;
  padding: 22px;
  background: var(--teal-tint);
  border-radius: 16px;
}
.direct { margin: 0; padding: 0; list-style: none; }
.direct li { padding: 10px 0; border-top: 1px solid var(--rule); }
.direct li:last-child { border-bottom: 1px solid var(--rule); }

@media (max-width: 1080px) {
  .band,
  .site-footer {
    margin-left: -28px;
    margin-right: -28px;
    padding-left: 28px;
    padding-right: 28px;
  }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .band,
  .site-footer {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .resource-list,
  .faq-panel,
  .page-layout,
  .steps,
  .footer-grid { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: 1fr; max-width: 420px; }
  .faq-panel { padding: 28px 22px 18px; }
  .faq-intro img { width: min(100%, 200px); }
  .about { grid-template-columns: 1fr; }
  .founder { order: -1; }
  .founder-ring { width: min(78%, 280px); }
  .page-art { position: static; }
  .service-block .page-art {
    position: relative;
    top: auto;
    width: min(100%, 220px);
    min-height: 220px;
    margin-inline: auto;
  }
  .service-block { min-height: 0; }
  .service-pin { position: static; }
  .catalog-item { grid-template-columns: 3rem minmax(0, 1fr); }
}

.dot-band {
  height: 72px;
  width: 100vw;
  margin: 8px 0 28px calc(50% - 50vw);
  background-image: radial-gradient(circle, color-mix(in srgb, var(--teal) 70%, white) 1.25px, transparent 1.45px);
  background-size: 16px 16px;
  background-position: center;
}

.method {
  position: relative;
  margin-top: 12px;
}

.timeline {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0 auto;
  padding: 12px 0 24px;
  max-width: 760px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: -52px;
  border-left: 2px dotted var(--teal);
}

.timeline > li {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  min-height: 150px;
  margin: 0 0 12px;
}

.timeline .step-body { max-width: 320px; }
.timeline > li:nth-child(odd) .step-body { justify-self: end; text-align: right; }
.timeline > li:nth-child(even) .step-body { grid-column: 2; justify-self: start; text-align: left; }

.timeline .step-num {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0;
  border-radius: 50%;
  background: var(--panel-inner);
  border: 2px solid var(--teal);
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--teal-text);
}

.timeline > li:nth-child(odd) .step-num { margin-left: 0; }

.page .timeline h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.timeline p { margin: 0; color: var(--text-sec); font-size: 0.98rem; line-height: 1.5; }

.floats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 52px 0 0;
  padding: 28px 0 0;
}

.floats::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  border-top: 2px dotted var(--teal);
}

.float {
  margin: 0;
  padding: 16px 18px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(11, 33, 56, 0.08);
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-sec);
}

.float strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.f1 strong { color: #00857F; }
.f2 strong { color: #1B4F72; }
.f3 strong { color: #1F6B58; }
.f4 strong { color: #8C5616; }
.f5 strong { color: #3E4C8C; }

@media (max-width: 1180px) {
  .floats { grid-template-columns: 1fr 1fr; }
  .floats .f5 { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .timeline { max-width: none; }
  .timeline::before { left: 22px; }
  .timeline > li { grid-template-columns: 1fr; min-height: 0; }
  .timeline .step-body,
  .timeline > li:nth-child(odd) .step-body,
  .timeline > li:nth-child(even) .step-body {
    grid-column: 1;
    justify-self: start;
    max-width: none;
    padding-left: 52px;
    text-align: left;
  }
  .timeline > li:nth-child(odd) .step-num,
  .timeline > li:nth-child(even) .step-num {
    margin-left: 0;
    left: 22px;
    transform: translateX(-50%);
  }
  .timeline::before { bottom: 8px; }
  .floats { grid-template-columns: 1fr; margin-top: 28px; }
  .floats .f5 { grid-column: auto; }
  .highlight { white-space: normal; }
  .btn-primary { white-space: normal; }
}
