/* ============================================================
   STYLES - Publicidad Gonzalez Chong
   Nuevo diseño
   ============================================================ */

/* ---------- Variables y Reset ---------- */
:root {
    --azul-titulo:   #5B9BE8;   /* Títulos de sección */
    --azul-card:     #6FADEB;   /* Tarjetas de servicio */
    --azul-banda:    #6BA6F0;   /* Banda azul del video */
    --azul-contacto: #2F7FD4;   /* Duotono de la sección contacto */
    --lila-1:        #b7b6e8;
    --lila-2:        #cfceef;
    --verde-suave:   #e8f2ec;
    --rojo:          #C8102E;
    --rojo-hover:    #a30d24;
    --morado:        #6c5ce7;
    --texto:         #333333;
    --font-display:  'Montserrat', Arial, sans-serif;
    --font-round:    'Poppins', 'Montserrat', sans-serif;
    --font-body:     'Poppins', 'Open Sans', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    color: var(--texto);
    overflow-x: hidden;
    background: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }

/* El logo original es negro con transparencia: se invierte para versiones blancas */
.logo-blanco { filter: brightness(0) invert(1); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-custom {
    position: absolute;
    top: 42px;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
}

.navbar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1500px;
    position: relative;
}

.navbar-menu {
    list-style: none;
    display: flex;
    gap: 90px;
    margin: 0 auto;
    padding: 0 0 14px;
    border-bottom: 2px solid #fff;
    min-width: 620px;
    justify-content: center;
}

.navbar-menu .nav-link {
    color: #fff;
    font-family: var(--font-round);
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 1.5px;
    transition: opacity .25s ease;
    text-shadow: 0 1px 5px rgba(0,0,0,.35);
}

.navbar-menu .nav-link:hover,
.navbar-menu .nav-link.active { opacity: .8; }

.navbar-social {
    display: flex;
    gap: 22px;
    position: absolute;
    right: 0;
    top: 0;
}

.navbar-social a {
    color: #fff;
    font-size: 27px;
    line-height: 1;
    transition: transform .3s ease;
    text-shadow: 0 1px 5px rgba(0,0,0,.35);
}

.navbar-social a:hover { transform: scale(1.15); }

/* Flecha ">" a la izquierda del menú (avanza el video del hero) */
.hero-arrow {
    position: absolute;
    left: 55px;
    top: 0;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    opacity: .9;
    text-shadow: 0 1px 5px rgba(0,0,0,.35);
    transition: transform .3s, opacity .3s;
}

.hero-arrow:hover { transform: translateX(4px); opacity: 1; }

.navbar-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 35px;
    height: 26px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
}

.navbar-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all .3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 78vh;
    min-height: 620px;
    overflow: hidden;
}

.hero-slider { position: absolute; inset: 0; }

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,.15), rgba(0,0,0,.32));
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 90%;
    text-align: center;
    padding: 60px 20px 0;
}

.hero-logo { margin-top: 250px; margin-bottom: 250px; }

.hero-logo img {
    width: 390px;
    max-width: 62vw;
    filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(0,0,0,.25));
    opacity: .95;
    pointer-events: none;
}

.hero-title {
    color: #fff;
    font-family: var(--font-round);
    font-weight: 400;
    font-size: 33px;
    letter-spacing: 1.5px;
    line-height: 1.35;
    text-shadow: 0 2px 8px rgba(0,0,0,.45);
    margin-bottom: 38px;
}

.btn-contactanos {
    display: inline-block;
    background: var(--rojo);
    color: #fff;
    padding: 16px 52px;
    font-family: var(--font-round);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 2px;
    border-radius: 999px;
    transition: background .3s, transform .3s;
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
}

.btn-contactanos:hover {
    background: var(--rojo-hover);
    transform: translateY(-2px);
    color: #fff;
}

/* ============================================================
   NOSOTROS SOMOS
   ============================================================ */
.nosotros-section {
    padding: 60px 0 110px;
    background: linear-gradient(115deg,
                var(--verde-suave) 0%,
                #f2f0f7 38%,
                #e2e0f4 68%,
                var(--lila-2) 100%);
}

.seccion-divider {
    border: 0;
    height: 2px;
    background: #8f8fd6;
    opacity: .85;
    width: 72%;
    margin: 0 auto 70px;
}

