/* ==========================================================================
   DISEÑO SISTEMA DE ESTILOS - FUMIGACIONES VIC
   ========================================================================== */

/* Variables del sistema de diseño (Modo Claro por defecto) */
:root {
    --color-primary: #10471b;       /* Verde bosque oscuro (del texto 'vîc') */
    --color-secondary: #7ebc43;     /* Verde claro brillante (de la 'v' y hoja) */
    --color-secondary-hover: #6ca337;
    --color-accent: #4caf50;        /* Verde medio orgánico */
    --color-text-dark: #2d372e;     /* Gris carbón con tinte verde para legibilidad */
    --color-text-light: #526354;
    --color-bg-light: #f7faf5;      /* Fondo base cálido y limpio */
    --color-bg-white: #ffffff;
    --color-bg-green-soft: #edf3e8; /* Verde muy suave para cards */
    --color-border: #dbe3d6;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 4px 20px rgba(16, 71, 27, 0.05);
    --shadow-medium: 0 10px 30px rgba(16, 71, 27, 0.08);
    --shadow-glow: 0 8px 25px rgba(126, 188, 67, 0.3);

    /* Header & Navbar variables */
    --header-bg: rgba(255, 255, 255, 0.95);
    --header-border: #dbe3d6;
    --hero-bg: linear-gradient(135deg, #f4f8f2 0%, #edf3e8 100%);
    --card-surface: #ffffff;
    --card-surface-sub: #f7faf5;
    --form-panel-bg: #ffffff;
    --form-input-bg: #ffffff;
    --form-input-text: #2d372e;
    --theme-toggle-bg: #edf3e8;
    --theme-toggle-border: #dbe3d6;
    --theme-toggle-color: #10471b;
    --banner-bg: #10471b;
}

/* ═══════════════════════════════════════════════════════════════
   PALETA PARA MODO OSCURO (Dark Mode)
   ═══════════════════════════════════════════════════════════════ */
[data-theme="dark"] {
    --color-primary: #10b981;       /* Verde esmeralda vivo y legible */
    --color-secondary: #7ebc43;     /* Verde claro brillante */
    --color-secondary-hover: #93d455;
    --color-accent: #34d399;
    --color-text-dark: #f3f4f6;     /* Texto claro */
    --color-text-light: #9ca3af;    /* Texto secundario atenuado */
    --color-bg-light: #0b110d;      /* Fondo base ultra oscuro con matiz bosque */
    --color-bg-white: #111a14;      /* Superficie de cards */
    --color-bg-green-soft: #17241c; /* Cards acentuadas */
    --color-border: #203125;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.35);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 8px 25px rgba(126, 188, 67, 0.2);

    /* Header & Navbar */
    --header-bg: rgba(13, 20, 15, 0.94);
    --header-border: #1c2c20;
    --hero-bg: linear-gradient(135deg, #090e0b 0%, #0f1812 100%);
    --card-surface: #111a14;
    --card-surface-sub: #17241c;
    --form-panel-bg: #0e1611;
    --form-input-bg: #090e0b;
    --form-input-text: #f3f4f6;
    --theme-toggle-bg: #1c2c20;
    --theme-toggle-border: #283e2e;
    --theme-toggle-color: #fbbf24;
    --banner-bg: #0c1c11;
}

/* Reset y configuraciones básicas */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

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

ul {
    list-style: none;
}

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

/* Layout Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */

.main-header {
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid var(--header-border);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.4rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-img {
    height: 125px;
    width: 125px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 2px 6px rgba(16, 71, 27, 0.15));
}

.logo-img:hover {
    transform: scale(1.04);
    filter: drop-shadow(0 4px 10px rgba(16, 71, 27, 0.25));
}

/* Menú de Navegación */
.nav-menu ul {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-dark);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition-smooth);
}

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

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

/* CTA Call Button */
.header-cta-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--color-secondary);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    box-shadow: var(--shadow-glow);
}

.header-cta-btn:hover {
    background-color: var(--color-secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(126, 188, 67, 0.4);
}

.phone-icon {
    width: 18px;
    height: 18px;
}

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

.cta-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.9;
}

.cta-number {
    font-size: 0.9rem;
    font-weight: 700;
}

/* CTA Wrapper & Theme Toggle */
.header-cta-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Botón Switch de Modo Oscuro / Claro */
.theme-toggle-btn {
    background-color: var(--theme-toggle-bg);
    border: 1px solid var(--theme-toggle-border);
    color: var(--theme-toggle-color);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
    flex-shrink: 0;
}

.theme-toggle-btn:hover {
    transform: scale(1.08) rotate(15deg);
    border-color: var(--color-secondary);
}

.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.icon-moon {
    display: block;
}

.icon-sun {
    display: none;
}

[data-theme="dark"] .icon-moon {
    display: none;
}

[data-theme="dark"] .icon-sun {
    display: block;
}

/* Hamburguesa Menú Móvil */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1100;
}

/* Contenedor de acciones del header en móvil (WhatsApp + hamburger) */
.mobile-header-actions {
    display: none;
    align-items: center;
    gap: 0.5rem;
    z-index: 1100;
}

/* Botón WhatsApp rápido — solo visible en móvil */
.mobile-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.4);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.mobile-wa-btn svg {
    width: 20px;
    height: 20px;
}

.mobile-wa-btn:hover {
    background-color: #1fb355;
    transform: scale(1.08);
}

.mobile-header-actions .theme-toggle-btn {
    width: 38px;
    height: 38px;
    box-shadow: none;
}

.mobile-header-actions .theme-toggle-btn svg {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    position: relative;
    padding: 5rem 0 9rem 0;
    background: var(--hero-bg);
    overflow: hidden;
    min-height: 560px;
    transition: background 0.3s ease;
}

/* Foto del técnico: cubre absolutamente el lado derecho sin ningún marco ni borde */
.hero-photo-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 58%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    filter: saturate(1.25) contrast(1.15) brightness(1.05);
    /* Gradiente que desvanece la imagen de forma limpia hacia la izquierda y abajo */
    -webkit-mask-image: linear-gradient(
        to left,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,1) 45%,
        rgba(0,0,0,0.5) 75%,
        rgba(0,0,0,0) 100%
    ),
    linear-gradient(
        to top,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,1) 12%
    );
    -webkit-mask-composite: destination-in;
    mask-image: linear-gradient(
        to left,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,1) 45%,
        rgba(0,0,0,0.5) 75%,
        rgba(0,0,0,0) 100%
    ),
    linear-gradient(
        to top,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,1) 12%
    );
    mask-composite: intersect;
}

/* El contenedor del hero es solo 1 columna - la foto es el fondo */
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-info {
    max-width: 540px;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(126, 188, 67, 0.12);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(126, 188, 67, 0.2);
}

.leaf-icon {
    width: 14px;
    height: 14px;
    color: var(--color-secondary);
}

.hero-title {
    font-size: 3.5rem;
    color: var(--color-primary);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 2.2rem;
    max-width: 480px;
}

/* Hero Button CTA */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background-color: var(--color-primary);
    color: #fff;
    padding: 1.1rem 2.2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(16, 71, 27, 0.35);
}

.btn-primary:hover {
    background-color: #1e5a32;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(16, 71, 27, 0.45);
}

