:root {
    /* Color palette - corporate navy with warm accent */
    --color-primary: #0f172a;
    --color-secondary: #1e3a5f;
    --color-accent: #0369a1;
    --color-text: #1e293b;
    --color-text-light: #64748b;
    --color-text-muted: #94a3b8;
    --color-background: #ffffff;
    --color-background-alt: #f8fafc;
    --color-border: #e2e8f0;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing scale (8px base unit) */
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-6: 3rem;
    --space-8: 4rem;
    --space-12: 6rem;
    --space-16: 8rem;
    
    /* Type scale (1.25 ratio) */
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3rem;
    
    --max-width: 1200px;
    --transition: 0.2s ease;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    font-size: var(--text-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-2);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    padding: var(--space-2) 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.logo-text {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    transition: transform 0.3s ease;
}

.logo-text:hover {
    transform: scale(1.02);
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
    transition: width 0.3s ease;
}

.logo-text:hover::after {
    width: 100%;
}

.lang-switch {
    background: transparent;
    border: 1.5px solid var(--color-border);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--color-text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 44px;
    min-width: 56px;
    position: relative;
    overflow: hidden;
}

.lang-switch::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--color-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.lang-switch:hover::before {
    width: 150%;
    height: 150%;
}

.lang-switch:hover {
    border-color: var(--color-primary);
    color: white;
}

.lang-switch:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

.lang-switch .lang-en {
    display: none;
}

body.lang-en .lang-switch .lang-es {
    display: none;
}

body.lang-en .lang-switch .lang-en {
    display: inline;
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--color-primary);
    color: white;
    padding: var(--space-16) 0;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    animation: slowZoom 30s ease-in-out infinite alternate;
    filter: saturate(1.1);
    mix-blend-mode: luminosity;
}

@keyframes slowZoom {
    0% {
        transform: scale(1) translateY(0);
    }
    100% {
        transform: scale(1.08) translateY(-2%);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.7) 0%,
        rgba(15, 23, 42, 0.5) 40%,
        rgba(15, 23, 42, 0.75) 100%
    ),
    linear-gradient(
        90deg,
        rgba(15, 23, 42, 0.6) 0%,
        rgba(15, 23, 42, 0.3) 50%,
        rgba(15, 23, 42, 0.6) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Gradient fade from hero to about */
.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 40%,
        rgba(255, 255, 255, 0.8) 70%,
        var(--color-background) 100%
    );
    pointer-events: none;
    z-index: 2;
}

/* Animated floating shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 15s ease-in-out infinite;
}

.hero-shape:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -150px;
    left: -100px;
    animation-delay: 0s;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
}

.hero-shape:nth-child(2) {
    width: 300px;
    height: 300px;
    top: 40%;
    right: -100px;
    animation-delay: -5s;
    animation-duration: 18s;
    background: radial-gradient(circle, rgba(3, 105, 161, 0.15) 0%, transparent 70%);
}

.hero-shape:nth-child(3) {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 25%;
    animation-delay: -10s;
    animation-duration: 12s;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
}

.hero-shape:nth-child(4) {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 15%;
    animation-delay: -3s;
    animation-duration: 20s;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.2) 0%, transparent 70%);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-30px) rotate(8deg) scale(1.05);
    }
    50% {
        transform: translateY(-15px) rotate(-5deg) scale(0.98);
    }
    75% {
        transform: translateY(20px) rotate(3deg) scale(1.02);
    }
}

/* Animated lines */
.hero-shapes::before,
.hero-shapes::after {
    content: '';
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    height: 1px;
    width: 100%;
    animation: lineSlide 8s ease-in-out infinite;
}

.hero-shapes::before {
    top: 30%;
    animation-delay: -2s;
}

.hero-shapes::after {
    bottom: 35%;
    animation-delay: -6s;
}

@keyframes lineSlide {
    0%, 100% {
        transform: translateX(-100%) scaleX(0.5);
        opacity: 0;
    }
    50% {
        transform: translateX(100%) scaleX(1);
        opacity: 1;
    }
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    font-weight: 700;
    margin-bottom: var(--space-4);
    line-height: 1.1;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out forwards, titlePulse 4s ease-in-out 1.5s infinite;
    opacity: 0;
}

