/* =========================================================
   BILBO HOMES — estilos
   Paleta de marca: #3d3b3a #cc9300 #86989b #d6dddb #868686 #7a9d95
   ========================================================= */

:root {
  --ink: #2b2a29;
  --charcoal: #3d3b3a;
  --gold: #cc9300;
  --gold-light: #e0b545;
  --sage: #7a9d95;
  --stone: #86989b;
  --mist: #d6dddb;
  --grey: #868686;
  --paper: #f7f6f3;
  --white: #ffffff;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(88px, 12vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1.1em; }
em { font-style: italic; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--section) 0; }

/* ---------- Tipografía ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.eyebrow--light { color: rgba(255,255,255,.85); }
.eyebrow--gold { color: var(--gold); }

.h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 30px;
}
.h2 em, .hero__title em, .band__title em, .cta__title em, .digital__title em, .quote em, .digital__concept em {
  color: var(--gold);
  font-weight: 400;
}
.lead {
  font-size: 1.18em;
  font-weight: 400;
  color: var(--ink);
}

/* ---------- Botones ---------- */
.btn {
  --bg: var(--ink);
  --fg: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 32px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--bg);
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
  z-index: -1;
}
.btn:hover::after, .btn:focus-visible::after { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--ink); }
.btn--gold { --bg: var(--gold); }
.btn--dark { --bg: var(--ink); }
.btn--dark::after { background: var(--gold); }
.btn--dark:hover { color: var(--white); border-color: var(--gold); }
.btn--ghost { --bg: transparent; border-color: rgba(255,255,255,.6); }
.btn--small { padding: 12px 20px; font-size: 11px; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Logo (archivos originales de la marca) ---------- */
.logo-mark { position: relative; width: 40px; height: 40px; flex: 0 0 auto; }
.logo-mark img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .5s var(--ease); }
.logo-mark .is-dark { opacity: 0; }
.nav.is-scrolled .logo-mark .is-dark, .nav.is-open .logo-mark .is-dark { opacity: 1; }
.nav.is-scrolled .logo-mark .is-light, .nav.is-open .logo-mark .is-light { opacity: 0; }
.footer__logo { width: 190px; height: auto; margin-left: -12px; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 22px var(--gutter);
  color: var(--white);
  transition: background .5s var(--ease), padding .5s var(--ease), color .5s var(--ease), box-shadow .5s;
}
.nav.is-scrolled {
  background: rgba(247,246,243,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  padding-top: 14px;
  padding-bottom: 14px;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.nav__logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav__word { font-size: 13px; font-weight: 500; letter-spacing: .32em; white-space: nowrap; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a {
  position: relative;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 4px 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  transform: scale(1.12);
  animation: kenburns 22s var(--ease) forwards;
}
@keyframes kenburns { to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20,20,19,.62) 0%, rgba(20,20,19,.35) 45%, rgba(20,20,19,0) 75%),
    linear-gradient(180deg, rgba(20,20,19,.5) 0%, rgba(20,20,19,.1) 28%, rgba(20,20,19,.25) 60%, rgba(20,20,19,.85) 100%);
}
.hero__content {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(90px, 13vh, 140px);
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 88px);
  line-height: .98;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
  letter-spacing: -.015em;
  margin-bottom: 30px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line:nth-child(2) { margin-bottom: .18em; }
.hero__title em { color: var(--gold-light); }
.hero__sub { max-width: 520px; font-size: 1.08em; font-weight: 300; color: rgba(255,255,255,.88); margin-bottom: 38px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 44px;
  width: 1px; height: 70px;
  background: rgba(255,255,255,.25);
  overflow: hidden;
}
.hero__scroll span {
  position: absolute; left: 0; top: 0;
  width: 1px; height: 40%;
  background: var(--white);
  animation: scrolldown 2.2s var(--ease) infinite;
}
@keyframes scrolldown { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ---------- MARQUEE ---------- */
.marquee {
  background: var(--ink);
  color: var(--mist);
  overflow: hidden;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: marquee 60s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  white-space: nowrap;
}
.marquee__track i { color: var(--gold); font-style: normal; font-family: var(--sans); font-weight: 300; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- QUIÉNES SOMOS ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}
.quote {
  margin: 44px 0 0;
  padding: 0 0 0 28px;
  border-left: 1px solid var(--gold);
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 29px);
  line-height: 1.3;
  color: var(--ink);
}
.about__media { position: relative; height: clamp(460px, 52vw, 680px); }
.about__img1 { position: absolute; top: 0; right: 0; width: 74%; height: 82%; margin: 0; }
.about__img2 { position: absolute; bottom: 0; left: 0; width: 48%; height: 44%; margin: 0; border: 10px solid var(--paper); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- DIGITAL, NUNCA DISTANTE ---------- */
.digital { background: var(--ink); color: rgba(255,255,255,.78); }
.digital__title {
  font-family: var(--serif);
  font-size: clamp(48px, 8.5vw, 132px);
  line-height: .95;
  color: var(--white);
  margin-bottom: clamp(56px, 7vw, 96px);
}
.digital__title span { display: block; }
.digital__title span:last-child { padding-left: clamp(0px, 8vw, 140px); }
.digital__cols {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.digital__divider { background: rgba(255,255,255,.15); }
.digital__video { position: relative; margin: 0; width: clamp(200px, 19vw, 260px); }
.digital__video video {
  display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover;
  background: #1b1a19; border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 30px 60px rgba(0,0,0,.35);
}
.digital__video figcaption {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  white-space: nowrap; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--white); background: rgba(20,20,19,.55); padding: 6px 12px; border-radius: 99px;
}
.digital__tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 22px;
}
.digital__foot { color: var(--white); font-weight: 400; margin-top: 24px; }
.digital__concept {
  margin: clamp(64px, 8vw, 110px) auto 0;
  max-width: 900px;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.25;
  color: var(--white);
}

/* ---------- SERVICIO BOUTIQUE ---------- */
.boutique { background: var(--paper); padding: clamp(64px, 8vw, 104px) 0; border-bottom: 1px solid rgba(61,59,58,.12); }
.boutique__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 4vw, 56px); }
.boutique__item { display: flex; flex-direction: column; gap: 10px; }
.boutique__n {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: clamp(56px, 6vw, 84px);
  line-height: 1;
  color: var(--gold);
}
.boutique__item p { margin: 0; max-width: 220px; font-size: .96em; color: var(--charcoal); }
@media (max-width: 1080px) { .boutique__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .boutique__grid { grid-template-columns: 1fr; } }

