/* Páginas locales (arquitectos-pereira, arquitectos-dosquebradas). Independientes del SPA. */
:root {
    --navy: #102336;
    --navy-2: #1B3550;
    --bone: #F6F4F1;
    --bone-dark: #EFE9E1;
    --linea: #E4DFD8;
    --gris: #B9B4AC;
    --gris-texto: #6B665F;
    --terra: #B8503E;
    --carbon: #2B2B2B;
    --blanco: #FFFFFF;
    --font: 'Avenir Next', 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--carbon);
    background: var(--bone);
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }

/* Barra superior */
.lp-top {
    position: sticky; top: 0; z-index: 10;
    background: var(--navy); color: var(--blanco);
}
.lp-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.lp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lp-brand img { width: 36px; height: 36px; }
.lp-brand span { font-size: 15px; letter-spacing: .02em; }
.lp-brand b { font-weight: 800; }
.lp-top-links { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.lp-top-links a { text-decoration: none; opacity: .85; }
.lp-top-links a:hover { opacity: 1; }
.lp-top-links .lp-tel { font-weight: 700; opacity: 1; }

/* Botones */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 26px; border-radius: 4px; font-weight: 700; font-size: 16px;
    text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-terra { background: var(--terra); color: var(--blanco); }
.btn-terra:hover { background: #9E4333; }
.btn-line { border-color: currentColor; color: inherit; }
.btn-line:hover { background: rgba(255,255,255,.08); }

/* Portada */
.lp-hero {
    position: relative; color: var(--blanco);
    background: var(--navy) center / cover no-repeat;
    min-height: 78vh; display: flex; align-items: flex-end;
}
.lp-hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(16,35,54,.35) 0%, rgba(16,35,54,.88) 75%);
}
.lp-hero .wrap { position: relative; padding: 120px 0 64px; }
.lp-eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 13px; font-weight: 700; color: var(--bone); opacity: .85; }
.lp-hero h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; margin: 14px 0 18px; max-width: 14ch; }
.lp-hero h1 em { font-style: normal; color: var(--terra); background: var(--bone); padding: 0 .15em; }
.lp-hero p.lead { font-size: clamp(18px, 2.2vw, 21px); max-width: 52ch; opacity: .95; }
.lp-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lp-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 14px; opacity: .9; }
.lp-trust span::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--terra); margin-right: 8px; vertical-align: middle; }
.lp-render-note { position: absolute; right: 16px; top: 80px; font-size: 12px; background: rgba(16,35,54,.7); padding: 3px 8px; border-radius: 3px; }

/* Secciones */
section.lp-sec { padding: 80px 0; }
.lp-sec.alt { background: var(--blanco); }
.lp-sec.dark { background: var(--navy); color: var(--blanco); }
.lp-sec h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin-bottom: 16px; }
.lp-sec h2 + p, .lp-intro { font-size: 18px; color: var(--gris-texto); max-width: 62ch; }
.lp-sec.dark h2 + p { color: var(--bone); opacity: .85; }
.lp-sep { width: 56px; height: 3px; background: var(--terra); margin: 0 0 22px; }
.lp-sec p + p { margin-top: 14px; }

/* Rejillas */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 36px; }
.card { background: var(--bone); border: 1px solid var(--linea); border-radius: 6px; padding: 26px; }
.lp-sec.alt .card { background: var(--bone); }
.card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.card p { font-size: 16px; color: var(--gris-texto); }
.card .price { display: block; margin-top: 12px; font-weight: 700; color: var(--terra); font-size: 15px; }

/* Método */
.steps { counter-reset: paso; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; margin-top: 36px; }
.step { border-top: 2px solid var(--terra); padding-top: 16px; }
.step::before { counter-increment: paso; content: "0" counter(paso); font-size: 14px; font-weight: 800; color: var(--terra); letter-spacing: .1em; }
.step h3 { font-size: 19px; font-weight: 800; margin: 6px 0 6px; }
.step p { font-size: 15px; opacity: .85; }

/* Proyectos */
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 36px; }
.project { background: var(--blanco); border-radius: 6px; overflow: hidden; border: 1px solid var(--linea); }
.project img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.project div { padding: 18px 20px 22px; }
.project h3 { font-size: 18px; font-weight: 800; }
.project p { font-size: 15px; color: var(--gris-texto); }
.project small { display: block; margin-top: 6px; font-size: 12px; color: var(--gris-texto); text-transform: uppercase; letter-spacing: .08em; }

/* Preguntas */
.faq { margin-top: 28px; border-top: 1px solid var(--linea); }
.faq details { border-bottom: 1px solid var(--linea); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--terra); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--gris-texto); }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; margin-top: 28px; align-items: start; }
.contact-list { list-style: none; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-list b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; opacity: .7; font-weight: 700; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-ctas { display: flex; flex-direction: column; gap: 12px; }
.note { font-size: 13px; opacity: .75; margin-top: 18px; }

/* Pie */
.lp-foot { background: #0B1928; color: var(--bone); padding: 32px 0 96px; font-size: 14px; }
.lp-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.lp-foot a { opacity: .85; }

/* Botón flotante WhatsApp */
.wa-float {
    position: fixed; right: 16px; bottom: 16px; z-index: 20;
    width: 58px; height: 58px; border-radius: 50%;
    background: #25D366; color: var(--blanco);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.wa-float svg { width: 28px; height: 28px; }

@media (max-width: 640px) {
    body { font-size: 16px; }
    .lp-top-links a:not(.lp-tel) { display: none; }
    .lp-brand span { display: none; }
    section.lp-sec { padding: 56px 0; }
    .lp-hero { min-height: 88vh; }
    .lp-hero .wrap { padding: 96px 0 44px; }
    .lp-hero-ctas .btn { width: 100%; }
}
