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

/* Optimizaciones de rendimiento */
* {
    will-change: auto;
}

.hero-section,
.project-card,
.tech-item,
.timeline-item {
    will-change: transform;
}

/* Optimización para animaciones */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Neue+Montreal:wght@300;400;500;600;700&display=swap');

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #999999;
    --border-color: #333333;
    --accent-color: #C9FF18;
    --button-bg: #ffffff;
    --button-text: #000000;
    --button-border: #333333;
    --hero-gradient: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    
    /* Fluid Typography Variables */
    --screenMin: 20;
    --screenMax: 75;
    --fluidToCalc: 20rem;
}

/* Fluid Typography System */
:is(h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, body, .p, .p-xl, .p-l, .p-s, .p-xs) {
    --from: calc(var(--max) * 1rem);
    --to: calc(var(--min) * 1rem);
    --fluid: calc(var(--to) + (var(--max) - var(--min)) * ((100vw - var(--fluidToCalc)) / ((var(--screenMax) / 10) - (var(--screenMin) / 10))));
    font-size: clamp(var(--to), var(--fluid), var(--from));
}

/* Specific Typography Sizes */
h1, .h1 {
    --min: 2.5;
    --max: 4.5;
}

h2, .h2 {
    --min: 2;
    --max: 3.5;
    font-weight: 300 !important;
}

h3, .h3 {
    --min: 1.5;
    --max: 2.5;
    font-weight: 300 !important;
}

h4, .h4 {
    --min: 1.25;
    --max: 2;
}

h5, .h5 {
    --min: 1.125;
    --max: 1.5;
}

h6, .h6 {
    --min: 1;
    --max: 1.25;
}

body, .p {
    --min: 0.875;
    --max: 1.125;
}

.p-xl {
    --min: 1.25;
    --max: 1.5;
}

.p-l {
    --min: 1;
    --max: 1.25;
}

.p-s {
    --min: 0.75;
    --max: 1;
}

.p-xs {
    --min: 0.625;
    --max: 0.875;
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #000000;
    --text-secondary: #333333;
    --text-muted: #666666;
    --border-color: #e0e0e0;
    --accent-color: #30b0ff;
    --button-bg: #000000;
    --button-text: #ffffff;
    --button-border: #000000;
    --hero-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===== Onboarding de tema ===== */
#theme-onboarding {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

#theme-onboarding.active {
    display: flex;
}

.onboarding-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(71, 62, 62, 0.65);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.onboarding-modal {
    position: relative;
    width: 100%;
    max-width: 1000px;
    background: #1f1f1f;
    border: 1px solid #5a5a5a;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 30px 80px rgba(0,0,0,0.12);
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
/* Botón de cierre del modal */
.onboarding-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.onboarding-close:hover {
    background: var(--bg-secondary);
    transform: scale(1.05);
}

.onboarding-modal h3 {
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-align: left;
    font-size: 2rem;
    color: #ffffff;
}

.onboarding-text {
    color: #9a9a9a;
    margin-bottom: 1.75rem;
    text-align: left;
    font-size: 1.125rem;
    line-height: 1.6;
}

.onboarding-hint {
    color: var(--text-secondary);
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.25rem 0 0.75rem 0;
    font-size: 0.95rem;
}

.onboarding-toggle-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    opacity: 0.9;
}

.onboarding-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.onboarding-button {
    display: grid;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: #ffffff;
    color: #0f0f0f;
    border: 1px solid #eaeaea;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 1.1rem;
}

.onboarding-button:hover {
    transform: translateY(-1px);
    border-color: #d4d4d4;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.onboarding-illustration {
    width: 172px;
    height: 172px;
    object-fit: contain;
}

.onboarding-link {
    background: transparent;
    border: none;
    color: #c9ff18;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    padding: 0;
    font-size: 0.95rem;
}

/* Estados visibles (aparecer) */
#theme-onboarding.active .onboarding-backdrop {
    opacity: 1;
}

#theme-onboarding.active .onboarding-modal {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Botón recomendado */
.onboarding-button.recommended {
    outline-offset: 2px;
}

.container {
    margin: 0 auto;
    padding: 0 150px;
}

