*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --primary-color: #D91480;
    --secondary-color: #8C1C7A;
    --tercer-color: #03588C;
    --cuarto-color: #03658C;
    --blanco-color: #F2F2F2;
    --yellow-color: #FFD600;
}

/* ── BODY ─────────────────────────────────────────── */
html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    background: #F0F7FF;
    color: #1e1e2e;
}

main {
    width: 100%;
}

/* ── TOP BAR ─────────────────────────────────────── */
.topbar {
    background: #03588C;
    color: #fff;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.topbar-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.topbar-phone svg { flex-shrink: 0; }

.topbar-dropdown {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 200ms;
}
.topbar-dropdown:hover { opacity: 0.85; }

/* ── SERVICIOS DROPDOWN ───────────────────────────── */
.topbar-left {
    position: relative;
}

.servicios-dropdown {
    display: none;
    position: fixed;
    top: 48px;
    left: clamp(8px, 5vw, 120px);
    width: min(300px, calc(100vw - 16px));
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.2);
    z-index: 9999;
    overflow: hidden;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
}

.servicios-dropdown.open { display: block; }

.servicios-lista {
    padding: 20px 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.servicio-row {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.servicio-titulo {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 14px;
}

.servicio-row:nth-child(1) .servicio-titulo { color: #1D4ED8; }
.servicio-row:nth-child(2) .servicio-titulo { color: #7C3AED; }
.servicio-row:nth-child(3) .servicio-titulo { color: #DB2777; }
.servicio-row:nth-child(4) .servicio-titulo { color: #059669; }
.servicio-row:nth-child(5) .servicio-titulo { color: #D97706; }
.servicio-row:nth-child(6) .servicio-titulo { color: #DC2626; }

.servicio-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}

.servicios-cta {
    background: #1e2533;
    padding: 18px 20px;
    text-align: center;
}

.servicios-cta-logo {
    font-family: 'Rubik', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    border: 2px solid #fff;
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    margin-bottom: 8px;
    gap: 0;
}

.servicios-cta-logo span {
    color: #1e2533;
    background: #fff;
    padding: 0 6px;
    margin-left: 4px;
}

.servicios-cta p {
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 12px;
    line-height: 1.5;
}

.servicios-cta a {
    display: block;
    background: #1D4ED8;
    color: #fff;
    font-family: 'Rubik', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 200ms;
}

.servicios-cta a:hover { background: #1e40af; }

.topbar-search {
    flex: 1;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
}

.topbar-search input {
    width: 100%;
    height: 30px;
    border-radius: 6px;
    border: none;
    padding: 0 12px 0 36px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 13px;
    color: #1E3A8A;
    outline: none;
    background: #fff;
}
.topbar-search input::placeholder { color: #7BAFD4; }

.topbar-search svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #7BAFD4;
    pointer-events: none;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    margin-left: auto;
}

.topbar-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    background: none;
    border: none;
    padding: 0;
    transition: opacity 200ms;
}
.topbar-icon-btn:hover { opacity: 0.8; }

header { position: relative; }

/* ── BOTTOM BAR ───────────────────────────────────── */
.navbar {
    background: #fff;
    border-bottom: 1px solid #BFDBFE;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    overflow: visible;
    position: relative;
}

.navbar-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    opacity: 1;
    transition: opacity 200ms;
    position: absolute;
    left: 24px;
}
.navbar-logo:hover { opacity: 0.8; }

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    overflow: visible;
}

.navbar-nav a {
    display: block;
    padding: 6px 12px;
    font-size: 16px;
    font-weight: 600;
    color: #1e1e2e;
    text-decoration: none;
    border-radius: 5px;
    white-space: nowrap;
    transition: background 200ms, color 200ms;
}
.navbar-nav a:hover {
    background: #1D4ED8;
    color: #fff;
}

/* ── DROPDOWNS ────────────────────────────────────── */
.has-dropdown {
    position: static;
}

.nav-link-arrow {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Verano destacado */
.nav-verano {
    background: linear-gradient(135deg, #f97316, #facc15);
    color: #fff !important;
    border-radius: 6px;
    font-weight: 700 !important;
    padding: 6px 14px !important;
    letter-spacing: 0.3px;
}
.nav-verano:hover {
    background: linear-gradient(135deg, #ea6c0a, #eab308) !important;
    color: #fff !important;
}

.nav-link-arrow svg {
    transition: transform 200ms;
    flex-shrink: 0;
}

.has-dropdown:hover > a {
    color: #1D4ED8;
    background: transparent;
}

.has-dropdown:hover .nav-link-arrow svg {
    transform: rotate(180deg);
}

/* Underline activo */
.has-dropdown > a::after {
    content: '';
    display: block;
    height: 2px;
    background: #1D4ED8;
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 200ms;
    margin-top: 2px;
}
.has-dropdown:hover > a::after {
    transform: scaleX(1);
}

/* Barra horizontal full-width */
.nav-dropdown {
    display: none;
    position: fixed;
    top: 132px; /* topbar 60px + navbar 72px */
    left: 0;
    right: 0;
    background: #fff;
    border-top: 3px solid #1D4ED8;
    border-bottom: 1px solid #BFDBFE;
    box-shadow: 0 4px 16px rgba(29, 78, 216, 0.08);
    list-style: none;
    padding: 16px 40px;
    z-index: 999;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.nav-dropdown.open {
    display: flex;
    justify-content: center;
}

.nav-dropdown li a {
    display: block;
    padding: 8px 16px;
    font-size: 13.5px;
    font-weight: 500;
    color: #1e1e2e;
    text-decoration: none;
    border-radius: 6px;
    white-space: nowrap;
    transition: background 150ms, color 150ms;
}

.nav-dropdown li a:hover {
    background: #EFF6FF;
    color: #1D4ED8;
}

/* ── MARCAS DROPDOWN CARRUSEL ─────────────────────── */
.marcas-dropdown {
    padding: 20px 0;
    overflow: hidden;
}

.marcas-carrusel-wrapper {
    width: 100%;
    overflow: hidden;
}

.marcas-carrusel-inner {
    overflow: hidden;
    width: 100%;
}

.marcas-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: marquee 22s linear infinite;
    padding: 8px 0;
}

.marcas-track img {
    height: 50px;
    width: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    flex-shrink: 0;
    transition: filter 250ms, opacity 250ms;
}

.marcas-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ── BANNER ───────────────────────────────────────── */
.banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

.banner {
    position: relative;
    width: 100%;
    min-height: 621px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 64px;
    background: #b0d8e8 url('img/banner2.webp') center top/cover no-repeat;
    overflow: hidden;
}

.banner-content {
    max-width: 540px;
    display: flex;
    position: relative;
    z-index: 1;
    flex-direction: column;
    gap: 20px;
}

.banner-title {
    font-family: 'Rubik', sans-serif;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}

.banner-desc {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    line-height: 1.6;
    max-width: 460px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.banner-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-self: flex-start;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--primary-color);
    color: #fff;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 4px;
    border: 2px solid transparent;
    text-decoration: none;
    align-self: flex-start;
    transition: background 200ms;
    box-sizing: border-box;
}
.banner-btn:hover { background: var(--secondary-color); color: #fff; }

.banner-btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.8);
    color: #fff;
}
.banner-btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* Card amarilla */
.banner-card {
    background: #FFD600;
    border-radius: 4px;
    padding: 24px 28px;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-self: flex-start;
    margin-top: 12px;
}

.banner-card-title {
    font-family: 'Rubik', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #1e1e2e;
    line-height: 1.3;
}

.banner-card-divider {
    border: none;
    border-top: 2px solid rgba(0,0,0,0.15);
}

.banner-card-desc {
    font-size: 13px;
    font-weight: 500;
    color: #1e1e2e;
    line-height: 1.6;
}

.banner-card-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--tercer-color);
    text-decoration: underline;
    transition: color 200ms;
}
.banner-card-link:hover { color: var(--cuarto-color); }

/* ── CLIENTES ─────────────────────────────────────── */
.clientes {
    background: #fff;
    width: 100%;
    padding: 40px 0 44px;
    text-align: center;
}

.clientes-titulo {
    font-size: 18px;
    font-weight: 700;
    color: var(--tercer-color);
    letter-spacing: 0.3px;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.clientes-wrapper {
    overflow: hidden;
    width: 100%;
}

.clientes-track {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    width: max-content;
    animation: marquee 28s linear infinite;
    will-change: transform;
}


.clientes-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 100px;
    flex-shrink: 0;
    border-right: 1px solid #e2e8f0;
}
.clientes-logo img {
    width: 150px;
    height: 70px;
    object-fit: contain;
    opacity: 0.55;
    transition: opacity 250ms;
}
.clientes-logo:hover img {
    opacity: 1;
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .clientes-track { animation: none; }
}

/* ── CATEGORIAS ───────────────────────────────────── */
.categorias {
    width: 100%;
    background: #f5f5f5;
    padding: 48px 120px 60px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.categorias-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #aaa;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 12px;
}

.categorias-divider {
    border: none;
    border-top: 1px solid #ddd;
    width: 60px;
    margin: 0 auto 32px;
}

.categorias-fila {
    display: grid;
    gap: 16px;
}

.categorias-fila--2 {
    grid-template-columns: 1fr 1fr;
}

.categorias-fila--3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.cat-card {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    border-radius: 4px;
}

.cat-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    transition: transform 350ms ease;
}

.categorias-fila--2 .cat-img {
    aspect-ratio: 4 / 3;
}

.cat-card:hover .cat-img {
    transform: scale(1.05);
}

.cat-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 20px;
    color: #fff;
    font-family: 'Rubik', sans-serif;
    font-size: 20px;
    font-weight: 700;
}

/* ── VIDEO BANNER ─────────────────────────────────── */
.video-banner {
    width: 100%;
    min-height: 550px;
    background: var(--yellow-color) url('/img/Logos/Fondo para lo que ahcemmos.webp') right center / contain no-repeat;
    display: flex;
    align-items: center;
    padding: 0 80px;
    cursor: pointer;
}

.video-banner-content {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: max(15vw, 80px);
}

.video-play-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: var(--secondary-color);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    padding-left: 4px; /* centra visualmente el triángulo */
    transition: transform 200ms, background 200ms;
}
.video-play-btn:hover {
    transform: scale(1.1);
    background: #fff;
}

.video-banner-title {
    font-family: 'Rubik', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.video-banner-sub {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    margin-top: 6px;
}

/* ── PROMESA ──────────────────────────────────────── */
.promesa {
    background: #f0f0f0;
    padding: 60px 24px;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.promesa::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    z-index: 0;
    background: #00C2E0;
    left: -160px;
    top: -80px;
}

.promesa::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    z-index: 0;
    background: #00C2E0;
    right: -160px;
    bottom: -80px;
}

.promesa-blob {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: #00C2E0;
    z-index: 0;
    opacity: 0.7;
}

.promesa-blob--tl {
    left: -180px;
    bottom: -40px;
}

.promesa-blob--br {
    right: -180px;
    top: -40px;
}

.promesa-card {
    background: #fff;
    border-radius: 12px;
    padding: 52px 64px;
    max-width: 1000px;
    width: 100%;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    text-align: center;
    position: relative;
    z-index: 1;
}

.promesa-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #aaa;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.promesa-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    width: 60px;
    margin: 0 auto 48px;
}