.seccion-title {
    color: var(--azul-titulo);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 54px;
    letter-spacing: .5px;
    line-height: 1.2;
    margin-bottom: 30px;
}

.nosotros-row { --bs-gutter-x: 4rem; }

.nosotros-text {
    color: var(--azul-titulo);
    font-family: var(--font-round);
    font-size: 18px;
    line-height: 1.75;
    font-weight: 400;
    max-width: 560px;
}

.nosotros-img-wrapper {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
}

/* El alto lo define la proporción del video (16:9), así no se recorta nada */
.nosotros-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 20 / 9;
    object-fit: contain;
    background: #0d1b2a;
}

/* ============================================================
   NUESTRA EMPRESA
   ============================================================ */
.empresa-section {
    display: grid;
    grid-template-columns: 47% 53%;
    align-items: stretch;
    background: #ececf2;
    position: relative;
    overflow: hidden;
}

.empresa-panel {
    background: linear-gradient(150deg, var(--lila-2) 0%, var(--lila-1) 55%, #adacdf 100%);
    padding: 70px 60px 80px 9vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 620px;
}

.empresa-logo {
    width: 210px;
    filter: brightness(0) invert(1);
    opacity: .95;
    margin-bottom: 38px;
}

.empresa-title {
    font-family: var(--font-round);
    font-weight: 600;
    font-size: 82px;
    line-height: 1.05;
    color: #fff;
    margin: 0 0 55px;
    letter-spacing: -1px;
}

.btn-galeria {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    align-self: flex-start;
    border: 0;
    cursor: pointer;
    background: #4FA0F0;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 27px;
    letter-spacing: 1px;
    padding: 14px 26px 14px 40px;
    border-radius: 60px;
    transition: background .3s, transform .3s;
}

.btn-galeria:hover { background: #3b8ede; color: #fff; transform: translateY(-2px); }

.btn-galeria-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    color: #4FA0F0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.empresa-media {
    position: relative;
    display: flex;
    align-items: stretch;
}

.empresa-img-grande {
    width: 92%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.empresa-img-chica {
    position: absolute;
    left: -13%;
    top: 50%;
    transform: translateY(-50%);
    width: 27%;
    max-height: 76%;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

/* ============================================================
   SERVICIOS / TIPOS DE TRABAJOS
   ============================================================ */
.servicios-section { padding: 90px 0 70px; background: #fff; }

.servicios-row { margin-top: 100px; }

.servicio-card {
    display: block;
    text-align: center;
    transition: transform .35s ease;
    position: relative;
    max-width: 420px;
    margin: 0 auto;
}

.servicio-card:hover { transform: translateY(-8px); }

.servicio-img {
    width: 175px;
    height: 175px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

.servicio-img img { width: 100%; height: 100%; object-fit: cover; }

.servicio-body {
    background: var(--azul-card);
    padding: 118px 25px 42px;
    border-radius: 22px;
    margin-top: -92px;
    color: #fff;
}

.servicio-title {
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 27px;
    letter-spacing: 1px;
    margin: 0;
}

/* ============================================================
   GALERÍAS (carrusel de 3 por vista)
   ============================================================ */
.galeria-section { padding: 55px 0; background: #fff; }

.galeria-section .seccion-title { font-size: 48px; margin-bottom: 90px; }

.galeria-carrusel {
    display: flex;
    align-items: center;
    gap: 22px;
    max-width: 1420px;
    margin: 0 auto;
}

.galeria-track {
    display: flex;
    gap: 26px;
    transition: transform .5s ease;
    will-change: transform;
}

/* 3 visibles: 3 ítems + 2 huecos de 26px = 100% */
.galeria-track .galeria-item { flex: 0 0 calc(33.333% - 17.34px); }

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    max-width: 1360px;
    margin: 0 auto;
}

.galeria-item {
    overflow: hidden;
    margin: 0;
    aspect-ratio: 4 / 3;
    background: #f2f2f2;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.galeria-item:hover img { transform: scale(1.05); }

.galeria-track .galeria-item img { cursor: zoom-in; }

.galeria-ver-mas {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.ver-mas-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    letter-spacing: 1.5px;
    color: #fff;
    background: var(--azul-titulo);
    padding: 15px 16px 15px 34px;
    border: 2px solid var(--azul-titulo);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(91,155,232,.4);
    transition: background .3s, transform .3s, box-shadow .3s;
}

.ver-mas-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--azul-titulo);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform .3s;
}

.ver-mas-link:hover {
    background: var(--azul-contacto);
    border-color: var(--azul-contacto);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(47,127,212,.45);
}

.ver-mas-link:hover .ver-mas-icon { transform: translateX(4px); }

/* ============================================================
   CLIENTES (Carrusel)
   ============================================================ */
.clientes-section { padding: 70px 0 60px; background: #fff; }

.clientes-section .seccion-title { margin-bottom: 45px; }

.clientes-carrusel-wrapper {
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.carrusel-btn {
    background: transparent;
    border: 0;
    color: #222;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    flex-shrink: 0;
    transition: color .25s;
    padding: 10px;
}

.carrusel-btn i + i { margin-left: -11px; }
.carrusel-btn:hover { color: var(--azul-titulo); }

.clientes-track {
    display: flex;
    gap: 60px;
    align-items: center;
    min-height: 90px;
    transition: transform .5s ease;
    will-change: transform;
}

.cliente-item {
    flex: 0 0 calc(33.333% - 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding: 0 20px;
}

.cliente-nombre {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 26px;
    color: #222;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: pre-line;
    text-align: center;
    line-height: 1.2;
}

/* ============================================================
   BANDA AZUL CON VIDEO
   ============================================================ */
.video-band {
    background: var(--azul-banda);
    padding: 60px 0 70px;
}

.video-band-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 30px;
}

.video-band-media {
    width: 100%;
    display: block;
    border-radius: 26px;
    aspect-ratio: 22 / 9;
    object-fit: cover;
    background: #000;
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contacto-section {
    position: relative;
    padding: 95px 0 130px;
    background-image: url('../img/web/contacto_bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    isolation: isolate;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), 0 100%);
}

/* Duotono azul sobre la foto */
.contacto-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(30,110,200,.86), rgba(45,130,215,.86));
    mix-blend-mode: multiply;
}

.contacto-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(37,116,205,.35);
}

.contacto-section .container { position: relative; z-index: 2; }

.contacto-marca { text-align: center; }

.contacto-logo {
    width: 420px;
    max-width: 80%;
    margin: 0 auto 45px;
    filter: brightness(0) invert(1);
    opacity: .97;
}

.contacto-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 58px;
    color: #fff;
    letter-spacing: 1px;
    margin: 0 0 55px;
    text-align: center;
}

.contacto-bienvenidos {
    font-family: var(--font-round);
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 22px;
}

.contacto-redes {
    display: flex;
    gap: 32px;
    justify-content: center;
}

.contacto-redes a {
    color: #fff;
    font-size: 30px;
    transition: transform .3s;
}

.contacto-redes a:hover { transform: scale(1.15); color: #fff; }

/* Form */
.form-contacto { color: #fff; }

.form-group-custom { margin-bottom: 34px; position: relative; }

.form-group-custom label {
    display: block;
    font-family: var(--font-round);
    font-weight: 300;
    font-size: 17px;
    letter-spacing: 1.5px;
    color: #fff;
    margin-bottom: 6px;
}

.form-group-custom input,
.form-group-custom textarea {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.85);
    color: #fff;
    font-family: var(--font-body);
    font-size: 16px;
    padding: 4px 0;
    outline: none;
    resize: none;
    transition: border-color .3s;
}

.form-group-custom input:focus,
.form-group-custom textarea:focus { border-bottom-color: #fff; border-bottom-width: 2px; }

.btn-enviar {
    margin-top: 18px;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 11px 44px;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 3px;
    cursor: pointer;
    transition: background .3s, color .3s;
}

.btn-enviar:hover { background: #fff; color: #2F7FD4; }

.form-message {
    margin-top: 18px;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

.form-message.success { display: block; background: rgba(40,167,69,.9); color: #fff; }
.form-message.error   { display: block; background: rgba(220,53,69,.9); color: #fff; }

/* ============================================================
   GALERÍA INFERIOR
   ============================================================ */
.galeria-inferior { padding: 90px 0 60px; background: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 40px 0 60px; background: #fff; }

.footer-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(15px, 1.55vw, 22px);
    letter-spacing: 1px;
    color: #4FA0F0;
    margin-bottom: 42px;
    line-height: 1.3;
    white-space: nowrap;
}

.footer-social { display: flex; gap: 34px; }

.footer-social a {
    color: #4FA0F0;
    font-size: 46px;
    line-height: 1;
    transition: color .3s, transform .3s;
}

.footer-social a:hover { color: #2F7FD4; transform: scale(1.1); }

.footer-logo-img { width: 235px; margin: 0 auto; }

.footer-info { font-size: 15px; line-height: 1.6; }

.footer-label {
    color: var(--morado);
    font-weight: 600;
    margin: 22px 0 4px;
    font-size: 15px;
}

.footer-label:first-child { margin-top: 0; }

.footer-value { margin: 0 0 4px; color: #555; }

.footer-value a {
    color: var(--morado);
    text-decoration: underline;
    transition: color .25s;
}

.footer-value a:hover { color: var(--azul-titulo); }

/* ============================================================
   MODAL GALERÍA "NUESTRA EMPRESA"
   ============================================================ */
.modal-galeria[hidden] { display: none; }

body.modal-abierto { overflow: hidden; }

.modal-galeria {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.modal-galeria-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 24, 60, .72);
    backdrop-filter: blur(4px);
    animation: modalFade .25s ease;
}

.modal-galeria-caja {
    position: relative;
    width: min(1240px, 100%);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(150deg, var(--lila-2) 0%, var(--lila-1) 100%);
    border-radius: 26px;
    box-shadow: 0 25px 70px rgba(0,0,0,.35);
    overflow: hidden;
    animation: modalUp .3s ease;
}

.modal-galeria-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 34px;
    flex-shrink: 0;
}

.modal-galeria-titulo {
    font-family: var(--font-round);
    font-weight: 600;
    font-size: 38px;
    color: #fff;
    margin: 0;
    letter-spacing: -.5px;
}

.modal-galeria-cerrar {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    color: #4FA0F0;
    font-size: 22px;
    cursor: pointer;
    transition: background .25s, transform .25s;
}

.modal-galeria-cerrar:hover { background: #fff; transform: rotate(90deg); }

/* ---------- Carrusel dentro del modal ---------- */
.modal-carrusel {
    position: relative;
    margin: 0 34px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(0,0,0,.35);
    aspect-ratio: 3 / 2;
    max-height: calc(100vh - 260px);
}

.modal-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s ease;
}

.modal-slide.activa { opacity: 1; visibility: visible; }

.modal-slide img,
.modal-slide video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.85);
    color: #4FA0F0;
    font-size: 21px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s, transform .25s;
    z-index: 3;
}

.modal-nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }

.modal-prev { left: 20px; }
.modal-next { right: 20px; }

.modal-contador {
    text-align: center;
    color: rgba(255,255,255,.9);
    font-family: var(--font-round);
    font-size: 15px;
    letter-spacing: 1.5px;
    margin: 20px 0 28px;
}

@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalUp   { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.whatsapp-flotante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0,0,0,.25);
    z-index: 100;
    transition: transform .3s;
    animation: pulse 2.4s infinite;
}

.whatsapp-flotante:hover { transform: scale(1.1); color: #fff; }

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(0,0,0,.25), 0 0 0 0 rgba(37,211,102,.5); }
    50%      { box-shadow: 0 4px 15px rgba(0,0,0,.25), 0 0 0 18px rgba(37,211,102,0); }
}

/* ============================================================
   ANIMACIONES SCROLL
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .8s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   PÁGINA DE GALERÍA DE TRABAJOS (detalle: volumétricos / cajas de
   luz / tótems y señaléticas)
   ============================================================ */
.pagina-galeria-detalle { background: #fff; }

.detalle-navbar {
    background: #14183c;
    padding: 20px 0;
}

.detalle-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.detalle-volver {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: var(--font-round);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 1px;
    opacity: .9;
    transition: opacity .25s, transform .25s;
}

.detalle-volver:hover { opacity: 1; color: #fff; transform: translateX(-3px); }

.detalle-logo-link { line-height: 0; }

.detalle-logo { width: 130px; opacity: .95; }

.detalle-navbar-social { display: flex; gap: 20px; }

.detalle-navbar-social a {
    color: #fff;
    font-size: 20px;
    opacity: .9;
    transition: transform .3s, opacity .3s;
}

.detalle-navbar-social a:hover { opacity: 1; transform: scale(1.15); }

.detalle-hero {
    padding: 80px 0 70px;
    background: linear-gradient(115deg,
                var(--verde-suave) 0%,
                #f2f0f7 38%,
                #e2e0f4 68%,
                var(--lila-2) 100%);
}

.detalle-hero-eyebrow {
    font-family: var(--font-round);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 3px;
    color: var(--morado);
    margin-bottom: 14px;
}

.detalle-hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 56px;
    letter-spacing: .5px;
    color: var(--azul-titulo);
    margin: 0 0 20px;
}

.detalle-hero-subtitulo {
    font-family: var(--font-round);
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    max-width: 640px;
    margin: 0 auto;
}

.detalle-hero-contador {
    display: inline-block;
    margin: 26px auto 0;
    font-family: var(--font-round);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1.5px;
    color: #fff;
    background: var(--azul-titulo);
    padding: 8px 22px;
    border-radius: 999px;
}

.detalle-galeria { padding: 70px 0 100px; }

.detalle-vacio {
    text-align: center;
    font-family: var(--font-round);
    color: #777;
    padding: 40px 0;
}

/* Masonry con columnas CSS: reparte fotos/videos de distinto alto
   de forma pareja, más elegante que una grilla rígida */
.media-masonry {
    column-count: 4;
    column-gap: 22px;
}

.media-card {
    display: block;
    position: relative;
    width: 100%;
    break-inside: avoid;
    margin: 0 0 22px;
    border-radius: 16px;
    overflow: hidden;
    cursor: zoom-in;
    background: #f2f2f2;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    transition: transform .35s ease, box-shadow .35s ease;
}

.media-card:hover,
.media-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,.16);
    outline: none;
}

.media-card img,
.media-card video {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.media-card:hover img,
.media-card:hover video { transform: scale(1.04); }

.media-card-video video { aspect-ratio: 4 / 3; background: #000; }

.media-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.media-play-icon i {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.9);
    color: var(--azul-titulo);
    border-radius: 50%;
    font-size: 20px;
    padding-left: 4px;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
    transition: transform .3s, background .3s;
}

.media-card-video:hover .media-play-icon i { transform: scale(1.1); background: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1400px) {
    .empresa-panel { padding-left: 6vw; }
    .empresa-title { font-size: 68px; }
    .media-masonry { column-count: 3; }
}

@media (max-width: 1199px) {
    .seccion-title { font-size: 44px; }
    .galeria-section .seccion-title { font-size: 38px; }
    .empresa-title { font-size: 56px; }
    .empresa-panel { min-height: 520px; padding: 60px 40px 60px 5vw; }
    .contacto-logo { width: 330px; }
    .detalle-hero-title { font-size: 44px; }
}

@media (max-width: 991px) {
    .navbar-menu { gap: 40px; min-width: auto; }
    .navbar-menu .nav-link { font-size: 16px; }
    .hero-arrow { left: 20px; }
    .hero-logo img { width: 300px; }
    .hero-title { font-size: 26px; }
    .seccion-title { font-size: 36px; }
    .nosotros-row { --bs-gutter-x: 1.5rem; }

    /* Nuestra Empresa: apilado */
    .empresa-section { grid-template-columns: 1fr; }
    .empresa-panel { min-height: auto; padding: 55px 30px; text-align: center; align-items: center; }
    .empresa-logo { margin-left: auto; margin-right: auto; }
    .empresa-title { font-size: 48px; }
    .empresa-logo { width: 165px; }
    .btn-galeria { align-self: center; }

    .modal-galeria { padding: 22px 14px; }
    .modal-galeria-head { padding: 20px 22px; }
    .modal-galeria-titulo { font-size: 28px; }
    .modal-carrusel { margin: 0 18px; max-height: calc(100vh - 210px); }
    .modal-nav { width: 44px; height: 44px; font-size: 17px; }
    .modal-prev { left: 12px; }
    .modal-next { right: 12px; }
    .modal-contador { margin: 15px 0 20px; font-size: 14px; }
    .empresa-media { height: 380px; }
    .empresa-img-grande { width: 100%; }
    .empresa-img-chica { left: 6%; width: 32%; }

    .contacto-title { font-size: 42px; margin-bottom: 32px; }
    .contacto-marca { margin-bottom: 45px; }
    .footer-social a { font-size: 38px; }
    .footer-logo-img { width: 180px; }

    .media-masonry { column-count: 2; column-gap: 16px; }
    .media-card { margin-bottom: 16px; }
    .detalle-hero { padding: 60px 0 50px; }
    .detalle-hero-title { font-size: 34px; }
    .detalle-hero-subtitulo { font-size: 16px; }
    .detalle-galeria { padding: 50px 0 70px; }
}

@media (max-width: 767px) {
    .navbar-custom {
        top: 0;
        background: rgba(0,0,0,.45);
        backdrop-filter: blur(8px);
        padding: 15px;
    }
    .navbar-inner { flex-direction: column; padding-right: 50px; }
    .navbar-menu {
        display: none;
        flex-direction: column;
        gap: 15px;
        border-bottom: 0;
        padding-bottom: 0;
        width: 100%;
    }
    .navbar-menu.show { display: flex; }
    .navbar-social { position: static; margin-top: 10px; justify-content: center; width: 100%; }
    .navbar-toggle { display: flex; }
    .hero-arrow { display: none; }

    .hero-section { height: 78vh; min-height: 500px; }
    .hero-logo { margin-bottom: 40px; }
    .hero-logo img { width: 220px; }
    .hero-title { font-size: 20px; }
    .btn-contactanos { padding: 12px 35px; font-size: 15px; }

    .nosotros-section { padding: 45px 0 70px; }
    .seccion-divider { margin-bottom: 45px; }
    .seccion-title { font-size: 30px; }
    .nosotros-img-wrapper { margin-top: 35px; border-radius: 18px; }

    .empresa-title { font-size: 40px; }
    .empresa-media { height: 300px; }
    .empresa-img-chica { display: none; }

    .servicios-section { padding: 60px 0 40px; }
    .servicios-row { margin-top: 80px; }
    .servicio-body { padding: 105px 20px 32px; }

    .galeria-section .seccion-title { font-size: 26px; margin-bottom: 45px; }
    .galeria-grid { grid-template-columns: 1fr; gap: 18px; }
    .galeria-carrusel { gap: 8px; }
    .galeria-track { gap: 14px; }
    .galeria-track .galeria-item { flex: 0 0 100%; }
    .galeria-carrusel .carrusel-btn { font-size: 18px; padding: 6px; }
    .ver-mas-link { font-size: 15px; padding: 12px 12px 12px 26px; gap: 14px; }
    .ver-mas-icon { width: 34px; height: 34px; font-size: 14px; }

    .clientes-track { gap: 30px; }
    .cliente-item { flex: 0 0 100%; padding: 0 8px; }
    .cliente-nombre { font-size: 19px; }

    .video-band { padding: 35px 0 40px; }
    .video-band-inner { padding: 0 18px; }
    .video-band-media { border-radius: 16px; }

    .contacto-section { padding: 60px 0 80px; }
    .contacto-title { font-size: 34px; }
    .contacto-logo { width: 240px; margin-bottom: 28px; }

    .galeria-inferior { padding: 55px 0 30px; }

    .footer-title, .footer-info { text-align: center; }
    .footer-title { font-size: clamp(14px, 4.4vw, 22px); }
    .footer-info { margin-top: 30px; }
    .footer-social { justify-content: center; }

    .whatsapp-flotante { width: 52px; height: 52px; font-size: 26px; bottom: 20px; right: 20px; }

    .detalle-navbar-inner { flex-wrap: wrap; justify-content: center; text-align: center; gap: 14px; }
    .detalle-volver { order: 2; font-size: 13px; }
    .detalle-logo-link { order: 1; }
    .detalle-navbar-social { order: 3; }
    .detalle-logo { width: 105px; }
    .media-masonry { column-count: 1; }
}

@media (max-width: 480px) {
    .seccion-title { font-size: 25px; }
    .hero-title { font-size: 17px; }
    .empresa-title { font-size: 34px; }
    .btn-galeria { font-size: 20px; padding: 10px 18px 10px 28px; }
    .btn-galeria-icon { width: 34px; height: 34px; font-size: 15px; }
}
