:root {
    --blue: #1A56DB;
    --blue-dark: #1240A8;
    --blue-light: #EBF2FF;
    --blue-mid: #BFCFFF;
    --amber: #F59E0B;
    --amber-dark: #D97706;
    --amber-light: #FEF3C7;
    --slate: #0F172A;
    --slate2: #1E293B;
    --slate3: #334155;
    --gray: #64748B;
    --gray-light: #F8FAFC;
    --cream: #FFFBF4;
    --white: #FFFFFF;
    --green-wa: #25D366;
    --green-wa-dark: #1ebe5a;
    --radius: 16px;
    --radius-sm: 8px;
    --shadow: 0 4px 32px rgba(26, 86, 219, .10);
    --shadow-lg: 0 8px 48px rgba(26, 86, 219, .18);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Barlow', sans-serif;
    color: var(--slate);
    background: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.display {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

/* ---- NAVBAR ---- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 86, 219, .08);
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--slate);
    letter-spacing: -0.01em;
}

.navbar .brand span {
    color: var(--blue);
}

.navbar .brand img {
    height: 36px;
}

.btn-nav-wa {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--amber);
    color: var(--slate);
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    transition: background .2s, transform .15s;
}

.btn-nav-wa:hover {
    background: var(--amber-dark);
    color: var(--slate);
    transform: scale(1.03);
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: .9rem;
    color: var(--slate3);
    transition: color .2s;
    letter-spacing: .01em;
}

.nav-links a:hover {
    color: var(--blue);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}


/* ---- HERO ---- */
.hero {
    background: var(--slate);
    position: relative;
    overflow: hidden;
    padding: 100px 24px 80px;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26, 86, 219, .4) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, .15);
    border: 1px solid rgba(245, 158, 11, .4);
    color: #FDE68A;
    border-radius: 50px;
    padding: 6px 16px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-badge i {
    color: var(--amber);
}

.hero h1 {
    font-size: clamp(2.6rem, 6vw, 5rem);
    color: var(--white);
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--amber);
}

.hero p {
    color: rgba(255, 255, 255, .7);
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-wa);
    color: #fff;
    border-radius: 50px;
    padding: 14px 28px;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
}

.btn-wa:hover {
    background: var(--green-wa-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, .5);
}

.btn-outline-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: rgba(255, 255, 255, .85);
    border: 1.5px solid rgba(255, 255, 255, .25);
    border-radius: 50px;
    padding: 14px 28px;
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all .2s;
}

.btn-outline-hero:hover {
    border-color: var(--amber);
    color: var(--white);
    background: rgba(245, 158, 11, .12);
}

/* Stat strip */
.stats-strip {
    background: var(--blue);
    padding: 28px 24px;
}

.stats-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    text-align: center;
}

.stat-item strong {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--amber);
    line-height: 1;
}

.stat-item span {
    font-size: .82rem;
    color: rgba(255, 255, 255, .75);
    font-weight: 500;
    margin-top: 4px;
    display: block;
}


/* ---- SERVICIOS ---- */
.section-label {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--amber-dark);
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--slate);
    margin-bottom: 14px;
}

.section-sub {
    color: var(--gray);
    font-size: 1rem;
    max-width: 500px;
    line-height: 1.6;
}

.servicios {
    padding: 80px 24px;
    background: var(--cream);
}

.servicios-header {
    margin-bottom: 52px;
}

.grid-servicios {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.card-servicio {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    border: 1.5px solid transparent;
    transition: border-color .25s, transform .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
}

.card-servicio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--amber));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}

.card-servicio:hover {
    border-color: rgba(26, 86, 219, .15);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-servicio:hover::before {
    transform: scaleX(1);
}

.icon-wrap {
    width: 54px;
    height: 54px;
    background: var(--blue-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--blue);
    margin-bottom: 20px;
    transition: background .2s, color .2s;
}

.card-servicio:hover .icon-wrap {
    background: var(--blue);
    color: #fff;
}

.card-servicio h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: var(--slate);
}

.card-servicio p {
    color: var(--gray);
    font-size: .93rem;
    line-height: 1.6;
}