.btn-leaf-icon {
    width: 18px;
    height: 18px;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-hero-video {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    color: var(--color-primary);
    padding: 1.1rem 2.2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

.btn-hero-video:hover {
    background-color: var(--color-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 71, 27, 0.35);
}

.btn-play-icon {
    width: 18px;
    height: 18px;
}

/* Badges Grid (Mockup Row) */
.hero-badges-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 3.5rem;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
    max-width: 520px;
}

.hero-badge-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.badge-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-bg-white);
    border: 1.5px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.badge-icon-wrapper svg {
    width: 22px;
    height: 22px;
}

.badge-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1.3;
    letter-spacing: 0.2px;
}

.hero-badge-card:hover .badge-icon-wrapper {
    border-color: var(--color-secondary);
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* Onda divisoria de fondo SVG */
.wave-container {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
}

.wave-container svg {
    display: block;
    width: 100%;
    height: 80px;
}

.wave-container svg path {
    fill: var(--banner-bg, #10471b);
    transition: fill 0.3s ease;
}

/* Animaciones */
@keyframes floatBlob {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translateY(0);
    }
    50% {
        border-radius: 40% 60% 50% 50% / 50% 55% 45% 50%;
        transform: translateY(-10px);
    }
}

/* ==========================================================================
   FEATURE BANNER (Bottom wave list)
   ========================================================================== */

.feature-banner {
    background-color: var(--banner-bg, #10471b);
    padding: 3rem 0;
    color: #fff;
    position: relative;
    z-index: 4;
    transition: background-color 0.3s ease;
}

.banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.banner-col {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 1rem;
}

.banner-col:last-child {
    border-right: none;
    padding-right: 0;
}

.banner-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    flex-shrink: 0;
}

.banner-icon svg {
    width: 20px;
    height: 20px;
}

.banner-text {
    display: flex;
    flex-direction: column;
}

.banner-text strong {
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    font-family: var(--font-heading);
}

.banner-text span {
    font-size: 0.8rem;
    color: #a3c2ab;
}

/* Decoración hoja en la esquina */
.banner-decor-leaf {
    position: absolute;
    bottom: -15px;
    right: 20px;
    width: 60px;
    height: 60px;
    color: rgba(126, 188, 67, 0.1);
    transform: rotate(45deg);
    pointer-events: none;
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */

.about-section {
    padding: 7rem 0;
    background-color: var(--color-bg-white);
    transition: background-color 0.3s ease;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-img-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.about-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    filter: saturate(1.1) contrast(1.1) brightness(0.96);
    transition: var(--transition-smooth);
}

.overlay-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background-color: var(--color-primary);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-medium);
}

.badge-years {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.badge-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Subtítulos generales de sección */
.section-subtitle {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.highlight-text {
    color: var(--color-secondary);
}

.about-lead {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 1.25rem;
    line-height: 1.45;
}

.about-text {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.certifications-card {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: background-color 0.3s ease;
}

.certifications-card h3 {
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.certs-logos-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--color-bg-white);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    transition: background-color 0.3s ease;
}

.cert-abbr {
    font-weight: 800;
    color: var(--color-secondary);
    font-size: 0.9rem;
    min-width: 100px;
}

.cert-desc {
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-weight: 500;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services-section {
    padding: 7rem 0;
    background-color: var(--color-bg-light);
    transition: background-color 0.3s ease;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.section-desc {
    color: var(--color-text-light);
    font-size: 1.05rem;
}

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

.service-card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 2.2rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background-color: var(--color-bg-green-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.service-icon-box svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 1.35rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.service-text {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-bullets {
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-bullets li {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-bullets li::before {
    content: '✓';
    color: var(--color-secondary);
    font-weight: 700;
}

/* Efectos Hover Card */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-secondary);
}

.service-card:hover .service-icon-box {
    background-color: var(--color-secondary);
    color: #fff;
}

/* Tarjetas de Servicio clickeables */
.service-card-clickable {
    cursor: pointer;
}

.service-card-clickable:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 3px;
}

/* Pie de la tarjeta con "Ver detalle" */
.service-card-footer {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--color-border);
}

.service-ver-detalle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-secondary);
    letter-spacing: 0.3px;
    transition: var(--transition-smooth);
}

.service-card-clickable:hover .service-ver-detalle {
    color: var(--color-primary);
    gap: 0.65rem;
}

/* ==============================================================
   MODAL DE DETALLE DE SERVICIO
   ============================================================== */

/* Ajuste de tamaño para la modal de servicio */
.service-modal-card {
    max-width: 680px;
}

/* Cabecera del modal de servicio */
.svc-modal-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.75rem 2.5rem 1.25rem 2.5rem;
    border-bottom: 3px solid var(--color-secondary);
    background: linear-gradient(to right, var(--color-bg-light), var(--color-bg-white));
}

.svc-modal-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.svc-modal-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-light);
    margin-bottom: 0.25rem;
}

.svc-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

/* Pasos del proceso */
.svc-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.svc-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.svc-step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.svc-step strong {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-dark);
    margin-bottom: 0.2rem;
}

.svc-step p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin: 0;
}

/* Beneficios */
.svc-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    list-style: none;
    padding: 0;
}

.svc-benefits li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.4;
}

/* Responsive del modal de servicio */
@media (max-width: 768px) {
    .svc-modal-header {
        padding: 1.5rem;
        gap: 1rem;
    }
    .svc-modal-icon-wrap {
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }
    .svc-modal-header h3 {
        font-size: 1.25rem;
    }
}

/* Tarjeta especial CTA destacada */
.service-card.highlight-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1e5a32 100%);
    border: none;
    color: #fff;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-card.highlight-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
}

.highlight-content h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.highlight-content p {
    font-size: 0.95rem;
    color: #a9cfb4;
    margin-bottom: 2rem;
}

.btn-secondary {
    display: inline-block;
    background-color: var(--color-secondary);
    color: #fff;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
}

.btn-secondary:hover {
    background-color: #fff;
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   SECTORES SECTION
   ========================================================================== */

.sectors-section {
    padding: 6.5rem 0;
    background-color: var(--color-bg-white);
}

.sectors-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.sectors-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.sector-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.accordion-item {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.35rem 1.5rem;
    transition: var(--transition-smooth);
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.35rem;
}

.sector-icon {
    font-size: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.sector-icon-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sector-icon-svg svg {
    stroke: var(--color-primary);
    transition: stroke 0.3s ease;
}

.accordion-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.accordion-item p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--color-text-light);
    padding-left: 2.35rem;
    margin: 0;
}

.accordion-item:hover {
    border-color: var(--color-secondary);
    background-color: var(--color-bg-white);
    box-shadow: var(--shadow-soft);
    transform: translateX(4px);
}

.accordion-item:hover .sector-icon-svg svg {
    stroke: var(--color-secondary);
}

