/* ================= Variables CSS ================= */
:root {
    --primary-color: #E74C3C; /* Rojo */
    --secondary-color: #1A2B41; /* Azul oscuro */
    --text-color: #333333;
    --text-light: #777777;
    --white: #FFFFFF;
    --bg-light: #F9F9F9;
    --header-height: 80px;
    --border-radius: 8px;
    --font-family: 'Montserrat', sans-serif;
}

/* ================= Reset & Estilos Base ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.text-center { text-align: center; }

/* Botones */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(26, 43, 65, 0.4);
}

.btn-secondary:hover {
    background-color: #0f1a28;
    transform: translateY(-2px);
}


/* ================= Header ================= */
.header {
    background-color: var(--white);
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 4rem; 
    width: auto;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1rem;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.header-contact-icons {
    display: flex;
    gap: 1rem;
}

.icon-link {
    font-size: 1.8rem;
}

.icon-link.whatsapp { color: #25D366; }
.icon-link.email { color: var(--primary-color); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--secondary-color);
    cursor: pointer;
    margin-left: 1rem;
}


/* ================= Hero Section ================= */
.hero {
    position: relative;
    height: 600px; 
    background-image: url('../img/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

/* Línea roja debajo del subtítulo */
.hero-subtitle::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background-color: var(--primary-color);
}


/* ================= Sección ¿Cómo lo hacemos? ================= */
.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.about-image img {
    
    box-shadow: -12px 12px 0px 0px rgba(0, 0, 0, 0.1); 
    max-width: 100%;
    height: auto;
    display: block;
}

.about-content {
    flex: 1;
}

.about-content .section-title,
.about-content .section-description {
    text-align: left;
    margin-left: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    border-left: 3px solid var(--primary-color);
    padding-left: 1.5rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
}

.feature-text {
    font-size: 1rem;
    color: var(--text-color);
}

.feature-text strong {
    font-weight: 800;
    color: var(--secondary-color);
    text-decoration: underline;
    text-decoration-color: var(--text-color); 
    text-decoration-style: dotted;
}


/* ================= Sección Soluciones Implementadas (Stats) ================= */
.stats-main-title {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.stats-banner {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
    position: relative;
}

.stats-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-bottom: 3rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-top: 0.5rem;
}

.stat-unit {
    font-size: 1.5rem;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
}

.stats-extra {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stats-icon {
    position: relative;
    color: var(--white);
}

.tower-icon {
    width: 80px;
    margin-right: 1rem;
    height: auto;
    filter: brightness(0) invert(1);
}

.plus-one {
    position: absolute;
    top: 0;
    right: -20px;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

.stats-extra-text {
    font-size: 1.4rem;
    font-weight: 600;
    max-width: 500px;
}

.stats-btn {
    background-color: var(--primary-color);
    border: 2px solid var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.stats-btn:hover {
    background-color: var(--white);
    color: var(--primary-color);
}


/* ================= Sección Especialidad (Servicios) ================= */
.services-title {
    text-align: center;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 3rem;
}

.services-container {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 3rem;
}

.services-list-wrapper {
    flex: 3;
}

.services-intro {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.services-list {
    list-style: none;
    counter-reset: service-counter;
}

.services-list li {
    counter-increment: service-counter;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2.5rem;
}

.services-list li::before {
    content: counter(service-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.services-list strong {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.3rem;
}

.services-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.services-image-wrapper {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.image-circle {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-bottom: 1.5rem;
}

.image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-caption {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    max-width: 300px;
}


/* ================= Sección Tips ================= */
.tips-header-banner {
    background-color: var(--primary-color);
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.tips-title {
    color: var(--white);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: left;
}

.tips-title span {
    font-size: 2.5rem;
    font-weight: 600;
}

.tips-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.tips-content {
    flex: 3;
}

.tips-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.tips-text {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.tips-text strong, .tips-recommendation strong {
    font-weight: 800;
}

.tips-recommendation {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.tips-solution {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-align: center;
    margin: 2rem 0;
}

.tips-link {
    display: block;
    text-align: center;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: underline;
}

.tips-image-wrapper {
    flex: 2;
    display: flex;
    justify-content: center;
}


/* ================= Sección Contacto ================= */
.contact-section {
    background-color: var(--white);
}

.contact-title {
    color: var(--secondary-color);
    text-align: center;
}

.contact-description {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.contact-description strong {
    font-weight: 800;
}

.contact-form-mockup {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 50px; 
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.message-input {
    border-radius: 30px; 
    padding: 2rem;
    min-height: 150px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.whatsapp-icon-form {
    font-size: 3rem;
    color: #25D366;
    background-color: var(--white);
    border-radius: 50%;
    padding: 0.2rem;
}


/* ================= Footer ================= */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 4rem 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer-list li {
    margin-bottom: 0.8rem;
}

.footer-list a {
    color: #ccc;
    font-size: 0.95rem;
}

.footer-list a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ccc;
}

.social-link i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.social-link.facebook i { 
    color: #1877F2; 
}

.social-link.whatsapp i { 
    color: #25D366; 
}
.social-link.email i { 
    color: var(--primary-color); 
}

.contact-info li {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}


/* ================= MEDIA QUERIES (Responsividad) ================= */

/* Tablets y Pantallas Pequeñas (hasta 1024px) */
@media screen and (max-width: 1024px) {
    .section-title { font-size: 2rem; }
    .hero-title { font-size: 2.8rem; }

    .about-container,
    .services-container,
    .tips-container {
        flex-direction: column;
        gap: 3rem;
    }

    .about-image, .about-content,
    .services-list-wrapper, .services-image-wrapper,
    .tips-content, .tips-image-wrapper {
        flex: auto;
        width: 100%;
    }

    .about-content .section-title,
    .about-content .section-description {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .features-grid {
        grid-template-columns: 1fr; 
        max-width: 500px;
        margin: 3rem auto 0 auto;
    }

    .stats-grid {
        flex-direction: column;
        gap: 3rem;
    }

    .stats-extra {
        flex-direction: column;
        text-align: center;
    }

    .image-circle {
        width: 280px;
        height: 280px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr; 
    }
}

/* Móviles (hasta 768px) */
@media screen and (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .header-container {
        position: relative;
    }

    /* NUEVO MENÚ HAMBURGUESA MÓVIL */
    .menu-toggle {
        display: block; 
    }
    
    .nav {
        display: none; 
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
    }

    .nav.active {
        display: block; 
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 1.2rem;
        text-align: center;
        border-bottom: 1px solid #f9f9f9;
        font-size: 1.1rem;
    }
    

    .hero { 
        height: 500px; 
    }

    .hero-title { 
        font-size: 2rem; 
    }

    .hero-subtitle { 
        font-size: 1.1rem; 
    }

    .hero-subtitle::after { 
        bottom: -15px; 
    }

    .section { 
        padding: 50px 0; 
    }

    .services-title, .tips-title { 
        font-size: 2rem; 
    }

    .about-image img {
        box-shadow: -6px 6px 0px 0px rgba(0, 0, 0, 0.1);
    }

    .tips-title span { 
        font-size: 1.8rem; 
    }

    .tips-solution { 
        font-size: 1.5rem; 
    }

    .form-group, .message-input {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr; 
        text-align: center;
    }

    .footer-social {
        align-items: center;
    }
}






/* ================= PÁGINA DE CONTACTO ================= */
.contact-page-section {
    padding: 60px 0;
}

.contact-page-container {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    align-items: flex-start;
}

.contact-page-content {
    flex: 1.2;
}

.contact-page-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.contact-page-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-page-text {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    max-width: 90%;
}

.contact-page-text strong {
    font-weight: 800;
}

/* Estilos del Formulario Funcional */
.real-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.real-contact-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-family: var(--font-family);
    font-size: 1.1rem;
    color: var(--secondary-color);
    outline: none;
    transition: box-shadow 0.3s ease;
}

.real-contact-form input::placeholder,
.real-contact-form textarea::placeholder {
    color: var(--secondary-color);
    font-weight: 500;
}

.real-contact-form input:focus,
.real-contact-form textarea:focus {
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.4);
}

.textarea-wrapper {
    position: relative;
    width: 100%;
}

.real-contact-form textarea {
    width: 100%;
    padding: 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    font-family: var(--font-family);
    font-size: 1.1rem;
    color: var(--secondary-color);
    outline: none;
    min-height: 180px;
    resize: vertical;
    transition: box-shadow 0.3s ease;
}

.wa-textarea-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: #25D366;
    background-color: var(--white);
    border-radius: 50%;
    padding: 2px;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.form-nota {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 700;
}

.form-submit-btn {
    padding: 1rem 2rem;
    border-radius: 50px; 
}

/* Visuales (Logo grande y Foto) */
.contact-page-visuals {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
}

.contact-big-logo {
    margin-bottom: 20px; 
    margin-right: 9rem;
    z-index: 2;
    width: 150px;
}

.contact-photo-wrapper {
    width: 100%;
    max-width: 450px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    z-index: 1;
}

.contact-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ================= POP-UP DE ÉXITO ================= */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-content {
    transform: translateY(0);
}

.popup-icon {
    font-size: 4rem;
    color: #2ecc71;
    margin-bottom: 1rem;
}

.popup-content h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.popup-content p {
    color: var(--text-color);
    margin-bottom: 2rem;
}

/* ================= RESPONSIVE CONTACTO ================= */
@media screen and (max-width: 1024px) {
    .contact-page-container {
        flex-direction: column;
    }

    .contact-page-visuals {
        align-items: center;
        width: 100%;
        margin-top: 3rem;
    }

    .contact-big-logo {
        margin-right: 0;
    }
}

@media screen and (max-width: 768px) {
    .contact-page-title {
        font-size: 2.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .form-footer {
        flex-direction: column-reverse;
        gap: 1.5rem;
        text-align: center;
    }

    .form-submit-btn {
        width: 100%;
    }

    /* NUEVO MENÚ HAMBURGUESA MÓVIL */
    .menu-toggle {
        display: block; 
    }
    
    .nav {
        display: none; 
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
    }

    .nav.active {
        display: block; 
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 1.2rem;
        text-align: center;
        border-bottom: 1px solid #f9f9f9;
        font-size: 1.1rem;
    }
}




/* ================= PÁGINA NOSOTROS ================= */

/* ----- Intro Section ----- */
.about-intro-section {
    padding-top: 60px;
    padding-bottom: 40px;
}

.about-intro-container {
    max-width: 900px; 
    margin: 0 auto;
}

.about-page-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 0.2rem;
}

.about-page-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.about-page-text-content p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 1.8rem;
    line-height: 1.6;
}

.about-page-text-content p strong {
    font-weight: 700;
    color: var(--secondary-color);
}


/* ----- Misión, Visión, Valores Section ----- */
.mvv-section {
    padding-top: 20px;
    padding-bottom: 60px;
}

.mvv-main-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

.mvv-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden; 
}

.mvv-logo-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    max-width: 350px;
}

.mvv-logo-wrapper img {
    width: 100%;
    max-width: 250px;
}

.mvv-content-wrapper {
    flex: 2;
    padding: 3rem 4rem;
    border-left: 3px solid var(--primary-color);
}

.mvv-item {
    margin-bottom: 2.5rem;
}

.mvv-item:last-child {
    margin-bottom: 0;
}

.mvv-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.mvv-text {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.6;
}

.mvv-text strong {
    font-weight: 700;
}

.mvv-list {
    list-style: none; 
}

.mvv-list li {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.mvv-list li strong {
    font-weight: 700;
    color: var(--secondary-color);
}


/* ----- Enlaces de Ayuda Section ----- */
.help-links-section {
    padding-top: 40px;
    padding-bottom: 80px;
    text-align: center;
}

.help-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.help-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.help-divider {
    width: 60%;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    border: none;
    border-top: 3px solid var(--primary-color);
}

.help-links-box {
    border: 3px solid var(--primary-color);
    border-radius: 40px;
    display: inline-block;
    padding: 2.5rem 4rem;
    text-align: left;
    background-color: var(--white);
}

.help-links-list {
    list-style-position: inside;
    color: var(--secondary-color);
}

.help-links-list li {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.help-links-list li:last-child {
    margin-bottom: 0;
}

.help-links-list a {
    color: var(--secondary-color);
    text-decoration: underline;
    text-decoration-style: dotted; 
    text-decoration-color: var(--text-light);
    text-underline-offset: 4px; 
    transition: color 0.3s ease;
}

.help-links-list a:hover {
    color: var(--primary-color);
    text-decoration-color: var(--primary-color);
}


/* ================= RESPONSIVE NOSOTROS ================= */
@media screen and (max-width: 1024px) {
    .mvv-content-wrapper {
        padding: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .about-page-title {
        font-size: 3rem;
    }

    .mvv-card {
        flex-direction: column; 
    }

    .mvv-logo-wrapper {
        max-width: 100%;
        padding: 2rem;
        border-bottom: 3px solid var(--primary-color); /* Línea divisoria horizontal */
    }

    .mvv-content-wrapper {
        border-left: none; 
        padding: 2rem 1.5rem;
    }

    .help-links-box {
        padding: 2rem;
        width: 100%;
        border-radius: 20px;
    }

    .help-links-list li {
        font-size: 1.1rem;
    }

    /* NUEVO MENÚ HAMBURGUESA MÓVIL */
    .menu-toggle {
        display: block; 
    }
    
    .nav {
        display: none; 
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
    }

    .nav.active {
        display: block; 
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 1.2rem;
        text-align: center;
        border-bottom: 1px solid #f9f9f9;
        font-size: 1.1rem;
    }
}






/* ================= PÁGINA DE TIPS ================= */

/* ----- Intro ----- */
.tips-page-intro {
    padding-top: 60px;
    padding-bottom: 20px;
}

.tips-intro-container {
    max-width: 900px;
}

.tips-page-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 0.2rem;
}

.tips-page-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.tips-intro-text {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.tips-intro-highlight {
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 600;
}

/* ----- Tarjetas Intercaladas ----- */
.tips-list-section {
    padding-top: 20px;
    padding-bottom: 60px;
}

.tip-card {
    display: flex;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    overflow: hidden;
    align-items: stretch; 
}

/* Clase para invertir el orden (Texto a la izq, Imagen a la der) */
.tip-card.reverse {
    flex-direction: row-reverse;
}

.tip-image-box {
    flex: 1;
    min-height: 300px; 
}

.tip-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tip-content-box {
    flex: 1.2;
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tip-card-title {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.tip-card-text {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1.2rem;
}

.tip-card-recommendation {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.tip-content-box strong {
    font-weight: 800;
}

/* ----- Formulario Rojo Final ----- */
.tips-contact-section {
    padding-top: 20px;
    padding-bottom: 80px;
}

.tips-contact-container {
    max-width: 850px;
    margin: 0 auto;
}

.tips-contact-title {
    color: var(--secondary-color);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.tips-contact-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 3rem;
}

/* Estilos de los inputs tipo "burbuja roja" */
.red-bubble-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.red-input, .red-textarea {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white); 
    border: none;
    padding: 1.5rem 2rem;
    font-family: var(--font-family);
    font-size: 1.2rem;
    outline: none;
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.red-input {
    border-radius: 50px;
    max-width: 500px;
}

.red-textarea {
    border-radius: 30px;
    min-height: 180px;
    resize: vertical;
}

/* Placeholder blanco semi-transparente */
.red-input::placeholder, .red-textarea::placeholder {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.red-input:focus, .red-textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.4);
    background-color: #d64132; 
}

/* Botón flotante de WhatsApp */
.textarea-wrapper {
    position: relative;
    width: 100%;
}

.wa-float-link {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 3rem;
    color: #25D366;
    background-color: var(--white);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.wa-float-link:hover {
    transform: scale(1.1);
}

.form-submit-wrapper {
    text-align: right; 
    margin-top: 1rem;
}


/* ================= RESPONSIVE TIPS ================= */
@media screen and (max-width: 900px) {
    .tip-content-box {
        padding: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .tips-page-title {
        font-size: 3rem;
    }

    
    .tip-card, .tip-card.reverse {
        flex-direction: column;
    }

    .tip-image-box {
        min-height: 250px;
    }

    .tip-content-box {
        padding: 2rem 1.5rem;
    }

    .red-input {
        max-width: 100%; 
    }

    .form-submit-wrapper {
        text-align: center;
    }
    
    .submit-red-form {
        width: 100%;
    }

    /* NUEVO MENÚ HAMBURGUESA MÓVIL */
    .menu-toggle {
        display: block; 
    }
    
    .nav {
        display: none; 
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
    }

    .nav.active {
        display: block; 
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 1.2rem;
        text-align: center;
        border-bottom: 1px solid #f9f9f9;
        font-size: 1.1rem;
    }
}







/* ================= PÁGINA DE SERVICIOS ================= */

/* ----- Intro Servicios ----- */
.services-page-intro {
    padding-top: 60px;
    padding-bottom: 20px;
}

.services-intro-container {
    max-width: 900px;
}

.services-page-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 0.2rem;
}

.services-page-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.services-policy-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.services-intro-text {
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.6;
}

.services-intro-text strong {
    font-weight: 700;
    color: var(--secondary-color);
}






/* ----- Tarjetas Interactivas de Servicio ----- */
.interactive-services-section {
    padding-top: 20px;
    padding-bottom: 80px;
}

.interactive-services-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.service-card {
    display: flex;
    background-color: var(--white);
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    min-height: 350px;
}

/* Caja Azul (Izquierda) */
.sc-content-box {
    flex: 1;
    background-color: var(--secondary-color);
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: var(--white);
    z-index: 3; 
}

.sc-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.sc-desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.sc-toggle {
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 2.5rem;
    transition: color 0.3s ease;
}

.sc-toggle:hover {
    color: var(--primary-color);
}

.sc-btn {
    border-radius: 30px; 
    padding: 0.8rem 2.5rem;
}

/* Caja Imagen (Derecha) */
.sc-image-box {
    flex: 1.5; 
    position: relative;
}

.sc-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Panel Rojo Desplegable */
.sc-expanded-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 70%; 
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem;
    display: flex;
    align-items: center;
    border-radius: 0 40px 40px 0; 
    transform: translateX(-101%);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); 
    z-index: 2;
}

.sc-list {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.sc-list li {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

/* ======== CLASE ACTIVA ======== */
.service-card.active .sc-expanded-panel {
    transform: translateX(0); 
}

/* ================= TARJETAS INVERTIDAS (ZIG-ZAG) ================= */
.service-card.reverse {
    flex-direction: row-reverse; 
}


.service-card.reverse .sc-expanded-panel {
    left: auto;
    right: 0;
    border-radius: 40px 0 0 40px;
    transform: translateX(101%);
}

.service-card.reverse.active .sc-expanded-panel {
    transform: translateX(0);
}


/* ================= RESPONSIVE SERVICIOS ================= */
@media screen and (max-width: 1024px) {
    .sc-content-box {
        padding: 2.5rem;
    }
    
    .sc-expanded-panel {
        width: 85%; 
        padding: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .services-page-title {
        font-size: 3rem;
    }

    .service-card, .service-card.reverse {
        flex-direction: column; 
    }

    .sc-image-box {
        min-height: 250px;
    }

    .sc-expanded-panel, .service-card.reverse .sc-expanded-panel {
        width: 100%; 
        border-radius: 0; 
        padding: 2rem 1.5rem;
        top: 0;
        left: 0;
        right: auto;
        transform: translateY(-101%);
        align-items: flex-start;
        overflow-y: auto;
    }

    .service-card.active .sc-expanded-panel, 
    .service-card.reverse.active .sc-expanded-panel {
        transform: translateY(0);
    }

    .sc-expanded-panel {
        transform: translateY(-101%);
        top: 0;
        left: 0;
    }

    .service-card.active .sc-expanded-panel {
        transform: translateY(0);
    }

    /* NUEVO MENÚ HAMBURGUESA MÓVIL */
    .menu-toggle {
        display: block; 
    }
    
    .nav {
        display: none; 
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
    }

    .nav.active {
        display: block; 
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 1.2rem;
        text-align: center;
        border-bottom: 1px solid #f9f9f9;
        font-size: 1.1rem;
    }
}












/* ================= PÁGINA DE PROYECTOS (EXPANSIÓN EN LÍNEA) ================= */

/* ----- Intro ----- */
.projects-intro-new {
    padding-top: 60px;
    padding-bottom: 20px;
}

.projects-page-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 0.2rem;
}

.projects-page-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.projects-intro-text {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 800px;
}

.projects-intro-text strong {
    font-weight: 700;
}

.collage-container {
    margin: 3rem auto;
    text-align: center;
}

.collage-img {
    max-width: 100%;
   
    
}

.mt-4 { margin-top: 2rem; }
.projects-sub-text {
    font-size: 1.2rem;
    color: var(--secondary-color);
    max-width: 900px;
    margin: 0 auto;
}

/* ----- Cuadrícula y Tarjetas ----- */
.projects-grid-section {
    padding-bottom: 80px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 2rem;
    align-items: start;
}

.proj-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.proj-img-main {
    height: 300px;
    width: 100%;
}

.proj-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proj-content {
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.proj-title {
    color: var(--secondary-color);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.proj-meta {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 1.5rem;
}

.proj-text-wrapper {
    text-align: left;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.proj-text-visible, .proj-text-hidden {
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.6;
}

.proj-text-wrapper strong {
    color: var(--secondary-color);
    font-weight: 700;
}

.proj-text-hidden {
    display: none;
    margin-top: -5px;
}

.proj-gallery {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 0 2rem 2rem 2rem;
}

.proj-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.proj-toggle-btn {
    background-color: var(--primary-color);
    color: var(--white);
    align-self: center;
    padding: 0.8rem 2.5rem;
    border-radius: 30px;
    margin-top: auto;
}

.proj-toggle-btn:hover {
    background-color: #c0392b;
}

/* ================= EL TRUCO DE EXPANSIÓN ================= */

.proj-card.expanded {
    grid-column: 1 / -1; 
}

.proj-card.expanded .proj-img-main {
    height: 450px;
}

.proj-card.expanded .proj-text-hidden {
    display: inline; 
}
.proj-card.expanded .proj-text-visible {
    display: inline;
}

.proj-card.expanded .proj-gallery {
    display: grid;
}

.proj-card.expanded .proj-text-wrapper {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* ================= RESPONSIVE PROYECTOS ================= */
@media screen and (max-width: 900px) {
    .projects-grid {
        grid-template-columns: 1fr; 
    }
    
    .proj-card.expanded {
        grid-column: 1; 
    }

    .proj-card.expanded .proj-img-main {
        height: 300px; 
    }

    .proj-gallery {
        grid-template-columns: 1fr; 
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .proj-gallery img {
        height: auto;
    }
}








/* ================= PÁGINA: AVISO DE PRIVACIDAD ================= */

.privacy-section {
    padding-top: 60px;
    padding-bottom: 80px;
}

.privacy-container {
    max-width: 900px; 
    margin: 0 auto;
}

/* Encabezado */
.privacy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    border-bottom: 2px solid rgba(0,0,0,0.05); 
    padding-bottom: 2rem;
}

.privacy-title-group {
    flex: 1;
}

.privacy-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.privacy-subtitle {
    font-size: 1.4rem;
    color: var(--text-light);
}

.privacy-logo-mark {
    width: 180px; 
    margin-left: 2rem;
}

.privacy-logo-mark img {
    width: 100%;
    height: auto;
}

/* Contenido del Aviso */
.privacy-content {
    color: var(--text-color);
}

.privacy-company-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 2.5rem;
}

.privacy-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

/* Listas */
.privacy-list {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.privacy-list li {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.bullet-list {
    list-style-type: disc;
}

.number-list {
    list-style-type: decimal;
}


.privacy-highlight {
    font-size: 1.3rem !important;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 2rem 0 !important;
}


/* ================= RESPONSIVE AVISO DE PRIVACIDAD ================= */
@media screen and (max-width: 768px) {
    .privacy-header {
        flex-direction: column-reverse; 
        align-items: flex-start;
        gap: 2rem;
    }

    .privacy-logo-mark {
        width: 120px;
        margin-left: 0;
    }

    .privacy-title {
        font-size: 2.5rem;
    }

    .privacy-subtitle {
        font-size: 1.2rem;
    }

    .privacy-content p, .privacy-list li {
        font-size: 1rem;
    }

    .privacy-highlight {
        font-size: 1.1rem !important;
        word-break: break-all; 
    }

    /* MENÚ HAMBURGUESA MÓVIL */
    .menu-toggle {
        display: block; 
    }
    
    .nav {
        display: none; 
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
    }

    .nav.active {
        display: block; 
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 1.2rem;
        text-align: center;
        border-bottom: 1px solid #f9f9f9;
        font-size: 1.1rem;
    }
}