/* ===================================================================
   DESIGN TOKENS & SYSTEM
   =================================================================== */
@import "global-fonts.css";

:root {
    /* Brand Palette (Authentic Popcorn County USA) */
    --brand-primary: #fcb858;
    --brand-accent: #067f5a;
    --brand-dark: #ffffff;
    --brand-dark-alt: #fdfcf5;
    --brand-white: #ffffff;
    --brand-gray: #fdfdfd;
    --brand-orange: #f08324;
    --brand-brown: #976330;

    /* Text Color Palette */
    --text-main: #fff;
    --text-dark: #333;
    --text-muted: rgba(0, 0, 0, 0.5);
    --text-muted-dark: rgba(0, 0, 0, 0.5);
    --text-brown: #a5713e;
    
    /* Background Palette */
    --bg-dark: #ffffff;
    --bg-darker: #fdfcf5;
    --bg-light: #fdfcf5;
    --bg-gray: #f8f9fa;

    /* Editorial Scaling Tokens (Luxury Centered Scale) */
    --fs-display-1: clamp(3rem, 7vw, 3.5rem);
    --fs-display-2: clamp(2.2rem, 5vw, 2.75rem);
    --fs-display-3: clamp(1.6rem, 3.5vw, 1.75rem);
    --fs-lead: clamp(1rem, 1.2vw, 1.25rem);
    --ls-tight: -0.04em;
    --ls-wide: 0.3em;
    --ls-widest: 0.5rem;
    --space-1: 0.25rem;   /* 8px */
    --space-2: 1rem;     /* 16px */
    --space-3: 1.5rem;   /* 24px */
    --space-4: 2rem;     /* 32px */
    --space-5: 2.25rem;     /* 48px */
    --space-8: 4rem;     /* 64px */
    --space-10: 5rem;    /* 80px */
    --space-12: 6rem;    /* 96px */
    --space-15: 8rem;    /* 128px */
    --space-20: 10rem;   /* 160px */

    /* Typography Opacity Patterns */
    --op-headline: 1;
    --op-subheading: 0.85;
    --op-secondary: 0.65;
    --op-metadata: 0.55;
    
    /* Transitions & Smoothness */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;

    /* Shadows & Effects */
    --shadow-soft: 0 40px 100px rgba(0,0,0,0.1);
    --shadow-deep: 0 60px 120px rgba(0,0,0,0.5);
    --shadow-accent: 0 1rem 3rem rgba(252,184,88,0.25);
    --blur-glass: blur(3rem);
}

/* Typography Scale Override (Proportional Editorial) */
h1, .display-1 { font-size: var(--fs-display-1); line-height: 1.05; letter-spacing: var(--ls-tight); font-weight: 800; }
h2, .display-2 { font-size: var(--fs-display-2); line-height: 1.1; letter-spacing: var(--ls-tight); font-weight: 800; }
h3, .display-3 { font-size: var(--fs-display-3); line-height: 1.1; }
.lead { font-size: var(--fs-lead); line-height: 1.7; opacity: 0.8; font-weight: 400; }
.eyebrow { font-size: 0.75rem; font-weight: 800; letter-spacing: var(--ls-wide); color: var(--brand-primary); text-transform: uppercase; }


/* ===================================================================
   SYSTEM UTILITIES (MAPPING TO DESIGN TOKENS)
   =================================================================== */

/* Font Helpers */
.serif-italic { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 400; }

