@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   CSS VARIABLES & DESIGN SYSTEM (CPL Aromas Palette + Luxury Editorial)
   ========================================================================== */
:root {
    --primary-dark: #150719;         /* Violeta Imperial Ultra Oscuro */
    --primary-mid: #2A0E33;          /* Púrpura Plum Intenso */
    --primary-light: #4A1A57;        /* Orquídea Profundo */
    --primary-soft: #853D99;         /* Lavanda Brillante */
    --accent-gold: #C5A059;          /* Dorado Champagne */
    --accent-gold-light: #E8C574;    /* Dorado Cálido */
    --accent-gold-dark: #9A7635;     /* Bronce Dorado */
    --neutral-light: #FAF7FB;        /* Crema con matiz Lavanda */
    --neutral-white: #FFFFFF;
    --neutral-dark: #1F1722;         /* Carbón Violeta */
    
    --text-dark: #2F1E34;            /* Texto Principal Oscuro */
    --text-muted: #625368;           /* Texto Secundario */
    --text-light: #F3EBF5;           /* Texto Principal Claro */
    --text-light-muted: #C0B2C5;     /* Texto Secundario Claro */
    
    --gradient-gold: linear-gradient(135deg, #E8C574 0%, #C5A059 50%, #9A7635 100%);
    --gradient-gold-hover: linear-gradient(135deg, #FFF0B8 0%, #E8C574 50%, #C5A059 100%);
    --gradient-dark: linear-gradient(180deg, #150719 0%, #2A0E33 100%);
    --gradient-dark-radial: radial-gradient(circle at center, #3E164A 0%, #150719 100%);
    --gradient-luxury: linear-gradient(135deg, #2A0E33 0%, #150719 100%);
    
    --glass-bg: rgba(21, 7, 25, 0.75);
    --glass-border: rgba(197, 160, 89, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(15, 5, 20, 0.37);
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Outfit', 'Montserrat', sans-serif;
    
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    --container-max: 1280px;
    --header-height: 120px;
}

/* ==========================================================================
   BASE RESET & UTILITIES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-gold) var(--primary-dark);
}

body {
    font-family: var(--font-sans);
    background-color: var(--neutral-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--primary-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--gradient-gold);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold-light);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

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

section {
    padding: 8rem 0;
    position: relative;
}

.section-dark {
    background: var(--gradient-luxury);
    color: var(--text-light);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    letter-spacing: -0.02em;
}

.heading-xl {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.heading-lg {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.heading-lg.accented::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-gold);
}

.heading-lg.accented-center {
    text-align: center;
}
.heading-lg.accented-center::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-gold);
}

.heading-md {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 1rem;
}

.heading-sm {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.text-editorial {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 0px; /* Editorial square button */
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}

.btn-primary:hover {
    background: var(--gradient-gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
}

.btn-secondary:hover {
    background: rgba(197, 160, 89, 0.1);
    color: var(--neutral-white);
    border-color: var(--neutral-white);
    transform: translateY(-3px);
}

.btn-text {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    color: var(--accent-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.btn-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-gold);
    transform: scaleX(0.3);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.btn-text:hover::after {
    transform: scaleX(1);
}

.btn-text:hover {
    color: var(--accent-gold-light);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: transparent;
    z-index: 1000;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    height: 95px;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Reading Progress Bar */
.scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-gold);
    width: 0%;
    transition: width 0.1s ease;
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: var(--transition-smooth);
}

.header.scrolled .logo-img {
    height: 38px;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--neutral-white);
    transition: var(--transition-smooth);
}

.logo-sub {
    font-size: 0.65rem;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent-gold);
    display: block;
    text-align: center;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    margin-top: 10px;
    transition: var(--transition-smooth);
}

.header.scrolled .logo-text-wrapper {
    margin-top: 5px;
}

.logo-full-img {
    height: 90px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.header.scrolled .logo-full-img {
    height: 70px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    width: 30px;
    height: 20px;
    z-index: 1100;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--neutral-white);
    margin-bottom: 6px;
    transition: var(--transition-smooth);
}

.mobile-toggle span:last-child {
    margin-bottom: 0;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    background: var(--gradient-dark-radial);
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 75% 35%, rgba(133, 61, 153, 0.25) 0%, transparent 60%);
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--glass-border) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    z-index: 1;
}

/* Scent Molecule SVG Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(232, 197, 116, 0.15) 0%, rgba(133, 61, 153, 0.05) 100%);
    border: 1px solid rgba(197, 160, 89, 0.1);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.05);
    animation: floatParticle 25s infinite linear;
}

.hero .container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    color: var(--neutral-white);
}

.hero-tagline {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-tagline::after {
    content: '';
    height: 1px;
    width: 60px;
    background: var(--accent-gold);
    display: inline-block;
}

.hero-description {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: var(--text-light-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 600px;
}

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

/* Editorial Floating Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 380px;
    height: 520px;
    background: rgba(42, 14, 51, 0.5);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    padding: 1.5rem;
    transition: var(--transition-smooth);
    animation: floatCard 8s ease-in-out infinite;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-gold);
    z-index: -1;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.hero-image-wrapper:hover::before {
    top: -5px;
    right: -5px;
}

.hero-img-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.05) grayscale(0.1);
}

.hero-img-overlay {
    position: absolute;
    bottom: 2.5rem;
    left: 2.5rem;
    right: 2.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    color: var(--neutral-white);
}

.hero-img-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.hero-img-overlay p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
}

/* ==========================================================================
   ABOUT / HISTORY SECTION (Luis Herrera & Belkis Mambie Legacy)
   ========================================================================== */
.about {
    background: var(--neutral-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

.about-left {
    position: relative;
}

.about-badge {
    position: absolute;
    top: 10px;
    right: 35px;
    background: var(--primary-mid);
    color: var(--accent-gold);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border: 1px solid var(--accent-gold);
    z-index: 10;
    animation: rotateBadge 20s linear infinite;
}

.about-badge span {
    font-size: 1.5rem;
    line-height: 1;
    font-family: var(--font-serif);
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: justify;
}

.about-founders {
    border-left: 2px solid var(--accent-gold);
    padding-left: 1.5rem;
    margin: 2.5rem 0;
}

.founders-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--primary-light);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.founders-names {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 700;
    color: var(--text-muted);
}

.about-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--neutral-white);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 15px 35px rgba(47, 30, 52, 0.03);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(47, 30, 52, 0.08);
}

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

.stat-num {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
    display: inline-block;
}

.stat-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================================================
   THE GROUP STRUCTURE (Lhercaroma, Aromalys, Prototype)
   ========================================================================== */
.group-structure {
    background: var(--neutral-white);
    color: var(--text-dark);
}

.group-structure .section-intro h2 {
    color: var(--primary-dark);
}

.group-structure .section-intro p {
    color: var(--text-muted);
}

.group-structure .text-editorial {
    color: var(--accent-gold-dark);
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 5rem auto;
    text-align: center;
}

.group-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.company-card {
    background: var(--neutral-light);
    border: 1px solid rgba(0,0,0,0.06);
    padding: 0;
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.company-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--gradient-luxury);
    z-index: 1;
    transition: var(--transition-smooth);
}

