/**
 * Alonso Trading - Estilos Maestros (CSS Moderno Estandarizado)
 * Reglas de Estandarización:
 * 1. Fuente Única: Plus Jakarta Sans (400, 500, 600, 700, 800)
 * 2. Ancho Máximo de Contenedor: 1440px
 * 3. Tokens de Escala Tipográfica Consistente
 * Codificación: UTF-8 sin BOM
 */

:root {
    /* ======================================================================
       1. TOKEN DE FUENTE ÚNICA
       ====================================================================== */
    --font-family-base: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: var(--font-family-base);
    --font-body: var(--font-family-base);

    /* ======================================================================
       2. ESCALA TIPOGRÁFICA ESTANDARIZADA
       ====================================================================== */
    --text-xs: 0.75rem;                       /* 12px - Badges pequeños, chips */
    --text-sm: 0.875rem;                      /* 14px - Metadatos, subtítulos menores, links */
    --text-base: 1rem;                        /* 16px - Texto de lectura principal */
    --text-md: 1.125rem;                      /* 18px - Lead text, subtítulos, botones */
    --text-lg: 1.25rem;                       /* 20px - Subtítulos de tarjetas y h5 */
    --text-xl: 1.5rem;                        /* 24px - H4 */
    --text-2xl: 1.875rem;                     /* 30px - H3 */
    --text-3xl: clamp(2rem, 3.2vw, 2.5rem);   /* 32px - 40px - H2 / títulos de sección */
    --text-hero: clamp(2.5rem, 5vw, 3.75rem); /* 40px - 60px - H1 Hero Principal */

    /* Pesos tipográficos */
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;

    /* Alturas de línea */
    --lh-tight: 1.15;
    --lh-snug: 1.28;
    --lh-normal: 1.6;
    --lh-relaxed: 1.7;

    /* ======================================================================
       3. CONTENEDOR MÁXIMO ESTANDARIZADO (1440px)
       ====================================================================== */
    --container-max-width: 1440px;
    --container-padding: clamp(16px, 2.5vw, 36px);

    /* ======================================================================
       4. PALETA DE COLORES INSTITUCIONAL
       ====================================================================== */
    --color-primary: #8CBC67;
    --color-primary-dark: #5A9438;
    --color-primary-light: #eaf3e3;
    --color-secondary: #223B59;
    --color-secondary-light: #2d4c72;
    --color-dark: #0D192D;
    --color-dark-surface: #142238;
    --color-light: #F8FAF6;
    --color-white: #FFFFFF;
    --color-text-main: #1A2737;
    --color-text-muted: #5E6D82;
    --color-border: rgba(34, 59, 89, 0.1);

    --color-whatsapp: #25D366;
    --color-whatsapp-hover: #1EBE5D;

    /* ======================================================================
       5. RADIOS & SOMBRAS (SISTEMA DE DISEÑO AWP)
       ====================================================================== */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;

    --shadow-sm: 0 4px 12px rgba(13, 25, 45, 0.04);
    --shadow-md: 0 10px 30px rgba(13, 25, 45, 0.08);
    --shadow-lg: 0 20px 50px rgba(13, 25, 45, 0.12);

    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET Y BASE ESTANDARIZADA
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--fw-regular);
    color: var(--color-text-main);
    background-color: var(--color-white);
    line-height: var(--lh-normal);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   CONTENEDOR ESTANDARIZADO A 1440PX
   ========================================================================== */
.container,
.container-1440 {
    width: 100%;
    max-width: var(--container-max-width) !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* ==========================================================================
   TIPOGRAFÍA ESTANDARIZADA (PLUS JAKARTA SANS)
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    letter-spacing: -0.02em;
    margin-bottom: 0.6em;
}

h1, .hero-title {
    font-size: var(--text-hero);
    font-weight: var(--fw-extrabold);
    line-height: var(--lh-tight);
}

h2, .display-6, .section-title {
    font-size: var(--text-3xl);
    font-weight: var(--fw-bold);
    line-height: var(--lh-snug);
}

h3, .h3, .trace-step-title {
    font-size: var(--text-2xl);
    font-weight: var(--fw-bold);
    line-height: var(--lh-snug);
}

h4, .h4, .product-title {
    font-size: var(--text-xl);
    font-weight: var(--fw-bold);
    line-height: var(--lh-snug);
}

h5, .h5, .footer-title {
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    line-height: var(--lh-snug);
}

