:root {
    /* Color Palette - "Sonic Canvas" Elevado */
    --primary: #954400;
    --primary-container: #ff7b04;
    --primary-soft: #F9F6F2;
    /*--primary-soft: rgba(255, 123, 4, 0.1);*/
    --on-primary-container: #3d1800;

    --secondary: #5c5b5b;
    --secondary-container: #e4e2e1;

    --tertiary: #ea9143;
    --tertiary-container: #de9060;
    --tertiary-soft: #FFEDD4;

    --background: #f6f6f6;
    --surface: #ffffff;
    --surface-variant: #dbdddd;
    --on-surface: #2d2f2d;
    --on-surface-variant: #5a5c5c;

    --success: #2e7d32;
    --success-soft: rgba(46, 125, 50, 0.1);

    --shadow-ambient: 0px 12px 32px -4px rgba(45, 47, 47, 0.08);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    /* Spacing & Radius */
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    --container-max: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--on-surface);
    background-color: var(--surface);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.font-headline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
}

@media (min-width: 768px) {
    .container {
        width: 800px;
    }
}

@media (min-width: 1280px) {
    body .container {
        max-width: 1100px;
    }
}

/* --- Navigation --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(246, 246, 246, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*padding: 1rem 0;*/
}

/* Mobile Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--on-surface);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 100;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        background: transparent;
        border: none;
        color: var(--on-surface);
        padding: 0.5rem;
    }

    .nav-links {
        display: none !important;
        /* Forzar ocultamiento */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--surface);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-top: 1px solid var(--surface-variant);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        text-align: center;
    }

    .nav-links.show {
        display: flex !important;
        /* Mostrar solo con la clase show */
        animation: slideInDown 0.3s ease-out;
    }

    .nav-actions {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .nav-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@keyframes slideInDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--on-surface);
    font-family: var(--font-headline);
    letter-spacing: -0.02em;
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
}

.logo-accent {
    color: var(--primary-container);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--on-surface-variant);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-container);
}

/* --- Dropdown --- */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.nav-dropdown .material-symbols-outlined {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .material-symbols-outlined {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: var(--surface);
    min-width: 220px;
    padding: 0.75rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-ambient);
    border: 1px solid var(--surface-variant);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.dropdown-content a {
    display: block;
    padding: 0.85rem 1rem;
    color: var(--on-surface-variant);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: calc(var(--radius-lg) - 4px);
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background: var(--primary-soft);
    color: var(--primary-container);
    padding-left: 1.25rem;
}

@media (max-width: 768px) {
    .nav-dropdown {
        flex-direction: column;
        width: 100%;
    }

    .nav-dropdown:hover .material-symbols-outlined {
        transform: none;
    }

    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        width: 100%;
        padding: 0 0 0 1rem;
        display: none;
        background: transparent;
    }

    .nav-dropdown.active .dropdown-content,
    .nav-dropdown:focus-within .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        text-align: left;
        padding: 0.75rem 0;
    }
}

/* --- Buttons --- */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Plus Jakarta Sans';
}

.btn:active {
    scale: 0.95;
}

.btn-primary {
    background-color: var(--primary-container);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
}

.btn-primary-gradient {
    background: linear-gradient(135deg, var(--primary-container) 0%, var(--primary) 100%);
    color: white;
}

.btn-secondary {
    background-color: var(--surface-variant);
    color: var(--on-surface);
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--surface-variant);
    color: var(--on-surface);
}

/* --- Hero Section --- */
.hero {
    padding: 2rem 0;
    /*padding: 8rem 0 6rem;*/
    position: relative;
}

