/* ==========================================================
   PALETA DE COLORES
========================================================== */
:root {
    --bg-main: #050608;
    --bg-dark: #0c0f16;
    --bg-card: #151821;
    --gold: #d4af37;
    --gold-soft: #f1d27a;
    --text-main: #f7f7f7;
    --text-muted: #9ca3af;
}

/* ==========================================================
   BODY & GLOBALS
========================================================== */
body {
    font-family: 'Open Sans', sans-serif;
    background: radial-gradient(circle at top left, #12131e 0, #050608 50%, #020308 100%);
    color: var(--text-main);
}

a {
    text-decoration: none;
}

/* ==========================================================
   HEADER (NAVBAR)
========================================================== */

/* NAVBAR LINKS */
.nav-link {
    color: rgba(255,255,255,0.65) !important;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 12px 18px !important;
    transition: all 0.25s ease-in-out;
}

    /* HOVER ELEGANTE */
    .nav-link:hover {
        color: #f5c86e !important;
        text-shadow: 0 0 8px rgba(245, 200, 110, 0.6), 0 0 14px rgba(245, 200, 110, 0.35);
        transform: translateY(-1px);
    }

    /* ACTIVO (por si lo quieres marcar luego) */
    .nav-link.active {
        color: #f5c86e !important;
        font-weight: 600;
    }

/* LOGO más grande */
.nav-logo {
    height: 95px;
    width: auto;
    transition: 0.3s ease-in-out;
}

/* Logo en hover efecto elegante */
.navbar-brand:hover .nav-logo {
    filter: drop-shadow(0 0 12px rgba(245, 200, 110, 0.45));
    transform: scale(1.03);
}


.btn-nav-cta {
    border-radius: 999px;
    border: 1px solid var(--gold);
    color: var(--gold-soft);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    padding: .45rem 1.4rem;
}

    .btn-nav-cta:hover {
        background: var(--gold);
        color: #111;
    }

/* ==========================================================
   FOOTER
========================================================== */

footer {
    background: var(--bg-main);
    color: var(--text-main);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 2.8rem 0 2rem;
}

.footer-title {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .85rem;
    margin-bottom: .7rem;
    color: var(--text-main);
}

.footer-link {
    display: block;
    font-size: .85rem;
    color: var(--text-muted);
}

    .footer-link:hover {
        color: var(--gold-soft);
    }

.footer-text {
    font-size: .85rem;
    color: var(--text-muted);
}

.footer-brand {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-main);
    font-size: .95rem;
}

    .footer-brand span {
        color: var(--gold);
    }

/* ==========================================================
   WHATSAPP FLOTANTE
========================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 1.6rem;
    right: 1.3rem;
    z-index: 999;
}

.whatsapp-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    font-size: 1.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

    .whatsapp-btn:hover {
        filter: brightness(1.08);
        transform: translateY(-2px);
    }

/* ==========================================================
   UTILIDADES
========================================================== */

.section {
    padding: 3.5rem 0;
}

.section-eyebrow {
    font-size: .75rem;
    text-transform: uppercase;
    color: var(--gold-soft);
    letter-spacing: .18em;
}

.section-title {
    font-size: 1.7rem;
    font-weight: 600;
}

.section-subtitle {
    font-size: .9rem;
    color: var(--text-muted);
}
.text-soft {
    color: var(--text-main) !important;
    opacity: .85;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: .02em;
}
/* ==========================================================
   LOGO RESPONSIVE
========================================================== */
/* LOGO DEL NAVBAR — tamaño aumentado */
.nav-logo {
    height: 95px; /* antes seguro era ~45px; ahora es el doble */
    width: auto;
    transition: 0.3s ease-in-out;
}

/* Opcional: reducir ligeramente en móviles */
@media (max-width: 768px) {
    .nav-logo {
        height: 70px;
    }
}



/* ==========================================================
   FOOTER OPTIMIZADO
========================================================== */

.footer-main {
    background: var(--bg-main);
    padding: 2.8rem 0 2rem;
}

.footer-title {
    color: var(--text-main);
    text-transform: uppercase;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .16em;
    margin-bottom: .9rem;
}

.footer-text {
    color: var(--text-muted);
    font-size: .9rem;
    line-height: 1.6;
}

.footer-link {
    color: var(--text-muted);
    font-size: .9rem;
    line-height: 1.6;
}

    .footer-link i {
        font-size: 1.1rem;
    }

    .footer-link:hover {
        color: var(--gold-soft);
    }

.footer-divider {
    border-color: rgba(255,255,255,0.06);
    margin: 2rem 0;
}

.footer-bottom {
    color: var(--text-muted);
    font-size: .85rem;
}

/* Logo pequeño, legible y centrado */
.footer-brand {
    font-weight: 700;
    margin-left: 4px;
}

    .footer-brand span {
        color: var(--gold-soft);
    }

/* ==========================================================
   RESPONSIVE FOOTER
========================================================== */

@media (max-width: 768px) {

    .footer-title {
        font-size: .95rem;
        margin-top: 1rem;
    }

    .footer-link,
    .footer-text {
        font-size: 1rem;
    }

    .footer-divider {
        margin: 1.5rem 0;
    }

    .footer-main {
        padding: 2.2rem 0 2rem;
    }
}

@media (max-width: 480px) {

    .footer-link i {
        font-size: 1.25rem;
    }

    .footer-text {
        font-size: 1rem;
    }

    .footer-title {
        margin-bottom: .6rem;
    }
}
.service-card {
    background: #151821;
    padding: 1.8rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    height: 100%;
    transition: all .25s ease;
}

    .service-card h5 {
        color: var(--text-main);
        margin-bottom: .6rem;
    }

    .service-card p {
        color: var(--text-muted);
        font-size: .9rem;
        line-height: 1.6;
    }

    .service-card:hover {
        transform: translateY(-4px);
        border-color: var(--gold);
    }
/* HERO VIDEO */
.hero-video-container {
    position: relative;
    width: 100%;
    height: 65vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    filter: brightness(100%);
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.25);
}

.hero-content {
    text-align: left;
}

/* Móvil: evitar problemas con autoplay en iOS */
@media(max-width:768px) {

    .hero-video-container {
        background: url('/assets/img/hero_abogados_dark.webp') center/cover no-repeat;
    }

    .hero-video {
        display: none;
    }

    .hero-content {
        padding-top: 120px !important;
        text-align: center;
    }
}
.internal-hero {
    padding: 120px 0 90px;
    background: linear-gradient(180deg, #0f1118, #080a0f);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.accred-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    transition: 0.3s ease;
}

    .accred-card:hover {
        transform: translateY(-6px);
        border-color: rgba(245,200,110,0.35);
        box-shadow: 0 0 22px rgba(245,200,110,0.25);
    }
/* Tarjetas de directivos */
.team-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    transition: 0.3s ease;
    height: 100%;
}

    .team-card:hover {
        transform: translateY(-6px);
        border-color: rgba(245,200,110,0.35);
        box-shadow: 0 0 18px rgba(245,200,110,0.20);
    }

/* Foto del directivo */
.team-photo {
    width: 100%;
    height: 380px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    background: #10131a;
}

    .team-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Aprovecha tus fotos 712x1600 perfectamente */
        object-position: top; /* Centrado superior para mostrar el rostro */
    }

/* Tono dorado del texto */
.text-gold-soft {
    color: #e9c27b;
    letter-spacing: 0.4px;
}
.topbar-social-white {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    text-decoration: none;
    transition: 0.25s ease;
}

    .topbar-social-white:hover {
        color: #ffffff; /* 100% blanco al pasar el mouse */
    }