.text-brand-navy { color: #1e3a5f !important; }
.text-white-force { color: #ffffff !important; }
.text-gradient-premium {
    background: linear-gradient(135deg, var(--brand-accent) 0%, #000 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Typography Scale Fix */
.text-uppercase { text-transform: uppercase; letter-spacing: var(--ls-wide); }

.text-op-sub { opacity: var(--op-subheading); }
.text-op-sec { opacity: var(--op-secondary); }
.text-op-meta { opacity: var(--op-metadata); }

.bg-dark { background-color: #ffffff !important; }
.bg-light { background-color: #fdfcf5 !important; }
.text-white { color: var(--brand-white); }
.text-dark { color: var(--text-dark); }
.text-primary { color: var(--brand-primary) !important; }
.text-accent { color: var(--brand-accent) !important; }
.text-main { color: var(--text-main) !important; }
.text-brown { color: var(--text-brown) !important; }
.bg-accent { background-color: var(--brand-accent) !important; }

/* Spacing System (Custom utilities for the 8pt scale) */
.gap-10 { gap: var(--space-10) !important; }
.gap-8 { gap: var(--space-8) !important; }
.gap-5 { gap: var(--space-5) !important; }

.py-12 { padding-top: var(--space-12) !important; padding-bottom: var(--space-12) !important; }
.py-15 { padding-top: var(--space-15) !important; padding-bottom: var(--space-15) !important; }
.py-10 { padding-top: var(--space-10) !important; padding-bottom: var(--space-10) !important; }
.py-8 { padding-top: var(--space-8) !important; padding-bottom: var(--space-8) !important; }
.py-5 { padding-top: var(--space-5) !important; padding-bottom: var(--space-5) !important; }

/* Atomic Paddings */
.pt-15 { padding-top: var(--space-15) !important; }
.pt-12 { padding-top: var(--space-12) !important; }
.pt-10 { padding-top: var(--space-10) !important; }
.pt-8 { padding-top: var(--space-8) !important; }
.pt-5 { padding-top: var(--space-5) !important; }

.pb-15 { padding-bottom: var(--space-15) !important; }
.pb-12 { padding-bottom: var(--space-12) !important; }
.pb-10 { padding-bottom: var(--space-10) !important; }
.pb-8 { padding-bottom: var(--space-8) !important; }
.pb-5 { padding-bottom: var(--space-5) !important; }

.px-10 { padding-left: var(--space-10) !important; padding-right: var(--space-10) !important; }
.px-5 { padding-left: var(--space-5) !important; padding-right: var(--space-5) !important; }

/* Atomic Margins */
.mt-12 { margin-top: var(--space-12) !important; }
.mt-10 { margin-top: var(--space-10) !important; }
.mt-8 { margin-top: var(--space-8) !important; }
.mt-5 { margin-top: var(--space-5) !important; }

.mb-15 { margin-bottom: var(--space-15) !important; }
.mb-12 { margin-bottom: var(--space-12) !important; }
.mb-10 { margin-bottom: var(--space-10) !important; }
.mb-8 { margin-bottom: var(--space-8) !important; }
.mb-5 { margin-bottom: var(--space-5) !important; }

.max-w-500 { max-width: 500px; }
.max-w-700 { max-width: 700px; }

.text-shadow {
    text-shadow: 1px 1px 2px#fff;
}

.gap-4 {
    gap: 1.15rem !important;
}

.container-popcorn{
    max-width: 90%;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
}

.noPad {
    padding: 0 !important;
}
.bckWhite {
    background-color: #ffffff !important;
}


/* ===================================================================
   HERO SECTIONS (CONSOLIDATED & ZERO INLINE)
   =================================================================== */

.hero-base {
    min-height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Hero 3 Minimalist Specifics (Variable Driven) */
.hero-v3-variant {
    --hero-v3-bg: #2b5f9e;
    background-color: var(--hero-v3-bg);
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Theme variations for Hero 3 */
.hero-v3-variant.theme-midnight { --hero-v3-bg: #05060a; }
.hero-v3-variant.theme-deep-blue { --hero-v3-bg: #0a1128; }
.hero-v3-variant.theme-obsidian { --hero-v3-bg: #010101; }
.hero-v3-variant.theme-burgundy { --hero-v3-bg: #1a0a0a; }

/* Backdrops & Overlays */
.glass-overlay-editorial {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(8,9,16,0.95) 0%, rgba(8,9,16,0.5) 50%, transparent 100%);
    z-index: 1;
}

.mesh-bg-premium {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 100% 0%, rgba(0, 242, 255, 0.04) 0%, transparent 40%), 
                radial-gradient(circle at 0% 100%, rgba(112, 0, 255, 0.04) 0%, transparent 40%);
    z-index: 1;
}

/* Subjects */
.monolith-subject {
    position: absolute;
    top: 50%; right: 12%; 
    transform: translateY(-50%) rotate(-4deg); 
    width: 22rem; height: 32rem; 
    z-index: 2;
    background: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
    backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-deep);
    animation: floating-v3 12s ease-in-out infinite;
}
.monolith-subject::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

@keyframes floating-v3 {
    0%, 100% { transform: translateY(-50%) rotate(-4deg); }
    50% { transform: translateY(-53%) rotate(-2deg); }
}

/* Cards & Components */
.roi-card-modern {
    position: relative;
    width: 25rem;
    height: 32rem;
    background: var(--brand-dark-alt);
    border-radius: 2rem;
    box-shadow: var(--shadow-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--brand-white);
    z-index: 2;
}

.title-gradient {
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-white));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.link-luxury {
    display: inline-flex;
    align-items: center;
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--brand-primary);
    padding-bottom: 0.5rem;
    transition: var(--transition-smooth);
}
.link-luxury:hover { padding-left: 0.8rem; color: var(--brand-white); border-color: var(--brand-white); }


.btn-premium {
    padding: 1.25rem 3rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-smooth);
    display: inline-block;
}
.btn-dark { background: #000; color: #fff; border: 1px solid #000; }
.btn-dark:hover { background: #fff; color: #000; transform: translateY(-0.2rem); }

/* Hero 4: Luxury Refined (Centered Impact) */
.hero-center-v4 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 1;
    background: #000;
    overflow: hidden;
}

.hero-v4-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-v4-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.hero-v4-eyebrow {
    color: #ffffff;
    letter-spacing: 0.4rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    display: block;
    margin-bottom: 2.5rem;
}

.hero-v4-title {
    line-height: 1.05;
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-size: var(--fs-display-1);
    font-weight: 800;
    letter-spacing: var(--ls-tight);
    margin-bottom: 1.5rem;
}

/* EXPERIMENTAL: Typewriter Cursor */
.js-typewriter {
    border-right: 3px solid rgba(255,255,255,0.7);
    padding-right: 5px;
    animation: blink-caret .75s step-end infinite;
}

.js-typewriter.typing-done {
    border-right: none;
    padding-right: 0;
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #ffffff; }
}

/* EXPERIMENTAL: Word Rotator Typewriter */
.js-word-rotator {
    display: inline-block;
    min-width: 150px; /* Estabilidad para evitar que 'Popcorn' salte */
    text-align: left;
    padding-right: 5px;
}

.serif-italic {
    font-family: var(--font-editorial);
    font-style: italic;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
}

.hero-v4-serif {
    color: #ffffff;
    font-size: var(--fs-display-2);
    display: block;
    line-height: 4.15rem
}

.hero-v4-desc {
    font-size: 1.2rem;
    opacity: 1;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    color: #ffffff;
    max-width: 44rem;
    margin: 0 auto 3rem auto;
}

.hero-v4-btn-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.btn-luxury {
    background: var(--brand-primary);
    color: #fff !important;
    padding: 1rem 3.5rem;
    border-radius: 0.25rem;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    transition: var(--transition-smooth);
    border: none;
    display: inline-block;
    font-size: 0.9rem;
}
.btn-luxury:hover {
    background: transparent;
    color: var(--brand-primary) !important;
    transform: translateY(-0.35rem);
    box-shadow: 0 10px 30px rgba(252, 184, 88, 0.3);
    border: 1px solid var(--brand-primary);
}

.btn-luxury-minimal {
    background: transparent;
    color: #ffffff !important;
    padding: 1rem 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    border-radius: 0.25rem;
    display: inline-block;
    border: 2px solid #ffffff;
    font-size: 0.9rem;
}
.btn-luxury-minimal:hover {
    background: #ffffff;
    color: var(--brand-accent) !important;
    transform: translateY(-0.25rem);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ===================================================================
   DYNAMIC CONTENT SECTIONS (GENERATOR SYSTEM)
   =================================================================== */

.section-wrapper {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
    position: relative;
    overflow: hidden;
    background-color: var(--section-bg, transparent);
}

.section-wrapper-popcorn {
    padding-top: var(--space-15);
    padding-bottom: var(--space-20);
    position: relative;
    overflow: hidden;
    background-color: var(--section-bg, transparent);
}

.section-title {
    color: #976330 !important;
    font-size: var(--fs-h1);
    margin-bottom: var(--space-4);
    font-family: var(--font-primary);
    font-weight: 800;
    line-height: 1.1;
}

.section-eyebrow {
    color: var(--eyebrow-color, var(--brand-primary));
    font-family: var(--font-secondary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    font-size: 0.75rem;
    display: block;
    margin-bottom: var(--space-3);
}

.section-desc {
    color: var(--text-color, rgba(255,255,255,0.7));
    font-size: var(--fs-lead);
    max-width: 45rem;
    margin-bottom: var(--space-8);
    font-weight: 300;
}

/* Button Variations */
.btn-pill {
    background: var(--brand-white);
    color: var(--brand-dark);
    padding: 1.25rem 4rem;
    border-radius: 5rem;
    text-decoration: none;
    font-weight: 800;
    transition: var(--transition-smooth);
    display: inline-block;
    border: none;
    font-size: 0.9rem;
}
.btn-pill:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255,255,255,0.2);
}

.btn-luxury-orange {
    background: #fcb858;
    color: #fff !important;
    padding: 1.1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    box-shadow: 0 10px 20px -10px rgba(252, 184, 88, 0.5);
    margin-top: 1rem;
}

.btn-luxury-orange:hover {
    background: #e9a647;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(252, 184, 88, 0.6);
    color: #fff !important;
}

.btn-luxury-orange i {
    transition: transform 0.3s ease;
}

.btn-luxury-orange:hover i {
    transform: translateX(8px);
}

/* Split Layouts (Text & Image) */
.split-content-row {
    /* Eliminamos gap: var(--space-10) aquí porque rompe el grid de Bootstrap (50% + 50% + gap > 100%) */
    margin-bottom: 0;
}

.split-image-box {
    width: 100%;
    position: relative;
}

.split-text-box {
    padding: var(--space-4);
}

/* Boxes & Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: var(--space-5);
}

.premium-card {
    background: var(--card-bg, rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.05);
    padding: 3.5rem 2.5rem;
    border-radius: 2rem;
    transition: var(--transition-smooth);
}
.premium-card:hover {
    transform: translateY(-0.5rem);
    background: rgba(255,255,255,0.04);
    border-color: var(--brand-primary);
}

.card-icon {
    width: 4rem;
    height: 4rem;
    background: var(--brand-primary);
    border-radius: 1.25rem;
    margin-bottom: var(--space-5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-dark);
    font-size: 1.5rem;
}

/* Info Grid (3 Columns Editorial) */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    margin-top: var(--space-10);
}

.grid-item-header {
    font-weight: 800;
    color: var(--accent-color, #9d5a8c);
    margin-bottom: var(--space-4);
    font-size: 1.25rem;
}

.grid-item-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-color, rgba(255,255,255,0.7));
}

.top-bar-info{font-weight: 600;letter-spacing:0.6px!important;}

@media (max-width: 992px) {
    .info-grid { grid-template-columns: 1fr; }
}

/* Carousel Sections (Horizontal Snap) */
.carousel-wrapper {
    position: relative;
    padding: var(--space-4) 0;
}

.carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--space-5);
    padding-bottom: var(--space-8);
    scrollbar-width: none; /* Hide scrollbar Firefox */
}
.carousel-container::-webkit-scrollbar { display: none; } /* Hide scrollbar Chrome/Safari */

.carousel-item-card {
    flex: 0 0 22rem;
    scroll-snap-align: start;
    transition: var(--transition-smooth);
}

.carousel-card-visual {
    width: 100%;
    aspect-ratio: 4/5;
    background: #1a1c24;
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-deep);
}

.carousel-card-tag {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    display: flex; align-items: center; gap: 0.5rem;
}

.carousel-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: var(--space-2);
    color: var(--header-color, #fff);
}

.carousel-card-meta {
    font-size: 0.8rem;
    opacity: 0.5;
    text-transform: capitalize;
}

.carousel-nav-btns {
    position: absolute;
    top: -4rem; right: 0;
    display: flex; gap: 1rem;
}

/* ===================================================================
   FOOTER SYSTEM (GENERATOR)
   =================================================================== */

.footer-wrapper {
    background-color: var(--footer-bg, #05060a);
    padding-top: 0;
    padding-bottom: var(--space-8);
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-white);
    margin-bottom: var(--space-5);
    display: block;
}

.footer-link-col-title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--footer-title-color, var(--brand-primary));
    margin-bottom: var(--space-2);
}