/* Imagen de Sectores */
.sectors-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.sectors-image {
    position: relative;
    width: 100%;
    max-width: 440px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px -10px rgba(10, 46, 26, 0.16), 0 0 0 1px var(--color-border);
    background: linear-gradient(145deg, #ffffff, #f2f7f4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.sectors-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 55px -10px rgba(10, 46, 26, 0.22), 0 0 0 1px var(--color-secondary);
}

.sector-img {
    width: 100%;
    height: auto;
    max-height: 640px;
    object-fit: contain;
    display: block;
    filter: saturate(1.04) contrast(1.03);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */

.gallery-section {
    padding: 6.5rem 0;
    background-color: var(--color-bg-light);
    position: relative;
    overflow: hidden;
}

.gallery-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gallery-carousel-wrapper {
    position: relative;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    padding: 0 3.5rem;
}

.gallery-track-clip {
    overflow: hidden;
    border-radius: 20px;
    padding: 1rem 0.5rem 1.75rem;
    margin: -1rem -0.5rem -1.75rem;
}

.gallery-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.gallery-card {
    min-width: calc((100% - 4.5rem) / 4);
    width: calc((100% - 4.5rem) / 4);
    flex-shrink: 0;
    background-color: var(--color-bg-white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(16, 71, 27, 0.08);
    border: 1px solid var(--color-border);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    user-select: none;
    position: relative;
}

.gallery-card:hover,
.gallery-card:focus-visible {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(16, 71, 27, 0.16);
    border-color: var(--color-secondary);
    outline: none;
}

.gallery-card-img-wrap {
    position: relative;
    width: 100%;
    height: 330px;
    background: #f1f5ee;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}

.gallery-card:hover .gallery-card-img-wrap img {
    transform: scale(1.06);
}

.gallery-card-zoom-badge {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
    opacity: 0.88;
    transform: scale(0.92);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    pointer-events: none;
}

.gallery-card:hover .gallery-card-zoom-badge {
    opacity: 1;
    transform: scale(1.06);
    background-color: var(--color-primary);
    color: #ffffff;
}

.gallery-card-desc {
    padding: 1.15rem 1.25rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex-grow: 1;
    background: var(--color-bg-white);
}

.gallery-card-desc h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.3;
}

.gallery-card-desc span {
    font-size: 0.82rem;
    color: var(--color-text-light);
    line-height: 1.45;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
}

.gallery-prev {
    left: 0;
}

.gallery-next {
    right: 0;
}

.gallery-nav:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 10px 24px rgba(16, 71, 27, 0.25);
}

.gallery-nav[aria-disabled="true"] {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: rgba(16, 71, 27, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.35s ease, background-color 0.35s ease, border-radius 0.35s ease;
}

.gallery-dot.active {
    width: 28px;
    background-color: var(--color-primary);
    border-radius: 5px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-section {
    padding: 7rem 0;
    background-color: var(--color-bg-white);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0d3815 100%);
    border-radius: 30px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

/* Panel izquierdo: Información */
.contact-info-panel {
    padding: 4rem 1.5rem 4rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-white {
    color: #fff;
}

.text-light-green {
    color: #a8cfb4;
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-card-btn {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    color: #fff;
}

.contact-card-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-secondary);
    transform: translateX(5px);
}

.contact-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-secondary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon-circle svg {
    width: 20px;
    height: 20px;
}

.contact-icon-circle.instagram-color {
    background-color: #e1306c;
}

.contact-icon-circle.tiktok-color {
    background-color: #010101;
}

.contact-card-btn.text-only {
    cursor: default;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-loc {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a8cfb4;
    font-weight: 600;
}

.contact-num {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.contact-card-btn.contact-card-dual {
    cursor: default;
}

.contact-card-btn.contact-card-dual:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-dual-nums {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.2rem;
}

.contact-num-chip {
    font-size: 1.05rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #fff;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.contact-num-chip:hover {
    color: var(--color-secondary);
    transform: translateY(-1px);
}

.contact-sep {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.9rem;
    font-weight: 300;
}

/* Panel derecho: Formulario */
.contact-form-panel {
    background-color: var(--form-panel-bg);
    padding: 3.5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.quote-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
}

.form-group input, .form-group select, .form-group textarea {
    background-color: var(--form-input-bg);
    color: var(--form-input-text);
    padding: 0.85rem 1.1rem;
    border-radius: 10px;
    border: 1.5px solid var(--color-border);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 10px rgba(126, 188, 67, 0.2);
}

.btn-submit {
    background-color: var(--color-secondary);
    color: #fff;
    padding: 1.1rem;
    border: 0;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-smooth);
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background-color: var(--color-secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(126, 188, 67, 0.4);
}

.form-status {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

.status-success {
    color: #2e7d32;
}

.status-loading {
    color: var(--color-primary);
}

.status-error {
    color: #d32f2f;
}

/* Acceso rápido a teléfonos en la parte derecha del formulario */
.form-direct-call {
    width: 100%;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.direct-call-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--color-secondary);
}

.direct-call-badge svg {
    stroke: var(--color-secondary);
}

.direct-call-branches {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.direct-branch {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: var(--transition-smooth);
}

.direct-branch:hover {
    border-color: var(--color-secondary);
    background-color: var(--color-bg-white);
    box-shadow: var(--shadow-soft);
}

.direct-branch-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.direct-branch-links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.direct-phone-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.86rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    transition: color 0.2s ease, transform 0.2s ease;
}

.direct-phone-pill svg {
    stroke: var(--color-secondary);
    transition: transform 0.2s ease;
}

.direct-phone-pill:hover {
    color: var(--color-secondary);
    transform: translateX(2px);
}

.direct-phone-pill:hover svg {
    transform: translateX(2px);
}

/* ==========================================================================
   FOOTER (Rediseño Integral & Modernización)
   ========================================================================== */

.main-footer {
    background: linear-gradient(180deg, #0d1510 0%, #080c09 100%);
    color: #fff;
    border-top: 3px solid var(--color-secondary);
    position: relative;
    overflow: hidden;
}

/* Decoración de fondo sutil en footer */
.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 350px;
    background: radial-gradient(ellipse, rgba(16, 185, 129, 0.04) 0%, transparent 70%);
    pointer-events: none;
}



/* ═══════════════════════════════════════════════════════════════
   TOP FOOTER (3 Columnas)
   ═══════════════════════════════════════════════════════════════ */
.footer-top {
    padding: 3.5rem 0 2.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1.2fr;
    gap: 2.5rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* Columna 1: Brand */
.footer-brand-col {
    gap: 0.85rem;
}

.footer-logo-link {
    display: inline-block;
    width: fit-content;
}

.footer-logo-img {
    height: 110px;
    width: 110px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.25));
    transition: transform 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.04);
}

.footer-badge-slogan {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.footer-about-text {
    font-size: 0.84rem;
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Social Wrapper */
.footer-social-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.25rem;
}

.social-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #d1d5db;
}

.footer-social-links {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.footer-social-btn svg {
    width: 18px;
    height: 18px;
}

.footer-social-btn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    color: #fff;
}

.footer-social-btn.instagram-btn:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
}

.footer-social-btn.tiktok-btn:hover {
    background-color: #010101;
    border-color: #00f2fe;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.footer-social-btn.facebook-btn:hover {
    background-color: #1877f2;
    border-color: #1877f2;
}

.footer-social-btn.whatsapp-btn:hover {
    background-color: #25d366;
    border-color: #25d366;
}

.footer-social-btn.maps-btn:hover {
    background-color: #ea4335;
    border-color: #ea4335;
}


/* Avales Sanitarios - Columna Brand Footer */
.footer-brand-avales {
    margin-top: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-brand-avales-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #6b7280;
}

/* Pills variante marca (verde-lima #7ebc43) — columna izquierda footer */
.cert-pill-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 50px;
    background: rgba(126, 188, 67, 0.12);
    border: 1px solid rgba(126, 188, 67, 0.28);
    color: #a3d45e;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: var(--transition-smooth);
}

.cert-pill-brand svg {
    width: 12px !important;
    height: 12px !important;
    flex-shrink: 0;
}

.cert-pill-brand:hover {
    background: rgba(126, 188, 67, 0.22);
    border-color: #7ebc43;
    transform: translateY(-1px);
}

/* Títulos de Columnas */
.footer-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.35rem;
    position: relative;
    padding-bottom: 0.6rem;
    letter-spacing: 0.3px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2.5px;
    background: linear-gradient(90deg, var(--color-secondary), #34d399);
    border-radius: 2px;
}

/* Listas de Navegación y Servicios */
.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    list-style: none;
    padding: 0;
}

.footer-nav-list a {
    font-size: 0.86rem;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.link-arrow {
    color: var(--color-secondary);
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1;
    margin-right: 0.45rem;
    transition: transform 0.25s ease;
}

.footer-nav-list a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-nav-list a:hover .link-arrow {
    color: var(--color-primary);
    transform: translateX(2px);
}


/* Columna 4: Sedes & Contacto */
.footer-branches {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.footer-branch-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.footer-branch-item:hover {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.45);
    transform: translateY(-2px);
}

.branch-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.28);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.25s ease;
}

