:root {
    --primary-color: #FFC932;
    --secondary-color: #26282A;
    --text-color: #828A8E;
    --light-bg: #f9f9f9;
    --dark-bg: #1C1D28;
    --white: #fff;
    --border-color: #eee;
    --gray: #E5E7E8;
    --orange-gradient: linear-gradient(45deg, #fff 0%, #FFC932 100%);
}

html, body {
    max-width: 100%;
    overflow-x: hidden; /* Esto corta cualquier elemento que intente salirse de la pantalla */
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--text-color);
    line-height: 1.6;
}


*, *::before, *::after {
    box-sizing: inherit;
}


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

a {
    text-decoration: none;
    color: var(--primary-color);
}

.section-tag {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 20px;
}
.section-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 20px;
}
.section-subtitle-dark {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 20px;
}

.pricing .section-title,
.contact .section-title {
    color: var(--white);
}

.section-description {
    font-size: 18px;
    color: var(--text-color);
    margin-top: 0;
    margin-bottom: 30px;
    max-width: 800px; /* Para centrar y limitar el ancho en secciones de texto centrado */
    margin-left: auto;
    margin-right: auto;
}

.pricing .section-description,
.contact .section-description {
    color: #bbb;
}



/* Botón CTA general (reemplaza .hero-btn, .contact-btn, .pricing-card .btn) */
.cta-button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-align: center;
}

.cta-button:hover {
    background-color: #F9A307;
    color: var(--secondary-color);
}

/* Modificadores de tamaño de botón */
.cta-button--small { /* Para la navegación */
    padding: 6px 16px;
    font-size: 16px;
    font-weight: 500;
}

.cta-button--medium { /* Para las tarjetas de precio */
    padding: 8px 18px;
    font-size: 16px;
    font-weight: 500;
}

.cta-button--large { /* Para Hero, Solutions y Contact Form */
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
}

/*HEADER*/
header {
    padding: 20px 0;
    position: relative; /* Asegura que se posicione correctamente */
    width: 100%;
    z-index: 10; /* Asegura que esté por encima de otros elementos */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Transición suave */
}

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

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.nav-links li {
    margin-left: 30px;
}

/* --- Header Theme: Light (Default) --- */
.header-light {
    background-color: transparent; 
    box-shadow: none;
}

.header-light .logo-img {
    display: inherit;
    min-width: 120%;
}

