/* Activo Urbano — estilos
   Idea visual: la ficha técnica de un proyecto. Tipografía Archivo ensanchada
   para títulos (como la rotulación de un plano), negro de marca y un solo
   acento en azul de plano para precios, cotas y enlaces. */

:root {
  --paper: #eef0ef;
  --surface: #ffffff;
  --ink: #000000;
  --text: #33383b;
  --muted: #62696d;
  --line: #cfd5d2;
  --plano: #2a4bd7;
  --plano-tint: #e6ebfc;
  --wa: #1d7447;
  --warn: #9a3d06;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: 118;
  --wrap: 1200px;
  --gut: clamp(1.1rem, 4vw, 2.5rem);
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--plano); }
:focus-visible { outline: 3px solid var(--plano); outline-offset: 2px; }
h1, h2, h3 { color: var(--ink); font-variation-settings: "wdth" var(--wide); font-weight: 620; line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 50; }
.skip:focus { top: 1rem; color: #fff; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.9rem; padding: 0.7rem 1.3rem;
  border: 1.5px solid var(--ink); border-radius: var(--r);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; background: transparent; color: var(--ink);
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--plano); border-color: var(--plano); color: #fff; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-whatsapp { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: #155a37; border-color: #155a37; color: #fff; }
.btn-sm { min-height: 2.4rem; padding: 0.45rem 0.95rem; font-size: 0.9375rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-strong { font-weight: 600; color: var(--plano); }

/* ---------- cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; }
.brand { display: inline-flex; gap: 0.08em; text-decoration: none; font-variation-settings: "wdth" 125; font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--ink); }
.brand span:last-child { font-weight: 300; }
.brand:hover { color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a { text-decoration: none; font-weight: 500; }
.site-nav .nav-cta { padding: 0.5rem 1rem; border: 1.5px solid var(--ink); border-radius: var(--r); }
.site-nav .nav-cta:hover { background: var(--ink); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 2.75rem; height: 2.75rem; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 1.4rem; height: 2px; background: var(--ink); position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-open .bars { background: transparent; }
.nav-open .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 0.5rem var(--gut) 1.25rem; }
  .nav-open .site-nav { display: flex; }
  .site-nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { margin-top: 1rem; text-align: center; border-bottom: 1.5px solid var(--ink); }
}

/* ---------- portada ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(2.5rem, 7vw, 5.5rem); }
.hero-title { font-size: clamp(2.2rem, 4.6vw, 4rem); font-variation-settings: "wdth" 125; font-weight: 640; line-height: 1.04; letter-spacing: -0.025em; }
.hero-lead { font-size: 1.1875rem; max-width: 36em; margin-top: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero-figure { margin: 0; position: relative; }
.hero-placeholder { aspect-ratio: 3 / 2; background: var(--paper); border-radius: var(--r); }
.hero-link { display: block; text-decoration: none; color: var(--ink); }
.hero-link img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-radius: var(--r); background: var(--paper); }
.hero-caption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 1rem; padding-top: 0.9rem; border-top: 0; font-size: 0.975rem; color: var(--muted); }
.hero-caption-name { font-weight: 650; font-variation-settings: "wdth" var(--wide); color: var(--ink); font-size: 1.05rem; }
.hero-caption-price { margin-left: auto; color: var(--plano); font-weight: 600; }
.hero-figure.is-loaded { animation: reveal .6s ease-out both; }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
}

/* ---------- secciones ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; margin-bottom: 2rem; }
.section-title { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.section-aside { margin: 0; color: var(--muted); display: flex; gap: 1.25rem; flex-wrap: wrap; }

.section-steps { background: var(--ink); color: #d7dbdd; }
.section-steps .section-title { color: #fff; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.steps li { counter-increment: s; border-top: 1.5px solid rgba(255,255,255,.35); padding-top: 1.25rem; }
.steps li::before { content: counter(s); display: block; font-variation-settings: "wdth" 125; font-weight: 300; font-size: 2.75rem; line-height: 1; color: #fff; margin-bottom: 1rem; }
.steps h3 { color: #fff; font-size: 1.25rem; margin-bottom: 0.6rem; }
.steps p { margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 2rem; } }

.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-text p { max-width: 30em; }
.contact-text .section-title { margin-bottom: 1rem; }
.contact-direct { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.contact-form { background: var(--paper); padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- tarjetas de proyecto ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 2.75rem 1.75rem; }
.card { min-width: 0; }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--paper); border-radius: var(--r); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card-link:hover .card-media img { transform: scale(1.03); }
.card-noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .9rem; }
.badge { position: absolute; left: 0.75rem; top: 0.75rem; background: #fff; color: var(--ink); font-size: 0.8125rem; font-weight: 600; padding: 0.3rem 0.6rem; border-radius: var(--r); }
.card-body { padding-top: 1rem; }
.card-title { font-size: 1.375rem; }
.card-link:hover .card-title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
.card-place { margin: 0.35rem 0 0; color: var(--ink); font-weight: 500; }
.card-dev { color: var(--muted); font-weight: 400; margin-left: 0.6rem; padding-left: 0.6rem; border-left: 1px solid var(--line); }
.card-delivery { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.9375rem; }
.card-price { margin: 0.8rem 0 0; color: var(--muted); }
.card-price strong { color: var(--plano); font-size: 1.25rem; font-weight: 650; font-variation-settings: "wdth" var(--wide); margin-left: .15rem; }
.tags { list-style: none; padding: 0; margin: 0.85rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tags li { font-size: 0.8125rem; padding: 0.2rem 0.55rem; background: var(--plano-tint); color: #1d3599; border-radius: var(--r); }

.skeleton { aspect-ratio: 4 / 4.2; background: linear-gradient(var(--paper) 0 72%, transparent 72% 78%, var(--paper) 78% 86%, transparent 86%); border-radius: var(--r); }
@media (prefers-reduced-motion: no-preference) { .skeleton { animation: pulse 1.4s ease-in-out infinite; } }
@keyframes pulse { 50% { opacity: .55; } }

.notice { grid-column: 1 / -1; padding: 2rem; background: var(--paper); border-radius: var(--r); }
.notice p { margin-bottom: 1rem; }

/* ---------- listado ---------- */
.page-head { padding-block: clamp(2rem, 5vw, 3.5rem) 1.5rem; }
.page-title { font-size: clamp(2.2rem, 5vw, 3.5rem); font-variation-settings: "wdth" 125; }
.page-lead { max-width: 38em; margin-top: 1rem; font-size: 1.125rem; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem 1.25rem; padding: 1.25rem 0; margin-bottom: 2.5rem; border-block: 1px solid var(--line); }
.filter { display: grid; gap: 0.3rem; }
.filter label { font-size: 0.875rem; color: var(--muted); }
.filters-summary { margin: 0 0 0 auto; color: var(--muted); align-self: center; }
select, input[type="text"], input[type="email"], input[type="tel"], textarea {
  min-height: 2.9rem; padding: 0.6rem 0.75rem; border: 1.5px solid #aeb6b2; border-radius: var(--r); background: #fff; width: 100%;
}
select { min-width: 11rem; padding-right: 2rem; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 1.05rem) 55%, calc(100% - 0.7rem) 55%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; }
input:focus, select:focus, textarea:focus { border-color: var(--plano); outline: 2px solid var(--plano); outline-offset: 0; }
@media (max-width: 640px) { .filter { flex: 1 1 45%; } select { min-width: 0; } .filters-summary { width: 100%; margin: 0; } }

