:root{
    --bg:#f4f7fb;
    --ink:#0f172a;
    --muted:#5b6b7e;
    --brand:#ff5b00;
    --brand-dark:#db4e00;
    --nav:#ffffff;
    --line:#e5eaf1;
    --card:#ffffff;
    --deep:#0b2b4b;
    --radius:16px;
    --shadow:0 18px 45px rgba(15,23,42,.12);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:Inter,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);background:var(--bg)}
a{color:inherit}
img{max-width:100%;display:block}
.container{width:min(1180px,92%);margin:0 auto}

/* NAV BLANCA */
.topbar{
    position:sticky;top:0;z-index:90;
    background:var(--nav);
    border-bottom:1px solid var(--line);
    box-shadow:0 6px 20px rgba(15,23,42,.06);
}
.nav-wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.logo-shell{
    width:84px;height:84px;border-radius:0;
    background:transparent;
    border:none;
    box-shadow:none;
    padding:0;
    display:grid;place-items:center;
}
.logo-shell img{width:100%;height:100%;object-fit:contain}
.brand-copy strong{display:block;font-size:1.06rem;line-height:1}
.brand-copy small{color:var(--muted)}
.nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.nav a{
    text-decoration:none;
    padding:10px 12px;border-radius:10px;
    font-weight:600;font-size:.95rem;color:#1e293b;
    transition:.2s ease;
}
.nav a:hover{background:#f1f5f9}
.btn-nav{
    background:var(--deep)!important;color:#fff!important;
    padding:10px 14px!important
}

/* HERO */
.hero{position:relative;min-height:78vh;display:flex;align-items:center}
.hero-bg{
    position:absolute;inset:0;
    background:url('images/carro_dos.webp') center/cover no-repeat;
}
.hero-overlay{
    position:absolute;inset:0;
    background:linear-gradient(112deg, rgba(6,20,36,.84) 14%, rgba(6,20,36,.45) 66%, rgba(6,20,36,.6) 100%);
}
.hero-content{position:relative;z-index:2;color:#fff;padding:70px 0}
.eyebrow{
    margin:0 0 12px;color:#dbeafe;
    text-transform:uppercase;letter-spacing:.08em;font-size:.8rem;font-weight:700
}
.hero h1{margin:0 0 12px;font-size:clamp(2rem,4.4vw,3.8rem);max-width:820px;line-height:1.05}
.lead{max-width:760px;line-height:1.75;color:#e2e8f0;margin-bottom:22px}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:26px}
.btn-main,.btn-ghost{
    display:inline-block;text-decoration:none;font-weight:700;
    padding:12px 18px;border-radius:12px;transition:.2s ease
}
.btn-main{background:var(--brand);color:#fff}
.btn-main:hover{background:var(--brand-dark);transform:translateY(-2px)}
.btn-ghost{border:1px solid rgba(255,255,255,.65);color:#fff;background:rgba(255,255,255,.06)}
.btn-ghost:hover{background:rgba(255,255,255,.16)}

.hero-stats{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:680px
}
.hero-stats div{
    background:rgba(255,255,255,.12);
    backdrop-filter:blur(4px);
    border:1px solid rgba(255,255,255,.22);
    border-radius:12px;padding:12px
}
.hero-stats strong{display:block;font-size:1.1rem}
.hero-stats span{color:#dbeafe;font-size:.86rem}

/* SECCIONES */
.section{padding:70px 0}
.section h2{margin:0 0 10px;font-size:clamp(1.5rem,3vw,2.2rem)}
.section-intro{color:var(--muted);margin:0 0 20px}
.alt{background:#edf3fa}

/* SERVICIOS */
.services-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px
}
.card{
    background:var(--card);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:20px;
    box-shadow:var(--shadow);
    transition:.25s ease;
}
.card:hover{transform:translateY(-6px)}
.card h3{margin:0 0 8px;color:#0b2b4b}
.card p{margin:0;color:#344256;line-height:1.65}

/* ALEXIS */
.about-wrap{
    display:grid;
    grid-template-columns:320px 1fr;
    gap:24px;align-items:center
}
.about-photo img{
    width:100%;height:360px;object-fit:cover;border-radius:18px;
    box-shadow:var(--shadow)
}
.role{color:#0b2b4b;font-weight:700}

/* GALERIA */
.gallery{background:#f8fafc}
.gallery-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px
}
.gallery-grid img,.ph{
    height:220px;border-radius:14px;object-fit:cover;background:#e2e8f0
}
.ph{
    display:grid;place-items:center;
    color:#475569;border:2px dashed #94a3b8;
    font-weight:600
}

/* CONTACTO */
.contact-wrap{
    display:grid;
    grid-template-columns:1fr 420px;
    gap:18px;align-items:start
}
.contact-info ul{list-style:none;padding:0;margin:16px 0 0}
.contact-info li{margin:8px 0;color:#334155}
.contact-info a{color:#0b2b4b;font-weight:700;text-decoration:none}
.contact-info a:hover{text-decoration:underline}
.contact-box{
    background:#fff;border:1px solid var(--line);
    border-radius:18px;padding:22px;box-shadow:var(--shadow)
}
.contact-box h3{margin-top:0}
label{display:block;font-weight:600;margin:12px 0 6px}
input,textarea{
    width:100%;padding:12px;border-radius:10px;
    border:1px solid #cbd5e1;font:inherit
}
input:focus,textarea:focus{outline:none;border-color:#60a5fa;box-shadow:0 0 0 3px rgba(96,165,250,.2)}
.full{width:100%;border:none;cursor:pointer;margin-top:12px}
.alert{padding:10px 12px;border-radius:10px;font-weight:600;margin-bottom:10px}
.alert.success{background:#dcfce7;color:#166534}
.alert.error{background:#fee2e2;color:#991b1b}

/* RESPONSIVE */
@media (max-width:1080px){
    .services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:860px){
    .nav-wrap{flex-direction:column;align-items:flex-start}
    .about-wrap{grid-template-columns:1fr}
    .contact-wrap{grid-template-columns:1fr}
    .hero-stats{grid-template-columns:1fr}
}
.whatsapp-float{
    position:fixed;
    right:18px;
    bottom:20px;
    width:62px;
    height:62px;
    border-radius:50%;
    background:#25D366;
    color:#fff;
    display:grid;
    place-items:center;
    text-decoration:none;
    font-size:28px;
    box-shadow:0 14px 28px rgba(37,211,102,.42);
    z-index:120;
    transition:.2s ease;
}
.whatsapp-float:hover{
    transform:translateY(-3px) scale(1.04);
}
@media (max-width:560px){
    .services-grid,.gallery-grid{grid-template-columns:1fr}
    .logo-shell{width:73px;height:73px}
    .hero{min-height:70vh}
    .whatsapp-float{
        width:56px;
        height:56px;
        right:14px;
        bottom:16px;
        font-size:24px;
    }
}
