/* Prezudu — hoja de estilos común */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #101a24;
  color: #e3e9ee;
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { color: #3fb3ae; }
a:hover { color: #d8a15a; }

:focus-visible {
  outline: 3px solid #3fb3ae;
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #3fb3ae;
  color: #101a24;
  padding: 10px 16px;
  font-weight: 700;
  z-index: 5;
}
.skip:focus { left: 0; }

/* ---------- Tipografía ---------- */

h1, h2, h3 { margin: 0 0 16px; }

h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 700;
}

p { margin: 0 0 18px; }

.lead { font-size: 1.05rem; }

.num {
  display: block;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d8a15a;
}

.cap {
  font-size: 13px;
  line-height: 1.5;
  color: #8b9aa6;
  margin: 0;
}

.sec { color: #8b9aa6; }

/* ---------- Cabecera ---------- */

.site-head { border-bottom: 4px solid #16232f; }

.head-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding: 20px 0;
}

.brand {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: #e3e9ee;
}
.brand em { font-style: normal; color: #3fb3ae; }
.brand:hover { color: #e3e9ee; }

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 7px 13px;
  background: #16232f;
  color: #e3e9ee;
  text-decoration: none;
  font-size: 15px;
}
.site-nav a:hover { background: #3fb3ae; color: #101a24; }
.site-nav a[aria-current="page"] {
  color: #3fb3ae;
  box-shadow: inset 0 -3px 0 #3fb3ae;
}

/* ---------- Mosaico ---------- */

.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
}

.tile { background: #16232f; padding: 28px; }
.tile > *:first-child { margin-top: 0; }
.tile > *:last-child { margin-bottom: 0; }

.tile--teal { background: #3fb3ae; }
.tile--sand { background: #d8a15a; }
.tile--deep { background: #101a24; }
.tile--bare { background: none; padding: 0; }

.fill { padding: 0; min-height: 60px; }

.c2 { grid-column: span 2; }
.c3 { grid-column: span 3; }
.c4 { grid-column: span 4; }
.c5 { grid-column: span 5; }
.c6 { grid-column: span 6; }
.c7 { grid-column: span 7; }
.c8 { grid-column: span 8; }
.c12 { grid-column: span 12; }

.r2 { grid-row: span 2; }
.r3 { grid-row: span 3; }

/* ---------- Bandas ---------- */

.band { padding: 96px 0; }
.band--tight { padding: 72px 0; }

.band--alt { background: #16232f; }
.band--alt .tile { background: #101a24; }

.band--light { background: #e9edf0; color: #101a24; }
.band--light .tile { background: #dce3e8; color: #101a24; }
.band--light .cap { color: #4c5b66; }
.band--light .sec { color: #4c5b66; }
.band--light a { color: #0e6b67; }
.band--light a:hover { color: #101a24; }
.band--light .tile--teal { background: #3fb3ae; }
.band--light .tile--sand { background: #d8a15a; }

/* ---------- Portada ---------- */

.hero { padding: 56px 0 96px; }

.hero-h1 { padding: 40px; }
.hero-h1 h1 { margin-bottom: 0; }

.hero-intro { display: flex; flex-direction: column; justify-content: flex-end; }

.hero-img { grid-column: 3 / span 6; }
.hero-img img { width: 100%; }

/* ---------- Teselas separadoras ---------- */

.tesserae {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.tesserae span {
  display: block;
  width: 24px;
  height: 24px;
  background: #16232f;
}
.tesserae .t { background: #3fb3ae; }
.tesserae .s { background: #d8a15a; }
.band--alt .tesserae span { background: #101a24; }
.band--light .tesserae span { background: #cfd8de; }

/* ---------- Listas ---------- */

ul.checks, ul.plain {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
ul.checks li, ul.plain li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
}
ul.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  background: #3fb3ae;
}
ul.plain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 12px;
  height: 4px;
  background: #d8a15a;
}
ul.checks li:last-child, ul.plain li:last-child { margin-bottom: 0; }

.figure-note { margin-top: 12px; }

/* ---------- Pie ---------- */

.site-foot { border-top: 4px solid #16232f; padding: 48px 0 64px; }
.foot-tess { margin-bottom: 24px; }

.foot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.foot-grid .tile { padding: 24px; }
.foot-grid h2 { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: #d8a15a; font-weight: 700; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 6px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-name { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.03em; }

/* ---------- Adaptación ---------- */

@media (max-width: 1000px) {
  .tile { padding: 24px; }
  .hero-h1 { padding: 28px; }
  .band { padding: 72px 0; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .mosaic > * {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }
  .fill { min-height: 24px; }
  .band, .band--tight { padding: 48px 0; }
  .hero { padding: 32px 0 48px; }
  .foot-grid { grid-template-columns: 1fr; }
  .head-in { justify-content: flex-start; }
}
