/**
 * Gestoría Nacimiento · Neus Solé Teba (Graduada Social Colegiada n.º 4957)
 * Estética Canónica Terraé (Belanosima + Inter · #7dc9cc · #276f6f · #d9eeee · #faef89)
 */
:root {
  --sppb-color-primary: #199e9e;
  --sppb-color-primary-hover: #276f6f;
  --sppb-color-secondary: #03363d;
  --sppb-text-primary: #03363d;
  --sppb-text-secondary: #199e9e;
  --sppb-text-variation-2: #276f6f;
  --sppb-bg-body-primary: #7dc9cc;
  --sppb-bg-card-primary: #276f6f;
  --sppb-bg-card-variation-1: #d9eeee;
  --sppb-bg-card-variation-2: #b2e2e2;
  --sppb-bg-card-variation-3: #f2f9f9;
  --sppb-border-primary: #b2e2e2;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #7dc9cc;
  color: #03363d;
  line-height: 1.55;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

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

.container {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   DISCLAIMER DE NO AFILIACIÓN GUBERNAMENTAL (GOOGLE ADS COMPLIANCE)
   ========================================================================== */
.gov-disclaimer {
  background: #03363d;
  color: #ffffff;
  text-align: center;
  padding: 9px 16px;
  font-size: 13px;
  line-height: 1.4;
  border-bottom: 2px solid #faef89;
  position: relative;
  z-index: 1000;
}
.gov-disclaimer strong {
  color: #faef89;
}

/* ==========================================================================
   CABECERA LIMPIA Y MODERNA CON NEUS SOLÉ + BOTÓN DE CESTA
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 990;
  padding: 12px 16px;
  background: rgba(125, 201, 204, 0.92);
  backdrop-filter: blur(10px);
}

.header-inner {
  background: #ffffff;
  border-radius: 999px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(3, 54, 61, 0.10);
}

.brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #03363d;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.brand-wrap > div {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.brand-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #276f6f;
  flex-shrink: 0;
}

.brand-name {
  display: block;
  font-family: 'Belanosima', sans-serif;
  font-size: 21px;
  line-height: 1.1;
  color: #276f6f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-cred {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #03363d;
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.header-nav a {
  text-decoration: none;
  color: #03363d;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: #276f6f;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cart-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #276f6f;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 0 #075248;
  transition: transform 0.2s;
}

.cart-trigger-btn:hover {
  transform: translateY(-2px);
}

.cart-badge-count {
  background: #faef89;
  color: #03363d;
  border-radius: 999px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #d9eeee;
  color: #03363d;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid #276f6f;
}

/* ==========================================================================
   1. HERO SECTION (TERRAÉ + NEUS SOLÉ PROTAGONISTA)
   ========================================================================== */
.hero-section {
  padding-top: 16px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.bb-hero-stage {
  position: relative;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px 36px;
  z-index: 10;
}

.bb-giant-title {
  font-family: 'Belanosima', sans-serif;
  font-size: clamp(64px, 14.8vw, 220px);
  color: #FFFFFF;
  text-align: center;
  line-height: 0.88;
  letter-spacing: -1px;
  user-select: none;
  pointer-events: none;
  position: relative;
  z-index: 1;
  margin-top: 8px;
}

.bb-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 1.12fr 0.95fr;
  align-items: center;
  margin-top: -4.2vw;
  position: relative;
  z-index: 5;
  width: 100%;
}

.bb-hero-grid > * {
  min-width: 0;
  max-width: 100%;
}

.bb-left-blob-col {
  position: relative;
  z-index: 2;
  margin-right: -60px;
  margin-left: -10px;
}

.bb-blob-svg {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
}

.bb-center-doc-col {
  position: relative;
  z-index: 6;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.bb-sticker-badge {
  position: absolute;
  left: -95px;
  top: 90px;
  width: 165px;
  height: 165px;
  z-index: 12;
}

.bb-sticker-scallop {
  width: 100%;
  height: 100%;
  animation: bbSpinSlow 20s linear infinite;
}

.bb-sticker-text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@keyframes bbSpinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.bb-doc-card {
  width: 100%;
  max-width: 430px;
  background: linear-gradient(165deg, #FAF7EE 0%, #F3EFE2 55%, #EDE6D3 100%);
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  padding: 26px 28px 22px;
  transform: rotate(-5.2deg);
  box-shadow: 18px 28px 38px rgba(3, 54, 61, 0.28), 4px 8px 14px rgba(3, 54, 61, 0.14);
}

.bb-doc-header {
  border-bottom: 1.5px solid rgba(67, 83, 87, 0.30);
  padding-bottom: 11px;
  margin-bottom: 12px;
}

.bb-doc-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.neus-doc-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.neus-doc-pill img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #276f6f;
  flex-shrink: 0;
}

.neus-doc-pill strong {
  display: block;
  font-size: 13.5px;
  color: #03363d;
  line-height: 1.15;
}

.neus-doc-pill span {
  display: block;
  font-size: 11.5px;
  color: #276f6f;
  font-weight: 700;
}

.bb-stamp-resuelto {
  border: 2px solid #276f6f;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.5px;
  color: #276f6f;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(8deg);
  flex-shrink: 0;
}

.bb-doc-inst {
  font-size: 10.8px;
  font-weight: 700;
  letter-spacing: 0.45px;
  color: #435357;
  text-transform: uppercase;
}

.bb-doc-title {
  font-family: 'Belanosima', sans-serif;
  font-size: 25px;
  color: #276f6f;
  text-align: center;
  margin: 10px 0 8px;
}

.bb-doc-checklist {
  list-style: none;
  margin: 4px 0 14px;
  padding: 0;
}

.bb-doc-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(17, 87, 70, 0.12);
  font-size: 14.5px;
  font-weight: 700;
  color: #1D292B;
}

.bb-check-box {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 7px;
  background: linear-gradient(145deg, #27C95A 0%, #16A34A 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bb-check-box svg {
  width: 14px;
  height: 14px;
}

.bb-doc-price-pill {
  background: #276f6f;
  border: 1.5px solid #276f6f;
  border-radius: 10px;
  padding: 11px 14px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: #faef89;
  margin-bottom: 14px;
  cursor: pointer;
  width: 100%;
  display: block;
}

.bb-doc-footer {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding-top: 4px;
}

.bb-doc-foot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #243336;
}

.bb-doc-foot-item svg {
  width: 22px;
  height: 22px;
  stroke: #243336;
}

.bb-right-copy-col {
  position: relative;
  z-index: 7;
  padding-left: 26px;
}

.bb-right-title {
  font-family: 'Belanosima', sans-serif;
  font-size: clamp(30px, 2.7vw, 42px);
  line-height: 1.12;
  color: #276f6f;
  margin: 0 0 12px;
}

.bb-right-desc {
  font-size: 15.5px;
  line-height: 1.55;
  color: #163a3d;
  margin: 0 0 22px;
  max-width: 400px;
}

.bb-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #276f6f;
  color: #FFFFFF !important;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 13px 18px 13px 26px;
  border-radius: 999px;
  box-shadow: 0 5px 0 #075248;
  transition: transform 0.2s ease;
}

.bb-cta-btn:hover {
  transform: translateY(-2px);
}

.bb-cta-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #faef89;
  color: #276f6f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* ==========================================================================
   CINTAS DE TEXTO ONDULADO ANIMADO (.clip-style1 y .clip-style2)
   ========================================================================== */
.wavy-ribbon-wrap {
  position: relative;
  width: 100%;
  margin-top: 10px;
  padding-top: 12px;
  padding-bottom: 8px;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.wavy-ribbon-wrap.yellow-ribbon {
  background-color: #d9eeee !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 10px !important;
  padding-bottom: 24px !important;
  z-index: 4;
}

.wavy-ribbon-wrap .clip-style1 svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.wavy-ribbon-wrap .clip-style1 .source-content1 {
  display: none;
}

.wavy-ribbon-wrap .clip-style1 .waveClip {
  stroke: #276f6f !important;
}

.wavy-ribbon-wrap .clip-style1 textPath {
  font-family: 'Belanosima', sans-serif !important;
  font-weight: 400 !important;
  font-size: 118px !important;
  fill: #7dc9cc !important;
}

.wavy-ribbon-wrap .clip-style1.clip-style2 .waveClip {
  stroke: #f2e161 !important;
}

.wavy-ribbon-wrap .clip-style1.clip-style2 textPath {
  fill: #276f6f !important;
}

/* ==========================================================================
   2. SECCIÓN LOS 6 ÚNICOS PRODUCTOS (4 PACKS + MATERNIDAD + PATERNIDAD)
   ========================================================================== */
.top-picks-section {
  background: #7dc9cc;
  padding: 36px 0 90px;
  position: relative;
  z-index: 5;
}

.terrae-eyebrow {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #276f6f;
  margin-bottom: 6px;
}

.terrae-main-heading {
  text-align: center;
  font-family: 'Belanosima', sans-serif;
  font-size: clamp(38px, 4.3vw, 60px);
  color: #276f6f;
  margin: 0 auto 105px;
  line-height: 1.08;
}

.top-picks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 95px 28px;
  max-width: 1280px;
  margin: 0 auto;
}

.pick-card {
  background: #158b8d;
  border-radius: 20px;
  padding: 0 26px 26px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border: 2px solid transparent;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pick-card.featured-pack {
  border-color: #faef89;
  box-shadow: 0 18px 38px rgba(3, 54, 61, 0.22);
}

.pick-badge-top {
  position: absolute;
  top: 12px;
  right: 14px;
  background: #faef89;
  color: #03363d;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.pick-product-img-wrap {
  margin-top: -82px;
  margin-bottom: 14px;
  width: 100%;
  max-width: 265px;
  height: 205px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pick-card:hover .pick-product-img-wrap {
  transform: translateY(-6px) scale(1.03);
}

.pick-product-img {
  max-width: 100%;
  max-height: 205px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 22px rgba(3, 54, 61, 0.22));
}

.pick-title {
  font-family: 'Belanosima', sans-serif;
  font-size: 28px;
  line-height: 1.12;
  color: #d9eeee;
  margin: 0 0 8px;
}

.pick-desc {
  font-size: 13.8px;
  line-height: 1.48;
  color: #e6f7f7;
  margin: 0 0 14px;
}

.pick-price-wrap {
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pick-price-old {
  color: #f2e161;
  text-decoration: line-through;
  font-weight: 600;
  font-size: 17px;
}

.pick-add-btn {
  width: 94%;
  background: #faef89;
  color: #1c2b2d !important;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 800;
  padding: 15px 22px;
  border-radius: 999px;
  box-shadow: 0 5px 0 #ebd515;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: -44px;
  transition: transform 0.2s ease;
}

.pick-add-btn:hover {
  transform: translateY(-2px);
}

.pick-add-btn svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   3. ONDA MULTILÍNEA + SECCIÓN PROTAGONISTA NEUS SOLÉ Y COMPARATIVA VENTAJAS
   ========================================================================== */
.handdrawn-wave-top {
  background: #7dc9cc;
  line-height: 0;
  position: relative;
  z-index: 4;
  margin-bottom: -2px;
  overflow: hidden;
  width: 100%;
}

.handdrawn-wave-top svg.wave-bg-fill {
  width: 100%;
  height: auto;
  display: block;
}

.handdrawn-wave-top svg.wave-lines-overlay {
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

.neus-protagonist-section {
  background: #d9eeee;
  padding: 36px 0 64px;
  position: relative;
  z-index: 4;
}

.neus-protagonist-card {
  max-width: 1120px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 28px;
  padding: 38px 42px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 18px 42px rgba(39, 111, 111, 0.12);
  border: 2px solid #b2e2e2;
}

.neus-photo-frame {
  text-align: center;
}

.neus-photo-frame img {
  width: 100%;
  max-width: 290px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(3, 54, 61, 0.18);
  border: 4px solid #faef89;
}

.neus-badge-strip {
  display: inline-block;
  margin-top: -16px;
  position: relative;
  background: #276f6f;
  color: #faef89;
  font-size: 12.5px;
  font-weight: 800;
  padding: 7px 16px;
  border-radius: 999px;
}

.benefits-section {
  background: #d9eeee;
  padding: 10px 0 55px;
  position: relative;
  z-index: 4;
}

.benefits-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.benefits-products-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  margin-bottom: 18px;
}

.benefits-cols-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  align-items: end;
  gap: 24px;
}

.b-col-title-main {
  font-family: 'Belanosima', sans-serif;
  font-size: 36px;
  color: #276f6f;
  margin: 0 0 14px;
}

.b-col-title-other {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #276f6f;
  margin: 0 0 18px;
}

.b-mini-doc-yellow {
  width: 138px;
  height: 192px;
  margin: 0 auto;
  background: linear-gradient(180deg, #ebd515 0%, #f2e161 55%, #f5eccb 55%, #f5eccb 100%);
  border-radius: 8px;
  padding: 14px 12px;
  box-shadow: 0 10px 22px rgba(39, 111, 111, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.b-sketch-img {
  width: 132px;
  height: 190px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.benefits-heading {
  font-family: 'Belanosima', sans-serif;
  font-size: 40px;
  color: #276f6f;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #199e9e;
  margin: 0 0 16px;
}

.terrae-benefits-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tb-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.tb-label {
  font-size: 15.5px;
  font-weight: 600;
  color: #03363d;
  padding: 12px 0;
  border-bottom: 1px solid #b2e2e2;
  margin-right: 12px;
}

.tb-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tb-box-yes {
  width: 32%;
  height: 40px;
  border-radius: 6px;
  background: #b2e2e2;
  color: #276f6f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

.tb-divider-line {
  width: 32%;
  height: 40px;
  border-bottom: 1px solid #b2e2e2;
}

.tb-box-no {
  width: 32%;
  height: 40px;
  border-radius: 6px;
  border: 1px solid #b2e2e2;
  background: transparent;
  color: #276f6f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}

/* ==========================================================================
   4. SECCIÓN TESTIMONIOS + COLEGIO OFICIAL + ELFSIGHT GOOGLE REVIEWS
   ========================================================================== */
.testimonials-section {
  background: #7dc9cc;
  padding: 64px 0 80px;
  position: relative;
  z-index: 3;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1260px;
  margin: 0 auto 36px;
}

.t-card {
  border-radius: 28px;
  padding: 32px 30px;
  border: 1px solid rgba(39, 111, 111, 0.45);
  background: transparent;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s ease;
}

.t-card.active-center {
  background: #d9eeee;
  border-color: #d9eeee;
}

.t-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.t-quote-icon {
  font-family: Georgia, serif;
  font-size: 44px;
  line-height: 1;
  color: rgba(39, 111, 111, 0.35);
  font-weight: 700;
}

.t-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 700;
  color: #276f6f;
}

.t-heading {
  font-family: 'Belanosima', sans-serif;
  font-size: 25px;
  color: #276f6f;
  margin: 0 0 12px;
}

.t-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #1f4245;
  margin: 0 0 22px;
}

.t-author {
  font-size: 15px;
  font-weight: 700;
  color: #276f6f;
}

.t-nav-arrows {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.t-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #d9eeee;
  background: transparent;
  color: #d9eeee;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.2s;
}

.t-arrow-btn:hover {
  background: #d9eeee;
  color: #276f6f;
}

.colegio-profesional-frame {
  background: linear-gradient(180deg, #7dc9cc 0%, #86d0d3 50%, #7dc9cc 100%);
  padding: 46px 0 58px;
  text-align: center;
  position: relative;
  z-index: 5;
}

.colegio-profesional-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.colegio-profesional-line1,
.colegio-profesional-line2 {
  font-size: clamp(20px, 2.3vw, 28px);
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.35;
  margin: 0 0 12px 0;
}

.colegio-profesional-line2 {
  margin-bottom: 24px;
}

.colegio-profesional-logo-wrap img {
  width: 108px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.google-reviews-white-frame {
  background: #FFFFFF;
  padding: 64px 0 72px;
  margin-bottom: 48px;
  position: relative;
  z-index: 5;
}

.google-reviews-frame-heading {
  font-family: 'Belanosima', sans-serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  color: #1a1d1f;
  text-align: center;
  line-height: 1.2;
  margin: 0 auto 32px;
  max-width: 960px;
}

.google-reviews-widget-wrap {
  max-width: 1280px;
  margin: 0 auto;
}

/* ==========================================================================
   5. FOOTER CANÓNICO TERRAÉ (#sp-bottom y #sp-footer)
   ========================================================================== */
#sp-bottom {
  background-color: #0b6858 !important;
  color: #ffffff;
  margin: 0 32px;
  padding: 58px 44px 0 44px;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  overflow: hidden;
}

#sp-footer {
  background-color: #085346 !important;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 32px 24px 32px;
  padding: 18px 44px;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  border-top: 1px solid rgba(255, 250, 184, 0.16);
  font-size: 14px;
  text-align: center;
}

.bb-terrae-footer-top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.bb-terrae-footer-nav-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr;
  gap: 28px;
}

.bb-terrae-footer-heading {
  font-size: 22px;
  font-weight: 700;
  color: #fffab8;
  margin: 0 0 18px 0;
}

.bb-terrae-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bb-terrae-footer-links li a {
  color: rgba(255, 255, 255, 0.90);
  text-decoration: none;
  font-size: 14.5px;
}

.bb-terrae-footer-links li a:hover {
  color: #fffab8;
}

.bb-colegio-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 250, 184, 0.26);
  border-radius: 20px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.bb-colegio-emblem-wrap {
  background: #ffffff;
  border-radius: 14px;
  padding: 8px;
  flex-shrink: 0;
}

.bb-colegio-emblem-wrap img {
  width: 62px;
  height: 61px;
  object-fit: contain;
  display: block;
}

.bb-colegio-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fffab8;
}

.bb-colegio-title {
  font-family: 'Belanosima', sans-serif;
  font-size: 22px;
  color: #ffffff;
}

.bb-colegio-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
  margin: 4px 0 0;
}

.bb-payment-trust-block {
  background: rgba(8, 27, 27, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 16px 20px;
}

.bb-payment-trust-label {
  font-size: 13px;
  font-weight: 600;
  color: #fffab8;
  margin-bottom: 12px;
}

.bb-payment-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.bb-pay-badge {
  background: #ffffff;
  border-radius: 10px;
  padding: 5px 10px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bb-pay-badge img {
  max-height: 34px;
  width: auto;
  object-fit: contain;
}

.bb-terrae-giant-wordmark-row {
  width: 100%;
  margin-top: 46px;
  margin-bottom: -18px;
  text-align: center;
  overflow: hidden;
}

.bb-terrae-giant-wordmark {
  font-family: 'Belanosima', sans-serif;
  font-size: clamp(54px, 15vw, 240px);
  line-height: 0.88;
  color: #fffab8;
  white-space: nowrap;
  user-select: none;
}

/* ==========================================================================
   6. CAJÓN LATERAL DEL CARRITO REAL + CHECKOUT (NOMBRE, EMAIL, PASSWORD + PAGO)
   ========================================================================== */
.easystore-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(3, 54, 61, 0.62);
  z-index: 999990;
  display: none;
  backdrop-filter: blur(3px);
}

.easystore-drawer-wrapper.open .easystore-drawer-overlay {
  display: block;
}

.easystore-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 540px;
  padding: 28px 30px;
  background-color: #FFFFFF;
  box-shadow: -10px 0 36px rgba(3, 54, 61, 0.28);
  z-index: 999991;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}

.easystore-drawer-wrapper.open .easystore-drawer {
  display: flex;
  animation: easyStoreSlideFromRightStart 0.28s ease;
}

@keyframes easyStoreSlideFromRightStart {
  0% { transform: translateX(100%); }
  100% { transform: translateX(0); }
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1.5px solid #b2e2e2;
  margin-bottom: 14px;
}

.drawer-header h3 {
  font-family: 'Belanosima', sans-serif;
  font-size: 30px;
  color: #03363d;
  margin: 0;
}

.drawer-close-btn {
  background: #d9eeee;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 22px;
  color: #03363d;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: #f2f9f9;
  border: 1px solid #b2e2e2;
  border-radius: 16px;
  margin-bottom: 10px;
}

.cart-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #276f6f;
  padding: 6px;
  object-fit: contain;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-title {
  font-weight: 700;
  font-size: 15px;
  color: #03363d;
  line-height: 1.25;
  margin-bottom: 4px;
}

.cart-item-price {
  font-weight: 800;
  font-size: 16px;
  color: #276f6f;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #b02e3a;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 8px;
}

.cart-quick-switcher {
  margin: 8px 0 14px;
}

.cart-quick-switcher label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #276f6f;
  margin-bottom: 5px;
}

.cart-quick-switcher select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1.5px solid #b2e2e2;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #03363d;
  background: #ffffff;
}

