/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #f59e0b;
    --accent-color: #06b6d4;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f3f4f6;
    --white: #ffffff;
    --silver: #c0c0c0;
    --gold: #ffd700;
    --platinum: #e5e4e2;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

/* ============================================
   NAVEGACIÓN
   ============================================ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

nav.scrolled {
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    margin-top: 0;
    height: 100vh;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(6, 182, 212, 0.8)),
                url('images/hero.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */
section {
    padding: 5rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* ============================================
   PRESENTACIÓN
   ============================================ */
.presentation {
    background: var(--bg-light);
}

.presentation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.presentation-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.presentation-text p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.magazine-mockup {
    perspective: 1000px;
}

.magazine-cover {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transition: var(--transition);
    transform: rotateY(-10deg);
}

.magazine-cover:hover {
    transform: rotateY(0deg) scale(1.05);
}

/* ============================================
   OBJETIVOS
   ============================================ */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.objective-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    text-align: center;
}

.objective-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.objective-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.objective-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.objective-card p,
.objective-card ul {
    color: var(--text-light);
    line-height: 1.8;
}

.objective-card ul {
    list-style: none;
    text-align: left;
}

.objective-card ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.objective-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* ============================================
   CONSEJO DIRECTIVO
   ============================================ */
.council {
    background: var(--bg-light);
}

.council-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.council-member {
    text-align: center;
    transition: var(--transition);
}

.council-member:hover {
    transform: translateY(-10px);
}

.member-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 5px solid var(--white);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.council-member:hover .member-image img {
    transform: scale(1.1);
}

.council-member h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.council-member p {
    color: var(--text-light);
    font-size: 1rem;
}

/* ============================================
   SERVICIOS
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.service-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   MEMBRESÍAS
   ============================================ */
.memberships {
    background: var(--bg-light);
}

.memberships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.membership-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.membership-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.membership-card.silver {
    border-top: 5px solid var(--silver);
}

.membership-card.gold {
    border-top: 5px solid var(--gold);
    transform: scale(1.05);
}

.membership-card.platinum {
    border-top: 5px solid var(--platinum);
}

.membership-card.gold:hover {
    transform: scale(1.05) translateY(-10px);
}

.membership-header {
    text-align: center;
    margin-bottom: 2rem;
}

.membership-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.membership-card.silver .membership-header i {
    color: var(--silver);
}

.membership-card.gold .membership-header i {
    color: var(--gold);
}

.membership-card.platinum .membership-header i {
    color: var(--platinum);
}

.membership-header h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-light);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 1rem;
    color: var(--text-light);
}

.membership-features {
    list-style: none;
    margin-bottom: 2rem;
}

.membership-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
}

.membership-features li i {
    font-size: 1.2rem;
}

.membership-features li .fa-check {
    color: #10b981;
}

.membership-features li .fa-times {
    color: #ef4444;
}

.membership-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.membership-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* ============================================
   SECCIÓN DE CONTACTO PRINCIPAL
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* ← 3 columnas fijas */
    gap: 2rem;
    max-width: 1100px;  /* ← Aumentado para acomodar 3 columnas */
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.8rem;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--secondary-color);
}

/* ============================================
   FOOTER COMPLETO
   ============================================ */
.footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: var(--white);
    position: relative;
    padding-top: 0;
    margin-top: 4rem;
}

.footer-wave {
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 60px;
    overflow: hidden;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
}