.footer-list {
    padding: 0;
    list-style: none;
}

.footer-link {
    display: block;
    color: var(--text-color, rgba(255,255,255,0.5));
    font-size: 0.95rem;
    margin-bottom: var(--space-1);
    transition: var(--transition-fast);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--brand-primary);
    transform: translateX(5px);
}

.footer-social-link {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255,255,255,0.05);
}

.footer-social-link:hover {
    background: var(--brand-primary);
    color: var(--brand-dark);
    transform: translateY(-5px);
}

.footer-bottom {
    margin-top: var(--space-6);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.legal-link {
    margin-left: var(--space-5);
    font-size: 0.8rem;
    opacity: 0.5;
    text-decoration: none;
    color: #fff;
}
.legal-link:hover { opacity: 1; color: var(--brand-primary); }

.footer-info-block {
    margin-bottom: var(--space-8);
}

.info-block-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-block-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.4);
}

.link-bold {
    font-weight: 700;
    color: #fff !important;
    font-size: 0.95rem;
}

.footer-bottom-v2 {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: var(--space-2);
    margin-top: var(--space-4);
}

.lang-selector {
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.footer-social-minimal {
    display: flex;
    gap: 1.25rem;
    font-size: 1.1rem;
    color: #fff;
}

.footer-social-minimal a {
    opacity: 0.8;
    transition: var(--transition-fast);
}

.footer-social-minimal a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.address-text {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    margin-top: 0.5rem;
    text-align:left;
}

/* Old header system removed - unified below */


.nav-menu .nav-link {
    white-space: nowrap;
}

/* FULL SCREEN OVERLAY MENU (The Expansion one) */
.nav-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5,6,10,0.98);
    backdrop-filter: blur(2.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100000 !important; /* Extremely high to cover everything */
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    pointer-events: none;
}