.hero-subtitle {
    font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
    font-weight: 400;
    max-width: 640px;
    margin: 0 auto;
    opacity: 0;
    line-height: 1.5;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

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

@keyframes titlePulse {
    0%, 100% {
        text-shadow: 0 0 0 transparent;
    }
    50% {
        text-shadow: 0 0 40px rgba(255,255,255,0.3), 0 0 80px rgba(3, 105, 161, 0.2);
    }
}

/* About Section */
.about {
    padding: var(--space-16) 0 var(--space-12);
    background: var(--color-background);
    position: relative;
}

.about h2 {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
    text-align: center;
    letter-spacing: -0.01em;
}

.about p {
    font-size: var(--text-lg);
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    color: var(--color-text-light);
    line-height: 1.75;
}

/* Brands Section */
.brands {
    padding: var(--space-12) 0;
    background: var(--color-background-alt);
    position: relative;
}

/* Smooth diagonal transition */
.brands::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    height: 160px;
    background: var(--color-background-alt);
    transform: skewY(-3deg);
    z-index: -1;
}

/* Animated gradient line */
.brands::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--color-accent) 25%,
        var(--color-primary) 50%,
        var(--color-accent) 75%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: gradientFlow 8s linear infinite;
    opacity: 0.5;
}

@keyframes gradientFlow {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.brands h2 {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-8);
    text-align: center;
    letter-spacing: -0.01em;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    max-width: 900px;
    margin: 0 auto;
}

/* Brand Cards Animation */
.brand-card {
    background: var(--color-background);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--color-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    animation: cardReveal 0.6s ease-out forwards;
    position: relative;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.brand-card:hover::before {
    transform: scaleX(1);
}

.brand-card:nth-child(1) {
    animation-delay: 0.3s;
}

.brand-card:nth-child(2) {
    animation-delay: 0.5s;
}

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

.brand-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

.brand-card:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.2);
}

.brand-logo {
    background: white;
    padding: var(--space-8) var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    border-bottom: 1px solid var(--color-border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.brand-logo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(3, 105, 161, 0.05) 0%, transparent 50%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
}

.brand-card:hover .brand-logo::after {
    transform: translate(-50%, -50%) scale(1);
}

.brand-card:hover .brand-logo {
    background: var(--color-background-alt);
}

.brand-logo img {
    max-width: 180px;
    max-height: 60px;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.brand-card:hover .brand-logo img {
    transform: scale(1.08) translateY(-2px);
}

.brand-info {
    padding: var(--space-4);
}

.brand-info h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-1);
}

.brand-info p {
    color: var(--color-text-light);
    font-size: var(--text-sm);
    margin-bottom: var(--space-2);
    line-height: 1.6;
}

.brand-link {
    color: var(--color-accent);
    font-weight: 500;
    font-size: var(--text-sm);
}

.brand-card:hover .brand-link {
    text-decoration: underline;
}

/* Values Section */
.values {
    padding: var(--space-12) 0;
    background: var(--color-background);
    position: relative;
    overflow: hidden;
}

/* Reverse diagonal transition */
.values::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    height: 160px;
    background: var(--color-background);
    transform: skewY(3deg);
    z-index: -1;
}

.values::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 0;
    right: 0;
    height: 160px;
    background: var(--color-background);
    transform: skewY(-3deg);
    z-index: -1;
}

.values h2 {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-8);
    text-align: center;
    letter-spacing: -0.01em;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    max-width: 960px;
    margin: 0 auto;
}

.value-item {
    text-align: center;
    padding: var(--space-4);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    animation: valueReveal 0.5s ease-out forwards;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px) scale(1.02);
}

.value-item:nth-child(1) { animation-delay: 0.4s; }
.value-item:nth-child(2) { animation-delay: 0.6s; }
.value-item:nth-child(3) { animation-delay: 0.8s; }

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

.value-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    margin: 0 auto var(--space-3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.value-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(0.8);
}

.value-item:hover .value-icon {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

.value-item:hover .value-icon::before {
    opacity: 0.3;
    transform: scale(1.2);
}

.value-item h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-1);
}