.header-light .nav-links a {
    color: var(--secondary-color); /* Enlaces oscuros para fondo claro */
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-light .nav-links a:hover {
    color: var(--primary-color);
}

/* --- Header Theme: Dark --- */
.header-dark {
    background-color: transparent; /* Generalmente transparente si va sobre un hero oscuro */
    box-shadow: none; /* Sin sombra en el tema oscuro */
}

.header-dark .logo img {
    /* Aquí usarías tu logo blanco para el tema oscuro */
    content: url('../public_html/images/Logo-white-color.svg'); /* Asume que tienes un logo en blanco */
}


.header-dark .nav-links a {
    color: var(--white); /* Enlaces blancos para fondo oscuro */
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-dark .nav-links a:hover {
    color: var(--primary-color);
}

/* El botón de contacto (si lo mantienes) también debería adaptarse */
.cta-button--small.header-dark {
    background-color: var(--primary-color); /* Mismo botón amarillo */
    color: var(--white);
}

.cta-button--small.header-dark:hover {
    background-color: #F9A307;
}

/* Mantén los estilos existentes para el logo y los botones generales que no varían */
.logo img {
    /* Aquí puedes controlar el tamaño del logo si es necesario */
    height: 30px; /* Ajusta según el tamaño de tu logo */
    width: auto;
}

/*CARDS*/
.basic-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.basic-card {
    padding: 40px;
    border-radius: 10px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    justify-items: start;
    display: grid; /* Convierte la tarjeta en un contenedor flex */
    flex-direction: column; /* Organiza los elementos hijos en una columna */
    align-content: space-between;
}


.basic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px #828A8E(0,0,0,0.3);
}

.basic-card h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.basic-card p {
    font-size: 16px;
    margin-bottom: 30px;
}

.basic-card .btn {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 500;
    height: max-content;
    max-width: fit-content;
}

.basic-card .btn:hover {
    background-color: #F9A307;
}

.tarjeta-icono-img {
    /* Define el tamaño del icono */
    width: 30px; 
    height: 30px; 
    margin-bottom: 20px;
    /* Asegúrate de que el icono no se distorsione */
    object-fit: contain;
}

.basic-card-black {
    background-color: #242533;
}

.basic-card-black p{
    color: #aaa;
}

.basic-card-light{
    background-color: var(--white);
    color: var(--secondary-color);
}

.basic-card-light p{
    color: #aaa;
}

/* Hero Section */
.hero-home {
    background-color: var(--light-bg);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

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

.hero-home-text {
    flex: 1;
    min-width: 300px;
    margin-right: 40px;
}

.hero-home-text h1 {
    font-size: 48px;
    color: var(--secondary-color);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-home-text p {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 30px;
}

.hero-home-btn {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.hero-home-btn:hover {
    background-color: #F9A307;
}

.hero-home-image {
    flex: 1;
    min-width: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-home-image img {
    max-width: 140%;
    height: auto;
    border-radius: 15px;
    position: relative;
    z-index: 2;
}

/* Partners Section */
.partners {
    padding: 40px 0;
    background-color: var(--light-bg);
    /*border-bottom: 1px solid var(--border-color);*/
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
}

.partner-logos img {
    max-height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partner-logos img:hover {
    opacity: 1;
}

/* Solutions Section */
.solutions {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.solutions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.solutions-image {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.solutions-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

.solutions-text {
    flex: 1;
    min-width: 400px;
}

.solutions-text h2 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.solutions-text p {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 30px;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: var(--dark-bg);
    color: var(--white);
    text-align: center;
}

.pricing h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--white);
}

.pricing p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #bbb;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background-color: #242533;
    padding: 40px;
    border-radius: 10px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: grid;
    justify-items: start;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.pricing-card h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}


.pricing-card .btn {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    height: max-content;
}

.pricing-card .btn:hover {
    background-color: #F9A307;
}

.tarjeta-icono-img {
    /* Define el tamaño del icono */
    width: 30px; 
    height: 30px; 
    margin-bottom: 20px;
    /* Asegúrate de que el icono no se distorsione */
    object-fit: contain;
}

/* Developers Section */
.developers {
    padding: 80px 0;
    background-color: var(--dark-bg);
    text-align: center;
}

.developers h2 {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 10px;
}

.developers p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: var(--text-color);
}

.dashboard-mockup {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Testimonials Section */
.testimonials {
    padding: 20px 0;
    background-color: var(--light-bg);
    text-align: center;
}

.testimonials h2 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.testimonials p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: var(--text-color);
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

/* .testimonial-card::before {
    content: "\201C"; /* Left double quotation mark 
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 80px;
    color: rgba(255,123,0,0.1);
    line-height: 1;
    z-index: 0;
} */

.testimonial-author {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.author-info h4 {
    margin: 0;
    color: var(--secondary-color);
    font-size: 18px;
}

.author-info span {
    font-size: 14px;
    color: var(--text-color);
}

.stars {
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.testimonial-card p {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* Contact Section */
.contact {
    background-color: var(--dark-bg);
    padding: 80px 0;
    color: var(--white);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 10px;
}

.contact-info p {
    font-size: 18px;
    color: #bbb;
    margin-bottom: 30px;
}

.contact-details div {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-size: 16px;
}

.contact-details div i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 20px;
    width: 25px;
    text-align: center;
}

.contact-details a {
    color: var(--white);
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-color);
}

.contact-form {
    flex: 1;
    min-width: 400px;
    background-color: #242533;
    padding: 40px;
    border-radius: 10px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--white);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #828A8E;
    border-radius: 5px;
    background-color: #1C1D28;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #888;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border: none;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #F9A307;
}

/* Footer */
footer {
    background-color: var(--white);
    color: var(--text-colors);
    padding: 40px 0;
    font-size: 14px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-logo-description {
    flex: 2;
    min-width: 250px;
}

.footer-logo {
    font-weight: 700;
    font-size: 24px;
    color: var(--white);
    margin-bottom: 10px;
}

.footer-links-group {
    flex: 1;
    min-width: 150px;
}

.footer-links-group h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-links-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-group ul li {
    margin-bottom: 10px;
}

.footer-links-group a {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.footer-links-group a:hover {
    color: var(--primary-color);
}

.footer-social {
    text-align: right;
}

.footer-social-icons a {
    color: var(--secondary-color);
    font-size: 20px;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.footer-social-icons a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 40px;
    text-align: center;
    border-top: 1px solid var(--gray);
    padding-top: 20px;
}



 .tabs-nav {
            display: flex;
            justify-content: center;
            width: 100%;
            margin-bottom: 50px;
            gap: 20px; /* Reducido el espacio entre los tabs */
        }

        .tab-button {
            background: none;
            border: 1px solid transparent; /* Borde transparente por defecto */
            font-size: 16px;
            font-weight: 300;
            color: var(--text-color);
            cursor: pointer;
            padding: 10px 20px; /* Ajusta el padding para que se parezca al ejemplo */
            border-radius: 40px; /* Bordes redondeados */
            transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
            position: relative;
        }

        .tab-button:hover {
            color: var(--secondary-color);
            background-color: #f0f0f0; /* Un ligero cambio de fondo al pasar el ratón */
        }

        .tab-button.active {
            color: var(--secondary-color); /* Color de texto más oscuro cuando está activo */
            font-weight: 500;
            background-color: var(--white); /* Fondo blanco para el tab activo */
            border-color: #e0e0e0; /* Un borde sutil para el tab activo */
        }

        .tab-button.active::after {
            /* Eliminamos el subrayado específico ya que el ejemplo usa un fondo y borde */
            content: none;
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            flex-wrap: wrap;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            justify-content: center; /* Centrar las tarjetas dentro del tab */
        }

        /* Estilos para el nuevo Hero */
        .hero {
            background-color: #f9f9f9; /* Cambiamos el color de fondo por si la imagen no carga */
            padding: 0; /* Eliminamos el padding para que la imagen ocupe todo */
            position: relative;
            overflow: hidden;
            min-height: 700px; /* Aumentamos la altura mínima para que la imagen se vea bien */
            display: flex;
            align-items: center;
            justify-content: flex-start; /* Alineamos el contenido a la izquierda */
            color: var(--white); /* Aseguramos que el texto sea blanco */
            background-image: url(); /* Ruta de la nueva imagen de fondo */
            background-size: cover; /* La imagen cubre todo el contenedor */
            background-position: center; /* Centra la imagen */
            background-repeat: no-repeat;
            /* Agregamos un overlay para mejorar la legibilidad del texto */
            /* Puede que necesites ajustar la opacidad del overlay */
            /* box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.3);  Overlay oscuro */
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to right, rgba(0,0,0,0.6) 30%, rgba(0,0,0,0) 70%); /* Degradado oscuro a la izquierda */
            z-index: 1;
        }

        .hero-content {
            flex-direction: column;
            align-items: flex-start; /* Alineamos el contenido a la izquierda */
            text-align: left;
            position: relative;
            z-index: 2; /* Asegura que el contenido esté sobre el overlay */
            padding-left: 0px; /* Añade un padding a la izquierda para el texto */
            max-width: 600px; /* Limita el ancho del texto para mejor legibilidad */
            margin-left: inherit;
            padding-left: 120px;
        }

        .hero-text h1 {
            font-size: 56px; /* Aumentamos el tamaño del título */
            color: var(--white); /* Título blanco */
            line-height: 1.1;
            margin-bottom: 20px;
        }

        .hero-text p {
            font-size: 20px;
            color: var(--white); /* Párrafo blanco */
            margin-bottom: 30px;
        }

        .hero-image {
            display: none; /* Ocultamos la imagen individual dentro del hero */
        }

        /* Modificaciones para el Header para que sea transparente sobre el hero */
        header {
            background-color: transparent; /* Fondo transparente */
            box-shadow: none; /* Sin sombra */
            position: absolute; /* Posición absoluta para flotar sobre el hero */
            width: 100%;
            z-index: 10; /* Asegura que el header esté por encima de todo */
            padding: 30px 0; /* Ajusta el padding para que no esté pegado arriba */
        }

        .navbar {
            justify-content: space-between;
        }

        .logo {
            color: var(--white); /* Logo blanco */
        }

        .nav-links li a {
            color: var(--white); /* Enlaces de navegación blancos */
        }

        .nav-links li a:hover {
            color: var(--primary-color); /* Hover sigue siendo amarillo */
        }



        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to right, rgba(0,0,0,0.6) 30%, rgba(0,0,0,0) 70%); /* Degradado oscuro a la izquierda */
            z-index: 1;
        }

        .hero-content {
            flex-direction: column;
            align-items: flex-start;
            text-align: left;
            position: relative;
            z-index: 2;
            padding-left: 120px; /* Ajusta el padding para el texto */
            max-width: 600px;
        }

        .hero-text h1 {
            font-size: 56px;
            color: var(--white);
            line-height: 1.1;
            margin-bottom: 20px;
        }

        header {
            background-color: transparent;
            box-shadow: none;
            position: absolute;
            width: 100%;
            z-index: 10;
            padding: 30px 0;
        }

        .logo {
            color: var(--white);
        }

        .nav-links li a {
            color: var(--white);
        }

        .nav-links li a:hover {
            color: var(--primary-color);
        }
        
        .pricing-section {
            padding: 80px 0;
            background-color: var(--dark-bg);
            text-align: center;
            color: var(--white);
        }

        .pricing-section .section-title {
            color: var(--white);
            font-size: 36px;
            margin-bottom: 20px;
        }

        .pricing-section .section-description {
            color: #bbb;
            max-width: 800px;
            margin: 0 auto 50px auto;
        }

        .pricing-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
            padding: 0 20px; /* Añadir padding para los bordes */
        }

        .pricing-card-custom { /* Usar un nombre diferente para no chocar con la clase existente si se desea */
            background-color: #242533;
            padding: 40px;
            border-radius: 10px;
            text-align: left;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex; /* Cambiar a flex para mejor control de icono y texto */
            flex-direction: column;
            align-items: flex-start;
        }

        .pricing-card-custom:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.3);
        }

        .pricing-card-custom .price-tag {
            font-size: 28px;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .pricing-card-custom h3 {
            font-size: 24px;
            color: var(--white); /* Título en blanco */
            margin-bottom: 15px;
        }

        .pricing-card-custom p {
            font-size: 16px;
            color: #aaa;
            margin-bottom: 30px;
            flex-grow: 1; /* Para que el párrafo ocupe el espacio y el botón se alinee abajo */
        }
        
        .pricing-card-custom ul {
            list-style: none;
            padding: 0;
            margin-bottom: 30px;
            color: #aaa;
            font-size: 15px;
        }

        .pricing-card-custom ul li {
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }

        .pricing-card-custom ul li::before {
            content: "\f00c"; /* Icono de check mark de Font Awesome */
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            color: var(--primary-color);
            margin-right: 10px;
            font-size: 14px;
        }

        .pricing-card-custom .cta-button {
            margin-top: auto; /* Empuja el botón hacia abajo */
        }

        .calculator-section {
            background-color: #242533;
            padding: 80px 0;
            text-align: center;
            color: var(--white);
        }

        .calculator-section .section-title {
            color: var(--white);
            font-size: 36px;
            margin-bottom: 20px;
        }

        .calculator-section .section-description {
            color: var(--text-color);
            max-width: 800px;
            margin: 0 auto 50px auto;
        }

        .calculator-form {
            padding: 40px;
            border-radius: 10px;
            max-width: 600px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 20px;
            align-items: center; /* Centra los elementos horizontalmente */
        }

        .calculator-form label {
            font-size: 18px;
            font-weight: 500;
            margin-bottom: 10px;
            color: var(--white);
        }

        .calculator-input-group {
            display: flex;
            gap: 15px;
            width: 100%;
            justify-content: center; /* Centrar el input y el botón */
            align-items: center;
        }

        .calculator-input-group input {
            flex-grow: 1; /* El input tomará el espacio restante */
            max-width: 300px; /* Limitar el ancho del input */
            padding: 12px;
            border: 1px solid #828A8E;
            border-radius: 5px;
            background-color: #1C1D28;
            color: var(--white);
            font-family: 'Montserrat', sans-serif;
            font-size: 16px;
            text-align: center; /* Centra el texto dentro del input */
        }

        .calculator-input-group input::placeholder {
            color: #888;
        }

        .calculator-form .cta-button {
            padding: 10px 20px;
            font-size: 16px;
            font-weight: 500;
            white-space: nowrap; /* Evita que el texto del botón se rompa */
        }

         /* Estilos específicos para esta página */
        body {
            background-color: var(--light-bg);
        }

        .hero-about {
            background-color: var(--light-bg);
            padding: 80px 0;
            position: relative;
            overflow: hidden;
            min-height: 500px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .hero-about-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .hero-about-content h1 {
            font-size: 48px;
            color: var(--secondary-color);
            line-height: 1.1;
            margin-bottom: 20px;
        }

        .hero-about-content p {
            font-size: 18px;
            color: var(--text-color);
            margin-bottom: 30px;
        }

        /* Sección de Historia */
        .history-section {
            background-color: var(--dark-bg);
            padding: 80px 0;
            color: var(--white);
            text-align: center;
        }

        .history-section .section-tag {
            color: var(--primary-color);
        }

        .history-section .section-title {
            color: var(--white);
            font-size: 36px;
            margin-bottom: 20px;
        }

        .history-section .section-description {
            color: #bbb;
            max-width: 900px;
            margin: 0 auto 50px auto;
        }

        .history-cards-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 30px;
            margin-top: 50px;
        }

        .history-card {
            background-color: #242533;
            padding: 30px;
            border-radius: 10px;
            text-align: left;
            flex: 1;
            min-width: 350px;
            max-width: 45%;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .history-card .icon-wrapper {
            width: 60px;
            height: 60px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 20px;
        }

        .history-card .icon-wrapper img {
            width: 30px;
            height: 30px;
            object-fit: contain;
        }

        .history-card .section-subtitle {
            color: var(--white);
            font-size: 24px;
            margin-bottom: 10px;
        }

        .history-card p {
            font-size: 16px;
            color: #aaa;
            margin-bottom: 0;
        }

        /* Sección de Valores */
        .values-section {
            background-color: var(--light-bg);
            padding: 80px 0;
            text-align: center;
        }

        .values-section .section-title {
            color: var(--secondary-color);
            font-size: 36px;
            margin-bottom: 20px;
        }

        .values-cards-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .value-card {
            background-color: var(--white);
            padding: 40px;
            border-radius: 10px;
            text-align: left;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .value-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        }

        .value-card .icon-wrapper {
            width: 60px;
            height: 60px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 20px;
        }

        .value-card .icon-wrapper img {
            width: 30px;
            height: 30px;
            object-fit: contain;
        }

        .value-card h3 {
            font-size: 24px;
            color: var(--secondary-color);
            margin-bottom: 15px;
        }

        .value-card p {
            font-size: 16px;
            color: var(--text-color);
            margin-bottom: 30px;
        }

        .value-card .cta-button {
            align-self: flex-start; /* Alinea el botón a la izquierda */
        }

        .menu-toggle {
            display: none; /* Por defecto no se ve */
            background: var(--whiteS);
            border: none;
            font-size: 30px;
            color: var(--secondary-color); /* O var(--white) si el fondo es oscuro */
            cursor: pointer;
        }

/* =========================================
   RESPONSIVE DESIGN FINAL (SOLUCIÓN DEFINITIVA)
   ========================================= */

@media (max-width: 768px) {

    /* --- 1. HEADER & MENÚ --- */
    .navbar {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        position: relative; 
        padding: 0 10px;
        width: 100%; 
    }

    .menu-toggle {
        display: block; 
        color: var(--secondary-color); 
        font-size: 30px;
        padding: 5px;
        margin-left: auto;
        cursor: pointer;
    }

    .nav-links {
        display: none; 
        width: 100vw; 
        position: absolute;
        top: 100%; 
        left: 50%; 
        transform: translateX(-50%); 
        background-color: #ffffff; 
        flex-direction: column;
        padding: 30px 0;
        z-index: 100;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
        border-top: 1px solid #eee; 
    }

    .nav-links.active { display: flex; }

    .nav-links li {
        margin: 15px 0;
        text-align: center;
        width: 100%; 
    }
    
    .nav-links a {
        color: var(--secondary-color); 
        font-size: 18px;
        font-weight: 600;
        display: block;
        padding: 10px 0;
        text-decoration: none;
    }

    .nav-links a:hover {
        color: var(--primary-color);
        background-color: #f9f9f9; 
    }

    .cta-button--small {
        width: 80% !important; 
        margin: 0 auto;
        color: var(--secondary-color) !important;
    }

    /* --- 2. CONTENEDORES --- */
    .container {
        padding: 0 20px;
        overflow: hidden; 
        width: 100%;
        box-sizing: border-box;
    }

    .hero {
        padding: 60px 0;
        overflow: hidden; 
    }

    /* --- 3. ARREGLO DE TÍTULOS --- */
    .hero-text h1,
    .hero-about-content h1,
    .section-title,
    h1, h2 {
        font-size: 28px !important; 
        line-height: 1.3;
        word-wrap: break-word !important; 
        overflow-wrap: break-word !important;
        padding: 0 5px;
        hyphens: auto; 
    }

    /* --- 4. ARREGLO DE TEXTOS Y LISTAS --- */
    .solutions-text, 
    .section-description,
    p {
        width: 100% !important;
        box-sizing: border-box; 
        margin: 0 auto;
        word-wrap: break-word; /* Evita que palabras largas corten la pantalla */
    }

    .solutions-text ul, ul {
        padding-left: 0; 
        list-style-position: inside; /* Mete los puntos dentro */
        text-align: center; 
    }
    
    .solutions-text li, li {
         padding: 0 10px;
    }

    /* --- 5. GRID Y COLUMNAS --- */
    .solutions-grid,
    .hero-home-content,
    .contact-content, 
    .footer-content {
        flex-direction: column;
        text-align: center;
        width: 100%; 
    }

    .pricing-cards, 
    .testimonial-cards,
    .values-cards-container,
    .history-cards-container {
        grid-template-columns: 1fr;
        padding: 0; 
    }

    /* --- 6. ARREGLO CRÍTICO DE CONTACTO (NUEVO) --- */
    /* Esto arregla que el email o teléfono se corten a la derecha */
    
    .contact-info {
        min-width: 0 !important; /* Elimina el ancho fijo de 300px */
        width: 100% !important;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .contact-details div {
        display: flex;
        align-items: flex-start; /* Alinea arriba para evitar deformaciones */
        justify-content: center; /* Centra en móvil */
        text-align: left; /* El texto se lee mejor a la izquierda */
        width: 100%;
        margin-bottom: 20px;
    }

    .contact-details div i {
        margin-right: 15px;
        flex-shrink: 0; /* Evita que el icono desaparezca */
        margin-top: 5px;
    }

    .contact-details div p, 
    .contact-details div a,
    .contact-details div span {
        word-break: break-all; /* Rompe el email si es muy largo */
        font-size: 16px;
        line-height: 1.4;
    }

    /* --- 7. IMÁGENES --- */
    .hero-home-image img, 
    .solutions-image img {
        width: 100%;
        height: auto;
        max-width: 100%; 
    }
}