:root {
  --wine-950: #3a0a0b;
  --wine-900: #4d0d0e;
  --wine-800: #5c1011;
  --wine-700: #691313;
  --wine-600: #7e1b1b;
  --wine-500: #972a28;

  --paper: #f3ebe2;
  --paper-light: #faf6f0;
  --paper-deep: #ebe1d4;
  --line: #dbcec8;
  --line-strong: #c9b8ad;

  --ink: #2a211e;
  --ink-soft: #62554e;

  --wood: #9d7356;
  --sand: #c39878;
  --brass: #b08d62;

  --font-display: "Marcellus", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 10vw, 136px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* grano de papel */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: .055;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .1 0 0 0 0 .08 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.005em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 3.7vw, 3.3rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.2; }

:focus-visible {
  outline: 2px solid var(--wine-600);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--wine-700); color: var(--paper); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--wine-700);
  color: var(--paper);
  text-decoration: none;
  border-radius: var(--radius);
  transition: top .2s;
}
.skip:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); position: relative; }
main { overflow-x: clip; }

/* ---------- Piezas ---------- */

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wine-700);
}
.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.label {
  margin: 0 0 14px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.label--light { color: rgba(243, 235, 226, .62); }

.section__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .85;
  color: var(--line-strong);
  opacity: .75;
  user-select: none;
}
.section__head--light .section__num { color: rgba(243, 235, 226, .22); opacity: 1; }
.section__sub {
  max-width: 46ch;
  margin-top: 18px;
  font-size: 1.125rem;
  color: var(--ink-soft);
}
.section__head--light .section__sub { color: rgba(243, 235, 226, .78); }

.badge {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--wine-800);
  color: var(--paper);
  flex: none;
}
.badge .ico { width: 24px; height: 24px; }
.badge--light { background: var(--paper); color: var(--wine-800); }
.badge--outline { background: none; color: var(--wine-700); border: 1px solid var(--wine-700); }

.btn {
  --bg: var(--wine-700);
  --fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 8px 22px;
  border: 1px solid var(--bg);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { --bg: var(--wine-900); }
.btn__chip {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-right: -10px;
  border-radius: 50%;
  background: rgba(243, 235, 226, .16);
  transition: transform .35s var(--ease);
}
.btn__chip .ico { width: 16px; height: 16px; }
.btn:hover .btn__chip { transform: translateX(4px); }

.btn--ghost {
  background: transparent;
  color: var(--wine-700);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--wine-700); color: var(--paper); border-color: var(--wine-700); }