/* ---------- ficha ---------- */
.crumbs { display: flex; gap: 0.6rem; padding-top: 1.5rem; font-size: 0.9375rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.p-head { display: grid; gap: 1.5rem; padding-block: 1.25rem 1.75rem; }
.p-title { font-size: clamp(2.2rem, 5.2vw, 4rem); font-variation-settings: "wdth" 125; font-weight: 640; letter-spacing: -0.025em; line-height: 1.02; }
.p-place { margin: 0.75rem 0 0; font-size: 1.125rem; }
.p-facts { display: flex; flex-wrap: wrap; gap: 0.9rem 2.75rem; margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.p-facts dt, .terms dt, .model-specs dt { font-size: 0.8125rem; color: var(--muted); }
.p-facts dd, .terms dd { margin: 0; color: var(--ink); font-weight: 550; }
@media (max-width: 600px) { .p-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.5rem; } }

.gallery { margin-bottom: 1rem; }
.g-stage { position: relative; background: var(--paper); border-radius: var(--r); overflow: hidden; }
.g-stage img { width: 100%; aspect-ratio: 3 / 2; max-height: 72vh; object-fit: cover; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); font-size: 1.9rem; line-height: 1; cursor: pointer; color: var(--ink); }
.g-nav:hover { background: #fff; color: var(--plano); }
.g-prev { left: 1rem; } .g-next { right: 1rem; }
.g-count { position: absolute; right: 1rem; bottom: 1rem; background: rgba(0,0,0,.72); color: #fff; font-size: .875rem; padding: .2rem .6rem; border-radius: var(--r); }
.g-tabs { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin-top: 1rem; border-bottom: 1px solid var(--line); }
.g-tabs button { background: none; border: 0; padding: 0.6rem 0; cursor: pointer; color: var(--muted); font-weight: 500; border-bottom: 2.5px solid transparent; margin-bottom: -1px; }
.g-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.g-tab-n { font-size: .8125rem; margin-left: .35rem; color: var(--muted); }
.g-thumbs { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.75rem 0 0.25rem; scrollbar-width: thin; }
.g-thumb { flex: 0 0 auto; padding: 0; border: 2px solid transparent; border-radius: var(--r); background: var(--paper); cursor: pointer; overflow: hidden; }
.g-thumb img { width: 96px; height: 72px; object-fit: cover; }
.g-thumb[aria-current="true"] { border-color: var(--plano); }

.p-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding-bottom: 5rem; }
.p-sec { padding-top: 2.75rem; }
.p-sec h2 { font-size: 1.625rem; margin-bottom: 1.1rem; }
.prose { max-width: 42em; }
.prose p:last-child { margin-bottom: 0; }

.p-side { position: sticky; top: 5.5rem; padding-top: 2.75rem; }
.side-box { border-top: 3px solid var(--ink); padding-top: 1.25rem; }
.side-price { margin: 0; display: grid; }
.side-price-label { color: var(--muted); font-size: 0.9375rem; }
.side-price-value { font-size: 2.25rem; font-variation-settings: "wdth" 125; font-weight: 650; color: var(--plano); line-height: 1.15; letter-spacing: -0.02em; }
.side-extras { color: var(--muted); font-size: 0.9375rem; margin: 0.5rem 0 1.25rem; }
.side-title { font-size: 1.125rem; margin: 1.75rem 0 1rem; }
@media (max-width: 980px) {
  .p-layout { grid-template-columns: 1fr; }
  .p-side { position: static; order: 0; }
}

/* modelos */
.models { list-style: none; padding: 0; margin: 1.25rem 0 0; border-top: 1.5px solid var(--ink); }
.model { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "id price actions" "specs specs specs" "plan plan plan"; gap: 0.9rem 1.75rem; align-items: center; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.model-id { grid-area: id; }
.model-specs { grid-area: specs; }
.model-price { grid-area: price; }
.model-actions { grid-area: actions; }
.plan { grid-area: plan; }
.model-name { font-size: 1.25rem; }
.model-type { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.9375rem; }
.model-specs { display: flex; flex-wrap: wrap; gap: 0.5rem 2.5rem; margin: 0; }
.model-specs dd { margin: 0; color: var(--ink); font-weight: 500; }
.model-price { display: grid; justify-items: end; text-align: right; }
.model-price strong { font-size: 1.25rem; color: var(--plano); font-variation-settings: "wdth" var(--wide); font-weight: 650; }
.price-before { color: var(--muted); font-size: 0.875rem; }
.stock { font-size: 0.8125rem; color: var(--muted); }
.stock-low { color: var(--warn); font-weight: 600; }
.model-actions { display: flex; gap: 0.5rem; justify-content: flex-end; }
.plan { background: var(--paper); padding: 1rem; border-radius: var(--r); }
.plan img { width: 100%; max-height: 70vh; object-fit: contain; background: #fff; margin-bottom: 0.75rem; }

/* Cota: la superficie se marca como una medida de plano */
.cota { position: relative; display: inline-block; padding: 0 0.1rem 0.35rem; }
.cota::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; border: 1.5px solid var(--plano); border-top: 0; border-bottom: 0;
  background: linear-gradient(var(--plano), var(--plano)) center / 100% 1.5px no-repeat; }

@media (max-width: 760px) {
  .model { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "id price" "specs specs" "actions actions" "plan plan"; }
  .model-actions { justify-content: flex-start; }
}

/* equipamiento */
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 2rem 1.5rem; }
.perk-group h3 { font-size: 1rem; margin-bottom: 0.6rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--line); }
.perk-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.3rem; }
.perk-group li { padding-left: 1rem; position: relative; }
.perk-group li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.4rem; height: 1.5px; background: var(--plano); }

