/* Fuente para los pÃ¡rrafos (Regular) */
@font-face {
    font-family: 'AkzidenzGrotesk-Ex';
    src: url('fonts/AkzidenzGroteskBE-Ex.woff2') format('woff2'),
         url('fonts/AkzidenzGroteskBE-Ex.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Fuente para los tÃ­tulos (Bold) */
@font-face {
    font-family: 'AkzidenzGrotesk-BoldEx';
    src: url('fonts/AkzidenzGroteskBE-BoldEx.woff2') format('woff2'),
         url('fonts/AkzidenzGroteskBE-BoldEx.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root { --red: #CC1B0B; --darkred: #A01408; --gray: #c7c4c4; }

  body { font-family: 'AkzidenzGrotesk-Ex', sans-serif; background: #fff; }

  /* â”€â”€ TOP BAR â”€â”€ */
  .topbar {
  background: var(--red);
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Empuja el texto a la izquierda y redes a la derecha */
  padding: 0 24px;
}

.topbar span {
  color: rgba(255,255,255,0.7);
  font-size: 10px;
  font-family: 'AkzidenzGrotesk-Ex', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Estilos para el contenedor de redes */
.social-icons {
  display: flex;
  gap: 15px; /* Espacio entre los dos botones */
  align-items: center;
}

/* Estilo de los Ã­conos */
.social-icons a {
  color: rgba(255,255,255,0.7); /* Mismo tono que tu texto */
  width: 16px; /* TamaÃ±o del icono */
  height: 16px;
  display: flex;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Efecto Hover para PC */
.social-icons a:hover {
  color: #ffffff; /* Se vuelve blanco puro */
  transform: scale(1.15); /* Crece ligeramente */
}

  /* â”€â”€ HEADER / LOGO â”€â”€ */
  .header {
    background: #fff;
    text-align: center;
    padding: 3px 10px 0px;
}

/* TamaÃ±o por defecto para tablets y computadoras */
.header img { 
    height: clamp(80px, 15vw, 250px); 
}

/* TamaÃ±o exclusivo para mÃ³viles (pantallas de hasta 768px de ancho) */
@media (max-width: 768px) {
    .header img {
        height: 130px; /* Sube este valor hasta que tenga el tamaÃ±o que deseas */
    }
}

  /* â”€â”€ HERO â”€â”€ */
  .hero-wrap { 
    position: relative; 
    width: 100%; 
}

.principal img {
    width: 100%;      /* Hace que ocupe todo el ancho disponible */
    max-width: 100%;  /* Evita que se desborde */
    height: auto;     /* Mantiene la proporciÃ³n original para que no se deforme */
    display: block;   /* Elimina el pequeÃ±o margen blanco que dejan las imÃ¡genes por defecto abajo */
}

/* Estilo base para las imÃ¡genes del carrusel (ocultas por defecto) */
.hero-wrap .slide { 
    display: none; 
    width: 100%; 
    /* height: clamp(200px, 30vw, 500px); */
    object-fit: cover; 
    object-position: center 35%; 
}

/* Mostramos solo la imagen activa */
.hero-wrap .slide.active {
    display: block; /* 'block' es mejor que 'inline-block' para banners completos */
    animation: fade 1.5s; 
}

.hero-redbar {
    position: absolute;
    bottom: 0; 
    left: 0; 
    right: 0;
    height: 12px;
    background: var(--red, red); /* AsegÃºrate de tener definida tu variable --red, o dejarÃ¡ el fallback 'red' */
}

/* AnimaciÃ³n de opacidad */
@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

  /* â”€â”€ NUESTRO CAMINO â”€â”€ */
  .camino {
    background: var(--red);
    display: grid;
    grid-template-columns: clamp(120px, 20%, 220px) 1fr;
    gap: 0;
    padding: clamp(28px, 5vw, 60px) clamp(20px, 6vw, 80px);
    align-items: start;
  }
  .camino-label {
    color: rgba(255,255,255,0.85);
    font-family: 'AkzidenzGrotesk-BoldEx', sans-serif;
    font-size: clamp(11px, 1.4vw, 14px);
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.4;
    padding-top: 3px;
  }
  .camino-label strong {
    display: block;
    font-size: clamp(12px, 2vw, 18px);
    color: #fff;
    margin-top: 2px;
  }
  .camino-text {
    font-size: clamp(12px, 1.5vw, 16px);
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    font-family: 'AkzidenzGrotesk-Ex', sans-serif;
    font-weight: normal;
    max-width: 900px;
    text-align: justify;
  }
  .beneficios-top {
    background: #754c24;
    /* display: grid;
    grid-template-columns: clamp(120px, 20%, 220px) 1fr; */
    /* gap: 0; */
    padding: clamp(28px, 5vw, 60px) clamp(20px, 6vw, 80px);
    align-items: start;
  }
  .beneficios-text {
    font-size: clamp(14px, 1.7vw, 18px);
    line-height: 1.75;
    color: rgba(255,255,255,1.0);
    font-weight: normal;
    font-family: 'AkzidenzGrotesk-Ex', sans-serif;
    margin-bottom: 25px;
    text-align: center;
  }

  .beneficios-text span {
    font-size: clamp(16px, 1.7vw, 21px);
    line-height: 1.75;
    color: rgba(255,255,255,1.0);
    font-weight: bold;
    font-family: 'AkzidenzGrotesk-BoldEx', sans-serif;
    margin-bottom: 25px;
    text-align: center;
  }

  .franja-blanca {
    background: #fff;
    /* display: grid;
    grid-template-columns: clamp(120px, 20%, 220px) 1fr; */
    /* gap: 0; */
    padding: clamp(1px, 5vw, 2px) clamp(10px, 6vw, 20px);
    align-items: start;
  }

  /* â”€â”€ SPACER â”€â”€ */
  .spacer { background: #fff; height: clamp(16px, 3vw, 32px); }

  /* â”€â”€ FLOR â”€â”€ */
  .flor-section {
  position: relative;
  width: 100%;
  /* Cambiamos height por min-height para que se estire si hay mucho texto */
  min-height: clamp(280px, 38vw, 480px);
  display: flex;
  justify-content: flex-end; /* En PC empuja la caja negra hacia la derecha */
  overflow: hidden;
  z-index: 1;
}

.flor-section img {
  position: absolute; /* Mandamos la flor al fondo */
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: -1;
}

.flor-text {
  position: relative; /* Â¡Le quitamos el absolute! */
  width: clamp(260px, 40%, 450px); /* Un poco mÃ¡s ancha en PC por seguridad */
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  padding: 40px clamp(20px, 4vw, 50px); /* Respiro interior */
}

.flor-text p {
  font-size: clamp(12px, 1.4vw, 16px);
  line-height: 1.85;
  color: rgba(255,255,255,0.9);
  font-family: 'AkzidenzGrotesk-Ex', sans-serif;
  text-align: justify;
}

.flor-text p span {
  display: block; /* Permite que el tÃ­tulo respire mejor */
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.3; /* Corregido: tenÃ­as 3.75 y creaba un hueco gigante */
  color: rgba(255,255,255,1.0);
  font-family: 'AkzidenzGrotesk-BoldEx', sans-serif;
  margin-bottom: 15px;
  text-align: justify;
}

  /* â”€â”€ BENEFICIOS â”€â”€ */
  .beneficios {
    background: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: clamp(20px, 4vw, 50px) clamp(16px, 5vw, 60px) clamp(24px, 4vw, 50px);
    gap: 0;
  }
  .bcard { padding: 0 clamp(12px, 2vw, 28px); }
  .bcard:first-child { border-right: 1px solid #eee; }
  .bcard-icon { width: 32px; height: 32px; margin-bottom: 12px; }
  .bcard img.photo {
    width: 100%;
    height: clamp(140px, 22vw, 280px);
    object-fit: cover;
    display: block;
    margin-bottom: 14px;
  }
  .bcard h3 {
    font-family: 'AkzidenzGrotesk-BoldEx', sans-serif;
    font-size: clamp(13px, 1.6vw, 18px);
    font-weight: bold;
    color: var(--red);
    margin-bottom: 10px;
    line-height: 1.3;
  }
  .bcard p {
    font-size: clamp(11px, 1.2vw, 14px);
    line-height: 1.8;
    text-align: justify;
    color: #666;
  }

  /* â”€â”€ GAJO â”€â”€ */
  .gajo-section {
    position: relative;
  width: 100%;
  /* Usamos min-height en lugar de height para que pueda crecer si el texto es muy largo */
  min-height: clamp(350px, 60vw, 550px); 
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centra el texto verticalmente para evitar que choque arriba o abajo */
  padding: 50px clamp(20px, 5vw, 60px); /* 50px de respiro obligatorio arriba y abajo */
  box-sizing: border-box;
  overflow: hidden;
  z-index: 1;
  }
  .gajo-section img {
    position: absolute; /* La imagen se va al fondo de la caja */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.65);
  z-index: -1; /* Se asegura de estar detrÃ¡s del texto */
  }
  /* 3. LA CAJA DE TEXTO (Â¡Sin position absolute!) */
.gajo-text {
  position: relative; /* Cambiado: Ya no flota libremente */
  max-width: clamp(900px, 60%, 580px);
  color: #fff;
  z-index: 2;
}

/* El resto de tus estilos de texto se mantienen igual */
.gajo-text h3 {
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.2;
  color: rgba(255,255,255,1.0);
  font-weight: 900;
  margin-top: 0;
  margin-bottom: 15px;
}

.gajo-text p {
  font-size: clamp(11px, 1.3vw, 15px);
  line-height: 1.6;
  text-align: justify;
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 10px;
}

.gajo-text ul {
  margin-left: 20px;
  margin-bottom: 0;
}

.gajo-text ul li {
  font-size: clamp(11px, 1.3vw, 15px);
  line-height: 1.6;
  font-weight: 300;
  text-align: justify;
  opacity: 0.9;
}

  /* â”€â”€ FOOTER â”€â”€ */
  footer {
    background: #3a2518;
    text-align: center;
    padding: 20px;
  }
  footer a {
    color: rgba(255,255,255,0.75);
    font-size: clamp(10px, 1.2vw, 13px);
    letter-spacing: 2px;
    text-decoration: none;
    font-family: 'AkzidenzGrotesk-Ex', sans-serif;
  }
  footer a:hover { color: #fff; }  

  /* â”€â”€ RESPONSIVE MOBILE â”€â”€ */
  @media (max-width: 600px) {
  .camino { grid-template-columns: 1fr; gap: 14px; }
  .beneficios { grid-template-columns: 1fr; }
  .bcard:first-child { border-right: none; border-bottom: 1px solid #eee; padding-bottom: 24px; margin-bottom: 24px; }
  .flor-text { width: 55%; }
  
  /* Â¡LÃ­nea de .topbar eliminada para que sea visible en mÃ³viles! */
}


  .btn-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366; /* Verde oficial de WhatsApp */
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000; /* Asegura que siempre estÃ© por encima del resto del contenido */
  transition: all 0.3s ease;
}

.btn-whatsapp svg {
  width: 35px;
  height: 35px;
}