/* Marca Angélica Alcaraz.
   Del manual: Sal, Concha, Bruma, Agua, Azul Niebla, Playfair Display y Montserrat.
   Del logo: Bronce y el marrón del nombre. Del PDF: Tinta, Tierra y Arena.
   Azul Puerta (la puerta del moodboard) completa la marca para botones: los cinco colores base
   son demasiado claros para leer sobre ellos. */
:root {
  --sal: #f7f4ee;
  --concha: #ede6dc;
  --bruma: #dcd6cc;
  --agua: #cfe2de;
  --niebla: #b9c8d4;
  --tinta: #262014;
  --tierra: #68401d;
  --arena: #deccbd;
  --puerta: #335c73;
  --puerta-oscuro: #284a5d;
  --bronce: #a8947d;
  --logo-nombre: #4a3f37;
  --bronce-claro: #d8cab8;
  --blanco: #fffdfa;
  --texto-suave: #5c5345;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --firma: 'Mrs Saint Delafield', 'Snell Roundhand', cursive;
  --radio: 16px;
  --topbar: 44px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sal);
  color: var(--tinta);
  font: 400 1rem/1.7 var(--sans);
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.15; }
h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.35; }
:focus-visible { outline: 2px solid var(--puerta); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.center { text-align: center; margin-top: 40px; }
.icon { flex: none; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--tinta); color: var(--sal); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

/* Logo: a color por defecto, en blanco sobre foto y sobre el pie oscuro */
.logo {
  --logo-simbolo: var(--bronce); --logo-texto: var(--logo-nombre); --logo-lema: var(--niebla); --logo-filete: var(--bruma);
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none;
}
.site-header--over .logo, .site-footer .logo {
  --logo-simbolo: #fff; --logo-texto: #fff; --logo-lema: #fff; --logo-filete: rgb(255 255 255 / .5);
}
.logo-mark { display: block; height: 48px; width: auto; flex: none; color: var(--logo-simbolo, var(--bronce)); overflow: visible; }
.logo-mark-linea { stroke-width: var(--logo-linea, 1.1px); }
.logo-mark--large { height: 110px; margin-bottom: 8px; --logo-linea: 1.6px; }
.logo-text { display: flex; flex-direction: column; gap: 5px; padding-left: 12px; border-left: 1px solid var(--logo-filete); }
.logo-name { font: 400 1.14rem/1.1 var(--serif); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; color: var(--logo-texto); }
.logo-tag { font: 500 .52rem/1.1 var(--sans); letter-spacing: .4em; text-transform: uppercase; white-space: nowrap; color: var(--logo-lema); }

/* Barra superior: RE/MAX muy discreto e idioma */
.topbar { height: var(--topbar); background: var(--sal); color: var(--texto-suave); font-size: .7rem; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.remax-tag { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.logo-remax { width: auto; flex: none; }
.remax-tag .logo-remax { height: 26px; }
.remax-tag span { padding-left: 10px; border-left: 1px solid var(--bruma); line-height: 1.5; white-space: nowrap; }
@media (max-width: 400px) { .remax-tag span { white-space: normal; line-height: 1.2; } }
.lang { display: flex; align-items: center; font-weight: 600; letter-spacing: .08em; }
.lang a { display: grid; place-items: center; min-width: 40px; height: var(--topbar); text-decoration: none; }
.lang a:hover { color: var(--tinta); }
.lang a[aria-current] { color: var(--tinta); text-decoration: underline; text-underline-offset: 4px; }

/* Cabecera */
.site-header { background: var(--sal); border-top: 1px solid var(--concha); border-bottom: 1px solid var(--bruma); position: relative; z-index: 20; }
.site-header--over { position: absolute; top: var(--topbar); left: 0; right: 0; background: transparent; border: 0; color: var(--blanco); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.nav-desktop { display: flex; gap: clamp(14px, 1.7vw, 26px); font-size: .84rem; font-weight: 500; }
.nav-desktop a { text-decoration: none; padding-block: 12px; white-space: nowrap; border-bottom: 1px solid transparent; }
.nav-desktop a:hover, .nav-desktop a[aria-current] { border-bottom-color: currentColor; }
.header-contacto { display: flex; align-items: center; gap: 6px; }
.header-tel { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; min-height: 44px; }
.header-wa {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid currentColor; transition: background-color .2s, color .2s, border-color .2s;
}
.header-wa:hover { background: var(--puerta); border-color: var(--puerta); color: var(--blanco); }
.menu { display: none; }
.menu summary {
  list-style: none; width: 44px; height: 44px; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 24px; height: 1.5px; background: currentColor; }
.menu-links {
  position: absolute; inset: 100% 0 auto; background: var(--sal); color: var(--tinta);
  border-bottom: 1px solid var(--bruma); padding: 8px clamp(16px, 4vw, 40px) 16px;
  display: flex; flex-direction: column; box-shadow: 0 16px 28px rgb(38 32 20 / .12);
}
.menu-links a { padding: 12px 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--concha); }
.menu-links a:last-child { border-bottom: 0; }

@media (max-width: 1220px) {
  .nav-desktop { display: none; }
  .menu { display: block; order: 3; }
  .header-contacto { margin-left: auto; }
}
@media (max-width: 560px) {
  .header-tel span { display: none; }
  .header-row { gap: 4px; }
  .header-contacto { gap: 0; }
  .header-tel { width: 40px; justify-content: center; }
  .header-wa { width: 40px; height: 40px; border: 0; }
  .logo { gap: 8px; }
  .logo-mark { height: 40px; }
  .logo-text { padding-left: 8px; gap: 4px; }
  .logo-name { font-size: .92rem; }
  .logo-tag { font-size: .46rem; letter-spacing: .34em; }
}
/* Con teléfono y WhatsApp en la cabecera, el nombre del logo encoge un poco para no comerse el margen. */
@media (max-width: 400px) { .logo-name { font-size: .86rem; } }
@media (max-width: 350px) { .header-tel { display: none; } }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .92rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s;
}
.btn--primary { background: var(--puerta); color: var(--blanco); }
.btn--primary:hover { background: var(--puerta-oscuro); }
.btn--ghost { border-color: var(--tinta); color: var(--tinta); background: transparent; }
.btn--ghost:hover { background: var(--tinta); color: var(--sal); }
.btn--block { width: 100%; }

/* Hero */
.hero {
  position: relative; display: flex; align-items: center; overflow: hidden;
  min-height: clamp(640px, 92vh, 880px); background: var(--tierra); color: var(--blanco);
  border-radius: 0 0 clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px);
}
.hero-track { position: absolute; inset: 0; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translateX(100%); }
.hero-img.is-active, .hero-img.is-prev { transition: transform 1.1s cubic-bezier(.65, 0, .35, 1); }
.hero-img.is-active { transform: none; }
.hero-img.is-prev { transform: translateX(-100%); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgb(38 32 20 / .5), transparent 24%), radial-gradient(ellipse 75% 55% at 50% 52%, rgb(38 32 20 / .6), rgb(38 32 20 / .34));
}
.hero-inner { position: relative; z-index: 1; padding-block: 120px 76px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-controls { position: absolute; left: 50%; bottom: 14px; z-index: 1; translate: -50% 0; display: flex; align-items: center; gap: 2px; color: #fff; }
.hero-dot, .hero-pause { display: grid; place-items: center; width: 28px; height: 32px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.hero-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #fff; box-sizing: border-box; box-shadow: 0 0 3px rgb(38 32 20 / .6); }
.hero-dot[aria-current]::before { background: #fff; }
.hero-dot:focus-visible, .hero-pause:focus-visible { outline-color: #fff; }
.hero-pause svg { filter: drop-shadow(0 0 2px rgb(38 32 20 / .7)); }
.hero-pause .hero-pause-on, .hero-pause.is-paused .hero-pause-off { display: none; }
.hero-pause.is-paused .hero-pause-on { display: block; }
.hero h1 { font-weight: 700; font-size: clamp(2.5rem, 6vw, 4.8rem); line-height: 1.08; max-width: 15em; text-wrap: balance; }
.hero h1 em { font-weight: 400; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 26px; font-size: .9rem; font-weight: 500; }
.hero-facts li { display: flex; align-items: center; gap: 10px; }
.hero-facts li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--bronce-claro); }

/* Buscador */
.search {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 4px; align-items: stretch;
  width: 100%; max-width: 980px; margin-top: 36px; padding: 8px;
  background: var(--blanco); color: var(--tinta); border-radius: 22px; text-align: left;
}
.search label { display: flex; flex-direction: column; padding: 8px 16px; border-right: 1px solid var(--bruma); min-width: 0; }
.search label:nth-of-type(3) { border-right: 0; }
.search label > span { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-suave); }
.search select {
  width: 100%; border: 0; background: transparent; color: var(--tinta); padding: 6px 0 2px;
  font: 500 .95rem var(--sans); cursor: pointer;
}
.search .btn { border-radius: 16px; padding-inline: 36px; }
.search--flat { margin: 0 auto 32px; border: 1px solid var(--bruma); }
@media (max-width: 760px) {
  .search { grid-template-columns: 1fr; }
  .search label { border-right: 0; border-bottom: 1px solid var(--concha); }
  .search label:nth-of-type(3) { border-bottom: 0; }
}

/* Secciones */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(32px, 5vw, 64px); }
.section--agua { background: var(--agua); }
.section--concha { background: var(--concha); }
.section--niebla { background: var(--niebla); }
.section-head { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.section-head h2 { position: relative; display: inline-block; font-size: clamp(2rem, 4vw, 3.1rem); text-wrap: balance; }
.section-head p { max-width: 42em; color: var(--texto-suave); text-wrap: pretty; }
.script {
  position: absolute; right: -.5em; bottom: -.82em; font: 400 1.15em/1 var(--firma); color: var(--tierra);
  white-space: nowrap; pointer-events: none;
}
@media (max-width: 760px) { .script { right: 0; } }
.orn { display: inline-flex; align-items: center; gap: 10px; color: var(--bronce); }
.orn::before, .orn::after { content: ''; width: 56px; height: 1px; background: currentColor; }
.page-head { background: var(--concha); text-align: center; padding-block: clamp(48px, 7vw, 88px); }
.page-head .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18em; text-wrap: balance; }
.page-head p { max-width: 42em; color: var(--texto-suave); text-wrap: pretty; }
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 6px; }