/* Header Styles */
.header {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.9);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Botón hamburguesa (oculto en escritorio) */
.mobile-toggle {
    display: none;
}

/* Menú móvil */
@media (max-width: 768px) {
    .mobile-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        background: transparent;
        cursor: pointer;
        gap: 4px;
    }
    .mobile-toggle iconify-icon { color: var(--text-primary); height: 26px; }
    .mobile-toggle .bar {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--text-primary);
        transition: transform .2s ease, opacity .2s ease;
    }
    .mobile-toggle.open .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .mobile-toggle.open .bar:nth-child(2) { opacity: 0; }
    .mobile-toggle.open .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    .nav { position: relative; width: auto; margin-left: auto; }
    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        background: rgba(0,0,0,0.95);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        transform-origin: top center;
        transform: scaleY(0.96);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease, transform .2s ease;
        z-index: 1001;
    }
    [data-theme="light"] .nav-list { background: rgba(255,255,255,0.95); }
    .nav.open .nav-list { opacity: 1; transform: scaleY(1); pointer-events: auto; }
}

.logo-link {
    font-family: 'Neue Montreal', sans-serif;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link.active {
    color: var(--text-primary);
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 1rem;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    transform: scale(1.05);
}

.theme-icon {
    color: var(--text-primary);
    transition: color 0.3s ease;
    display: block;
    width: 20px;
    height: 20px;
}

.moon-icon {
    display: block;
}

.sun-icon {
    display: none !important;
}

[data-theme="light"] .moon-icon {
    display: none !important;
}

[data-theme="light"] .sun-icon {
    display: block !important;
}


/* Main Content */
.main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

.section {
    min-height: auto;
    padding: 4rem 0;
}

/* Hero Section */
.hero-section {
    background: var(--hero-gradient);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    padding: 12rem;
    height: 70vh;
    min-height: 450px;
    border-radius: 16px;
    overflow: hidden;
    transition: background 0.3s ease;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 60% 20%, rgba(201, 255, 24, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 10% 60%, rgba(255, 119, 198, 0.08) 0%, transparent 40%);
    pointer-events: none;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-10px) rotate(1deg);
    }
    66% {
        transform: translateY(5px) rotate(-1deg);
    }
}

/* Partículas eliminadas */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: left;
}

.hero-title-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 6rem;
    width: 100%;
    flex-direction: row;
    margin-bottom: auto;
    margin-top: 8rem;
}

.hero-greeting {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    opacity: 0.9;
    font-weight: 400;
    white-space: nowrap;
    margin: 0;
    transition: color 0.3s ease;
    --min: 0.875;
    --max: 1.125;
}

.hero-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    text-align: left;
    flex: 1;
    margin-bottom: 40px;
}

.hero-greeting {
    white-space: nowrap;
    margin-top: 0.5rem;
}

.hero-title {
    font-family: 'Neue Montreal', sans-serif;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0;
    transition: color 0.3s ease;
    --min: 2.5;
    --max: 4.5;
}

.hero-button {
    background: var(--button-bg);
    color: var(--button-text);
    border: 1px solid var(--button-border);
    padding: 1rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    width: 200px;
    max-width: 200px;
    min-width: 200px;
    text-align: center;
}

.hero-button:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hero-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 2rem;
}

.hero-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-primary);
    opacity: 0.7;
    transition: color 0.3s ease;
}

.scroll-indicator {
    color: var(--text-primary);
    opacity: 0.7;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: bounce 2s infinite;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translateY(2px) scale(1.1);
}

.scroll-indicator:hover::before {
    opacity: 0.3;
    animation: pulse 1s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
}

/* Other sections */
.section:not(.hero-section) {
    text-align: center;
}

/* ===== LEGAL PAGE ===== */
.legal-hero {
    text-align: left !important;
}

.legal-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.legal-hero-media img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.legal-quote-title {
    font-family: 'Neue Montreal', sans-serif;
    font-weight: 600;
    text-transform: lowercase;
}

.legal-quote-title .accent { color: var(--accent-color); }

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