.boutique__lead {
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.2;
  color: var(--ink);
  max-width: 900px;
  margin-bottom: clamp(40px, 5vw, 64px);
  text-wrap: balance;
}
.boutique__lead em { color: var(--gold); }

/* ---------- EXCLUSIVA CON VALOR AÑADIDO ---------- */
.exclusive__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}
.exclusive__img { margin: 0; height: clamp(480px, 50vw, 660px); }
.exclusive__img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.checks { list-style: none; margin: 30px 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink); font-weight: 400; }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 16px; height: 8px;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}
.exclusive__note { font-size: .92em; color: var(--grey); border-top: 1px solid rgba(61,59,58,.15); padding-top: 18px; }

/* ---------- PRESENTACIÓN ---------- */
.showcase { background: var(--white); }
.showcase__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 18px;
}
.showcase__grid figure { margin: 0; overflow: hidden; }
.showcase__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.showcase__grid figure:hover img { transform: scale(1.05); }
.showcase__main { grid-row: span 2; }
.showcase__discreet {
  margin: 36px 0 0;
  padding: 22px 26px;
  background: var(--mist);
  color: var(--charcoal);
  max-width: 760px;
}
.showcase__discreet strong { color: var(--ink); font-weight: 600; }

/* ---------- MANIFIESTO ---------- */
.manifesto { background: var(--white); }
.manifesto__inner { max-width: 980px; }
.manifesto__line {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: .9em;
  text-wrap: pretty;
}
.manifesto__line em, .manifesto__end em { color: var(--gold); }
.manifesto__end {
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--gold);
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.1;
  color: var(--ink);
}

@media (max-width: 820px) {
  .exclusive__grid { grid-template-columns: 1fr; }
  .exclusive__img { height: 420px; }
  .showcase__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 200px; }
  .showcase__main { grid-row: auto; grid-column: span 2; }
}

