/* ==========================================
   VARIABLES GLOBALES (Manual de Marca Norabona)
   ========================================== */
:root {
    /* Paleta Oficial */
    --color-primary: #BE3A4F;       /* Color principal (Frambuesa / Carmesí) */
    --color-secondary: #CB7375;     /* Color secundario (Rosa empolvado) */
    --color-dark: #000000;          /* Negro de marca */
    --color-white: #FFFFFF;         /* Blanco puro */
    
    /* Colores funcionales / Fondo y Texto */
    --color-bg: #FFFFFF;
    --color-bg-subtle: #FAF7F7;      /* Blanco con levísimo matiz cálido */
    --color-text-main: #000000;      /* Texto principal */
    --color-text-muted: #555555;     /* Texto secundario para lectura descansada */
    
    /* Tipografía Oficial (Gotham con fallbacks geométricos) */
    --font-brand: 'Gotham', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Pesos de Gotham */
    --font-light: 300;
    --font-book: 400;
    --font-medium: 500;
    --font-bold: 700;
    
    /* Transiciones suaves */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s ease;
}

/* ==========================================
   RESET & ESTILOS BASE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-brand);
    font-weight: var(--font-book);
    color: var(--color-text-main);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Tratamiento tipográfico fiel a la identidad de Norabona */
h1, h2, h3, h4, h5 {
    font-family: var(--font-brand);
    font-weight: var(--font-bold);
    text-transform: uppercase;       /* Coherente con la imagen limpia del manual */
    letter-spacing: 1.5px;
    line-height: 1.2;
}

p {
    font-weight: var(--font-light);
    letter-spacing: 0.3px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Contenedor general para alinear secciones */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   ESTILOS DE BOTONES (Reutilizables)
   ========================================== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 0.85rem;
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 2px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 1px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: #a32f41; /* Tono ligeramente más intenso */
    border-color: #a32f41;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
    transform: translateY(-2px);
}

/* ==========================================
   HEADER / NAVEGACIÓN
   ========================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.brand-logo .logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--color-dark);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.75rem;
}

/* ==========================================
   HERO / PORTADA
   ========================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    padding-top: 80px; /* Compensación del header fijo */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg, 
        rgba(0, 0, 0, 0.35) 0%, 
        rgba(0, 0, 0, 0.65) 100%
    );
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-subtitle-tag {
    display: block;
    font-size: 0.9rem;
    font-weight: var(--font-medium);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: var(--font-bold);
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--color-white);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: var(--font-light);
    margin-bottom: 36px;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Flecha de scroll */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    padding: 10px;
}

.scroll-arrow {
    display: block;
    width: 12px;
    height: 12px;
    border-bottom: 2px solid var(--color-white);
    border-right: 2px solid var(--color-white);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(8px) rotate(45deg);
    }
    60% {
        transform: translateY(4px) rotate(45deg);
    }
}

/* ==========================================
   RESPONSIVE (Móviles y Tablets)
   ========================================== */
@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Dejamos visible el CTA principal en móvil */
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
    }
}

/* ==========================================
   SECCIÓN SOBRE NOSOTROS
   ========================================== */
.about-section {
    padding: 100px 0;
    background-color: var(--color-bg);
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: var(--font-medium);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: var(--font-bold);
    color: var(--color-dark);
    line-height: 1.3;
    margin-bottom: 30px;
    max-width: 900px;
}

.manifesto-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.manifesto-content p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.manifesto-content .highlight-text {
    color: var(--color-dark);
    font-weight: var(--font-book);
    border-left: 3px solid var(--color-primary);
    padding-left: 20px;
    margin-top: 25px;
}

.divider-line {
    width: 60px;
    height: 2px;
    background-color: var(--color-secondary);
    margin: 70px auto;
}

/* ==========================================
   EQUIPO
   ========================================== */
.team-wrapper {
    margin-top: 40px;
}

.team-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.team-main-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 16px;
}

