/* ============================================================
   Secciones específicas — Hero, Introducción, Misión/Visión
   ============================================================ */

/* ---------- Hero — carrusel a sangre completa ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(88vh, 780px);
  padding-block: clamp(var(--space-8), 14vh, var(--space-10));
  overflow: hidden;
  background: var(--brand-navy-deep);
}

/* Capa de imágenes: se cruzan por opacidad */
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1200ms ease;
}
.hero__slide.is-active { opacity: 1; }

/* Velo para legibilidad del texto (navy → teal, coherente con la marca) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(34, 48, 79, 0.78) 0%,
    rgba(34, 48, 79, 0.58) 45%,
    rgba(14, 110, 122, 0.66) 100%
  );
}

.hero__inner {
  max-width: 46rem;
  color: #fff;
}
.hero .eyebrow { color: #fff; }
.hero h1 {
  color: #fff;
  margin-bottom: var(--space-4);
}
.hero__lead {
  font-size: clamp(1.06rem, 1rem + 0.55vw, 1.3rem);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
  margin-bottom: var(--space-6);
}
.hero .btn-row { margin-bottom: var(--space-6); }
.hero .btn--ghost {
  --_bg: transparent;
  --_fg: #fff;
  --_bd: rgba(255, 255, 255, 0.55);
}
.hero .btn--ghost:hover {
  --_bg: rgba(255, 255, 255, 0.12);
  --_fg: #fff;
  --_bd: #fff;
  box-shadow: none;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.88);
}
.hero__meta svg {
  width: 16px; height: 16px;
  color: var(--brand-turquoise);
  flex: none;
}

/* Marcador de esquina (firma) sobre el bloque de texto */
.hero__inner.corner::before { top: -14px; left: -14px; }
.hero__inner.corner::after { bottom: -14px; right: -14px; }

/* Puntos de navegación del carrusel */
.hero__dots {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(1rem, 4vh, 2.25rem);
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.hero__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width var(--ease), background var(--ease);
}
.hero__dot.is-active {
  width: 30px;
  background: #fff;
}

@media (max-width: 560px) {
  .hero {
    min-height: auto;
    padding-block: clamp(var(--space-8), 16vh, var(--space-9));
  }
}

/* Foto de apoyo en la introducción */
.intro__photo {
  margin: var(--space-5) 0 0;
}
.intro__photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ---------- Introducción corporativa ---------- */
.intro__inner {
  display: grid;
  gap: clamp(var(--space-6), 5vw, var(--space-8));
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .intro__inner { grid-template-columns: 1fr 1fr; align-items: start; }
}
.intro__text p { font-size: clamp(1.02rem, 1rem + 0.4vw, 1.18rem); color: var(--ink-muted); }
.intro__text p strong { color: var(--brand-navy-deep); }

.mv {
  display: grid;
  gap: var(--space-4);
}
.mv__item {
  padding: var(--space-5);
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand-turquoise);
  border-radius: var(--radius);
}
.mv__item h3 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-turquoise-ink);
  margin-bottom: var(--space-2);
}
.mv__item p { margin: 0; color: var(--ink); font-size: 0.98rem; }

/* ---------- Otras líneas (farmacéutica) ---------- */
.note-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding: var(--space-5) var(--space-6);
  background: var(--surface-2);
  border-radius: var(--radius);
}
.note-band p { margin: 0; color: var(--ink-muted); font-size: 0.95rem; }
.note-band .link-arrow { margin-left: auto; }

/* ---------- Marcas: nota honesta ---------- */
.brands-note {
  margin-top: var(--space-5);
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* ---------- Banda full-width teal (Diferenciales) ---------- */
.band-teal {
  position: relative;
  margin-block: clamp(var(--space-7), 8vw, var(--space-9));
  padding-block: clamp(var(--space-8), 9vw, var(--space-10));
  background: var(--brand-teal-band);
  color: #fff;
  /* borde diagonal arriba y abajo — guiño estructural, sin exagerar */
  clip-path: polygon(
    0 var(--band-skew),
    100% 0,
    100% calc(100% - var(--band-skew)),
    0 100%
  );
}
.band-teal .section__head { margin-bottom: var(--space-6); }
.band-teal .eyebrow { color: rgba(255, 255, 255, 0.9); }
.band-teal .eyebrow::before {
  border-left-color: #fff;
  border-top-color: #fff;
  box-shadow: -3px -3px 0 -2px var(--brand-green);
}
.band-teal h2 { color: #fff; }
.band-teal .feature__check {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.band-teal .feature h3 { color: #fff; }
.band-teal .feature p { color: rgba(255, 255, 255, 0.85); }

@media (max-width: 560px) {
  :root { --band-skew: 5vw; }
}