.company-card-content {
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2.5rem 2.5rem 3rem;
}

/* Company Card Cover Image */
.company-card-cover {
    position: relative;
    width: 100%;
    height: 195px;
    overflow: hidden;
    flex-shrink: 0;
    z-index: 2;
}

.company-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.75s ease;
    filter: brightness(0.82) saturate(0.88);
    display: block;
}

.company-card-cover-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: linear-gradient(to bottom, transparent, var(--neutral-light));
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.company-card:hover .company-card-img {
    transform: scale(1.08);
    filter: brightness(0.55) saturate(0.5);
}

.company-card:hover .company-card-cover-fade {
    opacity: 0;
}

.company-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-mid);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 0px;
    margin-bottom: 2.5rem;
    border: 1px solid var(--accent-gold);
    transition: var(--transition-smooth);
}

.company-name {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.company-desc {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: var(--transition-smooth);
    flex-grow: 1;
}

.company-features {
    margin-bottom: 3rem;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 2rem;
    transition: var(--transition-smooth);
}

.company-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.company-feature-item:last-child {
    margin-bottom: 0;
}

.company-feature-item svg {
    color: var(--accent-gold);
    flex-shrink: 0;
}

/* Hover States for Cards */
.company-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(21, 7, 25, 0.2);
}

.company-card:hover::after {
    height: 100%;
}