/* Categorías */
.cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px clamp(8px, 2.4vw, 32px); margin-bottom: clamp(28px, 4vw, 44px); }
.cat {
  display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 88px; min-height: 44px;
  padding: 10px 8px; text-decoration: none; font-size: .86rem; font-weight: 500; border-bottom: 2px solid transparent;
}
.cat:hover { color: var(--puerta); }
.cat[aria-current] { color: var(--puerta); border-bottom-color: var(--puerta); }

/* Tarjetas */
.grid { display: grid; gap: clamp(24px, 3vw, 32px); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.card { display: flex; flex-direction: column; text-decoration: none; }
.card-photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bruma); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card-photo--vacia { display: grid; place-items: center; color: var(--bronce); background: var(--concha); }
.card:hover .card-photo img { transform: scale(1.03); }
.badge {
  position: absolute; top: 14px; right: 14px; padding: 5px 13px; border-radius: 999px;
  background: var(--sal); color: var(--tinta); font-size: .72rem; font-weight: 600;
}
.badge--sold { background: var(--tierra); color: var(--blanco); }
.card-title { font-weight: 600; line-height: 1.4; }
.card-specs { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: .86rem; color: var(--texto-suave); }
.card--listing .card-photo { border-radius: var(--radio); }
.card--listing .card-price { margin-top: 14px; color: var(--tierra); font: 500 1.2rem/1.3 var(--serif); }
.card--listing .card-title { margin-top: 4px; }
.card--listing .card-specs { margin-top: 6px; }
.card--featured { background: var(--blanco); border: 1px solid var(--bruma); border-radius: var(--radio); overflow: hidden; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.price-tag {
  position: absolute; left: 14px; bottom: 14px; padding: 6px 14px; border-radius: 999px;
  background: var(--puerta); color: var(--blanco); font: 500 1rem/1.3 var(--serif);
}

/* Servicios: tarjetas en forma de arco, como la puerta del moodboard */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(20px, 3vw, 32px); max-width: 1120px; margin-inline: auto; }
.service {
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; text-decoration: none;
  background: var(--sal); padding: clamp(56px, 6vw, 80px) 32px 36px;
  border-radius: 200px 200px var(--radio) var(--radio);
  transition: transform .25s ease;
}
.service:hover { transform: translateY(-4px); }
.service-icon {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--puerta); color: var(--blanco); margin-bottom: 6px;
}
.service h3 { font: 500 1.5rem/1.2 var(--serif); }
.service p { color: var(--texto-suave); font-size: .95rem; text-wrap: pretty; }
.service-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-size: .9rem; font-weight: 600; color: var(--puerta); }

