/* =============================================================
   Go Home · Residencial El Marqués
   1. Tokens  2. Reset  3. Utilidades  4. Tipografía
   5. Componentes  6. Secciones  7. Efectos  8. Responsive
   ============================================================= */

/* ============ 1. TOKENS ============ */
:root {
  /* ---- PALETA ----
     Para usar los colores de tu logo, cambia sólo estas 3 líneas: */
  --accent:       #c05a2e;   /* color principal de marca (terracota) */
  --accent-deep:  #9c4522;   /* variante oscura del principal */
  --gold:         #b98a4b;   /* acento cálido secundario */

  --bg:      #f5f0e6;        /* crema */
  --bg-2:    #ece2d0;        /* arena */
  --paper:   #fffdf8;        /* tarjetas */
  --ink:     #221b15;        /* casi negro cálido */
  --ink-soft:#453b31;
  --ink-mute:#7a6f60;
  --line:    rgba(34, 27, 21, 0.14);

  --wa:      #25d366;        /* verde WhatsApp */
  --wa-deep: #12854a;
  --urgent:  #b3402a;        /* etiqueta de escasez */
  --ok:      #3d7a4e;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;

  --wrap: 1120px;
  --pad: clamp(1.15rem, 5vw, 2.5rem);
  --radius: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 18px 40px -22px rgba(34, 27, 21, 0.45);
}

/* ============ 2. RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); /* espacio para el botón flotante en móvil */
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.1; letter-spacing: -0.015em; font-weight: 600; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ============ 3. UTILIDADES ============ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 999;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ============ 4. TIPOGRAFÍA ============ */
h1 { font-family: var(--serif); }
h2 { font-family: var(--serif); font-size: clamp(1.5rem, 4.4vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 3vw, 1.4rem); }
h4 { font-size: 1.15rem; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .72rem;
  font-weight: 600; color: var(--accent-deep);
}
.lead { font-size: 1.08rem; color: var(--ink-soft); margin-top: .8rem; }
.section-sub { color: var(--ink-mute); margin-top: .5rem; }
main [id] { scroll-margin-top: 72px; }

/* ============ 5. COMPONENTES ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.25rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  border: 1px solid transparent; line-height: 1.1; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 1rem 1.5rem; font-size: 1rem; }
.btn-sm { padding: .5rem .85rem; font-size: .85rem; }
.btn-block { width: 100%; }

.btn-wa { background: var(--wa); color: #06371f; box-shadow: 0 14px 26px -14px rgba(18, 133, 74, .8); }
.btn-wa:hover { background: #21c15d; transform: translateY(-2px); }
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(34,27,21,.04); }

/* Ícono WhatsApp (sin librería) */
.wa-ico {
  width: 1.15em; height: 1.15em; flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: var(--wa-mask) center / contain no-repeat;
          mask: var(--wa-mask) center / contain no-repeat;
}
:root {
  --wa-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 2.1.55 4.05 1.6 5.77L2 22l4.45-1.68a9.86 9.86 0 0 0 5.59 1.73c5.46 0 9.91-4.45 9.91-9.91S17.5 2 12.04 2zm5.8 14.02c-.24.68-1.4 1.3-1.94 1.35-.5.05-1.12.24-3.62-.76-3.06-1.24-5.02-4.36-5.17-4.56-.15-.2-1.23-1.64-1.23-3.13s.78-2.22 1.06-2.53c.28-.3.6-.38.8-.38l.58.01c.19.01.44-.07.68.52.24.6.83 2.08.9 2.23.07.15.12.32.02.52-.1.2-.15.32-.3.5-.15.17-.31.39-.44.52-.15.15-.3.31-.13.61.17.3.76 1.25 1.63 2.03 1.12 1 2.07 1.31 2.37 1.46.3.15.47.12.65-.07.18-.2.75-.87.95-1.17.2-.3.4-.25.68-.15.28.1 1.76.83 2.06.98.3.15.5.22.57.35.07.12.07.72-.17 1.4z'/%3E%3C/svg%3E");
}

