/* ============================================================================
   M&E CONSTRUCTION GROUP INC — "acero y chispa"
   Negro + dorado, la identidad que el negocio YA usa en todas sus gráficas.
   Motivos, todos sacados de su propio logo/material:
     .truss  → la armadura Warren del logo, repetida como línea sobre el hero
     .bead   → cordón de soldadura (arcos superpuestos) como divisor de sección
     chaflán → esquina cortada a 45° en las tarjetas, como una plancha de acero
   ---------------------------------------------------------------------------
   OJO CON LAS FOTOS: las 17 fuentes son thumbnails de Facebook de 414 px,
   exportadas a 828 con LANCZOS 2x + unsharp. NINGÚN contenedor de foto debe
   pasar de ~420 px de CSS o se ve blanda. Excepción consciente: el render de
   Old San Juan (fuente 361 px) sube a 520 px porque es un render 3D de
   degradados suaves, sin detalle fino que delate el reescalado; y el fondo del
   hero, que va desenfocado y al 28% de brillo a propósito.
   ========================================================================= */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }            /* el atributo height del HTML gana sobre aspect-ratio */
ul, ol { list-style: none; padding: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }

:root {
  --ink:      #08080a;
  --ink-2:    #0d0d10;
  --plate:    #141418;
  --plate-2:  #1b1b20;
  --edge:     #2a2a2e;
  --gold:     #f6b302;
  --gold-d:   #eaa202;
  --gold-dim: #8a6404;
  --steel:    #a9a7a8;
  --steel-d:  #696768;
  --tx:       #e9e8e6;
  --tx-dim:   #a9a7a8;
  --red:      #b7202a;
  --green:    #1f7a44;

  --wrap: 1180px;
  --pad: clamp(1.1rem, 4vw, 2.2rem);
  --chamfer: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));

  --disp: "Oswald", "Arial Narrow", sans-serif;
  --body: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ink);
  color: var(--tx);
  font-family: var(--body);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: #000; padding: .7rem 1.2rem; font-weight: 700;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- tipografía base ---------- */
h1, h2, h3, .btn, .eyebrow, .num, .tag, .chips li, .badges li {
  font-family: var(--disp);
  font-weight: 600;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.5rem, 1.5rem + 4.4vw, 4.5rem); line-height: .98; text-transform: uppercase; }
h1 em { font-style: normal; color: var(--gold); display: block; }

.eyebrow {
  font-size: clamp(.72rem, .68rem + .16vw, .82rem);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: .9rem;
}
.eyebrow b { color: var(--steel-d); font-weight: 400; }

.sec__title {
  font-size: clamp(1.75rem, 1.2rem + 2.1vw, 2.9rem);
  line-height: 1.06; text-transform: uppercase; color: #fff;
}
.sec__title b { color: var(--gold); font-weight: 600; }
.sec__sub { color: var(--tx-dim); max-width: 60ch; margin-top: 1rem; }

/* motivo: cordón de soldadura */
.bead {
  display: block; width: 132px; height: 15px; margin: 1.2rem 0 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='15'%3E%3Cpath d='M2 12.5A9 9 0 0 1 20 12.5' fill='none' stroke='%23f6b302' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-size: 15px 15px;
}
.sec__head--center { text-align: center; }
.sec__head--center .bead { margin-inline: auto; }
.sec__head--center .sec__sub { margin-inline: auto; }

.sec { padding: clamp(3.5rem, 2rem + 6vw, 6.5rem) 0; }
.sec__head { margin-bottom: clamp(2rem, 1rem + 3vw, 3.2rem); }