.footer > .container {
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about {
    padding-right: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.footer-logo h4 {
    font-size: 1.3rem;
    margin: 0;
    font-family: 'Playfair Display', serif;
    color: var(--white);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-links a:hover i {
    transform: translateX(3px);
}

.cookie-settings-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.cookie-settings-link:hover {
    color: var(--secondary-color);
}

/* Footer - Información de contacto */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.footer-contact-info .contact-item:hover {
    transform: none;
    box-shadow: none;
}

.footer-contact-info .contact-item > i {
    font-size: 1.3rem;
    color: var(--secondary-color);
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.footer-contact-info .contact-item .contact-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-contact-info .contact-item a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-contact-info .contact-item a:hover {
    color: var(--secondary-color);
}

.footer-contact-info .contact-item address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.2) 20%,
        rgba(255, 255, 255, 0.2) 80%,
        transparent
    );
    margin: 2rem 0;
}

.footer-bottom {
    padding-top: 1rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom-links .separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

.footer-badges {
    display: flex;
    gap: 1rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.badge i {
    color: var(--secondary-color);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    transition: var(--transition);
    z-index: 998;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

.back-to-top.visible {
    display: flex;
}

/* ============================================
   BANNER DE COOKIES
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner-visible {
    transform: translateY(0);
}

.cookie-banner-container {
    position: relative;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(248, 250, 252, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.cookie-banner-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    opacity: 0.05;
    animation: float 20s infinite ease-in-out;
}

.decoration-circle.circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -100px;
    animation-delay: 0s;
}

.decoration-circle.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    right: 10%;
    animation-delay: 5s;
}

.decoration-circle.circle-3 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: -50px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.cookie-banner-content {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2.5rem;
    align-items: center;
}

.cookie-banner-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
}

.cookie-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), #fbbf24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
    animation: pulse 2s infinite ease-in-out;
    position: relative;
    z-index: 2;
}

.cookie-icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow 2s infinite ease-in-out;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.cookie-banner-center {
    flex: 1;
}

.cookie-banner-center h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.cookie-banner-center p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.cookie-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.cookie-learn-more:hover {
    color: var(--secondary-color);
    gap: 0.75rem;
}

.cookie-banner-right {
    display: flex;
    align-items: center;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cookie-btn {
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.cookie-btn i {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.cookie-btn span {
    position: relative;
    z-index: 1;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

.cookie-btn-reject {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cookie-btn-reject:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cookie-btn-settings {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cookie-btn-settings:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.cookie-btn-save {
    background: linear-gradient(135deg, var(--secondary-color), #fbbf24);
    color: var(--white);
    width: 100%;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.cookie-btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* Panel de configuración */
.cookie-settings-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-settings-visible {
    opacity: 1;
    visibility: visible;
}

.cookie-settings-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.cookie-settings-container {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-settings-visible .cookie-settings-container {
    transform: scale(1) translateY(0);
}

.cookie-settings-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.settings-header-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

.settings-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
}

.settings-header-content h3 {
    font-size: 1.5rem;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.settings-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0.25rem 0 0 0;
}

.cookie-settings-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.cookie-settings-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.cookie-settings-content {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.settings-intro {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(6, 182, 212, 0.05));
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.settings-intro i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.125rem;
}

.settings-intro p {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.cookie-category:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
}

.cookie-category-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--bg-light);
    transition: var(--transition);
}

.cookie-category-header:hover {
    background: rgba(30, 58, 138, 0.05);
}

.cookie-category-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
    transition: var(--transition);
    flex-shrink: 0;
}

.category-icon.necessary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.category-icon.social {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.category-icon.expanded {
    transform: scale(1.1) rotate(5deg);
}

.cookie-category-info h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.cookie-category-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-category-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: var(--white);
}

.cookie-category-details-visible {
    max-height: 500px;
}

.cookie-category-details ul {
    padding: 1.25rem 1.5rem;
    margin: 0;
    list-style: none;
}

.cookie-category-details li {
    padding: 0.625rem 0;
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.6;
    border-bottom: 1px solid #f3f4f6;
}

.cookie-category-details li:last-child {
    border-bottom: none;
}

.cookie-category-details li strong {
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

.cookie-settings-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e5e7eb;
    background: var(--bg-light);
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.cookie-toggle-slider {
    position: relative;
    cursor: pointer;
    width: 56px;
    height: 30px;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 30px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(26px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    cursor: not-allowed;
    opacity: 0.8;
}

.toggle-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    min-width: 80px;
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section {
    animation: fadeInUp 0.6s ease forwards;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-about {
        grid-column: 1 / -1;
        padding-right: 0;
    }

    .cookie-banner-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .cookie-banner-left {
        justify-content: center;
    }

    .cookie-banner-right {
        justify-content: center;
    }

    .cookie-buttons {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        overflow-y: auto;
    }

    .nav-links.active {
        left: 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .presentation-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .council-grid {
        flex-direction: column;
        align-items: center;
    }

    .member-image {
        width: 250px;
        height: 250px;
    }

    .section-title {
        font-size: 2rem;
    }

    .membership-card.gold {
        transform: scale(1);
    }

    .membership-card.gold:hover {
        transform: translateY(-10px);
    }

    .footer > .container {
        padding: 3rem 1.5rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-about {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
        flex-direction: column;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-contact-info .contact-item {
        justify-content: flex-start;
        text-align: left;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .footer-badges {
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .cookie-banner-content {
        padding: 1.5rem 1rem;
    }

    .cookie-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .cookie-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .cookie-icon-glow {
        width: 80px;
        height: 80px;
    }

    .cookie-banner-center h3 {
        font-size: 1.25rem;
    }

    .cookie-banner-center p {
        font-size: 0.9rem;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        justify-content: center;
    }

    .cookie-settings-container {
        width: 95%;
        max-height: 90vh;
    }

    .cookie-settings-header {
        padding: 1.5rem;
    }

    .settings-header-content h3 {
        font-size: 1.25rem;
    }

    .cookie-settings-content {
        padding: 1.5rem;
    }

    .cookie-category-header {
        padding: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cookie-toggle {
        align-self: flex-end;
    }
}
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;  /* 1 columna en móvil */
    }
}

@media (max-width: 480px) {
    .footer-wave {
        top: -40px;
        height: 40px;
    }

    .footer-logo i {
        font-size: 2rem;
    }

    .footer-logo h4 {
        font-size: 1.1rem;
    }

    .badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .cookie-banner-content {
        padding: 1.25rem 0.75rem;
    }

    .cookie-icon {
        width: 50px;
        height: 50px;
        font-size: 1.75rem;
    }

    .cookie-banner-center h3 {
        font-size: 1.1rem;
    }

    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
/* ============================================
   BOTÓN VER PERFIL - CENTRADO
   ============================================ */
.member-actions-single {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.btn-view-profile-centered {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    min-width: 180px;
    justify-content: center;
}

.btn-view-profile-centered:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.btn-view-profile-centered i {
    font-size: 1.1rem;
}