.footer-branch-item:hover .branch-icon {
    transform: scale(1.06);
    background: rgba(16, 185, 129, 0.22);
    color: #34d399;
}

.branch-icon svg {
    width: 18px;
    height: 18px;
}

.branch-info {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex: 1;
}

.branch-city-title,
.branch-info strong {
    font-size: 0.76rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    font-weight: 700;
    display: block;
}

.branch-phones-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.branch-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #f3f4f6;
    text-decoration: none;
    letter-spacing: 0.35px;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    width: fit-content;
}

.branch-phone-link:hover {
    background: rgba(37, 211, 102, 0.16);
    border-color: rgba(37, 211, 102, 0.45);
    color: #ffffff;
    transform: translateX(3px);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.phone-wa-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #25d366;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.branch-phone-link:hover .phone-wa-icon {
    transform: scale(1.15);
}

.phone-wa-icon svg {
    width: 14px;
    height: 14px;
    display: block;
}

.branch-link {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    transition: color 0.2s ease;
}

.branch-link:hover {
    color: var(--color-secondary);
}

.branch-links-group {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.branch-sep {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
}

/* Badges de Certificaciones en Footer */
.footer-certs-badges {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.certs-badge-title {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.65rem;
}

.certs-pills {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.cert-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 50px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #34d399;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: var(--transition-smooth);
}

.cert-pill svg {
    width: 12px;
    height: 12px;
}

.cert-pill:hover {
    background: rgba(16, 185, 129, 0.22);
    border-color: #34d399;
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════
   BARRA INFERIOR (Bottom Bar)
   ═══════════════════════════════════════════════════════════════ */
.footer-bottom {
    background-color: #060907;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 6rem 0 1.5rem; /* Margen de seguridad amplio para el botón flotante de WhatsApp */
    display: grid;
    grid-template-columns: 1.2fr auto 1.2fr;
    align-items: center;
    gap: 1.5rem;
}

.footer-copy {
    font-size: 0.78rem;
    color: #6b7280;
}

.footer-bottom-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.76rem;
    color: #9ca3af;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.status-indicator-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.developer-credit {
    font-size: 0.78rem;
    color: #6b7280;
    text-align: right;
}

.developer-credit a {
    color: var(--color-secondary);
    font-weight: 600;
    letter-spacing: 0.2px;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.developer-credit a:hover {
    color: #ffffff;
    border-bottom-color: var(--color-secondary);
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.footer-admin-discreet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    color: #4b5563;
    background: transparent;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all 0.25s ease;
    opacity: 0.4;
    flex-shrink: 0;
}

.footer-admin-discreet:hover {
    opacity: 1;
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.25);
    transform: translateY(-1px);
}

@media (max-width: 960px) {
    .footer-bottom-right {
        justify-content: center;
    }
}

/* Backdrop for Mobile Navigation */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(16, 71, 27, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.nav-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 28px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    background-color: #20ba5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float-icon {
    width: 32px;
    height: 32px;
}

.whatsapp-float-tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--color-primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover .whatsapp-float-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   MEDIA QUERIES - RESPONSIVE DESIGN
   ========================================================================== */

/* Escritorios medianos y Laptops (hasta 1024px) */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-container {
        gap: 2rem;
    }
    
    .banner-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .banner-col {
        border-right: none;
    }
    
    .banner-col:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .sectors-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        height: 400px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-card {
        min-width: calc((100% - 3rem) / 3);
        width: calc((100% - 3rem) / 3);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info-panel {
        padding: 3rem 3rem 1.5rem 3rem;
    }
    
    .contact-form-panel {
        padding: 3rem;
    }
}

/* ============================================================
   TABLETS (hasta 768px)
   ============================================================ */
@media (max-width: 768px) {

    /* --- Header & Logo --- */
    .main-header {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background-color: #ffffff !important;
    }
    .logo-img {
        height: 80px;
        width: 80px;
    }
    .footer-logo-img {
        height: 100px;
        width: 100px;
    }
    .header-container {
        padding: 0.4rem 1rem;
    }

    /* --- Menú hamburguesa --- */
    .mobile-header-actions {
        display: flex;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        inset: 0 0 0 25%;
        background-color: var(--color-bg-white);
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
        padding: min(18vh, 7rem) 2rem 2rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
    }
    .nav-menu.active {
        transform: translateX(0);
    }
    .nav-menu ul {
        flex-direction: column;
        gap: 0.25rem;
    }
    .nav-link {
        font-size: 1.1rem;
        font-weight: 600;
        padding: 0.9rem 0.5rem;
        border-bottom: 1px solid var(--color-border);
        display: block;
        width: 100%;
    }
    .nav-menu ul li:last-child .nav-link {
        border-bottom: none;
    }
    .header-cta-wrapper {
        display: none;
    }

    /* --- Burger icon animation --- */
    .hamburger {
        display: block;
        position: relative;
    }
    .hamburger, .hamburger::before, .hamburger::after {
        width: 24px;
        height: 2px;
        background-color: var(--color-primary);
        transition: var(--transition-smooth);
    }
    .hamburger::before, .hamburger::after {
        content: '';
        position: absolute;
        left: 0;
    }
    .hamburger::before { top: -8px; }
    .hamburger::after  { top: 8px; }
    .mobile-nav-toggle[aria-expanded="true"] .hamburger {
        background-color: transparent;
    }
    .mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    .mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }

    /* --- Hero Section --- */
    .hero-section {
        display: flex;
        flex-direction: column;
        padding: 4rem 0 4.5rem 0;
        min-height: auto;
    }
    .hero-container {
        text-align: left;
        padding: 1.5rem 1rem 0;
        z-index: 2;
    }
    .hero-info {
        max-width: 100%;
    }
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }
    .hero-badge {
        justify-content: flex-start;
        margin-bottom: 1rem;
    }
    /* Botones hero apilados en móvil */
    .hero-cta-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .btn-primary, .btn-hero-video {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    .hero-photo-bg {
        position: relative;
        width: 100%;
        height: 300px;
        top: auto; bottom: 0; right: auto;
        opacity: 1;
        margin-top: 1.5rem;
        z-index: 1;
    }
    .hero-photo-img {
        -webkit-mask-image: linear-gradient(
            to top,
            rgba(0,0,0,1) 0%,
            rgba(0,0,0,1) 70%,
            rgba(0,0,0,0) 100%
        );
        mask-image: linear-gradient(
            to top,
            rgba(0,0,0,1) 0%,
            rgba(0,0,0,1) 70%,
            rgba(0,0,0,0) 100%
        );
    }
    .hero-badges-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 2rem;
        margin-bottom: 3.5rem;
        max-width: 100%;
    }
    .badge-title {
        font-size: 0.68rem;
    }
    .wave-container svg {
        height: 40px;
    }

    /* --- Feature Banner --- */
    .feature-banner {
        padding: 2rem 0;
    }
    .banner-container {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .banner-col {
        border-right: none !important;
        padding-right: 0;
        padding-bottom: 1.25rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .banner-col:nth-child(odd) {
        border-right: 1px solid rgba(255,255,255,0.08) !important;
        padding-right: 1rem;
    }
    .banner-col:nth-child(3),
    .banner-col:nth-child(4) {
        border-bottom: none;
        padding-bottom: 0;
    }

    /* --- Section spacing --- */
    .about-section,
    .services-section,
    .sectors-section,
    .gallery-section,
    .contact-section,
    .videos-section {
        padding: 3.5rem 0;
    }
    .section-header-center {
        margin-bottom: 2.5rem;
    }
    .section-title {
        font-size: 1.9rem !important;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    .section-subtitle {
        font-size: 0.7rem !important;
        letter-spacing: 1px;
    }
    .section-desc {
        font-size: 0.92rem;
    }

    /* --- About Section --- */
    .about-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about-image {
        height: 280px;
    }
    .about-lead {
        font-size: 1rem;
    }
    .certifications-card {
        padding: 1.25rem;
    }

    /* --- Services Grid --- */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .service-card {
        padding: 1.5rem;
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    .service-icon-box {
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 1rem;
    }
    .service-card h3 {
        font-size: 1.15rem;
        text-align: center;
        width: 100%;
    }
    .service-text {
        text-align: center;
        width: 100%;
    }
    .service-bullets {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 1rem;
    }
    .service-bullets li {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
    }
    .service-card-footer {
        width: 100%;
        display: flex;
        justify-content: center;
        align-self: center;
        text-align: center;
        margin-top: auto;
    }
    .highlight-content {
        text-align: center;
    }
    .service-card.highlight-card {
        text-align: center;
        align-items: center;
    }

    /* --- Sectors --- */
    .sectors-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }
    .sectors-image {
        max-width: 380px;
        margin: 0 auto;
    }
    .sector-img {
        height: auto;
        max-height: 480px;
        object-fit: contain;
    }
    .sector-accordion {
        margin-top: 0;
        gap: 1rem;
    }
    .accordion-item {
        padding: 1.25rem;
    }

    /* --- Gallery --- */
    .gallery-section {
        padding: 3.5rem 0;
    }
    .gallery-carousel-wrapper {
        padding: 0 2.5rem;
    }
    .gallery-card {
        min-width: calc((100% - 1.25rem) / 2);
        width: calc((100% - 1.25rem) / 2);
    }
    .gallery-track {
        gap: 1.25rem;
    }
    .gallery-card-img-wrap {
        height: 270px;
    }
    .gallery-card-desc {
        padding: 0.95rem 1rem;
    }
    .gallery-card-desc h4 {
        font-size: 0.95rem;
    }
    .gallery-card-desc span {
        font-size: 0.75rem;
    }
    .gallery-nav {
        width: 40px;
        height: 40px;
    }
    .gallery-prev { left: -4px; }
    .gallery-next { right: -4px; }

    /* --- Contact Section --- */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 0;
        border-radius: 20px;
        margin: 0 1rem;
    }
    .contact-info-panel {
        padding: 2.5rem 1.5rem;
    }
    .contact-form-panel {
        padding: 2.5rem 1.5rem;
        border-radius: 0 0 20px 20px;
    }
    .contact-card-btn {
        padding: 0.9rem 1rem;
        gap: 1rem;
    }
    .contact-num {
        font-size: 0.95rem;
    }
    .text-light-green {
        font-size: 0.92rem;
        margin-bottom: 1.75rem;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* --- Footer Responsive (Mobile & Tablet) --- */
    .footer-top {
        padding: 2.75rem 0 2rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .footer-brand-col {
        align-items: center;
        text-align: center;
        max-width: 480px;
        margin: 0 auto;
    }
    .footer-badge-slogan {
        margin: 0 auto;
    }
    .footer-about-text {
        text-align: center;
        font-size: 0.88rem;
        line-height: 1.55;
    }
    .footer-social-wrapper {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 0.5rem;
    }
    .footer-social-links {
        justify-content: center;
        gap: 0.75rem;
    }
    .footer-social-btn {
        width: 42px;
        height: 42px;
    }
    .footer-social-btn svg {
        width: 20px;
        height: 20px;
    }

    /* Columna Navegación en móvil: 2 sub-columnas limpias y centradas */
    .footer-nav-col {
        align-items: center;
        width: 100%;
    }
    .footer-title {
        text-align: center;
        margin-bottom: 1.25rem;
    }
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-nav-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.65rem 1rem;
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
        text-align: left;
    }
    .footer-nav-list a {
        font-size: 0.85rem;
        padding: 0.25rem 0;
    }

    /* Columna Contacto y Sedes en móvil */
    .footer-contact-col {
        align-items: center;
        width: 100%;
    }
    .footer-branches {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        gap: 0.85rem;
    }
    .footer-branch-item {
        background: rgba(255, 255, 255, 0.025);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 12px;
        padding: 0.75rem 1rem;
        align-items: center;
        text-align: left;
    }
    .branch-info strong {
        font-size: 0.72rem;
    }
    .branch-link {
        font-size: 1rem;
    }
    .footer-certs-badges {
        width: 100%;
        max-width: 400px;
        margin: 1.25rem auto 0;
        text-align: center;
    }
    .certs-pills {
        justify-content: center;
    }

    .footer-bottom-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.75rem;
        padding: 0 1.5rem;
    }
    .footer-bottom-badge {
        margin: 0 auto;
    }
    .developer-credit {
        text-align: center;
    }
    .footer-bottom {
        padding-bottom: 5.5rem; /* Evita que el botón flotante de WhatsApp tape contenido en móvil */
    }

    /* --- Floating WhatsApp --- */
    .whatsapp-float {
        bottom: 24px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    .whatsapp-float-icon {
        width: 26px;
        height: 26px;
    }
    .whatsapp-float-tooltip {
        display: none;
    }
}

/* ============================================================
   SMARTPHONES PEQUEÑOS (hasta 480px)
   ============================================================ */
@media (max-width: 480px) {

    /* --- Header --- */
    .logo-img {
        height: 70px;
        width: 70px;
    }

    /* --- Hero --- */
    .hero-container {
        padding: 1rem 1rem 0;
    }
    .hero-title {
        font-size: 1.85rem;
        line-height: 1.2;
    }
    .hero-desc {
        font-size: 0.9rem;
    }
    .hero-photo-bg {
        height: 250px;
    }
    .hero-badges-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    .badge-icon-wrapper {
        width: 42px;
        height: 42px;
    }
    .badge-icon-wrapper svg {
        width: 18px;
        height: 18px;
    }

    /* --- Banner --- */
    .banner-container {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .banner-col {
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.08) !important;
        padding-bottom: 1.25rem;
        padding-right: 0;
    }
    .banner-col:last-child {
        border-bottom: none !important;
        padding-bottom: 0;
    }

    /* --- Sections spacing --- */
    .about-section,
    .services-section,
    .sectors-section,
    .gallery-section,
    .contact-section,
    .videos-section {
        padding: 3rem 0;
    }
    .section-title {
        font-size: 1.65rem !important;
    }

    /* --- About --- */
    .about-image {
        height: 230px;
    }
    .certifications-card h3 {
        font-size: 0.9rem;
    }
    .cert-abbr {
        min-width: 80px;
        font-size: 0.8rem;
    }
    .cert-desc {
        font-size: 0.72rem;
    }

    /* --- Services --- */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .service-card {
        padding: 1.35rem;
        align-items: center;
        text-align: center;
    }
    .service-icon-box {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .service-card h3 {
        font-size: 1.05rem;
        text-align: center;
    }
    .service-bullets {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .service-bullets li {
        justify-content: center;
        text-align: center;
        width: 100%;
    }
    .service-card-footer {
        width: 100%;
        display: flex;
        justify-content: center;
        align-self: center;
    }

    /* --- Sectors --- */
    .sectors-image {
        max-width: 320px;
        margin: 0 auto;
    }
    .sector-img {
        height: auto;
        max-height: 420px;
        object-fit: contain;
    }
    .accordion-item {
        padding: 1rem;
    }
    .accordion-header h4 {
        font-size: 1rem;
    }

    /* --- Gallery --- */
    .gallery-carousel-wrapper {
        padding: 0 0.5rem;
    }
    .gallery-card {
        min-width: 85%;
        width: 85%;
    }
    .gallery-track {
        gap: 1rem;
    }
    .gallery-card-img-wrap {
        height: 310px;
    }
    .gallery-nav {
        display: none;
    }

    /* --- Contact --- */
    .contact-container {
        margin: 0 0.5rem;
        border-radius: 16px;
    }
    .contact-info-panel {
        padding: 2rem 1.25rem;
    }
    .contact-form-panel {
        padding: 2rem 1.25rem;
        border-radius: 0 0 16px 16px;
    }
    .contact-icon-circle {
        width: 38px;
        height: 38px;
    }
    .contact-icon-circle svg {
        width: 18px;
        height: 18px;
    }
    .contact-num {
        font-size: 0.9rem;
    }
    .btn-submit {
        padding: 1rem;
        font-size: 0.95rem;
    }
    .direct-call-branches {
        grid-template-columns: 1fr;
    }

    /* --- Footer Small Screen --- */
    .footer-container {
        gap: 2rem;
    }
    .footer-logo-img {
        height: 95px;
        width: 95px;
    }
    .footer-nav-list {
        grid-template-columns: 1fr;
        max-width: 280px;
    }
    .footer-top {
        padding: 2.25rem 0 1.5rem;
    }
}

/* ==========================================================================
   GOOGLE BUSINESS PROFILE BUTTON (Footer)
   ========================================================================== */

.btn-google-business {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.55rem 1.1rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
    backdrop-filter: blur(6px);
}
.btn-google-business:hover {
    background: rgba(66, 133, 244, 0.25);
    border-color: rgba(66, 133, 244, 0.6);
    transform: translateY(-2px);
    color: #fff;
}
.btn-google-business svg {
    fill: #ea4335;
    flex-shrink: 0;
}

/* ==========================================================================
   INTERACTIVIDAD Y VENTANA MODAL - MÁS INFORMACIÓN
   ========================================================================== */

/* Resets para botón HTML btn-primary */
button.btn-primary {
    border: none;
    cursor: pointer;
    outline: none;
    font-family: var(--font-heading);
}

.btn-arrow-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow-icon {
    transform: translateX(4px);
}

.about-cta-wrapper {
    margin-bottom: 2rem;
}

/* Botón "Ver más" para la sección Nosotros */
.btn-info-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: linear-gradient(135deg, #7ebc43 0%, #5da030 100%);
    color: #fff;
    border: none;
    padding: 0.65rem 1.6rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 16px rgba(126, 188, 67, 0.35);
    letter-spacing: 0.2px;
}

.btn-info-outline:hover {
    background: linear-gradient(135deg, #6ca337 0%, #4d8a26 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(126, 188, 67, 0.5);
}

.btn-info-outline:hover .btn-arrow-icon {
    transform: translateX(4px);
}

.btn-info-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Botón CTA dentro del pie de la modal */
.btn-modal-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: var(--color-secondary);
    color: #fff;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-smooth);
}

.btn-modal-cta:hover {
    background-color: var(--color-secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(126, 188, 67, 0.4);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(16, 71, 27, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background-color: var(--color-bg-white);
    border-radius: 24px;
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(16, 71, 27, 0.15);
    border: 1px solid var(--color-border);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

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

/* Botón de cerrar */
.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: rgba(16, 71, 27, 0.05);
    border: none;
    color: var(--color-primary);
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 10;
}

.modal-close:hover {
    background-color: var(--color-primary);
    color: #fff;
    transform: rotate(90deg);
}

/* Cabecera de la Modal */
.modal-header {
    padding: 2rem 2.5rem 1.2rem 2.5rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: linear-gradient(to right, var(--color-bg-light), var(--color-bg-white));
}

.modal-logo {
    height: 60px;
    width: 60px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(16, 71, 27, 0.1));
}

.modal-header h3 {
    font-size: 1.6rem;
    color: var(--color-primary);
    font-weight: 700;
}

/* Cuerpo de la Modal */
.modal-body {
    padding: 2rem 2.5rem;
    overflow-y: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.modal-section h4 {
    font-size: 1.15rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-section p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Misión y Visión Grid */
.modal-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background-color: var(--color-bg-light);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--color-border);
}

.modal-col h4 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-col p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Lista de Valores */
.modal-values-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-values-list li {
    font-size: 0.9rem;
    color: var(--color-text-light);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.modal-values-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: 700;
}

/* Certificados Detallados */
.certs-intro {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.certs-list-detailed {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cert-detail-item {
    background-color: var(--color-bg-light);
    border-left: 4px solid var(--color-secondary);
    padding: 1rem 1.25rem;
    border-radius: 0 12px 12px 0;
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.cert-detail-item strong {
    color: var(--color-primary);
    font-weight: 700;
}

/* Pie de la Modal */
.modal-footer {
    padding: 1.5rem 2.5rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: flex-end;
    background-color: var(--color-bg-light);
}

.modal-footer .btn-primary {
    font-size: 0.95rem;
    padding: 0.85rem 2rem;
}

/* Ajustes responsivos para tablets y móviles */
@media (max-width: 768px) {
    .modal-card {
        max-height: 90vh;
        border-radius: 20px;
    }
    
    .modal-header {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .modal-logo {
        height: 50px;
        width: 50px;
    }
    
    .modal-body {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .modal-section-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.25rem;
    }
    
    .modal-footer {
        padding: 1.25rem 1.5rem;
        justify-content: center;
    }
    
    .modal-footer .btn-modal-cta {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   VIDEO SHOWCASE SECTION
   ========================================================================== */
.videos-section {
    padding: 7rem 0;
    background-color: var(--color-bg-white);
}

.videos-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.video-showcase-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

/* Video Player container */
.video-player-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 2px solid var(--color-border);
    background-color: #000;
    aspect-ratio: 16/9;
    transition: var(--transition-smooth);
}

.video-player-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium), 0 15px 35px rgba(16, 71, 27, 0.1);
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Description Card */
.video-description-card {
    background-color: var(--color-bg-green-soft);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
}

.video-badge-title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #fff;
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.72rem;
    border: 1px solid var(--color-border);
    margin-bottom: 1.25rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #ff3b30;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(255, 59, 48, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
    }
}

.video-description-card h3 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 800;
}

.video-description-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.video-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    margin-bottom: 2rem;
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin-left: 0 !important;
}

.video-features-list li,
.video-feature-item {
    list-style: none !important;
    list-style-type: none !important;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0 !important;
    margin: 0 !important;
}

.video-features-list li::marker,
.video-feature-item::marker {
    display: none !important;
    content: "" !important;
}

.feature-icon {
    font-size: 1.4rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    flex-shrink: 0;
}

.video-features-list li strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-primary);
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.video-features-list li p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.4;
}

.video-cta-footer {
    display: flex;
}

.video-cta-footer .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .video-showcase-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .video-description-card {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .videos-section {
        padding: 4rem 0;
    }
    
    .video-player-wrapper {
        border-radius: 16px;
    }
    
    .video-description-card {
        border-radius: 16px;
        padding: 1.5rem;
    }
}

/* ==========================================================================
   TESTIMONIOS SECTION
   ========================================================================== */

.testimonios-section {
    padding: 7rem 0 5rem;
    background: linear-gradient(160deg, #f0f7ea 0%, var(--color-bg-white) 40%, #f6f9f2 100%);
    position: relative;
    overflow: hidden;
}

/* Decoracion de fondo grande - comilla gigante */
.testimonios-section::before {
    content: '"';
    position: absolute;
    top: -3rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 22rem;
    color: rgba(126, 188, 67, 0.055);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

/* Circulo decorativo izquierdo */
.testimonios-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -8rem;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(126,188,67,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.testimonios-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* === CAROUSEL WRAPPER === */
.testimonios-carousel-wrapper {
    position: relative;
    margin-bottom: 2.5rem;
    padding: 0 3.5rem; /* espacio para los botones laterales */
}

/* El clip es el que recorta el overflow */
.testimonios-track-clip {
    overflow: hidden;
    border-radius: 20px;
    /* Padding vertical para que las sombras de hover no queden cortadas */
    padding: 1rem 0 1.5rem;
    margin: -1rem 0 -1.5rem;
}

.testimonios-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* === CARDS === */
.testimonio-card {
    min-width: calc((100% - 3rem) / 3);
    width: calc((100% - 3rem) / 3);
    background: #fff;
    border: 1px solid rgba(16, 71, 27, 0.08);
    border-radius: 20px;
    padding: 2.2rem 2rem 1.8rem;
    box-shadow: 0 4px 24px rgba(16, 71, 27, 0.07), 0 1px 4px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

/* Borde superior decorativo verde */
.testimonio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary), #a8d95e);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px 20px 0 0;
}

.testimonio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(16, 71, 27, 0.12), 0 4px 12px rgba(0,0,0,0.06);
    border-color: rgba(126, 188, 67, 0.25);
}

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

/* Quote icon */
.testimonio-quote-icon {
    color: var(--color-secondary);
    opacity: 0.55;
    line-height: 1;
}

/* Stars */
.testimonio-stars {
    display: flex;
    gap: 3px;
    margin-top: -0.25rem;
}

.testimonio-stars span {
    color: #f59e0b;
    font-size: 1.05rem;
}

/* Text */
.testimonio-text {
    font-size: 0.93rem;
    color: #4a5568;
    line-height: 1.8;
    font-style: italic;
    flex-grow: 1;
}

/* Author */
.testimonio-author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(16, 71, 27, 0.08);
    margin-top: auto;
}

.testimonio-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 0.82rem;
    font-family: var(--font-heading);
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    letter-spacing: 0.5px;
}

.testimonio-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.testimonio-author-info strong {
    font-size: 0.95rem;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
}

.testimonio-author-info span {
    font-size: 0.76rem;
    color: #718096;
}

/* === NAVIGATION BUTTONS === */
.testimonio-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(16, 71, 27, 0.12);
    background: #fff;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: var(--transition-smooth);
    z-index: 10;
}

.testimonio-nav:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(16, 71, 27, 0.28);
    transform: translateY(-50%) scale(1.08);
}

.testimonio-prev {
    left: 0;
}

.testimonio-next {
    right: 0;
}

/* === DOTS === */
.testimonios-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 4rem;
    padding-top: 0.5rem;
}

