/* ==========================================================================
   ESTILOS DE PORTADA (FRONT PAGE v2): REDISEÑO MATRÍCULAS 2027
   Escuela Mi Rincón Mágico
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. UTILIDADES Y TOKENS DE DISEÑO REUTILIZABLES
   -------------------------------------------------------------------------- */
.mrm-pincel {
  display: inline-block;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  line-height: 1.1;
  padding: 8px 24px 6px;
  border-radius: 14px 34px 12px 30px / 26px 10px 28px 12px;
  transform: rotate(-1.5deg);
}

.mrm-pincel--rojo {
  background-color: #D81F26;
  color: #FFFFFF;
}

.mrm-pincel--amarillo {
  background-color: #FDCB0A;
  color: #1E2225;
}

.mrm-pincel--negro {
  background-color: #1E2225;
  color: #FFFFFF;
}

.mrm-pincel--turquesa {
  background-color: #03ACBC;
  color: #1E2225;
}

.mrm-costura {
  border-radius: 34px;
  padding: 14px;
}

.mrm-kicker {
  font-family: var(--mrm-font-mano);
  font-size: 30px;
  color: #0E7C8A;
  margin: 0;
  line-height: 1;
}

.mrm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: 20px;
  padding: 14px 36px 12px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.mrm-btn--rojo {
  background-color: #D81F26;
  color: #FFFFFF !important;
  box-shadow: 0 6px 0 #A9141A;
}

.mrm-btn--rojo:hover {
  background-color: #A9141A;
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #7A0D12;
}

.mrm-btn--turquesa {
  background-color: #03ACBC;
  color: #1E2225 !important;
  box-shadow: 0 6px 0 #0E7C8A;
}

