/* * DIROGA WEB - Hoja de Estilos Maestra 
 * Ubicación: assets/css/style.css
 * ESTADO: FINAL - OPTIMIZADO PARA ESPACIOS
 */

:root {
    /* Paleta de Colores */
    --verde-bosque: #0E5C38;
    --verde-fuerte: #054025;
    --verde-accion: #17784A;
    --verde-claro: #2E8B57;
    --neon-green: #00ff88;
    --gold: #d4af37;
    --blanco: #FFFFFF;
    --gris-fondo: #F4F7F6;
    --texto-negro: #222222;
    --sombra-card: 0 4px 15px rgba(0, 0, 0, 0.08);
    --sombra-hover: 0 10px 25px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--gris-fondo);
    color: var(--texto-negro);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* =========================================
   1. HEADER & NAVEGACIÓN
   ========================================= */
header {
    background-color: var(--blanco);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo a {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--verde-bosque);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: var(--texto-negro);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--verde-accion);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--verde-bosque);
}

.btn-login {
    background-color: var(--verde-bosque);
    color: white !important;
    padding: 10px 25px;
    border-radius: 50px;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(14, 92, 56, 0.2);
}

.btn-login:hover {
    background-color: var(--verde-fuerte);
    transform: translateY(-2px);
}

.btn-primary-small {
    background-color: var(--verde-accion);
    color: white !important;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.nav-highlight {
    color: var(--verde-accion) !important;
    font-weight: 800;
}

/* =========================================
   2. FOOTER
   ========================================= */
footer {
    background-color: var(--verde-fuerte);
    color: #e0e0e0;
    padding-top: 60px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
    border-bottom: 2px solid var(--verde-accion);
    display: inline-block;
    padding-bottom: 5px;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ccc;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #ccc;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-section a:hover {
    color: var(--blanco);
    padding-left: 5px;
}

.footer-section i {
    color: var(--verde-accion);
    margin-right: 10px;
}

.socials {
    margin-top: 20px;
}

.socials a {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    margin-right: 10px;
    color: white;
}

.socials a:hover {
    background: var(--verde-accion);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #032d1a;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    font-size: 0.85rem;
    color: #888;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* =========================================
   3. ESTILOS HOME (Moderno & Espacioso)
   ========================================= */
.hero-modern {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.back-video {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 46, 31, 0.9) 0%, rgba(14, 92, 56, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 900px;
    padding: 0 20px;
}

.badge-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dot-pulse {
    width: 10px;
    height: 10px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-green);
    animation: pulse 2s infinite;
}

.hero-title-main {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin: 0;
    line-height: 1.1;
    color: white;
}

.gradient-text {
    background: linear-gradient(to right, #fff, var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    font-size: 3.5rem;
}

.hero-slogan {
    font-size: 2rem;
    font-weight: 300;
    min-height: 60px;
    color: var(--neon-green);
    margin-top: 10px;
}

.hero-desc {
    font-size: 1.2rem;
    margin: 20px auto 40px;
    max-width: 700px;
    color: #e0e0e0;
}

/* === BARRA HERO: Espaciado Perfecto === */
.hero-trust-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1100px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    z-index: 5;
    padding: 0 20px;
}

.trust-pill {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--verde-fuerte);
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid white;
    white-space: nowrap;
}

.trust-pill i {
    color: var(--verde-accion);
    font-size: 1.2rem;
}

.trust-pill:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .hero-trust-container {
        bottom: 20px;
        gap: 10px;
    }

    .trust-pill {
        width: auto;
        font-size: 0.85rem;
        padding: 10px 20px;
        flex-grow: 1;
        justify-content: center;
    }
}