/* ---------- SERVICIOS ---------- */
.section__head { max-width: 780px; margin-bottom: clamp(48px, 6vw, 80px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }

.verbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(61,59,58,.15);
  border-left: 1px solid rgba(61,59,58,.15);
}
.verb {
  position: relative;
  padding: clamp(32px, 3.5vw, 48px);
  border-right: 1px solid rgba(61,59,58,.15);
  border-bottom: 1px solid rgba(61,59,58,.15);
  overflow: hidden;
  isolation: isolate;
  transition: color .6s var(--ease);
}
.verb::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .7s var(--ease);
  z-index: -1;
}
.verb:hover { color: rgba(255,255,255,.8); }
.verb:hover::before { transform: scaleY(1); }
.verb:hover h3 { color: var(--white); }
.verb__n { font-size: 12px; letter-spacing: .2em; color: var(--gold); }
.verb h3 {
  font-family: var(--serif);
  font-size: clamp(30px, 2.8vw, 40px);
  color: var(--ink);
  margin: 26px 0 14px;
  transition: color .6s var(--ease);
}
.verb p { margin: 0; }

.offer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: clamp(56px, 6vw, 80px);
}
.offer__item { padding-top: 22px; border-top: 2px solid var(--gold); }
.offer__item h4 { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.offer__item p { font-size: .95em; margin: 0; }

/* ---------- MÉTODO ---------- */
.method { background: var(--mist); }
.method__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}
.method__aside { position: sticky; top: 130px; }
.method__aside .btn { margin-top: 18px; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before {
  content: "";
  position: absolute; left: 27px; top: 10px; bottom: 10px;
  width: 1px;
  background: rgba(61,59,58,.18);
}
.steps::after {
  content: "";
  position: absolute; left: 27px; top: 10px;
  width: 1px;
  height: calc((100% - 20px) * var(--progress, 0));
  background: var(--gold);
  transition: height .2s linear;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  padding: 0 0 clamp(36px, 4vw, 52px);
}
.step:last-child { padding-bottom: 0; }
.step__n {
  position: relative; z-index: 1;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--mist);
  border: 1px solid rgba(61,59,58,.25);
  font-size: 13px; font-weight: 500; letter-spacing: .08em;
  color: var(--charcoal);
  transition: background .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease);
}
.step.is-active .step__n { background: var(--ink); border-color: var(--ink); color: var(--gold-light); }
.step h3 { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 31px); color: var(--ink); margin: 8px 0 8px; line-height: 1.2; }
.step p { margin: 0; }

/* ---------- BANDA FOTO ---------- */
.band {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.band__media { position: absolute; inset: -12% 0; will-change: transform; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,19,.85) 0%, rgba(20,20,19,.55) 50%, rgba(20,20,19,.15) 100%); }
.band__content { position: relative; }
.band__title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.05;
  max-width: 860px;
  margin-bottom: 30px;
}
.band__title em { color: var(--gold-light); }
.band__text { max-width: 520px; color: rgba(255,255,255,.85); font-size: 1.06em; }

/* ---------- VALORES ---------- */
.values__list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(36px, 4vw, 56px) clamp(28px, 3vw, 44px);
}
.values__list li { position: relative; padding-top: 26px; }
.values__list li::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 10px; height: 10px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.values__list li:last-child { grid-column: span 2; background: var(--ink); color: rgba(255,255,255,.8); padding: 34px 34px 30px; }
.values__list li:last-child::before { top: 34px; left: auto; right: 34px; }
.values__list li:last-child h3 { color: var(--gold-light); }
.values__list h3 { font-family: var(--serif); font-size: 28px; color: var(--ink); margin-bottom: 10px; }
.values__list p { margin: 0; font-size: .96em; }

