/* ==========================================================================
   Papelera Vinto — Design System v6.1
    Fonts: Plus Jakarta Sans (Headings) + DM Sans (Body)
   Palette: Pure Whites + Warm Grays + Vibrant Brand Green
   Inspired by premium paper tissue: clean, tactile, refined
   ========================================================================== */

:root {
    /* Typography — premium clean sans, tissue-brand feel */
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-primary: 'DM Sans', sans-serif;
    --font-serif: 'Plus Jakarta Sans', sans-serif;

    /* Brand Green — vibrant, fresh */
    --color-brand:       #2db84b;
    --color-brand-light: #4cd966;
    --color-brand-dim:   #1a8f37;
    --color-brand-glow:  rgba(45, 184, 75, 0.20);

    /* Backgrounds — pure whites & warm grays */
    --bg-white:    #ffffff;
    --bg-off:      #f8f8f6;
    --bg-light:    #f2f2ef;
    --bg-mist:     #ebebе7;
    --bg-dark:     #1a1a1a;
    --bg-deep:     #111111;

    /* Text — charcoal on light */
    --text-main:   #1a1a1a;
    --text-body:   #3d3d3d;
    --text-muted:  #6b6b6b;
    --text-light:  #9a9a9a;
    --color-white: #ffffff;

    /* Gray Scale */
    --gray-100: #f5f5f3;
    --gray-200: #e8e8e5;
    --gray-300: #d1d1cc;
    --gray-400: #a8a8a3;
    --gray-500: #6b6b66;
    --gray-600: #3d3d3a;
    --gray-700: #1a1a18;

    /* Accent */
    --color-accent:       var(--color-brand);
    --color-accent-hover: var(--color-brand-dim);
    --color-celeste:      #5bc0eb;
    --color-celeste-dim:  #3da8d4;

    /* Surfaces */
    --glass-bg:     rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.06);
    --card-bg:      #ffffff;
    --shadow-soft:  0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.10);
    --shadow-brand: 0 8px 30px var(--color-brand-glow);
}
* { margin: 0; padding: 0; box-sizing: border-box; }

html { margin: 0; padding: 0; border: none; width: 100%; height: 100%; overflow-x: hidden; }
body { margin: 0; padding: 0; border: none; width: 100%; min-height: 100vh; overflow-x: hidden; }

a { text-decoration: none; }


.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 4vw;
}
@media (max-width: 600px) {
    .container { padding: 0 1rem; }
}

/* Body — Light Theme */
body.premium-dark-theme,
body.premium-light-theme {
    font-family: var(--font-primary);
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.accent-serif {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--color-brand);
}

