/*Text Fonts */
@font-face {
    font-family: Aeonik-Black;
    src: url("../assets/fonts/Aeonik-Bold.ttf");
}

@font-face {
    font-family: Aeonik-Bold;
    src: url("../assets/fonts/Aeonik-Bold.ttf");
}

@font-face {
    font-family: Aeonik-Medium;
    src: url("../assets/fonts/Aeonik-Medium.ttf");
}

@font-face {
    font-family: Aeonik-Regular;
    src: url("../assets/fonts/Aeonik-Regular.ttf");
}

@font-face {
    font-family: Code-Pro-Black;
    src: url("../assets/fonts/Code-Pro-Black.otf");
}
html {
    scroll-behavior: smooth;
  }

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Arial", sans-serif;
}

/* Navbar styles */
nav {
    background-color: #000000;
    color: white;
    
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    max-width: 100%; 
    margin: 0 auto; 
    width: 100%;
}

#toggle-buttons {
    scroll-margin-top: 200px;
  }


.logo {
    width: 300px; 
    height: 150px; 
    background-image: url("../assets/images/logo_verde.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-family: "Aeonik-Black";
    letter-spacing: 1px;
    font-size: 1.5em;
}

.nav-links a:hover {
    color: #00af4d;
}

/* Hero section */
.portada {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("../assets/images/1920x1080.jpg") no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 0 2rem;
    position: relative;
}

.portada-contenido {
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    text-align: center; 
    margin-left: auto; 
    margin-right: 10%; 
    
}

.portada h1 {
    font-size: 3rem;
    font-family: "Code-Pro-Black";
    margin-bottom: 1rem;
    width: 100%;
}

.portada .sub-title {
    color: #00af4d;
    background:
        url("../assets/images/bg_sub-title.png") no-repeat center center/cover;
    font-size: 6rem;
    font-family: "Code-Pro-Black", sans-serif;
    margin-bottom: 1rem;
    width: 100%;
}

.portada p {
    font-size: 1.5rem;
    font-family: "Aeonik-Regular";
    margin-bottom: 2rem;
    line-height: 1.5;
    width: 100%;
}

.btn-contactar {
    padding: 0.5rem 2rem;
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.5rem;
    font-family: "Aeonik-Medium";
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0 auto;
    display: block; 
}

.btn-contactar a {
    all: unset !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.btn-contactar:hover {
    background-color: #00af4d;
}



/* Cards section */
.pricing-section {
    padding: 4rem 2rem;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-family: "Code-Pro-Black";
    margin-bottom: 2rem;
}

.pricing-cards {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    
    font-family: "Aeonik-Regular";
}

.pricing-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    width: 300px;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-section .pricing-content {
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: "Aeonik-Regular";
}
.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-header {
    margin-bottom: 1.5rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: bold;
}

.plan-price {
    font-size: 1.2rem;
    color: #777;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem;
    text-align: left;
}

.plan-features li {
    margin-bottom: 0.5rem;
}

.plan-btn {
    display: inline-block;
    background-color: #494949;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease;

}

.plan-btn:hover {
    background-color: #00af4d;
}

.popular {
    border: 2px solid #00af4d;
}

.badge {
    background-color: #494949;
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.pricing-card:nth-child(1)::before,
.pricing-card:nth-child(2)::before,
.pricing-card:nth-child(3)::before {
    content: "";
    display: block;
    height: 250px;
    background-size: contain;
    background-repeat: no-repeat; 
    background-position: center;
    border-radius: 12px;
    margin-bottom: 1rem;
}

/* Planes Residenciales */
#residenciales .pricing-card:nth-child(1)::before {
    background-image: url('../assets/images/Residenciales/Mini.png');
}

#residenciales .pricing-card:nth-child(2)::before {
    background-image: url('../assets/images/Residenciales/Lite.png');
}

#residenciales .pricing-card:nth-child(3)::before {
    background-image: url('../assets/images/Residenciales/Plus.png');
}

/* Planes PYMES */
#pymes .pricing-card:nth-child(1)::before {
    background-image: url('../assets/images/Pymes/Full\ Mini.png');
}

#pymes .pricing-card:nth-child(2)::before {
    background-image: url('../assets/images/Pymes/Full\ Lite.png');
}

#pymes .pricing-card:nth-child(3)::before {
    background-image: url('../assets/images/Pymes/Full\ Plus.png');
}

