/* ==========================================================================
   1. RESET, VARIABLES GLOBALES & CONTROL DE TAMAÑOS (FIX SVG/IMG)
   ========================================================================== */
:root {
    /* Paleta Iridiscente */
    --bg-base: #E8F4F8;
    --bg-card: rgba(255, 255, 255, 0.75);
    --bg-glass: rgba(255, 255, 255, 0.55);
    
    --accent-purple: #9D4EDD;
    --accent-cyan: #00B4D8;
    --accent-magenta: #E0AAFF;
    
    --text-main: #0B091A;       /* Texto oscuro */
    --text-muted: #5A5675;      /* Texto secundario */
    --text-white: #FFFFFF;
    
    --border-light: rgba(11, 9, 26, 0.08);
    --border-accent: rgba(157, 78, 221, 0.25);
    
    /* Tipografía */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Transiciones */
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* --- REGLA CRÍTICA DE CONTROL DE TAMAÑOS --- */
img, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

svg {
    flex-shrink: 0; /* Previene que los íconos se deformen o expandan */
}

/* ==========================================================================
   2. FONDO GLOBAL IRIDISCENTE (LILA + CELESTE + VIOLETA)
   ========================================================================== */
body {
    position: relative;
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Capa 1: Fondo Iridiscente Pastel Fijo */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background: radial-gradient(circle at 10% 20%, rgba(224, 170, 255, 0.8) 0%, transparent 40%),
                radial-gradient(circle at 90% 10%, rgba(0, 180, 216, 0.6) 0%, transparent 40%),
                radial-gradient(circle at 50% 50%, rgba(232, 244, 248, 0.9) 0%, transparent 60%),
                radial-gradient(circle at 80% 80%, rgba(157, 78, 221, 0.5) 0%, transparent 45%),
                radial-gradient(circle at 20% 80%, rgba(144, 224, 239, 0.7) 0%, transparent 40%);
    background-size: 150% 150%;
}

/* Capa 2: Textura de malla suave */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.03;
    background-image: linear-gradient(to right, var(--text-main) 1px, transparent 1px), 
                      linear-gradient(to bottom, var(--text-main) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* ==========================================================================
   3. ESTRUCTURA Y COMPONENTES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

@media (min-width: 768px) {
    .section-padding { padding: 8rem 0; }
}

.services, 
.methodology, 
.contact,
.gallery-section {
    background-color: var(--bg-glass) !important;
    backdrop-filter: blur(16px);
}

/* Tipografía */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-main) !important;
}

a {
    color: inherit;
    text-decoration: none;
}

.hidden { display: none !important; }

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 50px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    color: var(--text-white);
    box-shadow: 0 8px 20px rgba(157, 78, 221, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(157, 78, 221, 0.35);
}

.btn-outline {
    border-color: var(--accent-purple);
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: var(--accent-purple);
    color: var(--text-white);
}

.btn-submit {
    width: 100%;
    background: var(--text-main);
    color: var(--text-white);
    border-radius: 12px;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: var(--accent-purple);
}

/* Íconos dentro de botones */
.icon-arrow {
    width: 1rem !important;
    height: 1rem !important;
    transition: transform 0.3s ease;
}

.btn:hover .icon-arrow {
    transform: translateX(4px);
}

/* Tags de sección */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.tag-line {
    width: 2.5rem;
    height: 2px;
    background: linear-gradient(to right, var(--accent-purple), var(--accent-cyan));
}

.tag-text {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent-purple);
}

.text-cyan { color: var(--accent-purple); }

/* ==========================================================================
   4. HEADER / NAVEGACIÓN
   ========================================================================== */
.btn-mobile {
    display: inline-flex;
    margin-top: 0.5rem;
}

.nav-btn-desktop {
    display: none;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-box {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-dot {
    width: 0.4rem;
    height: 0.4rem;
    background-color: var(--text-white);
    border-radius: 50%;
}

.logo-text {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-main);
}

.nav {
    display: none;
    gap: 2rem;
}

.nav-link {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-purple);
}

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    width: 2.8rem;
    height: 2.8rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(11, 9, 26, 0.08);
    cursor: pointer;
    transition: var(--transition);
}

.nav-toggle span {
    display: block;
    width: 1.1rem;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 999px;
    transition: 0.35s ease;
}

