:root {
    --primary-green: #8DDF02; 
    --secondary-green: #03C63C;
    --header-height: 100px;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: var(--header-height);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-image: url('img/image_4.png'); 
    background-color: #f9fbf7; 
    background-repeat: repeat; 
    background-size: 100% auto; 
    background-attachment: fixed;
}

.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--secondary-green);
    backdrop-filter: blur(10px); 
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 40px; 
}

.logo {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 11px;
    line-height: 1.1;
    letter-spacing: 1px;
    background: transparent;
    padding: 0;
}

.logo img {
    height: 60px; 
}

.nav-pill { 
    padding: 25px 0;
    flex: 1;                  
    max-width: 900px;         
}

.nav-pill ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 20px;
    margin: 0;
}

.nav-pill a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 900; 
    font-size: 1.1rem;
}

.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav {
  position: fixed;
  inset: 0; 
  background: #ffffff;  
  z-index: 3000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.nav.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav a {
  color: #000;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
}

.close-menu {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 32px;
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
}

@media (max-width: 768px) {
    .nav-pill {
        display: none;          
    }
    .menu-toggle {
        display: block;
        color: #ffffff;
        padding-right: 20px;
    }
    .nav-container {
        justify-content: space-between;
        padding: 10px;
    }
    .nav.active {
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    padding-top: 160px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    padding-right: 20px;
}

.hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary-green); 
}

.btn-subscribe {
    display: block;
    width: 100%;
    padding: 12px 0;
    margin-top: 25px;
    background-color: #ffffff; 
    color: var(--primary-green);    
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px var(--primary-green); 
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;    
    position: relative; 
    z-index: 10;
}

.btn-subscribe:hover {
    transform: translateY(-3px);
    background-color: var(--primary-green); 
    box-shadow: 0 6px 20px #fff;
    color: #fff;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    text-align: center;
}

.image-slider {
    position: relative;
    width: 100%;
    max-width: 550px;
    aspect-ratio: 1 / 1; 
    margin: 0 auto;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(0.9);     
    opacity: 0;
    transition: opacity 1s ease-in-out;    
    z-index: 1; 
}

.image-slider img.active {
    opacity: 1;
}

/* Video Section Actualizado */
.video-section {
    text-align: center;
    padding: 40px 0 40px;
}

.video-section h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.video-wrapper {
    position: relative;
    max-width: 800px; 
    margin: 0 auto;
    border-radius: 20px; 
    overflow: hidden;
    aspect-ratio: 16 / 9; 
    background-color: #000; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* --- SECCIÓN PLATAFORMA FITEAT --- */

.platform-info {
    padding: 80px 0;
}

.platform-grid {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    gap: 50px;
}

.platform-text {
    flex: 1; 
}

.section-title-wrapper {
    margin-bottom: 25px;
    display: inline-block;
}

.platform-text h2 {
    font-size: 2.2rem;
    text-transform: uppercase;
    font-weight: 700; 
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.title-underline {
    width: 60px; 
    height: 6px;
    background-color: var(--primary-green);
    border-radius: 3px;
}

.main-desc {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.sub-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 30px;
}

.sub-desc {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
}

.conditions-grid {
    display: flex;
    gap: 20px;
}

.conditions-list {
    list-style: none;
    flex: 1;
}

.conditions-list li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 600; 
}

.conditions-list li i {
    color:  var(--primary-green); 
    margin-top: 4px; 
    font-size: 0.9rem;
}

.platform-image {
    flex: 0.8; 
    display: flex;
    justify-content: center;
    position: relative;
}

.platform-image img {
    width: 100%;
    max-width: 350px; 
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15)); 
    border-radius: 30px; 
}

@media (max-width: 900px) {
    .platform-grid {
        flex-direction: column; 
        text-align: left;
    }

    .platform-image {
        margin-top: 40px;
    }
    
    .conditions-grid {
        flex-direction: column; 
        gap: 0;
    }
}