.btn--light { --bg: var(--paper); --fg: var(--wine-800); }
.btn--light:hover { --bg: #fff; }
.btn--light .btn__chip { background: rgba(105, 19, 19, .1); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--wine-700);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap .3s var(--ease), color .2s;
}
.link .ico { width: 16px; height: 16px; }
.link:hover { gap: 16px; color: var(--wine-900); }
.link--light { color: var(--paper); }
.link--light:hover { color: #fff; }

/* ---------- Barra superior ---------- */

.topbar {
  background: var(--wine-900);
  color: rgba(243, 235, 226, .86);
  font-size: .8rem;
  letter-spacing: .04em;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 38px;
}
.topbar__office { margin: 0; text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; }
.topbar__links { display: flex; gap: 22px; }
.topbar__links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}
.topbar__links a:hover { color: #fff; }
.topbar__links .ico { width: 15px; height: 15px; }

/* ---------- Cabecera ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 235, 226, .9);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(58, 10, 11, .5);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--wine-700);
  text-decoration: none;
}
.brand__mark {
  width: 50px;
  aspect-ratio: 1;
  background: currentColor;
  -webkit-mask: url("../img/logo-mark.png") center / contain no-repeat;
          mask: url("../img/logo-mark.png") center / contain no-repeat;
}
.brand__rule { width: 1px; height: 34px; background: currentColor; opacity: .45; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: .09em;
  line-height: 1;
  white-space: nowrap;
}
.brand--light { color: var(--paper); }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav__list { display: flex; gap: clamp(16px, 2.2vw, 32px); }
.nav__list a {
  position: relative;
  padding-block: 8px;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--wine-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__list a:hover,
.nav__list a.is-current { color: var(--wine-700); }
.nav__list a:hover::after,
.nav__list a.is-current::after { transform: scaleX(1); }
.nav__cta { min-height: 46px; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: none;
  color: var(--wine-700);
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  margin-inline: auto;
  background: currentColor;
  transition: transform .3s var(--ease), background .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  min-height: clamp(580px, calc(100vh - 114px - 62px), 760px);
}
.hero__copy {
  position: relative;
  z-index: 2;
  padding-block: clamp(48px, 7vw, 88px);
  padding-right: clamp(0px, 3vw, 40px);
}
.hero__title {
  font-size: clamp(2.7rem, 5.5vw, 5.1rem);
  line-height: 1.02;
  margin-bottom: 28px;
}
.hero__hundred {
  position: relative;
  display: inline-block;
  color: var(--wine-700);
  white-space: nowrap;
}
.hero__hundred sup {
  font-size: .32em;
  vertical-align: top;
  position: relative;
  top: .35em;
  margin-left: .08em;
}
.hero__hundred svg {
  position: absolute;
  left: -2%;
  bottom: -.14em;
  width: 100%;
  height: .2em;
  overflow: visible;
}
.hero__hundred path {
  fill: none;
  stroke: var(--brass);
  stroke-width: 3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.hero__lead {
  max-width: 50ch;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note {
  margin-top: 26px;
  font-size: .78rem;
  color: var(--ink-soft);
}

.hero__visual {
  position: absolute;
  inset: 0 0 0 auto;
  width: 51%;
  z-index: 1;
}
.hero__arc,
.hero__photo { position: absolute; inset: 0; }
.hero__arc { background: var(--wine-700); clip-path: ellipse(100% 80% at 100% 46%); }
.hero__arc--soft { background: var(--sand); opacity: .4; clip-path: ellipse(104.5% 86% at 100% 42%); }
.hero__photo {
  clip-path: ellipse(96.5% 76% at 100% 49%);
  background: var(--wood);
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 55%;
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(58, 10, 11, 0) 55%, rgba(58, 10, 11, .28));
}

.hero__seal {
  position: absolute;
  left: 1.5%;
  bottom: 9%;
  width: clamp(120px, 12vw, 164px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper);
  color: var(--wine-700);
  box-shadow: 0 18px 40px -18px rgba(58, 10, 11, .55);
  display: grid;
  place-items: center;
}
.hero__seal-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 36s linear infinite;
}
.hero__seal-ring text {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .12em;
  fill: currentColor;
}
.hero__seal-mark {
  width: 46%;
  aspect-ratio: 1;
  background: currentColor;
  -webkit-mask: url("../img/logo-mark.png") center / contain no-repeat;
          mask: url("../img/logo-mark.png") center / contain no-repeat;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Cinta ---------- */

.ticker {
  overflow: hidden;
  background: var(--wine-800);
  color: var(--paper);
  border-block: 1px solid var(--wine-950);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.ticker ul { display: flex; flex: none; }
.ticker li {
  display: flex;
  align-items: center;
  padding-block: 18px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker li::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-inline: 34px;
  border-radius: 50%;
  background: var(--brass);
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifiesto ---------- */

.manifesto__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.manifesto__title { font-size: clamp(2.4rem, 5.2vw, 4.6rem); line-height: 1.04; }
.manifesto__title em { font-style: normal; color: var(--wine-700); }
.manifesto__body > p { font-size: 1.15rem; color: var(--ink-soft); max-width: 48ch; }
.audience {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 34px;
  border-top: 1px solid var(--line-strong);
}
.audience li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-strong);
  font-weight: 600;
}
.audience li:nth-child(odd) { border-right: 1px solid var(--line-strong); }
.audience li:nth-child(even) { padding-left: 20px; }
.audience .ico { color: var(--wine-700); }

/* ---------- Inmobiliaria ---------- */

.estate { background: var(--paper-light); border-block: 1px solid var(--line); }
.estate__grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  align-items: stretch;
}
.estate__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 3.2vw, 44px);
  border-block: 1px solid var(--line-strong);
}
.estate__item:first-child { padding-left: 0; }
.estate__item:last-child { padding-right: 0; }
.estate__item h3 { margin: 26px 0 10px; }
.estate__item p { color: var(--ink-soft); }
.estate__q { font-weight: 600; color: var(--ink) !important; margin-bottom: .5em; }
.estate__item .link,
.estate__item .btn { margin-top: auto; }
.estate__item > p:nth-last-child(2) { margin-bottom: 28px; }