.cart-total-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #d9eeee;
  padding: 12px 16px;
  border-radius: 14px;
  margin-bottom: 10px;
  font-weight: 800;
  font-size: 17px;
  color: #03363d;
}

.cart-gov-disclaimer {
  background: #fdfbf0;
  border: 1.5px solid #ebd515;
  border-left: 4px solid #276f6f;
  border-radius: 12px;
  padding: 10px 13px;
  margin-bottom: 14px;
  font-size: 12px;
  line-height: 1.42;
  color: #03363d;
}

.cart-gov-disclaimer strong {
  color: #276f6f;
}

.checkout-form-box {
  background: #ffffff;
  border: 1.5px solid #b2e2e2;
  border-radius: 18px;
  padding: 18px;
}

.checkout-form-box h4 {
  font-family: 'Belanosima', sans-serif;
  font-size: 21px;
  color: #276f6f;
  margin: 0 0 12px;
}

.cf-group {
  margin-bottom: 12px;
}

.cf-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #03363d;
  margin-bottom: 4px;
}

.cf-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid #b2e2e2;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #03363d;
  background: #f2f9f9;
}

.cf-input:focus {
  outline: none;
  border-color: #276f6f;
  background: #ffffff;
}

.pay-methods-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0 16px;
}

.pay-method-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1.5px solid #b2e2e2;
  border-radius: 12px;
  cursor: pointer;
  background: #f2f9f9;
  transition: all 0.2s;
}