.legal-content { text-align: left !important; }
.legal-content a { color: var(--accent-color); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { opacity: 0.9; }
.legal-block { 
    border: none;
    border-radius: 0;
    padding: 0 0 1.25rem 0;
    margin-bottom: 1.25rem;
    background: transparent;
}

/* Forzar alineación en elementos internos */
.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content p,
.legal-content ul,
.legal-content li { text-align: left !important; }

.legal-content ul { list-style: disc; margin-left: 1.25rem; list-style-position: outside; }

@media (max-width: 1024px) {
    .legal-hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .legal-hero-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .legal-quote-title { font-size: 1.6rem; }
}

.section h2 {
    font-family: 'Neue Montreal', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
    transition: color 0.3s ease;
}

.section p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

/* About Section */
.about-content {
    margin: 0 auto;
    text-align: center;
    position: relative;
}

[data-theme="light"] .about-content {
    background-image: url(https://santaventa.com/wp-content/uploads/2024/05/textura-2.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 4rem 2rem;
    border-radius: 16px;
}

.about-content h2 {
    text-align: center;
    margin-bottom: 3rem;
    --min: 2.5;
    --max: 4;
    gap: 40px;
}

.about-text {
    margin: 0 auto 3rem auto;
    gap: 40px;
    max-width: 800px;
}

.about-intro {
    font-family: 'Inter', sans-serif;
    font-size: 50px !important;
    font-weight: 400 !important;
    color: var(--text-primary) !important;
    margin: 0 auto 2rem auto !important;
    --min: 2.5;
    --max: 4;
}

.about-details {
    font-size: 1.7rem !important;
    line-height: 1.4;
    color: var(--text-secondary);
    margin: 0 auto 2rem auto !important;
    --min: 1.5;
    --max: 2.5;
    max-width: 760px !important;
}

.about-current {
    font-size: 2rem;
    line-height: 1.4;
    color: var(--text-secondary);
    margin: 0 auto;
    --min: 1.5;
    --max: 2.5;
    max-width: 600px !important;
}

.highlight {
    font-weight: 100;
    position: relative;
    font-style: italic;
}

.highlight-hover {
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    background-color: #e1ff4d;
    color: black !important;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.highlight-hover:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
    background-color: #d4f042;
}

.highlight-hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.highlight-hover:hover::after {
    width: 100%;
}

/* Projects Section */
.projects-header {
    text-align: center !important;
    margin-bottom: 3rem;
}

.projects-header h2 {
    font-family: 'Neue Montreal', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    --min: 2;
    --max: 3.5;
}

.projects-header p, .projects-header-p {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center !important;
    line-height: 1.6;
    --min: 1;
    --max: 1.5;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.project-card {
    position: relative;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-4px);
}

.project-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left;
    border-radius: 12px !important;
    transition: opacity 0.3s ease;
}

.project-card img.hover-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover img:not(.hover-image) {
    opacity: 0;
}

.project-card:hover img.hover-image {
    opacity: 1;
}

.project-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    min-height: 60px;
    padding: 0 1rem;
}

.project-info {
    text-align: left;
    flex: 1;
}

.project-cta {
    flex-shrink: 0;
    margin-left: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.project-card:hover .project-cta {
    opacity: 1;
    transform: translateY(0);
}

.cta-button {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--button-bg);
    color: var(--button-text);
    text-decoration: none;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.cta-button[data-url]:hover::before {
    content: attr(data-url);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--button-bg);
    color: var(--button-text);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    z-index: 10;
}

/* CTA Final Buttons */
.cta-button-final {
    position: relative;
    overflow: hidden;
}

.cta-button-final:hover {
    background: var(--text-primary) !important;
    color: var(--bg-primary) !important;
    transform: translateY(-1px);
}

/* Footer */
.footer {
    padding: 3rem 0;
    margin-top: 2rem;
    position: relative;
}