/* --- SECCIÓN DEL BANNER VERDE --- */
.green-banner {
    width: 100%; 
    background-image: url('img/image_2.png');
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat;
    height: 700px; 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.green-banner h2 {
    color: #fff;
    font-size: 4rem;
    text-align: center;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
    max-width: 800px; 
}

@media (max-width: 768px) {
    .green-banner {
        height: 250px; 
    }
    .green-banner h2 {
        font-size: 1.4rem;
    }
}

/* --- SECCIÓN DE PRECIOS --- */

.pricing {
    padding: 60px 0;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: stretch; 
}

.pricing-card {
    background: #fff;
    width: 350px; 
    border: 2px solid var(--secondary-green); 
    border-radius: 35px; 
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.card-header-new {
    background-color:var(--secondary-green); 
    color: #fff;
    padding: 25px 20px 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
 
.plan-badge {
    background-color: #fff;
    color: var(--secondary-green);
    font-weight: 800;
    text-transform: uppercase;
    padding: 8px 25px;
    border-radius: 8px; 
    font-size: 1.1rem;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    display: inline-block;
}

.main-price {
    font-size: 3.8rem; 
    font-weight: 800;
    line-height: 1;
    margin: 10px 0;
}

.plan-mensual-label {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    opacity: 0.9;
}

.sub-price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.price-info {
    text-align: left;
    color: #fff;
    line-height: 1.2;
}

.price-info .desde {
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
}

.price-info .amount {
    font-size: 1.6rem; 
    font-weight: 800;
}

.price-info .per-plan {
    font-size: 0.75rem;
    font-weight: 400;
}

.card-body-new {
    padding: 30px 25px;
    background-color: #fff;
    flex: 1; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-body-new ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
}

.card-body-new li {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.4;
}

.card-body-new li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: #000; 
    font-size: 0.8rem;
}

.btn-pricing {
    display: block;
    width: 100%;
    padding: 18px 0;
    background-color:  var(--primary-green); 
    color: #fff;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.2s;
    margin-top: auto; 
}

.btn-pricing:hover {
    background-color: var(--secondary-green);
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .pricing-card {
        width: 100%;
        max-width: 400px;
    }
}

/* --- SECCIÓN DE CLIENTES  --- */
.clients-section {
    background-color: #fff; 
    padding: 60px 0;
    overflow: hidden;
    text-align: center;
}

.clients-section h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0 20px;
    letter-spacing: 1px;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-container::before,
.slider-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.slider-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.slider-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.slider-track {
    display: flex;
    width: calc(200px * 24); 
    animation: scroll 40s linear infinite;
}

.slide {
    width: 200px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    box-sizing: border-box;

}

.slide img {
    max-width: 65%;     
    max-height: 70px;       
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.4); 
    opacity: 0.9;    
    transition: all 0.3s ease;
}

.slide img:hover {
    filter: grayscale(0%); 
    transform: scale(1.1); 
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 12)); 
    }
}


@media (max-width: 768px) {
    .clients-section h2 {
        font-size: 1.2rem;
    }
    .slide {
        width: 150px;
    }
    .slider-track {
        display: flex;
        width: calc(200px * 24); 
        animation: scroll 40s linear infinite;
        align-items: center;
    }
    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-150px * 12)); }
    }
}

/* --- SECCIÓN DE PREGUNTAS FRECUENTES --- */
.faq-section {
    padding: 80px 0;
    background-color: #f9fbf7; 
    overflow: hidden; 
}

.faq-container {
    display: flex;
    align-items: flex-start; 
    justify-content: space-between;
    gap: 60px;
}

.faq-image-wrapper {
    flex: 1;
    position: relative;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.faq-main-img {
    width: 100%;
    max-width: 400px;
    height: 500px;
    object-fit: cover;
    border-radius: 10% 10% 10% 10% ; 
    box-shadow: 0 20px 40px rgba(79, 124, 50, 0.15);
    z-index: 2;
    position: relative;
}

.floating-leaf {
    position: absolute;
    color: var(--primary-green);
    font-size: 1.5rem;
    z-index: 3;
    opacity: 0.8;
}

.leaf-1 { top: 10%; left: 0; transform: rotate(-45deg); }
.leaf-2 { bottom: 15%; right: -10px; transform: rotate(30deg); font-size: 2rem; }
.leaf-3 { top: 40%; right: 10%; transform: rotate(15deg); color: var(--primary-green); }

.faq-content {
    flex: 1;
    padding-top: 20px;
}

.faq-subtitle {
    color: var(--primary-green);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.faq-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    line-height: 1.2;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.accordion-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.accordion-item.active {
    border-color: var(--primary-green);
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 20px;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between; 
    align-items: center;
    cursor: pointer;
}

.accordion-icon {
    color: var(--primary-green);
    transition: transform 0.3s ease;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.accordion-item.active .accordion-header {
    color: var(--primary-green);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg); 
    color: var(--primary-green);
}

.accordion-item.active .accordion-body {
    padding-bottom: 20px; 
}

@media (max-width: 900px) {
    .faq-container {
        flex-direction: column;
    }
    .faq-image-wrapper {
        min-height: 300px;
        width: 100%;
    }
    .faq-main-img {
        height: 350px;
    }
}

/* --- ESTILOS DEL NUEVO FOOTER --- */
footer {
    background-color: var(--secondary-green); 
    color: #fff;
    padding-top: 60px;
    padding-bottom: 20px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.footer-logo-main {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer-desc {
    line-height: 1.6;
    font-weight: 300;
}

.footer-location h3, 
.footer-contact-col h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-logo-secondary {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-top: 20px;
    opacity: 0.8;
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-info-item i {
    background-color: #fff;
    color: var(--primary-green); 
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; 
    font-size: 0.9rem;
}

.footer-info-item span,
.footer-info-item a {
    margin-top: 4px; 
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-info-item a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.footer-emails .footer-info-item {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-logo-main {
        margin-bottom: 15px;
    }
}

.footer-contact i {
    width: 35px;
    height: 35px;
    background-color: #fff;
    color: #03C63C; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
    }
}

.btn-whatsapp {
    position: fixed; 
    bottom: 30px;    
    right: 30px;     
    width: 60px;
    height: 60px;
    background-color: #25d366; 
    color: #fff;
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000; 
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-whatsapp:hover {
    transform: scale(1.1); 
    background-color: #1ebc57; 
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}