.team-subtitle {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-card {
    background-color: var(--color-bg-subtle);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(190, 58, 79, 0.2);
}

.team-img-wrapper {
    width: 100%;
    height: 340px;
    overflow: hidden;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.team-card:hover .team-img {
    transform: scale(1.03);
}

.team-info {
    padding: 30px 24px;
    text-align: left;
    flex-grow: 1;
}

.member-name {
    font-size: 1.3rem;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.member-role {
    display: block;
    font-size: 0.75rem;
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.member-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .about-section {
        padding: 70px 0;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ==========================================
   SECCIÓN SERVICIOS (3 PASTILLAS EN FILA)
   ========================================== */
.services-section {
    padding: 100px 0;
    background-color: var(--color-bg-subtle);
}

.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.services-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-top: 15px;
}

/* Fila de 3 columnas */
.services-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 70px;
    align-items: stretch;
}

/* Pastilla de Servicio */
.service-pill {
    background-color: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 40px 30px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
}

.service-pill:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
}

.pill-badge {
    align-self: flex-start;
    background-color: rgba(190, 58, 79, 0.1);
    color: var(--color-primary);
    font-size: 0.7rem;
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    border-radius: 2px;
    margin-bottom: 20px;
}

.pill-title {
    font-size: 1.35rem;
    color: var(--color-dark);
    margin-bottom: 15px;
}

.pill-divider {
    width: 35px;
    height: 2px;
    background-color: var(--color-primary);
    margin-bottom: 20px;
}

.pill-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 25px;
}

.pill-list {
    list-style: none;
    padding: 0;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

.pill-list li {
    font-size: 0.85rem;
    color: var(--color-text-main);
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}

.pill-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: var(--font-bold);
}

/* ==========================================
   BANNER DOSSIER
   ========================================== */
.dossier-banner {
    background-color: var(--color-white);
    border-left: 4px solid var(--color-primary);
    padding: 35px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.dossier-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-secondary);
    margin-bottom: 6px;
}

.dossier-title {
    font-size: 1.25rem;
    color: var(--color-dark);
    margin-bottom: 6px;
}

.dossier-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.btn-dossier {
    white-space: nowrap;
    padding: 14px 28px;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 992px) {
    .services-row {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .dossier-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .btn-dossier {
        width: 100%;
    }
}

/* ==========================================
   SECCIÓN MOMENTOS (GALERÍA)
   ========================================== */
.moments-section {
    padding: 110px 0;
    background-color: var(--color-bg);
}

.moments-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 50px auto;
}

.moments-lead {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-top: 15px;
}

/* Bento Grid Asimétrico */
.moments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 20px;
    margin-bottom: 50px;
}

/* Modificadores de tamaño para dinamismo */
.moment-large {
    grid-column: span 2;
    grid-row: span 2;
}

.moment-tall {
    grid-row: span 2;
}

.moment-wide {
    grid-column: span 2;
}

/* Contenedor individual de foto */
.moment-item {
    position: relative;
    overflow: hidden;
    background-color: var(--color-dark);
    margin: 0;
}

.moment-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
    opacity: 0.95;
}

.moment-item:hover .moment-img {
    transform: scale(1.05);
    opacity: 0.4;
}

/* Overlay / Pie de foto flotante en Hover */
.moment-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    color: var(--color-white);
    transform: translateY(15px);
    opacity: 0;
    transition: all var(--transition-smooth);
    pointer-events: none;
    z-index: 2;
}

.moment-item:hover .moment-caption {
    transform: translateY(0);
    opacity: 1;
}

.caption-tag {
    display: block;
    font-size: 0.7rem;
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-secondary);
    margin-bottom: 4px;
}

.caption-title {
    font-size: 1.1rem;
    font-weight: var(--font-bold);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Cierre de sección */
.moments-footer {
    text-align: center;
    padding-top: 20px;
}

.footer-quote {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-dark);
    letter-spacing: 0.5px;
}

/* ==========================================
   RESPONSIVE GALERÍA
   ========================================== */
@media (max-width: 900px) {
    .moments-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 240px;
    }
    
    .moment-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .moment-tall {
        grid-row: span 1;
    }

    .moment-wide {
        grid-column: span 2;
    }
}

@media (max-width: 580px) {
    .moments-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
    }
    
    .moment-large,
    .moment-wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    /* En móvil mostramos los textos visibles con fondo semitransparente para mejor legibilidad táctil */
    .moment-caption {
        opacity: 1;
        transform: translateY(0);
        background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.75) 100%);
    }
    
    .moment-img {
        opacity: 0.85;
    }
}

