:root {
  --red-primary: rgb(190, 52, 49);
  --blue-primary: rgb(40, 53, 108);
  --yellow-soft: #ffd978;
  --bg-light: #f6f7fb;
  --bg-soft: #fdf3f3;
  --text-main: #202331;
  --text-muted: #6b7082;
  --white: #ffffff;
  --border-soft: #dde1ee;
  --shadow-soft: 0 18px 45px rgba(10, 16, 40, 0.16);
  --radius-lg: 18px;
  --radius-xl: 26px;
}

/* RESET */

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
}

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

a {
  color: var(--blue-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* LAYOUT */

.container {
  width: min(1160px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.5rem 0;
}

.logo img {
  height: 64px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text-main);
}

.main-nav a:hover {
  color: var(--red-primary);
}

.btn-whatsapp {
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  border: 1px dashed var(--red-primary);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red-primary);
  background: #fff;
}

.btn-whatsapp:hover {
  background: var(--red-primary);
  color: #fff;
  text-decoration: none;
}

/* SECTION TITLES */

.section-header {
  margin-bottom: 2.4rem;
}

.section-header h2 {
  margin: 0.35rem 0 0.5rem;
  font-size: 2rem;
  color: var(--blue-primary); /* forzamos títulos oscuros en secciones claras */
}

.section-header p {
  margin: 0;
  max-width: 640px;
  color: var(--text-muted);
}

.section-header.center {
  text-align: center;
}

.section-header.center p {
  margin-inline: auto;
}

/* Tag por defecto para fondo claro */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(40, 53, 108, 0.07);
  color: var(--blue-primary);
}

/* Variante para fondos oscuros (hero, vida escolar, CTA) */
.section-tag--light {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn-primary {
  background: var(--yellow-soft);
  color: #3a2a06;
  box-shadow: 0 14px 30px rgba(255, 217, 120, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(255, 217, 120, 0.65);
  text-decoration: none;
}

.btn-secondary {
  background: var(--blue-primary);
  color: #fff;
  box-shadow: 0 14px 32px rgba(40, 53, 108, 0.45);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-outline-light {
  border: 1px dashed rgba(255, 255, 255, 0.8);
  color: #fff;
  background: transparent;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.full-width {
  width: 100%;
}

/* ============ HERO SLIDER ============ */

.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
}

/* Cada slide */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  display: flex;
  align-items: center;
  background: none; /* evitamos fondos heredados raros */
}

/* Slide visible */
.hero-slide--active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}

/* Layout interno: texto izq, PNG der */
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 3rem 0 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 2.4rem;
  align-items: center;
}