/* ---------- OPINIONES ---------- */
.reviews { background: var(--white); }
.reviews__sub { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 25px); color: var(--grey); }
.slider { position: relative; max-width: 900px; margin: 0 auto; overflow: hidden; }
.slider__track { display: flex; transition: transform .9s var(--ease); }
.review { flex: 0 0 100%; margin: 0; padding: 0 clamp(8px, 4vw, 60px); text-align: center; }
.stars { color: var(--gold); letter-spacing: .3em; font-size: 15px; margin-bottom: 28px; }
.review blockquote {
  margin: 0 0 34px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 1.3;
  color: var(--ink);
}
.review blockquote::before { content: "“"; color: var(--gold); }
.review blockquote::after { content: "”"; color: var(--gold); }
.review figcaption strong { display: block; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; font-size: 13px; color: var(--ink); }
.review figcaption span { font-size: 13px; color: var(--grey); }
.slider__nav { display: flex; justify-content: center; align-items: center; gap: 26px; margin-top: 52px; }
.slider__btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(61,59,58,.25);
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.slider__btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.slider__dots { display: flex; gap: 10px; }
.slider__dots button {
  width: 26px; height: 2px; padding: 0;
  border: 0;
  background: rgba(61,59,58,.2);
  cursor: pointer;
  transition: background .4s, width .4s var(--ease);
}
.slider__dots button.is-active { background: var(--gold); width: 46px; }

/* ---------- ZONAS ---------- */
.zones__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-template-rows: 340px 300px;
  gap: 18px;
}
.zone { position: relative; overflow: hidden; color: var(--white); text-decoration: none; display: block; }
.zone--tall { grid-row: span 2; }
.zone--wide { grid-column: span 2; }
.zone img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.zone--wide img { object-position: 50% 58%; }
.zone::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20,20,19,.78) 100%); transition: opacity .6s; }
.zone:hover img { transform: scale(1.07); }
.zone__label { position: absolute; left: 28px; right: 28px; bottom: 24px; z-index: 1; }
.zone__label h3 { font-family: var(--serif); font-size: clamp(30px, 3vw, 42px); line-height: 1.1; }
.zone--text { background: var(--ink); display: flex; align-items: flex-end; }
.zone--text::after { display: none; }
.zone--text .zone__label { position: static; padding: 40px; max-width: 640px; }
.zone--text .zone__label span { display: block; margin-bottom: 14px; color: var(--sage); }
.zone--text h3 em { color: var(--gold-light); }
.zone--text:hover { background: #22211f; }
.zone__label span { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.8); }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); padding-top: 0; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.accordion details { border-bottom: 1px solid rgba(61,59,58,.18); }
.accordion details:first-child { border-top: 1px solid rgba(61,59,58,.18); }
.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font-family: var(--serif);
  font-size: clamp(21px, 1.8vw, 25px);
  color: var(--ink);
  transition: color .3s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--sans); font-weight: 300; font-size: 26px;
  color: var(--gold);
  transition: transform .5s var(--ease);
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion summary:hover { color: var(--gold); }
.accordion details p { padding: 0 48px 26px 0; margin: 0; animation: fadein .6s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- CTA FINAL ---------- */
.cta {
  position: relative;
  min-height: 90vh;
  display: flex; align-items: center;
  color: var(--white);
  overflow: hidden;
  text-align: center;
}
.cta__media { position: absolute; inset: 0; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.cta__shade { position: absolute; inset: 0; background: rgba(24,23,22,.72); }
.cta__content { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta__content .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.cta__title { font-family: var(--serif); font-size: clamp(50px, 8vw, 120px); line-height: .98; margin-bottom: 30px; }
.cta__title em { color: var(--gold-light); }
.cta__text { max-width: 580px; color: rgba(255,255,255,.85); font-size: 1.08em; margin-bottom: 40px; }
.cta__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cta__phone { margin-top: 34px; font-size: 14px; color: rgba(255,255,255,.7); letter-spacing: .06em; }
.cta__phone a { color: var(--white); text-decoration: none; border-bottom: 1px solid var(--gold); }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.62); padding: 90px 0 36px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__word { color: var(--white); letter-spacing: .32em; font-weight: 500; margin: 20px 0 4px; }
.footer__tag { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--gold-light); }
.footer h4 { color: var(--white); font-size: 11.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 20px; }
.footer p { margin: 0 0 8px; }
.footer a { text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--gold-light); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 70px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12.5px;
}
.footer__bottom p { margin: 0; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  transform: scale(0);
  transition: transform .6s var(--ease), background .3s;
}
.wa-float.is-visible { transform: scale(1); }
.wa-float:hover { background: var(--ink); }
.wa-float svg { width: 27px; height: 27px; fill: currentColor; }

