/* ============================================
   PrecisionTex - Estilos Exactos del Original
   Clon fiel del sitio React
   ============================================ */

/* ===== Variables CSS - Colores Exactos ===== */
:root {
    /* Colores principales - Exactos del original */
    --color-primary: oklch(0.72 0.18 130);
    /* Verde #7AB547 */
    --color-primary-rgb: 130, 180, 64;
    --color-primary-hex: #7AB547;

    /* Texto */
    --color-foreground: oklch(0.25 0.02 260);
    /* #1F2937 */
    --color-muted-foreground: oklch(0.55 0.02 260);
    /* #4B5563 */

    /* Fondos */
    --color-background: #ffffff;
    --color-muted: oklch(0.97 0.01 260);
    /* Gris muy claro */

    /* Tipografía */
    --font-sans: 'Open Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
    --font-heading: 'Montserrat', var(--font-sans);

    /* Espaciado */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;

    /* Bordes */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-full: 9999px;

    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* ===== Reset ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-foreground);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
}

@media (min-width: 640px) {
    .container {
        padding: 0 var(--spacing-6);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--spacing-8);
    }
}

/* ===== Header - Estilo Original ===== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.main-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.navbar {
    height: 72px;
    display: flex;
    align-items: center;
}

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

/* Logo - Estilo Original */
.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(130, 180, 64, 0.15), rgba(130, 180, 64, 0.25));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary-hex);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text .brand {
    font-size: 1.25rem;
    font-weight: 700;
}

.logo-text .brand .precision {
    color: var(--color-foreground);
}

.logo-text .brand .tex {
    color: var(--color-primary-hex);
}

.logo-text .tagline {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-muted-foreground);
    text-transform: uppercase;
}

/* Navegación - Estilo Original */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-8);
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-muted-foreground);
    padding: var(--spacing-2) 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary-hex);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary-hex);
    font-weight: 600;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Botón del header */
.btn-header {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-2) var(--spacing-4);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    background: var(--color-primary-hex);
    border: none;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.btn-header:hover {
    background: oklch(0.65 0.18 130);
    box-shadow: var(--shadow-md);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    padding: var(--spacing-2);
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-foreground);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    left: 0;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

/* ===== Main Content ===== */
.main-content {
    min-height: 100vh;
}

/* ===== Hero Section - Estilo Original ===== */
.hero {
    position: relative;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
    padding: var(--spacing-16) 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-2) var(--spacing-4);
    background: rgba(130, 180, 64, 0.1);
    border: 1px solid rgba(130, 180, 64, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary-hex);
    margin-bottom: var(--spacing-6);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: var(--spacing-6);
    line-height: 1.1;
}

.hero h1 .highlight {
    color: var(--color-primary-hex);
}

.hero-text {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
    margin-bottom: var(--spacing-8);
    max-width: 540px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-4);
    flex-wrap: wrap;
}

/* ===== Botones - Estilo Original ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-6);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: oklch(0.65 0.18 130);
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--color-foreground);
    border: 1px solid rgba(130, 180, 64, 0.2);
}

.btn-outline:hover {
    background: rgba(130, 180, 64, 0.05);
    border-color: var(--color-primary-hex);
}

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

.btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
}

/* ===== Stats Section ===== */
.stats-section {
    padding: var(--spacing-16) 0;
    background: var(--color-background);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-8);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary-hex);
    line-height: 1;
    margin-bottom: var(--spacing-2);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

/* ===== Section Styles ===== */
.section {
    padding: var(--spacing-20) 0;
}

.section-green {
    background: var(--color-primary-hex);
    color: white;
}

.section-muted {
    background: var(--color-muted);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-12);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-1) var(--spacing-3);
    background: rgba(130, 180, 64, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary-hex);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-4);
}

.section-green .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-4);
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--color-muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

.section-green .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

/* ===== Process Steps - Estilo Original ===== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-6);
}

.process-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--spacing-6);
    text-align: center;
    transition: all 0.3s ease;
}

.process-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.process-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--spacing-4);
    background: rgba(130, 180, 64, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary-hex);
}

.process-step {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary-hex);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-2);
}

.process-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-foreground);
    margin-bottom: var(--spacing-2);
}

.process-card p {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    line-height: 1.5;
}

/* ===== Products Section - Banner Verde ===== */
.products-banner {
    background: var(--color-primary-hex);
    padding: var(--spacing-16) 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-6);
    margin-bottom: var(--spacing-8);
}