.estate__item--feature {
  position: relative;
  margin-block: -22px;
  background: var(--wine-700);
  color: var(--paper);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 34px 60px -34px rgba(58, 10, 11, .7);
  overflow: hidden;
}
.estate__item--feature::before {
  content: "";
  position: absolute;
  right: -34%;
  top: -30%;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(243, 235, 226, .18);
  box-shadow: 0 0 0 44px rgba(243, 235, 226, .035);
  pointer-events: none;
}
.estate__item--feature > * { position: relative; }
.estate__item--feature p { color: rgba(243, 235, 226, .82); }
.estate__claim {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1.12;
  color: var(--paper) !important;
  margin: 6px 0 16px;
}
.estate__claim sup { font-size: .45em; }
.estate__tag {
  padding-top: 14px;
  border-top: 1px solid rgba(243, 235, 226, .25);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper) !important;
  align-self: stretch;
}

.appraisal {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  margin-top: clamp(56px, 6vw, 80px);
  padding: clamp(22px, 3vw, 34px) clamp(22px, 3.5vw, 44px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
}
.appraisal h3 { margin-bottom: 6px; }
.appraisal p { color: var(--ink-soft); max-width: 70ch; }

/* ---------- Venta ---------- */

.sell__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
}
.sell__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.sell__intro .section__num { margin-bottom: 26px; }
.sell__intro h2 { margin-bottom: 22px; }
.sell__intro > p:not(.kicker) { font-size: 1.125rem; color: var(--ink-soft); max-width: 44ch; margin-bottom: 30px; }

.steps { counter-reset: step; border-top: 1px solid var(--line-strong); }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  line-height: 1.25;
  transition: padding-left .4s var(--ease), color .3s;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--wine-600);
}
.steps li:hover { padding-left: 12px; color: var(--wine-700); }

.extras {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 7vw, 110px);
  align-items: center;
  margin-top: clamp(48px, 7vw, 88px);
  padding: clamp(26px, 4vw, 48px);
  background: var(--paper-deep);
  border-radius: var(--radius);
}
.extras__text p:not(.label) { color: var(--ink-soft); max-width: 46ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 10px 18px;
  border: 1px solid var(--wine-700);
  border-radius: 999px;
  color: var(--wine-700);
  font-size: .92rem;
  font-weight: 600;
}

/* ---------- Gestoría ---------- */

.agency {
  background: var(--wine-800);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.agency::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -18vw;
  top: -30%;
  width: 70vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--wine-700);
  box-shadow: 0 0 0 80px rgba(105, 19, 19, .45);
}
.agency .kicker { color: var(--sand); }
.agency__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
}
.prices { display: grid; }
.price {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 8px 24px;
  padding: 26px 0 28px;
  border-top: 1px solid rgba(243, 235, 226, .25);
}
.price__who {
  grid-column: 1 / -1;
  margin: 0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sand);
}
.price__amount {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 5.6rem);
  line-height: .95;
  white-space: nowrap;
}
.price__amount span {
  display: inline-block;
  margin-right: .5em;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(243, 235, 226, .7);
  vertical-align: .9em;
}
.price__amount small { font-size: .3em; letter-spacing: .02em; color: rgba(243, 235, 226, .8); }
.price .link { margin-bottom: 12px; }
.prices__note {
  padding-top: 20px;
  border-top: 1px solid rgba(243, 235, 226, .25);
  font-size: .9rem;
  color: rgba(243, 235, 226, .7);
}

