/* =========================================================
   Finca El Manantial — fincaelmanantial.mx
   Paleta: crema + verde bosque + ocre + terracota
   ========================================================= */
:root {
  --cream: #f7f2e8;
  --sand: #ece3d1;
  --paper: #fffdf8;
  --ink: #23261f;
  --muted: #5e6157;
  --forest: #2f4a35;
  --forest-deep: #1b2b20;
  --ochre: #d6a12a;
  --ochre-dark: #b9861a;
  --terra: #b4532f;
  --water: #2a8fb0;
  --line: rgba(35, 38, 31, .12);
  --radius: 14px;
  --shadow: 0 18px 50px -20px rgba(27, 43, 32, .35);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ochre); color: var(--forest-deep); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem; letter-spacing: .02em; text-decoration: none; border: 1.5px solid transparent; transition: transform .25s, background .25s, color .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--ochre); color: var(--forest-deep); box-shadow: 0 10px 26px -10px rgba(214, 161, 42, .7); }
.btn--gold:hover { background: #e2b03b; }
.btn--forest { background: var(--forest); color: #fff; }
.btn--forest:hover { background: var(--forest-deep); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.btn--block { width: 100%; }
.link-arrow { font-weight: 600; color: var(--forest); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- Typography helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--terra); margin-bottom: 14px; }
.eyebrow span { font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0; color: var(--ochre-dark); font-style: italic; }
.eyebrow--light { color: var(--ochre); }
.eyebrow--light span { color: #f0d79a; }
.title { font-family: var(--serif); font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.08; color: var(--forest-deep); margin-bottom: 20px; letter-spacing: -.01em; }
.title em { font-style: italic; color: var(--terra); }
.title--light { color: #fff; }
.title--light em { color: var(--ochre); }
.title--sm { font-size: clamp(1.8rem, 3vw, 2.4rem); }

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section__head { max-width: 720px; margin-bottom: 44px; }
.section__lead { color: var(--muted); font-size: 1.05rem; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); transition: background .35s, box-shadow .35s, height .35s; }
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.header.is-scrolled { background: rgba(27, 43, 32, .94); backdrop-filter: blur(10px); box-shadow: 0 6px 24px -12px rgba(0,0,0,.5); --header-h: 66px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; margin-right: auto; }
.brand__icon { width: 42px; height: 42px; color: var(--ochre); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: .01em; }
.brand__sub { font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; opacity: .75; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: rgba(255,255,255,.88); text-decoration: none; font-size: .92rem; font-weight: 500; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px; background: var(--ochre); transition: width .3s; }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: #fff; }
.nav .nav__cta { background: var(--ochre); color: var(--forest-deep); padding: 10px 20px; border-radius: 999px; font-weight: 700; }
.nav .nav__cta::after { display: none; }
.nav .nav__cta:hover { background: #e2b03b; }
.header__wa { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; transition: background .25s; }
.header__wa:hover { background: #25d366; }
.header__wa svg { width: 22px; height: 22px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.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); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: var(--forest-deep); }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease, transform 8s linear; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,24,18,.55) 0%, rgba(15,24,18,.12) 30%, rgba(15,24,18,.25) 55%, rgba(15,24,18,.86) 100%); }
.hero__content { position: relative; padding-top: calc(var(--header-h) + 40px); padding-bottom: 48px; max-width: 1200px; }
.hero__tag { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); padding: 8px 16px; border-radius: 999px; margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ochre); box-shadow: 0 0 0 0 rgba(214,161,42,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(214,161,42,0); } 100% { box-shadow: 0 0 0 0 rgba(214,161,42,0); } }
.hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(3.2rem, 9vw, 7.4rem); line-height: .95; letter-spacing: -.02em; margin-bottom: 20px; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.hero__title em { color: var(--ochre); font-style: italic; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 600px; opacity: .95; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__facts { position: relative; background: rgba(247, 242, 232, .97); color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { display: flex; align-items: center; gap: 14px; padding: 22px 18px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact svg { width: 34px; height: 34px; color: var(--terra); flex: none; }
.fact strong { display: block; font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--forest-deep); }
.fact span { font-size: .82rem; color: var(--muted); }

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.intro__media { position: relative; padding-bottom: 70px; }
.intro__media > img:first-child { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.intro__media-sm { position: absolute; right: -24px; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 6px solid var(--cream); box-shadow: var(--shadow); }
.intro__badge { position: absolute; left: 22px; bottom: 22px; display: flex; align-items: center; gap: 12px; background: var(--forest-deep); color: #fff; padding: 14px 18px; border-radius: 12px; font-size: .82rem; line-height: 1.35; box-shadow: var(--shadow); }
.intro__badge svg { width: 38px; height: 38px; color: var(--ochre); flex: none; }
.intro__text p { color: var(--muted); }
.intro__text strong { color: var(--ink); }
.checks { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3 3 7-7' fill='none' stroke='%23d6a12a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.intro__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

/* ---------- Amenidades ---------- */
.amen { background: var(--forest-deep); color: #fff; position: relative; overflow: hidden; }
.amen::before { content: ""; position: absolute; inset: 0; background: url("../img/sm/planta-cenital.jpg") center/cover; opacity: .07; }
.amen .container { position: relative; }
.amen__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; }
.amen__item { background: var(--forest-deep); padding: 32px 26px; transition: background .3s; }
.amen__item:hover { background: #22372a; }
.amen__item svg { width: 38px; height: 38px; color: var(--ochre); margin-bottom: 18px; }
.amen__item h3 { font-family: var(--serif); font-size: 1.45rem; margin-bottom: 6px; }
.amen__item p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.7); line-height: 1.6; }

/* ---------- Espacios (tabs) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.tab { background: none; border: 0; padding: 14px 20px; font-weight: 600; color: var(--muted); position: relative; }
.tab::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--terra); transform: scaleX(0); transition: transform .3s; }
.tab.is-active { color: var(--forest-deep); }
.tab.is-active::after { transform: scaleX(1); }
.panel { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; animation: fadeUp .5s ease; }
.panel[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.panel__media > img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); cursor: zoom-in; }
.panel__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.panel__thumbs img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 10px; cursor: zoom-in; transition: opacity .25s; }
.panel__thumbs img:hover { opacity: .85; }
.panel__text h3 { font-family: var(--serif); font-size: 2rem; color: var(--forest-deep); margin-bottom: 14px; line-height: 1.15; }
.panel__text p { color: var(--muted); }
.panel__text strong { color: var(--ink); }
.tags { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .82rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: var(--sand); color: var(--forest); }

/* ---------- Banda ---------- */
.band { position: relative; background-size: cover; background-position: center; background-attachment: fixed; padding: clamp(110px, 16vw, 200px) 0; color: #fff; text-align: center; }
.band__shade { position: absolute; inset: 0; background: rgba(12, 20, 15, .5); }
.band__inner { position: relative; }
.band__quote { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3.1rem); line-height: 1.2; max-width: 900px; margin: 0 auto 32px; }
.band__quote em { color: var(--ochre); }

/* ---------- Galería ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter { border: 1.5px solid var(--line); background: var(--paper); color: var(--forest); padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: .88rem; transition: all .25s; }
.filter:hover { border-color: var(--forest); }
.filter.is-active { background: var(--forest); border-color: var(--forest); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 12px; }
.g { margin: 0; position: relative; overflow: hidden; border-radius: 10px; cursor: zoom-in; background: var(--sand); }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.g::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.35)); opacity: 0; transition: opacity .3s; }
.g:hover img { transform: scale(1.06); }
.g:hover::after { opacity: 1; }
.g--wide { grid-column: span 2; }
.g--tall { grid-row: span 2; }
.g.is-hidden { display: none; }
.gallery.is-filtered .g--wide, .gallery.is-filtered .g--tall { grid-column: auto; grid-row: auto; }

/* ---------- Video ---------- */
.video { background: var(--forest-deep); color: #fff; }
.video__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.video__text p { color: rgba(255,255,255,.75); margin-bottom: 28px; }
.video__frame { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); aspect-ratio: 16/9; background: #000; }
.video__frame video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Ubicación ---------- */
.ubic__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.ubic__text > p { color: var(--muted); }
.ubic__list { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 16px; }
.ubic__list li { display: flex; gap: 14px; align-items: flex-start; }
.ubic__list svg { width: 24px; height: 24px; color: var(--terra); flex: none; margin-top: 2px; }
.ubic__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; background: var(--sand); }
.ubic__map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Ficha ---------- */
.ficha { background: var(--sand); }
.ficha__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; align-items: stretch; }
.ficha__img img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; border-radius: var(--radius) 0 0 var(--radius); }
.ficha__card { background: var(--paper); padding: clamp(30px, 4vw, 54px); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); }
.ficha__list { margin: 6px 0 28px; }
.ficha__list div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.ficha__list dt { font-weight: 700; color: var(--forest); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding-top: 3px; }
.ficha__list dd { margin: 0; color: var(--muted); }
.ficha__list dd strong { color: var(--terra); }

/* ---------- Contacto ---------- */
.contacto { background: linear-gradient(rgba(20, 32, 24, .9), rgba(20, 32, 24, .94)), url("../img/lg/hero-atardecer.jpg") center/cover; color: #fff; }
.contacto__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.contacto__info > p { color: rgba(255,255,255,.75); }
.contacto__list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.contacto__list a { display: flex; align-items: center; gap: 16px; text-decoration: none; padding: 14px 18px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: background .25s; }
.contacto__list a:hover { background: rgba(255,255,255,.12); }
.contacto__list svg { width: 26px; height: 26px; color: var(--ochre); flex: none; }
.contacto__list span { display: flex; flex-direction: column; line-height: 1.3; font-weight: 600; word-break: break-word; }
.contacto__list small { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }

.form { background: var(--paper); color: var(--ink); padding: clamp(26px, 4vw, 44px); border-radius: 18px; box-shadow: 0 30px 70px -25px rgba(0,0,0,.6); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: .8rem; font-weight: 700; color: var(--forest); margin-bottom: 6px; letter-spacing: .02em; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: var(--cream); border: 1.5px solid transparent; border-radius: 10px; padding: 12px 14px; transition: border-color .25s, background .25s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ochre); background: #fff; }
.field.is-invalid input, .field.is-invalid select { border-color: #c0392b; background: #fff5f3; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); margin: 4px 0 20px; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--forest); width: 16px; height: 16px; flex: none; }
.check.is-invalid { color: #c0392b; }
.check a { color: var(--forest); font-weight: 600; }
.form__status { margin: 14px 0 0; font-size: .92rem; font-weight: 600; min-height: 1.4em; }
.form__status.ok { color: var(--forest); }
.form__status.err { color: #c0392b; }
.form button[disabled] { opacity: .7; cursor: wait; }
.form.is-sent .field, .form.is-sent .form__row, .form.is-sent .check, .form.is-sent button { display: none; }
.form.is-sent .form__status { font-size: 1.05rem; text-align: center; padding: 40px 0; }

/* ---------- Footer ---------- */
.footer { background: #131e16; color: rgba(255,255,255,.7); padding: 64px 0 28px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__desc { margin-top: 16px; max-width: 320px; }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--ochre); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .82rem; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); }
.social svg { width: 20px; height: 20px; }

/* ---------- Floating WA / mobile bar ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.mbar { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 14, 11, .95); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lb__fig { margin: 0; max-width: 92vw; max-height: 88vh; text-align: center; }
.lb__fig img { max-width: 92vw; max-height: 80vh; object-fit: contain; border-radius: 6px; margin: 0 auto; }
.lb__fig figcaption { color: rgba(255,255,255,.8); font-size: .9rem; margin-top: 14px; }
.lb__close { position: absolute; top: 14px; right: 18px; width: 48px; height: 48px; border: 0; background: transparent; color: #fff; font-size: 2.4rem; line-height: 1; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; font-size: 2.2rem; line-height: 1; transition: background .2s; }
.lb__nav:hover { background: rgba(255,255,255,.22); }
.lb__prev { left: 18px; }
.lb__next { right: 18px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .amen__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .nav { gap: 20px; }
}

@media (max-width: 920px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); height: 100vh; height: 100dvh; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; padding: 40px 36px; background: var(--forest-deep); transform: translateX(100%); transition: transform .4s ease; box-shadow: -20px 0 50px rgba(0,0,0,.4); }
  .nav.is-open { transform: none; }
  .nav a { font-size: 1.2rem; }
  .burger { position: relative; z-index: 60; }
  .intro__grid, .panel, .video__grid, .ubic__grid, .contacto__grid { grid-template-columns: 1fr; }
  .intro__media-sm { right: 0; }
  .ficha__grid { grid-template-columns: 1fr; }
  .ficha__img img { min-height: 260px; border-radius: var(--radius) var(--radius) 0 0; }
  .ficha__card { border-radius: 0 0 var(--radius) var(--radius); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .band { background-attachment: scroll; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .container { width: calc(100% - 32px); }
  .brand__name { font-size: 1.22rem; }
  .brand__icon { width: 36px; height: 36px; }
  .header__wa { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding: 16px 10px; border-left: 0; }
  .fact:first-child { padding-left: 10px; }
  .fact:nth-child(odd) { border-right: 1px solid var(--line); }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .fact svg { width: 26px; height: 26px; }
  .fact strong { font-size: 1.2rem; }
  .fact span { font-size: .74rem; line-height: 1.3; display: block; }
  .hero__content { padding-bottom: 32px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .amen__grid { grid-template-columns: 1fr 1fr; }
  .amen__item { padding: 22px 16px; }
  .amen__item h3 { font-size: 1.2rem; }
  .amen__item p { font-size: .82rem; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { white-space: nowrap; padding: 12px 14px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 8px; }
  .g--wide { grid-column: span 2; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .ficha__list div { grid-template-columns: 1fr; gap: 2px; }
  .footer { padding-bottom: 96px; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--paper); box-shadow: 0 -8px 24px -10px rgba(0,0,0,.25); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 6px; transition: transform .3s; }
  .mbar.is-hidden { transform: translateY(110%); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; font-weight: 700; font-size: .85rem; color: var(--forest); padding: 11px 6px; border-radius: 10px; }
  .mbar svg { width: 20px; height: 20px; }
  .mbar__cta { background: var(--ochre); color: var(--forest-deep) !important; }
  .lb__nav { width: 42px; height: 42px; font-size: 1.8rem; bottom: 24px; top: auto; transform: none; }
  .lb__prev { left: calc(50% - 52px); }
  .lb__next { right: calc(50% - 52px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slide, .reveal, .g img { transition: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Autosustentable ---------- */
.sust { background: var(--sand); }
.sust__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.sust__media { position: relative; padding-right: 70px; }
.sust__media > img:first-child { width: 100%; aspect-ratio: 4/3.6; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.sust__media-sm { position: absolute; right: 0; bottom: -30px; width: 36%; aspect-ratio: 9/14; object-fit: cover; border-radius: var(--radius); border: 6px solid var(--sand); box-shadow: var(--shadow); }
.sust__text > p { color: var(--muted); }
.sust__text strong { color: var(--forest-deep); }
.pillars { display: grid; gap: 14px; margin-top: 26px; }
.pillar { display: flex; gap: 18px; align-items: flex-start; background: var(--paper); padding: 20px 22px; border-radius: 12px; border-left: 3px solid var(--ochre); }
.pillar svg { width: 34px; height: 34px; color: var(--water); flex: none; }
.pillar:nth-child(2) svg { color: var(--forest); }
.pillar:nth-child(3) svg { color: var(--ochre-dark); }
.pillar h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--forest-deep); margin-bottom: 2px; }
.pillar p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.55; }
@media (max-width: 920px) {
  .sust__grid { grid-template-columns: 1fr; }
  .sust__media { padding-right: 50px; margin-bottom: 30px; }
}

/* ---------- Selector de idioma ---------- */
.lang { display: inline-flex; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; overflow: hidden; font-size: .78rem; font-weight: 700; letter-spacing: .06em; }
.lang a, .lang span { padding: 7px 11px; text-decoration: none; color: rgba(255,255,255,.8); }
.lang span { background: var(--ochre); color: var(--forest-deep); }
.lang a:hover { color: #fff; background: rgba(255,255,255,.12); }
.header__inner .lang { margin-left: 4px; }
@media (max-width: 720px) {
  .header__inner { gap: 10px; }
  .brand { gap: 9px; min-width: 0; }
  .brand__name { white-space: nowrap; }
  .lang a, .lang span { padding: 6px 9px; }
}
@media (max-width: 390px) {
  .brand__name { font-size: 1.08rem; }
  .brand__sub { font-size: .58rem; letter-spacing: .2em; }
  .brand__icon { width: 32px; height: 32px; }
}

/* Menú: nunca partir enlaces; hamburguesa por debajo de 1180px (7 enlaces + idioma + WhatsApp) */
.nav a, .brand__name { white-space: nowrap; }
@media (max-width: 1180px) {
  .burger { display: block; position: relative; z-index: 60; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); height: 100vh; height: 100dvh; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; padding: 40px 36px; background: var(--forest-deep); transform: translateX(100%); transition: transform .4s ease; box-shadow: -20px 0 50px rgba(0,0,0,.4); }
  .nav.is-open { transform: none; }
  .nav a { font-size: 1.2rem; }
}

/* ---------- Cambios solicitados 2026-10-08 (PDF del cliente) ---------- */
.facts { grid-template-columns: repeat(5, 1fr); }
.fact span { line-height: 1.3; display: block; }
.intro__text .intro__quote { font-family: var(--serif); font-style: italic; font-size: 1.32rem; line-height: 1.35; color: var(--forest-deep); margin: 0 0 16px; padding-left: 16px; border-left: 3px solid var(--ochre); }
.pillar:nth-child(4) svg { color: var(--terra); }
@media (max-width: 720px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:last-child { grid-column: 1 / -1; }
}
