/* Home — Hero y barra de confianza (referencia: cálido, premium, chiaroscuro) */

:root {
  --hero-dark: #2b1b17;
  --hero-cream: #f5f2ed;
  --hero-cream-text: #faf6f0;
  --hero-muted: rgba(250, 246, 240, 0.88);
  --cta-from: #a0522d;
  --cta-to: #6b3410;
  --trust-bar-bg: #231612;
  --trust-accent: #c9a87c;
}

.contenedor-central-sandwich {
  background-color: var(--hero-cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

/* —— Hero (franja compacta ~400–480px, no pantalla completa) —— */
.home-hero {
  position: relative;
  width: 100%;
  min-height: 0;
  max-height: none;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background-color: var(--hero-dark);
}


.familia-seccion-fija {
    background-color: #fdfaf5 !important;
}

.circulo-marron-fijo {
    background-color: #3d2b1f !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Forzar que las columnas se peguen en escritorio */
@media (min-width: 768px) {
    .familia-seccion-fija .row {
        display: flex !important;
    }
}


.home-hero__bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg-url);
  background-size: cover;
  /* Referencia: taza / detalle hacia la derecha, texto a la izquierda */
  background-position: 78% 42%;
  background-repeat: no-repeat;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  /* Oscuro arriba e izquierda, más transparente hacia la derecha (legibilidad + dramatismo) */
  background:
    linear-gradient(
      105deg,
      rgba(35, 22, 18, 0.97) 0%,
      rgba(43, 27, 23, 0.78) 32%,
      rgba(43, 27, 23, 0.35) 55%,
      rgba(43, 27, 23, 0.12) 72%,
      rgba(43, 27, 23, 0.05) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(20, 12, 10, 0.75) 0%,
      rgba(43, 27, 23, 0.2) 38%,
      rgba(43, 27, 23, 0.55) 100%
    );
  pointer-events: none;
}



/* Viñeta suave (proporcionada al banner bajo) */
.home-hero__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow:
    inset 0 0 70px 24px rgba(15, 8, 6, 0.45),
    inset 0 -40px 60px -28px rgba(15, 8, 6, 0.38);
}

/* Estilos para la nueva sección Historia */
.historia-infografica {
  font-family: 'Montserrat', sans-serif;
  color: #3d2b1f;
}

.playfair {
  font-family: 'Playfair Display', serif;
}

.bg-crema {
  background-color: #f9f5f0;
}

.color-cafe-claro {
  color: #a67c52;
}

.divisor-grano {
  position: relative;
}

.divisor-grano::before, .divisor-grano::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1px;
  background-color: #d4af37;
}
.divisor-grano::before { left: calc(50% - 100px); }
.divisor-grano::after { right: calc(50% - 100px); }

.info-detalles li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.info-detalles li::before {
  content: "•";
  color: #d4af37;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.badge-ubicacion {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: white;
  padding: 10px 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.frase-destacada {
  border-left: 3px solid #d4af37;
  padding-left: 20px;
  font-style: italic;
  font-size: 1.2rem;
  color: #6a4a3a;
}

/* Ajustes Responsive */
@media (max-width: 991px) {
  .historia-infografica h2.display-3 {
      font-size: 2.5rem;
  }
}
/* Eliminamos el fondo blanco que pueda sobrar */
.bg-crema {
  background-color: #f5eee6 !important;
}

/* Forzamos que la columna de imagen ocupe todo el alto disponible en desktop */
@media (min-width: 992px) {
  .row.align-items-center {
      display: flex;
  }
  .col-lg-7 {
      display: flex;
  }
}

/* Estilo del badge flotante para que no tape lo importante */
.map-badge-float {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background-color: #f5eee6;
  padding: 15px 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border: 1px solid rgba(0,0,0,0.05);
}

.icon-circle-main {
  background-color: #3d2b1f;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 1.6rem;
  display: flex;
  align-items: center;
  min-height: 0;
}

.home-hero__row {
  width: 100%;
  min-height: 0;
}

.home-hero__copy {
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
}

.home-hero__headline {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(1.45rem, 3.1vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: var(--hero-cream-text);
  text-align: left;
  margin: 0 0 0.65rem;
  max-width: min(32ch, 100%);
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.5),
    0 1px 3px rgba(0, 0, 0, 0.4);
}

.home-hero__headline-accent {
  display: inline;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.02em;
}

.home-hero__subtitle {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: clamp(0.85rem, 1.15vw, 0.98rem);
  line-height: 1.45;
  letter-spacing: 0.03em;
  color: var(--hero-muted);
  text-align: left;
  margin: 0 0 1rem;
  max-width: 26rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(250, 246, 240, 0.22);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.home-hero__subtitle strong {
  font-weight: 600;
  color: #fff8f0;
}

/* CTA: centrado, compacto en altura */
.home-hero__cta-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  padding-top: 0.15rem;
}

.home-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: clamp(0.8rem, 0.95vw, 0.92rem);
  line-height: 1.25;
  letter-spacing: 0.035em;
  text-transform: none;
  color: #fff !important;
  text-decoration: none !important;
  padding: 0.65rem 1.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, #b35c32 0%, var(--cta-from) 22%, var(--cta-to) 100%);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.45),
    0 2px 6px rgba(0, 0, 0, 0.25),
    inset 0 2px 0 rgba(255, 255, 255, 0.18),
    inset 0 -2px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  max-width: 100%;
}