.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; }
.checks li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(243, 235, 226, .16);
  line-height: 1.4;
}
.checks .ico { margin-top: 2px; color: var(--sand); width: 18px; height: 18px; }
.agency__study {
  margin-top: 36px;
  padding: 24px 26px;
  border-left: 2px solid var(--sand);
  background: rgba(58, 10, 11, .35);
}
.agency__study p:last-child { color: rgba(243, 235, 226, .86); }

/* ---------- Estudio gratuito + ahorro ---------- */

.duo__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.duo__item { padding-right: clamp(24px, 6vw, 88px); }
.duo__item + .duo__item {
  padding-right: 0;
  padding-left: clamp(24px, 6vw, 88px);
  border-left: 1px solid var(--line-strong);
}
.duo__item .badge { margin-bottom: 28px; }
.duo__item h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 18px; }
.duo__item > p:not(.kicker) { color: var(--ink-soft); margin-bottom: 26px; max-width: 48ch; }

/* ---------- Explorador de servicios ---------- */

.services { background: var(--paper-light); border-block: 1px solid var(--line); }

.explorer {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.explorer__nav { border-top: 1px solid var(--line-strong); }
.explorer__tab {
  display: grid;
  grid-template-columns: 30px 22px 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 15px 14px 15px 6px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: none;
  text-align: left;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition: background .25s, color .25s, padding-left .35s var(--ease);
}
.explorer__n {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--ink-soft);
  transition: color .25s;
}
.explorer__tab .ico { width: 20px; height: 20px; color: var(--wine-700); transition: color .25s; }
.explorer__tab:hover { padding-left: 14px; color: var(--wine-700); }
.explorer__tab[aria-selected="true"] {
  padding-left: 16px;
  background: var(--wine-700);
  color: var(--paper);
}
.explorer__tab[aria-selected="true"] .explorer__n,
.explorer__tab[aria-selected="true"] .ico { color: var(--sand); }

.explorer__panels { position: sticky; top: calc(var(--header-h) + 28px); }
.panel {
  position: relative;
  padding: clamp(28px, 4vw, 56px);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--wine-700);
  border-radius: 0 0 var(--radius) var(--radius);
}
.panel + .panel { margin-top: 20px; }
.js .explorer.is-ready .panel { margin-top: 0; }
.js .explorer.is-ready .panel[hidden] { display: none; }
.js .explorer.is-ready .panel:not([hidden]) { animation: panel-in .5s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }

.panel h3 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.12; margin-bottom: 16px; }
.panel__lead { font-size: 1.125rem; color: var(--ink-soft); max-width: 60ch; margin-bottom: 28px; }
.panel > p:not(.kicker):not(.label):not(.panel__lead) { color: var(--ink-soft); max-width: 60ch; margin-bottom: 28px; }
.panel__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; margin-bottom: 30px; }
.panel__cols p:not(.label) { color: var(--ink-soft); }

.dots { margin-bottom: 30px; border-top: 1px solid var(--line); }
.panel__cols .dots { margin-bottom: 0; }
.dots li {
  position: relative;
  padding: 11px 0 11px 22px;
  border-bottom: 1px solid var(--line);
  line-height: 1.4;
}
.dots li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.15em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--wine-700);
}
.dots--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }

/* ---------- Por qué ---------- */