.product-category {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--spacing-8);
}

.product-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-4);
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}

.product-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
}

.product-list li svg {
    width: 20px;
    height: 20px;
    color: white;
    flex-shrink: 0;
}

/* ===== About Grid ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-12);
    align-items: center;
}

.about-content h2 {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-6);
}

.about-content p {
    font-size: 1rem;
    color: var(--color-muted-foreground);
    margin-bottom: var(--spacing-4);
    line-height: 1.7;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ===== Footer - Estilo Original ===== */
.main-footer {
    background: rgba(248, 250, 252, 0.5);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: var(--spacing-16);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: var(--spacing-12);
    padding-bottom: var(--spacing-12);
}

.footer-brand .logo {
    margin-bottom: var(--spacing-4);
}

.footer-desc {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    line-height: 1.6;
    margin-bottom: var(--spacing-4);
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-foreground);
    margin-bottom: var(--spacing-4);
}

.footer-links li {
    margin-bottom: var(--spacing-2);
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-3);
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary-hex);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    gap: var(--spacing-2);
}

.newsletter-form input {
    flex: 1;
    padding: var(--spacing-3) var(--spacing-4);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    background: white;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-primary-hex);
}

.newsletter-form button {
    padding: var(--spacing-3) var(--spacing-4);
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-primary-hex);
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--color-primary-hex);
    color: white;
    border-color: var(--color-primary-hex);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-6) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.8125rem;
    color: var(--color-muted-foreground);
}

.footer-legal {
    display: flex;
    gap: var(--spacing-6);
}

.footer-legal a {
    color: var(--color-muted-foreground);
}

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

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, rgba(130, 180, 64, 0.05), rgba(130, 180, 64, 0.1));
    padding: var(--spacing-16) 0;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-4);
}

.page-header p {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: var(--spacing-2);
    margin-top: var(--spacing-4);
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.breadcrumb a:hover {
    color: var(--color-primary-hex);
}

.breadcrumb .current {
    color: var(--color-primary-hex);
}

/* ===== Contact Form ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-12);
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-4);
}

.contact-form {
    background: white;
    padding: var(--spacing-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: var(--spacing-5);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-foreground);
    margin-bottom: var(--spacing-2);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--spacing-3) var(--spacing-4);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary-hex);
    box-shadow: 0 0 0 3px rgba(130, 180, 64, 0.1);
}

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

/* ===== Cards ===== */
.card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--spacing-6);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        flex-direction: column;
        padding: var(--spacing-6);
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        padding: var(--spacing-4) 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-size: 1rem;
    }

    .btn-header {
        display: none;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-4);
        text-align: center;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

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

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

.animate-fade-up {
    animation: fadeInUp 0.5s ease forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* ===== Estilos Adicionales para Clon Exacto ===== */

/* Header Inner Layout */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* Logo Name */
.logo-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-foreground);
}

.logo-name .green {
    color: var(--color-primary-hex);
}

.logo-tagline {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-muted-foreground);
    text-transform: uppercase;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
}

/* Language Selector */
.lang-selector {
    display: flex;
    gap: var(--spacing-1);
}

.lang-btn {
    padding: var(--spacing-1) var(--spacing-2);
    font-size: 0.75rem;
    font-weight: 600;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-muted-foreground);
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--color-primary-hex);
    border-color: var(--color-primary-hex);
    color: white;
}

/* Button Sizes */
.btn-sm {
    padding: var(--spacing-2) var(--spacing-4);
    font-size: 0.8125rem;
}

.btn-lg {
    padding: var(--spacing-4) var(--spacing-8);
    font-size: 1rem;
}

/* Glass Button */
.btn-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    color: var(--color-foreground);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

/* Secondary Button (for products CTA) */
.btn-secondary {
    background: #1e293b;
    color: white;
}

.btn-secondary:hover {
    background: #0f172a;
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px);
}