.promesa-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.promesa-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.promesa-icon {
    width: 52px;
    height: 52px;
}

.promesa-title {
    font-family: 'Rubik', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #1e1e2e;
}

.promesa-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    text-align: center;
}

/* ── VIDEO MODAL ──────────────────────────────────── */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.video-modal.open {
    display: flex;
}

.video-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    cursor: pointer;
}

.video-modal-box {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    z-index: 1;
}

.video-modal-player {
    width: 100%;
    display: block;
    max-height: 80vh;
}

.video-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background 200ms;
}
.video-modal-close:hover { background: rgba(0,0,0,0.9); }

/* ── WHATSAPP BURBUJA ─────────────────────────────── */
.wsp-bubble {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: transform 200ms, box-shadow 200ms;
}
.wsp-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

/* ── FOOTER ───────────────────────────────────────── */
.footer {
    background: #2b2b38;
    color: #ccc;
    padding: 48px 60px 32px;
    width: 100%;
}

.footer-top {
    margin-bottom: 40px;
}

.footer-logo img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-tagline {
    font-family: 'Rubik', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.7;
    color: #aaa;
    margin-bottom: 12px;
}

.footer-small-link {
    font-size: 12px;
    color: #aaa;
    text-decoration: underline;
    display: inline-block;
    margin-top: 8px;
    transition: color 200ms;
}
.footer-small-link:hover { color: #fff; }

.footer-col-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 13px;
    color: #aaa;
    text-decoration: none;
    line-height: 1.5;
    transition: color 200ms;
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    font-size: 12px;
    color: #666;
}