.company-card:hover .company-name {
    color: var(--neutral-white);
}

.company-card:hover .company-desc {
    color: var(--text-light-muted);
}

.company-card:hover .company-icon {
    background: var(--neutral-white);
    color: var(--primary-dark);
    border-color: var(--neutral-white);
}

.company-card:hover .company-features {
    border-top-color: rgba(255,255,255,0.15);
}

.company-card:hover .company-feature-item {
    color: var(--text-light);
}

/* ==========================================================================
   EXPERTISE SECTION (B2B Fragrances & Materials Grid)
   ========================================================================== */
.expertise {
    background: var(--neutral-light);
}

.expertise-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--neutral-white);
    border: 1px solid rgba(0,0,0,0.08);
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--text-muted);
}

.tab-btn:hover {
    background: rgba(197, 160, 89, 0.05);
    color: var(--primary-dark);
}

.tab-btn.active {
    background: var(--primary-mid);
    color: var(--accent-gold);
    border-color: var(--primary-mid);
}

.expertise-content {
    position: relative;
    min-height: 480px;
}

.tab-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 5rem;
    align-items: center;
}

.tab-pane.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
}

.pane-left {
    display: flex;
    flex-direction: column;
}

.pane-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 1rem;
}

.pane-title {
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.pane-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    text-align: justify;
}

.pane-bullets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.bullet-item svg {
    color: var(--accent-gold);
}

.pane-right {
    position: relative;
}

.pane-image-wrapper {
    position: relative;
    border: 1px solid var(--accent-gold);
    padding: 1rem;
    background: var(--neutral-white);
    box-shadow: 0 20px 45px rgba(47, 30, 52, 0.08);
}

.pane-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    background: var(--primary-mid);
    z-index: -1;
    pointer-events: none;
}

.pane-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    filter: brightness(0.95);
}

/* ==========================================================================
   CAROUSEL / GALLERY SECTION
   ========================================================================== */
.gallery {
    background: var(--gradient-luxury);
    color: var(--text-light);
    overflow: hidden;
}

.gallery-slider-wrapper {
    position: relative;
    margin-top: 3rem;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    cursor: grab;
}

.slider-container:active {
    cursor: grabbing;
}

.slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.slide-item {
    min-width: 33.333%;
    padding: 0 1.25rem;
    flex-shrink: 0;
    box-sizing: border-box;
}

.slide-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 1.2rem;
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.slide-img-wrapper {
    width: 100%;
    height: 320px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(0.8) contrast(1.05);
}

.slide-card:hover .slide-img {
    transform: scale(1.1);
    filter: brightness(1) contrast(1);
}

.slide-card:hover {
    border-color: rgba(197, 160, 89, 0.4);
    transform: translateY(-8px);
    box-shadow: var(--glass-shadow);
}

.slide-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--neutral-white);
    margin-bottom: 0.5rem;
}

.slide-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    font-weight: 600;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3.5rem;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border: 1px solid var(--glass-border);
    background: transparent;
    color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-arrow:hover {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border-color: transparent;
}

.slider-dots {
    display: flex;
    gap: 0.75rem;
}