/* Outline Dark Button */
.btn-outline-dark {
    background: transparent;
    color: var(--color-foreground);
    border: 1px solid var(--color-foreground);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-5);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    margin-top: var(--spacing-4);
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background: var(--color-foreground);
    color: white;
}

.btn-outline-dark svg {
    transition: transform 0.3s ease;
}

.btn-outline-dark:hover svg {
    transform: translateX(4px);
}

/* Section Badge Light (for green sections) */
.section-badge-light {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Products CTA */
.products-cta {
    text-align: center;
    margin-top: var(--spacing-8);
}

/* Impact Grid */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-6);
}

.impact-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--spacing-6);
    text-align: center;
    transition: all 0.3s ease;
}

.impact-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.impact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-4);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.impact-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.impact-icon.green-bg {
    background: linear-gradient(135deg, #7AB547, #6b9a35);
}

.impact-icon.blue-bg {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.impact-icon.orange-bg {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.impact-icon.purple-bg {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.impact-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: var(--spacing-1);
}

.impact-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-foreground);
    margin-bottom: var(--spacing-2);
}

.impact-card p {
    font-size: 0.8125rem;
    color: var(--color-muted-foreground);
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(130, 180, 64, 0.05), rgba(130, 180, 64, 0.1));
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-4);
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
    margin-bottom: var(--spacing-6);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive for new elements */
@media (max-width: 1024px) {
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* En movil mostramos solo el selector de idioma, ocultamos el boton de presupuesto */
    .header-actions {
        display: flex;
        gap: var(--spacing-2);
    }

    .header-actions .btn,
    .header-actions .btn-primary,
    .header-actions .btn-sm {
        display: none;
    }

    /* Selector de idioma compacto en movil */
    .header-actions .lang-selector {
        display: flex;
        gap: 4px;
    }

    .header-actions .lang-btn {
        padding: 4px 8px;
        font-size: 0.7rem;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== Página Economía Circular ===== */

/* Page Hero con imagen de fondo */
.page-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.85), rgba(31, 41, 55, 0.7));
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: var(--spacing-16) var(--spacing-4);
    color: white;
}

.page-hero-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
    margin-bottom: var(--spacing-6);
}

.page-hero-content h1 .highlight {
    color: var(--color-primary-hex);
}

.page-hero-content p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* Content Grid (texto + imagen) */
.content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-12);
    align-items: center;
}

.content-text h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-6);
}

.content-text p {
    font-size: 1rem;
    color: var(--color-muted-foreground);
    line-height: 1.7;
    margin-bottom: var(--spacing-4);
}

.content-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Check List */
.check-list {
    margin-top: var(--spacing-4);
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-3);
    font-size: 0.9375rem;
    color: var(--color-muted-foreground);
    line-height: 1.5;
}

.check-list li svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary-hex);
    flex-shrink: 0;
    margin-top: 2px;
}

.check-list li strong {
    color: var(--color-foreground);
}

/* Model Grid (4 tarjetas) */
.model-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-6);
}

.model-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--spacing-6);
    text-align: center;
    transition: all 0.3s ease;
}

.model-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.model-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--spacing-4);
    background: rgba(130, 180, 64, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.model-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary-hex);
}

.model-card h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-foreground);
    margin-bottom: var(--spacing-3);
    text-transform: lowercase;
}

.model-card p {
    font-size: 0.8125rem;
    color: var(--color-muted-foreground);
    line-height: 1.6;
}

/* Benefits Grid (3 columnas) */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-6);
}

.benefit-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--spacing-6);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-4);
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.benefit-icon.green-icon {
    background: var(--color-primary-hex);
}

.benefit-icon.blue-icon {
    background: #3b82f6;
}

.benefit-icon.orange-icon {
    background: #f59e0b;
}

.benefit-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-foreground);
    margin-bottom: var(--spacing-4);
    text-transform: lowercase;
}

.benefit-card ul {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    line-height: 1.6;
}

.benefit-card ul li {
    margin-bottom: var(--spacing-2);
    padding-left: var(--spacing-4);
    position: relative;
}

.benefit-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary-hex);
}