/* Quién soy */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.about-photo { position: relative; z-index: 1; margin-right: -40px; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 50% 50% var(--radio) var(--radio) / 38% 38% var(--radio) var(--radio); }
.about-panel {
  background: var(--tinta); color: var(--sal); font-size: .95rem;
  padding: clamp(32px, 5vw, 64px); padding-left: clamp(64px, 7vw, 104px);
  border-radius: 0 32px 32px 0; display: flex; flex-direction: column; gap: 14px;
}
.about-panel h2, .about-panel h3 { font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 2.9rem); font-weight: 500; line-height: 1.15; }
.about-lead { font: 400 1.2rem/1.5 var(--serif); }
.signature { font: 400 clamp(3rem, 5vw, 3.9rem)/1.1 var(--firma); color: var(--bronce-claro); margin-top: 8px; }
.about-instagram { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 44px; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { margin: 0 auto -32px; width: min(78%, 340px); }
  .about-panel { padding: 64px 24px 36px; border-radius: 28px; }
}

/* Cómo trabajo */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; position: relative; }
.steps::before { content: ''; position: absolute; left: 10%; right: 10%; top: 26px; height: 1px; background: var(--bronce); }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1040px; margin-inline: auto; }
.steps--3::before { left: 16.6%; right: 16.6%; }
.step { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.step-num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 6px;
  background: var(--sal); border: 1px solid var(--bronce); font: 500 1.3rem/1 var(--serif);
}
.step p { font-size: .9rem; color: var(--texto-suave); text-wrap: pretty; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; gap: 24px; }
  .steps::before { left: 26px; right: auto; top: 16px; bottom: 16px; width: 1px; height: auto; }
  .step { text-align: left; align-items: flex-start; padding-left: 72px; gap: 4px; }
  .step-num { position: absolute; left: 0; top: 0; }
}