/* BACKGROUNDS: solo “back” del slide, sin personaje */
.hero-slide--inscripcion {
  background-color: rgb(40, 53, 108);
  background-image: url("img/hero-inscripcion-back.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-slide--primaria {
  background-color: rgb(40, 53, 108);
  background-image: url("img/hero-primaria-back.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-slide--panteras {
  background-color: rgb(40, 53, 108);
  background-image: url("img/hero-panteras-back.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-slide--ingles {
  background-color: rgb(40, 53, 108);
  background-image: url("img/hero-ingles-back.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-slide--camioneta {
  background-color: rgb(40, 53, 108);
  background-image: url("img/hero-camioneta-back.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Texto hero */

.hero-copy h1,
.hero-copy h2 {
  margin: 0.5rem 0 0.7rem;
  font-size: clamp(2.4rem, 3.4vw, 3.1rem);
  line-height: 1.1;
  color: #ffffff; /* solo hero en blanco */
}

.hero-accent {
  color: #ffffff;
}

.hero-copy p {
  margin: 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.86);
}

/* Columna de PNG derecha */
.hero-visual {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  background: none; /* nos blindamos contra fondos duplicados */
}

.hero-figure {
  max-height: 520px;
  width: auto;
  pointer-events: none;
  animation: hero-float 6s ease-in-out infinite;
  transform-origin: bottom right;
}

/* Animación suave de “flote” */
@keyframes hero-float {
  0%   { transform: translateY(10px); }
  50%  { transform: translateY(0); }
  100% { transform: translateY(10px); }
}

/* Dots */
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 2.6rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 4;
}

.hero-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(20, 25, 39, 0.18);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.hero-dots .dot.active {
  width: 26px;
  background: var(--red-primary);
  transform: translateY(-1px);
}

/* Extra desktop grande */
@media (min-width: 1400px) {
  .hero-slider {
    min-height: 72vh;
  }

  .hero-visual {
    min-height: 460px;
  }
}

/* ============ MODELO EDUCATIVO ============ */

.section-pillars {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: #ffffff;
}

.pillars-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.2rem;
  margin-top: 4rem;
}

.pillars-grid::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 6%;
  right: 6%;
  height: 0;
  border-top: 2px dashed rgba(255, 153, 102, 0.9);
  border-radius: 40px;
  transform: translateY(-50%);
}

.pillar-card {
  position: relative;
  padding: 3.6rem 2.2rem 2.4rem;
  border-radius: 28px;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 18px 45px rgba(10, 16, 40, 0.22);
  overflow: visible;
}

.pillar-bilingue {
  background: linear-gradient(135deg, rgb(40, 53, 108) 0%, rgb(60, 75, 140) 100%);
}

.pillar-formacion {
  background: linear-gradient(135deg, rgb(56, 92, 170) 0%, rgb(78, 120, 200) 100%);
}

.pillar-seguridad {
  background: linear-gradient(135deg, rgb(190, 52, 49) 0%, rgb(210, 70, 68) 100%);
}

.pillar-image {
  position: absolute;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid #ffffff;
  background: #f1f4ff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  z-index: 2;
}

.pillar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pillar-card h3 {
  margin-top: 2.4rem;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.pillar-card p {
  margin: 0 0 1.8rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ============ DIVISORES (FOTOS + SCROLL) ============ */

.section-divider {
  padding: 0;
  margin: 0;
  height: 420px;
}

.section-divider-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.section-divider--modelo-niveles {
  background-image: url("img/divisor-modelo-niveles.jpg");
}

.section-divider--niveles-vida {
  background-image: url("img/divisor-niveles-vida.jpg");
}

/* ============ NIVELES / TABS ============ */

.section-levels {
  background: var(--yellow-soft);
}

.tabs {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.6rem 1.9rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.tabs::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px dashed rgba(40, 53, 108, 0.13);
  bottom: -110px;
  left: -60px;
}

.tabs-header {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.6rem;
}

.tab-btn {
  border: 2px dashed rgba(40, 53, 108, 0.4);
  background: #ffffff;
  padding: 0.6rem 1.6rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--blue-primary);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.tab-btn:hover {
  background: rgba(40, 53, 108, 0.08);
  transform: translateY(-1px);
}

.tab-btn--active {
  background: linear-gradient(135deg, var(--blue-primary), rgb(56, 92, 170));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 25px rgba(40, 53, 108, 0.3);
}

.tabs-body {
  margin-top: 0.5rem;
}

.tab-panel {
  display: none;
}

.tab-panel--active {
  display: block;
}

.levels-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: center;
}

.levels-text h3 {
  margin: 0 0 0.6rem;
  font-size: 1.4rem;
  color: var(--blue-primary);
}

.levels-text p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Chips */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px dashed rgba(40, 53, 108, 0.18);
  font-size: 0.8rem;
  background: #fff;
}

.chip--blue {
  border-color: rgba(40, 53, 108, 0.4);
}

/* Docs dentro de niveles */

.levels-docs h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--red-primary);
}

.levels-docs ul {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.9rem;
}

.levels-docs li + li {
  margin-top: 0.15rem;
}

.levels-docs a {
  text-decoration: none;
  color: var(--blue-primary);
}

.levels-docs a:hover {
  color: var(--red-primary);
}

.levels-visual {
  position: relative;
}

.levels-photo {
  border-radius: 30px;
  overflow: hidden;
  background: var(--bg-light);
  border: 1px solid rgba(221, 225, 238, 0.9);
}

.levels-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 260px;
}

.levels-badge {
  position: absolute;
  bottom: -12px;
  right: 16px;
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  box-shadow: 0 10px 24px rgba(190, 52, 49, 0.25);
}

.levels-badge--blue {
  background: #e7ecff;
  box-shadow: 0 10px 24px rgba(40, 53, 108, 0.3);
}

.levels-badge-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.levels-badge-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--text-main);
}

/* ============ VIDA ESCOLAR ============ */

.section-life {
  position: relative;
  background: linear-gradient(135deg, #1f2958, #28376f);
  overflow: hidden;
  color: #ffffff;
  padding-bottom: 4.5rem;
}

.parallax-layer {
  display: none;
}

.life-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: center;
}

.life-text h2 {
  margin: 0.6rem 0 0.8rem;
  color: #ffffff;
}

.life-text p {
  margin: 0 0 1.3rem;
  color: rgba(255, 255, 255, 0.86);
}

.life-features {
  display: grid;
  gap: 1.1rem;
}

.life-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.22);
}

.life-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  color: #ffffff;
}

.life-item p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.life-visual {
  position: relative;
}