.nav-toggle.active {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.16), rgba(0, 180, 216, 0.16));
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 768px) {
    .nav { display: flex; align-items: center; }
    .nav-toggle { display: none; }
    .btn-mobile { display: none; }
    .nav-btn-desktop { display: inline-flex; }
}

@media (max-width: 767px) {
    .nav-btn-desktop { display: none; }
    .btn-mobile { display: inline-flex; }

    .nav {
        display: flex;
        position: absolute;
        top: calc(100% + 0.8rem);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1.4rem 1rem 1.5rem;
        border: 1px solid rgba(157, 78, 221, 0.18);
        border-radius: 20px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(232, 244, 248, 0.96));
        box-shadow: 0 18px 45px rgba(11, 9, 26, 0.12);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.4s ease, transform 0.4s ease;
        z-index: 1001;
    }

    .nav.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-link {
        font-size: 0.8rem;
        color: var(--text-main);
        text-align: center;
    }

    .btn-mobile {
        width: 100%;
        justify-content: center;
        margin-top: 0.25rem;
    }
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 1.5rem 3rem;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 950px;
    margin: 0 auto;
    width: 100%;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-main) !important;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    max-width: 550px;
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        align-items: center;
    }
}

.stats-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-purple);
}

.stat-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 2rem;
    background-color: var(--border-light);
}

/* ==========================================================================
   6. SOCIAL PROOF
   ========================================================================== */
.social-proof {
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 2.5rem 0;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.social-proof-title {
    text-align: center;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.clients-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.clients-track {
    display: flex;
    width: max-content;
    gap: 1.25rem;
    padding: 0.25rem 0;
    animation: clientsScroll 18s linear infinite;
}

.client-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 11rem;
    color: rgba(11, 9, 26, 0.35);
    transition: var(--transition);
    white-space: nowrap;
}

.client-logo:hover {
    color: var(--accent-purple);
}

.brand-mark {
    width: 100%;
    max-width: 10.5rem;
    height: auto;
    color: rgba(11, 9, 26, 0.72);
}

@keyframes clientsScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 640px) {
    .clients-track {
        gap: 1rem;
        animation-duration: 16s;
    }

    .client-logo {
        font-size: 0.8rem;
        letter-spacing: 0.08em;
    }
}

/* ==========================================================================
   7. TARJETAS & SERVICIOS
   ========================================================================== */
.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

.header-desc {
    color: var(--text-muted);
    font-size: 1rem;
}

.services-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card, .step-card {
    position: relative;
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.service-card {
    min-height: 360px;
}

.service-card:hover, .step-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: 0 15px 30px rgba(157, 78, 221, 0.1);
}

.service-bg {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card:hover .service-bg {
    opacity: 0.25;
}

.service-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.service-num {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--accent-purple);
}