/* Las tres fases de una venta */
.fases { display: flex; flex-direction: column; gap: 20px; max-width: 1040px; margin-inline: auto; }
.fase {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px clamp(24px, 4vw, 56px);
  background: var(--blanco); border: 1px solid var(--bruma); border-radius: var(--radio); padding: clamp(24px, 4vw, 40px);
}
.fase h3 { font: 500 clamp(1.5rem, 2.6vw, 2rem)/1.2 var(--serif); margin-bottom: 8px; }
.fase-lead { color: var(--texto-suave); text-wrap: pretty; }
.fase--destacada { background: var(--agua); border-color: var(--agua); }
.fase--destacada .fase-lead { color: var(--tinta); font: italic 400 1.15rem/1.4 var(--serif); }
@media (max-width: 760px) { .fase { grid-template-columns: 1fr; } }

/* Qué me diferencia */
.cita { max-width: 44em; margin: 0 auto clamp(32px, 5vw, 48px); text-align: center; font: italic 400 clamp(1.15rem, 2vw, 1.45rem)/1.5 var(--serif); text-wrap: balance; }
.valores { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 28px clamp(24px, 3vw, 40px); }
.valores li { padding-top: 16px; border-top: 1px solid var(--bronce); }
.valores h3 { font: 500 1.25rem/1.25 var(--serif); margin-bottom: 8px; text-wrap: balance; }
.valores p { font-size: .92rem; color: var(--texto-suave); text-wrap: pretty; }

/* Comprobaciones antes de comprar */
.nota-destacada {
  display: flex; flex-direction: column; gap: 8px; text-align: center; max-width: 760px; margin: clamp(32px, 5vw, 48px) auto 0;
  background: var(--agua); border-radius: var(--radio); padding: clamp(24px, 4vw, 36px);
}
.nota-destacada h3 { font: 500 clamp(1.3rem, 2.4vw, 1.7rem)/1.25 var(--serif); text-wrap: balance; }
.nota-destacada p { text-wrap: pretty; }

