/* Editorial Premium Design System */
:root {
    /* Colors */
    --color-bg-deep: #080808;
    --color-bg-surface: #111111;
    --color-bg-soft: #0d0d0d;
    --color-gold: #b98520;
    --color-gold-glow: #d7a43a;
    --color-text-primary: #f4f1ea;
    --color-text-secondary: #a7a199;
    --color-text-muted: #78716a;
    --color-heading: #ffffff;
    --color-glass: rgba(255, 255, 255, 0.018);
    --color-glass-border: rgba(255, 255, 255, 0.055);
    --color-glass-strong: rgba(255, 255, 255, 0.03);
    --color-glass-strong-border: rgba(255, 255, 255, 0.08);
    --color-border-soft: rgba(255, 255, 255, 0.07);
    --color-border-subtle: rgba(255, 255, 255, 0.045);
    --color-gold-tint: rgba(185, 133, 32, 0.065);
    --color-gold-tint-strong: rgba(185, 133, 32, 0.12);
    --color-gold-border: rgba(185, 133, 32, 0.18);
    --color-gold-border-strong: rgba(185, 133, 32, 0.26);
    --color-danger: #ef4444;
    --color-danger-soft: #f87171;
    --color-danger-tint: rgba(239, 68, 68, 0.15);
    --color-success: #22c55e;
    --color-contrast: #15110a;
    --color-logo-strip-bg: #ffffff;
    --color-logo-strip-text: #334155;
    --color-logo-strip-fade: #ffffff;
    --color-panel-dark: rgba(255, 255, 255, 0.02);
    --color-panel-dark-hover: rgba(255, 255, 255, 0.035);
    --color-input-bg: rgba(255, 255, 255, 0.045);
    --color-input-border: rgba(185, 133, 32, 0.18);
    --color-input-placeholder: #78716a;
    --gradient-hero: radial-gradient(circle at top center, #1a150d 0%, #0d0c0a 46%, var(--color-bg-deep) 100%);
    --gradient-section-alt: linear-gradient(180deg, #0d0d0d 0%, #080808 100%);
    --gradient-section-soft: linear-gradient(180deg, #101010 0%, #0a0a0a 100%);
    --gradient-section-soft-2: linear-gradient(180deg, #0e0e0e 0%, #080808 100%);
    --gradient-footer-cta: linear-gradient(0deg, #16120c 0%, var(--color-bg-deep) 100%);
    --shadow-soft: 0 16px 34px -28px rgba(0, 0, 0, 0.82);
    --shadow-strong: 0 24px 52px -28px rgba(0, 0, 0, 0.72);
    --shadow-image: 0 18px 34px rgba(0, 0, 0, 0.32);

    /* Fonts */
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1100px;
    --section-padding: 80px 20px;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

html[data-theme='dark'] {
    color-scheme: dark;
}

html[data-theme='light'] {
    color-scheme: light;
}

html[data-theme='light'] {
    --color-bg-deep: #f7f5ef;
    --color-bg-surface: #ffffff;
    --color-bg-soft: #ede9e1;
    --color-gold: #956613;
    --color-gold-glow: #b67a19;
    --color-text-primary: #1f2c3b;
    --color-text-secondary: #4f6072;
    --color-text-muted: #708195;
    --color-heading: #0d1728;
    --color-glass: rgba(255, 255, 255, 0.8);
    --color-glass-border: rgba(100, 116, 139, 0.14);
    --color-glass-strong: rgba(255, 255, 255, 0.97);
    --color-glass-strong-border: rgba(100, 116, 139, 0.18);
    --color-border-soft: rgba(100, 116, 139, 0.16);
    --color-border-subtle: rgba(100, 116, 139, 0.1);
    --color-gold-tint: rgba(149, 102, 19, 0.05);
    --color-gold-tint-strong: rgba(149, 102, 19, 0.1);
    --color-gold-border: rgba(149, 102, 19, 0.16);
    --color-gold-border-strong: rgba(149, 102, 19, 0.28);
    --color-danger: #dc2626;
    --color-danger-soft: #dc2626;
    --color-danger-tint: rgba(220, 38, 38, 0.12);
    --color-success: #16a34a;
    --color-contrast: #111827;
    --color-logo-strip-bg: #ffffff;
    --color-logo-strip-text: #334155;
    --color-logo-strip-fade: #ffffff;
    --color-panel-dark: rgba(255, 255, 255, 0.84);
    --color-panel-dark-hover: rgba(255, 255, 255, 0.98);
    --color-input-bg: rgba(255, 255, 255, 0.92);
    --color-input-border: rgba(149, 102, 19, 0.16);
    --color-input-placeholder: #64748b;
    --gradient-hero: radial-gradient(circle at top center, rgba(229, 212, 165, 0.78) 0%, rgba(244, 239, 230, 0.92) 30%, #f7f5ef 72%, var(--color-bg-deep) 100%);
    --gradient-section-alt: linear-gradient(180deg, #f5f2ec 0%, #f7f5ef 100%);
    --gradient-section-soft: linear-gradient(180deg, #faf8f4 0%, #f1eee8 100%);
    --gradient-section-soft-2: linear-gradient(180deg, #f7f4ee 0%, #eee9e1 100%);
    --gradient-footer-cta: linear-gradient(0deg, #e4d5ad 0%, var(--color-bg-deep) 100%);
    --shadow-soft: 0 20px 44px -28px rgba(15, 23, 42, 0.14);
    --shadow-strong: 0 28px 64px rgba(15, 23, 42, 0.1);
    --shadow-image: 0 18px 34px rgba(15, 23, 42, 0.08);
}

@media (prefers-color-scheme: light) {
    html:not([data-theme='dark']) {
        --color-bg-deep: #f7f5ef;
        --color-bg-surface: #ffffff;
        --color-bg-soft: #ede9e1;
        --color-gold: #956613;
        --color-gold-glow: #b67a19;
        --color-text-primary: #1f2c3b;
        --color-text-secondary: #4f6072;
        --color-text-muted: #708195;
        --color-heading: #0d1728;
        --color-glass: rgba(255, 255, 255, 0.8);
        --color-glass-border: rgba(100, 116, 139, 0.14);
        --color-glass-strong: rgba(255, 255, 255, 0.97);
        --color-glass-strong-border: rgba(100, 116, 139, 0.18);
        --color-border-soft: rgba(100, 116, 139, 0.16);
        --color-border-subtle: rgba(100, 116, 139, 0.1);
        --color-gold-tint: rgba(149, 102, 19, 0.05);
        --color-gold-tint-strong: rgba(149, 102, 19, 0.1);
        --color-gold-border: rgba(149, 102, 19, 0.16);
        --color-gold-border-strong: rgba(149, 102, 19, 0.28);
        --color-danger: #dc2626;
        --color-danger-soft: #dc2626;
        --color-danger-tint: rgba(220, 38, 38, 0.12);
        --color-success: #16a34a;
        --color-contrast: #111827;
        --color-logo-strip-bg: #ffffff;
        --color-logo-strip-text: #334155;
        --color-logo-strip-fade: #ffffff;
        --color-panel-dark: rgba(255, 255, 255, 0.84);
        --color-panel-dark-hover: rgba(255, 255, 255, 0.98);
        --color-input-bg: rgba(255, 255, 255, 0.92);
        --color-input-border: rgba(149, 102, 19, 0.16);
        --color-input-placeholder: #64748b;
        --gradient-hero: radial-gradient(circle at top center, rgba(229, 212, 165, 0.78) 0%, rgba(244, 239, 230, 0.92) 30%, #f7f5ef 72%, var(--color-bg-deep) 100%);
        --gradient-section-alt: linear-gradient(180deg, #f5f2ec 0%, #f7f5ef 100%);
        --gradient-section-soft: linear-gradient(180deg, #faf8f4 0%, #f1eee8 100%);
        --gradient-section-soft-2: linear-gradient(180deg, #f7f4ee 0%, #eee9e1 100%);
        --gradient-footer-cta: linear-gradient(0deg, #e4d5ad 0%, var(--color-bg-deep) 100%);
        --shadow-soft: 0 20px 44px -28px rgba(15, 23, 42, 0.14);
        --shadow-strong: 0 28px 64px rgba(15, 23, 42, 0.1);
        --shadow-image: 0 18px 34px rgba(15, 23, 42, 0.08);
    }

    html:not([data-theme='dark']) {
        color-scheme: light;
    }
}

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

body {
    background-color: var(--color-bg-deep);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.skip-link {
    position: absolute;
    left: 20px;
    top: 16px;
    z-index: 200;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: var(--color-bg-surface);
    color: var(--color-text-primary);
    border: 1px solid var(--color-gold-border-strong);
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    transform: translateY(-140%);
    transition: transform 0.18s ease;
}

.skip-link:focus {
    transform: translateY(0);
    outline: 2px solid var(--color-gold-glow);
    outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-heading);
}

/* Typography Utilities */
.text-gold {
    color: var(--color-gold-glow);
}

.text-center {
    text-align: center;
}

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

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Glass Surface Utility */
.glass-card {
    background: var(--color-glass);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--color-glass-border);
    border-radius: 16px;
    padding: 2rem;
}

.glass-card:hover {
    transition: all 0.3s ease;
}

.editorial-surface {
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-bg-surface) 96%, transparent) 0%, color-mix(in srgb, var(--color-bg-surface) 88%, transparent) 100%);
    border: 1px solid var(--color-glass-border);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
}

/* Button */
.btn-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-glow) 100%);
    color: var(--color-contrast);
    font-weight: 700;
    text-transform: uppercase;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 1px;
    box-shadow: 0 14px 28px -18px rgba(185, 133, 32, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -20px rgba(185, 133, 32, 0.58);
}

.whatsapp-fab {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 120;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 56px;
    padding: 0.85rem 1.15rem;
    border-radius: 999px;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #128c4a 0%, #25d366 100%);
    box-shadow: 0 18px 36px -18px rgba(18, 140, 74, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px -20px rgba(18, 140, 74, 0.5);
}

.whatsapp-fab__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.whatsapp-fab__badge svg {
    width: 18px;
    height: 18px;
}

.whatsapp-fab__label {
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Utilities */
.hidden {
    display: none;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

@media (max-width: 768px) {
    :root {
        --section-padding: 50px 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .whatsapp-fab {
        width: 58px;
        height: 58px;
        min-height: 58px;
        padding: 0;
        justify-content: center;
    }

    .whatsapp-fab__badge {
        width: 36px;
        height: 36px;
    }

    .whatsapp-fab__badge svg {
        width: 19px;
        height: 19px;
    }

    .whatsapp-fab__label {
        display: none;
    }
}

/* Animations */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

.arrow-anim {
    animation: bounceX 2s infinite;
}

@keyframes bounceX {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}
