/* ============================================================
   assets/css/style.css
   Estilos base para MEGAN - Grupo Empresarial
   Paleta de colores industrial/oscuro/tecnológico
   ============================================================ */

/* ---------- Variables CSS (paleta MEGAN) ---------- */
:root {
    --megan-naranja: #eb7b29;
    --megan-naranja-alt: #F05A22;
    --megan-fondo-oscuro: #2C3034;

    /* Colores auxiliares (derivados, para mayor consistencia) */
    --megan-naranja-claro: #f39c5e;
    --megan-naranja-oscuro: #c95f1a;
    --megan-gris-claro: #f8f9fa;
    --megan-gris-medio: #6c757d;
    --megan-blanco: #ffffff;
    --megan-negro: #000000;

    /* Altura del navbar (fijo) para cálculos */
    --navbar-height: 72px;
}

/* ---------- Reset & base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--megan-blanco);
    color: #1a1a1a;
    padding-top: var(--navbar-height);
    /* Espacio para el navbar fijo */
}

.soluciones-bg {
    background-color: #f2f2f3;
}

/* ---------- Navbar (estilos base) ---------- */
.navbar {
    background: linear-gradient(90deg, #4a4f54 0%, var(--megan-fondo-oscuro) 60%);
    min-height: var(--navbar-height);
    padding: 0.5rem 1rem;
    border-bottom: 2px solid var(--megan-naranja);
    z-index: 1030;
}

.navbar .navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem !important;
    transition: color 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--megan-naranja) !important;
}

/* Enlaces externos (con ícono ↗) */
.nav-link-external {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.external-icon {
    font-size: 0.8rem;
    line-height: 1;
    transition: transform 0.2s ease;
    display: inline-block;
}

.nav-link-external:hover .external-icon {
    transform: translate(2px, -2px);
}

/* Botón Contáctanos (outline naranja) */
.btn-outline-megan {
    color: var(--megan-naranja);
    border: 2px solid var(--megan-naranja);
    background-color: transparent;
    padding: 0.4rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-megan:hover,
.btn-outline-megan:focus {
    background-color: var(--megan-naranja);
    color: #fff;
    border-color: var(--megan-naranja);
    box-shadow: 0 0 0 3px rgba(235, 123, 41, 0.25);
}

/* Ajuste para mobile: el botón se ve igual en el menú colapsado */
@media (max-width: 991.98px) {
    .navbar .nav-link {
        padding: 0.6rem 0 !important;
        text-align: center;
    }

    .btn-outline-megan {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }

    .navbar .navbar-nav {
        padding: 0.5rem 0;
    }
}

/* ---------- HERO (sección principal) ---------- */
.hero-section {
    position: relative;
    min-height: calc(100vh - var(--navbar-height));
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #1a1a1a;
    /* fallback */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 48, 52, 0.65);
    /* gris translúcido */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    color: #fff;
}

/* Placeholder de texto del hero (se eliminará en Brief #2) */
.hero-placeholder-text {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-left: 4px solid var(--megan-naranja);
    border-radius: 4px;
}

.hero-placeholder-text h1 {
    font-weight: 700;
    color: #fff;
}

.hero-placeholder-text .lead {
    color: rgba(255, 255, 255, 0.8);
}

/* ---------- Secciones genéricas ---------- */
.content-section {
    padding: 4rem 0;
}

.section-title {
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--megan-fondo-oscuro);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--megan-naranja);
    margin-top: 0.5rem;
    border-radius: 2px;
}

/* ---------- Footer ---------- */
.footer {
    background-color: var(--megan-fondo-oscuro) !important;
    color: #adb5bd;
    border-top: 2px solid var(--megan-naranja);
}

.footer a {
    color: var(--megan-naranja);
    text-decoration: none;
}

.footer a:hover {
    color: var(--megan-naranja-alt);
    text-decoration: underline;
}

/* ---------- Utilidades adicionales ---------- */
/* Clase para textos con acento naranja */
.text-megan {
    color: var(--megan-naranja) !important;
}

.bg-megan-dark {
    background-color: var(--megan-fondo-oscuro) !important;
}

/* Sombra sutil para tarjetas (se usará más adelante) */
.shadow-megan {
    box-shadow: 0 4px 20px rgba(44, 48, 52, 0.08);
    transition: box-shadow 0.3s ease;
}

.shadow-megan:hover {
    box-shadow: 0 8px 30px rgba(44, 48, 52, 0.15);
}