/* Commitment Section */
.commitment-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.commitment-content h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-4);
}

.commitment-content p {
    font-size: 1.0625rem;
    color: var(--color-muted-foreground);
    line-height: 1.7;
}

/* CTA Green Section */
.cta-green {
    background: var(--color-primary-hex);
    padding: var(--spacing-16) 0;
}

.cta-green .cta-content {
    text-align: center;
    color: white;
}

.cta-green .cta-content h2 {
    color: white;
    margin-bottom: var(--spacing-4);
}

.cta-green .cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-6);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Responsive para página economía circular */
@media (max-width: 1024px) {
    .model-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 300px;
    }

    .model-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Página Quiénes Somos ===== */

/* Page Hero Light (sin imagen de fondo) */
.page-hero-light {
    background: white;
    min-height: auto;
    padding: var(--spacing-12) 0;
}

.page-hero-content-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.page-hero-content-center h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--color-foreground);
    margin-bottom: var(--spacing-4);
}

.page-hero-content-center p {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
}

/* Stats Inline */
.stats-inline {
    display: flex;
    gap: var(--spacing-8);
    margin-top: var(--spacing-8);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
}

.stat-icon {
    width: 44px;
    height: 44px;
    background: rgba(130, 180, 64, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-primary-hex);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-foreground);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--color-muted-foreground);
}

/* Pillars Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-6);
}

.pillar-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--spacing-8);
    text-align: center;
    transition: all 0.3s ease;
}

.pillar-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.pillar-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--spacing-4);
    background: rgba(130, 180, 64, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary-hex);
}

.pillar-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-foreground);
    margin-bottom: var(--spacing-3);
}

.pillar-card p {
    font-size: 0.9375rem;
    color: var(--color-muted-foreground);
    line-height: 1.6;
}

/* Responsive Quiénes Somos */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .stats-inline {
        flex-direction: column;
        gap: var(--spacing-4);
    }
}

@media (max-width: 768px) {
    .page-hero-light {
        padding: var(--spacing-8) 0;
    }
}

/* ===== Página Productos ===== */

/* Products Section Header */
.products-section-header {
    margin-bottom: var(--spacing-8);
}

.products-section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: var(--spacing-2);
}

.products-section-header p {
    font-size: 0.9375rem;
    color: var(--color-muted-foreground);
}

/* Catalog Grid - 3 columns like original */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-4);
}

/* Catalog Card - clickable link cards */
.catalog-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--spacing-5);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-4);
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.catalog-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-hex);
    transform: translateY(-2px);
}

/* Catalog Icon - square grey box like original */
.catalog-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #f3f4f6;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-icon svg {
    width: 24px;
    height: 24px;
    color: #6b7280;
}

/* Catalog Content - text to the right */
.catalog-content {
    flex: 1;
}

.catalog-content h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-foreground);
    margin-bottom: var(--spacing-1);
    line-height: 1.3;
}

.catalog-content p {
    font-size: 0.8125rem;
    color: var(--color-muted-foreground);
    line-height: 1.5;
}

/* Catalog Badge NEW */
.catalog-badge {
    position: absolute;
    top: var(--spacing-4);
    right: var(--spacing-4);
    background: var(--color-primary-hex);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CTA Dark Section */
.cta-dark {
    background: #1e293b;
    padding: var(--spacing-16) 0;
}

.cta-dark .cta-content {
    text-align: center;
    color: white;
    max-width: 600px;
    margin: 0 auto;
}

.cta-dark .cta-content h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: var(--spacing-4);
}

.cta-dark .cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-6);
}

/* Responsive Productos */
@media (max-width: 1024px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ===== Página de Producto Individual ===== */

/* Product Hero */
.product-hero {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: var(--spacing-8) 0 var(--spacing-12);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    margin-bottom: var(--spacing-6);
}

.breadcrumb-nav a {
    color: var(--color-muted-foreground);
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--color-primary-hex);
}

.breadcrumb-nav .current {
    color: var(--color-foreground);
    font-weight: 500;
}

.product-hero-content {
    max-width: 700px;
}

.product-badges {
    display: flex;
    gap: var(--spacing-2);
    margin-bottom: var(--spacing-4);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-1) var(--spacing-3);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.badge-green {
    background: var(--color-primary-hex);
    color: white;
}