.why__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
}
.why__copy .section__num { margin-bottom: 26px; }
.why__copy h2 { margin-bottom: 22px; }
.why__copy > p:not(.kicker) { font-size: 1.125rem; color: var(--ink-soft); max-width: 50ch; }
.why__motto {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem) !important;
  color: var(--wine-700) !important;
  line-height: 1.2;
}
.why__concept { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.why__360 { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; margin-bottom: .5em; }
.why__concept p:last-child { color: var(--ink-soft); max-width: 54ch; }

.orbit {
  --size: min(100%, 500px);
  position: relative;
  width: var(--size);
  aspect-ratio: 1;
  margin-inline: auto;
}
.orbit__ring { position: absolute; border-radius: 50%; }
.orbit__ring--outer { inset: 6%; border: 1px solid var(--line-strong); }
.orbit__ring--inner { inset: 24%; border: 1px dashed var(--line-strong); animation: spin 90s linear infinite reverse; }
.orbit__core {
  position: absolute;
  inset: 31%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wine-700);
  color: var(--paper);
  box-shadow: 0 30px 60px -30px rgba(58, 10, 11, .8);
}
.orbit__mark {
  width: 74%;
  aspect-ratio: 1;
  background: currentColor;
  -webkit-mask: url("../img/logo-mark.png") center / contain no-repeat;
          mask: url("../img/logo-mark.png") center / contain no-repeat;
}
.orbit__items { position: absolute; inset: 6%; animation: spin 70s linear infinite; }
.orbit__items li {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: rotate(var(--a)) translateY(-50cqh);
}
.orbit__items { container-type: size; }
.orbit__items span {
  position: absolute;
  left: -29px;
  top: -29px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--wine-700);
  color: var(--wine-700);
  transform: rotate(calc(-1 * var(--a)));
}
.orbit__items span .ico { width: 24px; height: 24px; animation: spin 70s linear infinite reverse; }

/* ---------- Dónde ---------- */

.where {
  background: var(--wine-900);
  color: var(--paper);
  overflow: hidden;
}
.where .kicker { color: var(--sand); }
.where__head h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: .04em; }
.cities {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px clamp(18px, 3vw, 44px);
  margin-block: clamp(32px, 5vw, 60px);
  padding-block: clamp(26px, 4vw, 44px);
  border-block: 1px solid rgba(243, 235, 226, .2);
}
.cities li {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.4vw, 4.6rem);
  line-height: 1.12;
  color: rgba(243, 235, 226, .42);
  transition: color .3s;
}
.cities li:hover { color: var(--paper); }
.cities li.is-here { position: relative; color: var(--paper); }
.cities li.is-here::after {
  content: "Oficina 003";
  position: absolute;
  left: 100%;
  top: .5em;
  margin-left: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--wine-950);
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}
.cities li.is-here { margin-right: 96px; }
.where__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: center;
}
.where__foot p { max-width: 52ch; color: rgba(243, 235, 226, .78); }
.office {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid rgba(243, 235, 226, .3);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .25s, border-color .25s;
}
.office:hover { background: rgba(243, 235, 226, .08); border-color: rgba(243, 235, 226, .6); }
.office > .ico:first-child { width: 24px; height: 24px; color: var(--sand); }
.office strong {
  display: block;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sand);
}
.office__go { width: 18px; height: 18px; }

/* ---------- Contacto ---------- */

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
}
.contact__info .section__num { margin-bottom: 26px; }
.contact__info h2 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); margin-bottom: 20px; }
.contact__info > p:not(.kicker) { font-size: 1.125rem; color: var(--ink-soft); max-width: 40ch; }

.channels { margin-top: 36px; border-top: 1px solid var(--line-strong); }
.channels a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-strong);
  text-decoration: none;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  font-weight: 600;
  line-height: 1.35;
  transition: padding-left .35s var(--ease), color .25s;
}
.channels a:hover { padding-left: 10px; color: var(--wine-700); }
.channels small {
  display: block;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.channels .badge { width: 46px; height: 46px; }
.channels .badge .ico { width: 20px; height: 20px; }

.form {
  padding: clamp(26px, 4vw, 52px);
  background: var(--paper-light);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--wine-700);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 40px 70px -50px rgba(58, 10, 11, .55);
}
.form__title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.2;
  margin-bottom: 26px;
}
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.field { display: block; margin-bottom: 20px; }
.field > span {
  display: block;
  margin-bottom: 6px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field abbr { text-decoration: none; color: var(--wine-600); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  font-size: 1.05rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23691313' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 2px center / 18px no-repeat;
  cursor: pointer;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--wine-700);
  box-shadow: 0 1px 0 0 var(--wine-700);
}
.form.is-validated .field :invalid { border-bottom-color: #b3261e; box-shadow: 0 1px 0 0 #b3261e; }
.form.is-validated .consent input:invalid { outline: 2px solid #b3261e; outline-offset: 2px; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 6px 0 22px;
  font-size: .9rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.consent input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--wine-700); flex: none; }