/* plancha de acero cepillado, muy sutil */
.sec--dark {
  background-color: var(--ink-2);
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, rgba(246,179,2,.05), transparent 240px);
  border-block: 1px solid var(--edge);
}

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; font-size: 1.02rem; text-transform: uppercase;
  letter-spacing: .06em; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.btn--gold { background: var(--gold); color: #000; font-weight: 700; }
.btn--gold:hover { background: #fff; }
.btn--ghost { border-color: var(--steel-d); color: var(--tx); background: rgba(255,255,255,.03); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--big { padding: 1.05rem 2.2rem; font-size: 1.1rem; width: 100%; }
.btn--sm { padding: .65rem 1.2rem; font-size: .92rem; }
.btn:active { transform: translateY(1px); }

/* ============================ NAV ============================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(8,8,10,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--edge);
}
.nav__in { display: flex; align-items: center; gap: 1rem; min-height: 72px; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand__mark { width: 78px; height: auto; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__txt b {
  font-family: var(--disp); font-weight: 600; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .13em; color: #fff;
}
.brand__txt i {
  font-style: normal; font-size: .58rem; letter-spacing: .17em;
  text-transform: uppercase; color: var(--gold); margin-top: .2rem;
}

.nav__links { display: flex; align-items: center; gap: clamp(.9rem, 1.4vw, 1.7rem); }
.nav__links a {
  font-family: var(--disp); font-weight: 400; font-size: .93rem;
  letter-spacing: .09em; text-transform: uppercase; text-decoration: none;
  color: var(--tx-dim); padding: .35rem 0; border-bottom: 1px solid transparent;
}
.nav__links a:hover { color: #fff; border-bottom-color: var(--gold); }
/* gana la especificidad contra .nav__links a */
.nav__links a.nav__cta {
  background: var(--gold); color: #000; font-weight: 700; padding: .55rem 1.1rem;
  border-bottom: 0;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.nav__links a.nav__cta:hover { background: #fff; color: #000; }

.burger {
  display: none; order: 3; margin-left: auto;
  width: 46px; height: 40px; background: none; border: 1px solid var(--edge);
  cursor: pointer; padding: 10px 10px; flex-direction: column; justify-content: space-between;
}
.burger span { display: block; height: 2px; background: var(--gold); transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
  .burger { display: flex; }
  .nav__links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--edge);
    padding: .5rem var(--pad) 1.4rem;
    transform: translateY(-125%); transition: transform .25s ease;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: .95rem 0; border-bottom: 1px solid var(--edge); font-size: 1.05rem; }
  .nav__links a.nav__cta { margin-top: 1rem; text-align: center; padding: .9rem 1.1rem; }
}

/* ============================ HERO ============================ */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 1.5rem + 6vw, 6rem) 0 clamp(3rem, 2rem + 4vw, 5rem); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(4px) brightness(.28) saturate(.55) contrast(1.1);
  transform: scale(1.08);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 78% 62%, rgba(246,179,2,.16), transparent 55%),
    linear-gradient(180deg, rgba(8,8,10,.86) 0%, rgba(8,8,10,.72) 45%, var(--ink) 100%);
}
.hero__truss {
  position: absolute; top: 0; left: 0; width: 140%; height: 96px; z-index: 2;
  fill: none; stroke: var(--gold); stroke-width: 1.1; opacity: .17; pointer-events: none;
}
.hero__in {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
  padding-top: 2.5rem;
}
.hero__copy .eyebrow { letter-spacing: .15em; max-width: 40ch; }
.hero__copy .lede { color: var(--tx-dim); max-width: 52ch; margin-top: 1.3rem; font-size: 1.08rem; }

.hero__hooks { display: grid; gap: .7rem; margin: 1.9rem 0; }
.hero__hooks li {
  position: relative; padding: .8rem 1.1rem .85rem 2.6rem;
  background: rgba(20,20,24,.72); border: 1px solid var(--edge);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.hero__hooks li::before {
  content: ""; position: absolute; left: 1.05rem; top: 1.28rem;
  width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg);
}
.hero__hooks b {
  display: block; font-family: var(--disp); font-weight: 600; font-size: 1.02rem;
  text-transform: uppercase; letter-spacing: .05em; color: #fff;
}
.hero__hooks span { font-size: .92rem; color: var(--tx-dim); }

.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__shot { max-width: 420px; margin-left: auto; }
.hero__shot img {
  width: 100%; border: 1px solid var(--gold-dim);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}
.hero__shot figcaption {
  font-size: .8rem; color: var(--tx-dim); margin-top: .7rem; padding-left: .9rem;
  border-left: 2px solid var(--gold);
}

@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; padding-top: 1rem; }
  .hero__shot { max-width: 420px; margin-inline: 0; }
}

