/* ==========================================================================
   SANYŪGEN AI AGENCY - DESIGN SYSTEM & STYLES
   ========================================================================== */

/* 1. Reset & Variables */
:root {
    --bg-color: #050505;
    --text-primary: #f5f5f5;
    --text-secondary: #8c8c8c;
    --text-muted: #5a5a5a;
    --accent-color: #d4c5b9; /* Warm sand/bronze */
    --accent-dim: rgba(212, 197, 185, 0.1);
    --border-color: #1a1a1a;
    --border-hover: #333333;
    
    --font-sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
    
    --container-max-width: 1200px;
    --header-height: calc(72px + env(safe-area-inset-top, 0px));
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    background-color: var(--bg-color);
}

body.menu-open {
    overflow: hidden;
}

/* Scroll Offset so sections are never hidden behind fixed header */
section[id] {
    scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

/* 2. Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: #1c1c1c;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #333;
}

/* 3. Base Typography & Elements */
h1, h2, h3, h4 {
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-quick);
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 4. Layout Containers */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .grid-layout {
        grid-template-columns: 1fr 2fr;
        gap: 5rem;
    }
}

/* 5. Interactive Canvas Backplate */
#hero-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}

/* 6. Header & Navbar (Universal: Header con Logo, CTA y Hamburguesa en TODOS los anchos) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    padding-top: env(safe-area-inset-top, 0px);
    background-color: rgba(5, 5, 5, 0.85);
    border-bottom: 1px solid rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 100;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.navbar-container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .navbar-container {
        padding: 0 2rem;
    }
}

.logo {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 0.2em;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.logo-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: var(--accent-color);
    margin-left: 6px;
    border-radius: 50%;
}

.logo-image {
    height: 22px;
    width: auto;
    display: none;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .navbar-actions {
        gap: 1.5rem;
    }
}

.status-capsule {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: var(--accent-color);
    background-color: var(--accent-dim);
    border: 1px solid rgba(212, 197, 185, 0.25);
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

@media (max-width: 680px) {
    .navbar .status-capsule {
        display: none;
    }
}

.pulse-indicator {
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(212, 197, 185, 0.7);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(212, 197, 185, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 5px rgba(212, 197, 185, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(212, 197, 185, 0);
    }
}

.btn-nav-action {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--bg-color);
    background-color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 2px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: var(--transition-quick);
}

.btn-nav-action:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

@media (max-width: 480px) {
    .btn-nav-action {
        padding: 0.45rem 0.75rem;
        font-size: 0.78rem;
    }
}

/* Hamburger button */
.nav-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    color: var(--text-primary);
    transition: var(--transition-quick);
    flex-shrink: 0;
}

.nav-toggle:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.hamburger-box {
    width: 20px;
    height: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::after {
    content: '';
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: currentColor;
    transition: var(--transition-quick);
}

.hamburger-inner::after {
    margin-top: 9px;
}

/* ==========================================================================
   7. Fullscreen Overlay Navigation Panel
   ========================================================================== */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 200;
    display: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.nav-overlay.is-open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.nav-overlay-content {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    min-height: 100vh;
    padding: calc(env(safe-area-inset-top, 0px) + 1.5rem) 1.5rem 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .nav-overlay-content {
        padding: calc(env(safe-area-inset-top, 0px) + 2rem) 2rem 3rem 2rem;
    }
}

.nav-overlay-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.nav-overlay-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    color: var(--accent-color);
}

.nav-close {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.6rem;
    width: 44px;
    height: 44px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-quick);
    line-height: 1;
}

.nav-close:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.nav-overlay-menu {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .nav-overlay-menu {
        gap: 1.25rem;
        padding: 3rem 0;
    }
}

.overlay-link {
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    text-decoration: none;
    color: var(--text-secondary);
    transition: var(--transition-quick);
    width: fit-content;
}

.overlay-num {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    opacity: 0.7;
}

.overlay-text {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3.8vw, 2.75rem);
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.15;
    transition: var(--transition-quick);
}

