﻿/* Variables de color y tipografía */
:root {
    --primary: #0A2647;
    --primary-light: #144272;
    --secondary: #2E8B57;
    --accent: #2C74B3;
    --light: #F8F9FA;
    --dark: #1A1A2E;
    --gray: #6C757D;
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Arial', sans-serif;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header {
    background-color: #2E8B57;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .logo i {
        font-size: 2rem;
        color: var(--accent);
    }

    .logo h1 {
        font-size: 1.5rem;
        font-weight: 700;
    }

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

    nav a:hover {
        color: var(--accent);
    }

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    /*background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;*/

    background: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1470&q=80') center/cover no-repeat;
    position: relative;
    color: white;
    text-align: center;
}

    .hero h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        font-weight: 700;
    }

    .hero p {
        font-size: 1.2rem;
        max-width: 700px;
        margin: 0 auto 2rem;
        opacity: 0.9;
    }

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

    .btn:hover {
        background-color: #1f6e41;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    margin-left: 10px;
}

    .btn-outline:hover {
        background-color: white;
        color: var(--primary);
    }

/* Nosotros Section */
.about {
    padding: 5rem 0;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;

}

.about-text h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
}

    .about-text h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 70px;
        height: 3px;
        background-color: var(--secondary);
    }

.about-text p {
    margin-bottom: 1.5rem;    
    color: var(--primary);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--light);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-text {
    color: var(--gray);
    font-weight: 500;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

    .about-image img {
        width: 100%;
        height: auto;
        display: block;
    }

/* Valores */
.values {
    padding: 4rem 0;
    background-color: var(--light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

    .value-card:hover {
        transform: translateY(-5px);
    }

.value-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Equipo */
.team {
    padding: 5rem 0;
    background-color: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    background-color: var(--light);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

    .team-member:hover {
        transform: translateY(-5px);
    }

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--primary-light);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.team-member h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.team-member .role {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-member p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

    .member-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 35px;
        height: 35px;
        background-color: var(--primary);
        border-radius: 50%;
        color: white;
        transition: all 0.3s;
    }

        .member-social a:hover {
            background-color: var(--accent);
            transform: translateY(-3px);
        }

/* Servicios */
.services {
    padding: 5rem 0;
    background-color: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

    .section-title h2 {
        font-size: 2rem;
        color: var(--primary);
        margin-bottom: 1rem;
        position: relative;
        display: inline-block;
    }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 70px;
            height: 3px;
            background-color: var(--secondary);
        }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

    .service-card:hover {
        transform: translateY(-10px);
    }

.service-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Clientes */
.clients {
    padding: 4rem 0;
    background-color: white;
}

.client-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.client-logo {
    background-color: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    min-width: 150px;
}

    .client-logo i {
        font-size: 2.5rem;
        color: var(--gray);
    }

/* Testimonios */
.testimonials {
    padding: 5rem 0;
    background-color: var(--light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

    .testimonial-card::before {
        content: '"';
        font-size: 5rem;
        color: var(--accent);
        opacity: 0.2;
        position: absolute;
        top: -10px;
        left: 10px;
    }

.testimonial-text {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.author-info h4 {
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.author-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* CTA */
.cta {
    background: #2E8B57;
    color: white;
    padding: 5rem 0;
    text-align: center;
}

    .cta h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .cta p {
        max-width: 700px;
        margin: 0 auto 2rem;
        opacity: 0.9;
    }

/* Footer */
footer {
    background-color: #6C757D;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    position: relative;
    padding-bottom: 0.5rem;
}

    .footer-column h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 2px;
        background-color: var(--secondary);
    }

.footer-links {
    list-style: none;
}

    .footer-links li {
        margin-bottom: 0.8rem;
    }

    .footer-links a {
        color: #ddd;
        text-decoration: none;
        transition: color 0.3s;
    }

        .footer-links a:hover {
            color: white;
        }

.contact-info {
    list-style: none;
}

    .contact-info li {
        margin-bottom: 1rem;
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

    .contact-info i {
        color: var(--accent);
        margin-top: 5px;
    }

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

    .social-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: white;
        transition: all 0.3s;
    }

        .social-links a:hover {
            background-color: var(--accent);
            transform: translateY(-3px);
        }

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn-container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .btn-outline {
        margin-left: 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}


.section-pad-generic {
    padding: 150px 20px;
    /*background-color: #f8f8f8;*/
}

.logo-text {
    font-family: "Zen Dots", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.p-text {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    text-align: justify;
}

.p-text-center {    
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    text-align: center;
}

/*NAVBAR*/
.navbar {
    background-color: #2E8B57 !important;
}

    .navbar .nav-link, .navbar-brand {
        color: white !important;
    }

.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    background-color: #FFFF00;
    color: #2E8B57;
}



.section-pad-gray {
    padding: 150px 20px;
    background-color: #f8f8f8;
}

.section-pad-generic-cta {
    padding: 150px 20px;
    background-color: #e8e8e8;
}


#backToTop {
    position: fixed;
    bottom: 40px;
    right: 20px;
    background-color: #2E8B57 !important;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease-in-out;
    cursor: pointer;
}

    #backToTop:hover {
        background-color: #28A745;
    }

/*CLIENT LOGO NAVBAR*/
.client-logo {
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out;
    max-width: 130px;
    margin: 0 15px;
}

    .client-logo:hover {
        filter: grayscale(0%);
    }


.logo-brand {
    max-height: 550px; /* Ajusta la altura máxima de todos los logos */
    /*max-width: 250px;*/ /* Ajusta la anchura máxima de todos los logos */
    object-fit: contain; /* Mantiene proporción sin deformar */
}


/* ===== ESTILOS ESPECÍFICOS PARA POLÍTICA DE COOKIES ===== */



.cookie-policy-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0 60px;
    margin-top: 76px;
}

.cookie-content {
    background: #6C757D !important;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 40px;
    margin: -20px auto 60px; /* Reducimos el margen negativo superior */
    position: relative;
    max-width: 1200px;
}

.cookie-section {
    margin-bottom: 40px;
}

    .cookie-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

.cookie-category {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 4px solid #3498db;
}

    .cookie-category.technical {
        border-left-color: #27ae60;
    }

    .cookie-category.analytical {
        border-left-color: #e74c3c;
    }

    .cookie-category.marketing {
        border-left-color: #f39c12;
    }

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

    .cookie-table th {
        background: #2c3e50;
        color: white;
        padding: 15px;
        text-align: left;
        font-weight: 600;
    }

    .cookie-table td {
        padding: 15px;
        border-bottom: 1px solid #e9ecef;
    }

    .cookie-table tr:hover {
        background: #f8f9fa;
    }

.cookie-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
}

.badge-technical {
    background: #27ae60;
    color: white;
}

.badge-analytical {
    background: #e74c3c;
    color: white;
}

.badge-marketing {
    background: #f39c12;
    color: white;
}

.management-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.management-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .management-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

.management-icon {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 15px;
}

.last-updated {
    background: #e8f4fd;
    border-radius: 10px;
    padding: 20px;
    margin-top: 40px;
    border-left: 4px solid #3498db;
}

/* Banner de Cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

    .cookie-banner.show {
        transform: translateY(0);
    }

.cookie-content-banner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
    font-size: 14px;
    line-height: 1.5;
}

    .cookie-text a {
        color: #3498db;
        text-decoration: underline;
    }

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background: #27ae60;
    color: white;
}

    .cookie-btn-accept:hover {
        background: #219a52;
    }

.cookie-btn-reject {
    background: #e74c3c;
    color: white;
}

    .cookie-btn-reject:hover {
        background: #c0392b;
    }

.cookie-btn-settings {
    background: #3498db;
    color: white;
}

    .cookie-btn-settings:hover {
        background: #2980b9;
    }

/* Modal de Configuración de Cookies */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    backdrop-filter: blur(5px);
}

    .cookie-modal.show {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.cookie-modal-content {
    background: white;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cookie-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-body {
    padding: 20px;
}

.cookie-category-modal {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-category-title {
    font-weight: bold;
    color: #2c3e50;
}

.cookie-category-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.form-check {
    margin-bottom: 8px;
}

.cookie-modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-content {
        padding: 20px;
        margin: -20px 15px 20px;
    }

    .cookie-content-banner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }

    .cookie-text {
        min-width: auto;
    }

    .management-options {
        grid-template-columns: 1fr;
    }

    .cookie-table {
        display: block;
        overflow-x: auto;
    }
}

/* Estilos específicos para la página de política de cookies */
/*.about.section-pad-generic {
    background-color: #f8f9fa;
}

    .about.section-pad-generic h3 {
        color: #2c3e50;
        margin-top: 2rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid #3498db;
    }

    .about.section-pad-generic .section-title h2 {
        color: #2c3e50;
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .about.section-pad-generic .section-title p {
        color: #6c757d;
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }*/



/*nuevo*/
.btnAbrirConfigCookies {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    background-color: #ffffff;
    border: 2px solid #0A2647;
    transition: all 0.3s ease;
}

    .btnAbrirConfigCookies:hover {
        background-color: #0A2647;
        color: #fff;
    }