/* Andrea Villaseñor · Casas en Houston · estilos compartidos ES/EN. Verde profundo, arena y terracota. */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: #fff; color: var(--green); padding: 12px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 8px; }
:focus-visible { outline-color: var(--green); }
h1, h2, h3 { font-family: var(--font-display), Georgia, serif; font-weight: 600; color: var(--green); letter-spacing: -.005em; }
h1 { font-weight: 600; }
h2 { font-size: clamp(2.2rem, 7.5vw, 3.6rem); line-height: 1; }
h3 { font-size: 1.5rem; line-height: 1.1; }
.kicker { color: var(--terra-text); font-size: .75rem; letter-spacing: .18em; }
.kicker::before { content: ''; width: 22px; height: 2px; background: var(--terra); }
.kicker-l { color: #F2B99C; }
.lead { color: var(--muted); }
.title .lead { margin-top: 14px; }
.note { margin-top: 14px; color: var(--muted); font-size: .8125rem; }
.btn { min-height: 52px; letter-spacing: .01em; }
.btn-sm { min-height: 46px; padding: 0 16px; font-size: .9375rem; }
.btn-main { background: var(--terra); color: #fff; }
.btn-line { border: 1.5px solid var(--green); color: var(--green); background: transparent; }
.btn-line-w { border: 1.5px solid rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-ghost { background: transparent; border: 1.5px solid var(--line-strong); color: var(--green); }
@media (hover: hover) and (pointer: fine) {
  .btn-main:hover { filter: none; background: #9A4423; transform: translateY(-2px); }
  .btn-line:hover { background: var(--green); color: #fff; }
  .btn-line-w:hover { background: #fff; color: var(--green); }
  .btn-ghost:hover { background: var(--sand); }
}

/* encabezado */
.logo { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.logo img { flex: none; border-radius: 10px; }
.logo-txt { display: flex; flex-direction: column; line-height: 1; font-size: 1.375rem; font-weight: 600; color: var(--green); white-space: nowrap; }
.logo-txt small { font-family: var(--font-body), sans-serif; font-weight: 700; font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav a { padding: 10px 0; font-weight: 600; font-size: .9rem; }
.head-r { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-grid; place-items: center; min-width: 48px; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--line-strong); border-radius: 999px; font-weight: 800; font-size: .8125rem; letter-spacing: .08em; text-decoration: none; color: var(--green); }
.hide-sm { display: none; }
@media (hover: hover) and (pointer: fine) { .lang:hover { background: var(--green); color: #fff; } }
.site-head { background: rgba(255,255,255,.92); }

/* portada */
.hero { position: relative; padding: 0; background: var(--green); color: #fff; overflow: hidden; }
.hero-media { position: relative; }
.hero-media picture, .hero-media img { display: block; width: 100%; }
.hero-media img { height: auto; aspect-ratio: 900 / 1000; object-fit: cover; object-position: 50% 8%; }
.js .hero-media img { transform: scale(1.08); animation: ph-in 1800ms var(--ease-out) 100ms forwards; }
@keyframes ph-in { to { transform: none; } }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, #1F3A34 4%, rgba(31,58,52,.55) 28%, rgba(31,58,52,0) 55%); pointer-events: none; }
.ilus { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(255,255,255,.94); color: var(--ink); border-radius: 999px; padding: 4px 10px; font-size: .75rem; font-weight: 700; }
.hero-grid { position: relative; z-index: 2; margin-top: -150px; padding-bottom: 44px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 11.5vw, 4.4rem); line-height: .98; margin-top: 12px; }
.hero .kicker { color: #F2B99C; }
.hero .lead { color: #E6EEEA; margin-top: 16px; font-size: 1.0625rem; }
.hero-cta { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.trust { list-style: none; padding: 0; margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: .8125rem; font-weight: 600; }
.trust svg { width: 16px; height: 16px; fill: none; stroke: #F2B99C; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* quiz */
.quiz { background: var(--sand); }
.quiz-grid { display: grid; gap: 28px; }
.quiz-intro h2 { margin: 12px 0 14px; }
.ticks { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 600; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .38em; width: 14px; height: 8px; border-left: 2.5px solid var(--terra); border-bottom: 2.5px solid var(--terra); transform: rotate(-45deg); }
.qz { background: #fff; border-radius: 26px; padding: 22px 18px 24px; box-shadow: 0 22px 60px rgba(31,58,52,.14); border: 1px solid var(--line); }
.qz-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.qz-step { color: var(--terra-text); font-weight: 800; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.qz-name { color: var(--muted); font-size: .875rem; }
.qz-bar { height: 6px; border-radius: 6px; background: var(--sand); overflow: hidden; }
.qz-bar i { display: block; height: 100%; width: 100%; background: var(--terra); transform-origin: left; transform: scaleX(.14); transition: transform 500ms var(--ease-out); }
.qz-panels { margin-top: 22px; min-height: 280px; }
.qz-panel { border: 0; margin: 0; padding: 0; min-width: 0; }
.qz-panel:not([hidden]) { animation: step-in 440ms var(--ease-out) both; }
.qz-panel.back:not([hidden]) { animation-name: step-in-back; }
@keyframes step-in { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes step-in-back { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
.qz-panel legend, .bk legend { font-family: var(--font-display), serif; font-size: 1.75rem; font-weight: 600; color: var(--green); line-height: 1.1; margin-bottom: 6px; padding: 0; }
.qz-panel legend:focus { outline: none; }
.qz-sub { color: var(--muted); font-size: .875rem; margin-bottom: 12px; }
.opts { display: grid; gap: 10px; margin-top: 14px; }
.opts label { position: relative; display: block; }
.opts input, .chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opts label > span { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 16px; border: 1.5px solid var(--line-strong); border-radius: 16px; background: #fff; font-weight: 700; line-height: 1.25; transition: background-color 180ms ease, border-color 180ms ease, transform 160ms var(--ease-out), box-shadow 180ms ease; }
.opts label > span::before { content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); background: #fff; transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.opts.multi label > span::before { border-radius: 7px; }
.opts input:checked + span { border-color: var(--green); background: var(--sand-2); box-shadow: 0 0 0 1px var(--green) inset; }
.opts input:checked + span::before { background: var(--terra); border-color: var(--terra); box-shadow: 0 0 0 4px #fff inset; }
.opts.multi input:checked + span::before { box-shadow: none; background: var(--terra) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.500' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.opts input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 3px; }
.opts input:active + span { transform: scale(.98); }
.opts.two { grid-template-columns: 1fr 1fr; }
@media (hover: hover) and (pointer: fine) { .opts input:not(:checked):hover + span { background: var(--sand-2); border-color: var(--green); } }
.field { margin-top: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 8px; font-size: .9375rem; }
.field input[type=text], .field input[type=tel] { width: 100%; min-height: 54px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); font: inherit; }
.field input[aria-invalid="true"] { border-color: #B3261E; box-shadow: 0 0 0 3px rgba(179,38,30,.18); }
.resumen { margin: 14px 0 0; display: grid; }
.resumen div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line-strong); }
.resumen dt { color: var(--muted); } .resumen dd { margin: 0; font-weight: 700; text-align: right; }
.qz-err, .bk-err { min-height: 1.4em; margin-top: 12px; color: #B3261E; font-weight: 700; font-size: .9375rem; }
.qz-done { margin-top: 10px; padding: 14px 16px; border-radius: 14px; background: var(--sand); color: var(--green); font-weight: 700; }
.qz-nav { display: flex; gap: 10px; margin-top: 10px; }
.qz-nav .btn { flex: 1; }
.qz-nav #qz-back { flex: 0 0 auto; }
.qz-nav [hidden] { display: none; }

/* casas */
.homes { display: grid; gap: 20px; }
.home { background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 8px 28px rgba(31,58,52,.07); display: flex; flex-direction: column; }
.home figure { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.home figure img { width: 100%; height: 100%; object-fit: cover; }
.home figcaption { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.94); color: var(--ink); border-radius: 999px; padding: 4px 10px; font-size: .75rem; font-weight: 700; }
.home-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.home-zone { color: var(--terra-text); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.home h3 { margin: 6px 0 8px; font-size: 1.75rem; }
.home-price { font-family: var(--font-display), serif; font-size: 2rem; font-weight: 700; color: var(--ink); line-height: 1; }
.home-price small { font-family: var(--font-body), sans-serif; font-size: .75rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; margin-left: 6px; text-transform: uppercase; }
.home-specs { margin: 10px 0 18px; color: var(--muted); font-weight: 600; font-size: .9375rem; }
.home-btns { margin-top: auto; display: grid; gap: 8px; }
@media (hover: hover) and (pointer: fine) {
  .home { transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
  .home:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(31,58,52,.16); }
  .home figure img { transition: transform 700ms var(--ease-out); }
  .home:hover figure img { transform: scale(1.06); }
}

/* visita */
.visita { background: var(--green); color: #fff; }
.visita h2, .visita h3 { color: #fff; }
.visita .lead { color: #D7E3DE; }
.visita :focus-visible { outline-color: #fff; }
.visita-grid { display: grid; gap: 32px; }
.visita-intro h2 { margin: 12px 0 14px; }
.hrs { margin-top: 28px; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); }
.hrs h3 { font-size: 1.25rem; margin-bottom: 8px; font-family: var(--font-body), sans-serif; font-weight: 700; }
.hrs dl { margin: 0; }
.hrs div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.25); }
.hrs div:last-child { border: 0; }
.hrs dt { color: #D7E3DE; } .hrs dd { margin: 0; font-weight: 700; }
.bk { background: #fff; color: var(--ink); border-radius: 26px; padding: 22px 18px 24px; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.bk fieldset { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.bk legend { font-size: 1.375rem; margin-bottom: 10px; }
.bk .note { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.days { display: grid; grid-template-columns: repeat(5, 1fr); }
.chips.hours { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); }
.chips label { position: relative; display: block; }
.chips input:disabled { cursor: not-allowed; }
.chips label > span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; padding: 6px 14px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff; font-weight: 700; font-size: .9375rem; line-height: 1.15; text-align: center; transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 160ms var(--ease-out); }
.chips label > span em { font-style: normal; font-weight: 600; font-size: .6875rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.chips label > span strong { font-size: 1.125rem; }
.chips input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chips input:checked + span em { color: #D7E3DE; }
.chips input:disabled + span { opacity: .4; }
.chips input:focus-visible + span { outline: 3px solid var(--terra); outline-offset: 3px; }
.chips input:active:not(:disabled) + span { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .chips input:not(:checked):not(:disabled):hover + span { background: var(--sand-2); border-color: var(--green); } }
.hint { grid-column: 1 / -1; color: var(--muted); }
.bk-sum { padding: 12px 14px; border-radius: 12px; background: var(--sand-2); font-weight: 600; font-size: .9375rem; }
.bk-send { width: 100%; margin-top: 12px; }
.bk-send[aria-disabled="true"] { background: #DCD5C8; color: #4A4A44; cursor: not-allowed; }

/* guía */
.guia { background: var(--sand); }
.guia-grid { display: grid; gap: 32px; align-items: center; }
.guia-fig { margin: 0; position: relative; border-radius: 26px; overflow: hidden; background: var(--green); }
.guia-fig img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.guia-fig figcaption { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.94); border-radius: 999px; padding: 4px 10px; font-size: .75rem; font-weight: 700; }
.guia .title { margin-bottom: 22px; }
.pasos { list-style: none; padding: 0; display: grid; gap: 16px; margin-bottom: 26px; }
.pasos li { display: flex; gap: 16px; align-items: flex-start; }
.p-n { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: #F2B99C; display: grid; place-items: center; font-family: var(--font-display), serif; font-size: 1.375rem; font-weight: 700; }
.pasos h3 { font-size: 1.5rem; margin-bottom: 3px; }
.pasos p { color: var(--muted); }

.sobre-grid { display: grid; gap: 28px; align-items: center; }
.sobre-fig { margin: 0; position: relative; border-radius: 200px 200px 24px 24px; overflow: hidden; background: var(--sand); max-width: 400px; width: 88%; }
.sobre-fig img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.sobre-fig .ilus { top: auto; bottom: 14px; right: 14px; }
.sobre-fig figcaption { position: absolute; left: 14px; bottom: 14px; background: var(--green); color: #fff; border-radius: 999px; padding: 6px 14px; font-size: .875rem; }
.sobre-copy h2 { margin: 12px 0 14px; }
.tags { list-style: none; padding: 0; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 14px; border-radius: 999px; background: var(--sand); color: var(--green); font-weight: 700; font-size: .875rem; }

/* zonas y faq */
.zonas { background: var(--sand-2); }
.zgrid { list-style: none; padding: 0; display: grid; gap: 12px; }
.zgrid li { padding: 20px; background: #fff; border-radius: 18px; border: 1px solid var(--line); border-top: 4px solid var(--terra); }
.zgrid p { color: var(--muted); margin-top: 4px; }
.faq-wrap { max-width: 820px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; }
.faq-list summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 12px 18px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; flex: none; width: 11px; height: 11px; border-right: 2.5px solid var(--terra); border-bottom: 2.5px solid var(--terra); transform: rotate(45deg) translateY(-2px); transition: transform 240ms var(--ease-out); }
.faq-list details[open] summary::after { transform: rotate(-135deg); }
.faq-list details p { padding: 0 18px 18px; color: var(--muted); }

/* pie */
.foot { background: var(--ink); color: #CBD5D1; border: 0; text-align: left; padding: 40px 0 110px; font-size: .875rem; }
.foot a { color: #fff; }
.foot .logo-txt { color: #fff; } .foot .logo-txt small { color: #B8C4BF; }
.foot-in { display: grid; gap: 18px; justify-items: start; }
.foot :focus-visible { outline-color: #fff; }
.wa-bar { position: fixed; left: 16px; right: 76px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 14; box-shadow: 0 8px 24px rgba(31,58,52,.35); }
.to-top { background: var(--green); color: #fff; }

@media (min-width: 600px) {
  .hero-cta { flex-direction: row; flex-wrap: wrap; }
  .hide-sm { display: inline-flex; }
  .homes { grid-template-columns: repeat(2, 1fr); }
  .zgrid { grid-template-columns: repeat(2, 1fr); }
  .qz, .bk { padding: 30px; }
  .home-btns { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  section { padding: 110px 0; }
  .hero { padding: 0; min-height: 720px; display: grid; }
  .hero-media { position: absolute; inset: 0; }
  .hero-media picture, .hero-media img { height: 100%; }
  .hero-media img { aspect-ratio: auto; object-position: 70% 25%; }
  .hero-media::after { background: linear-gradient(to right, #1F3A34 6%, rgba(31,58,52,.86) 36%, rgba(31,58,52,0) 66%); }
  .hero-grid { margin-top: 0; padding-bottom: 0; align-self: center; width: 100%; }
  .hero-copy { max-width: 640px; padding: 90px 0; }
  .hero h1 { font-size: clamp(3.4rem, 5vw, 4.7rem); }
  .ilus { top: auto; bottom: 16px; right: 16px; }
  .quiz-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
  .quiz-intro { position: sticky; top: 110px; }
  .opts.two { grid-template-columns: 1fr 1fr; }
  .opts.zones { grid-template-columns: 1fr 1fr; }
  .homes { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .home-btns { grid-template-columns: 1fr; }
  .visita-grid { grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
  .visita-intro { position: sticky; top: 110px; }
  .guia-grid { grid-template-columns: .9fr 1.1fr; gap: 80px; }
  .guia-fig { position: sticky; top: 110px; }
  .sobre-grid { grid-template-columns: .7fr 1.3fr; gap: 88px; }
  .sobre { padding-top: 40px; }
  .zgrid { grid-template-columns: repeat(5, 1fr); }
  .wa-bar { display: none; }
  .foot { padding-bottom: 44px; }
  .foot-in { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero-media img { animation: none; transform: none; }
  .qz-panel:not([hidden]) { animation: none; }
  .qz-bar i, .faq-list summary::after, .opts label > span, .chips label > span { transition: none; }
}

/* columnas únicas que no se salen en celular */
.quiz-grid, .visita-grid, .guia-grid, .sobre-grid, .homes, .zgrid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .homes, .zgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .quiz-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .visita-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .guia-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .sobre-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
  .homes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .zgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.wa-bar { opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out); }
.wa-bar.is-on { opacity: 1; transform: none; pointer-events: auto; }