h6, .h6 {
    font-size: var(--text-md);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-normal);
}

p {
    font-size: var(--text-base);
    line-height: var(--lh-normal);
    margin-bottom: 1rem;
}

.lead {
    font-size: var(--text-md) !important;
    line-height: var(--lh-relaxed);
}

small, .small {
    font-size: var(--text-sm) !important;
}

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

a:hover {
    color: var(--color-primary-dark);
}

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

/* ==========================================================================
   UTILIDADES & BADGES ESTANDARIZADOS
   ========================================================================== */
.bg-light-soft {
    background-color: var(--color-light);
}

.bg-dark-pro {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.text-primary-brand {
    color: var(--color-primary-dark) !important;
}

.badge-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(140, 188, 103, 0.15);
    color: #437827;
    font-weight: var(--fw-bold);
    font-size: var(--text-xs);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(140, 188, 103, 0.35);
}

.badge-brand-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 0, 0, 0.75);
    color: var(--color-primary);
    font-weight: var(--fw-bold);
    font-size: var(--text-xs);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(140, 188, 103, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   BOTONES PREMIUM ESTANDARIZADOS (#0D192D & #8CBC67 + WHATSAPP #25D366)
   ========================================================================== */
.btn, .btn:hover, .btn:focus, .btn:active {
    box-shadow: none !important;
}

.btn-brand-primary {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    background-color: #8CBC67;
    color: #FFFFFF !important;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #8CBC67;
    transition: var(--transition);
    box-shadow: none !important;
}

.btn-brand-primary svg {
    color: #FFFFFF;
    fill: currentColor;
}

.btn-brand-primary:hover {
    background-color: #79a657;
    color: #FFFFFF !important;
    border-color: #79a657;
    transform: translateY(-2px);
    box-shadow: none !important;
}

.btn-brand-secondary {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    background-color: var(--color-secondary);
    color: var(--color-white) !important;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    box-shadow: none !important;
}

.btn-brand-secondary:hover {
    background-color: var(--color-dark);
    color: var(--color-primary) !important;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: none !important;
}

.btn-whatsapp {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    background-color: var(--color-whatsapp);
    color: var(--color-white) !important;
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    transition: var(--transition);
    box-shadow: none !important;
}

.btn-whatsapp:hover {
    background-color: var(--color-whatsapp-hover);
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: none !important;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.topbar {
    background-color: var(--color-dark);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar a {
    color: rgba(255, 255, 255, 0.85);
}

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

/* ==========================================================================
   NAVBAR MODERNA (STICKY & BLUR)
   ========================================================================== */
.navbar-custom {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 14px 0;
    transition: var(--transition);
    border-bottom: 1px solid var(--color-border);
}

.navbar-custom.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar-brand img {
    height: 48px;
    width: auto;
    transition: var(--transition);
}

.nav-link-custom {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-secondary) !important;
    padding: 8px 16px !important;
    position: relative;
}

.nav-link-custom:hover {
    color: var(--color-primary-dark) !important;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-link-custom:hover::after {
    transform: scaleX(1);
}

/* ==========================================================================
   HERO SECTION CON VIDEO Y MICRO-CUADRÍCULA TECNOLÓGICA
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background-color: #000000;
    overflow: hidden;
    padding: 110px 0 90px;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.68) saturate(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Capa 1: Micro-cuadrícula fina y densa (10px x 10px) sin tonos azules
       Capa 2: Capa negra pura y profunda (sin azul) con transparencia balanceada */
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(10, 10, 10, 0.74) 50%,
            rgba(0, 0, 0, 0.92) 100%
        );
    background-size: 10px 10px, 10px 10px, 100% 100%;
    z-index: 2;
}

/* Viñeta radial oscura perimetral para profundidad y foco cinematográfico */
.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--color-white);
}

.hero-title {
    color: var(--color-white);
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: var(--text-md);
    color: rgba(255, 255, 255, 0.88);
    max-width: 760px;
    line-height: var(--lh-relaxed);
    margin-bottom: 36px;
}