/* Cifras */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.stat {
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; text-decoration: none;
  background: var(--blanco); border: 1px solid var(--bruma); border-radius: var(--radio); padding: 36px 24px;
}
.stat .icon { color: var(--bronce); }
.stat strong { font: 500 clamp(1.8rem, 3vw, 2.3rem)/1.15 var(--serif); }
.stat span { font-size: .88rem; color: var(--texto-suave); text-wrap: balance; }
.stat--cta { background: var(--puerta); border-color: var(--puerta); color: var(--blanco); transition: background-color .2s; }
.stat--cta:hover { background: var(--puerta-oscuro); }
.stat--cta .icon { color: var(--blanco); }
.stat--cta span { color: var(--blanco); }
.stat--cta span .icon { display: inline; vertical-align: -3px; margin-left: 2px; }
.premios { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px clamp(24px, 4vw, 56px); margin-top: clamp(32px, 5vw, 48px); text-align: center; }
.premios li { display: flex; flex-direction: column; }
.premios strong { font: 500 1.15rem/1.3 var(--serif); }
.premios span { font-size: .82rem; color: var(--texto-suave); }

/* Listado */
.results-count { margin-bottom: 20px; font-size: .9rem; color: var(--texto-suave); text-align: center; }
.empty {
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  background: var(--blanco); border: 1px solid var(--bruma); border-radius: var(--radio); padding: clamp(32px, 5vw, 56px);
}
.empty h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.empty p { max-width: 36em; color: var(--texto-suave); }
.reviews-state { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; align-items: stretch; }
.review-score { background: var(--agua); border-radius: var(--radio); padding: 32px; display: flex; flex-direction: column; justify-content: center; gap: 8px; text-align: center; }
.review-score strong { font: 500 3.6rem/1 var(--serif); }
.review-score strong span { font-size: 1.4rem; }
@media (max-width: 760px) { .reviews-state { grid-template-columns: 1fr; } }
.resena { display: flex; flex-direction: column; gap: 16px; background: var(--blanco); border: 1px solid var(--bruma); border-radius: var(--radio); padding: 28px; }
.resena blockquote { margin: 0; font: italic 400 1.05rem/1.55 var(--serif); text-wrap: pretty; }
.resena figcaption { margin-top: auto; font-size: .86rem; color: var(--texto-suave); }
.resena strong { color: var(--tinta); }