/* ── RESPONSIVE ───────────────────────────────────── */
/* ── HAMBURGER BUTTON ─────────────────────────────── */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
    background: none;
    border: none;
}
.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1e1e2e;
    border-radius: 2px;
    transition: transform 300ms, opacity 300ms;
}
.navbar-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggle.open span:nth-child(2) { opacity: 0; }
.navbar-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE OVERLAY ───────────────────────────────── */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9997;
}
.nav-overlay.open { display: block; }


/* ── RESPONSIVE 1600px — hamburger ───────────────── */
@media (max-width: 1600px) {
    .navbar { height: auto; padding: 12px 16px; justify-content: space-between; flex-wrap: nowrap; position: relative; }
    .navbar-toggle { display: flex; position: relative; z-index: 9999; }
    .navbar-logo { position: relative; z-index: 10; }

    .navbar-nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0; bottom: 0;
        width: 300px;
        background: #fff;
        z-index: 9998;
        overflow: hidden;
        transform: translateX(-100%);
        transition: transform 300ms ease;
        box-shadow: 4px 0 24px rgba(0,0,0,0.12);
        padding: 0;
        gap: 0;
    }
    .navbar-nav.open { transform: translateX(0); }

    .nav-mobile-header { display: flex; }

    .navbar-nav li { width: 100%; }
    .navbar-nav a {
        display: block;
        padding: 14px 24px;
        font-size: 15px;
        border-radius: 0;
        color: #1e1e2e;
        border-bottom: 1px solid #f3f4f6;
        white-space: normal;
    }
    .navbar-nav a:hover { background: #EFF6FF; color: #1D4ED8; }

    /* Categorías acordeón */
    .has-dropdown { position: static; }
    .has-dropdown > a { display: flex; align-items: center; justify-content: space-between; }
    .has-dropdown > a svg { flex-shrink: 0; transition: transform 250ms; }
    .has-dropdown.open > a svg { transform: rotate(180deg); }
    .has-dropdown > a::after { display: none; }
    .has-dropdown .nav-dropdown {
        display: none;
        position: static;
        box-shadow: none;
        border: none;
        background: #F8FAFF;
        padding: 4px 0;
        margin: 0;
        min-width: unset;
        width: 100%;
    }
    .has-dropdown.open .nav-dropdown { display: block; }
    .has-dropdown .nav-dropdown li a {
        padding: 11px 24px 11px 36px;
        font-size: 13px;
        color: #374151;
        border-bottom: 1px solid #eef2ff;
    }
    .has-dropdown .nav-dropdown li a:hover { background: #EFF6FF; color: #1D4ED8; }
}

/* ── RESPONSIVE 1024px ────────────────────────────── */
@media (max-width: 1024px) {
    .banner { padding: 60px 32px; background-size: cover; background-position: center; }
    .banner-title { font-size: 42px; }
    .banner-card { max-width: 220px; }
}

/* ── RESPONSIVE 768px ─────────────────────────────── */
@media (max-width: 768px) {

    /* PROMESA */
    .promesa { padding: 40px 16px; }
    .promesa-card { padding: 32px 20px; }
    .promesa-grid { grid-template-columns: 1fr; gap: 28px; }

    /* VIDEO BANNER */
    .video-banner {
        background-size: cover;
        background-position: center;
        min-height: 420px;
        padding: 0 24px;
    }
    .video-banner-content { margin-left: 0; }

    /* TOPBAR */
    .topbar { padding: 0 16px; height: 48px; }
    .topbar-phone { display: none; }
    .topbar-dropdown { display: none; }
    .topbar-search { max-width: none; }
    .servicios-dropdown { display: none !important; }

    /* BANNER */
    .banner {
        flex-direction: column;
        align-items: center;
        padding: 56px 24px 48px;
        min-height: 420px;
        background-size: cover;
        background-position: center;
        gap: 24px;
        text-align: center;
    }
    .banner::before {
        background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.25) 100%);
    }
    .banner-content { max-width: 100%; align-items: center; }
    .banner-title { font-size: 32px; }
    .banner-desc { font-size: 14px; max-width: 100%; }
    .banner-btns { align-self: center; justify-content: center; }
    .banner-card { display: none; }

    /* CATEGORÍAS */
    .categorias { padding: 32px 16px 40px; }
    .categorias-fila--2,
    .categorias-fila--3 { grid-template-columns: 1fr; }
    .cat-card { min-height: 220px; }
    .cat-img { height: 180px; }

    /* PRODUCTOS */
    .productos-grid { grid-template-columns: repeat(2, 1fr) !important; }

    /* FOOTER */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ── RESPONSIVE 480px ─────────────────────────────── */