.grid-2-cols {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.headline-xl {
    font-size: clamp(3rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.headline-lg {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-container), var(--tertiary-container));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--tertiary-soft);
    color: var(--tertiary);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.body-lg {
    font-size: 1.25rem;
    color: var(--on-surface-variant);
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    /*600px*/
    border-radius: 1.5rem;
    overflow: hidden;
    background: var(--surface-container-low);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transform: scale(1.02);
    /* Sutil zoom para evitar bordes */
}

.shadow-premium {
    box-shadow:
        0 20px 50px rgba(149, 68, 0, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.1);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.volume-toggle {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 10;
    pointer-events: auto;
}

.volume-toggle.active {
    background: rgba(255, 123, 4, 0.6);
    border-color: var(--primary-container);
}

.volume-toggle:hover {
    background: rgba(255, 123, 4, 0.8);
    border-color: var(--primary-container);
    transform: scale(1.15);
}

.volume-toggle .material-symbols-outlined {
    font-size: 40px;
    font-variation-settings: 'FILL' 1;
}

.hero-bg-accent {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 123, 4, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* --- Features --- */
.section {
    padding: 5rem 0;
    /*padding: 8rem 0;*/
}

.bg-variant {
    background-color: var(--background);
    border-top: 1px solid var(--surface-variant);
    border-bottom: 1px solid var(--surface-variant);
}

.bg-variant-2 {
    background: #F9F6F2;
    /*background: #F8F8F6;*/
    border-top: 1px solid #f1f1ec;
    border-bottom: 1px solid #f1f1ec;
}

.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.glass:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.9);
}

.icon-box {
    width: 64px;
    height: 64px;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* --- Pricing --- */
.price-card {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 2.5rem;
    height: 100%;
}

.price-card.featured {
    border: 3px solid var(--primary-container);
    transform: scale(1.05);
    z-index: 10;
    background: var(--surface);
    box-shadow: 0 40px 60px -20px rgba(149, 68, 0, 0.2);
}

@media (max-width: 768px) {
    .price-card.featured {
        transform: scale(1);
        margin: 2rem 0;
    }
}

.card-badge {
    position: absolute;
    top: -15px;
    background: var(--primary-container);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan-name {
    font-weight: 700;
    color: var(--on-surface-variant);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.price {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    color: var(--on-surface-variant);
}

.features-list {
    list-style: none;
    width: 100%;
    margin-bottom: 2.5rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--on-surface-variant);
    font-size: 0.95rem;
}

.features-list .material-symbols-outlined {
    color: var(--primary-container);
}

/* --- CTA Banner --- */
.cta-banner {
    background: #F3F1E2;
    /*var(--on-surface);*/
    border-radius: var(--radius-xl);
    padding: 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, transparent 100%);
    opacity: 0.2;
}

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

/* --- Footer Identico a Stitch --- */
.footer {
    background-color: #F8F8F6;
    padding: 6rem 0;
    border-top: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.footer-brand span {
    font-size: 1.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 1rem;
    color: var(--on-surface);
}

.footer h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--on-surface);
}

.footer a {
    text-decoration: none;
    color: var(--on-surface-variant);
    font-size: 0.9rem;
    transition: color 0.3s;
    margin-bottom: 0.75rem;
    display: block;
}

.footer a:hover {
    color: var(--primary-container);
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social-link {
    color: var(--on-surface-variant);
    transition: color 0.3s;
}

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

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-legal-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer-legal-col {
        align-items: center;
    }

    .footer-socials {
        justify-content: center;
    }
}

/* --- UTILITIES --- */
.shadow-ambient {
    box-shadow: var(--shadow-ambient);
}

.text-muted {
    color: var(--on-surface-variant);
}

.mb-md {
    margin-bottom: 2rem;
}

.mb-lg {
    margin-bottom: 4rem;
}

.mb-xl {
    margin-bottom: 8rem;
}

.mt-xl {
    margin-top: 8rem;
}

.pt-xl {
    padding-top: 8rem;
}

.pb-xl {
    padding-bottom: 8rem;
}

.w-full {
    width: 100%;
}

@media (max-width: 968px) {
    .grid-2-cols {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-xl {
        width: 100%;
    }

    .price-card.featured {
        transform: scale(1);
    }
}

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

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

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1300px;
    }

    .nav-links {
        gap: 2rem;
    }
}

.uxpack {}

.uxpack__content {
    overflow: hidden;
    position: relative;
    padding: 2.5rem;
}

.uxpack__content::after {
    content: "";
    position: absolute;
    top: -35px;
    right: -40px;
    transform-origin: center;
    width: 120px;
    height: 120px;
    opacity: .9;
    background-image: url(../images/shapes/shape-15.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    transform: rotate(40deg);
}

.uxpack-s2 .uxpack__content::after {
    background-image: url(../images/shapes/shape-2.svg);
}

.uxpack-s3 .uxpack__content::after {
    background-image: url(../images/shapes/shape-1.svg);
}

/* --- Legal Pages --- */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-header {
    margin-bottom: 4rem;
    text-align: left;
}

.legal-content section {
    margin-bottom: 3rem;
}

.legal-content h2 {
    font-size: 1.75rem;
    color: var(--on-surface);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-content p {
    font-size: 1.1rem;
    color: var(--on-surface-variant);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .legal-header {
        text-align: center;
        margin-bottom: 3rem;
    }

    .legal-content h2 {
        font-size: 1.5rem;
    }
}

.list-disc {
    list-style-type: disc;
}

.list-disc li {
    font-size: 1.1rem;
    color: var(--on-surface-variant);
    margin-bottom: 1rem;
    margin-left: 1rem;
}

/*--- Bolivia ---*/
body.bo .uxdisplay-bo {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

body.bo .uxdisplay-bo.start {
    justify-content: flex-start;
}

@media (max-width: 968px) {

    main>.hero,
    main>.section {
        padding-left: 15px;
        padding-right: 15px;
    }
}