/* Ficha de propiedad */
.crumbs { font-size: .84rem; color: var(--texto-suave); margin-bottom: 14px; }
.property-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 32px; margin-bottom: 24px; }
.property-head h1 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 22em; text-wrap: balance; }
.property-zone { margin-top: 8px; color: var(--texto-suave); font-size: .92rem; }
.property-price { font: 500 clamp(1.7rem, 3vw, 2.4rem)/1.2 var(--serif); color: var(--tierra); white-space: nowrap; }
.gallery-main { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radio); background: var(--bruma); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav {
  position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--sal); color: var(--tinta); cursor: pointer;
}
.gallery-nav:hover { background: var(--blanco); }
.gallery-nav--prev { left: 14px; }
.gallery-nav--next { right: 14px; }
.gallery-count { position: absolute; right: 14px; bottom: 14px; padding: 4px 12px; border-radius: 999px; background: var(--tinta); color: var(--sal); font-size: .8rem; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding: 3px; scrollbar-width: thin; }
.gallery-thumbs a { flex: none; display: block; width: 104px; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: var(--bruma); opacity: .75; }
.gallery-thumbs a:hover, .gallery-thumbs a[aria-current] { opacity: 1; }
.gallery-thumbs a[aria-current] { outline: 2px solid var(--puerta); outline-offset: 1px; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.property-note { margin-top: 10px; font-size: .82rem; font-style: italic; color: var(--texto-suave); }
.property-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: 32px; }
.property-main { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; }
.facts li { display: flex; flex-direction: column; gap: 2px; padding: 16px; background: var(--concha); border-radius: 12px; font-size: .84rem; color: var(--texto-suave); }
.facts .icon { color: var(--tierra); margin-bottom: 6px; }
.facts strong { font: 500 1.3rem/1.2 var(--serif); color: var(--tinta); }
.prose { display: flex; flex-direction: column; gap: 12px; }
.prose h2 { font-size: 1.7rem; }
.prose h3 { margin-top: 8px; }
.prose p { text-wrap: pretty; }
.prose--narrow { max-width: 760px; }
.todo { background: var(--agua); padding: 12px 16px; border-radius: 10px; font-weight: 500; }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px 20px; }
.features li { position: relative; padding-left: 20px; }
.features li::before { content: ''; position: absolute; left: 0; top: .68em; width: 7px; height: 7px; rotate: 45deg; background: var(--bronce); }
.features--large { grid-template-columns: 1fr; gap: 12px; font-weight: 500; }
.features--una { grid-template-columns: 1fr; }
.features--dos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.contact-card {
  position: sticky; top: 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  background: var(--blanco); border: 1px solid var(--bruma); border-radius: var(--radio); padding: 28px 24px;
}
.contact-card img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.contact-name { font: 500 1.35rem/1.2 var(--serif); }
.contact-role { font-size: .8rem; color: var(--texto-suave); }
.contact-card .logo-remax { width: auto; height: 30px; border-radius: 0; }
.contact-intro { font-size: .92rem; margin-block: 6px; text-wrap: pretty; }
.contact-mail { font-size: .82rem; color: var(--texto-suave); padding-block: 8px; }
@media (max-width: 960px) {
  .property-layout { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .gallery-main { aspect-ratio: 4 / 3; }
}

/* Vender y Sobre mí */
.includes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 32px clamp(32px, 6vw, 80px); align-items: center; }
.includes h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: 14px; text-wrap: balance; }
.includes-cta { margin-top: 20px; }
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 40px; }
.columns h2 { font-size: 1.6rem; margin-bottom: 16px; }
.timeline li { display: flex; flex-direction: column; padding-block: 12px; border-top: 1px solid var(--bruma); }
.timeline strong { font-weight: 600; }
.timeline span { font-size: .88rem; color: var(--texto-suave); }

/* Blog */
.card--articulo .card-body { flex: 1; }
.card--articulo .card-title { font: 500 1.35rem/1.25 var(--serif); }
.card--articulo .service-link { padding-top: 6px; }
.articulo-fecha { font-size: .84rem; color: var(--texto-suave); }
.articulo h2 { margin-top: 16px; }
.articulo ul, .articulo ol { display: flex; flex-direction: column; gap: 8px; padding-left: 1.4em; }
.articulo ul { list-style: disc; }
.articulo ol { list-style: decimal; }
.articulo a { color: var(--puerta); }

/* Pie */
.site-footer { background: var(--tinta); color: var(--sal); padding-top: clamp(48px, 6vw, 72px); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 36px; }
.footer-grid > * { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; min-width: 0; }
.footer-grid h2 { font: 600 .74rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--bronce-claro); margin-bottom: 8px; }
.footer-grid a:not(.logo) { text-decoration: none; padding-block: 3px; }
.footer-grid a:not(.logo):hover { text-decoration: underline; }
.footer-motto { font: italic 400 1.05rem/1.5 var(--serif); margin-top: 8px; }
.footer-role { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: .76rem; color: var(--bruma); }
.footer-role .logo-remax { height: 30px; }
.footer-social { display: flex; gap: 6px; margin: 4px 0 0 -10px; }
.footer-social a { display: grid; place-items: center; width: 44px; height: 44px; }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px;
  padding-block: 20px 88px; border-top: 1px solid rgb(247 244 238 / .2); font-size: .78rem; color: var(--bruma);
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 58px; height: 58px; display: grid; place-items: center;
  border-radius: 50%; background: var(--puerta); color: var(--blanco); box-shadow: 0 8px 24px rgb(38 32 20 / .28);
}
.wa-float:hover { background: var(--puerta-oscuro); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  /* Sin desplazamiento: las fotos del hero cambian con un fundido. */
  .hero-img, .hero-img.is-prev { transform: none; opacity: 0; }
  .hero-img.is-active { opacity: 1; }
  .hero-img.is-active, .hero-img.is-prev { transition: opacity .9s ease !important; }
}