.kicker-green {
    color: var(--color-brand);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

/* backward compat */
.kicker-blue { color: var(--color-brand); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.75rem; font-weight: 600; display: block; margin-bottom: 1rem; }

/* ==========================================================================
   Section Backgrounds — clean, visible, alternating
   ========================================================================== */
.section-bg-green-light {
    background:
        radial-gradient(ellipse 70% 50% at 0% 5%, rgba(91,192,235,0.35) 0%, rgba(255,255,255,0.3) 40%, transparent 55%),
        radial-gradient(ellipse 65% 50% at 100% 92%, rgba(91,192,235,0.30) 0%, rgba(255,255,255,0.3) 40%, transparent 55%),
        linear-gradient(135deg, #e6f4e6 0%, #d0eace 100%) !important;
    animation: sectionGlow1 6s ease-in-out infinite alternate;
}
.section-bg-celeste-light {
    background:
        radial-gradient(ellipse 70% 50% at 100% 5%, rgba(45,184,75,0.28) 0%, rgba(255,255,255,0.3) 40%, transparent 55%),
        radial-gradient(ellipse 65% 50% at 0% 92%, rgba(45,184,75,0.24) 0%, rgba(255,255,255,0.3) 40%, transparent 55%),
        linear-gradient(135deg, #e6f2f8 0%, #cfe6f2 100%) !important;
    animation: sectionGlow2 8s ease-in-out infinite alternate;
}
.section-bg-warm {
    background:
        radial-gradient(ellipse 65% 45% at 0% 5%, rgba(91,192,235,0.10) 0%, rgba(255,255,255,0.2) 35%, transparent 55%),
        radial-gradient(ellipse 55% 40% at 100% 92%, rgba(45,184,75,0.07) 0%, rgba(255,255,255,0.2) 35%, transparent 55%),
        linear-gradient(135deg, #f9f7f4 0%, #f5f3ef 100%) !important;
    animation: sectionGlow1 7s ease-in-out infinite alternate;
}

@keyframes sectionGlow1 {
    0% { background-size: 100% 100%, 100% 100%, 100% 100%; }
    100% { background-size: 120% 120%, 110% 110%, 100% 100%; }
}
@keyframes sectionGlow2 {
    0% { background-size: 100% 100%, 100% 100%, 100% 100%; }
    100% { background-size: 110% 110%, 120% 120%, 100% 100%; }
}

/* ==========================================================================
   Preloader
   ========================================================================== */
.cinematic-loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #111;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.loader-brand {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    color: #ffffff;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.loader-logo {
    width: 120px;
    filter: none;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    margin-bottom: 0.5rem;
}

.loader-line-container {
    width: 200px;
    height: 1px;
    background: rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.loader-line {
    position: absolute;
    top: 0; left: 0; height: 100%; width: 0%;
    background: var(--color-brand);
    box-shadow: 0 0 12px var(--color-brand-glow);
    animation: loadLine 1.5s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

.loader-text {
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    color: #64748b;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.3s forwards;
}

@keyframes loadLine {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.glass-nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    z-index: 100;
    padding: 1.5rem 0;
    background: transparent;
    transition: all 0.4s ease;
}

.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 30px;
    filter: none;
    position: relative;
    z-index: 102;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 102;
}

.hamburger-menu span {
    width: 30px;
    height: 2px;
    background: var(--text-main);
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

@media (max-width: 1200px) and (min-width: 993px) {
    .nav-links {
        gap: 1.25rem;
    }
    .nav-links a {
        font-size: 0.8rem;
    }
    .nav-container {
        padding: 0 3vw;
    }
}


.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: var(--color-brand);
}

.btn-glass {
    background: transparent;
    border: 1px solid rgba(57, 211, 83, 0.35);
    color: var(--color-brand);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: var(--color-brand);
    border-color: var(--color-brand);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand);
}

/* ==========================================================================
   Hero Section — Studio Light Gradient + Editorial Glow
   ========================================================================== */
.hero-animated-bg {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #faf8f5 0%, #f5f3ee 100%);
}

/* Hero — Neon Pulse effect */
.hero-animated-bg {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg,
            rgba(91,192,235,0.35) 0%,
            rgba(91,192,235,0.26) 15%,
            rgba(91,192,235,0.15) 30%,
            rgba(91,192,235,0.05) 42%,
            rgba(45,184,75,0.05) 48%,
            rgba(45,184,75,0.15) 58%,
            rgba(45,184,75,0.26) 75%,
            rgba(45,184,75,0.35) 90%,
            rgba(45,184,75,0.30) 100%
        ),
        linear-gradient(180deg, #e8eae4 0%, #dde0d8 100%);
}

.neon-layer { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.neon-wrap {
    position: absolute; inset: 0;
    animation: neonPulse 4s ease-in-out infinite alternate;
    pointer-events: none;
    overflow: hidden;
}
.neon-ring {
    position: absolute; border-radius: 50%;
    border: 2px solid;
    pointer-events: none;
    transition: transform 0.15s ease-out;
}
.neon-ring1 {
    width: 700px; height: 700px; top: -15%; right: -10%;
    border-color: rgba(91,192,235,0.35);
    box-shadow: 0 0 120px rgba(91,192,235,0.15), inset 0 0 120px rgba(91,192,235,0.06);
}
.neon-ring2 {
    width: 500px; height: 500px; bottom: -20%; left: -5%;
    border-color: rgba(45,184,75,0.30);
    box-shadow: 0 0 100px rgba(45,184,75,0.12), inset 0 0 100px rgba(45,184,75,0.05);
    animation-delay: 2s;
}
.neon-ring3 {
    width: 350px; height: 350px; top: 15%; left: 10%;
    border-color: rgba(91,192,235,0.22);
    box-shadow: 0 0 80px rgba(91,192,235,0.10);
    animation-delay: 1s;
}
.neon-ring4 {
    width: 250px; height: 250px; bottom: 20%; right: 15%;
    border-color: rgba(45,184,75,0.25);
    box-shadow: 0 0 80px rgba(45,184,75,0.10);
    animation-delay: 3s;
}
@keyframes neonPulse {
    0% { opacity: 0.4; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.1); }
}

/* 3D canvas layer */
.hero-3d-full {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 3;
    touch-action: pan-y;
}

/* Split layout */
.hero-container-split {
    position: relative;
    z-index: 10;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    pointer-events: none;
}

.hero-content-left {
    text-align: left;
    max-width: 600px;
}

/* Kicker badge */
.hero-kicker-clean {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    color: var(--color-brand);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 2rem;
}

/* Logo */
.hero-medium-logo {
    height: 130px;
    margin-bottom: 1.5rem;
    filter: none;
}

/* Title — Plus Jakarta Sans, dark on light */
.hero-title-modern {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4.8rem);
    font-weight: 600;
    line-height: 1.12;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

/* Subtitle */
.hero-subtitle-modern {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.hero-actions {
    pointer-events: auto;
}

/* Button CTA — brand green */
.btn-solid-dark {
    display: inline-block;
    background: var(--color-brand);
    color: var(--bg-white);
    padding: 0.9rem 2.4rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: all 0.35s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 28px var(--color-brand-glow);
}

.btn-solid-dark:hover {
    background: var(--color-brand-light);
    transform: translateY(-3px);
    box-shadow: 0 14px 40px var(--color-brand-glow);
}

/* Scroll indicator — dark on light */
.scroll-indicator {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
}

.scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.line-down {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
}

/* ==========================================================================
   About (Immersive Dark Wavy Layout)
   ========================================================================== */
.about-immersive {
    position: relative;
    padding: 7.5rem 0;
    overflow: hidden;
    background: var(--bg-off);
}

.wavy-bg-animated {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background:
        radial-gradient(ellipse at 40% 30%, rgba(45, 184, 75, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 60%, rgba(45, 184, 75, 0.03) 0%, transparent 50%);
    animation: waveDrift 30s ease-in-out infinite alternate;
    z-index: 1;
}

/* Elegant wave lines using SVG */
.wavy-bg-animated::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,400 C320,200 420,600 720,400 C1020,200 1120,600 1440,400 L1440,800 L0,800 Z' fill='none' stroke='rgba(255,255,255,0.02)' stroke-width='2'/%3E%3Cpath d='M0,500 C320,300 420,700 720,500 C1020,300 1120,700 1440,500 L1440,800 L0,800 Z' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
}

@keyframes waveDrift {
    0% { transform: rotate(0deg) scale(1) translate(0, 0); }
    100% { transform: rotate(2deg) scale(1.05) translate(-1%, -1%); }
}

.about-split-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 52px rgba(12, 64, 34, 0.16);
    aspect-ratio: 16/10;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}

.factory-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.96) contrast(1.04) saturate(0.98);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-wrapper:hover .factory-image {
    transform: scale(1.05);
}

.image-border-accents {
    position: absolute;
    top: 15px; left: 15px; right: 15px; bottom: 15px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    pointer-events: none;
    z-index: 2;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-top: 3px solid var(--color-brand);
    border-radius: 24px;
    padding: 2.5rem 3rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
}

.panel-title {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 2rem;
    color: var(--text-main);
    font-weight: 500;
    letter-spacing: -0.02em;
}

.panel-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 3.5rem;
    line-height: 1.85;
    font-weight: 400;
}

.stats-row {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--gray-200);
    padding-top: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    color: var(--color-brand);
    line-height: 1;
}

.stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-gray-400);
    margin-top: 0.3rem;
}

/* ==========================================================================
    Pillars (Sello) - Premium Elegant Design
    ========================================================================== */
.seal-section {
    position: relative;
    padding: 7.5rem 0;
    background: var(--bg-light);
    overflow: hidden;
}

/* Subtle green radial bg */
.seal-section::before {
    content: '';
    position: absolute;
    top:0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(ellipse at 30% 20%, rgba(57, 211, 83, 0.06) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(57, 211, 83, 0.03) 0%, transparent 50%);
    animation: sealBgPulse 8s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes sealBgPulse {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

.seal-section .container {
    position: relative;
    z-index: 2;
}

.section-header {
    margin-bottom: 5rem;
    text-align: center;
}

@keyframes elegantFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.15;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.seal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.glow-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 3.5rem 2.5rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
}

.glow-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-brand), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.glow-card:hover::before {
    opacity: 1;
}

.glow-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(45, 184, 75, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.card-icon {
    font-size: 2.8rem;
    color: var(--color-brand);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.5s ease;
}

.glow-card:hover .card-icon {
    transform: scale(1.1) rotate(4deg);
}

.glow-card h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.glow-card:hover h3 {
    color: var(--color-brand);
}

.glow-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.97rem;
}


/* ==========================================================================
   Showcase (Productos) - Clean Dark Gallery
   ========================================================================== */
.showcase-section {
    padding: 7rem 0;
    background:
        linear-gradient(135deg, rgba(245, 250, 247, 0.6) 0%, rgba(255, 255, 255, 0.95) 42%, rgba(243, 249, 246, 0.5) 100%);
}

.products-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
    align-items: end;
    gap: 3rem;
    margin-bottom: 3.75rem;
}

.products-heading .section-title {
    margin-bottom: 0;
}

.products-heading p {
    margin: 0 0 0.55rem;
    color: var(--text-muted);
    font-size: 1.03rem;
    line-height: 1.75;
}
/* Products Carousel */
.products-carousel-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.products-carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 1.5rem 0.5rem;
}

.products-carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.products-carousel-track .showcase-item {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.carousel-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-main);
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
}

.carousel-nav-btn:hover {
    background: var(--color-brand);
    color: var(--color-white);
    border-color: var(--color-brand);
    transform: scale(1.05);
    box-shadow: var(--shadow-brand);
}

.carousel-nav-btn:active {
    transform: scale(0.95);
}

/* Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--color-brand);
}

@media (max-width: 992px) {
    .products-carousel-track .showcase-item {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
    }
    .carousel-nav-btn {
        display: none; /* Hide side arrows on tablet/mobile and rely on dots/drag */
    }
    .products-carousel-container {
        gap: 0;
    }
}


.showcase-item {
    position: relative;
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    align-items: center;
    gap: 2.4rem;
    min-height: 300px;
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 18px;
    padding: 1.25rem 1.75rem;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.95);
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(12, 64, 34, 0.07);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, background 0.5s ease;
}

.showcase-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 26px 58px rgba(12, 64, 34, 0.12);
    border-color: rgba(45, 184, 75, 0.2);
}