.badge-outline {
    background: transparent;
    border: 1px solid var(--color-foreground);
    color: var(--color-foreground);
}

.product-hero h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--spacing-4);
}

.product-subtitle {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
    line-height: 1.7;
    margin-bottom: var(--spacing-6);
}

.product-hero-cta {
    display: flex;
    gap: var(--spacing-4);
    flex-wrap: wrap;
}

/* Product Content Layout */
.product-content {
    padding: var(--spacing-12) 0;
}

.product-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-10);
}

/* Product Sidebar */
.product-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--spacing-5);
    margin-bottom: var(--spacing-6);
}

.sidebar-card h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-foreground);
    margin-bottom: var(--spacing-4);
}

.specs-list {
    list-style: none;
}

.specs-list li {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-3) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.875rem;
}

.specs-list li:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--color-muted-foreground);
}

.spec-value {
    font-weight: 600;
    color: var(--color-foreground);
}

.btn-block {
    width: 100%;
    justify-content: center;
    margin-top: var(--spacing-4);
}

/* Sidebar Nav */
.sidebar-nav {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--spacing-5);
}

.sidebar-nav h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted-foreground);
    margin-bottom: var(--spacing-3);
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav ul li a {
    display: block;
    padding: var(--spacing-2) 0;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    transition: all 0.3s ease;
}

.sidebar-nav ul li a:hover {
    color: var(--color-primary-hex);
    padding-left: var(--spacing-2);
}

/* Product Main Content */
.product-main {
    min-width: 0;
}

.product-section {
    margin-bottom: var(--spacing-12);
    padding-bottom: var(--spacing-8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.product-section:last-child {
    border-bottom: none;
}

.section-number {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary-hex);
    margin-bottom: var(--spacing-2);
}

.product-section h2 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-4);
}

.product-section p {
    font-size: 1rem;
    color: var(--color-muted-foreground);
    line-height: 1.75;
}

/* Applications Grid */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-4);
    margin-top: var(--spacing-6);
}

.application-card {
    background: #f8fafc;
    border-radius: var(--radius-lg);
    padding: var(--spacing-5);
}

.app-icon {
    width: 40px;
    height: 40px;
    background: #3b82f6;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-3);
}

.app-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.application-card h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: var(--spacing-2);
}

.application-card p {
    font-size: 0.8125rem;
    color: var(--color-muted-foreground);
    line-height: 1.5;
}

/* Benefits Row */
.benefits-row {
    display: flex;
    gap: var(--spacing-8);
    margin-top: var(--spacing-6);
}

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

.benefit-icon {
    width: 48px;
    height: 48px;
    background: rgba(130, 180, 64, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-3);
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary-hex);
}

.benefit-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary-hex);
}

.benefit-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-muted-foreground);
    max-width: 150px;
    margin: 0 auto;
}

/* Specs Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--spacing-4);
}

.specs-table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.specs-table td {
    padding: var(--spacing-4);
    font-size: 0.9375rem;
}

.spec-key {
    font-weight: 600;
    color: var(--color-foreground);
    width: 40%;
}

.spec-val {
    color: var(--color-muted-foreground);
}

/* Button White */
.btn-white {
    background: white;
    color: var(--color-foreground);
}

.btn-white:hover {
    background: #f8fafc;
    box-shadow: var(--shadow-lg);
}