.map iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); background: var(--paper); }
.map-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 0.75rem; }

.docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; max-width: 30rem; }
.doc-link { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r); text-decoration: none; font-weight: 550; }
.doc-link:hover { border-color: var(--plano); }
.doc-type { font-size: 0.75rem; font-weight: 600; color: var(--plano); }

.terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem 2rem; margin: 0 0 1rem; }
.dev-name { font-weight: 650; color: var(--ink); margin-bottom: 0.4rem; }

/* barra fija en móvil */
.m-bar { display: none; }
@media (max-width: 980px) {
  .m-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 0.5rem;
    padding: 0.65rem var(--gut) calc(0.65rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .m-bar-price { margin: 0 auto 0 0; display: grid; line-height: 1.2; font-size: 0.8125rem; color: var(--muted); }
  .m-bar-price strong { font-size: 1.05rem; color: var(--plano); font-variation-settings: "wdth" var(--wide); }
  .page-project .site-footer { padding-bottom: 6rem; }
}

/* ---------- formulario ---------- */
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.3rem; min-width: 0; }
.field > label, .choice legend { font-weight: 550; color: var(--ink); font-size: 0.9375rem; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pair-hint { margin-top: -0.6rem; }
.field-hint { font-size: 0.8125rem; color: var(--muted); margin: 0; }
.field-error { font-size: 0.875rem; color: #b3261e; margin: 0; min-height: 0; }
.field-error:empty { display: none; }
[aria-invalid="true"] { border-color: #b3261e; }
textarea { min-height: 5.5rem; resize: vertical; }
.choice { border: 0; padding: 0; margin: 0; }
.choice legend { padding: 0; margin-bottom: 0.4rem; }
.choice-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice-opt { position: relative; cursor: pointer; }
.choice-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice-opt span { display: inline-block; padding: 0.5rem 0.85rem; border: 1.5px solid #aeb6b2; border-radius: var(--r); background: #fff; font-size: 0.9375rem; }
.choice-opt input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.choice-opt input:focus-visible + span { outline: 3px solid var(--plano); outline-offset: 2px; }
.consent label { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.875rem; color: var(--text); font-weight: 400; }
.consent input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--ink); flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { display: grid; gap: 0.75rem; justify-items: start; }
.form-status p { margin: 0; }
.form-done { padding: 1.5rem; background: #fff; border-left: 3px solid var(--wa); }
.form-done-title { font-weight: 650; font-variation-settings: "wdth" var(--wide); color: var(--ink); font-size: 1.25rem; margin-bottom: 0.4rem; }
.form-done:focus { outline: none; }
.side-box .form-done { background: var(--paper); }
@media (max-width: 520px) { .field-pair { grid-template-columns: 1fr; } }

/* ---------- páginas simples ---------- */
.simple { padding-block: clamp(3rem, 8vw, 6rem); min-height: 55vh; }
.actions-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }

/* ---------- pie ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--paper); padding-block: 3rem 2rem; font-size: 0.9375rem; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; }
.brand-footer { font-size: 1.15rem; }
.footer-note { color: var(--muted); margin: 0.5rem 0 0; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-legal { grid-column: 1 / -1; color: var(--muted); font-size: 0.8125rem; margin: 1rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.page-list main { padding-bottom: 5rem; }

/* botón flotante de WhatsApp */
.wa-float { position: fixed; right: 1.25rem; bottom: calc(1.25rem + env(safe-area-inset-bottom)); z-index: 40; width: 3.5rem; height: 3.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.wa-float:hover { background: #155a37; color: #fff; }
@media (max-width: 980px) { .page-project .wa-float { display: none; } }