.showcase-item-featured {
    border-color: rgba(25, 154, 71, 0.24);
    box-shadow: 0 18px 48px rgba(25, 154, 71, 0.1);
}

.spotlight {
    position: absolute;
    top: -90px;
    left: -70px;
    width: 330px;
    height: 330px;
    background: radial-gradient(circle, rgba(57, 211, 83, 0.14) 0%, transparent 68%);
    pointer-events: none;
}

.product-category {
    display: block;
    color: #1b703a;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    grid-column: 1 / -1;
}

.product-render {
    position: relative;
    z-index: 1;
    width: 210px;
    height: 210px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin: 0 auto;
    padding: 1.25rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #f0f6f2 0%, #eef5ef 100%);
    box-shadow: inset 0 2px 10px rgba(12, 64, 34, 0.04);
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.08));
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-render-wide {
    width: 210px;
    height: 210px;
}

.showcase-item:hover .product-render {
    transform: scale(1.035) rotate(1deg);
}

.showcase-info h3 {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 1.95vw, 2.1rem);
    line-height: 1.05;
    font-weight: 650;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.showcase-info p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 0.92rem;
    line-height: 1.62;
}

.product-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-points li {
    padding: 0.38rem 0.62rem;
    border: 1px solid rgba(20, 120, 59, 0.16);
    border-radius: 999px;
    background: rgba(238, 248, 242, 0.75);
    color: rgba(27, 70, 45, 0.88);
    font-size: 0.72rem;
    font-weight: 700;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.link-arrow i {
    transition: transform 0.3s ease;
}

.link-arrow:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
    Footer ultra-simple (solo funcional)
    ========================================================================== */
.footer-premium {
    background: linear-gradient(180deg, #fafafa 0%, #f0f0eb 100%);
    position: relative;
    width: 100%;
    min-width: 100%;
    overflow: visible;
    border-top: 1px solid rgba(45, 184, 75, 0.15);
}

.footer-wave-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-brand), transparent);
    opacity: 0.6;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 3rem 2rem 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Brand Column */
.footer-brand .footer-logo {
    height: 72px;
    margin-bottom: 1rem;
    filter: none;
    -webkit-filter: none;
}

.footer-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 280px;
}

.footer-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(45, 184, 75, 0.08);
    border: 1px solid rgba(45, 184, 75, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--color-brand);
    font-weight: 500;
}

.footer-badges .badge i {
    font-size: 0.9rem;
}

/* Common Heading Style */
.footer-heading {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--color-brand);
    border-radius: 2px;
}

/* Navigation Column */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 1rem;
}

.footer-links li {
    margin-bottom: 0;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-links a i {
    font-size: 0.75rem;
    color: var(--color-brand);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.25s ease;
}

.footer-links a:hover {
    color: var(--color-brand);
    transform: translateX(6px);
}

.footer-links a:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Column */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    margin-bottom: 1rem;
}

