:root {
    --primary: #62D7BE;
    --secondary: #184764;
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.logo-title {
    display: flex;
    align-items: center;
    gap: 10px; /* espacio entre logo y texto */
}

.logo-title img {
    height: 40px; /* tamaño del logo */
    width: auto;
    border-radius: 6px; /* opcional para bordes redondeados */
}

.logo-title .title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1C1154; /* ajusta a tu paleta */
    font-family: 'Segoe UI', sans-serif; /* o la que uses */
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: var(--secondary);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* 2) Botón menú móvil */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--secondary);
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    background: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}
.nav-links a:hover {
    color: var(--primary); /* Cambiar color del texto al pasar el mouse */
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px; /* Altura del borde */
    background-color: var(--secondary); /* Borde con el color que desees */
    transform: scaleX(0); /* Comienza sin mostrar */
    transform-origin: bottom right;
    transition: transform 0.3s ease; /* Transición suave */
}

.nav-links a:hover::after {
    transform: scaleX(1); /* Al pasar el mouse, el borde se expande */
    transform-origin: bottom left;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 1rem 1rem;  /* Aumenta el padding para hacer el botón más grande */
    border-radius: 8px;
    font-weight: 800;  /* Aumenta el peso de la fuente */
    font-size: 0.9rem; /* Aumenta el tamaño de la fuente */
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s ease;  /* Transición suave al hacer hover */
}

/* Estilo del botón primario */
.btn-primary {
    background: var(--secondary);
    color: var(--white);
}

/* Estilo del botón secundario */
.btn-secondary {
    background: var(--white);
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

/* Efecto hover en los botones */
.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-2px); /* Efecto de elevación al pasar el mouse */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Agrega sombra al hacer hover */
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 8rem 0 6rem;
    position: relative;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero .search-form {
    display: flex;
    max-width: 500px;
    margin: 2rem auto 0;       /* separa del texto y lo centra */
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hero .search-input {
    flex: 1;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--secondary);
}

.hero .search-input::placeholder {
    color: var(--gray-600);
}

.hero .search-button {
    background: none;
    border: none;
    padding: 0 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .search-button img {
    width: 1.25rem;
    height: 1.25rem;
    filter: invert(30%); /* si el ícono es oscuro, ajusta su contraste */
}

/*video*/
.curved-hero {
  position: relative;
  background:linear-gradient(to bottom, #62D7BE, #184764);
  color: white;
  padding: 100px 20px 0;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 80px;
}

.text-content, .video-content {
  flex: 1;
  min-width: 280px;
}

.video-content iframe {
  width: 100%;
  height: 350px;
  border-radius: 16px;
}
.btn {
  background: white;
  color: black;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 30px; /* esto lo baja */
  display: inline-block;
}


/* ✅ SVG queda FUERA del fondo morado */
.wave-divider {
  width: 100%;
  line-height: 0;
  background: var(--gray-100);
}


.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: url('../assets/icons/wave.svg') no-repeat bottom;
    background-size: cover;
}

/* How it Works */
.how-it-works {
    padding: 6rem 0;
    background: var(--white);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--secondary);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.step:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 25px rgba(98, 215, 190, 0.4),
    0 4px 6px rgba(0, 0, 0, 0.05);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* Benefits */
.benefits {
    padding: 6rem 0;
    background: var(--gray-100);
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}



/* Pricing */
.pricing {
    padding: 4rem 0;
    background: #f8fafc;
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--secondary);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 1rem 0; /* Padding superior para las imágenes que sobresalen */
}
.benefits-grid .benefit-card {
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

/* Sombra verde al hover */
.benefits-grid .benefit-card:hover {
  box-shadow:
    0 15px 25px rgba(98, 215, 190, 0.4),  /* sombra verde */
    0 4px 6px rgba(0, 0, 0, 0.05);          /* ligera sombra negra */
}

/* Imagen oculta por defecto */
.benefits-grid .benefit-card .hover-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;  /* encima del contenido */
}

/* Al hacer hover, la imagen aparece */
.benefits-grid .benefit-card:hover .hover-img {
  opacity: 0.2;
}

.price-card {
    border-radius: 20px;
    padding: 2rem;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 500px;
    margin-top: 40px; /* Espacio para que la imagen sobresalga */
}

