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

:root {
    --azul:       #002850;
    --azul-medio: #1a6a9a;
    --azul-claro: #2e8fc0;
    --naranja:    #d45800;
    --naranja-claro: #f07020;
    --blanco:     #ffffff;
    --gris-claro: #f5f7fa;
    --gris-texto: #444;
    --whatsapp:   #25d366;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--gris-texto);
    background: #fff;
    line-height: 1.6;
}

/* ── HEADER ── */
header {
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,40,80,0.12);
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 4px solid var(--naranja);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.6rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo-wrap img {
    height: 90px;
    width: auto;
    display: block;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.header-right .etiqueta {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
}

.header-right .telefono {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--azul);
    text-decoration: none;
    letter-spacing: 1px;
    transition: color .2s;
}

.header-right .telefono:hover { color: var(--naranja); }

.header-buttons {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.header-right .btn-presupuesto,
.header-right .btn-whatsapp {
    display: inline-block;
    padding: 0.4rem 1.1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, transform .2s;
    border: none;
    cursor: pointer;
}

.header-right .btn-presupuesto {
    background: var(--naranja);
    color: #fff;
}

.header-right .btn-presupuesto:hover {
    background: var(--naranja-claro);
    transform: translateY(-1px);
}

.header-right .btn-whatsapp {
    background: var(--whatsapp);
    color: #fff;
}

.header-right .btn-whatsapp:hover {
    background: #20ba5c;
    transform: translateY(-1px);
}

/* ── HERO ── */
.hero {
    background: linear-gradient(135deg, var(--azul) 0%, var(--azul-medio) 100%);
    color: #fff;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    overflow: hidden;
}

.hero-texto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    animation: fadeLeft .9s ease;
}

@keyframes fadeLeft {
    from { opacity:0; transform: translateX(-30px); }
    to   { opacity:1; transform: translateX(0); }
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.9);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.hero-texto h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

.hero-texto h1 span { color: var(--naranja-claro); }

.hero-texto p {
    font-size: 1.1rem;
    opacity: .9;
    margin-bottom: 2rem;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    display: inline-block;
    background: var(--naranja);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(212,88,0,.45);
    transition: all .3s;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero:hover {
    background: var(--naranja-claro);
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(212,88,0,.5);
}

.hero-imagen {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    padding: 2rem;
    animation: fadeRight .9s ease;
}

@keyframes fadeRight {
    from { opacity:0; transform: translateX(30px); }
    to   { opacity:1; transform: translateX(0); }
}

.hero-imagen img {
    max-width: 100%;
    max-height: 380px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.35));
}

/* ── SERVICIOS ── */
.servicios {
    padding: 5rem 2rem;
    background: var(--gris-claro);
}

.seccion-titulo {
    text-align: center;
    margin-bottom: 3rem;
}

.seccion-titulo h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--azul);
    margin-bottom: .4rem;
}

.seccion-titulo p {
    color: #777;
    font-size: 1.05rem;
}

.linea-deco {
    width: 55px;
    height: 4px;
    background: var(--naranja);
    border-radius: 2px;
    margin: .9rem auto 0;
}

.grid-servicios {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}

.card-servicio {
    background: #fff;
    border-radius: 14px;
    padding: 2rem 1.6rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,40,80,0.08);
    border-top: 5px solid var(--azul-medio);
    transition: transform .3s, box-shadow .3s;
}

.card-servicio:nth-child(2n) { border-top-color: var(--naranja); }

.card-servicio:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(0,40,80,0.14);
}

.card-servicio .icono {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    display: block;
}

.card-servicio h3 {
    color: var(--azul);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.card-servicio p {
    color: #666;
    font-size: .95rem;
    line-height: 1.55;
}

/* ── ZONA ── */
.zona {
    padding: 5rem 2rem;
    background: #fff;
    text-align: center;
}

.zona-pills {
    max-width: 1100px;
    margin: 2.5rem auto 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.zona-pill {
    background: var(--azul);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
}

.zona-nota {
    font-size: .9rem;
    color: #666;
}

/* ── CTA BANNER ── */
.cta-banner {
    background: linear-gradient(135deg, var(--azul-medio) 0%, var(--azul) 100%);
    color: #fff;
    padding: 3.5rem 2rem;
    text-align: center;
}

.cta-banner h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: .6rem;
}

.cta-banner p {
    font-size: 1.1rem;
    opacity: .92;
    margin-bottom: 1.8rem;
}

.btn-cta {
    display: inline-block;
    background: var(--naranja);
    color: #fff;
    padding: 1rem 2.8rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
    transition: all .3s;
}

.btn-cta:hover {
    background: var(--naranja-claro);
    transform: translateY(-3px);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta.btn-whatsapp-cta {
    background: var(--whatsapp);
}

/* ── CONTACTO ── */
.contacto {
    padding: 5rem 2rem;
    background: var(--gris-claro);
}

.contacto-grid {
    max-width: 900px;
    margin: 2.5rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.contacto-card {
    background: #fff;
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0,40,80,0.08);
    transition: transform .3s;
}

.contacto-card:hover { transform: translateY(-5px); }

.contacto-card .c-ico {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--azul), var(--azul-medio));
    color: #fff;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contacto-card.whatsapp-card .c-ico {
    background: linear-gradient(135deg, var(--whatsapp), #20ba5c);
}

.contacto-card h3 {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    margin-bottom: .5rem;
}

.contacto-card a {
    color: var(--azul);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color .2s;
    word-break: break-all;
}

.contacto-card.whatsapp-card a {
    color: var(--whatsapp);
}

.contacto-card a:hover { color: var(--naranja); }

.contacto-card.whatsapp-card a:hover { color: #20ba5c; }

.contacto-card p {
    color: #666;
    font-size: .88rem;
    margin-top: .35rem;
}

.contacto-card .ciudad {
    font-size: 1rem;
    font-weight: 700;
    color: var(--azul);
    margin: 0;
}

/* ── FOOTER ── */
footer {
    background: var(--azul);
    color: rgba(255,255,255,.75);
    text-align: center;
    padding: 2.2rem 1rem;
    font-size: .9rem;
}

footer strong { color: #fff; }
footer .sep { margin: 0 .5rem; opacity: .4; }

footer .copyright {
    margin-top: .5rem;
    font-size: .82rem;
    opacity: .5;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .hero-imagen {
        padding: 2rem 2rem 0;
        order: -1;
    }
    .hero-imagen img {
        max-height: 220px;
    }
    .hero-texto {
        padding: 2rem;
        text-align: center;
    }
    .hero-badge { margin: 0 auto 1rem; }
    .btn-hero { margin: 0 auto; }
    .hero-texto h1 { font-size: 2rem; }
    .logo-wrap img { height: 65px; }
    .header-right .telefono { font-size: 1.25rem; }
    .header-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.4rem;
    }
    .header-right .btn-presupuesto,
    .header-right .btn-whatsapp {
        width: 100%;
        text-align: center;
    }
}