.footer-contact-list a,
.footer-location {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-contact-list a i {
    color: var(--color-brand);
    font-size: 1.1rem;
}

.footer-contact-list a:hover {
    color: var(--color-brand);
}

.footer-location {
    font-style: normal;
}

/* Social Column */
.footer-social-links {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.social-icon:hover {
    background: var(--color-brand);
    border-color: var(--color-brand);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(45, 184, 75, 0.25);
}

/* Newsletter */
.newsletter-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    transition: all 0.25s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px rgba(45, 184, 75, 0.1);
}

.newsletter-btn {
    padding: 0.75rem;
    background: var(--color-brand);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.newsletter-btn:hover {
    background: #259e3f;
    transform: scale(1.05);
}

/* Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.dev-credit {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}

.dev-credit a {
    color: var(--color-brand);
    text-decoration: none;
    font-weight: 500;
}

.dev-credit a:hover {
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .footer-container {
        padding: 2rem 1.25rem 1rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-brand {
        grid-column: span 1;
        text-align: center;
    }
    .footer-brand .footer-logo {
        margin: 0 auto 1rem;
    }
    .footer-desc {
        max-width: 100%;
        text-align: center;
        margin: 0 auto 1.5rem;
    }
    .footer-badges {
        justify-content: center;
        display: flex;
    }
    .footer-heading {
        font-size: 1rem;
        text-align: center;
        display: block;
    }
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.5rem;
    }
    .footer-links a {
        justify-content: center;
        display: flex;
    }
    .footer-contact-list {
        text-align: center;
    }
    .footer-contact-list li {
        display: flex;
        justify-content: center;
    }
    .footer-contact-list a {
        justify-content: center;
    }
    .footer-location {
        justify-content: center;
        display: flex;
    }
    .footer-social-links {
        justify-content: center;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-btn {
        width: 100%;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

.footer-logo {
    height: 72px;
    filter: brightness(0) invert(1);
    margin-bottom: 2rem;
}

.contact-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.contact-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.method {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.method i {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.method:hover {
    color: #fff;
}

.glass-form {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 3rem;
    border-radius: 16px;
}

.glass-form h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.glass-form input, .glass-form textarea {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    color: #fff;
    font-family: var(--font-primary);
    transition: border-color 0.3s ease;
}

.glass-form input:focus, .glass-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.w-100 { width: 100%; }

.btn-solid-blue {
    display: inline-block;
    background: var(--color-brand);
    color: var(--bg-deep);
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 8px 24px var(--color-brand-glow);
}

.btn-solid-blue:hover {
    background: var(--color-brand-light);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px var(--color-brand-glow);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-light);
    font-size: 0.9rem;
}

.dev-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.dev-link img {
    height: 20px;
    filter: brightness(0) invert(1) opacity(0.5);
}

/* ==========================================================================
    Elegant Page Transitions & Animations
    ========================================================================== */
.fade-up, .slide-left, .slide-right, .slide-up {
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.fade-up { transform: translateY(40px) scale(0.98); }
.slide-left { transform: translateX(40px) scale(0.98); }
.slide-right { transform: translateX(-40px) scale(0.98); }
.slide-up { transform: translateY(60px) scale(0.98); }

.revealed {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Dynamic entry animations */
.fade-in-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

.slide-rotate-left {
    opacity: 0;
    transform: translateX(-60px) rotate(-3deg) scale(0.95);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.slide-rotate-left.revealed {
    opacity: 1;
    transform: translateX(0) rotate(0deg) scale(1);
}

.slide-rotate-right {
    opacity: 0;
    transform: translateX(60px) rotate(3deg) scale(0.95);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.revealed {
    will-change: auto;
}

.slide-rotate-right.revealed {
    opacity: 1;
    transform: translateX(0) rotate(0deg) scale(1);
}

/* Parallax movement on sections */
.about-immersive .wavy-bg-animated,
.seal-section .container,
.showcase-section .section-header {
    transition: transform 0.3s ease-out;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Smooth page transitions */
body {
    transition: background-color 0.6s ease, color 0.6s ease;
}

/* Elegant link transitions */
a {
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Button hover transitions */
.btn-solid-dark, .btn-solid-blue, .btn-glass {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Image hover effects */
img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-animated-bg {
        display: flex;
        align-items: stretch;
        padding: 0;
        height: 100vh;
        height: 100dvh;
        min-height: 680px;
        overflow: hidden;
    }
    .hero-container-split {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        flex: 1;
        height: 100%;
        box-sizing: border-box;
        padding: 6rem 1.25rem max(1.4rem, env(safe-area-inset-bottom));
    }
    .hero-right-spacer { display: none; }
    .hero-content-left {
        text-align: center;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: 100%;
        width: 100%;
        max-width: min(100%, 420px);
        gap: 0;
    }
    .hero-kicker-clean { justify-content: center; margin-bottom: 0.8rem !important; }
    .hero-brand-lockup { margin-bottom: 0.6rem !important; }
    .hero-title-modern {
        font-size: clamp(1.78rem, 6.7vw, 2.42rem) !important;
        margin-bottom: 0.65rem !important;
        line-height: 1.08;
        max-width: min(100%, 330px);
        white-space: normal;
        overflow-wrap: normal;
        text-wrap: balance;
    }
    .hero-subtitle-modern {
        font-size: clamp(0.8rem, 3.15vw, 0.9rem) !important;
        line-height: 1.4;
        margin-bottom: 0 !important;
        max-width: min(90%, 355px);
    }
    .hero-actions {
        margin-top: 0;
        padding-top: 0;
        width: 100%;
        pointer-events: auto;
    }
    .about-split-layout { grid-template-columns: 1fr; }
    .about-immersive .container { justify-content: center; }
    .glass-panel { padding: 2.5rem; }
    .products-heading {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 1.25rem;
        margin-bottom: 2.75rem;
    }
    .products-carousel-track .showcase-item {
        /* On standard tablets, keep the clean horizontal layout (no vertical layout until smaller phones) */
        grid-template-columns: 180px minmax(0, 1fr);
        min-height: 0;
        text-align: left;
        padding: 1.25rem 1.75rem;
    }
    .product-category {
        text-align: left;
        margin-bottom: 0.25rem;
    }
    .product-points {
        justify-content: flex-start;
    }
    .footer-layout { grid-template-columns: 1fr; gap: 3rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    /* Mobile Menu Layout Fixes */
    .hamburger-menu { display: flex; order: 3; }
    .logo-link { order: 1; margin-right: auto; display: flex; align-items: center; }
    .glass-nav > .nav-container > .btn-glass {
        order: 2;
        margin-right: 1.25rem;
        font-size: 0.8rem;
        padding: 0.5rem 1.1rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }
    @media (max-width: 400px) {
        .nav-logo {
            height: 24px !important;
        }
        .glass-nav > .nav-container > .btn-glass {
            font-size: 0.72rem !important;
            padding: 0.4rem 0.85rem !important;
            margin-right: 0.75rem !important;
        }
        .hamburger-menu span {
            width: 24px !important;
        }
        .hamburger-menu {
            gap: 5px !important;
        }
    }
    .nav-links {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 100;
        margin: 0;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .nav-links a { font-size: 1.25rem; color: var(--text-main); }
    .nav-links .btn-glass { font-size: 1rem; padding: 0.8rem 1.8rem; }

    /* Centrar leyenda de scroll en móvil */
    .scroll-indicator {
        display: none !important;
    }

    /* Arreglar tarjetas en móvil: pasar a 1 columna */
    .seal-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .glow-card {
        padding: 3rem 2rem;
    }

    /* Reduce excessive spacing below and around the blog on mobile */
    .blog-section {
        padding: 4rem 0 !important;
    }
    .blog-grid {
        margin-bottom: 2rem !important;
    }
}

@media (max-width: 1180px) and (min-width: 993px) {
    .showcase-item {
        grid-template-columns: 170px minmax(0, 1fr);
        gap: 1.8rem;
        text-align: left;
        min-height: 0;
        padding: 1.25rem 1.35rem;
    }
    .product-render {
        height: 190px;
        margin: 0;
    }
    .product-points {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .products-carousel-track .showcase-item {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.25rem 1.25rem 1.75rem;
    }
    .product-category {
        text-align: center;
    }
    .product-points {
        justify-content: center;
    }
    .showcase-section {
        padding: 5rem 0;
    }
    .products-heading p {
        font-size: 0.96rem;
    }
}

@media (max-width: 600px) {
    .hero-container-split {
        padding: 5rem 1rem max(1.15rem, env(safe-area-inset-bottom));
    }
    .hero-title-modern {
        font-size: clamp(1.72rem, 7.2vw, 2.02rem) !important;
        max-width: 300px;
    }
    .hero-subtitle-modern {
        font-size: 0.88rem !important;
        max-width: 95%;
    }
    .hero-actions {
        padding-top: 0;
    }
    .blog-section {
        padding: 3rem 0 !important;
    }
    .footer-map-simple {
        height: 200px;
    }
    .footer-logo-simple {
        height: 30px;
    }
    .footer-contact-simple {
        font-size: 0.85rem;
    }
    
    .copyright-simple {
        font-size: 0.7rem;
    }
}

/* Estilos para el enlace simple en el copyright */
.dev-link-simple {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0.75rem;
}

.dev-link-simple img {
    height: 16px;
    filter: brightness(0) invert(1) opacity(0.7);
    transition: opacity 0.3s ease;
}

.dev-link-simple:hover img {
    opacity: 1;
}

/* ==========================================================================
   Blog Section - Vinto Premium Editorial Design  
   ========================================================================== */
.blog-section {
    padding: 8rem 0;
    background-color: var(--bg-white);
    position: relative;
    overflow-x: hidden;
}

.blog-gradient-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 400px;
    background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(45, 184, 75, 0.05), transparent 60%);
    pointer-events: none;
}

.blog-header-layout {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 1rem;
}

.blog-main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 600;
    word-break: break-word;
}

.blog-subtitle {
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.blog-kicker-tag {
    display: inline-block;
    padding: 0.4rem 1.1rem;
    background: var(--bg-off);
    border: 1px solid var(--gray-200);
    border-radius: 30px;
    margin-bottom: 1.5rem;
}

.blog-kicker-tag span {
    color: var(--color-brand);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Blog Grid: Premium Dark Theme */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 0;
}

/* Blog Card: Clean & Bright */
.blog-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--gray-200);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-brand), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 10;
}

.blog-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--gray-300);
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8e8e3 0%, #d4d4cf 100%);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 40%);
    opacity: 0.5;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.blog-card:hover .blog-card-image::after {
    opacity: 0.2;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem 0.5rem;
    gap: 1rem;
}

.blog-post-date {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    font-weight: 500;
}

.blog-post-category {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-brand);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    background: var(--color-brand-glow);
    border-radius: 4px;
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.4;
    margin: 0.5rem 0 1rem 0;
    color: var(--text-main);
    transition: color 0.3s ease;
    padding: 0 1.5rem;
    font-weight: 500;
}

.blog-card:hover .blog-card-title {
    color: var(--color-brand);
}

.blog-card-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    padding: 0 1.5rem;
    flex-grow: 1;
}

.blog-card-content {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: 1.5rem;
}

.blog-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-brand);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0 1.5rem 1.5rem;
    transition: all 0.3s ease;
}

.blog-link-arrow:hover {
    color: var(--color-brand-dim);
    gap: 12px;
}

/* ENHANCED BLOG SECTION STYLES (REMOVED: Unified above) */

/* ===== ARTICLE PAGE PREMIUM STYLES ===== */

/* Article Hero Section */
.article-hero {
    background: var(--bg-light);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(ellipse 100% 80% at 20% 0%, rgba(45, 184, 75, 0.05), transparent),
        radial-gradient(ellipse 60% 50% at 80% 100%, rgba(45, 184, 75, 0.03), transparent);
    pointer-events: none;
}

.article-hero .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 5vw;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--color-brand);
    gap: 12px;
}