.testimonio-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(16, 71, 27, 0.15);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    padding: 0;
}

.testimonio-dot:hover {
    background: rgba(126, 188, 67, 0.5);
    transform: scale(1.2);
}

.testimonio-dot.active {
    background: var(--color-secondary);
    width: 26px;
    border-radius: 4px;
    transform: none;
}

/* === STATS BAR === */
.testimonios-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a5f2a 100%);
    border-radius: 24px;
    padding: 2.8rem 3rem;
    color: #fff;
    box-shadow: 0 16px 48px rgba(16, 71, 27, 0.22);
    position: relative;
    overflow: hidden;
}

/* Decoracion interna del stats bar */
.testimonios-stats::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    background: rgba(126, 188, 67, 0.08);
    pointer-events: none;
}

.tstat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    position: relative;
    z-index: 1;
}

.tstat-number {
    font-size: 2.4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--color-secondary);
    line-height: 1;
    letter-spacing: -0.5px;
}

.tstat-label {
    font-size: 0.8rem;
    color: #b8d9c0;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.3px;
}

.tstat-divider {
    width: 1px;
    height: 56px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}

/* === ANIMACION DE ENTRADA === */
.testimonio-card {
    opacity: 0;
    transform: translateY(20px);
    animation: cardFadeIn 0.5s ease forwards;
}

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