.nav-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: all;
}

.nav-menu li{
	border-right:1px solid #fff;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Floating Glass Style */
.header-floating {
    top: var(--space-4);
    width: calc(100% - var(--space-10));
    left: var(--space-5);
    border-radius: 5rem;
    padding: 1rem 2rem;
}

/* Burger Menu */
.navbar-toggler-custom {
    display: block; 
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition-fast);
}

.navbar-toggler-custom:hover {
    color: var(--brand-primary);
    opacity: 0.8;
}

@media (max-width: 992px) {
    .nav-container .nav-menu {
        display: none !important; /* Hide horizontal nav in containers on mobile */
    }
}

.btn-close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    font-weight: 200;
    cursor: pointer;
    transition: var(--transition-fast);
    line-height: 1;
}

.btn-close-menu:hover {
    transform: rotate(90deg);
    color: var(--brand-primary);
}

/* ===================================================================
   MEGA CORPORATE HEADER (Kallyas Style)
   =================================================================== */

.header-corporate {
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-top-bar {
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 0.5rem 0;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.8);
}

.top-bar-link {
    color: inherit;
    text-decoration: none;
    margin-left: 1.5rem;
    text-transform: uppercase;
    font-weight: 700;
}

.top-bar-link:hover { color: #fff; }

.nav-link-highlight {
    background: #fcb858;
    color: #fff !important;
    padding: 0.5rem 1rem !important;
    border-radius: 4px;
}

.header-cart-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.cart-badge {
    background: #fcb858 !important;
    color: #ffffff !important;
    min-width: 18px;
    height: 18px;
    font-size: 0.65rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -11px;
    right: -13px;
    font-weight: 800;
    border: 2px solid #fcb858;
}

.btn-tag {
    background: #fcb858;
    color: #fff !important;
    text-transform: uppercase;
    font-weight: 800;
    padding: 1rem 1.5rem;
    text-decoration: none;
    position: relative;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% 90%, 0% 100%);
    display: inline-block;
    text-align: center;
    line-height: 1.1;
}