.article-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-brand);
    background: var(--color-brand-glow);
    padding: 6px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.article-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 500;
}

.article-meta {
    display: flex;
    gap: 30px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Article Content */
.article-content {
    background: var(--bg-white);
    padding: 60px 0 80px;
    position: relative;
}

.article-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: var(--gray-200);
}

.article-featured-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 50px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--gray-200);
}

.article-body {
    max-width: 750px;
    margin: 0 auto;
    color: var(--text-body);
    font-size: 1.1rem;
    line-height: 1.9;
}

.article-body h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text-main);
    margin: 50px 0 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-200);
    font-weight: 500;
}

.article-body h3 {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    color: var(--text-main);
    margin: 35px 0 15px;
    font-weight: 600;
}

.article-body p {
    margin-bottom: 25px;
}

.article-body ul {
    margin: 25px 0 35px 20px;
    padding-left: 20px;
}

.article-body li {
    margin-bottom: 12px;
    position: relative;
    list-style: none;
}

.article-body li::before {
    content: '▹';
    position: absolute;
    left: -25px;
    color: var(--color-brand);
}

.article-body strong {
    color: var(--text-main);
    font-weight: 600;
}

/* Elegant drop cap for first paragraph */
.article-body > p:first-of-type::first-letter {
    font-family: var(--font-display);
    font-size: 3.5rem;
    float: left;
    line-height: 0.85;
    margin: 0.1em 0.1em 0 0;
    color: var(--color-brand);
    font-weight: 600;
}

