:root {
    --primary-color: #2ecc71;
    --secondary-color: #27ae60;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --accent-color: #e74c3c;
    --text-color: #333333;
    --bg-dark: #1a1a1a;
    --bg-light: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--dark-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo {
    color: var(--light-color);
    font-size: 1.5rem;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--light-color);
    text-align: center;
    padding-top: 20vh;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Video Controls */
.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.bg-dark {
    background: var(--bg-dark);
    color: var(--light-color);
}

/* Cards */
.impact-grid,
.stats-grid,
.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.impact-card,
.stat-card,
.action-card {
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.impact-card:hover,
.stat-card:hover,
.action-card:hover {
    transform: translateY(-5px);
}

.impact-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

/* Enlaces Sociales */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Enlaces del Footer */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-left: 5px;
}

/* Información de Contacto */
.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.contact-info i {
    color: var(--primary-color);
}

.contact-info a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-color);
}

/* Newsletter */
.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: var(--light-color);
}

.btn-subscribe {
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    opacity: 0.8;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--light-color);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-bottom-links a:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Menú desplegable */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--light-color);
    position: relative;
    transition: background 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--light-color);
    transition: transform 0.3s;
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    bottom: -6px;
}

/* Estilos para el menú activo */
.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Header y navegación */
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Media queries para el menú responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--dark-color);
        padding: 80px 20px 20px;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
    }

    .nav-menu-container.active {
        right: 0;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }

    .nav-menu {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-menu a {
        font-size: 1.2rem;
        padding: 0.5rem 0;
        display: block;
    }

    /* Overlay para cuando el menú está activo */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }

    .menu-overlay.active {
        display: block;
    }
}

/* Estilos para la sección de datos */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    color: var(--light-color);
    opacity: 0.8;
    margin-bottom: 3rem;
}

.stat-card {
    padding: 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
    font-family: 'Roboto Mono', monospace;
}

.stat-value span {
    font-size: 1.5rem;
    opacity: 0.7;
    margin-left: 0.5rem;
}

.stat-details {
    text-align: left;
}

.stat-main {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--light-color);
}

.stat-list {
    list-style: none;
    padding: 0;
}

.stat-list li {
    padding: 0.5rem 0;
    color: var(--light-color);
    opacity: 0.8;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-list li:last-child {
    border-bottom: none;
}

.data-sources {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.data-sources h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.data-sources ul {
    list-style: none;
    padding: 0;
}

.data-sources li {
    color: var(--light-color);
    opacity: 0.8;
    padding: 0.5rem 0;
}

/* Animaciones */
.stat-value {
    animation: countUp 2s ease-out forwards;
    opacity: 0;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .stat-value {
        font-size: 2.5rem;
    }

    .stat-icon {
        font-size: 2rem;
    }
}

/* Mejoras visuales para las cards */
.impact-details,
.stat-details,
.action-list {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.impact-list,
.stat-list,
.action-list {
    list-style: none;
    padding: 0;
}

.impact-list li,
.stat-list li,
.action-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    line-height: 1.4;
}

.impact-list li:last-child,
.stat-list li:last-child,
.action-list li:last-child {
    border-bottom: none;
}

.action-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Efectos hover mejorados */
.impact-card:hover,
.stat-card:hover,
.action-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 25px rgba(140, 26, 255, 0.2);
}

/* Animaciones de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.impact-card,
.stat-card,
.action-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.impact-card:nth-child(2),
.stat-card:nth-child(2),
.action-card:nth-child(2) {
    animation-delay: 0.2s;
}

.impact-card:nth-child(3),
.stat-card:nth-child(3),
.action-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Estilos para la página de cookies */
.cookies-page {
    padding: 8rem 2rem 4rem;
}

.cookies-page h1 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.cookies-section {
    margin-bottom: 3rem;
}

.cookies-section h2 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.cookies-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cookie-type {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cookie-type h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cookie-type ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.cookie-type li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.cookie-type li:last-child {
    border-bottom: none;
}

/* Controles de cookies */
.cookie-controls {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.cookie-toggle {
    margin-bottom: 1.5rem;
}

.cookie-toggle label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.toggle-slider {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    background-color: #ccc;
    border-radius: 34px;
    transition: .4s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
}

input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.save-preferences {
    display: block;
    margin: 2rem auto 0;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.save-preferences:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Banner de cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-color);
    color: var(--light-color);
    padding: 1rem;
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.5s ease-out;
}

.cookie-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accept-cookies {
    background: var(--primary-color);
    color: white;
}

.customize-cookies {
    background: transparent;
    border: 1px solid var(--light-color);
    color: var(--light-color);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Estilos para la página de términos */
.terms-page {
    padding: 8rem 2rem 4rem;
}

.terms-page h1 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.terms-section {
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.terms-section h2 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.terms-content {
    padding: 1rem 0;
}

.terms-content h3 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.2rem;
}

.terms-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.terms-content ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.terms-content ul li {
    position: relative;
    padding: 0.5rem 0;
    line-height: 1.4;
}

.terms-content ul li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: -1.5rem;
    font-size: 1.2em;
}

.terms-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.terms-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-details {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-details p {
    margin: 0.5rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .terms-page {
        padding: 6rem 1rem 3rem;
    }

    .terms-section {
        padding: 1.5rem;
    }

    .terms-section h2 {
        font-size: 1.3rem;
    }

    .terms-content h3 {
        font-size: 1.1rem;
    }
}

/* Estilos para el mapa y la sección de contacto */
.location-map {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-details {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: grid;
    gap: 1rem;
}

.contact-details p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-details i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .location-map iframe {
        height: 300px;
    }
}

/* Estilos para la página de privacidad */
.privacy-page {
    padding: 8rem 2rem 4rem;
}

.privacy-page h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: var(--dark-color);
    opacity: 0.7;
    margin-bottom: 3rem;
}

.privacy-section {
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.privacy-section h2 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.privacy-content {
    padding: 1rem 0;
}

.privacy-content h3 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.2rem;
}

.privacy-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.privacy-content ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.privacy-content ul li {
    position: relative;
    padding: 0.5rem 0;
    line-height: 1.4;
}

.privacy-content ul li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: -1.5rem;
    font-size: 1.2em;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.right-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.right-item:hover {
    transform: translateY(-5px);
}

.right-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.right-item h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.right-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .privacy-page {
        padding: 6rem 1rem 3rem;
    }

    .privacy-section {
        padding: 1.5rem;
    }

    .rights-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Estilos para enlaces de teléfono */
.phone-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.phone-link:hover {
    color: var(--primary-color);
}

/* Efecto de hover especial para móviles */
@media (hover: hover) {
    .phone-link:hover {
        transform: scale(1.05);
    }
}

/* Estilo específico para el footer */
.footer .phone-link {
    color: var(--light-color);
}

.footer .phone-link:hover {
    color: var(--primary-color);
}

/* Animación al hacer hover */
.phone-link:hover i {
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
} 