/* =========================================================
   ANIMACIONES DE ENTRADA (solo si JS está activo)
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

.js .hero__title .line > span { transform: translateY(105%); transition: transform 1.3s var(--ease); }
.js .hero.is-ready .hero__title .line > span { transform: none; }
.js .hero.is-ready .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.js .hero.is-ready .hero__title .line:nth-child(3) > span { transition-delay: .24s; }
.js .hero.is-ready .hero__title .line:nth-child(4) > span { transition-delay: .36s; }

.js .img-reveal { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease); }
.js .img-reveal img { transform: scale(1.25); transition: transform 1.8s var(--ease); }
.js .img-reveal.is-in { clip-path: inset(0 0 0 0); }
.js .img-reveal.is-in img { transform: scale(1); }
.js .about__img2 { transition-delay: .25s; }

/* Movimiento intenso desactivado si el sistema lo pide */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation-duration: 160s; }
  .hero__media img { animation: none; transform: none; }
  .band__media { transform: none !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__burger {
    display: grid; gap: 7px; place-content: center;
    width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer; color: inherit;
  }
  .nav__burger span { display: block; width: 26px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
  .nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); color: var(--ink);
    padding: 12px var(--gutter) 28px;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
  }
  .nav.is-open .nav__links a { padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.06); font-size: 13px; }
  .nav.is-open { background: var(--paper); color: var(--ink); }

  .verbs { grid-template-columns: repeat(2, 1fr); }
  .offer { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .values__list { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .about__grid, .method__grid, .faq__grid { grid-template-columns: 1fr; }
  .about__media { height: 520px; }
  .method__aside { position: static; }
  .digital__cols { grid-template-columns: 1fr; }
  .digital__divider { height: 1px; }
  .digital__video { justify-self: center; order: -1; width: min(240px, 62vw); }
  .zones__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 380px 260px 260px; }
  .zone--tall { grid-row: auto; grid-column: span 2; }
  .zone--wide { grid-column: span 2; }
}

@media (max-width: 560px) {
  .hide-sm { display: none; }
  .hero { padding-top: 96px; }
  .nav { gap: 12px; padding-top: 16px; padding-bottom: 16px; }
  .nav__logo { gap: 10px; }
  .logo-mark { width: 34px; height: 34px; }
  .nav__word { font-size: 11px; letter-spacing: .26em; }
  .nav__cta { padding: 11px 14px; font-size: 10px; letter-spacing: .12em; }
  .hero__ctas .btn, .cta__buttons .btn { width: 100%; }
  .hero__scroll { display: none; }
  .verbs { grid-template-columns: 1fr; }
  .offer, .values__list { grid-template-columns: 1fr; }
  .values__list li:last-child { grid-column: auto; }
  .about__media { height: 420px; }
  .zones__grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 300px; }
  .zone--tall, .zone--wide { grid-column: auto; }
  .footer__grid { grid-template-columns: 1fr; }
  .accordion details p { padding-right: 0; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

/* =========================================================
   VERSIÓN 2 — secciones nuevas
   ========================================================= */

/* Valoración gratuita, justo debajo de la portada */
.valuation {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(24px, 3vw, 34px) clamp(24px, 3.5vw, 44px);
  background: var(--ink); color: rgba(255,255,255,.8);
}
.valuation__text { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; color: var(--white); margin: 0; }
.valuation__text em { color: var(--gold-light); }
.valuation .btn::after { background: var(--white); }

/* Compromisos */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 4vw, 56px) clamp(28px, 3vw, 48px); }
.promise { padding-top: 24px; border-top: 1px solid rgba(61,59,58,.18); }
.promise h3 { font-family: var(--serif); font-size: clamp(25px, 2.2vw, 30px); line-height: 1.15; color: var(--ink); margin-bottom: 12px; }
.promise h3::before { content: ""; display: block; width: 28px; height: 2px; background: var(--gold); margin-bottom: 20px; }
.promise p { margin: 0; font-size: .97em; }

