/* ==========================================
   1. Tipografías
========================================== */
@font-face {
  font-family: 'Bodoni italic';
  src: url('/assets/fonts/bodoni-72-book.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Bodoni';
  src: url('/assets/fonts/bodoni-72-book-italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Helvetica';
  src: url('/assets/fonts/Helvatica.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* ==========================================
   2. Estilos Globales
========================================== */
body {
  margin: 0;
  padding: 0;
  background-color: #FAF5F1;
}

h1 {
  font-family: 'Bodoni', serif;
  font-weight: 400;
  font-style: normal;
  font-size: 50px;
  line-height: 100%;
  letter-spacing: 0;
}

h2, h3, h4 {
  font-family: 'Bodoni', serif;
}

h5, h6 {
  font-family: 'Helvetica', Arial, sans-serif;
}

label {
  font-family: 'Bodoni', serif;
  font-size: 1.1rem;
}

.yellow-font {
  color: #F0BE00;
}

.white-font {
  color: #fff;
}

/* ==========================================
   3. Navbar
========================================== */
.navbar {
  z-index: 1030;
color:#132368;
}



.navbar-toggler {
  border: none;
  box-shadow: none;
  outline: none;
color:#132368;
}
.phone-icon {
  color: #FFD700; /* Amarillo dorado */
}

.white-toggler {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ==========================================
   4. Hero / Banners
========================================== */
.first-hero {
  position: relative;
  background-image: url('/assets/image/hero-legacy.webp');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  padding-top: 450px;
  overflow: hidden;
}

.first-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
    background: linear-gradient(to top, #1E1408 60%, rgb(30 20 8 / 96%) 80%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.first-caregivers {
  position: relative;
  background-image: url('/assets/image/chef.webp');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  padding-top: 450px;
  overflow: hidden;
}

.first-caregivers::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 350px;
    background: linear-gradient(to top, #1E1408 60%, rgba(30, 20, 8, 0.8) 80%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.first-caratekers {
  position: relative;
  background-image: url('/assets/image/cancion.webp');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  padding-top: 450px;
  overflow: hidden;
}

.first-caratekers::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 300px;
  background: linear-gradient(to top, #1E1408 60%, rgba(30, 20, 8, 0.8) 80%, transparent 100%);

  pointer-events: none;
  z-index: 0;
}

/* ==========================================
   5. Componentes Comunes
========================================== */
.yellow-btn {
  background-color: #F0BE00;
  font-family: 'Helvetica', sans-serif;
}

.icon-bg {
  background-color: #7676801F;
  padding: 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.women-img {
  width: 75%;
}

.hero-crema {
  background-color: #F4EFE9;
}

.gradient-bg {
  background: linear-gradient(to right, #1C1308 85%, rgb(69 45 14 / 80%) 100%);
  height: 100%;
  min-height: 300px;
}

.text-warning {
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 20px;
  background-color: #34A853;
  color: #fff;
  padding: 10px 10px;
  border-radius: 60px;
  font-weight: bold;
  display: flex;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

.whatsapp-float i {
  font-size: 30px;
}

/* ==========================================
   6. Carrusel Principal
========================================== */
.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
}

.carousel-container {
  display: flex;
  gap: 1.5rem;
  transition: all 0.6s ease;
  overflow: hidden;
}

.carousel-card {
  background: #fff;
  padding: 1rem;
  box-shadow: 0 0 12px rgba(223, 221, 221, 0.1);
  min-width: 300px;
  max-width: 300px;
  border-radius: 0;
  transition: transform 0.5s ease;
  height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.carousel-card img {
  margin-right: 0.5rem;
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.carousel-card h6 {
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.center-card {
  transform: scale(1.08);
  z-index: 2;
}

.side-card {
  opacity: 0.7;
}

.carousel-nav {
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #132368;
  transition: color 0.3s;
}

.carousel-nav:hover {
  color: #f7c600;
}

/* ==========================================
   7. Testimoniales
========================================== */
#testimonialRow {
  scroll-behavior: smooth;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

#testimonialRow > .card {
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.testimonial-card {
  padding: .2rem;
  width: 100%;
  max-width: 350px;
  min-height: 90px; /* Fuerza mismo alto */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fff;
  border: none;
  border-radius: 0.75rem;
}

.testimonial-card p {
  margin-bottom: 0.5rem; /* Reduce espacio entre párrafos */
}

/* ==========================================
   8. Responsive (solo móvil)
========================================== */
@media (max-width: 767px) {
  h1 {
    font-size: 3rem;
  }

  .first-hero .hero-content {
    margin-top: -50px;
  }

  .banner-text {
    margin-left: 0;
    margin-right: 0;
    margin-top: 40%;
  }

  #formulario .row {
    max-height: none !important;
    overflow: visible !important;
    flex-direction: column;
  }

  #formulario .card {
    max-height: none !important;
    height: auto !important;
  }

  #formulario img {
    max-height: 300px;
  }



  .first-caratekers {
    background-image: url('/assets/image/cancion_movil.webp');
  }

  .first-hero {
    background-image: url('/assets/image/movil_legacy.png');
    background-repeat: no-repeat;
    background-position: center top;
    min-height: 100vh;
  }

  .first-caregivers::after {
    display: none;
  }
}

.icono-incluye {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
/* ==========================================
   9. Cintillo Comunícate Fijo
========================================== */

.main-navbar {
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  padding: 0.5rem 1rem;
  z-index: 1050;
}

.main-navbar .nav-link,
.call-link {
  color: #132368;
  transition: color 0.3s ease;
}

/* Icono con animación cuando está transparente */
.phone-icon {
  font-size: 1.2rem;
  color: #F0BE00;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

/* Estilo al hacer scroll */
.main-navbar.scrolled {
  background-color: #F4EFE9;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.main-navbar.scrolled .nav-link {
  color: #132368;
}

.main-navbar.scrolled .nav-link:hover {
  color: #F0BE00;
}

.main-navbar.scrolled .call-link {
  color: #132368;
}

.main-navbar.scrolled .phone-icon {
  color: #F0BE00;
  animation: none;
}

/* Número centrado */
.call-center {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.call-link {
  text-decoration: none;
  font-weight: 500;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.75; }
}