/* ==========================================================
   BASE — reset, tipografía y utilidades
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--c-teal); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-teal-700); }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; color: var(--c-teal-900); }
h1, h2 { font-family: var(--f-display); font-weight: 700; letter-spacing: .01em; }
h3, h4 { font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
strong { font-weight: 700; }
::selection { background: var(--c-olive); color: #fff; }

:focus-visible { outline: 3px solid var(--c-orange); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  padding: .75rem 1.25rem; background: var(--c-orange); color: #fff; border-radius: var(--r-sm); font-weight: 700;
}
.skip-link:focus { top: 1rem; color: #fff; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; display: inline-block; vertical-align: -.18em; }

/* Utilidades */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.pendiente { display: inline-flex; gap: .5rem; align-items: center; color: var(--c-orange-600); font-weight: 600; font-size: var(--fs-sm); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .16em;
  color: var(--c-teal);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--g-warm); }

.section { padding-block: var(--section-y); position: relative; }
.section--mint { background: var(--c-mint); }
.section--soft { background: var(--c-mint-50); }
.section--dark { background: var(--g-deep); color: #E8F4F1; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 760px; margin: 0 auto var(--sp-7); text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-title { font-size: var(--fs-2xl); margin: .35em 0 .3em; }
.section-title em { font-style: normal; color: var(--c-teal); position: relative; }
.section-title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .18em;
  background: var(--c-orange); opacity: .35; border-radius: 4px; z-index: -1;
}
.section-lead { font-size: var(--fs-md); color: var(--c-ink-soft); }
.section--dark .section-lead { color: #CFE7E1; }
.section--dark .eyebrow { color: #D9F06A; }

/* Imagen pendiente (requisito: dejar espacio cuando falte la imagen) */
.img-pendiente {
  display: grid; place-content: center; justify-items: center; gap: .5rem;
  width: 100%; height: 100%; min-height: 140px;
  background:
    repeating-linear-gradient(45deg, rgba(4,140,140,.06) 0 10px, transparent 10px 20px),
    var(--c-mint);
  border: 2px dashed var(--c-sage); border-radius: inherit;
  color: var(--c-teal); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; text-align: center; padding: 1rem;
}
.img-pendiente .icon { width: 34px; height: 34px; opacity: .7; }

@media (max-width: 640px) { .hide-sm { display: none !important; } }
@media (max-width: 900px) { .hide-md { display: none !important; } }