.pay-method-option:has(input:checked) {
  border-color: #276f6f;
  background: #d9eeee;
  box-shadow: 0 0 0 1px #276f6f;
}

.pay-method-option input {
  accent-color: #276f6f;
  width: 18px;
  height: 18px;
}

.pay-method-title {
  font-weight: 700;
  font-size: 14px;
  color: #03363d;
  display: block;
}

.pay-method-sub {
  font-size: 12px;
  color: #276f6f;
  display: block;
}

/* ==========================================================================
   BARRA FLOTANTE MÓVIL (100% MOBILE FIRST)
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 980;
  background: #03363d;
  border-top: 2px solid #faef89;
  padding: 10px 14px;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -8px 24px rgba(3, 54, 61, 0.25);
}

/* ==========================================================================
   RESPONSIVE MÓVIL Y TABLET (100% OPTIMIZADO PARA SMARTPHONES)
   ========================================================================== */
@media (max-width: 991.98px) {
  .container {
    padding: 0 16px;
  }

  .header-nav {
    display: none;
  }

  .bb-hero-stage {
    padding: 0 16px 24px;
  }

  .bb-giant-title {
    font-size: clamp(52px, 16vw, 120px);
    margin-top: 4px;
    margin-bottom: 4px;
  }

  .bb-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 0;
    gap: 20px;
    width: 100%;
  }

  /* En móvil: 1º Foto protagonista de Neus Solé, 2º Titular y CTA, 3º Tarjeta Expediente */
  .bb-left-blob-col {
    order: 1;
    margin: -18px auto 0;
    max-width: 300px;
    width: 100%;
  }

  .bb-right-copy-col {
    order: 2;
    padding-left: 0;
    text-align: center;
    width: 100%;
  }

  .bb-right-title {
    font-size: clamp(26px, 6.8vw, 36px);
  }

  .bb-right-desc {
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
  }

  .bb-center-doc-col {
    order: 3;
    max-width: 380px;
    width: 100%;
    margin: 10px auto 0;
    padding-top: 16px;
  }

  .bb-sticker-badge {
    width: 78px;
    height: 78px;
    left: 50%;
    top: -16px;
    transform: translateX(-50%);
  }

  .bb-doc-card {
    transform: none !important;
    padding: 18px 16px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: 0 12px 26px rgba(3, 54, 61, 0.22);
  }

  .bb-doc-header-top {
    gap: 8px;
  }

  .neus-doc-pill img {
    width: 38px;
    height: 38px;
  }

  .neus-doc-pill strong {
    font-size: 12.5px;
  }

  .neus-doc-pill span {
    font-size: 11px;
  }

  .bb-stamp-resuelto {
    font-size: 9.5px;
    padding: 3px 7px;
    transform: rotate(3deg);
  }

  .bb-doc-title {
    font-size: clamp(20px, 5.5vw, 24px);
  }

  .bb-doc-checklist li {
    font-size: 13.5px;
    gap: 10px;
    padding: 9px 2px;
  }

  .bb-doc-price-pill {
    font-size: 15.5px;
    padding: 11px 10px;
  }

  .top-picks-section {
    padding: 28px 0 70px;
  }

  .terrae-main-heading {
    font-size: clamp(30px, 7.5vw, 42px);
    margin-bottom: 88px;
  }

  .top-picks-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 104px;
  }

  .pick-card {
    padding: 0 20px 24px;
    margin-bottom: 12px;
  }

  .pick-badge-top {
    z-index: 6;
    top: 10px;
    right: 10px;
  }

  .pick-product-img-wrap {
    margin-top: -70px;
    height: 185px;
    margin-bottom: 10px;
  }

  .pick-product-img {
    max-height: 185px;
  }

  .neus-protagonist-section {
    padding: 28px 0 48px;
  }

  .neus-protagonist-card {
    grid-template-columns: 1fr;
    padding: 26px 20px;
    text-align: center;
    gap: 20px;
  }

  .neus-protagonist-card .terrae-eyebrow {
    text-align: center !important;
  }

  .neus-protagonist-card div[style*="display:flex"] {
    justify-content: center;
  }

  .benefits-products-header {
    grid-template-columns: 1fr;
  }

  .benefits-products-header > div:first-child {
    display: none;
  }

  .benefits-heading {
    font-size: 30px;
    text-align: center;
  }

  .tb-row {
    grid-template-columns: 1fr;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid #b2e2e2;
    border-radius: 16px;
    padding: 12px 14px;
    gap: 10px;
  }

  .tb-label {
    border-bottom: none;
    margin-right: 0;
    padding: 0;
    text-align: center;
    font-size: 14.5px;
  }

  .tb-divider-line {
    display: none;
  }

  .tb-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .tb-box-yes, .tb-box-no {
    width: 100%;
    max-width: 130px;
    margin: 0 auto;
  }

  .testimonials-section {
    padding: 48px 0 56px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .testimonials-grid .t-card:not(.active-center) {
    display: none;
  }

  .testimonials-grid .t-card.active-center {
    min-height: auto;
    padding: 26px 22px;
  }

  .google-reviews-white-frame {
    padding: 46px 0 52px;
    margin-bottom: 28px;
  }

  .bb-terrae-footer-top,
  .bb-terrae-footer-nav-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .bb-colegio-card {
    flex-direction: column;
    text-align: center;
  }

  #sp-bottom {
    margin: 0 12px;
    padding: 36px 20px 0 20px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
  }

  #sp-footer {
    margin: 0 12px 82px 12px;
    padding: 16px 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  .mobile-sticky-bar {
    display: flex;
  }

  .easystore-drawer {
    max-width: 100%;
    height: 100dvh;
    padding: 18px 16px 36px;
    -webkit-overflow-scrolling: touch;
  }

  /* Evitar auto-zoom en iOS Safari al tocar campos del formulario */
  .cf-input,
  .cart-quick-switcher select {
    font-size: 16px !important;
  }
}