/* ---- POR QUÉ ELEGIRNOS ---- */
.por-que {
    background: var(--slate2);
    color: var(--white);
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
}

.por-que::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(245, 158, 11, .12) 0%, transparent 60%);
    pointer-events: none;
}

.por-que-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.por-que .section-title {
    color: var(--white);
}

.por-que .section-label {
    color: var(--amber);
}

.por-que .section-sub {
    color: rgba(255, 255, 255, .6);
}

.razones-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 36px;
}

.razon-card {
    background: rgba(255, 255, 255, .06);
    border: 1.5px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    transition: background .2s, border-color .2s;
}

.razon-card:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(245, 158, 11, .3);
}

.razon-card .razon-icon {
    margin-bottom: 4px;
}

.razon-card strong {
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
}

.razon-card span {
    color: rgba(255, 255, 255, .55);
    font-size: .88rem;
    line-height: 1.5;
}



.razon-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: rgba(245, 158, 11, .15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber);
    font-size: 1rem;
    border: 1px solid rgba(245, 158, 11, .3);
}

.razon-text strong {
    display: block;
    color: var(--white);
    font-weight: 600;
    font-size: .97rem;
    margin-bottom: 2px;
}

.razon-text span {
    color: rgba(255, 255, 255, .5);
    font-size: .87rem;
}

.urgencias-card {
    background: rgba(255, 255, 255, .05);
    border: 1.5px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius);
    padding: 36px 32px;
    text-align: center;
}

.urgencias-card .big-icon {
    font-size: 3rem;
    color: var(--amber);
    margin-bottom: 16px;
}

.urgencias-card h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 10px;
}

.urgencias-card p {
    color: rgba(255, 255, 255, .6);
    font-size: .9rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.badge-24h {
    display: inline-block;
    background: rgba(245, 158, 11, .2);
    border: 1px solid rgba(245, 158, 11, .45);
    color: var(--amber);
    border-radius: 50px;
    padding: 4px 14px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* ---- CLIENTES ---- */
.clientes {
    padding: 60px 0;
    background: var(--white);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.clientes-label {
    text-align: center;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 32px;
}

.slider {
    overflow: hidden;
    position: relative;
}

.slider::before,
.slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.slider::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.slider::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.slide-track {
    display: flex;
    gap: 40px;
    animation: scroll 28s linear infinite;
    width: max-content;
}

.slide {
    flex-shrink: 0;
    height: 44px;
    display: flex;
    align-items: center;
}

.slide img {
    height: 36px;
    filter: grayscale(1) opacity(.5);
    transition: filter .3s;
}

.slide img:hover {
    filter: none;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ---- GALERÍA ---- */
.galeria {
    padding: 80px 24px;
    background: var(--gray-light);
}

.galeria-grid {
    max-width: 1100px;
    margin: 48px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 12px;
}

.galeria-grid .item-img {
    overflow: hidden;
    border-radius: var(--radius-sm);
    aspect-ratio: 4/3;
    background: #dde;
}

.galeria-grid .item-img:first-child {
    grid-column: 1 / 3;
    aspect-ratio: 16/9;
}

.item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.item-img:hover img {
    transform: scale(1.05);
}

/* ---- ZONA ---- */
.zona {
    padding: 80px 24px;
    background: var(--white);
}

.zona-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.zona .section-title {
    margin-bottom: 14px;
}

.zona .section-sub {
    margin-bottom: 24px;
}

.zona-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--amber-light);
    color: var(--amber-dark);
    border-radius: 50px;
    padding: 6px 14px;
    font-size: .85rem;
    font-weight: 600;
}


.zona-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
}

.zona-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---- FAQ ---- */
.faq {
    padding: 80px 24px;
    background: var(--gray-light);
}

.faq-list {
    max-width: 720px;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    overflow: hidden;
    transition: border-color .2s;
}

.faq-item.open {
    border-color: rgba(26, 86, 219, .2);
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--slate);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-q i {
    color: var(--amber-dark);
    font-size: .9rem;
    transition: transform .3s;
    flex-shrink: 0;
}

.faq-item.open .faq-q i {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .25s;
    padding: 0 24px;
    color: var(--gray);
    font-size: .93rem;
    line-height: 1.7;
}

.faq-item.open .faq-a {
    max-height: 200px;
    padding: 0 24px 20px;
}

/* ---- CTA FINAL ---- */
.cta-final {
    background: var(--slate);
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(26, 86, 219, .35) 0%, transparent 60%);
    pointer-events: none;
}