/* Valores: viviendas con vida */
.ethos { background: var(--white); }
.ethos__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.ethos__media { position: relative; height: clamp(480px, 50vw, 660px); }
.ethos__img1 { position: absolute; top: 0; left: 0; width: 76%; height: 84%; margin: 0; }
.ethos__img2 { position: absolute; bottom: 0; right: 0; width: 50%; height: 40%; margin: 0; border: 10px solid var(--white); }
.ethos__media img { width: 100%; height: 100%; object-fit: cover; }
.ethos__img1 img { object-position: 50% 75%; }
.ethos__img1 figcaption, .caption-tag {
  position: absolute; left: 0; top: 18px;
  background: var(--paper); color: var(--charcoal);
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 12px;
}
.ethos__romance {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(23px, 2.2vw, 30px); line-height: 1.32; color: var(--ink);
  margin: 34px 0 0; padding-left: 28px; border-left: 1px solid var(--gold);
}
.ethos__romance strong { font-style: normal; font-weight: 500; color: var(--gold); }

/* Pasos con plazo */
.step .when {
  display: inline-block; margin-top: 12px;
  font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--charcoal); background: rgba(204,147,0,.14); padding: 5px 12px;
}

/* Exclusiva: imagen */
.exclusive__img img { object-position: 50% 50%; }

/* Honorarios + calculadora */
.fees { background: var(--paper); }
.fees__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.fees__big { font-family: var(--serif); font-size: clamp(72px, 8vw, 116px); line-height: .95; color: var(--gold); margin: 6px 0 14px; }
.fees__big small { font-family: var(--sans); font-size: .26em; font-weight: 400; letter-spacing: .1em; color: var(--ink); margin-left: 10px; vertical-align: middle; }
.calc { background: var(--ink); color: rgba(255,255,255,.78); padding: clamp(32px, 4vw, 52px); }
.calc__title { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 36px); color: var(--white); margin-bottom: 8px; }
.calc__title em { color: var(--gold-light); }
.calc label { display: block; font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin: 26px 0 10px; }
.calc__field { display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.35); transition: border-color .3s; }
.calc__field:focus-within { border-color: var(--gold-light); }
.calc__field input {
  flex: 1; min-width: 0; width: 100%;
  background: transparent; border: 0; outline: 0;
  font-family: var(--serif); font-size: clamp(36px, 4vw, 52px); line-height: 1.2;
  color: var(--white); padding: 4px 0; font-variant-numeric: tabular-nums;
}
.calc__field span { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); color: rgba(255,255,255,.6); }
.calc__rows { margin-top: 26px; font-variant-numeric: tabular-nums; }
.calc__row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.calc__row--total { border-bottom: 0; padding-top: 16px; color: var(--white); font-weight: 500; }
.calc__row--total strong { font-family: var(--serif); font-size: clamp(30px, 3vw, 40px); font-weight: 400; color: var(--gold-light); line-height: 1; }
.calc__compare { margin: 24px 0 0; padding: 16px 18px; background: rgba(255,255,255,.06); font-size: .95em; color: rgba(255,255,255,.85); }
.calc__compare strong { color: var(--white); font-weight: 500; }
.calc__fine { margin: 18px 0 0; font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.4; color: rgba(255,255,255,.7); }
.calc__legal { margin: 10px 0 0; font-size: 12px; color: rgba(255,255,255,.45); }

/* "Hablemos de tu vivienda" (sube en la página) */
.cta--early { min-height: 78vh; }
.cta--early .cta__media img { object-position: 50% 35%; }

/* Quiénes somos */
.about__img1 img { object-position: 50% 40%; }
.about__formats { margin-top: 8px; font-size: .95em; color: var(--charcoal); }

/* Zonas: Cádiz + Tarifa Homes */
.zone--cadiz { display: flex; align-items: flex-end; }
.zone--cadiz img { position: absolute; inset: 0; object-position: 50% 60%; }
.zones__grid { grid-template-rows: 340px minmax(300px, auto); }
.zone--cadiz::after { background: linear-gradient(90deg, rgba(20,20,19,.84) 0%, rgba(20,20,19,.6) 50%, rgba(20,20,19,.12) 100%); }
.zone--cadiz .zone__label { position: relative; left: auto; right: auto; bottom: auto; padding: clamp(28px, 3vw, 40px); max-width: 640px; }
.zone--cadiz .zone__label > span { display: block; margin-bottom: 12px; color: var(--gold-light); }
.zone--cadiz h3 { font-size: clamp(24px, 2.2vw, 32px); }
.zone--cadiz h3 em { color: var(--gold-light); }
.zone--cadiz .zone__label p { margin: 14px 0 0; color: rgba(255,255,255,.75); font-size: .95em; text-transform: none; letter-spacing: 0; }
.zone__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-light); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.zone__link:hover { color: var(--white); }
.zone:not(a) { cursor: default; }
.zone:not(a):hover img { transform: none; }