/* Delays escalonados para las primeras 3 tarjetas */
.testimonios-track .testimonio-card:nth-child(1) { animation-delay: 0.1s; }
.testimonios-track .testimonio-card:nth-child(2) { animation-delay: 0.2s; }
.testimonios-track .testimonio-card:nth-child(3) { animation-delay: 0.3s; }
.testimonios-track .testimonio-card:nth-child(n+4)  { animation-delay: 0s; }

/* Intersection Observer para trigger solo en viewport */
.testimonio-card.anim-pending {
    opacity: 0;
    transform: translateY(20px);
    animation: none;
}

.testimonio-card.anim-visible {
    animation: cardFadeIn 0.55s ease forwards;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .testimonio-card {
        min-width: calc((100% - 1.5rem) / 2);
        width: calc((100% - 1.5rem) / 2);
    }
}

@media (max-width: 768px) {
    .testimonio-card {
        min-width: 100%;
        width: 100%;
    }

    .testimonio-prev { left: 0; }
    .testimonio-next { right: 0; }

    .testimonios-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }

    .tstat-divider {
        width: 60px;
        height: 1px;
    }

    .tstat-number { font-size: 2rem; }
}

@media (max-width: 576px) {
    .testimonios-section {
        padding: 4rem 0 3rem;
    }

    .testimonios-carousel-wrapper {
        padding: 0 2.5rem;
    }

    .testimonio-card {
        padding: 1.6rem 1.4rem;
    }

    .testimonios-stats {
        border-radius: 18px;
        padding: 1.8rem 1.25rem;
    }

    .tstat-number { font-size: 1.8rem; }
}