.slider-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dot.active {
    width: 25px;
    border-radius: 4px;
    background: var(--accent-gold);
}

/* ==========================================================================
   SUSTAINABILITY / VISION SECTION
   ========================================================================== */
.sustainability {
    background: var(--neutral-white);
    position: relative;
}

.sustainability-bg-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(74, 26, 87, 0.03) 100%);
    pointer-events: none;
}

.sus-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 6rem;
    align-items: center;
}

.sus-left {
    position: relative;
}

.sus-image-panel {
    border: 1px solid var(--accent-gold);
    padding: 1.5rem;
    background: var(--neutral-white);
}

.sus-img {
    height: 480px;
    width: 100%;
    object-fit: cover;
    filter: sepia(0.2) contrast(1.05);
}

.sus-quote {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--primary-mid);
    color: var(--neutral-white);
    padding: 1.2rem 1.5rem;
    border-left: 4px solid var(--accent-gold);
    max-width: 240px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.sus-quote p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.sus-quote cite {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    color: var(--accent-gold);
    font-style: normal;
    font-weight: 700;
}

.sus-right-content {
    display: flex;
    flex-direction: column;
}

.sus-pillar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}

.sus-pillar {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.pillar-icon {
    width: 45px;
    height: 45px;
    background: rgba(133, 61, 153, 0.08);
    color: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.pillar-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.pillar-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact {
    background: var(--neutral-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.contact-info-panel {
    background: var(--primary-mid);
    color: var(--text-light);
    padding: 4rem 3rem;
    border-top: 3px solid var(--accent-gold);
    box-shadow: 0 20px 45px rgba(21, 7, 25, 0.15);
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-light-muted);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-item-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--neutral-white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 3.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-white);
    transition: var(--transition-smooth);
}

.social-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-color: transparent;
    transform: translateY(-3px);
}

/* Glassmorphism Form */
.contact-form-wrapper {
    background: var(--neutral-white);
    padding: 4.5rem;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 25px 55px rgba(47, 30, 52, 0.05);
    position: relative;
}

.form-group-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    position: relative;
}

.form-group.full-width {
    margin-bottom: 2.5rem;
}

.form-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
    transition: var(--transition-fast);
}

.form-control {
    background: var(--neutral-light);
    border: 1px solid rgba(0,0,0,0.08);
    padding: 1.1rem 1.25rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition-smooth);
    border-radius: 0px;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: var(--neutral-white);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.08);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

/* WhatsApp Submit Button */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.2rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--neutral-white);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #2EE876 0%, #25D366 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:active {
    transform: translateY(0);
}

/* Form validation error message */
.form-error-msg {
    margin-top: 1rem;
    padding: 0.9rem 1.2rem;
    background: rgba(220, 50, 50, 0.08);
    border-left: 3px solid #dc3232;
    color: #c0392b;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 0;
    animation: fadeInMsg 0.3s ease;
}

@keyframes fadeInMsg {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 6rem 0 2rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo-text {
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--text-light-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    margin-bottom: 1.8rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.footer-link {
    font-size: 0.9rem;
    color: var(--text-light-muted);
}

.footer-link:hover {
    color: var(--accent-gold-light);
    transform: translateX(5px);
}

/* Footer Social Grid (replaces newsletter) */
.footer-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.footer-social-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-light-muted);
    font-size: 0.82rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    text-decoration: none;
    border-radius: 0;
}

.footer-social-btn:hover {
    background: rgba(197, 160, 89, 0.12);
    border-color: var(--accent-gold);
    color: var(--accent-gold-light);
    transform: translateX(3px);
}

.footer-social-btn--whatsapp:hover {
    background: rgba(37, 211, 102, 0.12);
    border-color: #25D366;
    color: #25D366;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    padding-right: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-light-muted);
}

.footer-dev-link {
    color: var(--accent-gold);
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: var(--transition-fast);
    border-bottom: 1px solid transparent;
}