.btn-neon {
    background: var(--verde-accion);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(23, 120, 74, 0.5);
    transition: 0.3s;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-neon:hover {
    background: transparent;
    border-color: var(--neon-green);
    color: var(--neon-green);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.3);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-left: 15px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-glass:hover {
    background: white;
    color: var(--verde-bosque);
}

.shape {
    position: absolute;
    filter: blur(80px);
    z-index: 1;
    animation: floatShape 10s infinite alternate;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(0, 255, 136, 0.1);
    top: 10%;
    left: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(14, 92, 56, 0.3);
    bottom: -100px;
    right: -50px;
}

@keyframes floatShape {
    from { transform: translate(0, 0); }
    to { transform: translate(50px, 50px); }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.txt-type {
    border-right: 3px solid var(--verde-accion);
    padding-right: 5px;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.bento-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: var(--verde-claro);
}

.card-large {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, #fff 0%, #f0fdf4 100%);
}

.card-medium {
    grid-column: span 1;
    grid-row: span 1;
}

.card-wide {
    grid-column: span 2;
    grid-row: span 1;
    background: var(--verde-bosque);
    color: white;
}

.card-wide h3,
.card-wide p {
    color: white;
}

.bento-icon {
    font-size: 2.5rem;
    color: var(--verde-accion);
    margin-bottom: 15px;
}

.stat-big {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--verde-fuerte);
    line-height: 1;
}

.bento-content-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.icon-bg-large {
    font-size: 5rem;
    opacity: 0.2;
}

/* Sections */
.dual-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.img-reveal {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0 var(--gris-fondo); /* Corrected var name */
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 15px;
    align-items: center;
    border-left: 5px solid var(--verde-accion);
}

.floating-badge i {
    font-size: 2rem;
    color: var(--gold);
}

.tagline-color {
    color: var(--verde-accion);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.title-dark {
    font-size: 2.5rem;
    margin-top: 5px;
    color: #111;
}

.why-choose-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.choice-item {
    display: flex;
    gap: 20px;
}

.choice-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(14, 92, 56, 0.1);
    line-height: 1;
}

/* =========================================
   === NUEVO: SECCIÓN "TRAJE A LA MEDIDA" (CLEAN & SPACIOUS) ===
   ========================================= */
.light-tech-section {
    background-color: #f8fcf9;
    position: relative;
    overflow: hidden;
    color: #333;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(14, 92, 56, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 92, 56, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
}

.z-2 {
    position: relative;
    z-index: 2;
}

.icon-header-box {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: var(--verde-bosque);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

.title-tech-dark {
    font-size: 2.8rem;
    color: var(--verde-fuerte);
    margin-bottom: 15px;
}

.desc-tech-dark {
    font-size: 1.15rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 60px;
}

.highlight-tech-green {
    color: var(--verde-accion);
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.highlight-tech-green::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(0, 255, 136, 0.3);
    z-index: -1;
    border-radius: 4px;
}

/* Grid de Tarjetas (Ajuste "No Juntado") */
.custom-grid-pro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tarjetas Claras */
.tech-card-light {
    background: white;
    padding: 45px 35px;
    border-radius: 16px;
    text-align: left;
    transition: 0.4s;
    border: 1px solid #eaeaea;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.tech-card-light.featured {
    border-color: var(--verde-accion);
    box-shadow: 0 15px 40px rgba(23, 120, 74, 0.1);
    transform: translateY(-15px);
}

.tech-card-light:hover {
    transform: translateY(-20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.tech-icon-circle {
    width: 60px;
    height: 60px;
    background: #f0fdf4;
    color: var(--verde-bosque);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
    transition: 0.3s;
}

.tech-card-light:hover .tech-icon-circle {
    background: var(--verde-bosque);
    color: white;
}

.tech-card-light h3 {
    font-size: 1.5rem;
    color: #222;
    margin-bottom: 15px;
}

.tech-card-light p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.7;
}

.tech-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tech-tags span {
    background: #f5f5f5;
    color: #555;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-tech-dark {
    display: inline-block;
    background: var(--verde-bosque);
    color: white;
    padding: 15px 45px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(14, 92, 56, 0.3);
    transition: 0.3s;
}

.btn-tech-dark:hover {
    background: var(--verde-fuerte);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(14, 92, 56, 0.4);
    color: var(--neon-green);
}

/* Services 3D */
.services-3d-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding-top: 30px;
}

.card-3d {
    perspective: 1000px;
    height: 350px;
}

.card-3d-content {
    background: white;
    height: 100%;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-bottom: 5px solid var(--verde-accion);
}

.icon-3d {
    font-size: 4rem;
    color: var(--verde-bosque);
    margin-bottom: 20px;
}

.link-3d {
    margin-top: auto;
    color: var(--verde-bosque);
    font-weight: bold;
}

/* Timeline Verde */
.timeline-green-section {
    background: linear-gradient(135deg, var(--verde-fuerte) 0%, var(--verde-bosque) 100%);
    color: var(--blanco);
    position: relative;
    overflow: hidden;
}

.timeline-green-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
}

.timeline-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 60px 0 20px;
    flex-wrap: wrap;
    z-index: 2;
}

.timeline-line {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.timeline-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    opacity: 0.5;
}

.timeline-item {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    min-width: 150px;
    padding: 0 10px;
}

.timeline-dot {
    width: 60px;
    height: 60px;
    background: var(--verde-fuerte);
    border: 3px solid var(--neon-green);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
    transition: 0.3s;
    position: relative;
}

.timeline-item:hover .timeline-dot {
    background: var(--neon-green);
    color: var(--verde-fuerte);
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.6);
}

.timeline-content h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content p {
    color: #a7f3d0;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* CTA Final */
.cta-final-section {
    position: relative;
    padding: 100px 0;
    background: url('../img/hero/whoareuse.png') fixed center/cover;
    color: white;
}

.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(5, 46, 31, 0.95), rgba(5, 46, 31, 0.8));
}