.hero-badges-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-trust-pill {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(140, 188, 103, 0.35);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.hero-trust-pill:hover {
    border-color: var(--color-primary);
    background: rgba(0, 0, 0, 0.85);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   BARRA DE MÉTRICAS & IMPACTO
   ========================================================================== */
.metrics-strip {
    background-color: var(--color-white);
    margin-top: -50px;
    position: relative;
    z-index: 4;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 35px 25px;
    border: 1px solid var(--color-border);
}

.metric-item {
    text-align: center;
    padding: 10px 15px;
    border-right: 1px solid var(--color-border);
}

.metric-item:last-child {
    border-right: none;
}

.metric-number {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: var(--fw-extrabold);
    color: var(--color-dark);
    line-height: var(--lh-tight);
    margin-bottom: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.metric-number::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    margin-left: 2px;
}

.metric-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ==========================================================================
   SECCIÓN NOSOTROS & EL ORIGEN
   ========================================================================== */
.about-section {
    padding: 100px 0;
}

.about-img-box {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-box img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-img-box:hover img {
    transform: scale(1.03);
}

.about-badge-floating {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(13, 25, 45, 0.88);
    backdrop-filter: blur(12px);
    color: var(--color-white);
    padding: 18px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 320px;
}

.feature-check-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 32px;
}

.feature-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: var(--text-base);
    color: var(--color-text-main);
    line-height: var(--lh-normal);
}

.feature-check-list svg {
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--color-primary-dark);
}

/* ==========================================================================
   CATÁLOGO CON TABS INTERACTIVOS
   ========================================================================== */
.catalog-section {
    padding: 90px 0 100px;
    background-color: var(--color-light);
}

.nav-pills-custom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 48px;
    border: none;
}

.nav-pills-custom .nav-link {
    background-color: var(--color-white);
    color: var(--color-dark);
    border-radius: var(--radius-pill);
    padding: 14px 34px;
    font-weight: var(--fw-bold);
    font-size: var(--text-sm);
    border: 1.5px solid rgba(13, 25, 45, 0.12);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-sm);
}

.nav-pills-custom .nav-link:hover {
    background-color: #f4f8f0;
    color: #437827;
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.nav-pills-custom .nav-link.active {
    background-color: var(--color-dark) !important;
    color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    box-shadow: 0 10px 25px rgba(13, 25, 45, 0.35), 0 0 14px rgba(140, 188, 103, 0.3);
    transform: translateY(-2px);
}

/* Tarjeta de Producto */
.product-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(13, 25, 45, 0.08);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 3;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(13, 25, 45, 0.12);
    border-color: var(--color-primary);
}

.product-card:hover::before {
    opacity: 1;
}

.product-img-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: #f1f3f0;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-category-chip {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(13, 25, 45, 0.88);
    backdrop-filter: blur(8px);
    color: var(--color-primary);
    border: 1px solid rgba(140, 188, 103, 0.35);
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.product-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    margin-bottom: 6px;
    color: var(--color-dark);
}

.product-origin {
    font-size: var(--text-sm);
    color: #437827;
    font-weight: var(--fw-semibold);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-excerpt {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: var(--lh-normal);
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-actions {
    display: flex;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--color-border);
}

.btn-card-details {
    flex: 1;
    background-color: var(--color-dark);
    color: var(--color-white) !important;
    font-weight: var(--fw-semibold);
    font-size: var(--text-sm);
    padding: 9px 12px;
    border-radius: var(--radius-pill);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--color-dark);
    transition: var(--transition);
}

.btn-card-details:hover {
    background-color: var(--color-primary);
    color: var(--color-dark) !important;
    border-color: var(--color-primary);
    box-shadow: none !important;
}

.btn-card-wa {
    background-color: var(--color-whatsapp);
    color: var(--color-white) !important;
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    padding: 9px 14px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: var(--transition);
    box-shadow: none !important;
}

.btn-card-wa:hover {
    background-color: var(--color-whatsapp-hover);
    color: var(--color-white) !important;
    transform: translateY(-1px);
    box-shadow: none !important;
}

/* ==========================================================================
   TRAZABILIDAD EN 4 PASOS
   ========================================================================== */
.trace-section {
    padding: 100px 0;
    background-color: var(--color-white);
}

.trace-step-card {
    background: var(--color-light);
    border-radius: var(--radius-md);
    padding: 32px 26px;
    height: 100%;
    border: 1px solid var(--color-border);
    position: relative;
    transition: var(--transition);
}

.trace-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.trace-step-num {
    font-size: clamp(2.2rem, 3.5vw, 2.8rem);
    font-weight: var(--fw-extrabold);
    color: var(--color-primary);
    line-height: var(--lh-tight);
    margin-bottom: 12px;
}

.trace-step-title {
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    color: var(--color-dark);
    margin-bottom: 10px;
}

.trace-step-desc {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: var(--lh-normal);
    margin-bottom: 0;
}