.overlay-link:hover .overlay-text,
.overlay-link.active .overlay-text {
    color: var(--accent-color);
    transform: translateX(6px);
}

.overlay-link:hover .overlay-num,
.overlay-link.active .overlay-num {
    opacity: 1;
}

.nav-overlay-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

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

.overlay-motto {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.overlay-channels {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.overlay-channel {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.overlay-channel:hover {
    color: var(--accent-color);
}

.overlay-dot {
    color: var(--text-muted);
}

/* ==========================================================================
   8. Hero Section
   ========================================================================== */
.section-hero {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: calc(var(--header-height) + 2rem) 0 4rem 0;
}

.hero-container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

@media (min-width: 768px) {
    .hero-container {
        padding: 0 2rem;
        gap: 2.25rem;
    }
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.hero-mono-label {
    font-family: var(--font-mono);
    color: var(--accent-color);
    letter-spacing: 0.15em;
    font-weight: 500;
}

.meta-separator {
    color: var(--text-muted);
}

.hero-italic-label {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--text-secondary);
}

.hero-title {
    font-family: var(--font-sans);
    font-size: clamp(2.1rem, 4.5vw, 3.8rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    max-width: 950px;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 720px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 0.5rem;
}

/* Botones estándar */
.btn {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.85rem 1.6rem;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-quick);
    text-align: center;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-color);
    border: 1px solid var(--text-primary);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--bg-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* ==========================================================================
   9. Secciones de Contenido Comunes
   ========================================================================== */
.section-content {
    position: relative;
    z-index: 1;
    padding: 5rem 0;
    border-top: 1px solid rgba(26, 26, 26, 0.4);
}

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

.col-left {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.section-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-sans);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--text-primary);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.paragraph-lead {
    font-size: 1.15rem;
    color: var(--text-primary);
    line-height: 1.6;
}

/* ==========================================================================
   10. Tarjetas en Cuadrícula de 3 (Problema & Soluciones)
   ========================================================================== */
.cards-grid-three {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .cards-grid-three {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

.card-item {
    background-color: rgba(10, 10, 10, 0.65);
    border: 1px solid var(--border-color);
    padding: 2rem 1.75rem;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: var(--transition-smooth);
}

.card-item:hover {
    border-color: var(--accent-color);
    background-color: rgba(14, 14, 14, 0.85);
    transform: translateY(-2px);
}

.card-item.card-highlight {
    border-top: 2px solid var(--accent-color);
}

.card-tag {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    text-transform: uppercase;
}

.card-title {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.25;
}

.card-text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ==========================================================================
   11. Pasos de Metodología (4 pasos)
   ========================================================================== */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 600px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

.step-item {
    background-color: rgba(10, 10, 10, 0.55);
    border: 1px solid var(--border-color);
    padding: 2rem 1.75rem;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: var(--transition-smooth);
}

.step-item:hover {
    border-color: var(--border-hover);
}

.step-num {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-color);
    letter-spacing: 0.05em;
}

.step-title {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
}

.step-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   12. Misión y Visión (2 columnas)
   ========================================================================== */
.mision-vision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

.statement-card {
    background-color: rgba(10, 10, 10, 0.7);
    border: 1px solid var(--border-color);
    padding: 2.25rem 2rem;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.statement-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: var(--accent-color);
}

.statement-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-primary);
}

/* ==========================================================================
   13. AgencyGEN (Próximamente - Bloque discreto)
   ========================================================================== */
.section-agencygen {
    background-color: rgba(8, 8, 8, 0.4);
}

.status-badge-mono {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    color: var(--accent-color);
    background-color: var(--accent-dim);
    border: 1px solid rgba(212, 197, 185, 0.25);
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
    width: fit-content;
}

.agencygen-block {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
}

/* ==========================================================================
   14. Postula tu Negocio (Convocatoria Ibagué)
   ========================================================================== */
.section-postular {
    background-color: rgba(8, 8, 8, 0.75);
    border-bottom: 1px solid var(--border-color);
}

.postular-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.point-item {
    border-left: 2px solid var(--accent-color);
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.point-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--accent-color);
}