.value-item p {
    color: var(--color-text-light);
    font-size: var(--text-sm);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: var(--space-12) 0;
    background: var(--color-background-alt);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    height: 160px;
    background: var(--color-background-alt);
    transform: skewY(3deg);
    z-index: -1;
}

.contact h2 {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-8);
    text-align: center;
    letter-spacing: -0.01em;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-8);
    margin-bottom: var(--space-4);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    cursor: default;
}

.contact-item:hover {
    background: var(--color-background);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.contact-icon {
    font-size: var(--text-xl);
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.2) rotate(-5deg);
}

.contact-item p {
    font-size: var(--text-base);
    color: var(--color-text);
}

.contact-note {
    text-align: center;
    color: var(--color-text-light);
    font-size: var(--text-sm);
    max-width: 560px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: var(--color-primary);
    color: white;
    padding: var(--space-8) 0;
    position: relative;
}

/* Gradient fade into footer */
.footer::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(
        to bottom,
        var(--color-background-alt) 0%,
        transparent 100%
    );
    pointer-events: none;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
}

.footer-brand .logo-text {
    color: white;
    display: block;
    margin-bottom: var(--space-1);
    font-size: var(--text-xs);
    letter-spacing: 0.15em;
}

.footer-brand p {
    font-size: var(--text-sm);
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: var(--space-4);
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: var(--text-sm);
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-links a:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
        padding: var(--space-12) 0;
    }

    .brands-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-grid {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 55vh;
    }
    
    .about {
        padding: var(--space-8) 0;
    }
    
    .brands {
        padding: var(--space-8) 0;
    }
    
    .values {
        padding: var(--space-8) 0;
    }
    
    .contact {
        padding: var(--space-8) 0;
    }
}

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

.brand-card, .value-item {
    animation: fadeInUp 0.6s ease forwards;
}

.brand-card:nth-child(2) {
    animation-delay: 0.1s;
}

.value-item:nth-child(2) {
    animation-delay: 0.1s;
}

.value-item:nth-child(3) {
    animation-delay: 0.2s;
}

/* Scroll reveal animations */
.reveal-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children animation */
.stagger-child {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
}

.stagger-child.animate-in {
    animation: staggerReveal 0.6s ease forwards;
}

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

/* Hero section always visible */
.hero.reveal-section {
    opacity: 1;
    transform: none;
}

/* Parallax ready states */
.hero-bg img {
    will-change: transform;
}

.hero-shape {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Contact items initial state for scroll reveal */
.contact-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.contact-item.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--space-2);
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--color-background);
    border-radius: var(--radius-lg);
    max-width: 680px;
    max-height: 85vh;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: var(--space-2);
    right: var(--space-2);
    background: transparent;
    border: none;
    font-size: 1.75rem;
    color: var(--color-text-light);
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--color-background-alt);
    color: var(--color-primary);
}

.modal-close:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.2);
}

.modal-content h2 {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--color-primary);
    padding: var(--space-4);
    padding-right: 60px;
    margin: 0;
    border-bottom: 1px solid var(--color-border);
    letter-spacing: -0.01em;
}

.modal-body {
    padding: var(--space-4);
    overflow-y: auto;
    max-height: calc(85vh - 80px);
    line-height: 1.7;
}

.modal-body h3 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-primary);
    margin: var(--space-4) 0 var(--space-2);
}

.modal-body h3:first-of-type {
    margin-top: var(--space-2);
}

.modal-body p {
    color: var(--color-text-light);
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
}

.modal-body ul {
    margin: var(--space-2) 0 var(--space-3) var(--space-4);
    color: var(--color-text-light);
}

.modal-body li {
    margin-bottom: var(--space-1);
    font-size: var(--text-sm);
}

.modal-body strong {
    color: var(--color-text);
}

/* Modal responsive */
@media (max-width: 640px) {
    .modal-content {
        max-height: 90vh;
        margin: var(--space-2);
    }
    
    .modal-body {
        max-height: calc(90vh - 80px);
    }
    
    .modal-content h2 {
        font-size: var(--text-xl);
    }
}

/* Body scroll lock when modal is open */
body.modal-open {
    overflow: hidden;
}