/* Gradientes verticales (de arriba hacia abajo) */
.price-card.plan-1 {
    background: linear-gradient(180deg, #1e3a5f 0%, #62D7BE 100%);
}

.price-card.plan-2 {
    background: linear-gradient(180deg, #1e3a5f 0%, #62D7BE 100%);
}

.price-card.plan-3 {
    background: linear-gradient(180deg, #1e3a5f 0%, #62D7BE 100%);
}

.price-card.featured {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(98, 215, 190, 0.3);
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.price-card.featured:hover {
    transform: scale(1.02) translateY(-8px);
}

.card-image {
    position: absolute;
    top: -30px; /* Hace que sobresalga 30px por encima */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 220px;
    height: 220px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.price-header {
    text-align: left;
    margin-bottom: 1rem;
    margin-top: 120px;
    padding: 0 1rem;
}

.price-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.card-description {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.popular-badge {
    background: rgba(255, 255, 255, 0.9);
    color: #0f4c3a;
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

.price.free {
    font-size: 1.8rem;
}

.price span {
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    margin-top: 0.25rem;
    color: #ffffffcc;
}

.info-button {
    background: rgba(255, 255, 255, 0.9);
    color: var(--secondary);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.info-button:hover {
    background: #ffffff;
    transform: translateY(-1px);
}

.additional-text {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.features {
    list-style: none;
    margin: 2rem 0;
    flex-grow: 1;
}

.features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.features li::before {
    content: '✓';
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.2);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.more-info-btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--secondary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive design */
@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .price-card.featured {
        transform: none;
    }
    
    .price-card.featured:hover {
        transform: translateY(-8px);
    }
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: url('../assets/images/comentario.jpg') no-repeat center center / cover;
    position: relative;
    color: white;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); /* capa oscura para contraste de texto */
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 1; /* para que el contenido esté sobre la capa oscura */
}

.testimonial {
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: white;
}

.author {
    font-weight: 600;
    font-style: italic;
    color: #ffffffcc;
}

/* Swiper bullets */
.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/*Footer*/
.footer {
    background: linear-gradient(145deg, #184764, #62D7BE); /* Gradiente de colores que usas */
    color: white;
    padding: 4rem 0 2rem;
    font-size: 0.95rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra para darle profundidad */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer .logo-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.footer .logo-title img {
    height: 60px;
    width: auto;
    border-radius: 8px;
}

.footer .title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.footer-description {
    color: #ffffff;
    margin-top: 1rem;
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 700; /* Negrita */
}

.footer-column h4 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700; /* Negrita */
}

.footer-column ul {
    margin-bottom: 0.8rem;
    color: #ffffff; /* Blanco */
    font-size: 1.1rem; /* Un poco más grande */
    font-weight: 600; /* Negrita */
}

.footer-column ul li {
    margin-bottom: 0.8rem;
    color: #ffffff; /* Blanco */
    font-size: 1.1rem; /* Un poco más grande */
    font-weight: 600; /* Negrita */
}

.footer-column ul li a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s ease;
    font-weight: 700
}

.footer-column ul li a:hover {
    color: #62D7BE; /* Resaltado con el color principal */
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    color: #a0aec0;
    font-size: 0.9rem;
}

.footer .social-icons {
    margin-top: 2rem;
}

.footer .social-icons a {
    margin: 0 15px;
    color: #d1d5db;
    font-size: 1.8rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer .social-icons a:hover {
    color: #62D7BE;
    transform: translateY(-5px); /* Animación para darle más interactividad */
}

.footer .footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    opacity: 0.1;
    z-index: -1; /* Asegura que la imagen esté detrás del contenido */
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr; /* Columnas apiladas en pantallas pequeñas */
    }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    flex-direction: column;
    width: 200px;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

/* 3) Hero responsivo */
@media (max-width: 992px) {
  .hero h1 { font-size: 3rem; }
  .hero p  { font-size: 1.5rem; }
}
@media (max-width: 576px) {
  .hero {
    padding: 6rem 1rem 4rem;
    min-height: auto;
  }
  .hero h1 { font-size: 2.2rem; }
  .hero p  { font-size: 1.2rem; }
}

@media (max-width: 576px) {
  .hero {
    padding-bottom: 150px; /* espacio extra antes de la onda */
  }
  .wave-bottom {
    bottom: 0;
  }
}

/* 4) Grid “How it Works” y “Beneficios” */
@media (max-width: 992px) {
  .steps,
  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}
@media (max-width: 768px) {
  .steps,
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* 5) Curved-hero vídeo flexible */
@media (max-width: 576px) {
  .video-content iframe {
    height: 200px;
  }
}

/* 6) Pricing en una columna móvil */
@media (max-width: 768px) {
  .pricing-cards {
    grid-template-columns: 1fr !important;
  }
}

/* 7) Footer apilado */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 400px) {
  .wave-bottom {
    display: none;
  }
}
