﻿:root {
    --bg0: #0b1a25; /* azul oscuro */
    --bg1: #101820;
    --bg2: #16222a;
    --text: #ffffff;
    --muted: rgba(255,255,255,.75);
    --card: rgba(255,255,255,.06);
    --card2: rgba(255,255,255,.04);
    --border: rgba(255,255,255,.14);
    --accent: #d62828; /* rojo corporativo */
    --accent2: #ffcc00; /* amarillo taxi */
    --shadow: 0 18px 45px rgba(0,0,0,.55);
}

/* ===== GENERAL ===== */
body {
    font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, var(--bg0), var(--bg2));
}

a {
    color: rgba(255,255,255,.90);
}

    a:hover {
        color: #fff;
    }

/* ===== NAVBAR ===== */
.nav-glass {
    background: rgba(11, 26, 37, .92);
    border-bottom: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
}

.navbar .nav-link {
    color: rgba(255,255,255,.92) !important;
    font-weight: 700;
    padding: .6rem .85rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
    transition: all .18s ease;
}

    .navbar .nav-link:hover {
        color: #fff !important;
        background: rgba(255,204,0,.12);
        border: 1px solid rgba(255,204,0,.45);
        box-shadow: 0 10px 22px rgba(255,204,0,.20);
    }

    .navbar .nav-link.active {
        background: rgba(214,40,40,.15);
        border-color: rgba(214,40,40,.45);
        box-shadow: 0 10px 25px rgba(214,40,40,.25);
    }

/* ===== LOGO ===== */
.brand-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 10px 25px rgba(0,0,0,.35);
    position: relative;
    overflow: hidden;
}

.brand-logo {
    height: 64px;
    width: auto;
    filter: drop-shadow(0 10px 22px rgba(0,0,0,.55));
}

/* ===== HERO ===== */
.hero {
    padding: 72px 0 56px;
    text-align: center;
}

.hero-title {
    font-weight: 900;
    color: var(--accent);
}

.hero-subtitle {
    color: var(--muted);
}

/* ===== BOTONES ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent2)) !important;
    border: 0 !important;
    font-weight: 800 !important;
}

.btn-outline-light {
    border-color: rgba(255,255,255,.42) !important;
    color: rgba(255,255,255,.95) !important;
    font-weight: 800 !important;
}

    .btn-outline-light:hover {
        background: rgba(255,255,255,.10) !important;
        color: #fff !important;
    }

/* ===== CARDS ===== */
.card {
    border-radius: 18px !important;
}

.card-glass {
    border: 1px solid var(--border) !important;
    background: var(--card) !important;
    color: var(--text) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.22);
}

.service-card {
    border: 1px solid var(--border) !important;
    background: var(--card2) !important;
    color: var(--text) !important;
    transition: transform .15s ease, box-shadow .15s ease;
}

    .service-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 45px rgba(0,0,0,.35);
    }

/* ===== ICONOS ===== */
.icon-pill, .service-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(214,40,40,.14);
    border: 1px solid rgba(214,40,40,.22);
    color: #fff;
    font-size: 22px;
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(0,0,0,.28);
    border-top: 1px solid rgba(255,255,255,.10);
}

.footer-title {
    font-weight: 900;
    color: rgba(255,255,255,.96);
}

.footer-links a {
    color: rgba(255,255,255,.86);
    text-decoration: none;
}

    .footer-links a:hover {
        color: var(--accent2);
    }

.footer-logo {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,.55));
}

.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
}

.wa-btn {
    width: 64px;
    height: 64px;
    border: 0;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: #1db954; /* verde WhatsApp */
    color: #fff;
    font-size: 30px;
    box-shadow: 0 14px 35px rgba(0,0,0,.55);
    cursor: pointer;
}

.wa-panel {
    position: absolute;
    right: 0;
    bottom: 78px;
    width: 320px;
    border-radius: 14px;
    background: rgba(0,0,0,.88);
    border: 2px solid #ffcc00; /* borde dorado */
    box-shadow: 0 20px 70px rgba(0,0,0,.75);
    backdrop-filter: blur(12px);
    transform: translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: all .18s ease;
}

    .wa-panel.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