.footer-dev-link:hover {
    color: var(--accent-gold-light);
    border-bottom-color: var(--accent-gold-light);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-mid);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: var(--glass-shadow);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Delays */
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes floatParticle {
    0% { transform: translateY(100vh) translateX(0) scale(1); opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.7; }
    100% { transform: translateY(-20vh) translateX(100px) scale(1.2); opacity: 0; }
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes rotateBadge {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    section {
        padding: 6rem 0;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding-top: var(--header-height);
    }
    
    .hero-tagline {
        justify-content: center;
    }
    
    .hero-description {
        margin: 0 auto 2.5rem auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        display: none; /* Hide visual on smaller tablets/mobiles to keep clean spacing */
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .group-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .group-grid .company-card:last-child {
        grid-column: span 2;
    }
    
    .tab-pane {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .pane-right {
        order: -1;
    }
    
    .pane-img {
        height: 300px;
    }
    
    .slide-item {
        min-width: 50%;
    }
    
    .sus-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .sus-quote {
        position: static;
        margin-top: 2rem;
        max-width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 105px;
    }
    
    .header.scrolled {
        height: 90px;
    }
    
    .logo-full-img {
        height: 74px;
    }
    
    .header.scrolled .logo-full-img {
        height: 60px;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--primary-dark);
        border-left: 1px solid var(--glass-border);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition-smooth);
        padding: 3rem;
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .group-grid {
        grid-template-columns: 1fr;
    }
    
    .group-grid .company-card:last-child {
        grid-column: span 1;
    }
    
    .slide-item {
        min-width: 100%;
    }
    
    .form-group-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form-wrapper {
        padding: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .about-badge {
        width: 80px;
        height: 80px;
        top: -15px;
        right: 15px;
    }
    
    .about-badge span {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   BUTTON LOADING STATE
   ========================================================================== */
.btn-primary.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-primary.loading::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    top: calc(50% - 11px);
    left: calc(50% - 11px);
    border: 2.5px solid rgba(21, 7, 25, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary-dark);
    animation: button-spinner 0.6s linear infinite;
}

@keyframes button-spinner {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   PREMIUM SUCCESS MODAL
   ========================================================================== */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 5, 20, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
}

.contact-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 3.5rem 3rem;
    width: 90%;
    max-width: 480px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.contact-modal-overlay.active .contact-modal-card {
    transform: scale(1);
}

/* Glassmorphic card animated border accent */
.contact-modal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
}

/* Checkmark draw micro-animation */
.checkmark-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem auto;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--accent-gold);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 3;
    stroke: var(--neutral-white);
    fill: none;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--neutral-white);
    margin-bottom: 1rem;
}

.modal-desc {
    font-size: 0.95rem;
    color: var(--text-light-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modal-redirect-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    font-weight: 600;
}

.modal-redirect-text span {
    color: var(--neutral-white);
    font-size: 1rem;
}

/* ==========================================================================
   OUR REACH / ALCANCE SECTION
   ========================================================================== */
.reach-section {
    background: var(--neutral-white);
    position: relative;
}

.reach-bg-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(270deg, transparent 0%, rgba(74, 26, 87, 0.03) 100%);
    pointer-events: none;
}

.reach-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

.reach-left {
    position: relative;
}

.reach-image-panel {
    border: 1px solid var(--accent-gold);
    padding: 1.5rem;
    background: var(--neutral-white);
}

.reach-img {
    width: 100%;
    height: auto;
    display: block;
}

.reach-right {
    display: flex;
    flex-direction: column;
}

.reach-pillar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}

@media (max-width: 992px) {
    .reach-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .reach-bg-accent {
        display: none;
    }
}

.inline-flag {
    display: inline-block;
    height: 13px;
    width: 20px;
    max-width: 20px;
    max-height: 13px;
    object-fit: cover;
    vertical-align: middle;
    margin-left: 6px;
    border-radius: 1px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
    flex-shrink: 0;
}