/* Responsive Product Page */
@media (max-width: 1024px) {
    .product-layout {
        grid-template-columns: 1fr;
    }

    .product-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-4);
    }

    .applications-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-sidebar {
        grid-template-columns: 1fr;
    }

    .product-hero-cta {
        flex-direction: column;
    }

    .benefits-row {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== Página de Producto v2 - Hero Oscuro ===== */

/* Product Hero Dark */
.product-hero-dark {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: var(--spacing-10) 0 var(--spacing-16);
    color: white;
}

.breadcrumb-light a,
.breadcrumb-light span {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-light a:hover {
    color: white;
}

.breadcrumb-light .current {
    color: white;
}

.product-hero-dark h1 {
    color: white;
    font-size: clamp(2.25rem, 5vw, 3rem);
}

.product-hero-dark .product-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.badge-white-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
}

/* Sidebar Card Dark */
.sidebar-card-dark {
    background: #1e293b;
    color: white;
    border: none;
}

.sidebar-card-dark h4 {
    color: white;
}

.sidebar-card-dark .spec-label {
    color: rgba(255, 255, 255, 0.7);
}

.sidebar-card-dark .spec-value {
    color: white;
}

.sidebar-card-dark .specs-list li {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Section Markers */
.section-marker {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-5);
}

.section-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.section-icon-green {
    background: rgba(130, 180, 64, 0.15);
}

.section-icon-blue {
    background: rgba(59, 130, 246, 0.15);
}

.section-icon-purple {
    background: rgba(139, 92, 246, 0.15);
}

.section-icon-gray {
    background: rgba(100, 116, 139, 0.15);
}

.section-marker h2 {
    margin-bottom: 0;
}

.section-subtitle {
    color: var(--color-muted-foreground);
    margin-bottom: var(--spacing-6);
}

/* Specs Table Full */
.specs-table-full {
    width: 100%;
    border-collapse: collapse;
    background: #f8fafc;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.specs-table-full tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.specs-table-full tr:last-child {
    border-bottom: none;
}

.specs-table-full td {
    padding: var(--spacing-4) var(--spacing-5);
    font-size: 0.9375rem;
}

.specs-table-full .spec-key {
    background: #f1f5f9;
    font-weight: 600;
    width: 35%;
}

.specs-table-full .spec-val {
    background: white;
}

/* Application Detail Cards */
.applications-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-4);
}

.app-detail-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--spacing-5);
}

.app-detail-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-3);
    color: var(--color-foreground);
}

.app-detail-card p {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    line-height: 1.6;
}

/* Impact Cards */
.impact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-4);
}

.impact-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--spacing-5);
}

.impact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-3);
}

.impact-icon-blue {
    background: rgba(59, 130, 246, 0.1);
}

.impact-icon-green {
    background: rgba(130, 180, 64, 0.1);
}

.impact-icon-red {
    background: rgba(239, 68, 68, 0.1);
}

.impact-icon-circle {
    background: rgba(16, 185, 129, 0.1);
}

.impact-card h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: var(--spacing-2);
}

.impact-card p {
    font-size: 0.8125rem;
    color: var(--color-muted-foreground);
    line-height: 1.6;
}

/* CTA Green */
.cta-green {
    background: var(--color-primary-hex);
    padding: var(--spacing-16) 0;
}

.cta-green .cta-content {
    text-align: center;
    color: white;
    max-width: 650px;
    margin: 0 auto;
}

.cta-green .cta-content h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: var(--spacing-4);
}

.cta-green .cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-6);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Product v2 */
@media (max-width: 1024px) {

    .applications-cards,
    .impact-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-hero-dark {
        padding: var(--spacing-8) 0 var(--spacing-12);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== Sidebar Producto v2 - Diseño Original ===== */

/* Sidebar Specs Card */
.sidebar-specs-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--spacing-6);
}

/* Sidebar Specs Header - Dark */
.sidebar-specs-header {
    background: #1e293b;
    padding: var(--spacing-5);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.specs-header-content {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-3);
}

.specs-header-icon {
    width: 28px;
    height: 28px;
    background: var(--color-primary-hex);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.specs-header-icon svg {
    width: 14px;
    height: 14px;
    color: white;
}

.specs-header-content h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.specs-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8125rem;
}

.specs-header-graphic {
    width: 60px;
    height: 40px;
    opacity: 0.5;
}

/* Sidebar Specs Body */
.sidebar-specs-body {
    padding: var(--spacing-5);
}

.sidebar-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--spacing-5);
}

.sidebar-specs-table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sidebar-specs-table tr:last-child {
    border-bottom: none;
}

.sidebar-specs-table td {
    padding: var(--spacing-4) 0;
    font-size: 0.875rem;
}

.sidebar-specs-table .specs-label {
    color: var(--color-muted-foreground);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.sidebar-specs-table .specs-value {
    text-align: right;
    font-weight: 600;
    color: var(--color-foreground);
}

/* Sidebar TOC - Navigation */
.sidebar-toc {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--spacing-5);
}