.wa-avatar {
    background: rgba(255,255,255,.10);
    padding: 6px; /* espacio alrededor */
    border-radius: 12px;
}

    .wa-avatar img {
        width: 48px; /* tamaño fijo */
        height: 48px; /* tamaño fijo */
        object-fit: contain; /* que no se deforme */
        object-position: center;
        display: block;
        filter: drop-shadow(0 6px 12px rgba(0,0,0,.55));
    }

.wa-close {
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.85);
    font-size: 20px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .wa-close:hover {
        background: rgba(255,255,255,.08);
        color: #fff;
    }
/* ===== WhatsApp Widget Premium ===== */
.wa-panel {
    position: absolute;
    right: 0;
    bottom: 78px;
    width: 320px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(0,0,0,.88);
    border: 2px solid #ffcc00; /* borde dorado */
    box-shadow: 0 20px 70px rgba(0,0,0,.75);
    backdrop-filter: blur(12px);
    transform: translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: all .18s ease;
}

    .wa-panel.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

/* Encabezado */
.wa-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

/* Logo compacto */
.wa-avatar {
    background: rgba(255,255,255,.10);
    padding: 6px;
    border-radius: 12px;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

    .wa-avatar img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        display: block;
        filter: drop-shadow(0 6px 12px rgba(0,0,0,.55));
    }

/* Texto del encabezado */
.wa-head-text {
    flex: 1;
    line-height: 1.15;
}

.wa-title {
    font-weight: 800;
    color: #fff;
}

.wa-status {
    font-weight: 700;
    font-size: 13px;
    color: #ffcc00;
}

/* Botón cerrar */
.wa-close {
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.85);
    font-size: 20px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .wa-close:hover {
        background: rgba(255,255,255,.08);
        color: #fff;
    }

/* Cuerpo y pie */
.wa-body {
    padding: 14px;
}

.wa-msg {
    color: rgba(255,255,255,.92);
    font-weight: 600;
}

.wa-foot {
    background: #1db954;
    padding: 10px;
}

.wa-start {
    display: block;
    text-align: center;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 900;
    color: #06120b;
    text-decoration: none;
    background: #1db954;
}

    .wa-start:hover {
        filter: brightness(1.03);
        color: #06120b;
    }

.hero-logo {
    max-width: 220px; /* 👈 ancho máximo del logo */
    height: auto; /* mantiene proporción */
    margin: 0 auto; /* centrado */
    display: block;
    filter: drop-shadow(0 10px 22px rgba(0,0,0,.55));
}

@media (max-width: 991.98px) {
    .hero-logo {
        max-width: 160px; /* tablets */
    }
}

@media (max-width: 575.98px) {
    .hero-logo {
        max-width: 120px; /* móviles */
    }
}

/* ===== HERO LOGO ===== */
.hero-logo {
    max-width: 220px; /* tamaño máximo en escritorio */
    height: auto;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 10px 22px rgba(0,0,0,.55));
    opacity: 0; /* oculto al inicio */
    transform: translateY(20px); /* desplazado hacia abajo */
    animation: logoFadeIn 1.2s ease forwards; /* animación */
}

/* Tablets */
@media (max-width: 991.98px) {
    .hero-logo {
        max-width: 160px;
    }
}

/* Móviles */
@media (max-width: 575.98px) {
    .hero-logo {
        max-width: 120px;
    }
}

/* ===== Animación ===== */
@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== TEXTOS GENERALES ===== */
p, li, small {
    color: #fff !important; /* todo texto en blanco */
}

/* ===== HERO TITLES ===== */
.hero-title {
    font-weight: 900;
    color: #fff; /* ahora blanco */
    font-size: 2.8rem;
    opacity: 0;
    transform: translateY(20px);
    animation: titleFadeIn 1.4s ease forwards;
}

.hero-subtitle {
    color: #fff; /* blanco */
    font-size: 1.25rem;
    opacity: 0;
    transform: translateY(20px);
    animation: subtitleFadeIn 1.6s ease forwards;
}

/* ===== Animaciones ===== */
@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes subtitleFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== MISION Y VISION ===== */
.section-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: sectionFadeIn 1.2s ease forwards;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #fff;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: sectionFadeIn 1.4s ease forwards;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

