/*
Theme Name: CasasMH
Theme URI: https://casasmh.cl
Author: Claudio
Description: Tema custom para casasmh.cl — constructora premium llave en mano
Version: 1.5.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.2
License: Proprietary
Text Domain: casasmh
*/

/* ── Variables ─────────────────────────────────────────────────────────── */
:root {
  --navy:   #0A1C33;
  --navy2:  #0E2745;
  --gold:   #E5A02C;
  --gold2:  #C9822A;
  --cream:  #F5F3EF;
  --text:   #16233A;
  --muted:  #5C6B80;
  --muted2: #8494A6;
  --sand:   #DDD8CF;
  --b1: rgba(14,39,69,.10);
  --b2: rgba(14,39,69,.14);
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*  { box-sizing: border-box; }
html, body { overflow-x: hidden; }
body { margin: 0; background: var(--cream); color: var(--text);
       font-family: 'Barlow', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a  { color: var(--navy2); text-decoration: none; }
a:hover { color: var(--gold2); }
h1,h2,h3,h4 { font-family: 'Oswald', sans-serif; margin: 0; letter-spacing: -.01em; }
img { display: block; max-width: 100%; }
button { font-family: 'Barlow', system-ui, sans-serif; cursor: pointer; border: none; }
::selection { background: var(--gold); color: var(--navy); }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ── Top bar ────────────────────────────────────────────────────────────── */
.top-bar { background: var(--navy); color: #C7D2E0; font-size: 12.5px; letter-spacing: .04em; }
.top-bar .wrap { padding-top: 9px; padding-bottom: 9px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.top-bar-l { display: flex; gap: 22px; flex-wrap: wrap; }
.top-bar-r { display: flex; gap: 20px; flex-wrap: wrap; }
.top-bar a { color: #fff; }
.gold { color: var(--gold); }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 60;
  background: rgba(245,243,239,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--b1); }
.site-header .wrap { padding-top: 10px; padding-bottom: 10px;
  display: flex; align-items: center; gap: 32px; }
.site-header .custom-logo { display: block; width: 104px; height: auto; }
.site-nav { display: flex; gap: 26px; margin-left: auto;
  font-size: 13.5px; font-weight: 600; letter-spacing: .08em; }
.site-nav li { list-style: none; }
.site-nav a { color: var(--navy2); }
.site-nav a:hover { color: var(--gold2); }
.btn-cta { background: var(--gold); color: var(--navy); font-family: 'Oswald', sans-serif;
  font-weight: 600; font-size: 13.5px; letter-spacing: .06em; padding: 11px 18px;
  border-radius: 4px; white-space: nowrap; }
.btn-cta:hover { background: var(--gold2); color: var(--navy); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; background: var(--navy); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.hero-overlay { position: absolute; inset: 0;
  background: linear-gradient(100deg,#0A1C33 8%,rgba(10,28,51,.86) 42%,rgba(10,28,51,.25) 78%); }
.hero-inner { position: relative; max-width: 1240px; margin: 0 auto; padding: 104px 24px 92px; }
.hero-box { max-width: 660px; animation: fadeUp .7s ease both; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(229,160,44,.55); color: var(--gold);
  font-size: 12px; font-weight: 600; letter-spacing: .14em; padding: 7px 13px; border-radius: 3px; }
.hero h1 { font-size: 60px; line-height: 1.02; font-weight: 700; color: #fff; margin: 22px 0 0; text-wrap: balance; }
.hero h1 span { color: var(--gold); }
.hero-sub { font-size: 19px; line-height: 1.6; color: #D5DDE8; margin: 20px 0 0; max-width: 560px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.btn-gold { background: var(--gold); color: var(--navy); font-family: 'Oswald', sans-serif;
  font-weight: 600; font-size: 15px; letter-spacing: .05em; padding: 15px 26px; border-radius: 4px; display: inline-block; }
.btn-gold:hover { background: var(--gold2); color: var(--navy); }
.btn-ghost { border: 1px solid rgba(255,255,255,.45); color: #fff; background: transparent; font-family: 'Oswald', sans-serif;
  font-weight: 500; font-size: 15px; letter-spacing: .05em; padding: 15px 26px; border-radius: 4px; display: inline-block; }
.btn-ghost:hover { border-color: rgba(255,255,255,.7); }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 44px;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,.16); }
.stat-val { font-family: 'Oswald', sans-serif; font-size: 28px; font-weight: 600; color: #fff; }
.stat-key { font-size: 12.5px; letter-spacing: .1em; color: #9FB0C4; }

/* ── Trust bar ──────────────────────────────────────────────────────────── */
.trust-bar { background: #fff; border-bottom: 1px solid var(--b1); }
.trust-bar .wrap { padding-top: 22px; padding-bottom: 22px;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.trust-title { font-family: 'Oswald', sans-serif; font-size: 14.5px; font-weight: 600;
  letter-spacing: .04em; color: var(--navy2); }
.trust-desc { font-size: 13px; color: var(--muted); }

/* ── Section header ─────────────────────────────────────────────────────── */
.eyebrow { font-family: 'Oswald', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: .18em; color: var(--gold2); }
.s-title { font-size: 44px; font-weight: 700; color: var(--navy2); margin: 8px 0 0; }
.s-sub { font-size: 16.5px; color: var(--muted); margin: 10px 0 0; max-width: 620px; }

/* ── Models section ─────────────────────────────────────────────────────── */
.models-sec { max-width: 1240px; margin: 0 auto; padding: 72px 24px 48px; scroll-margin-top: 80px; }
.models-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.models-count { font-family: 'Oswald', sans-serif; font-size: 14px; letter-spacing: .06em;
  color: var(--navy2); background: #fff; border: 1px solid var(--b2); padding: 10px 16px; border-radius: 4px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.filter-btn { background: #fff; color: var(--navy2); border: 1px solid rgba(14,39,69,.16);
  font-size: 13.5px; font-weight: 600; letter-spacing: .05em; padding: 10px 16px; border-radius: 999px;
  cursor: pointer; transition: background .15s, color .15s; }
.filter-btn.is-active { background: var(--navy2); color: #fff; border-color: var(--navy2); }
.models-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(320px,1fr)); gap: 26px; margin-top: 34px; }

/* ── Model card ─────────────────────────────────────────────────────────── */
.card { background: #fff; border: 1px solid var(--b1); border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(14,39,69,.45); }
.card-img { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--sand); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.badge-linea { position: absolute; top: 12px; left: 12px; background: rgba(10,28,51,.9);
  color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .12em;
  padding: 6px 10px; border-radius: 3px; white-space: nowrap; }
.badge-tour { position: absolute; bottom: 12px; right: 12px; background: rgba(255,255,255,.94);
  color: var(--navy2); font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
  padding: 6px 10px; border-radius: 3px; white-space: nowrap; }
.card-body { padding: 20px 20px 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-name { font-size: 26px; font-weight: 600; color: var(--navy2); line-height: 1.05; }
.card-short { font-size: 14.5px; line-height: 1.5; color: var(--muted); margin: 0; }
.card-specs { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px;
  margin-top: auto; padding: 14px 0; border-top: 1px solid rgba(14,39,69,.09); }
.spec-v { font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 600; color: var(--navy2); }
.spec-k { font-size: 10.5px; letter-spacing: .09em; color: var(--muted2); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  flex-wrap: wrap; background: var(--gold); color: var(--navy); padding: 14px 20px; text-decoration: none; }
.card-foot:hover { background: var(--gold2); color: var(--navy); }
.card-price { font-size: 13.5px; font-weight: 600; display:flex; flex-direction:column; gap:1px; }
.card-price strong { font-family: 'Oswald', sans-serif; font-size: 19px; }
.price-was { color: var(--navy); opacity:.55; font-size:12px; text-decoration:line-through; }
.price-now { font-family:'Oswald',sans-serif; font-size:19px; font-weight:700; }
.card-ver { font-family: 'Oswald', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .08em; }

/* ── EETT / Líneas ──────────────────────────────────────────────────────── */
.lineas-sec { max-width: 1240px; margin: 0 auto; padding: 64px 24px; scroll-margin-top: 80px; }
.lineas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.linea-card { border-radius: 10px; padding: 30px; }
.linea-card.premium { background: var(--navy2); }
.linea-card.plus { background: #fff; border: 1px solid var(--b2); }
.linea-card h3 { font-size: 28px; font-weight: 600; }
.linea-card.premium h3 { color: var(--gold); }
.linea-card.plus h3 span { color: var(--gold2); }
.linea-card p { font-size: 15px; line-height: 1.6; margin: 10px 0 20px; }
.linea-card.premium p { color: #C7D2E0; }
.linea-card.plus p { color: var(--muted); }
.linea-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; font-size: 13.5px; line-height: 1.5; }
.lk { font-weight: 700; letter-spacing: .04em; }
.linea-card.premium .lk { color: var(--gold); }
.linea-card.plus .lk { color: var(--navy2); }
.linea-card.premium .lv { color: #C7D2E0; }
.linea-card.plus .lv { color: var(--muted); }

/* ── Process ────────────────────────────────────────────────────────────── */
.process-sec { background: #fff; border-top: 1px solid var(--b1); border-bottom: 1px solid var(--b1); }
.process-sec .wrap { padding-top: 60px; padding-bottom: 60px; }
.process-sec h2 { font-size: 36px; font-weight: 700; color: var(--navy2); }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-top: 26px; }
.step { border-top: 3px solid var(--gold); padding-top: 16px; }
.step-n { font-family: 'Oswald', sans-serif; font-size: 34px; font-weight: 600; color: var(--gold); }
.step-t { font-size: 20px; font-weight: 600; color: var(--navy2); margin-top: 4px; }
.step-d { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin: 8px 0 0; }

/* ── About ──────────────────────────────────────────────────────────────── */
.about-sec { max-width: 1240px; margin: 0 auto; padding: 70px 24px; scroll-margin-top: 80px;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; }
.about-img { border-radius: 10px; overflow: hidden; background: var(--sand); min-height: 320px; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-title { font-size: 40px; font-weight: 700; color: var(--navy2); margin: 8px 0 0; }
.about-text { font-size: 16px; line-height: 1.65; color: #3D4C61; margin: 16px 0 0; }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.about-card { background: #fff; border: 1px solid var(--b1); border-radius: 8px; padding: 16px; }
.about-card-t { font-family: 'Oswald', sans-serif; font-size: 15px; font-weight: 600; color: var(--navy2); }
.about-card-d { font-size: 13.5px; color: var(--muted); }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq-sec { background: #fff; border-top: 1px solid var(--b1); }
.faq-sec .wrap { max-width: 900px; padding-top: 64px; padding-bottom: 64px; }
.faq-sec h2 { font-size: 38px; font-weight: 700; color: var(--navy2); margin: 8px 0 24px; }
.faq-item { border-bottom: 1px solid var(--b2); }
.faq-btn { width: 100%; background: none; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; padding: 18px 0; text-align: left; }
.faq-q { font-family: 'Oswald', sans-serif; font-size: 19px; font-weight: 500; color: var(--navy2); }
.faq-sign { font-family: 'Oswald', sans-serif; font-size: 22px; color: var(--gold2); flex-shrink: 0; }
.faq-a { font-size: 15.5px; line-height: 1.65; color: #3D4C61; margin: 0 0 20px; max-width: 760px; display: none; }
.faq-item.open .faq-a { display: block; }

/* ── Contact ────────────────────────────────────────────────────────────── */
.contact-sec { background: var(--navy); margin-top: 72px; scroll-margin-top: 80px; }
.contact-in { max-width: 1240px; margin: 0 auto; padding: 64px 24px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.contact-title { font-size: 44px; font-weight: 700; color: #fff; line-height: 1.02; }
.contact-title span { color: var(--gold); }
.contact-sub { font-size: 17px; line-height: 1.6; color: #C7D2E0; margin: 16px 0 0; max-width: 520px; }
.contact-channels { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.contact-wa { display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px; padding: 16px 18px; color: #fff; }
.contact-wa:hover { background: rgba(255,255,255,.10); color: #fff; }
.wa-num { font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 600; color: var(--gold); }
.wa-label { font-size: 13.5px; color: #9FB0C4; }
.social-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.social-item { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px; padding: 14px; color: #fff; font-size: 13.5px; text-decoration: none; display: block; }
.social-item:hover { background: rgba(255,255,255,.12); }
.social-item strong { color: var(--gold); display: block; }
.contact-form { background: #fff; border-radius: 12px; padding: 28px;
  display: flex; flex-direction: column; gap: 14px; }
.contact-form h3 { font-size: 24px; font-weight: 600; color: var(--navy2); }
.contact-form label { font-size: 13px; font-weight: 600; color: var(--muted);
  display: flex; flex-direction: column; gap: 6px; }
.contact-form input,
.contact-form select,
.contact-form textarea { font-family: 'Barlow', system-ui, sans-serif; font-size: 15px;
  padding: 12px; border: 1px solid rgba(14,39,69,.18); border-radius: 6px; color: var(--text); background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-submit { background: var(--gold); color: var(--navy); font-family: 'Oswald', sans-serif;
  font-size: 15px; font-weight: 600; letter-spacing: .06em; padding: 15px; border-radius: 6px;
  border: none; cursor: pointer; width: 100%; margin-top: 4px; }
.btn-submit:hover { background: var(--gold2); }
.form-legal { font-size: 12px; color: var(--muted2); margin: 0; }
.form-ok { background: var(--gold); color: var(--navy); padding: 12px; border-radius: 6px;
  font-weight: 600; font-size: 14px; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid rgba(255,255,255,.12); }
.footer-in { max-width: 1240px; margin: 0 auto; padding: 36px 24px 44px;
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 36px; }
.footer-logo img { display: block; width: 132px; height: auto; }
.footer-tagline { font-size: 13.5px; line-height: 1.6; color: #8FA0B5; margin: 10px 0 0; }
.footer-nav-label { font-family: 'Oswald', sans-serif; font-size: 12.5px; font-weight: 600;
  letter-spacing: .14em; color: var(--gold); }
.footer-links { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px 18px; margin-top: 12px; }
.footer-links a { font-size: 13.5px; color: #C7D2E0; }
.footer-links a:hover { color: #fff; }
.wa-fab { position: fixed; bottom: 24px; right: 24px; z-index: 999; width: 56px; height: 56px;
  border-radius: 50%; box-shadow: 0 4px 16px rgba(0,0,0,.25); display: flex; transition: transform .2s; }
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 56px; height: 56px; }
.footer-copy { max-width: 1240px; margin: 0 auto; padding: 0 24px 32px;
  font-size: 12.5px; color: #6E7F94; }

/* ── Single casa ────────────────────────────────────────────────────────── */
.breadcrumb { max-width: 1240px; margin: 0 auto; padding: 20px 24px 0;
  font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--muted); }
.breadcrumb .cur { color: var(--navy2); font-weight: 600; }

.model-layout { max-width: 1240px; margin: 0 auto; padding: 18px 24px 0;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }

.gal-main { position: relative; border-radius: 10px; overflow: hidden;
  background: var(--sand); aspect-ratio: 16/10; }
.gal-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease; }
.gal-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 10px; }
.thumb { padding: 0; border-radius: 6px; overflow: hidden; aspect-ratio: 4/3;
  background: var(--sand); opacity: .82; transition: opacity .15s;
  border: 3px solid transparent; cursor: pointer; }
.thumb.is-active { outline: 3px solid var(--gold); outline-offset: -3px; opacity: 1; }
.thumb:hover { opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.model-eyebrow { font-family: 'Oswald', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: .18em; color: var(--gold2); }
.model-name { font-size: 54px; line-height: .98; font-weight: 700; color: var(--gold); margin: 6px 0 0; }
.model-tagline { font-family: 'Barlow', sans-serif; font-style: italic; font-weight: 600;
  font-size: 18px; line-height: 1.45; color: var(--navy2); margin: 14px 0 0;
  padding-left: 14px; border-left: 3px solid var(--gold); }
.model-desc { font-size: 16px; line-height: 1.65; color: #3D4C61; margin: 16px 0 0; }

.model-specs { display: grid; grid-template-columns: repeat(auto-fit,minmax(74px,1fr)); gap: 10px;
  margin-top: 24px; padding: 18px 0; border-top: 1px solid var(--b2); border-bottom: 1px solid var(--b2); }
.mspec-v { font-family: 'Oswald', sans-serif; font-size: 19px; font-weight: 600; color: var(--navy2); }
.mspec-k { font-size: 10.5px; letter-spacing: .08em; color: var(--muted2); }

.price-box { display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 22px; background: #fff; border: 1px solid var(--b2); border-radius: 10px; padding: 20px; }
.price-desde { font-size: 12px; letter-spacing: .12em; color: var(--muted2); }
.price-val { font-family: 'Oswald', sans-serif; font-size: 36px; font-weight: 600; color: var(--navy2); line-height: 1; }
.price-val--sale { display:flex; flex-direction:column; gap:2px; }
.price-val--sale .price-was { font-family:'Oswald',sans-serif; font-size:18px; opacity:.45; text-decoration:line-through; }
.price-val--sale .price-now { font-family:'Oswald',sans-serif; font-size:36px; font-weight:700; color:var(--gold); }
.price-note { font-size: 12px; color: var(--muted2); }
.btn-cotizar { margin-left: auto; background: var(--gold); color: var(--navy);
  font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: .05em;
  padding: 15px 22px; border-radius: 4px; text-align: center; display: inline-block; white-space: nowrap; }
.btn-cotizar:hover { background: var(--gold2); color: var(--navy); }

.model-badges { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 14px; }
.mbadge { background: var(--navy2); border-radius: 8px; padding: 14px; }
.mbadge-k { font-family: 'Oswald', sans-serif; font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: .05em; }
.mbadge-v { font-size: 13px; color: #C7D2E0; }

/* ── Tabs ───────────────────────────────────────────────────────────────── */
.tabs-sec { max-width: 1240px; margin: 0 auto; padding: 52px 24px 0; animation: fadeUp .45s ease both; }
.tab-nav { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--b2); }
.tab-btn { background: none; color: var(--muted); font-family: 'Oswald', sans-serif;
  font-size: 14px; font-weight: 500; letter-spacing: .07em; padding: 13px 20px;
  border-radius: 6px 6px 0 0; transition: color .15s, background .15s; }
.tab-btn:hover { color: var(--navy2); background: rgba(14,39,69,.05); }
.tab-btn.is-active { background: var(--navy2); color: #fff; }
.tab-panel { display: none; margin-top: 26px; }
.tab-panel.is-active { display: block; }

/* Tour tab */
.tour-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; align-items: start; }
.tour-screen { position: relative; border-radius: 10px; overflow: hidden;
  background: var(--navy); aspect-ratio: 16/9; background-size: cover; background-position: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.tour-overlay { position: absolute; inset: 0; background: rgba(10,28,51,.5); pointer-events: none; }
.tour-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.tour-pulse { position: relative; display: flex; align-items: center; justify-content: center;
  width: 78px; height: 78px; border-radius: 50%; background: var(--gold); }
.tour-pulse::before { content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--gold); animation: pulseRing 2.4s ease-out infinite; }
.tour-360 { font-family: 'Oswald', sans-serif; font-size: 13px; font-weight: 700; color: var(--navy); }
.tour-label { font-family: 'Oswald', sans-serif; font-size: 24px; font-weight: 600; color: #fff; letter-spacing: .05em; }
.tour-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.tour-info { background: #fff; border: 1px solid var(--b2); border-radius: 10px; padding: 24px; }
.tour-info h3 { font-size: 23px; font-weight: 600; color: var(--navy2); }
.tour-info p { font-size: 15px; line-height: 1.6; color: #3D4C61; margin: 12px 0 0; }
.tour-feats { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; font-size: 14.5px; color: #3D4C61; }
.tour-feats span strong { color: var(--gold2); }
.tour-cta { display: block; margin-top: 20px; background: var(--navy2); color: #fff;
  font-family: 'Oswald', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: .06em;
  padding: 14px; border-radius: 4px; text-align: center; }
.tour-cta:hover { background: var(--navy); color: #fff; }
.tour-frame { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: none; }
.tour-frame--hidden { display: none; }
.tour-switch { display: flex; gap: 8px; margin: 14px 0 4px; }
.tour-sw-btn { flex: 1; padding: 10px; font-family: 'Oswald', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: .06em; border: 2px solid var(--navy2); border-radius: 4px; background: #fff;
  color: var(--navy2); cursor: pointer; transition: background .15s, color .15s; }
.tour-sw-btn.is-active, .tour-sw-btn:hover { background: var(--navy2); color: #fff; }

/* Gallery tab */
.gal-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 200px; gap: 12px; }
.gal-big { grid-column: span 2; grid-row: span 2; border-radius: 10px; overflow: hidden; background: var(--sand); }
.gal-sm { border-radius: 10px; overflow: hidden; background: var(--sand); }
.gal-big img, .gal-sm img { width: 100%; height: 100%; object-fit: cover; }

/* Floor plan tab */
.plano-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 26px; align-items: start; }
.plano-fig { margin: 0; border-radius: 10px; overflow: hidden; background: var(--navy2); }
.plano-img { aspect-ratio: 16/9; background-size: contain; background-repeat: no-repeat;
  background-position: center; background-color: var(--navy2); }
.plano-caption { padding: 12px 16px; font-size: 13px; color: #C7D2E0; }
.plano-placeholder { aspect-ratio: 16/9; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; border-radius: 10px;
  border: 1px dashed rgba(14,39,69,.35);
  background: repeating-linear-gradient(45deg,#EFEBE4,#EFEBE4 12px,var(--cream) 12px,var(--cream) 24px); }
.plano-info { background: #fff; border: 1px solid var(--b2); border-radius: 10px; padding: 24px; }
.plano-info h3 { font-size: 23px; font-weight: 600; color: var(--navy2); }
.plano-rows { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; font-size: 14.5px; color: #3D4C61; }
.plano-row { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(14,39,69,.08); padding-bottom: 8px; }
.plano-note { font-size: 13.5px; line-height: 1.6; color: var(--muted2); margin: 16px 0 0; }
.btn-plano { display: block; margin-top: 16px; background: var(--gold); color: var(--navy);
  font-family: 'Oswald', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: .06em;
  padding: 14px; border-radius: 4px; text-align: center; }
.btn-plano:hover { background: var(--gold2); color: var(--navy); }

/* EETT tab */
.eett-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.eett-card { background: #fff; border: 1px solid var(--b2); border-radius: 10px; padding: 26px; }
.eett-card h3 { font-size: 23px; font-weight: 600; color: var(--navy2); }
.eett-rows { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.eett-row { border-bottom: 1px solid rgba(14,39,69,.08); padding-bottom: 12px; }
.eett-k { font-family: 'Oswald', sans-serif; font-size: 13.5px; font-weight: 600; letter-spacing: .05em; color: var(--navy2); }
.eett-v { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.eett-right { display: grid; gap: 26px; }
.bene-card { background: var(--navy2); border-radius: 10px; padding: 26px; }
.bene-card h3 { font-size: 23px; font-weight: 600; color: var(--gold); }
.bene-list { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; font-size: 15px; color: #D5DDE8; }
.bene-list span strong { color: var(--gold); }
.incl-card { background: #fff; border: 1px solid var(--b2); border-radius: 10px; padding: 26px; }
.incl-card h3 { font-size: 23px; font-weight: 600; color: var(--navy2); }
.incl-list { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; font-size: 15px; color: #3D4C61; }
.incl-list span strong { color: var(--gold2); }

/* Related */
.related-sec { max-width: 1240px; margin: 0 auto; padding: 60px 24px 72px; }
.related-sec h2 { font-size: 32px; font-weight: 700; color: var(--navy2); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 22px; margin-top: 20px; }
.related-card { background: #fff; border: 1px solid var(--b1); border-radius: 10px; overflow: hidden;
  display: block; transition: box-shadow .25s; }
.related-card:hover { box-shadow: 0 16px 34px -22px rgba(14,39,69,.45); }
.related-img { display: block; aspect-ratio: 16/10; background: var(--sand); }
.related-img img { width: 100%; height: 100%; object-fit: cover; }
.related-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 18px; }
.related-name { font-family: 'Oswald', sans-serif; font-size: 21px; font-weight: 600; color: var(--navy2); }
.related-meta { font-size: 13.5px; color: var(--muted); }

/* ── Blog ────────────────────────────────────────────────────────────────── */
.s-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--gold2); }
.blog-sec { padding: 80px 0; background: #fff; }
.blog-sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
/* Home featured layout */
.blog-home-grid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; }
.blog-featured { border-radius: 12px; overflow: hidden; border: 1px solid var(--b1); display: flex; flex-direction: column; }
.blog-featured-img { display: block; aspect-ratio: 16/9; overflow: hidden; }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-featured:hover .blog-featured-img img { transform: scale(1.03); }
.blog-featured-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.blog-featured-title { font-family: 'Oswald', sans-serif; font-size: 24px; color: var(--navy); margin: 10px 0 12px; line-height: 1.25; }
.blog-featured-title a { color: inherit; }
.blog-featured-title a:hover { color: var(--gold2); }
.blog-secondary { display: flex; flex-direction: column; gap: 16px; }
.blog-mini { display: flex; gap: 14px; align-items: flex-start;
  border-radius: 10px; border: 1px solid var(--b1); overflow: hidden; }
.blog-mini-img { flex-shrink: 0; width: 100px; height: 75px; overflow: hidden; }
.blog-mini-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-mini:hover .blog-mini-img img { transform: scale(1.05); }
.blog-mini-body { padding: 12px 14px 12px 0; }
.blog-mini-title { font-family: 'Oswald', sans-serif; font-size: 15px; color: var(--navy); margin: 6px 0 0; line-height: 1.3; }
.blog-mini-title a { color: inherit; }
.blog-mini-title a:hover { color: var(--gold2); }
@media (max-width: 960px) { .blog-home-grid { grid-template-columns: 1fr; } .blog-sec-head { flex-direction: column; align-items: flex-start; gap: 16px; } }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.blog-grid--wide { grid-template-columns: repeat(3, 1fr); }
.blog-card { border-radius: 10px; overflow: hidden; border: 1px solid var(--b1);
  display: flex; flex-direction: column; transition: box-shadow .2s; }
.blog-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.10); }
.blog-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-thumb img { transform: scale(1.04); }
.blog-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-date { font-size: 12px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.blog-title { font-family: 'Oswald', sans-serif; font-size: 19px; color: var(--navy); margin: 8px 0 10px; line-height: 1.3; }
.blog-title a { color: inherit; }
.blog-title a:hover { color: var(--gold2); }
.blog-excerpt { font-size: 14px; color: var(--muted); line-height: 1.6; flex: 1; margin-bottom: 16px; }
.blog-more { font-size: 13px; font-weight: 600; color: var(--gold2); letter-spacing: .04em; }
.blog-hero-bar { background: var(--navy); padding: 52px 24px; text-align: center; }
.blog-hero-bar h1 { font-family: 'Oswald', sans-serif; font-size: 42px; color: #fff; margin: 8px 0 12px; }
.blog-hero-bar p { color: rgba(255,255,255,.72); font-size: 16px; max-width: 540px; margin: 0 auto; }
.blog-hero-bar .eyebrow { color: var(--gold); }
.blog-main { padding: 52px 0 80px; }
.blog-pagination { margin-top: 48px; text-align: center; }
.btn-outline { display: inline-block; border: 2px solid var(--navy); color: var(--navy);
  font-family: 'Oswald', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: .06em;
  padding: 12px 28px; border-radius: 4px; transition: background .15s, color .15s; }
.btn-outline:hover { background: var(--navy); color: #fff; }
/* ── Guías grid (home) ──────────────────────────────────────────────────── */
.guides-sec { background: var(--cream); padding: 64px 24px; }
.guides-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; margin-top: 28px; }
.guide-card { background: #fff; border: 1px solid var(--b1); border-radius: 10px; padding: 22px 18px;
  text-decoration: none; display: flex; flex-direction: column; gap: 8px; transition: box-shadow .2s; }
.guide-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.09); }
.guide-icon { width: 36px; height: 36px; color: var(--gold); }
.guide-icon svg { display: block; width: 36px; height: 36px; }
.guide-card h3 { font-family: 'Oswald', sans-serif; font-size: 15px; color: var(--navy); line-height: 1.3; margin: 0; }
.guide-card p { font-size: 13px; color: var(--muted); line-height: 1.5; flex: 1; margin: 0; }
.guide-more { font-size: 12px; font-weight: 600; color: var(--gold2); letter-spacing: .04em; }
@media (max-width: 900px) { .guides-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 500px) { .guides-grid { grid-template-columns: 1fr; } }
/* ── Casos de Éxito ────────────────────────────────────────────────────── */
.casos-hero { background: var(--navy); padding: 64px 24px; text-align: center; }
.casos-hero .eyebrow { color: var(--gold); }
.casos-hero h1 { font-family: 'Oswald',sans-serif; font-size: clamp(28px,4vw,44px); color: #fff; margin: 10px 0 14px; }
.casos-hero p { color: rgba(255,255,255,.7); font-size: 15px; max-width: 560px; margin: 0 auto; }
.casos-sec { padding: 64px 24px; background: var(--cream); }
.casos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 36px; }
.caso-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.07); display: flex; flex-direction: column; }
.caso-embed { aspect-ratio: 9/16; overflow: hidden; background: #000; }
.caso-embed iframe, .caso-embed blockquote { width: 100% !important; height: 100% !important; min-height: 480px; margin: 0 !important; border: 0; }
.caso-embed .instagram-media { max-width: 100% !important; min-width: unset !important; }
.caso-info { padding: 20px; border-top: 3px solid var(--gold); }
.caso-cliente { font-family: 'Oswald',sans-serif; font-size: 18px; color: var(--navy); font-weight: 600; }
.caso-meta { font-size: 12px; color: var(--muted); letter-spacing: .06em; margin: 4px 0 8px; text-transform: uppercase; }
.caso-sep { margin: 0 6px; }
.caso-title { font-size: 14px; color: var(--navy2); margin: 0; line-height: 1.4; }
.caso-edit-link { display:inline-block; margin-top:10px; font-size:12px; color:var(--muted); border:1px dashed var(--b1); padding:4px 10px; border-radius:4px; text-decoration:none; }
.caso-edit-link:hover { color:var(--navy); border-color:var(--navy); }
@media (max-width: 700px) { .casos-grid { grid-template-columns: 1fr; } }
/* ── Budget section ────────────────────────────────────────────────────── */
.budget-sec { background: var(--navy); padding: 72px 24px; text-align: center; }
.budget-inner { max-width: 860px; margin: 0 auto; }
.budget-tag { display: inline-block; background: rgba(229,160,44,.15); border: 1px solid var(--gold); color: var(--gold); font-family: 'Oswald',sans-serif; font-size: 12px; letter-spacing: .12em; padding: 5px 14px; border-radius: 20px; margin-bottom: 20px; }
.budget-title { font-family: 'Oswald',sans-serif; font-size: clamp(26px,4vw,40px); color: #fff; line-height: 1.15; margin: 0 0 16px; }
.budget-title span { color: var(--gold); }
.budget-sub { color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.6; max-width: 600px; margin: 0 auto 32px; }
.budget-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 20px; }
.budget-item { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; text-align: left; }
.budget-item svg { width: 20px; height: 20px; flex-shrink: 0; stroke: var(--gold); }
.budget-item span { color: #fff; font-size: 13px; line-height: 1.3; }
.budget-note { color: rgba(255,255,255,.5); font-size: 12px; font-style: italic; margin-bottom: 32px; }
.budget-cta { display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #fff; font-family: 'Oswald',sans-serif; font-size: 15px; letter-spacing: .06em; padding: 14px 28px; border-radius: 6px; text-decoration: none; transition: background .15s, transform .1s; }
.budget-cta:hover { background: #1ebe5d; transform: translateY(-1px); }
.budget-cta svg { width: 22px; height: 22px; flex-shrink: 0; fill: #fff; stroke: none; }
@media (max-width: 700px) { .budget-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .budget-grid { grid-template-columns: 1fr; } }
/* ── SEO satellite pages ────────────────────────────────────────────────── */
.seo-hero { background: var(--navy); padding: 52px 24px; text-align: center; }
.seo-hero h1 { font-family: 'Oswald', sans-serif; font-size: 38px; color: #fff; margin: 8px 0 0; }
.seo-main { padding: 48px 24px 80px; }
.seo-content { max-width: 780px; margin: 0 auto 40px; font-size: 16px; line-height: 1.7; color: #3D4C61; }
.seo-content h2 { font-family: 'Oswald', sans-serif; color: var(--navy); margin: 32px 0 12px; }
.seo-pills { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin: 0 0 52px; }
.seo-pill { background: var(--cream); border-left: 3px solid var(--gold); border-radius: 6px; padding: 20px; }
.seo-pill strong { display: block; font-family: 'Oswald', sans-serif; font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.seo-pill span { font-size: 14px; color: #3D4C61; line-height: 1.5; }
.seo-catalog-hd { margin-bottom: 28px; }
.seo-catalog-hd h2 { font-family: 'Oswald', sans-serif; font-size: 28px; color: var(--navy); margin: 0 0 6px; }
.seo-catalog-hd p { font-size: 15px; color: var(--muted); }
.seo-budget-cta { background: var(--navy); border-radius: 10px; padding: 40px; text-align: center; margin-top: 60px; }
.seo-budget-cta h2 { font-family: 'Oswald', sans-serif; color: #fff; font-size: 26px; margin: 0 0 14px; }
.seo-budget-cta p { color: rgba(255,255,255,.8); font-size: 15px; max-width: 580px; margin: 0 auto 24px; line-height: 1.6; }
@media (max-width: 760px) { .seo-pills { grid-template-columns: 1fr; } .seo-hero h1 { font-size: 26px; } }
/* Single post */
.single-post-main { padding: 48px 0 80px; }
.single-post-wrap { max-width: 780px; }
.post-header { margin-bottom: 32px; }
.post-title { font-family: 'Oswald', sans-serif; font-size: 38px; color: var(--navy); margin: 10px 0 20px; line-height: 1.15; }
.post-hero-img { border-radius: 10px; overflow: hidden; margin-bottom: 32px; }
.post-hero-img img { width: 100%; height: auto; }
.post-content { font-size: 16px; line-height: 1.8; color: var(--text); }
.post-content p { margin: 0 0 20px; }
.post-content h2, .post-content h3 { color: var(--navy); margin: 32px 0 12px; }
@media (max-width: 960px) { .blog-grid, .blog-grid--wide { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .blog-grid, .blog-grid--wide { grid-template-columns: 1fr; }
  .post-title { font-size: 28px; } }

/* ── Admin edit FAB (solo admins) ───────────────────────────────────────── */
.cm-edit-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  background: var(--navy); color: #fff; font-family: 'Oswald', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: .06em;
  padding: 12px 20px; border-radius: 30px;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: background .15s, transform .15s;
}
.cm-edit-fab:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }

/* ── Animations ─────────────────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pulseRing { 0% { transform: scale(.9); opacity: .9; } 70% { transform: scale(1.5); opacity: 0; } 100% { opacity: 0; } }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .trust-bar .wrap  { grid-template-columns: 1fr 1fr; }
  .process-grid     { grid-template-columns: 1fr 1fr; }
  .lineas-grid      { grid-template-columns: 1fr; }
  .about-sec        { grid-template-columns: 1fr; }
  .contact-in       { grid-template-columns: 1fr; }
  .footer-in        { grid-template-columns: 1fr; }
  .model-layout     { grid-template-columns: 1fr; }
  .tour-grid        { grid-template-columns: 1fr; }
  .plano-grid       { grid-template-columns: 1fr; }
  .eett-grid        { grid-template-columns: 1fr; }
}
/* ── Hamburger ───────────────────────────────────────────────────────────── */
.hamburger { display: none; flex-direction: column; justify-content: space-between;
  width: 26px; height: 18px; background: none; border: none; cursor: pointer; padding: 0; flex-shrink: 0; }
.hamburger span { display: block; width: 100%; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .22s, opacity .22s; }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .site-nav  { display: none; }
  .site-nav.open {
    display: block;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-top: 2px solid var(--gold);
    box-shadow: 0 6px 20px rgba(0,0,0,.12); z-index: 100;
  }
  .site-nav.open a {
    display: block; padding: 15px 20px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    color: var(--navy); font-size: 14px; font-weight: 600; letter-spacing: .06em;
  }
  .site-nav.open a:last-child { border-bottom: none; }
  .site-header { position: sticky; top: 0; z-index: 90; }
  .site-header .wrap { gap: 10px; }
  .site-header .btn-cta { margin-left: auto; font-size: 12px; padding: 9px 12px; white-space: nowrap; }
}

@media (max-width: 640px) {
  .hero h1          { font-size: 38px; }
  .hero-sub         { font-size: 16px; }
  .trust-bar .wrap  { grid-template-columns: 1fr; }
  .process-grid     { grid-template-columns: 1fr; }
  .s-title          { font-size: 32px; }
  .gal-grid         { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gal-big          { grid-column: span 2; }
  .footer-links     { grid-template-columns: repeat(2,1fr); }
  .form-row         { grid-template-columns: 1fr; }
  .model-name       { font-size: 40px; }
  .top-bar-l span:not(:first-child) { display: none; }
  .top-bar-r span { display: none; }
  .top-bar .wrap { flex-wrap: nowrap; justify-content: space-between; }
}