.point-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Form Card */
.form-card {
    background-color: rgba(12, 12, 12, 0.9);
    border: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    border-radius: 2px;
}

@media (min-width: 768px) {
    .form-card {
        padding: 3rem 2.5rem;
    }
}

.form-header {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--accent-color);
}

.form-title {
    font-size: 1.6rem;
    color: var(--text-primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background-color: rgba(5, 5, 5, 0.9);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.85rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    border-radius: 2px;
    transition: var(--transition-quick);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: #080808;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238c8c8c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    cursor: pointer;
}

.form-select option {
    background-color: #0c0c0c;
    color: var(--text-primary);
}

.form-textarea {
    resize: vertical;
    min-height: 85px;
}

.form-consent-group {
    margin-top: 0.25rem;
    margin-bottom: 0.35rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.form-checkbox {
    margin-top: 0.2rem;
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--accent-color);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checkbox-text .btn-text-link {
    display: inline;
    font-size: inherit;
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.btn-submit {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 0.5rem;
}

.form-footer {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.fallback-link {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

.privacy-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.btn-text-link {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    padding: 0;
}

.btn-text-link:hover {
    color: var(--accent-color);
}

/* ==========================================================================
   15. Contacto Directo
   ========================================================================== */
.founder-direct-card {
    background-color: rgba(10, 10, 10, 0.75);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.founder-identity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.founder-name {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-primary);
}

.founder-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    background-color: var(--accent-dim);
    border: 1px solid rgba(212, 197, 185, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 2px;
}

.founder-invite {
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.founder-channels {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

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

.contact-channel-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    transition: var(--transition-quick);
}

.contact-channel-item:hover {
    border-color: var(--accent-color);
    background-color: rgba(212, 197, 185, 0.05);
}

.channel-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--accent-color);
}

.channel-val {
    font-size: 0.85rem;
    color: var(--text-primary);
    word-break: break-all;
}

/* ==========================================================================
   16. Footer
   ========================================================================== */
.footer {
    position: relative;
    z-index: 1;
    background-color: #030303;
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem 0;
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-container {
        padding: 0 2rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 320px;
}

.footer-logo {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    color: var(--text-primary);
}

.footer-tagline {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 480px) {
    .footer-info {
        flex-direction: row;
        gap: 3.5rem;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.footer-link, .footer-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.footer-link:hover {
    color: var(--text-primary);
}

.footer-bottom {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    border-top: 1px solid rgba(26, 26, 26, 0.4);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        padding: 0 2rem;
        padding-top: 2rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-thesis {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--text-muted);
    font-size: 1rem;
}

.footer-copyright {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   17. Modal de Política de Tratamiento de Datos (Ley 1581)
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.is-open {
    display: flex;
    opacity: 1;
}

.modal-container {
    background-color: #080808;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    transform: translateY(15px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.is-open .modal-container {
    transform: translateY(0);
}

.modal-header {
    padding: 1.75rem 1.75rem 1.25rem 1.75rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    color: var(--accent-color);
}

.modal-title {
    font-size: 1.4rem;
    color: var(--text-primary);
    padding-right: 2rem;
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 1.5rem;
    line-height: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-quick);
}

.modal-close:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.modal-body {
    padding: 1.75rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.modal-intro {
    font-size: 0.92rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.policy-block {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.policy-subtitle {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent-color);
}

.policy-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.policy-link {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.modal-footer {
    padding: 1.25rem 1.75rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

/* ==========================================================================
   18. Scroll Reveal & Animations
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transform: translateY(12px);
    animation: heroFadeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-meta.fade-in { animation-delay: 0.15s; }
.hero-title.fade-in { animation-delay: 0.3s; }
.hero-subtitle.fade-in { animation-delay: 0.45s; }
.hero-actions.fade-in { animation-delay: 0.6s; }

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   19. Accessibility: prefers-reduced-motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .fade-in {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