/* FIX ICONOS DE SERVICIOS */
.icon-external {
    width: 1rem !important;
    height: 1rem !important;
    color: var(--accent-purple);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.service-card p, .step-card p {
    font-size: 0.875rem;
    color: var(--text-muted) !important;
}

.service-specs {
    list-style: none;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.service-specs li {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-purple);
    font-weight: 600;
}

/* ==========================================================================
   8. CASO DE ESTUDIO & GALERÍA (SWIPER)
   ========================================================================== */
.case-study-grid {
    display: grid;
    gap: 2.75rem;
    margin-top: 3.5rem;
}

@media (min-width: 1024px) {
    .case-study-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.case-study-image, .event-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.gauge-badge {
    position: absolute;
    bottom: 0.85rem;
    left: 0.85rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid var(--border-light);
    padding: 0.5rem 1rem;
}

.gauge-label {
    display: block;
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.gauge-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-purple);
}

.case-study-blocks {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.case-block {
    border-left: 2px solid var(--accent-purple);
    padding-left: 1.25rem;
}

.block-step {
    display: block;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-purple);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.case-block p {
    font-size: 1rem;
    color: var(--text-main);
}

/* Carrusel de Eventos (Swiper Control de Botones) */
.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.swiper-controls {
    display: flex;
    gap: 0.75rem;
}

.swiper-btn-prev, .swiper-btn-next {
    width: 2.5rem !important;
    height: 2.5rem !important;
    border-radius: 50%;
    border: 1px solid var(--border-accent);
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.swiper-btn-prev svg, .swiper-btn-next svg {
    width: 1rem !important;
    height: 1rem !important;
}

.swiper-btn-prev:hover, .swiper-btn-next:hover {
    background: var(--accent-purple);
    color: var(--text-white);
}

.event-info {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 9, 26, 0.9) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
}

.event-category { font-size: 0.625rem; letter-spacing: 0.2em; color: var(--accent-cyan); text-transform: uppercase; }
.event-title { font-size: 1.125rem; font-weight: 700; color: var(--text-white) !important; }
.event-location { font-size: 0.75rem; color: rgba(255, 255, 255, 0.7); }

.swiper-pagination-bullet-active {
    background: var(--accent-purple) !important;
}

/* ==========================================================================
   9. METODOLOGÍA & FORMULARIO
   ========================================================================== */
.steps-grid {
    display: grid;
    gap: 1.75rem;
    margin-top: 3.5rem;
}

@media (min-width: 768px) {
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

/* FIX ICONOS DE PASOS */
.step-icon {
    width: 2.5rem !important;
    height: 2.5rem !important;
    border-radius: 10px;
    border: 1px solid var(--border-accent);
    color: var(--accent-purple);
    background: rgba(224, 170, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon svg {
    width: 1.125rem !important;
    height: 1.125rem !important;
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.step-num {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: rgba(11, 9, 26, 0.1);
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.trust-banner {
    margin-top: 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(232, 244, 248, 0.9));
    border-radius: 20px;
    border: 1px solid var(--border-accent);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 10px 25px rgba(157, 78, 221, 0.06);
}

@media (min-width: 640px) {
    .trust-banner {
        flex-direction: row;
        align-items: center;
    }
}

/* FIX ICONO DEL BANNER DE CONFIANZA */
.trust-icon {
    width: 2.75rem !important;
    height: 2.75rem !important;
    border-radius: 12px;
    border: 1px solid var(--accent-purple);
    background: rgba(157, 78, 221, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon svg {
    width: 1.25rem !important;
    height: 1.25rem !important;
    color: var(--accent-purple);
}

.trust-subtitle {
    display: block;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-purple);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

/* Formulario */
.contact-grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 2fr 3fr;
        gap: 4rem;
    }
}

.contact-checklist {
    list-style: none;
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.contact-checklist li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
}

/* FIX CHECKMARKS DE CONTACTO */
.contact-checklist svg {
    width: 0.9rem !important;
    height: 0.9rem !important;
    color: var(--accent-purple);
}

.brief-form {
    background-color: var(--bg-card);
    border-radius: 20px;
    padding: 2.25rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.03);
}

.form-row {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
}

.form-group label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-group input {
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-light);
    padding: 0.5rem 0;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-main);
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-purple);
}

.chips-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.chip {
    padding: 0.5rem 0.85rem;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 30px;
    border: 1px solid var(--border-light);
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.chip:hover, .chip.selected {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    color: var(--text-white);
}

/* ==========================================================================
   10. BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 12px 25px rgba(18, 140, 126, 0.25);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 16px 30px rgba(18, 140, 126, 0.3);
}

.whatsapp-float img {
    width: 1.7rem;
    height: 1.7rem;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.12));
}

@media (max-width: 640px) {
    .whatsapp-float {
        right: 1rem;
        bottom: 1rem;
        width: 3rem;
        height: 3rem;
    }

    .whatsapp-float img {
        width: 1.35rem;
        height: 1.35rem;
    }
}

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.footer {
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--border-light);
    color: var(--text-main);
}

.footer-upper {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-light);
}

.footer-locations {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    margin-top: 0.5rem;
}

.footer-text {
    color: var(--text-muted);
    font-size: 1rem;
}

.footer-lower {
    padding: 2rem 0;
}

.footer-lower-flex {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ==========================================================================
   REDES SOCIALES DEL FOOTER
   ========================================================================== */
.social-links {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem !important;
    height: 2.25rem !important;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    transition: var(--transition);
}

.social-icon svg {
    width: 1.1rem !important;
    height: 1.1rem !important;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--accent-purple);
    border-color: var(--accent-purple);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(157, 78, 221, 0.2);
}

@media (min-width: 768px) {
    .footer-lower-flex {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.footer-nav a {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    font-weight: 600;
}

.footer-nav a:hover {
    color: var(--accent-purple);
}

.copyright {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