.footer-line {
    width: 100%;
    height: 1px;
    background: var(--border-color);
    margin-bottom: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.footer-left,
.footer-right {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-link {
    font-size: 0.875rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    margin-right: 1rem;
}

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

.footer-link:last-child {
    margin-right: 0;
}


.project-name {
    font-family: 'Neue Montreal', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    --min: 1.25;
    --max: 1.75;
}

.project-description {
    font-family: 'Inter', sans-serif;
    font-size: 1rem !important;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    --min: 0.875;
    --max: 1.125;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animaciones adicionales */
.animate-in {
    animation: slideInUp 0.8s ease-out forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Eliminado el cursor parpadeante */

/* Efectos de hover mejorados para el header */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Efectos simplificados para botones CTA finales */
.cta-button-final {
    position: relative;
}

/* Responsive Design */
@media (max-width: 1920px) {
    .hero-section {
        padding: 8rem;
        height: 80vh;
        min-height: 400px;
    }
    
    .hero-title-container {
        gap: 4rem;
        margin-top: 6rem;
    }
    
    .hero-title-wrapper {
        gap: 30px;
    }
}

/* MacBook Air M3 (1440x900) */
@media (max-width: 1440px) and (min-width: 1367px) {
    .hero-section {
        padding: 7rem;
        height: 65vh;
        min-height: 400px;
    }
    
    .hero-title-container {
        gap: 4rem;
        margin-top: 5rem;
        margin-bottom: 2rem;
    }
    
    .hero-title-wrapper {
        gap: 30px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
}

@media (max-width: 1366px) {
    .hero-section {
        padding: 6rem;
        height: 55vh;
        min-height: 350px;
    }
    
    .hero-title-container {
        gap: 3rem;
        margin-top: 4rem;
    }
    
    .hero-title-wrapper {
        gap: 25px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }
    .header {
        padding: 0.75rem 0;
    }
    .hero-section {
        padding: 5rem 3rem;
        height: 60vh;
        min-height: 360px;
    }
    .hero-title-container {
        gap: 2.5rem;
        margin-top: 3rem;
    }
    .hero-title {
        font-size: 2.75rem;
    }
    .projects-grid {
        gap: 2.25rem;
    }
    .project-image {
        height: 320px;
    }
    .experience-columns {
        gap: 3rem;
    }
    .final-cta {
        padding: 2.5rem 2rem;
    }
    .text-left-important-large {
        font-size: 2.25rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    body {
        overflow-x: hidden;
    }
    .hero-greeting {
        white-space: normal;
        text-align: center;
    }
    .header .container {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .nav {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-left: auto;
    }
    .logo { margin-right: auto; flex: 0 0 auto; }
    .logo-link { display: inline-block; text-align: left; }
    .mobile-toggle { margin-left: 8px; }
    
    .nav-list {
        position: absolute;
        top: 100%;
        right: 0;
        left: auto;
        min-width: 220px;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        background: rgba(0,0,0,0.95);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        transform-origin: top right;
        transform: scale(0.98);
        opacity: 0;
        pointer-events: none;
        transition: opacity .18s ease, transform .18s ease;
        z-index: 1001;
    }
    [data-theme="light"] .nav-list { background: rgba(255,255,255,0.95); }
    .nav.open .nav-list { opacity: 1; transform: scale(1); pointer-events: auto; }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .theme-toggle {
        margin-left: 0;
    }
    
    .hero-section {
        padding: 6rem 1.5rem;
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-title-container {
        gap: 2rem;
        margin-top: 2.5rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-title-wrapper {
        gap: 20px;
        align-items: flex-start;
        text-align: left;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .about-content {
        max-width: 100%;
        padding: 0 1rem;
        text-align: left;
    }
    .about-text { text-align: left; }
    /* Tipografías de la sección Sobre mí en móvil */
    .about-intro {
        font-size: 2rem !important;
        line-height: 1.25 !important;
        margin-bottom: 1.25rem !important;
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
    .about-details {
        font-size: 1.1rem !important;
        line-height: 1.5 !important;
        max-width: 650px !important;
        margin-bottom: 1.25rem !important;
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
    .about-current {
        font-size: 1.25rem !important;
        line-height: 1.5 !important;
        max-width: 560px !important;
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
    
    
    .section h2 {
        font-size: 2rem;
    }
    
    .section p {
        font-size: 1rem;
    }
    
    .projects-header h2 {
        font-size: 2rem;
        --min: 1.75;
        --max: 2.5;
    }
    
    .projects-header p {
        font-size: 1rem;
        --min: 0.875;
        --max: 1.25;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .project-image {
        height: 300px;
    }
    
    .project-card img {
        height: 100%;
        border-radius: 12px;
    }
    
    .project-name {
        font-size: 1.25rem;
        --min: 1.125;
        --max: 1.5;
    }
    
    .project-description {
        font-size: 0.9rem;
        --min: 0.8;
        --max: 1;
    }
    
    .project-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .project-cta {
        margin-left: 0;
        align-self: flex-end;
    }
    
    .cta-button {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    .footer { padding: 2rem 0; }
    .footer-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem 2rem;
        align-items: start;
        text-align: left;
    }
    .footer-left,
    .footer-right { align-items: flex-start; }
    .footer-item { align-items: flex-start; gap: 0.35rem; }
    .footer-label { font-size: 0.8rem; }
    .footer-link { margin-right: 0.75rem; }
}

/* Optimización extra para móviles muy pequeños */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-button {
        width: 100%;
        max-width: none;
        min-width: 0;
    }
    .project-card img {
        object-position: center;
    }
    .text-left-important-large {
        font-size: 1.65rem;
    }
    .technologies-track {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
        justify-content: initial;
        align-items: start;
    }
    .tech-item {
        padding: 0;
    }
    .tech-logo {
        width: 56px;
        height: 56px;
        margin-bottom: 0.4rem;
    }
    .tech-name {
        font-size: 0.75rem;
    }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
    .footer-link { margin-right: 0.5rem; }
    /* Ajuste extra en móviles pequeños para Sobre mí */
    .about-intro { font-size: 1.8rem !important; }
    .about-details { font-size: 1rem !important; }
    .about-current { font-size: 1.1rem !important; }
    .section:not(.hero-section) { text-align: left; }
}

/* iPhone medianos y pequeños */
@media (max-width: 375px) {
    .hero-title {
        font-size: 2rem;
    }
    .project-image {
        height: 240px;
    }
    .cta-buttons {
        gap: 1rem;
    }
    .text-left-important-large {
        font-size: 1.5rem;
    }
}

/* 320px */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-section {
        padding: 3rem 1.25rem;
        min-height: 280px;
    }
    .project-image {
        height: 200px;
    }
    .text-left-important-large {
        font-size: 1.4rem;
    }
}

/* ===== EXPERIENCIA SECTION ===== */
.experience-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.experience-header {
    text-align: left !important;
    margin-bottom: 4rem;
}

.experience-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white !important;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: left !important;
}


.experience-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left !important;
    gap: 4rem;
}

.timeline-section {
    padding-left: 2rem;
}

.experience-timeline {
    width: 100%;
    max-width: 100%;
    margin: 0;
    position: relative;
    text-align: left !important;
}


.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 0;
    text-align: left !important;
    display: block !important;
    width: 100% !important;
}

.timeline-date {
    font-size: 0.7rem !important;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left !important;
}

.timeline-content {
    background: transparent;
    padding: 0;
    border: none;
    transition: none;
    position: relative;
    text-align: left !important;
    display: block !important;
    width: 100% !important;
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.timeline-logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 20px;
}

.timeline-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(0.3);
    transition: all 0.3s ease;
    border-radius: 12px;
}

.timeline-header:hover .timeline-logo img {
    filter: grayscale(0);
}

.timeline-title {
    flex: 1;
}

.timeline-title h3 {
    margin-bottom: 0.2rem;
}

.timeline-title h4 {
    margin-bottom: 0;
}

.timeline-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    text-align: left !important;
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
    text-align: left !important;
}

.timeline-location {
    font-size: 0.85rem !important;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-style: normal;
    text-align: left !important;
    display: block !important;
    width: 100% !important;
}

.timeline-summary {
    margin-bottom: 0.8rem;
}

.timeline-summary p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
    text-align: left !important;
}

.timeline-summary .highlight {
    color: var(--primary-color);
    font-weight: 500;
}

.timeline-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-bottom: 0.8rem;
}

.timeline-details.expanded {
    max-height: 400px;
}

.timeline-details p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0 0 0.8rem 0;
    text-align: left !important;
}

.timeline-details ul {
    margin: 0.5rem 0 0 1.2rem;
    padding: 0;
}

.timeline-details li {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    text-align: left !important;
}

.timeline-toggle {
    background: transparent;
    color: var(--primary-color);
    border: none;
    padding: 0;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-align: left !important;
    display: block !important;
    width: 100% !important;
    text-align: left !important;
}

.timeline-toggle:hover {
    color: var(--accent-color);
    text-decoration-color: var(--accent-color);
}

.timeline-toggle.expanded {
    color: var(--accent-color);
    text-decoration-color: var(--accent-color);
}

.experience-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.experience-text > p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.experience-highlights {
    display: grid;
    gap: 2rem;
}

.highlight-item {
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.highlight-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.highlight-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.technologies-section {
    background: var(--card-bg);
    border-radius: 16px;
}

.technologies-section h3 {
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: left !important;
    color: var(--text-primary);
}

.technologies-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 2rem;
    display: flex;
    justify-content: flex-start;
}

.technologies-track {
    display: flex;
    gap: 2rem;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
}

/* ===== Preferencias/Cajetines debajo de tecnologías ===== */
.preferences-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.preference-card {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    transition: all 0.25s ease;
}

.preference-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-color);
}

.preference-card iconify-icon {
    color: var(--text-primary);
    opacity: 0.9;
}

.preference-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.tech-item:hover {
    transform: translateY(-4px);
}

.tech-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 8px;
}

.tech-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(0.2);
    transition: all 0.3s ease;
}

