/* Shared SEZ Asia visual system. Loaded after each page's local component CSS. */
:root {
  --bg: #fcfaf8;
  --bg-2: #fcfaf8;
  --fg: oklch(0.25 0.005 80);
  --muted: oklch(0.46 0.01 80);
  --brand-blue: #3b84b9;
  --accent: #3b84b9;
  --accent-deep: #28658f;
  --accent-soft: #cfe3f1;
  --granate: #3b84b9;
  --border: #e3e8eb;
  --surface: #ffffff;
  --highlight: #edf5fa;
  --cta: #ffffff;
  --cta-ink: #28658f;
  --hero-shade-1: oklch(0.18 0.045 238 / 0.86);
  --hero-shade-2: oklch(0.35 0.04 238 / 0.54);
  --hero-shade-3: oklch(0.45 0.025 238 / 0.2);
  --collab-surface: #24495f;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-size: 1.08rem;
  line-height: 1.55;
}

h2,
h3,
h4 {
  font-weight: 600;
}

a {
  color: var(--accent-deep);
}

::selection {
  background: var(--accent-soft);
  color: #18394f;
}

.langbar {
  inset-block-start: 1rem;
  inset-inline-end: 1rem;
  padding: 0.45rem 0.65rem;
  background: rgb(24 55 74 / 0.48);
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgb(8 25 38 / 0.2);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.langbar a[aria-current="page"] {
  color: var(--accent-deep);
}

.hero::after {
  background: linear-gradient(
    91deg,
    oklch(0.17 0 0 / 0.69) 0%,
    oklch(0 0 0 / 0.5) 45%,
    oklch(0.45 0.03 238 / 0) 60%
  );
}

.hero-media {
  filter: saturate(1.08) contrast(1.02);
}

.hero-media-picture {
  display: block;
  top: -65px;
  bottom: auto;
  height: calc(100% + 240px);
  object-position: center center;
  transform: translate3d(0, var(--hero-parallax-y, 0), 0);
  will-change: transform;
}

.kicker,
.eyebrow,
.norm .who,
.phase .badge,
.figure .k {
  color: var(--brand-blue);
}

.hero .kicker {
  color: #ffffff;
}

.tag {
  border-color: rgb(255 255 255 / 0.68);
}

.audience {
  background: rgb(255 255 255 / 0.9);
  color: #18394f;
}

.hero-purpose {
  max-width: 45rem;
}

.hero-purpose strong {
  color: #d7ebf7;
}

.hero-second {
  border-inline-start-color: rgb(207 227 241 / 0.72);
}

.hero-cta,
.cta-btn {
  border: 1px solid rgb(255 255 255 / 0.7);
  box-shadow: 0 8px 24px rgb(12 45 67 / 0.16);
}

.hero-cta:hover,
.cta-btn:hover {
  color: #18394f;
}

.hero-cta.ghost:hover {
  background: rgb(255 255 255 / 0.18);
  color: #ffffff;
  border-color: rgb(255 255 255 / 0.95);
}

.band {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  border-top: 0;
  background: var(--bg);
}

.band.alt {
  background: var(--bg);
}

.band.paper {
  background: var(--surface);
}

/* Preserve an alternating rhythm through the three closing content sections. */
#hoja-de-ruta {
  background: var(--bg);
}

#requisitos {
  background: var(--surface);
}

#empezar {
  background: var(--bg);
}

.section-title {
  max-width: 52rem;
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
}

.section-title.centered {
  margin-inline: auto;
}

.section-lead,
.card p {
  color: var(--muted);
}

.section-lead {
  margin-top: 1.35rem;
  font-size: 20px;
  line-height: 1.55;
}

.card,
.service,
.norm,
.phase,
.figure,
.step {
  border-color: var(--border);
  border-radius: 4px;
  box-shadow: none;
}