.consent a { color: var(--wine-700); }
.form__error { color: #b3261e; font-size: .9rem; font-weight: 600; }
.form__ok {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-left: 2px solid var(--wine-700);
  background: var(--paper-deep);
  font-weight: 600;
  line-height: 1.45;
}
.form__ok[hidden] { display: none; }
.form__ok .ico { margin-top: 2px; color: var(--wine-700); }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form__actions .btn { flex: 1 1 200px; }
.form__hint { margin-top: 16px; font-size: .8rem; color: var(--ink-soft); }

/* ---------- Pie ---------- */

.footer {
  position: relative;
  background: var(--wine-950);
  color: rgba(243, 235, 226, .78);
  padding-top: clamp(56px, 7vw, 88px);
  font-size: .95rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.9fr 1.3fr 1.1fr .9fr;
  gap: 40px clamp(24px, 4vw, 64px);
  padding-bottom: clamp(44px, 6vw, 72px);
}
.footer .brand__mark { width: 58px; }
.footer__motto {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.75vw, 1.6rem);
  line-height: 1.22;
  color: var(--paper);
}
.footer__title {
  margin-bottom: 16px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sand);
}
.footer__col li { margin-bottom: 9px; line-height: 1.45; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding-block: 22px;
  border-top: 1px solid rgba(243, 235, 226, .16);
  font-size: .8rem;
  color: rgba(243, 235, 226, .58);
}
.footer__base p { margin: 0; }

.fab {
  position: fixed;
  right: clamp(14px, 2.5vw, 28px);
  bottom: clamp(14px, 2.5vw, 28px);
  z-index: 150;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wine-700);
  color: var(--paper);
  border: 2px solid var(--paper);
  box-shadow: 0 16px 34px -14px rgba(58, 10, 11, .8);
  transition: transform .3s var(--ease), background .25s;
}
.fab .ico { width: 28px; height: 28px; }
.fab:hover { transform: translateY(-3px) scale(1.04); background: var(--wine-900); }

/* ---------- Páginas legales ---------- */

.legal { padding-block: clamp(32px, 5vw, 64px) clamp(56px, 8vw, 104px); }
.legal__inner { max-width: 780px; }
.legal h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin-bottom: 14px; }
.legal__updated { font-size: .9rem; margin-bottom: clamp(28px, 4vw, 44px); }
.legal h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.2;
  margin: 44px 0 12px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { margin: 0 0 1em; padding-left: 1.2em; list-style: disc; }