/* ============================ PROMESA ============================ */
.promesa {
  background: var(--gold); color: #000;
  padding: clamp(2.2rem, 1.5rem + 3vw, 3.4rem) 0;
}
.promesa__grid { display: grid; gap: clamp(1.5rem, 3vw, 2.6rem); grid-template-columns: repeat(3, 1fr); }
.promesa__item { position: relative; padding-top: .3rem; }
.promesa__item + .promesa__item { border-left: 1px solid rgba(0,0,0,.22); padding-left: clamp(1.5rem, 3vw, 2.6rem); }
.num {
  display: block; font-size: 1.05rem; letter-spacing: .2em; font-weight: 700;
  color: rgba(0,0,0,.45); margin-bottom: .35rem;
}
.promesa__item h2 {
  font-size: clamp(1.1rem, .95rem + .55vw, 1.4rem); text-transform: uppercase;
  line-height: 1.1; margin-bottom: .5rem;
}
.promesa__item p { font-size: .95rem; color: rgba(0,0,0,.78); line-height: 1.55; }
@media (max-width: 800px) {
  .promesa__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .promesa__item + .promesa__item { border-left: 0; padding-left: 0; border-top: 1px solid rgba(0,0,0,.22); padding-top: 1.4rem; }
}

/* ============================ GRIDS / TARJETAS ============================ */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

/* plancha de acero con esquinas cortadas a 45° */
.card {
  position: relative; display: flex; flex-direction: column; padding: 1.7rem 1.6rem 1.5rem;
  background: var(--edge); clip-path: var(--chamfer);
}
.card::before {
  content: ""; position: absolute; inset: 1px; z-index: 0;
  background: var(--plate); clip-path: var(--chamfer);
}
.card > * { position: relative; z-index: 1; }
.card--hi { background: var(--gold-dim); }
.card--hi::before { background: linear-gradient(160deg, #1d1810, var(--plate) 55%); }

.ico { width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: square; margin-bottom: 1rem; }
.ico--sm { width: 26px; height: 20px; stroke-width: 1.8; margin: 0; flex: none; }

.card h3 { font-size: 1.3rem; text-transform: uppercase; color: #fff; margin-bottom: .55rem; }
.card p { font-size: .95rem; color: var(--tx-dim); }
.card__list { margin-top: auto; padding-top: 1.6rem; display: grid; gap: .35rem; }
.card__list::before { content: ""; display: block; height: 1px; background: var(--edge); margin-bottom: .85rem; }
.card__list li { font-size: .87rem; color: var(--steel); padding-left: 1.1rem; position: relative; }
.card__list li::before { content: ""; position: absolute; left: 0; top: .58em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.card__list a { color: var(--gold); text-decoration: none; font-weight: 600; }
.card__list a:hover { text-decoration: underline; }

/* ============================ OLD SAN JUAN ============================ */
.sec--osj {
  background-color: #0b0a08;
  background-image: radial-gradient(70% 100% at 68% 50%, rgba(246,179,2,.09), transparent 62%);
  border-block: 1px solid var(--edge);
}
.osj { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.osj__copy p { color: var(--tx-dim); margin-top: 1rem; }
.osj__copy p b { color: var(--gold); font-weight: 600; }
.tickets { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0; }
.tickets li {
  font-size: .82rem; letter-spacing: .05em; text-transform: uppercase;
  border: 1px solid var(--gold-dim); color: var(--gold); padding: .38rem .8rem;
  font-family: var(--disp); font-weight: 400;
}
.osj__note { font-size: .92rem; margin-bottom: 1.6rem !important; }
.osj__shot { max-width: 520px; }
.osj__shot img { width: 100%; border: 1px solid var(--gold-dim); }
.osj__shot figcaption { font-size: .78rem; color: var(--steel-d); margin-top: .6rem; text-align: right; }
.osj__shot figcaption b { color: var(--steel); font-weight: 600; }
@media (max-width: 860px) { .osj { grid-template-columns: 1fr; } .osj__shot { max-width: 520px; } }

/* ============================ ANTES / DESPUÉS ============================ */
.ba {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 3.5vw, 3rem); align-items: center;
}
.ba + .ba { margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); padding-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); border-top: 1px solid var(--edge); }
.ba--rev .ba__shot { order: 2; }
.ba__shot--split { max-width: 420px; margin-inline: auto; }
.ba__shot--split img { width: 100%; border: 1px solid var(--edge); }

.ba__pair { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; max-width: 460px; margin-inline: auto; }
.pair { position: relative; display: block; }
.pair img { width: 100%; border: 1px solid var(--edge); }
.tag {
  position: absolute; top: 0; left: 0; font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; padding: .3rem .7rem; color: #fff; font-weight: 600;
}
.tag--red { background: var(--red); }
.tag--green { background: var(--green); }

.ba__copy h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); text-transform: uppercase; color: #fff; margin-bottom: 1.2rem; }
.steps { counter-reset: s; display: grid; gap: .7rem; }
.steps li { position: relative; padding-left: 2.6rem; font-size: .95rem; color: var(--tx-dim); }
.steps li b { display: block; font-family: var(--disp); font-weight: 500; font-size: 1.02rem; color: var(--tx); text-transform: uppercase; letter-spacing: .03em; }
.steps li span { font-size: .88rem; }
.steps > li::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: .05rem;
  font-family: var(--disp); font-weight: 600; font-size: .9rem; color: var(--gold);
}
.steps--plain > li { padding-left: 1.5rem; }
.steps--plain > li::before {
  content: ""; counter-increment: none; width: 8px; height: 8px;
  background: var(--gold); transform: rotate(45deg); top: .55em; left: 0;
}
.ba__seal {
  margin-top: 1.4rem; padding: .9rem 1.1rem; font-size: .95rem; color: var(--tx-dim);
  background: var(--plate); border-left: 3px solid var(--gold);
}
.ba__seal b { color: var(--gold); font-weight: 600; }
.ba__copy .btn { margin-top: 1.2rem; }