/* ==========================================================================
   CERTIFICACIONES GLOBALES
   ========================================================================== */
.cert-section {
    padding: 55px 0;
    background-color: var(--color-dark);
    color: var(--color-white);
}

.cert-pill {
    background: rgba(13, 25, 45, 0.7);
    border: 1px solid rgba(140, 188, 103, 0.35);
    border-radius: var(--radius-pill);
    padding: 10px 22px;
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.cert-pill:hover {
    border-color: var(--color-primary);
    background: rgba(13, 25, 45, 0.95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   CONTACTO & COTIZADOR B2B
   ========================================================================== */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-light) 0%, var(--color-white) 100%);
}

.contact-card-box {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: clamp(28px, 4vw, 50px);
    border: 1px solid var(--color-border);
}

/* ==========================================================================
   PÁGINA DE DETALLE / FICHA TÉCNICA (producto.php)
   ========================================================================== */
.product-detail-header {
    background-color: var(--color-dark);
    background-image: 
        linear-gradient(to right, rgba(140, 188, 103, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(140, 188, 103, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    color: var(--color-white);
    padding: 70px 0 45px;
    margin-bottom: 50px;
    border-bottom: 3px solid var(--color-primary);
}

.breadcrumb-custom {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    font-size: var(--text-sm);
    margin-bottom: 16px;
}

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

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

.breadcrumb-custom span {
    color: rgba(255, 255, 255, 0.4);
}

.spec-table {
    width: 100%;
    margin-bottom: 24px;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.spec-table tr:nth-child(even) {
    background-color: #fafbfa;
}

.spec-table th {
    background-color: #f1f4ee;
    color: var(--color-dark);
    font-weight: var(--fw-bold);
    padding: 12px 18px;
    font-size: var(--text-sm);
    width: 32%;
    border-bottom: 1px solid var(--color-border);
}

.spec-table td {
    padding: 12px 18px;
    font-size: var(--text-sm);
    color: var(--color-text-main);
    border-bottom: 1px solid var(--color-border);
}

/* Calendario de estacionalidad */
.season-calendar {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 6px;
    margin: 20px 0 30px;
    text-align: center;
}

.season-month {
    padding: 10px 4px;
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    background-color: #eef1ec;
    color: #8b97a7;
    transition: var(--transition);
}

.season-month.active {
    background-color: var(--color-primary);
    color: var(--color-dark);
    font-weight: var(--fw-extrabold);
    box-shadow: 0 4px 12px rgba(140, 188, 103, 0.4);
}

/* ==========================================================================
   FOOTER INSTITUCIONAL
   ========================================================================== */
.footer-main {
    background-color: #080f1b;
    color: rgba(255, 255, 255, 0.75);
    padding: 85px 0 30px;
    border-top: 1px solid rgba(140, 188, 103, 0.22);
    position: relative;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    line-height: 1.65;
}

.footer-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(140, 188, 103, 0.25);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: var(--fw-medium);
}

.footer-pill .pill-dot {
    width: 6px;
    height: 6px;
    background: #8CBC67;
    border-radius: 50%;
    display: inline-block;
}

.footer-title {
    color: var(--color-white);
    font-size: var(--text-md);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

.footer-badge-sub {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-xs);
    display: inline-block;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(140, 188, 103, 0.12);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-cert-strip {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.85);
    font-weight: var(--fw-semibold);
    transition: var(--transition);
}

.footer-cert-badge svg {
    color: var(--color-primary);
}

.footer-cert-badge:hover {
    border-color: var(--color-primary);
    color: var(--color-white);
    background: rgba(140, 188, 103, 0.08);
}

.footer-bottom {
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-whatsapp);
    color: var(--color-white) !important;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-wa 2.5s infinite;
}

.whatsapp-float:hover {
    background-color: var(--color-whatsapp-hover);
    transform: scale(1.1) rotate(5deg);
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;
    fill: currentColor;
}

@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST)
   ========================================================================== */
@media (max-width: 991px) {
    .metrics-strip {
        margin-top: 20px;
    }
    .metric-item {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        margin-bottom: 12px;
    }
    .metric-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
    .about-img-box img {
        height: 360px;
    }
    .nav-pills-custom .nav-link {
        padding: 10px 20px;
        font-size: var(--text-sm);
    }
}

@media (max-width: 767px) {
    .season-calendar {
        grid-template-columns: repeat(6, 1fr);
        gap: 6px;
    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}