.mrm-btn--turquesa:hover {
  background-color: #0E7C8A;
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

/* Color backgrounds */
.bg-yellow { background-color: #FDCB0A; }
.bg-red { background-color: #FC0F2C; }
.bg-turquesa { background-color: #03ACBC; }
.bg-yellow-light { background-color: #FFF1B8; }
.bg-turquesa-light { background-color: #CDEFF2; }
.bg-pink-taller { background-color: #FFE3E0; }
.bg-turquesa-taller { background-color: #CDEFF2; }
.bg-peach-taller { background-color: #FFE6D3; }
.bg-lila-taller { background-color: #E6E3FF; }
.bg-black-fam { background-color: #1E2225; }

/* --------------------------------------------------------------------------
   1. HERO SECTION (#inicio)
   -------------------------------------------------------------------------- */
.mrm-hero,
.hero-redesign {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 24px 150px;
  box-sizing: border-box;
  background: #FFF6D8;
  z-index: 1;
}

.mrm-hero__bg,
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 1 !important;
  filter: none !important;
}

.mrm-hero::before,
.mrm-hero::after,
.hero-overlay,
.hero-redesign::before,
.hero-redesign::after {
  display: none !important;
}

.mrm-hero__content,
.hero-inner-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-pincel-badge {
  font-size: 24px;
}

.hero-main-h1 {
  margin: 0;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: clamp(38px, 5.4vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.5px;
  color: #1E2225;
}

.hero-underline-svg {
  margin-top: -14px;
}

.hero-lead-text {
  margin: 0;
  font-size: 21px;
  line-height: 1.5;
  font-weight: 600;
  max-width: 520px;
  color: #2E3338;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.hero-btn-main {
  font-size: 26px;
  padding: 14px 36px 12px;
}

.hero-link-secundario {
  color: #1E2225;
  font-weight: 800;
  font-size: 17px;
  text-decoration-color: #D81F26;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  padding: 8px;
  text-decoration: underline;
}

/* Tarjetas lo esencial debajo de Hero */
.hero-essential-cards-section {
  position: relative;
  z-index: 3;
  max-width: 1080px;
  margin: -96px auto 0;
  padding: 0 24px;
}

.hero-essential-box {
  background: #FFFDF7;
  border-radius: 32px;
  padding: 14px;
  box-shadow: 0 18px 40px rgba(60, 40, 0, 0.12);
}

.hero-essential-dashed {
  border: 3px dashed #F3D88A;
  border-radius: 24px;
  padding: 26px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-essential-item {
  flex: 1 1 240px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.hero-essential-item h3 {
  margin: 0 0 4px;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.15;
}

.hero-essential-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #4A4F55;
}

.essential-icon-circle {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   2. NOVEDADES DEL JARDÍN (#novedades)
   -------------------------------------------------------------------------- */
.section-novedades {
  max-width: 1180px;
  margin: 0 auto;
  padding: 110px 24px 100px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.novedades-header-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-end;
}

.novedades-titles {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.novedades-h2 {
  margin: 0;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.02;
}

.novedades-subt {
  margin: 0;
  max-width: 420px;
  font-size: 18px;
  line-height: 1.5;
  color: #4A4F55;
}

.novedades-grid-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}

.novedad-article-big {
  flex: 1.4 1 480px;
  background: #FFFDF7;
  border-radius: 32px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 30px rgba(60, 40, 0, 0.08);
  min-width: 0;
}

.novedad-photo-big {
  height: 320px;
  border-radius: 22px;
  background: #F4ECD8;
  border: 3px dashed #E2CF9E;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #8A7A55;
  font-weight: 700;
  font-size: 15px;
  background-size: cover;
  background-position: center;
}

.novedad-placeholder-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.novedad-body-big {
  padding: 22px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.novedad-fecha-badge {
  align-self: flex-start;
  font-size: 15px;
  letter-spacing: 1px;
}

.novedad-h3-big {
  margin: 0;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.1;
}

.novedad-text-big {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: #4A4F55;
}

.novedades-side-stack {
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.novedad-article-sm {
  flex: 1;
  background: #FFFDF7;
  border-radius: 28px;
  padding: 12px;
  display: flex;
  gap: 16px;
  align-items: stretch;
  box-shadow: 0 14px 30px rgba(60, 40, 0, 0.08);
}

.novedad-photo-sm {
  flex: none;
  width: 140px;
  border-radius: 18px;
  background: #F4ECD8;
  border: 3px dashed #E2CF9E;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8A7A55;
  background-size: cover;
  background-position: center;
}

.novedad-body-sm {
  padding: 10px 8px 10px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.novedad-fecha-pill {
  align-self: flex-start;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 3px 12px 1px;
  border-radius: 999px;
}

.novedad-h3-sm {
  margin: 0;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.15;
}

.novedad-text-sm {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #4A4F55;
}

.novedad-photo-big img,
.novedad-img-link,
.novedad-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.novedad-photo-sm img,
.novedad-img-link-sm,
.novedad-img-link-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.novedad-h3-big a,
.novedad-h3-sm a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.novedad-h3-big a:hover,
.novedad-h3-sm a:hover {
  color: #D81F26;
}

.novedades-footer-cta {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.novedades-ver-todas {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: 18px;
  color: #1E2225;
  text-decoration: none;
  padding: 10px 24px;
  background: #FFFDF7;
  border: 2px solid #E2CF9E;
  border-radius: 999px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(60, 40, 0, 0.05);
}

.novedades-ver-todas:hover {
  background: #FDCB0A;
  border-color: #FDCB0A;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(253, 203, 10, 0.25);
}

/* --------------------------------------------------------------------------
   3. PROYECTO EDUCATIVO (#proyecto)
   -------------------------------------------------------------------------- */
.section-proyecto-redesign {
  position: relative;
  background: #FFFDF7;
  padding: 110px 24px;
  overflow: hidden;
}

.proyecto-corner-blob {
  position: absolute;
  right: 0;
  top: 0;
  pointer-events: none;
}

.proyecto-inner-container {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.proyecto-top-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-end;
}

.proyecto-top-left {
  flex: 1 1 520px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.proyecto-h2 {
  margin: 0;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: clamp(38px, 4.4vw, 60px);
  line-height: 1.02;
}

.proyecto-top-right {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.proyecto-desc-lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #4A4F55;
}

.proyecto-chips-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.proyecto-chips-list li {
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 800;
  font-size: 15px;
}

.proyecto-middle-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}

.proyecto-card-sello {
  flex: 1.2 1 440px;
  background: #D81F26;
  border-radius: 34px;
  padding: 14px;
  color: #FFFFFF;
  min-width: 0;
}

.sello-costura-inner {
  height: 100%;
  box-sizing: border-box;
  border: 3px dashed rgba(255, 255, 255, 0.85);
  border-radius: 26px;
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.sello-quote {
  margin: 0;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.08;
}

.sello-directora-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sello-heart-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FFFDF7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.directora-name {
  font-weight: 800;
  font-size: 17px;
}

.directora-role {
  font-size: 15px;
  opacity: 0.92;
}

.proyecto-side-cards {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.sello-side-card {
  flex: 1;
  border-radius: 28px;
  padding: 28px 30px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.sello-side-card h3 {
  margin: 0 0 6px;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: 25px;
}

.sello-side-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #1E2225;
}

.sello-icon-box {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proyecto-bottom-pilares {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pilares-h3 {
  margin: 0;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: 26px;
}

.pilares-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.pilar-card-item {
  border: 2px solid #1E2225;
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #FBF6EA;
}

.pilar-num {
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  color: #D81F26;
}

.pilar-title {
  font-family: var(--mrm-font-display);
  font-size: 20px;
  line-height: 1.15;
}

.pilar-text {
  font-size: 15px;
  line-height: 1.5;
  color: #4A4F55;
}

.proyecto-link-final {
  align-self: flex-start;
  color: #1E2225;
  font-weight: 800;
  font-size: 17px;
  text-decoration-color: #D81F26;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  padding: 8px 0;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   4. SECCIÓN NIVELES (#niveles)
   -------------------------------------------------------------------------- */
.section-niveles-redesign {
  max-width: 1180px;
  margin: 0 auto;
  padding: 110px 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.niveles-header-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-end;
}

.niveles-h2 {
  margin: 0;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.02;
}

.niveles-subt {
  margin: 0;
  max-width: 420px;
  font-size: 17px;
  line-height: 1.55;
  color: #4A4F55;
}

.niveles-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.nivel-card-item {
  background: #FFFDF7;
  border-radius: 24px;
  border-top-width: 6px;
  border-top-style: solid;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nivel-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nivel-animal-img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  object-fit: cover;
  flex: none;
}

.nivel-num-label {
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
}

.nivel-card-title {
  margin: 0;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.1;
}

.nivel-gratuidad-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #E9F6E1;
  color: #2F6B12;
  border: 2px solid #62B52F;
  border-radius: 999px;
  padding: 4px 12px;
  font-weight: 800;
  font-size: 13px;
}

.nivel-card-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #4A4F55;
}

.nivel-card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #2E3338;
  border-top: 2px dashed #EADFC4;
  padding-top: 12px;
}

.nivel-meta-sub {
  font-weight: 600;
  color: #6A6F75;
}

.nivel-card-link {
  margin-top: auto;
  color: #1E2225;
  font-weight: 800;
  font-size: 15px;
  text-underline-offset: 4px;
  text-decoration-thickness: 3px;
  padding: 6px 0;
  text-decoration: underline;
}

.niveles-bottom-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.niveles-block-gratuidad {
  flex: 1 1 340px;
  background: #E9F6E1;
  border: 2px solid #62B52F;
  border-radius: 24px;
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.gratuidad-check-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #62B52F;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gratuidad-block-title {
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: 21px;
  margin: 0 0 2px;
  display: block;
}

.gratuidad-block-text {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  color: #1E2225;
}

.niveles-block-continuidad {
  flex: 2 1 480px;
  background: #1E2225;
  color: #FFFFFF;
  border-radius: 24px;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.continuidad-title {
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: 22px;
  color: #FDCB0A;
}

.continuidad-text {
  font-size: 16px;
  line-height: 1.5;
  color: #E6E0D2;
}

/* --------------------------------------------------------------------------
   5. SECCIÓN TALLERES (#talleres)
   -------------------------------------------------------------------------- */
.section-talleres-redesign {
  background: #FDCB0A;
  padding: 110px 24px;
  position: relative;
  overflow: hidden;
}

.talleres-corner-blob {
  position: absolute;
  left: 0;
  bottom: 0;
  pointer-events: none;
}

.talleres-inner-container {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.talleres-header-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.talleres-h2 {
  margin: 0;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.02;
}

.talleres-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .talleres-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .talleres-cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.taller-card-redesign {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background: #FFFDF7;
  border-radius: 32px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 0 rgba(30, 34, 37, 0.12);
}

.taller-illustration-box {
  border-radius: 24px;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.bg-pink-taller { border: 3px dashed #F4A9A3; }
.bg-turquesa-taller { border: 3px dashed #7FCBD3; }
.bg-peach-taller { border: 3px dashed #F7B386; }
.bg-lila-taller { border: 3px dashed #A59EF2; }

.taller-tag-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  color: #FFFFFF;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.5px;
  padding: 4px 12px 2px;
  border-radius: 999px;
}

.bg-red-badge { background: #D81F26; }
.bg-turquesa-badge { background: #0E7C8A; }
.bg-naranjo-badge { background: #C2410C; }
.bg-indigo-badge { background: #4338CA; }

.taller-card-body {
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.taller-title-red {
  margin: 0;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
}

.taller-desc-text {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: #1E2225;
}

.talleres-link-final {
  align-self: center;
  color: #1E2225;
  font-weight: 800;
  font-size: 17px;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  padding: 8px;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   6. SECCIÓN GALERÍA (#galeria)
   -------------------------------------------------------------------------- */
.section-galeria-redesign {
  max-width: 1180px;
  margin: 0 auto;
  padding: 110px 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.galeria-header-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.galeria-h2 {
  margin: 0;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.02;
}

.galeria-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 16px;
}

.gal-figure {
  margin: 0;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
}

.gal-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gal-figure-placeholder {
  margin: 0;
  position: relative;
  border-radius: 24px;
  background: #F4ECD8;
  border: 3px dashed #E2CF9E;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8A7A55;
}

.gal-caption-pill {
  position: absolute;
  left: 14px;
  bottom: 14px;
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 800;
  font-size: 15px;
}

.gal-span-2-2 { grid-column: span 2; grid-row: span 2; }
.gal-span-1-1 { grid-column: span 1; grid-row: span 1; }
.gal-span-2-1 { grid-column: span 2; grid-row: span 1; }

.gal-cta-block-red {
  grid-column: span 2;
  border-radius: 24px;
  background: #D81F26;
  color: #FFFFFF;
  padding: 26px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.gal-cta-title {
  margin: 0 0 4px;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.1;
}

.gal-cta-sub {
  margin: 0;
  font-size: 16px;
}

.gal-cta-btn {
  background: #FFFDF7;
  color: #1E2225;
  text-decoration: none;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: 19px;
  padding: 12px 24px 10px;
  border-radius: 999px;
}

/* --------------------------------------------------------------------------
   7. SECCIÓN PODCAST (#podcast)
   -------------------------------------------------------------------------- */
.section-podcast-redesign {
  padding: 0 24px 110px;
}

.podcast-card-box {
  max-width: 1180px;
  margin: 0 auto;
  background: #1E2225;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

.podcast-corner-blob {
  position: absolute;
  right: 0;
  top: 0;
  pointer-events: none;
}

.podcast-card-inner {
  position: relative;
  padding: 64px 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}

.podcast-mic-circle {
  flex: none;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: #FDCB0A;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 14px rgba(253, 203, 10, 0.18), 0 0 0 28px rgba(253, 203, 10, 0.08);
}

.podcast-info-content {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.podcast-pill-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #FDCB0A;
  color: #FDCB0A;
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 800;
  font-size: 15px;
}

.podcast-h2 {
  margin: 0;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.02;
}

.podcast-subt {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: #E6E0D2;
}

.podcast-soundwaves {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 44px;
}

.podcast-soundwaves span {
  width: 8px;
  border-radius: 4px;
}

.podcast-pronto-badge {
  align-self: flex-start;
  font-size: 22px;
}

/* --------------------------------------------------------------------------
   8. SECCIÓN PREGUNTAS FRECUENTES (#faq)
   -------------------------------------------------------------------------- */
.section-faq-redesign {
  background: #FFFDF7;
  padding: 110px 24px;
}

.faq-container-flex {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: flex-start;
}

.faq-left-col {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.faq-h2 {
  margin: 0;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.02;
}

.faq-no-respuesta-card {
  background: #0E7C8A;
  color: #FFFFFF;
  border-radius: 26px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.faq-no-resp-title {
  margin: 0;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.15;
}

.faq-ws-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFDF7;
  color: #1E2225;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 999px;
}

.faq-right-col {
  flex: 2 1 560px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.faq-details-item {
  background: #FBF6EA;
  border-radius: 22px;
  padding: 4px 22px;
  border: 2px solid #EADFC4;
}

.faq-details-item[open] {
  border-color: #1E2225;
}

.faq-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}

.faq-summary::-webkit-details-marker { display: none; }

.faq-num-badge {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.faq-q-text {
  flex: 1;
}

.faq-toggle-sign {
  font-size: 26px;
  color: #D81F26;
}

.faq-a-text {
  margin: 0 0 18px 52px;
  font-size: 16px;
  line-height: 1.6;
  color: #4A4F55;
}

/* --------------------------------------------------------------------------
   9. VALORACIONES DE APODERADOS (#familias)
   -------------------------------------------------------------------------- */
.section-familias-redesign {
  padding: 110px 24px;
}

.familias-box-container {
  max-width: 1180px;
  margin: 0 auto;
  background: #FFFDF7;
  border-radius: 40px;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(60, 40, 0, 0.10);
}

.familias-dashed-border {
  border: 3px dashed #F3D88A;
  border-radius: 30px;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.familias-header-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-end;
}

.familias-h2 {
  margin: 0;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.02;
}

.familias-cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.fam-card-item {
  margin: 0;
  flex: 1 1 280px;
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fam-quote-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 600;
}

.fam-author-flex {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.fam-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: 18px;
}

.fam-author-flex strong { display: block; font-size: 16px; }
.fam-author-flex span { font-size: 14px; }

/* --------------------------------------------------------------------------
   10. AGENDA TU VISITA 2027 (#contacto)
   -------------------------------------------------------------------------- */
.section-contacto-redesign {
  background: #FFFDF7;
  padding: 100px 24px;
}

.contacto-flex-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: stretch;
}

.contacto-form-col {
  flex: 1.4 1 520px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.contacto-badge-rojo {
  align-self: flex-start;
  background: #D81F26;
  color: #FFFFFF;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1.5px;
  padding: 4px 14px 2px;
  border-radius: 999px;
}

.contacto-h2 {
  margin: 0;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.05;
}

.contacto-lead-text {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: #4A4F55;
}

.contacto-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}

.form-label-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  font-size: 15px;
}

.form-label-item.span-2 { grid-column: span 2; }

.mrm-input, .mrm-select, .mrm-textarea {
  font: inherit;
  font-weight: 400;
  padding: 12px 14px;
  border: 2px solid #D9CFB8;
  border-radius: 14px;
  background: #FBF6EA;
}

.mrm-textarea { resize: vertical; }

.form-label-checkbox {
  grid-column: span 2;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.45;
}

.mrm-checkbox {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  flex: none;
}

.contacto-btn-submit {
  justify-self: start;
}

.contacto-turquesa-card {
  flex: 1 1 340px;
  background: #0E7C8A;
  color: #FFFFFF;
  border-radius: 32px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.contacto-turquesa-h3 {
  margin: 0;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.1;
}

.contacto-turquesa-text {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}

.contacto-ws-btn-cream {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFDF7;
  color: #1E2225;
  text-decoration: none;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: 19px;
  padding: 12px 24px 10px;
  border-radius: 999px;
}

.contacto-trust-list {
  margin: auto 0 0;
  padding: 18px 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  border-top: 2px dashed rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   11. SECCIÓN CIERRE AMARILLO
   -------------------------------------------------------------------------- */
.section-cierre-yellow {
  background: #FDCB0A;
  padding: 64px 24px;
  text-align: center;
}

.cierre-inner-box {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.cierre-h2 {
  margin: 0;
  font-family: var(--mrm-font-display);
  font-weight: 800;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.05;
}

.cierre-info {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.cierre-btn-ws {
  margin-top: 6px;
  border: 3px solid #FFFFFF;
}

/* --------------------------------------------------------------------------
   12. RESPONSIVE MEDIA QUERIES (<768px y <430px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .mrm-hero,
  .hero-redesign {
    display: block;
    min-height: 0;
    padding: 0 0 40px;
  }

  .mrm-hero__bg,
  .hero-bg-img {
    position: static;
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
  }

  .mrm-hero__content,
  .hero-inner-content {
    padding: 20px 20px 0;
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .mrm-hero__content .mrm-btn,
  .hero-inner-content .mrm-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-pincel-badge {
    font-size: 17px;
  }

  .hero-decor-star-left,
  .hero-decor-star-right {
    display: none;
  }

  .hero-essential-cards-section {
    margin-top: -60px;
    padding: 0 16px;
  }

  .hero-essential-dashed {
    padding: 18px 16px;
  }

  .galeria-mosaic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 180px;
  }

  .gal-span-2-2 { grid-column: span 2; grid-row: span 2; }
  .gal-span-2-1 { grid-column: span 2; grid-row: span 1; }
  .gal-cta-block-red { grid-column: span 2; }

  .podcast-card-inner {
    padding: 36px 24px;
    flex-direction: column;
    text-align: center;
  }

  .podcast-mic-circle {
    width: 160px;
    height: 160px;
  }

  .podcast-mic-circle svg {
    width: 70px;
    height: 70px;
  }

  .podcast-pill-badge, .podcast-pronto-badge {
    align-self: center;
  }

  .podcast-soundwaves {
    justify-content: center;
  }

  .contacto-form-grid {
    grid-template-columns: 1fr;
  }

  .form-label-item.span-2 { grid-column: span 1; }
  .form-label-checkbox.span-2 { grid-column: span 1; }
  .contacto-btn-submit.span-2 { grid-column: span 1; width: 100%; }

  .familias-dashed-border {
    padding: 24px 18px;
  }
}