.legal li { margin-bottom: .35em; }
.legal a { color: var(--wine-700); }
.legal__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(18px, 3vw, 36px);
  margin-bottom: clamp(36px, 5vw, 60px);
  border-bottom: 1px solid var(--line-strong);
}
.legal__nav a {
  padding: 14px 0;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  color: var(--ink-soft);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s, border-color .2s;
}
.legal__nav a:hover { color: var(--wine-700); }
.legal__nav a[aria-current="page"] { color: var(--wine-700); border-bottom-color: var(--wine-700); }
.legal + .footer { padding-top: 0; }
.legal + .footer .footer__base { border-top: 0; padding-bottom: 22px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.legal mark {
  padding: 1px 6px;
  border-radius: 3px;
  background: #f1d9a7;
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Aparición ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.js .hero__hundred path { stroke-dashoffset: 1; animation: draw 1.1s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ==========================================================================
   Adaptación
   ========================================================================== */

@media (max-width: 1080px) {
  .nav__list { gap: 18px; }
  .nav__list a { font-size: .9rem; }
  .brand__name { font-size: 1.25rem; }
  .brand__mark { width: 44px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 940px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100dvh - var(--nav-top, 106px));
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 28px var(--gutter) 40px;
    background: var(--paper);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 0; border-top: 1px solid var(--line-strong); }
  .nav__list a {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid var(--line-strong);
    font-family: var(--font-display);
    font-size: 1.6rem;
  }
  .nav__list a::after { display: none; }
  .nav__cta { min-height: 54px; }

  .hero__inner { display: block; min-height: 0; }
  .hero__copy { padding: 44px 0 36px; }
  .hero__visual {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(300px, 62vw, 460px);
  }
  .hero__arc { clip-path: ellipse(120% 100% at 60% 100%); }
  .hero__arc--soft { clip-path: ellipse(126% 100% at 50% 104%); }
  .hero__photo { clip-path: ellipse(120% 96% at 66% 100%); }
  .hero__seal { left: auto; right: var(--gutter); bottom: auto; top: 18px; width: 116px; }

  .manifesto__grid,
  .sell__grid,
  .agency__grid,
  .why__grid,
  .contact__grid,
  .extras { grid-template-columns: 1fr; }
  .sell__intro { position: static; }

  .estate__grid { grid-template-columns: 1fr; }
  .estate__item,
  .estate__item:first-child,
  .estate__item:last-child { padding: 32px 0; }
  .estate__item { border-bottom: 0; }
  .estate__item:last-child { border-bottom: 1px solid var(--line-strong); }
  .estate__item--feature { margin: 0 0 0; padding: 32px 26px !important; order: -1; }
  .estate__item--feature + .estate__item { border-top: 1px solid var(--line-strong); }
  .appraisal { grid-template-columns: auto 1fr; }
  .appraisal .link { grid-column: 2; justify-self: start; }

  .duo__grid { grid-template-columns: 1fr; }
  .duo__item { padding-right: 0; }
  .duo__item + .duo__item {
    padding-left: 0;
    margin-top: 48px;
    padding-top: 48px;
    border-left: 0;
    border-top: 1px solid var(--line-strong);
  }

  .explorer { grid-template-columns: 1fr; }
  .explorer__panels { position: static; }
  .js .explorer.is-ready .explorer__nav {
    display: flex;
    gap: 8px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 2px var(--gutter) 12px;
    border-top: 0;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .js .explorer.is-ready .explorer__nav::-webkit-scrollbar { display: none; }
  .js .explorer.is-ready .explorer__tab {
    display: inline-flex;
    width: auto;
    flex: none;
    gap: 8px;
    padding: 11px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    white-space: nowrap;
    scroll-snap-align: start;
  }
  .js .explorer.is-ready .explorer__tab[aria-selected="true"] { border-color: var(--wine-700); }
  .js .explorer.is-ready .explorer__n { display: none; }
  html:not(.js) .explorer__nav { display: none; }

  .orbit { --size: min(calc(100% - 36px), 380px); order: 2; }
  .where__foot { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .topbar__office span { display: none; }

  .hero .kicker { gap: 8px; font-size: .68rem; letter-spacing: .12em; }
  .hero .kicker::before { display: none; }
  .topbar__office { font-size: .64rem; letter-spacing: .1em; }
  .topbar__links { gap: 14px; }
  .topbar__links li:first-child a { font-size: 0; gap: 0; }
  .topbar__links li:first-child .ico { width: 16px; height: 16px; }

  .section__head { grid-template-columns: 1fr; gap: 14px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .audience { grid-template-columns: 1fr; }
  .audience li:nth-child(odd) { border-right: 0; }
  .audience li:nth-child(even) { padding-left: 0; }

  .steps li { grid-template-columns: 44px 1fr; padding: 16px 0; }
  .price { grid-template-columns: 1fr; }
  .price .link { justify-self: start; margin: 10px 0 0; }
  .checks,
  .panel__cols,
  .dots--cols,
  .form__row { grid-template-columns: 1fr; }
  .panel .btn { width: 100%; }

  .orbit__items span { width: 46px; height: 46px; left: -23px; top: -23px; }
  .orbit__items span .ico { width: 20px; height: 20px; }

  .cities li.is-here { margin-right: 0; }
  .cities li.is-here::after { position: static; display: inline-block; vertical-align: middle; margin-left: 10px; }
  .office { width: 100%; }
  .office span { flex: 1; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .fab { width: 54px; height: 54px; }
  .footer__base { padding-bottom: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .ticker__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero__hundred path { stroke-dashoffset: 0; }
}

@media print {
  .topbar, .header, .fab, .ticker, .hero__visual { display: none; }
  body::after { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