.relative {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.btn-neon-white {
    background: white;
    color: var(--verde-bosque);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    margin: 10px;
    display: inline-block;
}

.btn-outline-white {
    border: 2px solid white;
    color: white;
    padding: 13px 40px;
    border-radius: 50px;
    margin: 10px;
    display: inline-block;
}

/* =========================================
   ESTILOS DE PÁGINAS ADICIONALES (Servicios, Contacto)
   ========================================= */
.hero-banner {
    background-size: cover !important;
    background-position: center !important;
    padding: 5rem 1rem;
    text-align: center;
    color: var(--blanco);
    position: relative;
    background-color: var(--verde-bosque);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    font-weight: 300;
}

.section-title {
    color: var(--verde-bosque);
    border-left: 5px solid var(--verde-accion);
    padding-left: 15px;
    margin-bottom: 30px;
    font-size: 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    align-items: stretch;
}

.product-card {
    background: var(--blanco);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    transition: 0.3s;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.product-img-container {
    width: 100%;
    height: 220px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    color: var(--verde-fuerte);
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 700;
}

.product-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-full {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: auto;
    padding: 12px;
    background-color: var(--verde-accion);
    color: white;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-full:hover {
    background-color: var(--verde-fuerte);
}

.logistics-section {
    background-color: white;
    padding: 4rem 1rem;
    margin-top: 4rem;
    border-top: 1px solid #e0e0e0;
}

.logistics-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logistics-info {
    flex: 1;
    min-width: 300px;
}

.logistics-list {
    list-style: none;
    margin-top: 20px;
}

.logistics-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: #444;
}

.logistics-list i {
    margin-right: 15px;
    font-size: 1.2rem;
}

.logistics-icon {
    flex: 1;
    min-width: 250px;
    text-align: center;
    opacity: 0.8;
}

.contact-hero {
    background-color: var(--verde-bosque);
    color: var(--blanco);
    padding: 4rem 1rem;
    text-align: center;
    margin-bottom: 2rem;
}

.hero-title-contact {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-subtitle-contact {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-heading {
    color: var(--verde-bosque);
    margin-bottom: 25px;
    font-size: 1.8rem;
    border-bottom: 3px solid var(--verde-accion);
    display: inline-block;
    padding-bottom: 5px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #444;
}

.info-item i {
    color: var(--verde-accion);
    font-size: 1.3rem;
    margin-right: 15px;
    margin-top: 4px;
    width: 20px;
    text-align: center;
}

#map {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #fff;
    z-index: 1;
}

.contact-form-box {
    background: var(--blanco);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

.form-heading {
    color: var(--verde-fuerte);
    margin-bottom: 25px;
    font-size: 1.5rem;
    text-align: center;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.3s;
    background-color: #fcfcfc;
}

.form-input:focus {
    border-color: var(--verde-accion);
    background-color: #fff;
    outline: none;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid #c3e6cb;
    font-weight: 600;
}

.about-hero {
    background: linear-gradient(rgba(14, 92, 56, 0.9), rgba(5, 64, 37, 0.9)), url('../img/hero/team-meeting.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 1rem;
    text-align: center;
    color: white;
}

.about-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.about-subtitle {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
    opacity: 0.9;
}

.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 20px 20px 0 var(--verde-claro);
    height: 100%;
    min-height: 400px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h4 {
    color: var(--verde-accion);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.about-content h2 {
    color: var(--texto-negro);
    font-size: 2.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.stats-bar {
    background: var(--verde-fuerte);
    color: white;
    padding: 60px 0;
    margin: 60px 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--neon-green);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pillar-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid #eee;
    text-align: center;
    transition: 0.3s;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--sombra-hover);
    border-color: var(--verde-accion);
}

.pillar-icon {
    font-size: 3rem;
    color: var(--verde-bosque);
    margin-bottom: 20px;
}

.pillar-card:hover .pillar-icon {
    color: var(--verde-accion);
    transform: scale(1.1);
    transition: 0.3s;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.team-member {
    text-align: center;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--sombra-card);
    transition: 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-img {
    height: 300px;
    width: 100%;
    background: #eee;
    overflow: hidden;
    position: relative; /* Agregado para el overlay */
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 20px;
}

.member-info h4 {
    color: var(--verde-bosque);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.member-info span {
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.order-card {
    background: var(--blanco);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--sombra-card);
    border-left: 6px solid #ccc;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.order-card.paid {
    border-left-color: var(--verde-accion);
}

.order-card.pending {
    border-left-color: #ffc107;
}

.order-header {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.order-id {
    color: #888;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.badge-status {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    text-transform: uppercase;
}

.badge-status.paid {
    background: #d4edda;
    color: #155724;
}

.badge-status.pending {
    background: #fff3cd;
    color: #856404;
}

.order-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--verde-fuerte);
    display: block;
    margin-top: 5px;
}

.payment-alert {
    background: #f0fdf4;
    border: 1px dashed var(--verde-accion);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.order-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    font-size: 0.9rem;
    color: #555;
}

.progress-container {
    background-color: #e9ecef;
    border-radius: 10px;
    height: 10px;
    width: 100%;
    overflow: hidden;
    margin-top: 8px;
}

.progress-bar {
    background: linear-gradient(90deg, var(--verde-accion), var(--neon-green));
    height: 100%;
    transition: width 1s ease-in-out;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--blanco);
    border-radius: 12px;
    box-shadow: var(--sombra-card);
    grid-column: 1 / -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.mt-30 {
    margin-top: 30px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-50 {
    margin-bottom: 50px;
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: 100px 0;
}

.btn-primary {
    background-color: var(--verde-accion);
    color: var(--blanco);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--verde-fuerte);
}

.services-hero {
    background: linear-gradient(rgba(14, 92, 56, 0.85), rgba(5, 64, 37, 0.95)), url('../img/hero/warehouse.jpg');
    background-size: cover;
    background-position: center;
    padding: 6rem 1rem 4rem;
    text-align: center;
    color: white;
}

.product-card-modern {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.product-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(14, 92, 56, 0.15);
}

.product-img-box {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.product-card-modern:hover .product-img-box img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--verde-accion);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 92, 56, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
}

.product-card-modern:hover .product-overlay {
    opacity: 1;
}

.btn-overlay {
    background: white;
    color: var(--verde-bosque);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transform: translateY(20px);
    transition: 0.3s;
}

.product-card-modern:hover .btn-overlay {
    transform: translateY(0);
}

.product-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 1.25rem;
    color: var(--verde-fuerte);
    margin-bottom: 10px;
}

.product-description {
    font-size: 0.9rem;
    color: #666;
    flex: 1;
}

.link-arrow {
    color: var(--verde-accion);
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
}

.link-arrow:hover {
    color: var(--verde-bosque);
    padding-left: 5px;
}

.logistics-section-modern {
    background: #f8f9fa;
    padding: 80px 0;
    border-top: 1px solid #eee;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: 0.3s;
    border-bottom: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--verde-accion);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(23, 120, 74, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--verde-accion);
    font-size: 2rem;
    transition: 0.3s;
}

.feature-card:hover .icon-circle {
    background: var(--verde-accion);
    color: white;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: var(--texto-negro);
}

.contact-hero-modern {
    background: var(--verde-bosque);
    padding: 6rem 1rem 8rem;
    color: white;
    text-align: center;
}

.contact-wrapper {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.contact-form-side {
    flex: 3;
    padding: 50px;
}

.form-title {
    font-size: 1.8rem;
    color: var(--verde-bosque);
    margin-bottom: 10px;
}

.form-desc {
    color: #777;
    margin-bottom: 30px;
}

.input-group-modern {
    margin-bottom: 20px;
}

.input-group-modern label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #444;
}

.input-wrapper {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
    background: #fcfcfc;
}

.input-wrapper:focus-within {
    border-color: var(--verde-accion);
    background: white;
    box-shadow: 0 0 0 3px rgba(23, 120, 74, 0.1);
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    top: 14px;
    color: #aaa;
    font-size: 1rem;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    border: none;
    padding: 12px 15px 12px 45px;
    outline: none;
    background: transparent;
    font-family: inherit;
}

.input-wrapper textarea {
    padding-top: 15px;
    resize: none;
}

.input-wrapper i.fa-comment {
    top: 18px;
}

.btn-block {
    width: 100%;
    display: block;
    padding: 14px;
    border-radius: 8px;
    font-size: 1rem;
}

.contact-info-side {
    flex: 2;
    background: var(--verde-fuerte);
    color: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.contact-info-side::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.contact-info-side h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.contact-info-side p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.info-modern-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.icon-box {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.text-box span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2px;
}

.text-box p {
    margin: 0;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
}

.map-integrated {
    height: 200px;
    width: 100%;
    border-radius: 12px;
    margin-top: auto;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 900px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-form-side,
    .contact-info-side {
        padding: 30px;
    }

    .map-integrated {
        height: 250px;
        margin-top: 30px;
    }
}

.essence-hero {
    position: relative;
    background-image: url('../img/hero/team-meeting.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.essence-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 46, 31, 0.85), rgba(14, 92, 56, 0.7));
    z-index: 1;
}

.glass-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem;
    border-radius: 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.essence-tag {
    display: inline-block;
    background: rgba(0, 255, 136, 0.2);
    color: var(--neon-green);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    border: 1px solid var(--neon-green);
}

.essence-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: white;
}

.highlight-text {
    background: linear-gradient(120deg, transparent 0%, transparent 6px, var(--verde-accion) 6px, var(--verde-accion) 100%);
    padding: 0 5px;
    white-space: nowrap;
}

.essence-divider {
    height: 4px;
    width: 80px;
    background: var(--neon-green);
    margin: 0 auto 25px;
    border-radius: 2px;
}

.essence-desc {
    font-size: 1.2rem;
    font-weight: 300;
    color: #e0e0e0;
    letter-spacing: 0.5px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: white;
    text-align: center;
    animation: bounce 2s infinite;
    opacity: 0.8;
}

.scroll-indicator span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@media (max-width: 768px) {
    .essence-hero {
        height: auto;
        padding: 120px 0 80px;
    }

    .glass-content {
        padding: 2rem 1.5rem;
        width: 90%;
    }

    .essence-title {
        font-size: 2rem;
    }

    .scroll-indicator {
        display: none;
    }
}

/* =========================================
   ESTILOS PANEL ADMINISTRACIÓN (DASHBOARD)
   ========================================= */

/* Reset básico para el body del admin */
.admin-body {
    background-color: #f0f2f5; /* Gris muy suave, típico de dashboards */
    min-height: 100vh;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* --- 1. SIDEBAR (Barra Lateral) --- */
.admin-sidebar {
    width: 260px;
    background-color: var(--verde-bosque); /* Tu color corporativo */
    color: white;
    display: flex;
    flex-direction: column;
    position: fixed; /* Fijo a la izquierda */
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
}

.sidebar-header {
    padding: 25px;
    background-color: rgba(0,0,0,0.1);
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-header h3 {
    font-size: 1.4rem;
    margin: 0;
    letter-spacing: 1px;
}

.sidebar-header span {
    color: var(--neon-green);
    font-weight: 300;
}

.sidebar-menu {
    padding: 20px 0;
    flex: 1;
    overflow-y: auto;
}

.sidebar-menu li a {
    display: block;
    padding: 15px 25px;
    color: rgba(255,255,255,0.8);
    transition: 0.3s;
    font-size: 0.95rem;
    border-left: 4px solid transparent;
}

.sidebar-menu li a:hover, 
.sidebar-menu li.active a {
    background-color: rgba(255,255,255,0.05);
    color: white;
    border-left-color: var(--neon-green);
}

.sidebar-menu i {
    width: 25px;
    text-align: center;
    margin-right: 10px;
}

.menu-spacer {
    height: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.logout-link:hover {
    color: #ff6b6b !important;
    border-left-color: #ff6b6b !important;
}

/* --- 2. CONTENIDO PRINCIPAL --- */
.admin-content {
    margin-left: 260px; /* Mismo ancho que sidebar */
    flex: 1;
    padding: 30px;
    width: calc(100% - 260px);
}

/* Header del contenido */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.header-greeting h2 {
    color: var(--verde-fuerte);
    margin-bottom: 5px;
}

.header-greeting p {
    color: #666;
    font-size: 0.95rem;
}

.admin-avatar {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--verde-bosque);
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 2px solid var(--verde-accion);
}

/* --- 3. KPI CARDS (Indicadores) --- */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.kpi-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border-left: 5px solid transparent;
    transition: 0.3s;
}

.kpi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.kpi-card.info { border-left-color: #17a2b8; }
.kpi-card.warning { border-left-color: #ffc107; }
.kpi-card.success { border-left-color: var(--verde-accion); }
.kpi-card.dark { border-left-color: #343a40; }

.kpi-icon {
    font-size: 2rem;
    margin-right: 20px;
    opacity: 0.8;
}

.kpi-card.info .kpi-icon { color: #17a2b8; }
.kpi-card.warning .kpi-icon { color: #ffc107; }
.kpi-card.success .kpi-icon { color: var(--verde-accion); }
.kpi-card.dark .kpi-icon { color: #343a40; }

.kpi-data h3 {
    font-size: 1.8rem;
    margin: 0;
    color: #333;
}

.kpi-data p {
    margin: 0;
    color: #888;
    font-size: 0.85rem;
}

/* --- 4. SPLIT LAYOUT (Tabla + Acciones) --- */
.dashboard-split {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Tabla más ancha */
    gap: 30px;
}

.recent-activity-panel, .quick-actions-panel {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.panel-header h3, .quick-actions-panel h3 {
    font-size: 1.1rem;
    color: var(--verde-fuerte);
}

.btn-text {
    font-size: 0.85rem;
    color: var(--verde-accion);
    font-weight: 600;
}

/* Tabla Admin */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    text-align: left;
    color: #888;
    font-size: 0.85rem;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.admin-table td {
    padding: 15px 10px;
    font-size: 0.9rem;
    color: #444;
    border-bottom: 1px solid #f9f9f9;
}

.badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}
.badge-warning { background: #fff3cd; color: #856404; }
.badge-success { background: #d4edda; color: #155724; }
.badge-danger { background: #f8d7da; color: #721c24; }

.btn-icon {
    color: #aaa;
    transition: 0.3s;
}
.btn-icon:hover { color: var(--verde-accion); }

/* Acciones Rápidas (Grid Pequeño) */
.action-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.action-card {
    background: #f8fcf9;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #eee;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.action-card:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: var(--verde-claro);
    transform: translateY(-2px);
}

.icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 5px;
}
.icon-circle.green { background: #d4edda; color: #155724; }
.icon-circle.gold { background: #fff3cd; color: #856404; }
.icon-circle.blue { background: #d1ecf1; color: #0c5460; }
.icon-circle.red { background: #f8d7da; color: #721c24; }

.action-card span {
    font-size: 0.85rem;
    color: #555;
    font-weight: 600;
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .dashboard-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        width: 70px; /* Sidebar colapsada en móvil */
    }
    .sidebar-header span, .sidebar-menu span, .sidebar-menu li a {
        font-size: 0; /* Ocultar texto */
        text-align: center;
        padding: 15px 0;
    }
    .sidebar-menu i { margin: 0; font-size: 1.2rem; }
    .sidebar-header h3 { font-size: 0.8rem; }
    
    .admin-content {
        margin-left: 70px;
        width: calc(100% - 70px);
        padding: 20px;
    }
}

/* =========================================
   ESTILOS PANEL ADMINISTRACIÓN (DASHBOARD)
   ========================================= */

/* Reset Admin */
.admin-body {
    background-color: #f0f2f5; /* Gris suave profesional */
    min-height: 100vh;
}
.admin-wrapper { display: flex; min-height: 100vh; }

/* 1. SIDEBAR */
.admin-sidebar {
    width: 260px;
    background-color: var(--verde-bosque);
    color: white;
    display: flex; flex-direction: column;
    position: fixed; height: 100vh; left: 0; top: 0; z-index: 100;
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
}
.sidebar-header {
    padding: 25px; background-color: rgba(0,0,0,0.1);
    text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar-header h3 { font-size: 1.4rem; margin: 0; letter-spacing: 1px; }
.sidebar-header span { color: var(--neon-green); font-weight: 300; }

.sidebar-menu { padding: 20px 0; flex: 1; overflow-y: auto; }
.sidebar-menu li a {
    display: block; padding: 15px 25px; color: rgba(255,255,255,0.8);
    transition: 0.3s; font-size: 0.95rem; border-left: 4px solid transparent;
}
.sidebar-menu li a:hover, .sidebar-menu li.active a {
    background-color: rgba(255,255,255,0.05); color: white; border-left-color: var(--neon-green);
}
.sidebar-menu i { width: 25px; text-align: center; margin-right: 10px; }
.menu-spacer { height: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 20px; }
.logout-link:hover { color: #ff6b6b !important; border-left-color: #ff6b6b !important; }

/* 2. CONTENIDO PRINCIPAL */
.admin-content {
    margin-left: 260px; flex: 1; padding: 30px; width: calc(100% - 260px);
}
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 35px; }
.header-greeting h2 { color: var(--verde-fuerte); margin-bottom: 5px; }
.header-greeting p { color: #666; font-size: 0.95rem; }
.admin-avatar {
    width: 50px; height: 50px; background: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--verde-bosque); font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); border: 2px solid var(--verde-accion);
}

/* 3. KPI CARDS */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 35px; }
.kpi-card {
    background: white; padding: 25px; border-radius: 12px; display: flex; align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); border-left: 5px solid transparent; transition: 0.3s;
}
.kpi-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.kpi-card.info { border-left-color: #17a2b8; }
.kpi-card.warning { border-left-color: #ffc107; }
.kpi-card.success { border-left-color: var(--verde-accion); }
.kpi-card.dark { border-left-color: #343a40; }

.kpi-icon { font-size: 2rem; margin-right: 20px; opacity: 0.8; }
.kpi-card.info .kpi-icon { color: #17a2b8; }
.kpi-card.warning .kpi-icon { color: #ffc107; }
.kpi-card.success .kpi-icon { color: var(--verde-accion); }
.kpi-card.dark .kpi-icon { color: #343a40; }

.kpi-data h3 { font-size: 1.8rem; margin: 0; color: #333; }
.kpi-data p { margin: 0; color: #888; font-size: 0.85rem; }

/* 4. SPLIT LAYOUT */
.dashboard-split { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.recent-activity-panel, .quick-actions-panel {
    background: white; padding: 25px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.panel-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee;
}
.panel-header h3, .quick-actions-panel h3 { font-size: 1.1rem; color: var(--verde-fuerte); }
.btn-text { font-size: 0.85rem; color: var(--verde-accion); font-weight: 600; }

/* Tabla Admin */
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; color: #888; font-size: 0.85rem; padding: 10px; border-bottom: 1px solid #eee; }
.admin-table td { padding: 15px 10px; font-size: 0.9rem; color: #444; border-bottom: 1px solid #f9f9f9; }

.badge { padding: 5px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: bold; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-success { background: #d4edda; color: #155724; }
.badge-danger { background: #f8d7da; color: #721c24; }
.btn-icon { color: #aaa; transition: 0.3s; }
.btn-icon:hover { color: var(--verde-accion); }

/* Acciones Rápidas */
.action-buttons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 15px; }
.action-card {
    background: #f8fcf9; padding: 20px; border-radius: 10px; text-align: center; border: 1px solid #eee;
    transition: 0.3s; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.action-card:hover { background: white; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-color: var(--verde-claro); transform: translateY(-2px); }
.icon-circle {
    width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin-bottom: 5px;
}
.icon-circle.green { background: #d4edda; color: #155724; }
.icon-circle.gold { background: #fff3cd; color: #856404; }
.icon-circle.blue { background: #d1ecf1; color: #0c5460; }
.icon-circle.red { background: #f8d7da; color: #721c24; }
.action-card span { font-size: 0.85rem; color: #555; font-weight: 600; }

/* Input Styles Admin */
.input-group-modern { margin-bottom: 15px; }
.input-group-modern label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 0.9rem; }
.input-wrapper { display: flex; align-items: center; border: 1px solid #ddd; padding: 10px; border-radius: 8px; background: #fff; }
.input-wrapper i { margin-right: 10px; color: #aaa; }
.input-wrapper input { border: none; outline: none; width: 100%; font-family: inherit; }

/* Responsivo */
@media (max-width: 900px) { .dashboard-split { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
    .admin-sidebar { width: 70px; }
    .sidebar-header span, .sidebar-menu span, .sidebar-header h3 { display: none; }
    .sidebar-menu li a { text-align: center; padding: 15px 0; }
    .sidebar-menu i { margin: 0; font-size: 1.2rem; }
    .admin-content { margin-left: 70px; width: calc(100% - 70px); padding: 20px; }
}

/* =========================================
   NUEVOS ESTILOS: IDENTIDAD Y AUTORIDAD (Del Home)
   ========================================= */

/* 1. BARRA DE PARTNERS */
.partners-strip {
    background: white;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    opacity: 0.6; /* Un poco tenue para que no robe atención excesiva */
    transition: 0.3s;
}

.partners-logos:hover { opacity: 1; }

.partner-item {
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 2. TABLA COMPARATIVA (ESTILO PRO) */
.comparison-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    padding: 20px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th {
    padding: 25px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-col { text-align: left; width: 40%; color: #888; }
.competitor-col { text-align: center; width: 30%; color: #aaa; font-weight: 600; }

.diroga-col { 
    text-align: center; 
    width: 30%; 
    color: var(--verde-bosque); 
    font-weight: 800; 
    background: #f0fdf4;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.best-choice-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--verde-accion);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(23, 120, 74, 0.3);
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
}

.comparison-table tbody tr:last-child td { border-bottom: none; }

.comparison-table td:nth-child(2) { text-align: center; border-right: 1px solid #eee; }
.comparison-table td:nth-child(3) { 
    text-align: center; 
    background: #f0fdf4; /* Columna Diroga iluminada */
    font-weight: 500;
    color: #333;
}

.comparison-table tbody tr:last-child td:nth-child(3) { border-radius: 0 0 20px 20px; }

.text-red { color: #dc3545; margin-right: 5px; }
.text-orange { color: #fd7e14; margin-right: 5px; }
.text-green { color: var(--verde-accion); margin-right: 5px; font-size: 1.2rem; }

/* 3. TESTIMONIOS */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: rgba(14, 92, 56, 0.1);
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.author strong { display: block; color: var(--verde-fuerte); }
.author span { font-size: 0.85rem; color: #888; }

/* =========================================
   ESTILOS NUEVOS: SECCIÓN EDUCATIVA (HOMEPAGE)
   ========================================= */

/* 1. CONTENEDOR DE PILARES (GRID) */
.pillars-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

/* 2. TARJETA DE PILAR PROFESIONAL */
.pillar-card-pro {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
    border: 1px solid #eee;
    height: 100%; /* Para que todas tengan la misma altura */
    display: flex;
    flex-direction: column;
}

.pillar-card-pro:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(14, 92, 56, 0.15); /* Sombra verde suave */
    border-color: var(--verde-claro);
}

.pillar-img {
    height: 200px;
    position: relative;
    overflow: hidden;
    background-color: #ddd; /* Color de fondo por si no carga la imagen */
}

.pillar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.pillar-card-pro:hover .pillar-img img {
    transform: scale(1.1); /* Zoom suave al hover */
}

.pillar-icon {
    position: absolute;
    bottom: -25px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--verde-accion);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 3px solid white;
    z-index: 2;
}

.pillar-content {
    padding: 35px 25px 25px; /* Padding extra arriba para el icono */
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pillar-content h3 {
    font-size: 1.4rem;
    color: var(--verde-fuerte);
    margin-bottom: 15px;
}

.pillar-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Lista con checks verdes */
.check-list li {
    list-style: none;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list i {
    color: var(--verde-accion);
    font-size: 0.8rem;
    background: #e6f7ef;
    padding: 5px;
    border-radius: 50%;
}

/* 3. LAYOUT DIVIDIDO (PROBLEMA vs SOLUCION) */
.split-layout-reverse {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.problem-solution-box {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-top: 25px;
    border-left: 5px solid var(--verde-accion);
}

.ps-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.ps-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.ps-item .problem {
    color: #555;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ps-item .solution {
    color: var(--texto-negro);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px; /* Indentación visual */
}

.text-red { color: #dc3545; }
.text-green { color: var(--verde-accion); }

.img-rounded-shadow {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0 rgba(14, 92, 56, 0.1);
}

.floating-stat {
    position: absolute;
    bottom: 40px;
    left: -30px;
    background: white;
    padding: 15px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid var(--verde-accion);
}

.floating-stat i { font-size: 2rem; color: var(--gold); }
.floating-stat strong { font-size: 1.5rem; color: var(--verde-fuerte); display: block; line-height: 1; }
.floating-stat span { font-size: 0.8rem; color: #888; text-transform: uppercase; }

/* Responsivo para el Split */
@media (max-width: 900px) {
    .split-layout-reverse {
        grid-template-columns: 1fr;
    }
    .image-side {
        order: -1; /* Imagen arriba en móvil */
        margin-bottom: 40px;
    }
    .floating-stat {
        left: 0;
        bottom: -20px;
    }
}

/* =========================================
   NUEVO: SECCIÓN ECO-DISEÑO
   ========================================= */

.section-eco-design {
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

/* Fondo decorativo sutil */
.section-eco-design::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(46, 139, 87, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.eco-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.eco-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e8f5e9;
    color: var(--verde-accion);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.text-green-highlight {
    color: var(--verde-accion);
    position: relative;
    display: inline-block;
}

/* Subrayado orgánico */
.text-green-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(46, 139, 87, 0.2);
    border-radius: 4px;
    z-index: -1;
}

.desc-text {
    color: #666;
    margin-top: 15px;
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.7;
}

/* Pasos visuales (Idea -> Prototipo -> Envase) */
.eco-steps {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    width: fit-content;
}

.step-item {
    text-align: center;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--verde-bosque);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin: 0 auto 5px;
    border: 1px solid #eee;
}

.step-item span {
    font-size: 0.8rem;
    font-weight: 700;
    color: #555;
}

.step-arrow {
    color: #ccc;
    font-size: 0.9rem;
}

/* Imagen y Tarjeta Flotante */
.eco-image-wrapper {
    position: relative;
}

.eco-image-wrapper .main-img {
    width: 100%;
    border-radius: 20px;
    /* Un borde sutil para darle elegancia */
    border: 8px solid white; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.floating-eco-card {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    min-width: 220px;
    border-top: 4px solid var(--verde-accion);
}

.floating-eco-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--verde-fuerte);
}

.floating-eco-card ul {
    list-style: none;
    padding: 0;
}

.floating-eco-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
}

.floating-eco-card li i {
    color: var(--verde-accion);
}

/* Responsivo */
@media (max-width: 900px) {
    .eco-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .eco-image-wrapper {
        order: -1; /* Pone la imagen arriba en celular */
        padding: 0 20px;
    }

    .floating-eco-card {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: -30px;
        margin-left: 20px;
        margin-right: 20px;
    }
}

/* =========================================
   NUEVOS ESTILOS: ESTRUCTURA MEJORADA (Home V2)
   ========================================= */

/* 1. SECCIÓN DE VIDEO SOSTENIBLE */
.video-eco-section {
    background: #fff;
    overflow: hidden;
}

.row-video-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.stats-mini-grid {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-box h3 {
    font-size: 2rem;
    color: var(--verde-accion);
    margin: 0;
    font-weight: 800;
}

.stat-box p {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #888;
}

.video-wrapper-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border: 5px solid white;
    height: 350px; /* Altura fija para buen aspecto */
}

.content-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255,255,255,0.8);
    pointer-events: none; /* Deja pasar clicks si quieres controles */
}

/* 2. COMPARATIVA MODERNA (Estilo Tarjetas VS) */
.comparison-grid-modern {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.compare-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    width: 350px;
    text-align: center;
    position: relative;
    transition: 0.3s;
}

/* Tarjeta Estándar (La "mala") */
.compare-card.standard {
    border: 1px solid #eee;
    background: #fafafa;
    color: #777;
}

.compare-card.standard h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #555;
}

.compare-card.standard ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Tarjeta Diroga (La "buena") */
.compare-card.diroga-pro {
    border: 2px solid var(--verde-accion);
    background: white;
    transform: scale(1.05); /* Ligeramente más grande */
    box-shadow: 0 20px 60px rgba(23, 120, 74, 0.15);
    z-index: 2;
}

.best-choice-ribbon {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--verde-accion);
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 0 5px 15px rgba(23, 120, 74, 0.3);
}

.card-header-compare h3 {
    font-size: 2rem;
    color: var(--verde-bosque);
    margin-bottom: 5px;
}

.card-header-compare p {
    color: var(--verde-accion);
    font-weight: 600;
    margin-bottom: 30px;
}

.compare-card.diroga-pro ul li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    text-align: left;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.compare-card.diroga-pro ul li:last-child {
    border-bottom: none;
}

.btn-primary-shadow {
    display: inline-block;
    background: var(--verde-bosque);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(14, 92, 56, 0.3);
    margin-top: 20px;
    transition: 0.3s;
}

.btn-primary-shadow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(14, 92, 56, 0.4);
    background: var(--verde-fuerte);
}

/* Icono VS central */
.versus-icon {
    width: 50px;
    height: 50px;
    background: #eee;
    color: #999;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-style: italic;
    font-size: 1.2rem;
    border: 3px solid white;
}

/* Ajustes Responsive */
@media (max-width: 900px) {
    .row-video-layout {
        grid-template-columns: 1fr;
    }
    
    .video-wrapper-box {
        order: -1; /* Video arriba en móvil */
        height: 250px;
    }

    .comparison-grid-modern {
        flex-direction: column;
    }

    .compare-card {
        width: 100%;
    }
    
    .compare-card.diroga-pro {
        transform: scale(1); /* Quitar zoom en móvil */
        order: -1; /* Poner la mejor opción primero en móvil */
    }
    
    .versus-icon { display: none; }
}

/* =========================================
   NUEVOS ESTILOS: PÁGINA "NOSOTROS"
   ========================================= */

/* 1. Misión y Visión Grid */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mv-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid #eee;
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.mv-card.mission {
    border-left: 5px solid var(--verde-bosque);
}

.mv-card.vision {
    border-left: 5px solid var(--verde-accion);
}

.mv-icon {
    width: 60px;
    height: 60px;
    background: #f0fdf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--verde-bosque);
    margin-bottom: 20px;
}

.mv-card h3 {
    margin-bottom: 15px;
    color: var(--verde-fuerte);
}

.mv-card p {
    color: #666;
    line-height: 1.7;
}

/* 2. Valores Grid (Cuadrícula de 4) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.value-item {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: 0.3s;
}

.value-item:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--verde-claro);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--verde-accion);
    margin-bottom: 15px;
}

.value-item h4 {
    margin-bottom: 10px;
    color: #333;
}

.value-item p {
    font-size: 0.9rem;
    color: #777;
}

/* 3. Firma del CEO */
.signature-box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.signature-box div {
    display: flex;
    flex-direction: column;
}

.signature-box strong {
    font-family: 'Montserrat', sans-serif;
    color: var(--verde-bosque);
}

.signature-box span {
    font-size: 0.85rem;
    color: #888;
}

/* 4. Overlay Redes Sociales (Equipo) */
.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 92, 56, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.member-img:hover .member-overlay {
    opacity: 1;
}

.member-overlay a {
    color: white;
    font-size: 1.5rem;
    padding: 10px;
    transition: 0.2s;
}

.member-overlay a:hover {
    transform: scale(1.2);
    color: var(--neon-green);
}

/* Ajustes Responsive Nosotros */
@media (max-width: 768px) {
    .mv-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   ESTILOS NUEVA SECCIÓN: IDENTIDAD (NOSOTROS)
   ========================================= */

.identity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.lead-text {
    font-size: 1.15rem;
    color: #444;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 20px;
}

.capabilities-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cap-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--verde-fuerte);
}

.cap-item i {
    color: var(--verde-accion);
    font-size: 1.2rem;
}

/* Tarjetas Visuales de la derecha */
.what-we-do-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    border: 1px solid #f0f0f0;
    transition: 0.3s;
}

.what-we-do-card:last-child {
    margin-bottom: 0;
}

.what-we-do-card:hover {
    transform: translateX(10px);
    border-color: var(--verde-claro);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.wwd-icon {
    width: 50px;
    height: 50px;
    background: #e8f5e9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--verde-accion);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.what-we-do-card:hover .wwd-icon {
    background: var(--verde-accion);
    color: white;
}

.wwd-content h4 {
    margin-bottom: 5px;
    color: var(--texto-negro);
    font-size: 1.1rem;
}

.wwd-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Responsivo para la nueva sección */
@media (max-width: 900px) {
    .identity-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .what-we-do-card:hover {
        transform: translateY(-5px); /* En móvil mejor mover hacia arriba */
    }
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
}
.lang-switch a {
    font-size: 0.9rem;
    color: #888;
    font-weight: 600;
    padding: 5px !important;
}
.lang-switch span { color: #ccc; }
.lang-switch a:hover, .lang-switch a.active-lang {
    color: var(--verde-accion);
}