/* Pie: líneas de búsqueda, visibles y discretas */
.footer__seo {
  margin-top: 56px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12px; line-height: 1.9; color: rgba(255,255,255,.45);
}
.footer__seo strong { font-weight: 500; color: rgba(255,255,255,.62); }
.footer__bottom { margin-top: 26px; }
.footer__slogan { font-family: var(--serif); font-style: italic; font-size: 17px; color: rgba(255,255,255,.75); }

/* Portada y "Hablemos": el tamaño también depende de la altura de la pantalla,
   para que en portátiles anchos y bajos el texto respire y no choque con el menú */
.hero { padding-top: clamp(96px, 13vh, 130px); }
.hero__content { padding-bottom: clamp(56px, 9vh, 120px); }
.hero__title { font-size: clamp(40px, min(6vw, 8.5vh), 88px); margin-bottom: clamp(20px, 3vh, 30px); }
.hero__sub { max-width: 560px; margin-bottom: clamp(26px, 4vh, 38px); }

.cta { padding-block: clamp(110px, 15vh, 170px) clamp(80px, 11vh, 130px); }
.cta__content .eyebrow { margin-bottom: clamp(20px, 3vh, 30px); }
.cta__title { font-size: clamp(44px, min(7vw, 11vh), 112px); line-height: 1.02; margin-bottom: clamp(22px, 3.5vh, 32px); }
.cta__text { margin-bottom: clamp(28px, 4.5vh, 40px); }

@media (max-width: 1080px) {
  .promises { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .ethos__grid, .fees__grid { grid-template-columns: 1fr; }
  .ethos__media { height: 500px; }
}
@media (max-width: 560px) {
  .promises { grid-template-columns: 1fr; }
  .valuation .btn { width: 100%; }
  .zones__grid { grid-auto-rows: minmax(300px, auto); }
  .zone--cadiz::after { background: linear-gradient(180deg, rgba(20,20,19,.35) 0%, rgba(20,20,19,.85) 100%); }
  .ethos__media { height: 420px; }
}
@media (max-width: 560px) {
  .nav__cta { display: none; }
  .nav__burger { margin-left: auto; }
}

/* =========================================================
   VERSIÓN 3 — fundadora y páginas legales
   ========================================================= */

/* Quiénes somos: ficha de Elisa (la foto se añade cuando llegue) */
.founder {
  display: flex; align-items: center; gap: 24px;
  margin-top: 40px; padding: 26px 28px;
  background: var(--white); border-top: 2px solid var(--gold);
}
.founder__photo { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.founder__label { margin: 0 0 4px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); }
.founder__name { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 32px); line-height: 1.1; color: var(--ink); margin-bottom: 10px; }
.founder__bio { margin: 0; font-size: .95em; }
@media (max-width: 560px) { .founder { flex-direction: column; align-items: flex-start; } }

/* Páginas legales */
.legal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px var(--gutter); background: var(--paper);
  border-bottom: 1px solid rgba(61,59,58,.12);
}
.legal-head .nav__logo { color: var(--ink); }
.legal-head__back { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.legal-head__back:hover { color: var(--gold); }
.legal { max-width: 820px; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(72px, 10vw, 120px); }
.legal h1 { font-family: var(--serif); font-size: clamp(38px, 5vw, 60px); line-height: 1.05; color: var(--ink); margin-bottom: 14px; }
.legal__date { font-size: 13px; color: var(--grey); margin-bottom: 44px; }
.legal h2 { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); color: var(--ink); margin: 44px 0 14px; }
.legal ul { padding-left: 20px; margin: 0 0 1.1em; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.legal strong { font-weight: 500; color: var(--ink); }
.legal-data { margin: 0 0 1.1em; padding: 22px 26px; background: var(--white); border-left: 2px solid var(--gold); }
.legal-data p { margin: 0 0 4px; }
.legal-foot { background: var(--ink); color: rgba(255,255,255,.62); font-size: 13px; padding: 28px 0; }
.legal-foot .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.legal-foot a { text-decoration: none; margin-right: 18px; }
.legal-foot a:hover, .legal-foot a[aria-current] { color: var(--gold-light); }