.badge {
  display: inline-block; padding: .32rem .7rem; border-radius: 999px;
  font-size: .74rem; font-weight: 600; letter-spacing: .02em; margin-bottom: .55rem;
}
.badge-urgent { background: rgba(179, 64, 42, .12); color: var(--urgent); }
.badge-soft { background: rgba(61, 122, 78, .12); color: var(--ok); }
.badge-sold { background: rgba(34,27,21,.1); color: var(--ink-mute); }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 240, 230, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.is-stuck { border-color: var(--line); background: rgba(245, 240, 230, .97); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 60px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 40px; width: auto; object-fit: contain; }
.site-footer .brand-logo { height: 36px; }
.site-nav { display: none; margin-left: auto; gap: 1.4rem; font-size: .92rem; font-weight: 500; }
.site-nav a:hover { color: var(--accent-deep); }
.header-inner .btn-wa { margin-left: auto; }
.site-nav + .btn-wa { margin-left: 0; }

/* ============ 6. HERO ============ */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: 100svh; padding: 76px 0 32px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(20, 14, 10, .82) 6%, rgba(20, 14, 10, .38) 46%, rgba(20, 14, 10, .28) 100%);
}
.hero-inner { position: relative; color: #fff; }
.hero-kicker {
  text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 600;
  color: #f4d9c6; margin-bottom: .9rem;
}
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.95rem, 6.6vw, 3.5rem); line-height: 1.08;
  max-width: 17ch; text-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.hero-title span { color: #ffd9a8; font-style: italic; white-space: nowrap; }
.hero-highlight {
  display: inline-block; margin-top: .95rem;
  font-weight: 700; font-size: clamp(.95rem, 3.6vw, 1.12rem); letter-spacing: .005em;
  color: #ffe0b8;
  background: rgba(18, 12, 8, .34);
  padding: .34rem .8rem; border-radius: 999px;
  border: 1px solid rgba(255, 217, 168, .4);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}
.hero-sub {
  margin-top: 1rem; max-width: 42ch; font-size: 1.02rem; color: #f5efe7;
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.hero-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hero-cta .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); }
.hero-note { margin-top: 1rem; font-size: .85rem; color: #e8dccf; }

/* ============ BANDAS / SECCIONES ============ */
.section { padding: clamp(3rem, 9vw, 5.5rem) 0; }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 640px; margin-bottom: 2rem; }
.section-head .eyebrow { display: block; margin-bottom: .5rem; }