/* Borde decorativo naranja */
.border-megan {
    border-color: var(--megan-naranja) !important;
}

/* ---------- Responsive fine-tuning ---------- */
@media (max-width: 768px) {
    :root {
        --navbar-height: 64px;
        /* navbar más pequeño en móviles */
    }

    body {
        padding-top: var(--navbar-height);
    }

    .hero-section {
        min-height: calc(100vh - var(--navbar-height));
    }

    .section-title {
        font-size: 1.8rem;
    }

    section {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .hero-placeholder-text {
        padding: 1.5rem;
    }

    .hero-placeholder-text h1 {
        font-size: 1.8rem;
    }
}

/* ---------- Ajuste para navbar en móvil (collapse) ---------- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--megan-fondo-oscuro);
        padding: 0.75rem 1rem;
        border-radius: 0 0 8px 8px;
        margin-top: 0.25rem;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }

    .navbar .navbar-nav {
        gap: 0.25rem;
    }

    .navbar .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .navbar .nav-item:last-child {
        border-bottom: none;
    }
}

.navbar {
    z-index: 1030;
}

.content-section {
    transition: background-color 0.3s ease;
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.6rem;
    }

    .section-title::after {
        width: 40px;
    }
}

/* ============================================================
   HERO - Contenido definitivo (Brief #2)
   ============================================================ */

.hero-tagline {
    color: var(--megan-naranja);
    font-weight: 600;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 1000px;
    margin-bottom: 0;
}

/* ============================================================
   FIN DE ESTILOS HERO (Brief #2)
   ============================================================ */

/* ============================================================
   NOSOTROS (Brief #3)
   ============================================================ */

.nosotros-text {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.7;
}

.nosotros-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.nosotros-stats-banner {
    position: relative;
    background-image: url('../img/nosotros_02.jpg');
    background-size: cover;
    background-position: center 40%;
    /* antes: center top, ahora apunta a la franja 25-50% aprox */
    border-radius: 8px;
    padding: 4rem 1rem;
    min-height: 320px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.nosotros-stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 48, 52, 0.75);
}

.stat-item {
    position: relative;
    z-index: 1;
    color: #fff;
}

.stat-icon {
    display: block;
    margin: 0 auto 0.5rem;
    color: var(--megan-naranja);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--megan-naranja);
    line-height: 1;
}

.stat-label {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.stat-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.35rem;
    margin-bottom: 0;
}

.stat-description-narrow {
    max-width: 160px;
    margin-left: auto;
    margin-right: auto;
}

.stat-icon-galcon {
    width: 32px;
    height: 32px;
    margin: 0 auto 0.5rem;
    background-image: url('../img/logo-galcon.png');
    background-size: 400% auto;
    /* ajustar según proporción real del logo */
    background-position: 0% center;
    /* recorta hacia el ícono/sol, extremo izquierdo */
    border-radius: 50%;
    overflow: hidden;
}

.stat-icon-svg {
    width: 50px;
    height: auto;
    margin: 0 auto 0.5rem;
    display: block;
}

/* ============================================================
   FIN DE ESTILOS NOSOTROS (Brief #3)
   ============================================================ */

/* ============================================================
   SOLUCIONES (Brief #4 + #4b)
   ============================================================ */

/* Bloque 1: Video + Brochures */
.soluciones-video-wrapper {
    position: relative;
    width: 90%;
}

.soluciones-video-wrapper video {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background-color: #000;
}

.col-lg-7:has(.soluciones-video-wrapper) {
    display: flex;
    justify-content: center;
}

.btn-expand-video {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 2;
}

.btn-expand-video:hover {
    background-color: var(--megan-naranja);
}

.brochure-buttons-wrapper {
    width: fit-content;
    align-items: stretch;
}

.brochure-buttons-col {
    margin-left: 10%;
    width: fit-content;
    max-width: 100%;
}

.brochure-btn {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1.25rem;
    background-color: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 6px;
    color: var(--megan-fondo-oscuro);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.brochure-btn:hover {
    border-color: var(--megan-naranja);
    background-color: var(--megan-naranja);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(235, 123, 41, 0.3);
}

.brochure-btn svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.brochure-btn:hover svg {
    transform: translateY(-2px);
}

/* Bloque 2: Líneas de Negocio (rediseño Brief #4b) */
.lineas-negocio-photo {
    position: relative;
    height: 100%;
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.lineas-negocio-photo img {
    object-fit: cover;
}

.lineas-negocio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(44, 48, 52, 0.85) 0%, rgba(44, 48, 52, 0.1) 60%);
}