@media (max-width: 767.98px) {
  .hide-xs {
    display: none !important;
  }

  .wavy-ribbon-wrap .clip-style1 svg {
    width: 185%;
    max-width: none;
    margin-left: -42.5%;
  }

  .handdrawn-wave-top svg.wave-bg-fill {
    width: 140%;
    max-width: none;
    margin-left: -20%;
  }
}

@media (max-width: 575.98px) {
  .gov-disclaimer {
    font-size: 11.5px;
    padding: 7px 10px;
  }

  .site-header {
    padding: 8px 10px;
  }

  .header-inner {
    padding: 8px 12px;
    gap: 8px;
  }

  .brand-wrap {
    gap: 8px;
    min-width: 0;
  }

  .brand-avatar {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: clamp(14.5px, 4.2vw, 17px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-cred {
    font-size: clamp(10.5px, 3vw, 11.5px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .cart-trigger-btn {
    padding: 8px 12px;
    font-size: 13px;
    gap: 6px;
    flex-shrink: 0;
  }

  .bb-left-blob-col {
    max-width: 260px;
  }

  .bb-doc-card {
    padding: 16px 14px;
  }

  .bb-cta-btn {
    width: 100%;
    max-width: 320px;
    justify-content: space-between;
  }

  .drawer-header h3 {
    font-size: 24px;
  }
}