.band { padding: clamp(2.8rem, 8vw, 4.5rem) 0; }
.band-infonavit { background: var(--ink); color: #f4ede2; }
.band-infonavit h2 { color: #fff; }
.band-infonavit .lead { color: #d9cfc0; }
.band-infonavit .btn-wa { margin-top: 1.4rem; }
.mini-benefits {
  list-style: none; margin: 1.6rem auto 0; max-width: 540px;
  display: grid; gap: .6rem; text-align: left; font-size: .92rem; color: #d9cfc0;
}
.mini-benefits li { padding-left: 1.4rem; position: relative; }
.mini-benefits li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: .6rem; height: .6rem;
  background: var(--gold); border-radius: 2px;
}
.mini-benefits strong { color: #fff; }

.band-rentar { background: var(--accent); color: #fff; }
.band-rentar h2 { color: #fff; }
.band-rentar .lead { color: #ffe9dc; }

.band-testimonios { background: var(--bg-2); padding: clamp(3rem, 9vw, 5rem) 0; }

/* ============ MODELOS ============ */
.sub-seccion {
  margin: 2.2rem 0 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-weight: 500;
}
.grid-modelos { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.modelo {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.modelo:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.modelo-img { aspect-ratio: 4 / 3; background: var(--bg-2); }
.modelo-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Carrusel de fotos ---- */
.carrusel { position: relative; aspect-ratio: 4 / 3; background: var(--bg-2); overflow: hidden; }
.carrusel-track {
  display: flex; height: 100%;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carrusel-track::-webkit-scrollbar { display: none; }
.carrusel-foto {
  flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover;
  scroll-snap-align: center; scroll-snap-stop: always;
  -webkit-user-drag: none; user-select: none;
}
.carrusel-flecha {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 253, 248, .92); color: var(--ink);
  display: none; align-items: center; justify-content: center;
  font-size: 1.4rem; line-height: 1; padding-bottom: 3px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
  transition: opacity .2s var(--ease);
}
.carrusel-flecha.prev { left: 8px; }
.carrusel-flecha.next { right: 8px; }
.carrusel-flecha[disabled] { opacity: .35; cursor: default; }
.carrusel-puntos {
  position: absolute; left: 0; right: 0; bottom: 8px; z-index: 2;
  display: flex; gap: 6px; justify-content: center; pointer-events: none;
}
.carrusel-puntos .carrusel-punto { pointer-events: auto; }
.carrusel-punto {
  width: 7px; height: 7px; padding: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(0, 0, 0, .18);
  transition: width .2s var(--ease), background .2s var(--ease);
}
.carrusel-punto.is-active { width: 18px; border-radius: 4px; background: #fff; }
.carrusel.is-single .carrusel-flecha,
.carrusel.is-single .carrusel-puntos { display: none; }
@media (hover: hover) and (pointer: fine) {
  .carrusel:not(.is-single) .carrusel-flecha { display: flex; }
}
.modelo-body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .3rem; }
.modelo-body h4 { font-family: var(--serif); font-weight: 600; }
.modelo-precio { font-size: 1.4rem; font-weight: 600; color: var(--accent-deep); font-family: var(--serif); }
.modelo-specs { font-size: .95rem; color: var(--ink-soft); }
.modelo-terreno { font-size: .82rem; color: var(--ink-mute); }
.modelo-body .btn { margin-top: .8rem; }
.modelo.is-sold { opacity: .72; }
.modelo.is-sold .modelo-precio { color: var(--ink-mute); }

.gancho {
  margin: 1.4rem 0 0; padding: 1.2rem 1.25rem; background: var(--paper);
  border: 1px dashed var(--accent); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: .9rem;
}
.gancho p { font-size: .98rem; }
.gancho .btn { align-self: flex-start; }

.incluye {
  list-style: none; margin-top: 2rem; display: grid; gap: .5rem .9rem;
  grid-template-columns: 1fr; font-size: .92rem; color: var(--ink-soft);
}
.incluye li { padding-left: 1.3rem; position: relative; }
.incluye li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: .5rem; height: .5rem;
  border: 1.5px solid var(--accent); border-radius: 50%;
}

/* ============ CRÉDITO ============ */
.creditos { list-style: none; display: grid; gap: .55rem; margin: 0 0 1.6rem; }
.creditos li {
  padding: .8rem 1rem; background: var(--paper); border: 1px solid var(--line);
  border-radius: 12px; font-size: .95rem;
}

/* ============ UBICACIÓN ============ */
.ubic-grid, .reyna-grid, .contacto-grid { display: grid; gap: 1.8rem; }
.ubic-media { display: grid; gap: .8rem; }
.ubic-media img { border-radius: var(--radius); object-fit: cover; aspect-ratio: 16 / 10; width: 100%; }
.ubic-media img.ubic-mapimg {
  aspect-ratio: auto; object-fit: contain; height: auto; width: 100%;
  border: 1px solid var(--line); background: #fff;
}
.ubic-text .btn { margin-top: 1.1rem; }

/* ============ REYNA ============ */
.reyna-photo {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-2); aspect-ratio: 4 / 5; max-width: 360px;
}
.reyna-photo img { width: 100%; height: 100%; object-fit: cover; }
.reyna-photo-fallback {
  position: absolute; inset: 0; display: none; align-items: flex-end; padding: 1rem;
  font-family: var(--serif); font-size: 1.1rem; color: var(--ink-mute);
  background: repeating-linear-gradient(45deg, var(--bg-2), var(--bg-2) 12px, #e6dcc8 12px, #e6dcc8 24px);
}
.reyna-photo.no-photo .reyna-photo-fallback { display: flex; }
.reyna-text p + p { margin-top: .9rem; }
.reyna-text .eyebrow { display: block; margin-bottom: .4rem; }

/* ============ TESTIMONIOS ============ */
.testimonios { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.testi {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem;
}
.testi blockquote { font-size: .98rem; color: var(--ink-soft); }
.testi blockquote::before { content: "\201C"; font-family: var(--serif); font-size: 2rem; color: var(--gold); line-height: 0; margin-right: .1rem; vertical-align: -0.4em; }
.testi figcaption { margin-top: .8rem; font-weight: 600; font-size: .9rem; color: var(--accent-deep); }

/* ============ CIERRE / FORM ============ */
.section-cierre { background: var(--ink); color: #f4ede2; }
.section-cierre h2 { color: #fff; margin-bottom: .8rem; }
.section-cierre .cierre-text p { color: #d9cfc0; }
.section-cierre .eyebrow { color: var(--gold); display: block; margin-bottom: .5rem; }
.cierre-text .btn { margin-top: 1.3rem; }
.band-rentar h2, .band-infonavit h2 { margin-bottom: .2rem; }
.reyna-text h2, .ubic-text h2 { margin-bottom: .7rem; }

.form-card {
  background: var(--paper); color: var(--ink); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.form-card h3 { font-family: var(--serif); }
.form-intro { color: var(--ink-mute); font-size: .9rem; margin-bottom: 1.1rem; }
.lead-form { display: grid; gap: .85rem; }
.lead-form label { display: grid; gap: .3rem; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.lead-form input, .lead-form select, .lead-form textarea {
  font: inherit; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); width: 100%;
}
.lead-form textarea { resize: vertical; min-height: 70px; line-height: 1.5; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px;
}
.form-nota { font-weight: 400; font-size: .78rem; color: var(--ink-mute); line-height: 1.4; }
.form-status { font-size: .88rem; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--urgent); }
.form-alt { font-size: .84rem; color: var(--ink-mute); }
.form-alt a { color: var(--accent-deep); font-weight: 600; text-decoration: underline; }

/* ============ FOOTER ============ */
.site-footer { background: var(--bg-2); padding: 2.5rem 0 3rem; font-size: .9rem; }
.footer-inner { display: grid; gap: 1.2rem; }
.footer-brand p { color: var(--ink-mute); margin-top: .5rem; }
.footer-contact { display: grid; gap: .55rem; justify-items: start; }
.footer-contact a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; }
.footer-contact a:hover { color: var(--accent-deep); }
.contact-ico { width: 1.15em; height: 1.15em; flex: 0 0 auto; fill: currentColor; }
.legal { margin-top: 1.8rem; font-size: .76rem; color: var(--ink-mute); line-height: 1.5; }

/* Ocultar insignias de terceros del hosting de pruebas (Netlify, etc.) */
a[href*="netlify.com"],
a[href*="app.netlify.com"],
#netlify-badge, .netlify-badge, [class*="netlify-badge"],
[data-netlify-deploy-badge] {
  display: none !important;
}

/* ============ BOTÓN FLOTANTE WA ============ */
.wa-float {
  position: fixed; right: 14px; z-index: 900;
  bottom: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  background: var(--wa); color: #06371f; font-weight: 700; font-size: .9rem;
  width: 54px; height: 54px; border-radius: 50%;
  box-shadow: 0 14px 26px -10px rgba(0,0,0,.55);
}
.wa-float .wa-ico { width: 1.7em; height: 1.7em; }
.wa-float .wa-float-txt { display: none; }
.wa-float:active { transform: translateY(1px); }
@media (min-width: 560px) {
  .wa-float { width: auto; height: auto; border-radius: 999px; padding: .7rem 1.15rem; }
  .wa-float .wa-ico { width: 1.35em; height: 1.35em; }
  .wa-float .wa-float-txt { display: inline; }
}

/* ============ MODAL CALIFICADOR ============ */
.qmodal[hidden] { display: none; }
.qmodal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
}
.qmodal-backdrop {
  position: absolute; inset: 0;
  background: rgba(12, 8, 5, .82);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.qmodal-card {
  position: relative; z-index: 1;
  width: 100%; max-width: 430px; max-height: 92vh;
  border-radius: 18px; overflow: hidden;
  background: #17110c;               /* base opaca por si la foto tarda */
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .6);
  animation: qmodalCard .22s var(--ease);
}
@keyframes qmodalCard { from { transform: translateY(16px); } to { transform: none; } }
.qmodal-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qmodal-tint {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 12, 8, .82) 0%, rgba(18, 12, 8, .92) 55%, rgba(18, 12, 8, .95) 100%);
}
.qmodal-x {
  position: absolute; top: 8px; right: 10px; z-index: 3;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0, 0, 0, .38); color: #fff;
  font-size: 1.6rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.qmodal-x:hover { background: rgba(0, 0, 0, .6); }
.qmodal-inner {
  position: relative; z-index: 2;
  max-height: 92vh; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 42px 18px 20px; color: #fff;
}
.qmodal-title { font-family: var(--serif); font-weight: 600; font-size: 1.32rem; color: #fff; }
.qmodal-sub { margin-top: .35rem; font-size: .88rem; color: #e8dccf; }
.qmodal-form { margin-top: 1.1rem; display: grid; gap: 1rem; }
.qmodal-q { border: 0; padding: 0; margin: 0; display: grid; gap: .4rem; }
.qmodal-q legend { font-weight: 600; font-size: .9rem; margin-bottom: .3rem; padding: 0; }
.qmodal-q label {
  display: flex; align-items: center; gap: .6rem; font-size: .9rem;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  padding: .58rem .7rem; border-radius: 10px; cursor: pointer;
  transition: background .15s var(--ease), border-color .15s var(--ease);
}
.qmodal-q label.is-picked { background: rgba(37, 211, 102, .24); border-color: var(--wa); }
.qmodal-q label:has(input:checked) { background: rgba(37, 211, 102, .24); border-color: var(--wa); }
.qmodal-q input[type="radio"] { width: 1.05em; height: 1.05em; flex: 0 0 auto; accent-color: var(--wa); margin: 0; }
.qmodal-send { margin-top: .2rem; }
.qmodal-send:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.qmodal-send:disabled:hover { background: var(--wa); transform: none; }
body.qmodal-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .qmodal-card { animation: none; }
}

/* ============ 7. EFECTOS ============ */
[data-anim="on"] .reveal { opacity: 0; transform: translateY(20px); }
[data-anim="on"] .reveal.in {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

/* ============ 8. RESPONSIVE ============ */
@media (min-width: 540px) {
  .grid-modelos { grid-template-columns: repeat(2, 1fr); }
  .incluye { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 720px) {
  .creditos { grid-template-columns: repeat(2, 1fr); }
  .testimonios { grid-template-columns: repeat(3, 1fr); }
  .ubic-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .reyna-grid { grid-template-columns: 340px 1fr; align-items: center; }
  .contacto-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .hero-cta { flex-wrap: nowrap; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .wa-float { display: none; }
  .site-nav { display: inline-flex; }
  .header-inner .btn-wa { margin-left: 0; }
  .grid-modelos { grid-template-columns: repeat(3, 1fr); }
  .grid-modelos[data-grid="iria"] { grid-template-columns: repeat(3, 1fr); max-width: 760px; }
  .incluye { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-anim="on"] .reveal { opacity: 1; transform: none; }
  .modelo:hover, .btn:hover { transform: none; }
}