/* Elegant blockquotes inside articles */
.article-body blockquote {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--text-main);
    border-left: 3px solid var(--color-brand);
    padding-left: 1.5rem;
    margin: 2.5rem 0;
    line-height: 1.6;
}

.article-share {
    max-width: 750px;
    margin: 60px auto 0;
    padding-top: 30px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
}

.article-share a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.article-share a:hover {
    color: var(--color-brand);
    transform: scale(1.2);
}

/* --- EXPORT SECTION: Flags Grid (Estilo Editorial Premium) --- */
.countries-flag-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.75rem;
    margin: 4rem auto 5rem;
    max-width: 1200px;
    align-items: stretch;
    justify-content: center;
}

.flag-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    padding: 2.2rem 1.25rem 1.8rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.48) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(12, 64, 34, 0.03), inset 0 2px 4px rgba(255,255,255,0.4);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.flag-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: background 0.3s ease;
}

.flag-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 100%);
    border-color: rgba(45, 184, 75, 0.3);
    box-shadow: 0 24px 48px rgba(12, 64, 34, 0.08);
}

.flag-card:hover::before {
    background: var(--color-brand);
}

.flag-card-home::before {
    background: #5bc0eb !important;
}

.flag-card-home:hover {
    border-color: rgba(91, 192, 235, 0.4);
}

.flag-img {
    height: 64px;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    filter: saturate(1.08) contrast(1.04);
}

.flag-card:hover .flag-img {
    transform: scale(1.14) rotate(1deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.flag-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.03em;
    font-family: var(--font-primary), sans-serif;
}

.flag-origin-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(91, 192, 235, 0.12);
    border: 1px solid rgba(91, 192, 235, 0.25);
    color: #0b729f;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 30px;
    letter-spacing: 0.8px;
}

/* Premium Bobinas Strip Style */
.bobinas-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    align-items: center;
    gap: 2.2rem;
    padding: 2.5rem 3rem;
    background: var(--bg-white);
    border-radius: 28px;
    border: 1px solid rgba(45, 184, 75, 0.1);
    box-shadow: 0 20px 50px rgba(12, 64, 34, 0.05);
    margin: 4rem auto 0;
    max-width: 1200px;
    position: relative;
}

.bobinas-strip-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.bobinas-icon {
    font-size: 1.8rem;
    color: var(--color-brand);
    background: rgba(45, 184, 75, 0.08);
    padding: 10px;
    border-radius: 16px;
    flex-shrink: 0;
}

.bobinas-strip-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.3rem;
}

.bobinas-strip-item span {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.bobinas-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.1rem 2rem;
    background: var(--color-brand);
    color: var(--color-white) !important;
    font-weight: 700;
    font-size: 0.94rem;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(45, 184, 75, 0.25);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bobinas-cta:hover {
    background: #25a23f;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(45, 184, 75, 0.35);
}

@media (max-width: 1200px) {
    .bobinas-strip {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        padding: 2.5rem;
    }
    .bobinas-cta {
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 992px) {
    .countries-flag-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 580px) {
    .countries-flag-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .flag-card {
        padding: 1.8rem 1rem 1.4rem;
    }
    .flag-img {
        height: 38px;
    }
    .flag-name {
        font-size: 0.85rem;
    }
}

/* --- EXPORT SECTION: Country rows --- */
.export-country-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.85);
    border-radius: 14px;
    transition: all 0.3s ease;
}
.export-country-row:hover {
    transform: translateX(5px);
    background: rgba(255,255,255,0.9);
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}
.country-flag {
    font-size: 1.7rem;
    line-height: 1;
    flex-shrink: 0;
}
.country-info {
    flex: 1;
    min-width: 0;
}
.country-info strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main, #111);
    margin-bottom: 0.1rem;
}
.country-info span {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}
.country-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-brand);
    background: rgba(45,184,75,0.1);
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    flex-shrink: 0;
}
.country-badge-home {
    color: #5bc0eb;
    background: rgba(91,192,235,0.12);
}
@media (max-width: 768px) {
    .export-layout {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
}

/* --- FLOATING WHATSAPP BUTTON (Antigravity Premium) --- */
.whatsapp-float-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    pointer-events: none;
    font-family: var(--font-primary), sans-serif;
}