.home-hero__cta:hover {
  color: #fff !important;
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.5),
    inset 0 2px 0 rgba(255, 255, 255, 0.22),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.home-hero__cta:focus-visible {
  outline: 3px solid rgba(250, 246, 240, 0.55);
  outline-offset: 3px;
}

/* —— Barra de confianza (fina, 4 columnas, iconos discretos) —— */
.home-trust-bar {
  background: var(--trust-bar-bg);
  color: rgba(250, 246, 240, 0.88);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-top: 1px solid rgba(201, 168, 124, 0.15);
}

.home-trust-bar__inner {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.home-trust-bar__list {
  margin: 0;
}

.home-trust-bar__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 992px) {
  .home-trust-bar__cell {
    justify-content: center;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 0.85rem;
  }

  .home-trust-bar__cell:last-child {
    border-right: none;
  }
}

.home-trust-bar__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  color: var(--trust-accent);
  opacity: 0.92;
}

.home-trust-bar__icon i {
  font-size: 0.95rem;
  font-weight: 400;
}

.home-trust-bar__label {
  line-height: 1.35;
  max-width: 11rem;
}

@media (max-width: 991.98px) {
  .home-trust-bar__cell:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 767.98px) {
  .home-hero__bg {
    background-position: 65% center;
  }

  .home-hero__inner {
    padding: 1.35rem 1rem 1.45rem;
  }

  .home-hero__headline,
  .home-hero__subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .home-hero__headline {
    max-width: 22ch;
  }

  .home-hero__subtitle {
    margin-top: 0.35rem;
  }

  .home-hero__cta-wrap {
    justify-content: center;
  }

  .home-hero__cta {
    width: 100%;
    max-width: 20rem;
    padding: 0.62rem 1.25rem;
  }

  .home-trust-bar__cell {
    justify-content: flex-start;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .home-trust-bar__label {
    max-width: none;
  }
}



@media (min-width: 768px) {
  .home-hero__cta {
    min-width: 0;
    max-width: 22rem;
    padding: 0.68rem 1.85rem;
  }

  /* Franja compacta: altura mínima sin recortar contenido */
  .home-hero {
    min-height: 380px;
  }

  .home-hero__inner {
    padding: 1.65rem 1.25rem 1.7rem;
    min-height: 0;
  }

  .home-hero__row {
    min-height: 0;
  }
}

/* —— Beneficios + Testimonio destacado (bajo banner) —— */
.beneficios-testimonios {
  margin-top: 0;
  padding: 0;
  background-color: #fdf8f4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

.beneficios-testimonios__content {
  display: flex;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
  gap: 2.25rem;
  padding: 1.8rem 0 1.3rem;
}

.beneficios-testimonios__media {
  flex: 0 0 calc(50% - 1.125rem);
  min-width: 0;
  display: flex;
  align-items: center;
}

.beneficios-testimonios__media img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(52, 34, 24, 0.14);
}

.beneficios-testimonios__info {
  flex: 0 0 calc(50% - 1.125rem);
  min-width: 0;
  padding-top: 0.3rem;
}

.beneficios-testimonios__info h2 {
  margin: 0 0 1rem;
  color: #3f2a20;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.7vw, 2.45rem);
  font-weight: 700;
  line-height: 1.16;
  text-align: left;
}

.beneficios-testimonios__lista {
  margin: 0 0 1.2rem;
  padding: 0;
}

.beneficios-testimonios__lista li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.62rem 0;
  border-top: 1px solid rgba(106, 84, 70, 0.18);
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-size: 1.06rem;
  color: #3f322b;
}