.life-photo-main {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.life-tag {
  position: absolute;
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.life-tag--basket {
  left: -8px;
  top: 18%;
}

.life-tag--basket img {
  height: 200px;
}

.life-tag--jazz {
  right: 10px;
  bottom: 10px;
}

/* ============ GALERÍA MOSAICO ============ */

.section-gallery {
  padding: 0;
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: minmax(120px, 1fr);
  width: 100%;
  gap: 0;
}

.gallery-item {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 80;
}

.lightbox--visible {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.8rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ============ DOCUMENTOS (NUEVO LAYOUT) ============ */

.section-docs {
  background: #f3f4f7;
}

.docs-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2.8rem;
}

.docs-menu {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.1rem 1rem;
  box-shadow: 0 12px 30px rgba(10, 16, 40, 0.12);
}

.docs-menu-item {
  width: 100%;
  text-align: left;
  border: 1px dashed rgba(40, 53, 108, 0.18);
  background: #ffffff;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-primary);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.docs-menu-item:last-child {
  margin-bottom: 0;
}

.docs-menu-item:hover {
  background: rgba(40, 53, 108, 0.06);
  transform: translateY(-1px);
}

.docs-menu-item--active {
  background: linear-gradient(135deg, var(--blue-primary), rgb(56, 92, 170));
  color: #ffffff;
  border-color: transparent;
}

.docs-content {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.6rem 1.8rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.96rem;
  line-height: 1.7;
}

.docs-content-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.docs-content-logo {
  height: 42px;
}

#docs-content-title {
  margin: 0;
  font-size: 1.3rem;
  color: var(--blue-primary);
}

.docs-content-body p {
  margin: 0 0 0.9rem;
  color: var(--text-main);
}

.docs-content-body p:last-child {
  margin-bottom: 0;
}

.docs-signature {
  margin-top: 1.2rem;
}

/* Grid con PDFs y enlaces extra */

.docs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.3rem;
}

.docs-column h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
}

.docs-list {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  font-size: 0.92rem;
}

.docs-list li + li {
  margin-top: 0.32rem;
}

.docs-list a {
  padding-left: 1.1rem;
  position: relative;
  display: inline-block;
}

.docs-list a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 2px solid var(--blue-primary);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.docs-highlight {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1rem;
  border: 1px dashed rgba(40, 53, 108, 0.2);
}

.docs-highlight p {
  margin: 0 0 0.6rem;
}

/* ============ CTA ============ */

.section-cta {
  position: relative;
  padding: 3.6rem 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-image: url("img/bg-cta.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.1);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(40, 53, 108, 0.9), rgba(190, 52, 49, 0.85));
}

.cta-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2.2rem;
  align-items: center;
  color: #fff;
}

.cta-text h2 {
  margin: 0 0 0.7rem;
}

.cta-text p {
  margin: 0;
  max-width: 520px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

/* ============ CONTACTO + MAPA ============ */

.section-contact {
  background: var(--bg-light);
  padding-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2.4rem;
  align-items: flex-start;
}

.contact-info h2 {
  margin: 0.6rem 0 0.6rem;
}

.contact-info p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.campus-block + .campus-block {
  margin-top: 1.5rem;
}

.contact-list {
  list-style: none;
  margin: 0.3rem 0 0;
  padding: 0;
  font-size: 0.95rem;
}

.contact-list li + li {
  margin-top: 0.3rem;
}

.contact-form-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(221, 225, 238, 0.8);
}

.contact-form-card h3 {
  margin: 0 0 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-row {
  display: flex;
  gap: 0.9rem;
}

.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  padding: 0.55rem 0.9rem;
  font-size: 0.88rem;
  outline: none;
  font-family: inherit;
}

.form-field textarea {
  border-radius: 18px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue-primary);
}

/* Mapa full width */

.map-wrapper {
  margin-top: 2.8rem;
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* ============ FOOTER ============ */

.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 2rem 0;
  background: #11172f;
  color: #ffffff;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 2rem;
  font-size: 0.87rem;
}

.footer-column h4 {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  color: #ffffff;
}

.footer-logo {
  height: 40px;
  margin-bottom: 0.3rem;
}

.footer-brand p {
  margin: 0.15rem 0;
  color: rgba(255, 255, 255, 0.86);
}

.footer-whats {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-whats a {
  color: #ffd978;
  text-decoration: none;
}

.footer-whats a:hover {
  text-decoration: underline;
}

.footer-sitemap ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-sitemap li + li {
  margin-top: 0.25rem;
}

.footer-sitemap a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.86rem;
}

.footer-sitemap a:hover {
  text-decoration: underline;
}

.footer-legal small {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.footer-legal a {
  color: #ffd978;
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 992px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 4rem;
    padding-bottom: 4.5rem;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy p {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    justify-content: center;
    min-height: 260px;
  }

  .hero-figure {
    max-height: 260px;
  }

  .pillars-grid,
  .levels-layout,
  .life-grid,
  .docs-layout,
  .docs-grid,
  .cta-content,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .docs-layout {
    gap: 1.4rem;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .pillars-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 3.5rem;
  }

  .pillars-grid::before {
    display: none;
  }

  .pillar-card {
    max-width: 420px;
    margin-inline: auto;
  }

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

@media (max-width: 640px) {
  .section {
    padding: 3.2rem 0;
  }

  .form-row {
    flex-direction: column;
  }

  .hero-slider {
    min-height: 90vh;
  }

  .hero-dots {
    bottom: 1.8rem;
  }

  .map-wrapper {
    margin-top: 2rem;
  }
}