@media (max-width: 860px) {
  .ba { grid-template-columns: 1fr; }
  .ba--rev .ba__shot { order: 0; }
  .ba__shot--split, .ba__pair { max-width: 460px; margin-inline: 0; }
}

/* ============================ ESTRUCTURAS ============================ */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: clamp(2rem, 3vw, 3rem); }
.chips li {
  font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 400;
  padding: .45rem .95rem; background: var(--plate); border: 1px solid var(--edge); color: var(--steel);
}
.pilares { margin-bottom: clamp(2.5rem, 2rem + 3vw, 4rem); }
.pilar { border-top: 2px solid var(--gold); padding-top: 1rem; }
.pilar h3 { font-size: 1.15rem; text-transform: uppercase; color: #fff; margin-bottom: .35rem; }
.pilar p { font-size: .93rem; color: var(--tx-dim); }

.proceso__title { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.75rem); text-transform: uppercase; color: #fff; }
.proceso__sub { color: var(--tx-dim); max-width: 62ch; margin: .6rem 0 1.8rem; font-size: .97rem; }
.proceso { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.proceso figure { max-width: 420px; }
.proceso img { width: 100%; border: 1px solid var(--edge); }
.proceso figcaption { font-size: .87rem; color: var(--tx-dim); margin-top: .7rem; }
.proceso figcaption b {
  display: block; font-family: var(--disp); font-weight: 600; font-size: .95rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: .2rem;
}
.proceso__foot { font-size: .87rem; color: var(--steel-d); margin-top: 1.4rem; font-style: italic; }

/* ============================ GALERÍA ============================ */
.galeria { display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); gap: clamp(1rem, 2vw, 1.4rem); }
.galeria figure { max-width: 420px; }
.galeria img { width: 100%; border: 1px solid var(--edge); filter: saturate(.92); }
.galeria figcaption { font-size: .85rem; color: var(--tx-dim); margin-top: .55rem; padding-left: .7rem; border-left: 2px solid var(--gold-dim); }

/* ============================ PAGOS ============================ */
.pagos { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.pago { background: var(--plate); border: 1px solid var(--edge); padding: 1.4rem 1.3rem; }
.pago h3 {
  display: flex; align-items: center; gap: .6rem;
  font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold);
  margin-bottom: 1rem; line-height: 1.2;
}
.badges { display: flex; flex-wrap: wrap; gap: .45rem; }
.badges li {
  font-family: var(--body); font-weight: 600; font-size: .84rem; letter-spacing: .01em;
  background: linear-gradient(180deg, #fbfbfb, #dedede);
  color: #17171a; padding: .42rem .7rem; border-radius: 4px;
  border: 1px solid #b9b9b9; white-space: nowrap;
}
.pagos__seal {
  margin-top: clamp(1.6rem, 3vw, 2.4rem); text-align: center;
  border: 2px solid var(--gold); padding: 1.2rem 1.4rem; color: var(--tx-dim);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}
.pagos__seal b {
  display: block; font-family: var(--disp); font-weight: 700; color: var(--gold);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem); text-transform: uppercase; letter-spacing: .04em;
  margin-bottom: .2rem;
}

/* ============================ FORMULARIO ============================ */
.sec--form { background: var(--ink-2); border-block: 1px solid var(--edge); }
.form__wrap { max-width: 780px; }
.form { display: grid; gap: 1.15rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 620px) { .row { grid-template-columns: 1fr; } }

.field { display: grid; gap: .4rem; }
.field--fs { border: 0; padding: 0; }
.field > label, .field legend {
  font-family: var(--disp); font-weight: 500; font-size: .88rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--steel);
  padding: 0; margin-bottom: .4rem;
}
.field > label b, .field legend b { color: var(--gold); }
.field legend i, .field > label i { font-style: normal; color: var(--steel-d); letter-spacing: .04em; text-transform: none; font-size: .82rem; }