/* ==========================================================================
   LIGHTBOX DE GALERÍA (ZOOM DE VOLANTES)
   ========================================================================== */

.gallery-card {
    cursor: pointer; /* Cambia el cursor a mano para indicar que es clicable */
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(10, 30, 15, 0.88); /* Fondo verde oscuro traslúcido */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2500; /* Por encima de otros elementos */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.15);
}

.lightbox-caption {
    margin-top: 1.25rem;
    text-align: center;
    color: #fff;
    background: rgba(10, 30, 15, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.85rem 2.5rem;
    border-radius: 50px;
    border: 1px solid rgba(126, 188, 67, 0.35); /* Borde con verde de la marca */
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.lightbox-caption h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    color: #7ebc43; /* Verde claro de la marca */
    font-weight: 600;
}

.lightbox-caption span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Botón de cerrar */
.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 2.2rem;
    font-weight: 300;
    line-height: 1;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 10;
}

.lightbox-close:hover {
    background-color: #7ebc43;
    border-color: #7ebc43;
    transform: rotate(90deg) scale(1.05);
}

/* Botones de Navegación */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 5;
}

.lightbox-nav svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    transition: transform 0.2s ease;
}

.lightbox-nav:hover {
    background-color: #7ebc43;
    border-color: #7ebc43;
    color: #fff;
}