.cta-final h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 14px;
    position: relative;
}

.cta-final p {
    color: rgba(255, 255, 255, .7);
    font-size: 1.05rem;
    margin-bottom: 36px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    position: relative;
}

.cta-final .btn-wa {
    background: var(--amber);
    color: var(--slate);
    box-shadow: 0 4px 24px rgba(245, 158, 11, .35);
    position: relative;
}

.cta-final .btn-wa:hover {
    background: var(--amber-dark);
    color: var(--slate);
}

/* ---- FOOTER ---- */
footer {
    background: var(--slate);
    color: rgba(255, 255, 255, .5);
    padding: 40px 24px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--white);
    letter-spacing: -0.01em;
}

.footer-brand span {
    color: var(--amber);
}

footer p {
    font-size: .82rem;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, .45);
    font-size: .82rem;
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--amber);
}

/* ---- FLOATING BTN ---- */
.floating-wa {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--green-wa);
    color: #fff;
    border-radius: 50px;
    padding: 14px 22px;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .5);
    transition: transform .2s, box-shadow .2s;
    animation: bounce 3s ease-in-out infinite;
}

.floating-wa:hover {
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 6px 28px rgba(37, 211, 102, .65);
    animation: none;
}

.floating-wa-pulse {
    position: absolute;
    inset: -5px;
    border-radius: 50px;
    background: var(--green-wa);
    opacity: .3;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: .35;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* ---- NOSOTROS ---- */
.nosotros {
    padding: 80px 24px;
    background: var(--white);
}

.nosotros-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

.nosotros-lead {
    font-size: 1.05rem;
    color: var(--slate);
    line-height: 1.7;
    margin: 20px 0 12px;
}

.nosotros-lead strong {
    color: var(--blue);
    font-weight: 700;
}

.nosotros-body {
    font-size: .95rem;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 32px;
}

.nosotros-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nos-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--gray-light);
    border-radius: var(--radius-sm);
    padding: 20px 22px;
    border-left: 3px solid var(--amber);
}

.nos-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: var(--amber-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-dark);
    font-size: .95rem;
}

.nos-card strong {
    display: block;
    color: var(--slate);
    font-weight: 700;
    font-size: .97rem;
    margin-bottom: 4px;
}

.nos-card p {
    color: var(--gray);
    font-size: .88rem;
    line-height: 1.6;
    margin: 0;
}

.nosotros-aside {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: 90px;
}

.aside-highlight {
    background: var(--blue);
    border-radius: var(--radius);
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.aside-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--amber);
    line-height: 1;
}

.aside-lbl {
    color: rgba(255, 255, 255, .8);
    font-size: .85rem;
    font-weight: 500;
}

.aside-badge {
    background: var(--slate2);
    border-radius: var(--radius);
    padding: 20px 22px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: rgba(255, 255, 255, .7);
    font-size: .88rem;
    line-height: 1.6;
    border: 1px solid rgba(245, 158, 11, .2);
}

.aside-badge i {
    color: var(--amber);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ---- NOSOTROS RESPONSIVE ---- */
@media (max-width: 900px) {
    .nosotros-inner {
        grid-template-columns: 1fr;
    }

    .nosotros-aside {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .aside-highlight {
        flex: 1 1 140px;
    }

    .aside-badge {
        flex: 1 1 100%;
    }
}

/* Centrado de secciones */
.section-header-center {
    text-align: center;
    margin-bottom: 52px;
}

.section-header-center .section-sub {
    margin: 0 auto;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {

    .por-que-inner,
    .zona-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .stats-inner {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }

    .stat-item strong {
        font-size: 1.7rem;
    }

    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .galeria-grid .item-img:first-child {
        grid-column: 1 / -1;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .floating-wa span {
        display: none;
    }

    .floating-wa {
        padding: 14px;
        border-radius: 50%;
    }

    .floating-wa i {
        font-size: 1.4rem;
    }
}