.plan-group {
    display: none;
  }
  
  .plan-group.active {
    display: block;
  }
  
  .toggle-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
  }
  
  .toggle-btn {
    padding: 0.60rem 6rem;
    font-size: 1.5rem;
    font-family: "Aeonik-Regular";
    font-weight: bold;
    border: 2px solid #00af4d; 
    background-color: #fff;
    color: #000000; 
    border-radius: 50px; 
    cursor: pointer;
    transition: all 0.3s; 
}

.toggle-btn.active,
.toggle-btn:hover {
    background-color: #00af4d;
    color: #000000;
    border: 2px solid #00af4d; 
    font-family: "Aeonik-Medium";
    font-weight: bold;
   
}
  


/* portada 2 */
.portada2 {
    height: 100vh;
    background: 
        url("../assets/images/portada-2.jpg") no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 0 2rem;
    position: relative;
}

.portada2-contenido {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: center;
    margin-left: auto;
    margin-right: 10%;
}

.portada2 h1 {
    color: #000000;
    font-size: 4rem;
    font-family: "Aeonik-Bold";
    margin-bottom: 1rem;
    width: 100%;
}

.sub-title2 {
    color: #000000;
    background: url("../assets/images/bg_sub-title-2.png") no-repeat center center/cover;
    font-size: 6rem;
    font-family: "Code-Pro-Black", sans-serif;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}

.portada2 p {
    color: #000000;
    font-weight: bold;
    font-size: 1.5rem;
    font-family: "Aeonik-Regular";
    margin-bottom: 2rem;
    line-height: 1.5;
    width: 100%;
    margin-top: 1rem;
}

.btn-contactar2 {
    padding: 0.5rem 2rem;
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.5rem;
    font-family: "Aeonik-Medium";
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0 auto;
    display: block;
}

.btn-contactar2 a {
    all: unset !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}
.btn-contactar2:hover {
    background-color: #00af4d;
}



/* Footer Styles */
.footer {
    background-color: #000000;
    color: #ecf0f1;
    padding: 2rem 0 0;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 2rem;
    padding: 0 1rem;
    position: relative;
}

.footer-image-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 10; 
    text-indent: -9999px; 
  }

.footer-section h3 {
    color: #00af4d;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-family: "Aeonik-Black";
}

.footer-section p,
.footer-section ul {
    margin: 0.5rem 0;
    font-size: 1.5rem;
    font-family: "Aeonik-Regular";
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section a {
    color: #ecf0f1;
    font-size: 1.5rem;
    font-family: "Aeonik-Black";
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #000000;
}

.footer-bottom {
    text-align: center;
    padding: 1rem 0;
    background-color: #000000;
    margin-top: 2rem;
    font-size: 1rem;
    font-family: "Aeonik-Black";
}

.footer-section:nth-child(1),
.footer-section:nth-child(2) {
    background-repeat: no-repeat;
    background-position: center 20px; 
    background-size: 300px auto; 
    
    padding-top: 100px; 
    padding-left: 1rem;
    padding-right: 1rem;
    
    text-align: center;
    min-height: 250px; 
}

.footer-section:nth-child(1) {
    background-image: url('../assets/images/logo_verde.png');
    background-position: center -20px;
}

.footer-section:nth-child(2) {
    background-image: url('../assets/images/contacto.png');
}


.footer-section:nth-child(2) {
    background-image: url('../assets/images/contacto.png');
    
}

/* Versión móvil */
@media (max-width: 768px) {
    .toggle-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .toggle-btn {
        width: 90%; 
        max-width: 250px; 
        padding: 0.6rem 1rem;
        font-size: 1.2rem;
    }
    
    .plan-group {
        padding: 0 10px; 
    }
    
    .section-title {
        font-size: 1.8rem; 
        text-align: center;
    }
    
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        width: 90%;
        margin-bottom: 1rem;
    }

     /* Hero Section */
     .portada,
     .portada2 {
         padding: 2rem 1rem;
         height: auto;
         text-align: center;
         align-items: center;
     }
 
     .portada-contenido,
     .portada2-contenido {
         align-items: center;
         text-align: center;
         margin: 0 auto;
     }
 
     .portada h1,
     .portada2 h1 {
         font-size: 2.2rem;
     }
 
     .portada .sub-title,
     .sub-title2 {
         font-size: 3rem;
         background-size: contain;
         width: 100%;
     }
 
     .portada p,
     .portada2 p {
         font-size: 1.1rem;
     }
 
     .btn-contactar,
     .btn-contactar2 {
         font-size: 1.2rem;
         padding: 0.5rem 1.5rem;
     }

     
}