.lineas-negocio-cta {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    color: #fff;
}

.lineas-negocio-cta h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.lineas-negocio-cta a {
    color: var(--megan-naranja);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.lineas-negocio-cta a:hover svg {
    transform: translateX(4px);
}

.lineas-negocio-cta a svg {
    transition: transform 0.2s ease;
}

.linea-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.25rem;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.linea-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    border-bottom-color: var(--megan-naranja);
}

.linea-icon {
    width: 42px;
    height: 42px;
    background-color: var(--megan-naranja);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.linea-card h5 {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    color: var(--megan-fondo-oscuro);
}

.linea-card p {
    font-size: 0.82rem;
    color: #666;
    margin-bottom: 0;
    line-height: 1.4;
}

.linea-detalle-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.linea-detalle-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: #444;
}

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

.linea-detalle-list strong {
    color: var(--megan-fondo-oscuro);
}

/* Bloque 3: Por qué Elegirnos */
.elegir-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.elegir-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    border-bottom-color: var(--megan-naranja);
}

.elegir-icon-svg {
    margin-bottom: 0.75rem;
}

.elegir-card h5 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--megan-fondo-oscuro);
}

.elegir-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .elegir-card {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 991.98px) {
    .lineas-negocio-photo {
        min-height: 300px;
    }
}

@media (max-width: 576px) {
    .linea-card {
        padding: 1rem;
    }

    .linea-icon {
        width: 36px;
        height: 36px;
    }

    .linea-card h5 {
        font-size: 0.85rem;
    }

    .linea-card p {
        font-size: 0.75rem;
    }
}

/* ============================================================
   FIN DE ESTILOS SOLUCIONES (Brief #4 + #4b)
   ============================================================ */

/* ============================================================
   PROYECTOS (Brief #5)
   ============================================================ */

.proyectos-intro {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.proyecto-card {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.proyecto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.proyecto-img-wrapper {
    height: 320px;
    overflow: hidden;
}

.proyecto-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.proyecto-card:hover .proyecto-thumb {
    transform: scale(1.08);
}

.proyecto-info {
    padding: 1rem;
}

.proyecto-info h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--megan-fondo-oscuro);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.proyecto-info span {
    font-size: 0.8rem;
    color: #888;
}

.btn-ver-todos {
    background-color: transparent;
    border: 2px solid var(--megan-naranja);
    color: var(--megan-naranja);
}

/* ============================================================
   EQUIPO DE VENTAS (Brief #6a)
   ============================================================ */
.ejecutivo-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
}

.ejecutivo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ejecutivo-photo {
    width: 100%;
    max-width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.ejecutivo-info {
    padding: 1.25rem;
}

.ejecutivo-info h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--megan-fondo-oscuro);
}