/* ==========================================
   SECCIÓN FAQ
   ========================================== */
.faq-section {
    padding: 100px 0;
    background-color: var(--color-bg-subtle);
}

.faq-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.faq-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-top: 10px;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item[open] {
    border-color: var(--color-secondary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.faq-summary {
    list-style: none;
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    gap: 20px;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-question {
    font-size: 1.05rem;
    font-weight: var(--font-medium);
    color: var(--color-dark);
    line-height: 1.4;
}

.faq-item[open] .faq-question {
    color: var(--color-primary);
}

/* Indicador animado (+) (-) */
.faq-icon {
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-primary);
    transition: transform var(--transition-fast);
}

/* Barra horizontal */
.faq-icon::before {
    top: 6px;
    left: 0;
    width: 14px;
    height: 2px;
}

/* Barra vertical */
.faq-icon::after {
    top: 0;
    left: 6px;
    width: 2px;
    height: 14px;
}

/* Al abrir, gira la barra vertical para formar un (-) */
.faq-item[open] .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0 28px 24px 28px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    border-top: 1px solid transparent;
}

.faq-item[open] .faq-answer {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    padding-top: 16px;
}

.faq-answer strong {
    color: var(--color-dark);
    font-weight: var(--font-medium);
}

/* ==========================================
   SECCIÓN CONTACTO
   ========================================== */
.contact-section {
    padding: 110px 0;
    background-color: var(--color-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
    align-items: flex-start;
}

.contact-lead {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 30px;
}

.detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.detail-value {
    font-size: 1.05rem;
    color: var(--color-dark);
    text-decoration: none;
    transition: var(--transition-fast);
}

a.detail-value:hover {
    color: var(--color-primary);
}

/* Formulario */
.contact-form-wrapper {
    background-color: var(--color-bg-subtle);
    padding: 45px 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.8rem;
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--color-dark);
    background-color: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 2px;
    outline: none;
    transition: var(--transition-fast);
}

.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(190, 58, 79, 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 110px;
}

.form-select {
    cursor: pointer;
}

.form-privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    margin-top: 5px;
}

.form-privacy input {
    margin-top: 3px;
    accent-color: var(--color-primary);
}

.btn-submit {
    margin-top: 10px;
    width: 100%;
    border: none;
}

/* ==========================================
   FOOTER
   ========================================== */
.main-footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding-top: 80px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-img {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1); /* Pasa el logo a blanco si es oscuro */
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-secondary);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    font-size: 0.85rem;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
}

/* Barra inferior del footer */
.footer-bottom {
    padding: 25px 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition-fast);
}

.legal-links a:hover {
    color: var(--color-white);
}

/* ==========================================
   RESPONSIVE CONTACTO & FOOTER
   ========================================== */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

/* ==========================================
   ESTILOS PARA PÁGINAS LEGALES
   ========================================== */
.legal-page-body {
    background-color: var(--color-bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.legal-header {
    background-color: var(--color-bg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 20px 0;
}

.legal-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-logo {
    height: 38px;
    width: auto;
}

.btn-back {
    font-size: 0.85rem;
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.btn-back:hover {
    color: var(--color-dark);
}

.legal-main {
    flex-grow: 1;
    padding: 80px 0 100px 0;
}

.legal-container {
    max-width: 820px;
}

.legal-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--color-dark);
    margin: 10px 0;
}

.legal-date {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 15px;
}

.legal-block {
    margin-bottom: 40px;
}

.legal-block h2 {
    font-size: 1.35rem;
    color: var(--color-dark);
    margin-bottom: 16px;
    border-left: 3px solid var(--color-primary);
    padding-left: 14px;
}

.legal-block p {
    font-size: 0.98rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-list {
    list-style: none;
    padding-left: 10px;
    margin-bottom: 20px;
}

.legal-list li {
    font-size: 0.95rem;
    color: var(--color-text-main);
    line-height: 1.7;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.legal-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-size: 1.2rem;
    line-height: 1;
}

.legal-list a {
    color: var(--color-primary);
    text-decoration: none;
}

.legal-list a:hover {
    text-decoration: underline;
}

.legal-footer {
    background-color: var(--color-dark);
    color: rgba(255, 255, 255, 0.5);
    padding: 30px 0;
    font-size: 0.75rem;
}