@media (max-width: 480px) {
    .banner { padding: 48px 16px 40px; min-height: 360px; }
    .banner-title { font-size: 26px; }
    .categorias-fila--2,
    .categorias-fila--3 { grid-template-columns: 1fr; }
    .productos-grid { grid-template-columns: 1fr 1fr !important; }
    .footer-grid { grid-template-columns: 1fr; }
    .topbar-search input { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
/* ── TRABAJOS PREVIEW (index) ──────────────────── */
.trabajos-preview {
    padding: 60px 64px;
    background: #F8FAFC;
}
.trabajos-preview-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    margin-bottom: 28px;
    gap: 16px;
    flex-wrap: wrap;
}
.trabajos-preview-title {
    font-family: 'Rubik', sans-serif;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    color: #1e293b;
    margin-top: 6px;
}
.trabajos-preview-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #03588C;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 200ms;
}
.trabajos-preview-btn:hover { background: #024a78; }
.trabajos-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.trab-prev-card {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    cursor: pointer;
    text-decoration: none;
    transition: transform 200ms, box-shadow 200ms;
    display: block;
}
.trab-prev-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.trab-prev-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}
.trab-prev-card-titulo {
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}
.trab-prev-skel {
    border-radius: 10px;
    aspect-ratio: 4/3;
    background: linear-gradient(90deg, #E5E7EB 25%, #F3F4F6 50%, #E5E7EB 75%);
    background-size: 200% 100%;
    animation: skel-slide 1.4s ease-in-out infinite;
}
@keyframes skel-slide { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

@media (max-width: 1024px) {
    .trabajos-preview { padding: 40px 32px; }
    .trabajos-preview-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .trabajos-preview { padding: 32px 16px; }
    .trabajos-preview-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