.lightbox-prev {
    left: 3rem;
}

.lightbox-prev:hover svg {
    transform: translateX(-3px);
}

.lightbox-next {
    right: 3rem;
}

.lightbox-next:hover svg {
    transform: translateX(3px);
}

/* Estilos Adaptativos para Lightbox */
@media (max-width: 992px) {
    .lightbox-prev {
        left: 1.5rem;
    }
    .lightbox-next {
        right: 1.5rem;
    }
}

@media (max-width: 768px) {
    .lightbox-overlay {
        padding: 1rem;
    }
    
    .lightbox-content {
        max-width: 100%;
        max-height: 85vh;
    }
    
    .lightbox-content img {
        max-height: 60vh;
        border-radius: 12px;
    }
    
    .lightbox-caption {
        padding: 0.75rem 1.5rem;
        border-radius: 16px;
        margin-top: 1rem;
        max-width: 90%;
    }
    
    .lightbox-caption h4 {
        font-size: 0.95rem;
    }
    
    .lightbox-caption span {
        font-size: 0.75rem;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 44px;
        height: 44px;
        font-size: 1.8rem;
    }
    
    .lightbox-nav {
        width: 46px;
        height: 46px;
        background: rgba(10, 30, 15, 0.75); /* Más visible en dispositivos móviles */
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .lightbox-prev {
        left: 0.5rem;
    }
    
    .lightbox-next {
        right: 0.5rem;
    }
}

/* ==========================================================================
   REGLAS ESPECÍFICAS DE MODO OSCURO (Dark Mode Components)
   ========================================================================== */

[data-theme="dark"] .btn-primary {
    background-color: #10b981;
    color: #06110a;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

[data-theme="dark"] .btn-primary:hover {
    background-color: #34d399;
    color: #06110a;
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.45);
}

[data-theme="dark"] .btn-hero-video {
    background-color: rgba(17, 26, 20, 0.85);
    color: #10b981;
    border-color: #10b981;
}

[data-theme="dark"] .btn-hero-video:hover {
    background-color: #10b981;
    color: #06110a;
}

[data-theme="dark"] .hero-badge {
    background-color: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.25);
    color: #34d399;
}

[data-theme="dark"] .badge-icon-wrapper {
    background-color: #111a14;
    border-color: #203125;
    color: #7ebc43;
}

[data-theme="dark"] .overlay-badge {
    background-color: #0c1c11;
    border: 1px solid #203125;
}

[data-theme="dark"] .testimonios-section {
    background: linear-gradient(160deg, #090e0b 0%, #0f1812 50%, #0b110d 100%);
}

[data-theme="dark"] .testimonio-card {
    background: #111a14;
    border-color: #203125;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .testimonio-card:hover {
    border-color: #10b981;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.15);
}

[data-theme="dark"] .testimonio-nav {
    background: #111a14;
    color: #f3f4f6;
    border-color: #203125;
}

[data-theme="dark"] .testimonio-nav:hover {
    background: #10b981;
    color: #06110a;
}

[data-theme="dark"] .testimonios-stats {
    background: linear-gradient(135deg, #0a1710 0%, #11281b 100%);
    border: 1px solid #203125;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .video-badge-title {
    background-color: #17241c;
    color: #10b981;
    border-color: #203125;
}

[data-theme="dark"] .contact-container {
    background: linear-gradient(135deg, #0b1f13 0%, #051009 100%);
    border: 1px solid #203125;
}

[data-theme="dark"] .svc-modal-header {
    background: linear-gradient(to right, #0b110d, #111a14);
}

[data-theme="dark"] .service-modal-card {
    background-color: #111a14;
    border: 1px solid #203125;
}

[data-theme="dark"] .gallery-card img {
    background-color: #0b110d;
}

[data-theme="dark"] .gallery-filter-btn {
    background-color: #111a14;
    border-color: #203125;
    color: #f3f4f6;
}

[data-theme="dark"] .gallery-filter-btn.active,
[data-theme="dark"] .gallery-filter-btn:hover {
    background-color: #10b981;
    color: #06110a;
    border-color: #10b981;
}

[data-theme="dark"] .accordion-item {
    background-color: #111a14;
    border-color: #203125;
}

[data-theme="dark"] .accordion-item:hover {
    background-color: #17241c;
    border-color: #10b981;
}

[data-theme="dark"] .quote-form input,
[data-theme="dark"] .quote-form select,
[data-theme="dark"] .quote-form textarea {
    background-color: #090e0b;
    border-color: #203125;
    color: #f3f4f6;
}

[data-theme="dark"] .quote-form input:focus,
[data-theme="dark"] .quote-form select:focus,
[data-theme="dark"] .quote-form textarea:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

[data-theme="dark"] .logo-img {
    filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.25));
}

[data-theme="dark"] .sectors-image {
    background: linear-gradient(145deg, #111a14, #0b120e);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px #203125;
}

[data-theme="dark"] .sectors-image:hover {
    box-shadow: 0 26px 55px -10px rgba(0, 0, 0, 0.75), 0 0 0 1px #10b981;
}

[data-theme="dark"] .sector-icon-svg svg {
    stroke: #10b981;
}

[data-theme="dark"] .form-direct-call {
    border-top-color: #203125;
}

[data-theme="dark"] .direct-branch {
    background-color: #0f1812;
    border-color: #203125;
}

[data-theme="dark"] .direct-branch:hover {
    border-color: #10b981;
    background-color: #152219;
}

[data-theme="dark"] .direct-branch-title {
    color: #10b981;
}

[data-theme="dark"] .direct-phone-pill {
    color: #f3f4f6;
}

[data-theme="dark"] .direct-phone-pill:hover {
    color: #10b981;
}