.field input, .field textarea {
  width: 100%; background: var(--plate); border: 1px solid var(--edge);
  padding: .8rem .95rem; color: var(--tx); font-size: 1rem;
}
.field input::placeholder, .field textarea::placeholder { color: #5c5a5b; }
.field input:focus, .field textarea:focus { border-color: var(--gold); outline: none; }
.field textarea { resize: vertical; }
.field input.bad, .field textarea.bad { border-color: var(--red); }

.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: .5rem; }
/* gana la especificidad contra `.field > label` */
.checks label {
  display: flex; align-items: center; gap: .6rem; cursor: pointer;
  background: var(--plate); border: 1px solid var(--edge); padding: .65rem .8rem;
  font-family: var(--body); font-weight: 400; font-size: .93rem; letter-spacing: 0;
  text-transform: none; color: var(--tx-dim); margin: 0;
}
.checks label:hover { border-color: var(--steel-d); }
.checks input { accent-color: var(--gold); width: 17px; height: 17px; flex: none; }
.checks input:checked + span { color: var(--gold); font-weight: 600; }
.checks label:has(input:checked) { border-color: var(--gold); background: rgba(246,179,2,.07); }
.checks.bad { outline: 1px solid var(--red); outline-offset: 6px; }

.form__err { color: #ff8d8d; font-size: .92rem; }
.form__note {
  font-size: .9rem; color: var(--tx-dim); background: var(--plate);
  border-left: 3px solid var(--gold); padding: .85rem 1.05rem;
}
.form__note b { color: var(--tx); }
.form__alt { font-size: .93rem; color: var(--steel-d); text-align: center; }
.form__alt a { color: var(--gold); font-weight: 600; text-decoration: none; }
.form__alt a:hover { text-decoration: underline; }

/* ============================ CONTACTO ============================ */
.sec--contacto { padding-bottom: clamp(3rem, 2rem + 4vw, 5rem); }
.contacto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.8rem, 4vw, 3.5rem); align-items: start; }
.contacto__tag { margin-top: 1.2rem; font-family: var(--disp); font-weight: 300; font-size: clamp(1rem, .9rem + .5vw, 1.25rem); color: var(--steel); text-transform: uppercase; letter-spacing: .04em; line-height: 1.35; }
.contacto__list { display: grid; gap: 1.1rem; }
.contacto__list li { border-top: 1px solid var(--edge); padding-top: .9rem; }
.contacto__list span { display: block; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--steel-d); margin-bottom: .2rem; }
.contacto__list a { font-family: var(--disp); font-weight: 500; font-size: clamp(1.05rem, .95rem + .6vw, 1.4rem); color: #fff; text-decoration: none; word-break: break-word; }
.contacto__list a:hover { color: var(--gold); }
@media (max-width: 780px) { .contacto { grid-template-columns: 1fr; } }

/* ============================ FOOTER ============================ */
.foot { background: #000; border-top: 1px solid var(--edge); padding: 2.5rem 0 3rem; }
.foot__in { display: grid; gap: 1.6rem; justify-items: center; text-align: center; }
.brand--foot { margin-right: 0; }
.brand--foot .brand__mark { width: 96px; }
.foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.4rem; }
.foot__nav a { font-family: var(--disp); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tx-dim); text-decoration: none; }
.foot__nav a:hover { color: var(--gold); }
.foot__legal { font-size: .82rem; color: var(--steel-d); line-height: 1.7; }
.foot__legal a { color: var(--steel); text-decoration: none; }
.foot__legal i { font-style: normal; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: #4b4a4a; }

/* ============================ WHATSAPP FLOTANTE ============================ */
.wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 70;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.55);
}
.wa svg { width: 30px; height: 30px; fill: #fff; }
.wa:hover { background: #1fb757; }
@media (max-width: 620px) { .wa { width: 50px; height: 50px; right: 12px; bottom: 12px; } .wa svg { width: 27px; height: 27px; } }