.sidebar-toc h4 {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted-foreground);
    margin-bottom: var(--spacing-4);
}

.sidebar-toc ul {
    list-style: none;
}

.sidebar-toc ul li {
    position: relative;
    padding-left: var(--spacing-5);
    margin-bottom: var(--spacing-2);
}

.sidebar-toc ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--color-primary-hex);
    border-radius: 50%;
}

.sidebar-toc ul li a {
    display: block;
    font-size: 0.875rem;
    color: var(--color-foreground);
    transition: color 0.2s ease;
}

.sidebar-toc ul li a:hover {
    color: var(--color-primary-hex);
}

/* ===== Página Producto v2 - Diseño Exacto Original ===== */

/* Hero v2 */
.product-hero-v2 {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="g" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%231e293b"/><stop offset="100%" style="stop-color:%23475569"/></linearGradient></defs><rect fill="url(%23g)" width="1200" height="600"/><circle cx="900" cy="300" r="400" fill="rgba(255,255,255,0.02)"/><circle cx="1000" cy="200" r="300" fill="rgba(255,255,255,0.02)"/></svg>');
    background-size: cover;
    padding: var(--spacing-8) 0 var(--spacing-16);
    color: white;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-6);
    transition: color 0.2s ease;
}

.back-link:hover {
    color: white;
}

/* Badges con iconos */
.badge-green-outline {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-2) var(--spacing-3);
    background: transparent;
    border: 1px solid var(--color-primary-hex);
    color: var(--color-primary-hex);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
}

.product-hero-v2 h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-4);
}

/* Subtitle bar */
.product-subtitle-bar {
    position: relative;
    padding-left: var(--spacing-5);
    margin-bottom: var(--spacing-6);
    max-width: 600px;
}

.product-subtitle-bar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-primary-hex);
}

.product-subtitle-bar p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Hero CTA buttons */
.product-hero-v2 .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
}

.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Section Headers v2 */
.section-header-v2 {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-6);
}

.section-header-v2>div {
    display: flex;
    flex-direction: column;
}

.section-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-icon-box svg {
    width: 24px;
    height: 24px;
}

.section-icon-green {
    background: rgba(130, 180, 64, 0.15);
    color: var(--color-primary-hex);
}

.section-icon-blue {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.section-icon-purple {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.section-icon-gray {
    background: rgba(100, 116, 139, 0.15);
    color: #64748b;
}

.section-icon-green-light {
    background: rgba(130, 180, 64, 0.1);
    color: var(--color-primary-hex);
}

.section-header-v2 h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

.section-subtitle-inline {
    font-size: 0.9375rem;
    color: var(--color-muted-foreground);
    margin-top: var(--spacing-1);
}

/* Full width sections */
.section-full-width {
    margin-left: 0;
    margin-right: 0;
}

/* App Cards Grid v2 */
.app-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-4);
    margin-top: var(--spacing-6);
}

.app-cards-grid>.app-card-v2:nth-child(3) {
    grid-column: 1;
}

.app-card-v2 {
    position: relative;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--spacing-6);
    transition: all 0.3s ease;
}

.app-card-v2:hover {
    box-shadow: var(--shadow-lg);
}

.app-card-v2 h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-3);
    color: var(--color-foreground);
}

.bullet-blue {
    color: #3b82f6;
    font-size: 1.5rem;
    margin-right: var(--spacing-2);
}

.app-card-v2 p {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    line-height: 1.7;
}

.card-arrow {
    position: absolute;
    right: var(--spacing-5);
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: rgba(0, 0, 0, 0.1);
    font-weight: 300;
}

/* Impact Cards Grid v2 */
.impact-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-4);
    margin-top: var(--spacing-6);
}

.impact-card-v2 {
    background: rgba(130, 180, 64, 0.03);
    border: 1px solid rgba(130, 180, 64, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--spacing-6);
}

.impact-check {
    width: 32px;
    height: 32px;
    margin-bottom: var(--spacing-4);
}

.impact-check svg {
    width: 32px;
    height: 32px;
    color: var(--color-primary-hex);
}