.btn-tag span {
    display: block;
    font-size: 0.6rem;
    opacity: 0.8;
}

/* ===================================================================
   WILD MINIMAL HEADER (Wild Planet Style)
   =================================================================== */

.header-wild {
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 1.25rem 0;
}

.wild-logo {
    display: flex;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.wild-logo .boxed {
    background: #fff;
    color: #000;
    padding: 0 0.5rem;
    font-weight: 800;
    margin-right: 2px;
}

.wild-logo .serif {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

.wild-text-link {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    margin-left: 1.5rem;
}

.wild-social {
    display: flex;
    gap: 1.5rem;
    font-size: 1rem;
    color: #fff;
}

/* ===================================================================
   STICKY SHRINK HEADER (Modern Minimal)
   =================================================================== */

.header-sticky-shrink {
    padding: 2.5rem 0;
    background: transparent;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Post-cleanup: Sticky shrink rules removed to prevent ghost effects */

.max-w-700 { max-width: 44rem; margin-left: auto; margin-right: auto; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { height: 100%; scroll-behavior: smooth; }
body { min-height: 100%; line-height: 1.6; background-color: var(--brand-dark); color: var(--brand-white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }



/* Mobile Menu Visibility Fixes */
.nav-menu-overlay { 
    background: #ffffff !important; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
}
.nav-menu-overlay .nav-link { color: #333 !important; padding:.5rem; }
.btn-close-menu { color: #067f5a !important; }

/* Template styles were moved to editorial-templates.css */

/* ===================================================================
   BASE HTML & BODY
   =================================================================== */
html { 
    font-size: 16px; 
    scroll-behavior: smooth; 
}

body { 
    background-color: var(--bg-light); 
    color: var(--text-main); 
    font-family: var(--font-secondary);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

/* ===================================================================
   GLOBAL TYPOGRAPHY OVERRIDES
   =================================================================== */
.section-title { 
    color: #976330 !important; 
    font-size: var(--fs-display-1); 
    font-weight: 800; 
    line-height: 1.1; 
}

.section-desc { 
    color: rgba(0,0,0,0.6) !important; 
    font-size: 1.1rem; 
}

.section-eyebrow { 
    font-size: 0.75rem; 
    letter-spacing: var(--ls-wide); 
    text-transform: uppercase; 
    font-weight: 800; 
    margin-bottom: 1.5rem; 
    display: block; 
}

/* Atomic Buttons & Utilities */
.btn-tag { display: none !important; }
.hover-op-100:hover { opacity: 1 !important; }

/* Video Background specific handling */
.hero-center-v4 { position: relative; overflow: hidden; }
.hero-center-v4 video { pointer-events: none; }

/* ===================================================================
   ANIMATIONS & REVEALS
   =================================================================== */
.soft-zoom-reveal {
    overflow: hidden;
    position: relative;
}

.soft-zoom-reveal img {
    transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1), opacity 2s ease;
    transform: scale(1.1);
    opacity: 0;
}

.soft-zoom-reveal.is-visible img {
    transform: scale(.95);
    opacity: 1;
}

/* Interactive Image "Grow" Effect */
.interactive-heritage-img {
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: visible !important; /* Permite que el efecto de levitación se note sin cortes */
}

.interactive-heritage-img img {
    width: 98%;
    margin: 0 auto;
    display: block;
    border-radius: 8px; /* Un toque de redondeado para suavizar */
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.interactive-heritage-img:hover img {
    transform: scale(1.04) translateY(-15px) !important;
}

/* ===================================================================
   HEADER & NAVIGATION
   =================================================================== */
.header-main { 
    background: transparent; 
    backdrop-filter: none; 
    border-bottom: none; 
    padding: var(--space-5) 0; 
    position: absolute; 
    top: 0;
    width: 100%; 
    z-index: 1000; 
    transition: var(--transition-smooth); 
}

.header-scrolled {
    /* No transitions or sticky background */
    background: transparent !important;
    padding: var(--space-5) 0 !important;
}

.header-corporate { 
    background: transparent; 
    border-bottom: none; 
    padding: 0 !important; /* Saltamos el padding superior para que la barra verde toque el borde */
}

.header-scrolled.header-corporate { background: transparent !important; padding: 0 !important; }

/* Ajustamos el espaciado solo para el área de navegación dentro del corporate */
.header-corporate .nav-container {
    padding: var(--space-3) 0;
}

.header-top-bar { background: #067f5a !important; color: #ffffff !important; border-bottom: none !important; padding: 8px 0 !important; position: relative; z-index: 1001; }
.top-bar-link { color: #ffffff !important; opacity: 0.9; font-size: 0.75rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin-left: 2rem; text-decoration: none; }

.social-icons-tiny { display: flex !important; gap: 10px !important; align-items: center; }
.social-icons-tiny a { 
    font-size: 0.95rem !important; 
    color: #ffffff !important; 
    opacity: 0.7 !important; 
    display: inline-block !important; 
    text-decoration: none !important; 
    transition: all 0.3s ease !important;
}
.social-icons-tiny a i { display: block !important; }
.social-icons-tiny a:hover { 
    color: #fcb858 !important; 
    opacity: 1 !important; 
    transform: translateY(-2px); 
}

.header-main .nav-link { color: #ffffff !important; font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 700; transition: color 0.3s ease; }
.header-main .nav-link:hover { color: #fcb858 !important; }

.header-main .nav-logo { padding: 0 !important; }
.navbar-toggler-custom { color: #ffffff !important; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; }

.header-cart-wrap { color: #ffffff !important; transition: all 0.3s ease; display: flex !important; align-items: center; text-decoration: none; }
.header-cart-wrap:hover { color: #fcb858 !important; }
.cart-badge { background: #fcb858 !important; color: #ffffff !important; min-width: 18px; height: 18px; font-size: 0.65rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: absolute; top: -11px; right: -13px; font-weight: 800; border: 2px solid #fcb858; }

.fw-bold-600, .bold { font-weight: 600 !important; }
.top-bar-phone, .telefono { color: #ffffff !important; letter-spacing: 0.5px; margin-left: 5px; }
.top-bar-info { opacity: 1 !important; color: #ffffff !important; }

/* ===================================================================
   CRAFTSMANSHIP EDITORIAL SECTION
   =================================================================== */
.craftsmanship-section {
    background-color: #f8f7f3 !important;
}

.craftsmanship-image-col {
    width: 54% !important;
    min-height: 740px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--space-15) !important;
    padding-bottom: var(--space-15) !important;
    background: url('../graphics/bck-aboutus.png') no-repeat bottom center; 
    background-size: cover;
}

.craftsmanship-image-col img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    background: url('../graphics/bck-aboutus.png') no-repeat top center; 
    background-size: contain;
}

/* ===================================================================
   SLIDER EXPERIMENT STYLES
   =================================================================== */
#craftsmanshipSlider {
    width: 100%;
    max-width: 740px;
    border-radius: 10px;
    overflow: hidden; /* For rounded corners */
    padding:2rem 3rem;
}

.craftsmanship-slider-inner {
    border-radius: 10px;
    box-shadow:5px 6px 16px #76512c9c;
}

.craftsmanship-caption {
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 6rem 2.5rem 4rem !important;
    text-align: left;
}

.craft-slide-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.craft-slide-desc {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 0;
    line-height: 1.5;
    max-width: 90%;
}
/* =================================================================== */

.craftsmanship-text-col {
    width: 46% !important;
    padding-top: var(--space-15) !important;
    padding-bottom: var(--space-15) !important;
    background: url('../graphics/bck-aboutus-right.png') no-repeat bottom right; 
    background-size: cover;
    padding-right:2rem;
}
.craftsmanship-text-col img{
    float: left;
    width: 28px;
    margin-right: .75rem;
}

.craftsmanship-brand {
    color: var(--brand-brown);
    font-weight: 400;
    font-size: 1.8rem;
    letter-spacing: -1px;
    font-family: 'Playfair Display', serif;
}

.craftsmanship-eyebrow {
    color: var(--brand-orange);
    letter-spacing: 0.3rem;
    font-family: var(--font-primary);
    font-weight: 600 !important;
}

.craftsmanship-title {
    color: var(--brand-brown);
    line-height: 1.1;
    font-weight: 700;
    font-size: var(--fs-display-3);
}

.craftsmanship-desc {
    color: #634a35;
    width: 100%;
    font-size: 1.15rem;
    line-height: 1.7;
    font-family: var(--font-secondary);
}

.btn-brand-outline {
    border-color: #976330 !important;
    color: #976330 !important;
}

.btn-brand-outline:hover {
    background: #976330;
    color: #fff !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .craftsmanship-image-col, 
    .craftsmanship-text-col {
        width: 100% !important;
    }
}

/* ===================================================================
   PREMIUM PORTFOLIO SECTION (REFINED)
   =================================================================== */
.portfolio-section {
    background-color: #ffffff !important;
    padding-top: var(--space-1) !important;
    padding-bottom: var(--space-15) !important;
    overflow: hidden;
}

.portfolio-eyebrow {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e49632;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.portfolio-main-title {
    color: var(--brand-orange);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    font-family: 'Playfair Display', serif;
}

.portfolio-subtitle {
    font-size: 1.1rem;
    color: #444;
    max-width: 650px;
    margin: 0 auto var(--space-12);
    line-height: 1.6;
}

.portfolio-filter-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: var(--space-10);
}

.filter-btn {
    background: #fff;
    border: 1px solid #eee;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    color: #666;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn:hover, .filter-btn.active {
    background: #f7a81b;
    color: #fff;
    border-color: #f7a81b;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(247, 168, 27, 0.15);
}

/* Slider / Track Container */
.portfolio-slider-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.portfolio-track-wrapper {
    overflow: hidden;
    padding: 10px 0;
}

.portfolio-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    gap: 0;
}

.portfolio-item {
    flex: 0 0 25%; /* 4 items visible */
    padding: 0 1.25rem;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.portfolio-item:not(.active) {
    display: none; /* Default for filtering */
}

/* Base Card Style */
.product-card-portfolio {
    background: #fff;
    border: 1px solid #f2f2f2;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 4px;
}

.product-card-portfolio:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
    border-color: #eee;
}

.portfolio-img-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .75rem;
    position: relative;
}

.portfolio-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card-portfolio:hover .portfolio-img-wrapper img {
    transform: scale(1.05);
}

/* Placeholder Handling */
.portfolio-placeholder-icon {
    font-size: 4rem !important;
    color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.portfolio-placeholder-icon:before {
    content: "\f03e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.product-tag-red {
    color: #d12a2a;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    min-height: 2.4em; /* For alignment */
}

.product-desc-portfolio {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
    margin-bottom: .75rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0 1.25rem;
}

.btn-see-more {
    background: #f7a81b;
    color: #fff !important;
    border: none;
    width: 87%;
    padding: 0.75rem;
    border-radius: 4px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none !important;
    margin-bottom: 1.25rem;
}

.btn-see-more:hover {
    background: #e59a16;
}

.btn-see-more i {
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #666;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.carousel-btn:hover {
    background: #f7a81b;
    color: #fff;
    border-color: #f7a81b;
}

.btn-prev { left: 10px; }
.btn-next { right: 10px; }

@media (max-width: 1200px) {
    .portfolio-item { flex: 0 0 33.333%; }
}
@media (max-width: 900px) {
    .portfolio-item { flex: 0 0 50%; }
}
@media (max-width: 600px) {
    .portfolio-item { flex: 0 0 100%; }
    .portfolio-slider-container { padding: 0 20px; }
}

/* ===================================================================
   FAQ & HELP SECTION
   =================================================================== */
.faq-help-section {
    padding: 0 0 6rem 0;
    background: #fff;
}

.faq-small-title {
    display: block;
    font-size: var(--fs-lead);
    font-weight: 800;
    color: var(--brand-orange);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    margin-left: 2rem;
}

.faq-accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
    transition: background 0.3s ease;
}

.faq-header h4 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    max-width: 90%;
}

.plus-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
}

.plus-icon::before,
.plus-icon::after {
    content: "";
    position: absolute;
    background: #1a1a1a;
    transition: all 0.3s ease;
}

/* Horizontal line */
.plus-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

/* Vertical line */
.plus-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

.faq-content p {
    padding: 0 2rem 1.5rem;
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Active State */
.faq-item.active {
    border-color: #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.faq-item.active .faq-content {
    max-height: 200px; /* Adjust as needed */
}

.faq-item.active .plus-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

/* Contact Box Right */
.faq-contact-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
}

.faq-contact-icon {
    width: 60px;
    height: 60px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.faq-contact-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.faq-contact-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.btn-faq-contact {
    background: transparent;
    color: #000 !important;
    border: 2px solid #000;
    text-decoration: none !important;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-faq-contact:hover {
    background: var(--brand-orange);
    color: #fff !important;
    border-color: var(--brand-orange);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(228, 150, 50, 0.2);
}

/* ===================================================================
   TESTIMONIALS TICKER SECTION
   =================================================================== */
.testimonials-ticker-section {
    padding: 0;
    background: #f8f7f3;
    overflow: hidden;
}

.testimonials-main-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--brand-orange);
    letter-spacing: -1px;
}

.testimonials-ticker-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px 0; /* Increased padding to prevent horizontal hover clipping */
    position: relative;
}

/* The fade out effect at edges */
.testimonials-ticker-wrapper::before,
.testimonials-ticker-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.testimonials-ticker-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f8f7f3, rgba(248, 247, 243, 0));
}

.testimonials-ticker-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f8f7f3, rgba(248, 247, 243, 0));
}

.ticker-container {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    padding: 10px 0; /* Space for the hover lift effect */
}

.ticker-track {
    display: flex;
    gap: 20px;
    width: fit-content;
}

.ticker-left {
    animation: scroll-left 60s linear infinite;
}

.ticker-right {
    animation: scroll-right 60s linear infinite;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 10px)); }
}

@keyframes scroll-right {
    0% { transform: translateX(calc(-50% - 10px)); }
    100% { transform: translateX(0); }
}

/* Testimonial Card */
.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem 2rem;
    min-width: 380px;
    max-width: 380px;
    box-shadow: 0 10px 30px rgba(99, 74, 53, 0.06);
    border: 1px solid #f2f2f2;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(165, 113, 62, 0.1);
    border-color: #f18323;
}

.quote-icon {
    color: #976330;
    font-size: 1.5rem;
    opacity: 0.2;
}

.testimonial-text {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.5;
    margin: 0;
    white-space: normal;
    font-weight: 400;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: auto;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: rgba(0,0,0,0.5);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.user-info h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.user-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #888;
}
.legal-links{text-align:left;}

@media (max-width: 768px) {
    .testimonials-main-title { font-size: 2.2rem; }
    .testimonial-card { min-width: 320px; padding: 2rem; }
}

#mobile-menu-main-site-header a {
    text-transform: uppercase !important;
}

.carousel-indicators {
    bottom: 40px !important;
    margin-left: 12% !important;
    justify-content: flex-start !important;
}

.carousel-control-prev {
    left: 10px !important;
}

.carousel-control-next {
    right: 10px !important;
}