.norms {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.norm {
  padding: 1.6rem 1.7rem;
  border: 0;
  border-inline-end: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}

.norm:nth-child(3n) {
  border-inline-end: 0;
}

.norm:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.card {
  padding: 1.5rem 1.75rem;
}

.cards3 {
  gap: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.cards3 .card {
  border: 0;
  border-inline-end: 1px solid var(--border);
  border-radius: 0;
}

.cards3 .card:last-child {
  border-inline-end: 0;
}

.card h3 {
  color: var(--fg);
}

.cards3 .card h3 {
  line-height: 1.3;
}

.card .rule {
  width: 2.5rem;
  height: 2px;
  border-radius: 0;
  background: var(--brand-blue);
}

.statement {
  width: 100%;
  max-width: none;
  border-color: var(--accent-soft);
  border-radius: 4px;
}

.service .photo {
  display: none;
}

.service .photo::after {
  display: none;
}

.service .num {
  display: none;
}

.service .head {
  position: static;
  height: auto;
  padding: 1.75rem 1.75rem 0;
}

.service .head h3 {
  color: var(--accent-deep);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  text-shadow: none;
}

.service .body {
  padding: 1rem 1.75rem 1.75rem;
}

.quote {
  background: transparent;
  border-top: 1px solid var(--border);
  border-radius: 0;
  padding: 1rem 0 0;
}

.screen-showcase {
  grid-template-columns: minmax(21rem, 0.38fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: stretch;
}

.screen-tabs {
  gap: 0;
  border-inline-start: 3px solid #edf0f2;
}

.screen-tab {
  display: block;
  border: 0;
  border-inline-start: 3px solid transparent;
  border-radius: 0;
  margin-inline-start: -3px;
  padding: 1rem 0 1.1rem;
  padding-inline-start: 1.5rem;
  background: transparent;
  text-align: start;
  transition: border-color 180ms ease, color 180ms ease;
}

.screen-tab:hover {
  border-inline-start-color: rgb(59 132 185 / 0.45);
}

.screen-tab[aria-selected="true"] {
  border-inline-start-color: var(--brand-blue);
  background: transparent;
}

.screen-icon {
  display: none;
}

.screen-copy > strong {
  color: var(--fg);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.3;
}

.screen-copy > span {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}

.screen-frame,
.evidence,
.statement,
.req {
  border-radius: 4px;
}

.evidence {
  border: 0;
  border-radius: 0;
}

.evidence table {
  font-size: 1.05rem;
}

.evidence th {
  padding: 1rem;
  font-size: 0.9rem;
}

.evidence td {
  padding: 1rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.evidence th:first-child,
.evidence td:first-child {
  padding-left: 0;
}

.screen-frame {
  width: calc(100% + max(0px, 50vw - 620px));
  border-color: #e6e8ea;
  border-radius: 4px;
  box-shadow: 0 18px 46px rgb(30 40 50 / 0.13);
}

.mock-brand span.badge,
.mock-cta .p,
.sdot.is-on {
  background: var(--brand-blue);
}

.mock-steps i.on,
.qa-head {
  background: var(--accent-deep);
}

.cert-top {
  border-bottom-color: var(--accent-deep);
}

.evidence th {
  color: var(--brand-blue);
}

.reqs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.req {
  border: 0;
  border-inline-end: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}

.req:nth-child(2n) {
  border-inline-end: 0;
}

.req:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.req h3 {
  color: var(--accent-deep);
}

.req p {
  font-size: 1rem;
}

.req h3 {
  font-size: 1.2rem;
}

.figure .n {
  font-size: 0.95rem;
}

.figure .v {
  font: 600 1.2rem "Montserrat", sans-serif;
}

.figures {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.figure {
  border: 0;
  border-inline-end: 1px solid var(--border);
  border-radius: 0;
}

.figure:last-child {
  border-inline-end: 0;
}

.norm p {
  font-size: 1rem;
}

.phase li {
  font-size: 1rem;
}

.phase .milestone,
.mock-note,
.qa-msg.me {
  background: var(--highlight);
}

.phase .milestone {
  background: rgb(59 132 185 / 0.045);
  border: 0;
  border-left: 2px solid var(--brand-blue);
  border-radius: 0;
}

.strip::after {
  background: rgb(18 43 60 / 0.58);
}

.strip .caption {
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 62rem;
  padding: 2rem;
  color: #ffffff;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 2px 16px rgb(8 28 42 / 0.45);
}

.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
  max-width: none;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  text-align: center;
}

.step-icon {
  width: 3.75rem;
  height: 3.75rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
}

.step-icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.step h3 {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
}

.step p {
  max-width: 22rem;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.collab-band,
footer {
  background: var(--accent-deep);
}

.footer-lockup {
  direction: ltr;
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-top: 1.1rem;
}

.footer-logo {
  flex: 0 0 auto;
  width: 7.5rem;
  height: auto;
}

footer .footer-lockup .who {
  margin-top: 0;
}

html[dir="rtl"] .footer-lockup .who {
  direction: rtl;
  text-align: right;
}

@media (max-width: 640px) {
  .footer-lockup {
    align-items: flex-start;
    gap: .7rem;
  }

  .footer-logo {
    width: 6rem;
  }
}

.collab-band {
  padding-bottom: 1.25rem;
}

.cta-note {
  margin-top: 0.85rem;
  margin-bottom: 0;
  padding-top: 0;
  border-top: 0;
}

.fab-row {
  inset-inline: auto;
  right: 1rem;
  left: auto;
  width: auto;
  align-items: center;
  justify-content: flex-end;
}

.fab-row .speaker {
  position: static;
  pointer-events: auto;
}

.fab,
.speaker {
  background: var(--brand-blue);
}

.player {
  inset-inline: auto;
  right: 1rem;
  left: auto;
  background: var(--accent-deep);
  border-radius: 8px;
}

.player-bar i {
  background: #ffffff;
}

.qa {
  border: 0;
  border-radius: 8px;
}

.qa-head {
  background: var(--accent-deep);
}

.fab:hover,
.speaker:hover {
  background: var(--accent-deep);
}

.fab .glyph {
  background: #ffffff;
  color: var(--accent-deep);
}

.speaker-play {
  display: grid;
  place-items: center;
  background: #ffffff;
  color: var(--accent-deep);
  line-height: 0;
}

.speaker-play svg {
  display: block;
  width: 1rem;
  height: 1rem;
}

.player-top img.is-speaking {
  animation-name: sezSpeakPulse;
}

@keyframes sezSpeakPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgb(59 132 185 / 0.5); }
  50% { box-shadow: 0 0 0 6px rgb(59 132 185 / 0); }
}

:focus-visible {
  outline-color: var(--accent);
}

@media (max-width: 960px) {
  .cards3 .card,
  .cards3 .card:last-child {
    border-inline-end: 0;
    border-bottom: 1px solid var(--border);
  }

  .cards3 .card:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .hero-media-picture {
    top: 0;
    height: 100%;
    object-position: 25% center;
    transform: none;
    will-change: auto;
  }

  .band {
    padding-block: 3.75rem;
  }

  .section-title {
    font-size: clamp(1.65rem, 7.2vw, 2.3rem);
    overflow-wrap: anywhere;
  }

  .phase,
  .step {
    padding: 1.35rem;
  }
}

@media (max-width: 1000px) {
  .screen-showcase {
    grid-template-columns: 1fr;
  }

  .screen-frame {
    width: 100%;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .norms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .norm:nth-child(3n) {
    border-inline-end: 1px solid var(--border);
  }

  .norm:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--border);
  }

  .norm:nth-child(2n) {
    border-inline-end: 0;
  }

  .norm:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .figures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .figure {
    border-inline-end: 1px solid var(--border);
  }

  .figure:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .figure:nth-child(2n) {
    border-inline-end: 0;
  }
}

@media (max-width: 640px) {
  .norms {
    grid-template-columns: 1fr;
  }

  .norm,
  .norm:nth-child(2n),
  .norm:nth-child(3n) {
    border-inline-end: 0;
  }

  .norm:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .norm:last-child {
    border-bottom: 0;
  }

  .figures {
    grid-template-columns: 1fr;
  }

  .figure,
  .figure:nth-child(2n) {
    border-inline-end: 0;
    border-bottom: 1px solid var(--border);
  }

  .figure:last-child {
    border-bottom: 0;
  }

  .reqs {
    grid-template-columns: 1fr;
  }

  .req,
  .req:nth-child(2n),
  .req:nth-last-child(-n + 2) {
    border-inline-end: 0;
    border-bottom: 1px solid var(--border);
  }

  .req:last-child {
    border-bottom: 0;
  }

  .strip .caption {
    padding: 1.5rem;
    font-size: 1.35rem;
  }
}

@media (max-width: 380px) {
  .fab-row .speaker-copy {
    display: none;
  }
}