.tech-item:hover .tech-logo img {
    filter: grayscale(0);
    transform: scale(1.1);
}

.tech-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.3;
}


/* Estilos para el logo de Framer con cambio de tema */
.framer-logo {
    transition: all 0.3s ease;
}

/* En tema oscuro, cambiar a la versión dark de Framer */
[data-theme="dark"] .framer-logo {
    content: url('assets/framer_dark_theme.png');
}

/* ===== ESTILOS PARA REEMPLAZAR CSS INLINE ===== */

/* Estilos para títulos con alineación izquierda */
.text-left-important {
    text-align: left !important;
}

.text-left-important-margin {
    text-align: left !important;
    margin-bottom: 2rem;
}

.text-left-important-large {
    text-align: left !important;
    font-size: 3rem;
    margin-bottom: 4rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

/* Estilos para gradientes de texto */
.wordpress-gradient {
    background: linear-gradient(135deg, #21759b, #4f94cd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shopify-gradient {
    background: linear-gradient(135deg, #96bf48, #7ab55c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Estilos para secciones de información */
.info-sections {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 3rem;
}

.info-left {
    text-align: left;
}

.info-right {
    text-align: right;
}

.info-label {
    font-size: 0.6rem !important;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 0.9rem !important;
    color: var(--text-primary);
}

/* Estilos para separador */
.history-separator {
    border: 1px solid #333;
    margin: 4rem 0;
}

/* Estilos para columnas de historia */
.history-columns {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 4rem;
}

.history-photo {
    flex: 0 0 50%;
    text-align: left;
}

.history-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.history-story {
    flex: 0 0 50%;
    font-size: 16px !important;
    line-height: 1.7;
    color: var(--text-primary);
    text-align: left;
}

/* Estilos para CTA final */
.final-cta {
    background: var(--hero-gradient);
    padding: 3rem 3rem;
    border-radius: 16px;
    text-align: center;
    margin: 4rem 0;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.final-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%), radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.final-cta-content {
    position: relative;
    z-index: 2;
}

.final-cta h2 {
    color: var(--text-primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
    font-family: 'Neue Montreal', sans-serif;
}

.final-cta p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button-final {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--button-bg);
    color: var(--button-text);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--button-border);
    font-family: 'Inter', sans-serif;
    min-width: 230px;
    max-width: 260px;
    text-align: center;
}

.cta-button-final:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-1px);
}

/* Breakpoints para pantallas grandes - máximo 2 columnas */
@media (min-width: 1200px) and (max-width: 1919px) {
    .projects-grid {
        max-width: 1200px;
        gap: 4.5rem;
    }
    
    .project-image {
        height: 420px;
    }
    
    .project-card img {
        height: 100%;
    }
    
    .project-content {
        min-height: 65px;
    }
    
    .cta-button {
        font-size: 0.75rem;
        padding: 0.55rem 1.6rem;
    }
}

@media (min-width: 1920px) {
    .projects-grid {
        max-width: 1600px;
        gap: 5rem;
    }
    
    .project-image {
        height: 450px;
    }
    
    .project-card img {
        height: 100%;
    }
    
    .project-content {
        min-height: 70px;
    }
    
    .cta-button {
        font-size: 0.8rem;
        padding: 0.6rem 1.8rem;
    }
}

@media (min-width: 2560px) {
    .projects-grid {
        max-width: 2000px;
        gap: 6rem;
    }
    
    .project-image {
        height: 500px;
    }
    
    .project-card img {
        height: 100%;
    }
    
    .project-content {
        min-height: 80px;
    }
    
    .cta-button {
        font-size: 0.85rem;
        padding: 0.7rem 2rem;
    }
}

@media (min-width: 3440px) {
    .projects-grid {
        max-width: 2400px;
        gap: 7rem;
    }
    
    .project-image {
        height: 550px;
    }
    
    .project-card img {
        height: 100%;
    }
    
    .project-content {
        min-height: 90px;
    }
    
    .cta-button {
        font-size: 0.9rem;
        padding: 0.8rem 2.2rem;
    }
}

/* Responsive para la sección de experiencia */
@media (max-width: 768px) {
    .experience-columns {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .timeline-section {
        padding-left: 0;
    }
    
    .experience-content {
        padding: 0 1rem;
        gap: 3rem;
    }
    
    .experience-header h2 {
        font-size: 2rem;
    }
    
    .experience-header p {
        font-size: 1rem;
    }
    
    .timeline-item {
        margin-bottom: 2rem;
    }
    
    .timeline-content h3 {
        font-size: 1rem;
    }
    
    .timeline-content h4 {
        font-size: 0.95rem;
    }
    
    .timeline-summary p {
        font-size: 0.85rem;
    }
    
    .timeline-details p {
        font-size: 0.85rem;
    }
    
    .timeline-details li {
        font-size: 0.85rem;
    }
    
    .timeline-toggle {
        font-size: 0.8rem;
    }
    
    .timeline-header {
        gap: 0.8rem;
        margin-bottom: 0.6rem;
    }
    
    .timeline-logo {
        width: 40px;
        height: 40px;
        padding: 6px;
    }
    
    .timeline-title h3 {
        font-size: 1rem;
    }
    
    .timeline-title h4 {
        font-size: 0.95rem;
    }
    
    .technologies-section {
        padding: 2rem 1.5rem;
    }
    
    .technologies-section h3 {
        font-size: 1.5rem;
    }
    
    .technologies-carousel {
        margin-top: 1.5rem;
    }
    
    .technologies-track {
        gap: 1.5rem;
    }
    
    .tech-item {
        padding: 1rem 1rem;
        min-width: 120px;
    }
    
    .tech-logo {
        width: 40px;
        height: 40px;
    }
    
    .tech-name {
        font-size: 0.8rem;
    }
    
    /* Responsive para los nuevos estilos */
    .info-sections {
        flex-direction: column;
        gap: 1rem;
        text-align: left;
    }
    
    .info-left,
    .info-right {
        text-align: left;
    }
    
    .history-columns {
        flex-direction: column;
        gap: 2rem;
    }
    
    .history-photo,
    .history-story {
        flex: 1;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button-final {
        min-width: 200px;
        max-width: 200px;
    }
    .text-left-important-large {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        line-height: 1.2;
    }

    .preferences-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .preference-text {
        font-size: 0.9rem;
    }

    .onboarding-modal {
        max-width: 92%;
        padding: 1rem;
        border-radius: 14px;
    }
    .onboarding-illustration {
        width: 96px;
        height: 96px;
    }
    .onboarding-modal h3 {
        font-size: 1.25rem;
    }
    .onboarding-text {
        font-size: 0.95rem;
    }
    .onboarding-actions {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .onboarding-button {
        padding: 0.75rem 0.9rem;
        font-size: 0.95rem;
    }
    .onboarding-button iconify-icon {
        width: 44px !important;
        height: 44px !important;
    }
}