.beneficios-testimonios__lista li:last-child {
  border-bottom: 1px solid rgba(106, 84, 70, 0.18);
}

.beneficios-testimonios__lista .check {
  color: #b86a2e;
  font-size: 1.22rem;
  line-height: 1;
  margin-top: 0.05rem;
  font-weight: 700;
}

.beneficios-testimonios__destacado {
  position: relative;
  margin-top: 1rem;
  padding: 1.1rem 1.15rem 1.05rem;
  min-height: 170px;
  background: linear-gradient(130deg, rgba(58, 36, 26, 0.92), rgba(89, 55, 39, 0.82));
  border-radius: 10px;
  box-shadow:
    0 12px 24px rgba(46, 28, 20, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.beneficios-testimonios__stars {
  color: #f3bd37;
  letter-spacing: 0.11em;
  font-size: 1.18rem;
  margin-bottom: 0.55rem;
  position: relative;
  z-index: 2;
}

.beneficios-testimonios__quote {
  margin: 0;
  max-width: 60%;
  color: #f7eee6;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.45vw, 1.5rem);
  font-style: italic;
  line-height: 1.36;
  position: relative;
  z-index: 2;
}

.beneficios-testimonios__firma {
  margin: 0.45rem 0 0;
  color: rgba(247, 238, 230, 0.9);
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.beneficios-testimonios__perfil {
  position: absolute;
  right: -10px;
  bottom: -8px;
  width: 47%;
  max-width: 250px;
  height: auto;
  border-radius: 14px;
  filter: saturate(0.95) contrast(1.05);
  mask-image: radial-gradient(circle at 25% 35%, #000 52%, transparent 95%);
  -webkit-mask-image: radial-gradient(circle at 25% 35%, #000 52%, transparent 95%);
}

.beneficios-testimonios__garantia {
  border-top: 1px solid rgba(114, 84, 66, 0.22);
  border-bottom: 1px solid rgba(114, 84, 66, 0.14);
  background: rgba(255, 255, 255, 0.4);
}

.beneficios-testimonios__garantia p {
  margin: 0;
  padding: 0.9rem 0 0.95rem;
  text-align: center;
  color: #5a3d30;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.6vw, 1.38rem);
  font-weight: 700;
  line-height: 1.3;
}

.beneficios-testimonios__garantia p span {
  display: block;
  margin-top: 0.15rem;
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: #7a5a48;
}

@media (max-width: 991.98px) {
  .beneficios-testimonios__content {
    gap: 1.4rem;
  }

  .beneficios-testimonios__quote {
    max-width: 58%;
    font-size: 1.05rem;
  }

  .beneficios-testimonios__perfil {
    width: 42%;
  }
}

@media (max-width: 767.98px) {
  .beneficios-testimonios__content {
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
    gap: 1rem;
    padding: 1.2rem 0 1rem;
  }

  .beneficios-testimonios__media,
  .beneficios-testimonios__info {
    flex-basis: auto;
  }

  .beneficios-testimonios__media img {
    max-height: 320px;
  }

  .beneficios-testimonios__info h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  .beneficios-testimonios__lista li {
    font-size: 0.98rem;
  }

  .beneficios-testimonios__destacado {
    padding-bottom: 1.25rem;
  }

  .beneficios-testimonios__quote {
    max-width: 100%;
    font-size: 1rem;
  }

  .beneficios-testimonios__perfil {
    position: static;
    width: 100%;
    max-width: 190px;
    margin-top: 0.8rem;
    margin-left: auto;
    display: block;
    border-radius: 12px;
    mask-image: none;
    -webkit-mask-image: none;
  }

  

  

  
}