.impact-card-v2 h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: var(--spacing-3);
}

.impact-card-v2 p {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    line-height: 1.7;
}

/* CTA Dark Rounded */
.cta-dark-rounded {
    padding: var(--spacing-4) 0;
}

.cta-dark-rounded .container {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-16) var(--spacing-8);
}

.cta-content-centered {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.cta-content-centered h2 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-4);
}

.cta-content-centered p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: var(--spacing-8);
}

/* Responsive v2 */
@media (max-width: 1024px) {

    .app-cards-grid,
    .impact-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-hero-v2 {
        padding: var(--spacing-6) 0 var(--spacing-10);
    }

    .section-header-v2 {
        flex-direction: column;
    }

    .cta-dark-rounded .container {
        padding: var(--spacing-10) var(--spacing-5);
    }
}

/* ===== Specs Table Actions ===== */
.specs-table-wrapper {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.specs-table-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-4);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: #fafbfc;
}

.btn-table-action {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-2) var(--spacing-3);
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-muted-foreground);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-table-action:hover {
    background: var(--color-foreground);
    color: white;
    border-color: var(--color-foreground);
}

.btn-table-action svg {
    width: 16px;
    height: 16px;
}

.specs-table-wrapper .specs-table-full {
    margin: 0;
    border: none;
    border-radius: 0;
}

/* Notification Toast */
.notification {
    position: fixed;
    bottom: var(--spacing-6);
    right: var(--spacing-6);
    padding: var(--spacing-4) var(--spacing-6);
    background: var(--color-foreground);
    color: white;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
}

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

.notification-success {
    background: var(--color-primary-hex);
}

.notification-error {
    background: #ef4444;
}

/* ===== Mobile Bottom Navigation (App-style) ===== */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    /* Prevenir scroll horizontal en mobile */
    html,
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* Mostrar bottom nav - GRID con 6 columnas iguales */
    .mobile-bottom-nav {
        display: grid !important;
        grid-template-columns: repeat(6, 1fr);
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        height: calc(60px + env(safe-area-inset-bottom, 0));
        padding-bottom: env(safe-area-inset-bottom, 0);
        background: white;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
        z-index: 9998;
        visibility: visible;
        opacity: 1;
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .mobile-bottom-nav .mbn-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        padding: 6px 2px;
        text-decoration: none;
        color: var(--color-muted-foreground, #64748b);
        font-size: 10px;
        font-weight: 500;
        line-height: 1;
        transition: color 0.2s ease;
        position: relative;
        min-width: 0;
        overflow: hidden;
    }

    .mobile-bottom-nav .mbn-item svg {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
        transition: transform 0.2s ease;
    }

    .mobile-bottom-nav .mbn-item span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        text-align: center;
        display: block;
    }

    .mobile-bottom-nav .mbn-item.active {
        color: var(--color-primary-hex, #7AB547);
        font-weight: 600;
    }

    .mobile-bottom-nav .mbn-item.active svg {
        transform: translateY(-2px);
    }

    .mobile-bottom-nav .mbn-item:hover {
        color: var(--color-primary-hex, #7AB547);
    }

    /* Indicador superior cuando está activo */
    .mobile-bottom-nav .mbn-item.active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 32px;
        height: 3px;
        background: var(--color-primary-hex, #7AB547);
        border-radius: 0 0 3px 3px;
    }

    /* Ocultar hamburguesa - reemplazada por bottom nav */
    .mobile-toggle {
        display: none !important;
    }

    /* Padding inferior del body para no tapar contenido */
    body {
        padding-bottom: calc(60px + env(safe-area-inset-bottom, 0));
    }

    /* Mover botón WhatsApp para no chocar con bottom nav */
    .whatsapp-float {
        bottom: calc(60px + env(safe-area-inset-bottom, 0) + 12px) !important;
    }
}

@media (max-width: 380px) {
    /* En pantallas muy pequeñas, reducir todo un poco más */
    .mobile-bottom-nav .mbn-item {
        font-size: 9px;
        padding: 6px 1px;
    }

    .mobile-bottom-nav .mbn-item svg {
        width: 20px;
        height: 20px;
    }
}