.ejecutivo-rol {
    display: block;
    color: var(--megan-naranja);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.ejecutivo-contacto {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ejecutivo-contacto a {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    justify-content: center;
    transition: color 0.2s ease;
}

.ejecutivo-contacto a:hover {
    color: var(--megan-naranja);
}
/* ============================================================
   FIN DE ESTILOS EQUIPO DE VENTAS (Brief #6a)
   ============================================================ */

/* ============================================================
   FOOTER (Brief #7)
   ============================================================ */

.footer {
    background-color: var(--megan-fondo-oscuro) !important;
    color: #adb5bd;
    border-top: 3px solid var(--megan-naranja);
}

/* Marca */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-tagline {
    font-size: 0.9rem;
    color: #adb5bd;
    margin-bottom: 0.75rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #adb5bd;
    transition: all 0.25s ease;
}

.footer-social a:hover {
    background-color: var(--megan-naranja);
    color: #fff;
    transform: translateY(-2px);
}

/* Títulos */
.footer-title {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enlaces rápidos */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.4rem;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-links a:hover {
    color: var(--megan-naranja);
}

.footer-links .external-icon {
    font-size: 0.7rem;
    line-height: 1;
    transition: transform 0.2s ease;
    display: inline-block;
}

.footer-links a:hover .external-icon {
    transform: translate(2px, -2px);
}

/* Contacto */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 0.6rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-contact a {
    color: #adb5bd;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-contact a:hover {
    color: var(--megan-naranja);
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.footer-address {
    color: #adb5bd;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-address svg {
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Legal */
.footer-legal {
    font-size: 0.85rem;
    color: #8a8f94;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
    .footer-brand {
        align-items: center;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-title {
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .footer-address {
        justify-content: center;
    }
    
    .footer-legal {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 2.5rem 0 !important;
    }
    
    .footer-social a {
        width: 40px;
        height: 40px;
    }
}

/* ============================================================
   FIN DE ESTILOS FOOTER (Brief #7)
   ============================================================ */

/* ============================================================
   WIDGET FLOTANTE DE WHATSAPP (Brief #8)
   ============================================================ */

.whatsapp-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.whatsapp-widget.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Botón flotante */
.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: var(--megan-naranja);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(235, 123, 41, 0.35);
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
    z-index: 2;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(235, 123, 41, 0.45);
    background-color: var(--megan-naranja-alt);
}

.whatsapp-btn:active {
    transform: scale(0.96);
}

.whatsapp-btn svg {
    flex-shrink: 0;
}

/* Panel desplegable */
.whatsapp-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 340px;
    max-width: calc(100vw - 40px);
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateY(10px) scale(0.96);
    transform-origin: bottom right;
    transition: all 0.25s ease;
    pointer-events: none;
    visibility: hidden;
    overflow: hidden;
}

.whatsapp-panel.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    visibility: visible;
}

/* Header del panel */
.whatsapp-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background-color: var(--megan-fondo-oscuro);
    color: #fff;
    border-bottom: 3px solid var(--megan-naranja);
}

.whatsapp-panel-header span {
    font-weight: 600;
    font-size: 0.95rem;
}

.whatsapp-close {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    opacity: 0.7;
}

.whatsapp-close:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Body del panel */
.whatsapp-panel-body {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 420px;
    overflow-y: auto;
}

/* Opciones (botones) */
.whatsapp-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: #fff;
    border: 2px solid #e8eaed;
    border-radius: 8px;
    color: var(--megan-fondo-oscuro);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.whatsapp-option:hover {
    border-color: var(--megan-naranja);
    background-color: var(--megan-naranja);
    color: #fff;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(235, 123, 41, 0.25);
}

.whatsapp-option svg {
    flex-shrink: 0;
    color: var(--megan-naranja);
    transition: color 0.25s ease;
}

.whatsapp-option:hover svg {
    color: #fff;
}

/* Scroll personalizado para el panel */
.whatsapp-panel-body::-webkit-scrollbar {
    width: 4px;
}

.whatsapp-panel-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.whatsapp-panel-body::-webkit-scrollbar-thumb {
    background: var(--megan-naranja);
    border-radius: 4px;
}

.whatsapp-panel-body::-webkit-scrollbar-thumb:hover {
    background: var(--megan-naranja-alt);
}

/* Responsive */
@media (max-width: 480px) {
    .whatsapp-widget {
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        border-radius: 50px;
    }

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

    .whatsapp-panel {
        width: calc(100vw - 32px);
        bottom: 65px;
        right: 0;
        border-radius: 10px;
    }

    .whatsapp-panel-header {
        padding: 0.75rem 1rem;
    }

    .whatsapp-panel-header span {
        font-size: 0.85rem;
    }

    .whatsapp-panel-body {
        padding: 0.5rem;
        max-height: 360px;
    }

    .whatsapp-option {
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    .whatsapp-option svg {
        width: 18px;
        height: 18px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .whatsapp-panel {
        width: 320px;
    }
}

/* ============================================================
   FIN DE ESTILOS WIDGET WHATSAPP (Brief #8)
   ============================================================ */

/* ============================================================
   STAFF (Brief #10)
   ============================================================ */
.staff-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    height: 100%;
}

.staff-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);
    border-bottom-color: var(--megan-naranja);
}

.staff-inicial {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background-color: var(--megan-naranja);
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.staff-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.staff-info h6 {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--megan-fondo-oscuro);
    margin-bottom: 0;
}

.staff-cargo {
    font-size: 0.8rem;
    color: var(--megan-naranja);
    font-weight: 600;
}

.staff-email {
    font-size: 0.8rem;
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.staff-email:hover {
    color: var(--megan-naranja);
}
/* ============================================================
   FIN DE ESTILOS STAFF (Brief #10)
   ============================================================ */

/* ============================================================
   FIN DE ESTILOS BASE
   - Las secciones (Nosotros, Soluciones, Proyectos, Contacto)
     se completarán en briefs posteriores.
   ============================================================ */