.whatsapp-float-btn {
    pointer-events: auto;
    width: 60px;
    height: 60px;
    background: #2db84b;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    box-shadow: 0 8px 30px rgba(45, 184, 75, 0.4);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1) rotate(8deg);
    background: #25a23f;
    box-shadow: 0 12px 35px rgba(45, 184, 75, 0.6);
}

/* Premium Pulsing Glow Ring */
.whatsapp-float-btn::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid #2db84b;
    opacity: 1;
    animation: waPulse 2.2s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
    pointer-events: none;
}

/* Glassmorphism Tooltip */
.whatsapp-tooltip {
    pointer-events: auto;
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 14px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-right: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    white-space: nowrap;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-tooltip span {
    width: 6px;
    height: 6px;
    background: #2db84b;
    border-radius: 50%;
    display: inline-block;
    animation: waDotPulse 1.5s infinite;
}

.whatsapp-float-container:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Animations */
@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.45); opacity: 0; }
}

@keyframes waDotPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Mobile & Tablet responsiveness */
@media (max-width: 768px) {
    .whatsapp-float-container {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float-btn {
        width: 52px;
        height: 52px;
        font-size: 1.8rem;
        box-shadow: 0 6px 20px rgba(45, 184, 75, 0.45);
    }
    
    .whatsapp-tooltip {
        display: none; /* Hide tooltips on mobile views to avoid overlaps */
    }

    /* Showcase Brand Cards mobile centring and scaling */
    .showcase-grid-3 {
        gap: 1.5rem !important;
    }
    .showcase-item {
        /* Keep grid intact for default responsive views */
        border-radius: 18px !important;
    }
    .product-render {
        max-height: 220px !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
}

/* 3D Model Spacer and Centering for mobile Hero */
.hero-3d-mobile-spacer {
    display: none;
}

@media (max-width: 992px) {
    .hero-3d-mobile-spacer {
        display: block;
        flex: 0 0 clamp(245px, 35dvh, 315px);
        height: clamp(245px, 35dvh, 315px);
        width: 100%;
        pointer-events: none;
    }
    .hero-container-split {
        justify-content: flex-start !important;
        gap: clamp(0.65rem, 1.8dvh, 1rem) !important;
        padding-top: clamp(4.8rem, 9dvh, 6.2rem) !important;
        padding-bottom: max(1.25rem, env(safe-area-inset-bottom)) !important;
    }
    .hero-actions {
        margin-top: 0 !important;
        padding-top: 0 !important;
        text-align: center;
        width: 100% !important;
    }
    .hero-content-left {
        gap: 0 !important;
    }
}

@media (max-width: 390px) {
    .hero-3d-mobile-spacer {
        flex-basis: clamp(235px, 34dvh, 295px);
        height: clamp(235px, 34dvh, 295px);
    }
    .hero-medium-logo {
        height: 90px;
    }
}


/* ==========================================================================
   QA VISUAL FIX — Mobile spacing & typography (all pages)
   ========================================================================== */

/* 1. Section titles — responsive clamp to prevent overflow */
.section-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
}

/* 2. Better container horizontal padding on small phones */
@media (max-width: 600px) {
    .container { padding: 0 1.25rem; }
}
@media (max-width: 400px) {
    .container { padding: 0 1rem; }
}

/* 3. Section header margin + title size — mobile */
@media (max-width: 768px) {
    .section-header { margin-bottom: 2.5rem; }
    .section-title  { font-size: clamp(1.75rem, 7vw, 2.8rem); }
}

/* 4. Glass panel / glow card inner padding on small screens */
@media (max-width: 600px) {
    .glass-panel { padding: 2rem 1.25rem; }
    .glow-card   { padding: 2.5rem 1.5rem; }
}

/* 5. Trabaja: benefits split + vacancies grid → 1 col on mobile */
@media (max-width: 768px) {
    .benefits-split {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
    .benefits-image {
        order: -1;
        max-height: 260px;
        overflow: hidden;
        border-radius: 16px;
    }
    .benefits-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .vacancies-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
    .vacancy-card  { padding: 1.5rem !important; }
    .benefits-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* 6. RSE numbers grid + panels on small phones */
@media (max-width: 600px) {
    .rse-panel  { padding: 1.75rem 1.25rem; }
    .numbers-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 1rem !important; }
    .number-item .number-value { font-size: 2rem; }
}

/* 7. Blog article horizontal padding on mobile */
@media (max-width: 600px) {
    .article-hero .container,
    .article-content .container { padding-left: 1.25rem; padding-right: 1.25rem; }
}

/* 8. Prevent headings overflowing viewport on very small screens */
@media (max-width: 480px) {
    h1, h2, h3 { overflow-wrap: break-word; word-break: break-word; }
    .section-title { font-size: clamp(1.6rem, 7.5vw, 2.4rem); letter-spacing: -0.01em; }
}
