/* ==========================================================================
   TERRA REAL ESTATE — Sistema Visual Editorial (MODELO WEB 02)
   Paleta oficial medida del logotipo corporativo:
   - Verde esmeralda unificado (--brand): #125242
   - Verde esmeralda suave (--brand-soft): #1a6a56
   - Dorado champán (--accent): #c19c60 (texto accesible #947239 / claro #e7cfa0)
   - Verde salvia claro complementario (--sage): #eaf5ee (borde #c1decb)
   - Fondo marfil editorial (--bg): #f9faf7 / #ffffff
   ========================================================================== */

:root {
  --brand: #125242;
  --brand-soft: #1a6a56;
  --accent: #c19c60;
  --accent-dark: #947239;
  --accent-light: #e7cfa0;
  --accent-wash: rgba(193, 156, 96, 0.14);
  --sage: #eaf5ee;
  --sage-hover: #dbeee2;
  --sage-border: #c1decb;
  --sage-soft-border: #d4e8db;

  --bg: #f9faf7;
  --surface: #ffffff;
  --silver: #eef3ef;
  --border: #dde6df;
  --border-strong: #c4d3c9;
  --text: #102a22;
  --text-muted: #4b6159;
  --text-light: #6e837b;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-pill: 999px;

  --shadow-soft: 0 6px 26px rgba(10, 42, 34, 0.06);
  --shadow-hover: 0 18px 42px rgba(10, 42, 34, 0.11);
  --shadow-modal: 0 28px 70px rgba(10, 42, 34, 0.2);

  --container: 1240px;
  --header-h: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease), transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
}

.section--compact {
  padding: 3.5rem 0;
}

.section--white {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--soft {
  background-color: var(--sage);
  border-top: 1px solid var(--sage-soft-border);
  border-bottom: 1px solid var(--sage-soft-border);
}

.section--brand-solid {
  background-color: var(--brand);
  color: #ffffff;
}

.section--brand-solid h2 {
  color: #ffffff;
}

.section--brand-solid .eyebrow {
  color: var(--accent-light);
}

.section--brand-solid .lead {
  color: rgba(249, 250, 247, 0.86);
}

.section--brand-solid .disclaimer-note {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  border-left-color: var(--accent);
  color: rgba(249, 250, 247, 0.9);
}

.flip-card--service {
  height: 360px;
}

.flip-card__front-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.flip-card__front-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: #ffffff;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
}

.flip-card__front-link:hover {
  color: var(--accent-light);
  border-bottom-color: var(--accent-light);
  gap: 0.55rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.9rem;
}

h1, h2, h3, h4 {
  margin: 0 0 0.85rem;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--brand);
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); }
h3 { font-size: 1.15rem; font-weight: 500; }

.accent-word {
  color: var(--accent-dark);
}

.section--brand-solid .accent-word,
.section--brand-pillars .accent-word {
  color: var(--accent-light);
}

.highlight-mark {
  display: inline-block;
  background: var(--accent-wash);
  color: var(--brand);
  padding: 0.04em 0.28em;
  border-radius: 4px;
  font-weight: 500;
}

.lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 60ch;
}

.section-header {
  max-width: 740px;
  margin-bottom: 3rem;
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-header--center .lead {
  margin-inline: auto;
}

/* ==========================================================================
   Botones Píldora y Controles Finos
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
  transition: all 0.28s var(--ease);
}

.btn--brand {
  background-color: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.btn--brand:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn--accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.btn--accent:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}

.btn--pill-outline {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}

.btn--pill-outline:hover {
  background: var(--brand);
  color: #ffffff;
}

.btn--pill-white {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--brand);
}

.btn--pill-white:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.btn--outline {
  border-radius: var(--radius-xs);
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.86rem;
  padding: 0.68rem 1.25rem;
  background: transparent;
  border-color: var(--border-strong);
  color: var(--brand);
}

.btn--outline:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #ffffff;
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
}

.btn--ghost:hover {
  color: var(--brand);
}

.btn--filter-reset {
  border-radius: var(--radius-xs);
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.72rem 1.25rem;
  background-color: var(--sage);
  border-color: var(--sage-border);
  color: var(--brand);
}

.btn--filter-reset:hover {
  background-color: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.btn--step {
  background-color: var(--sage);
  border-color: var(--sage-border);
  color: var(--brand);
  font-weight: 600;
}

.btn--step:hover,
.btn--step:active {
  background-color: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.56rem 1.15rem;
  font-size: 0.78rem;
}

.btn--full {
  width: 100%;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--brand);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--border-strong);
}

.text-link:hover {
  color: var(--accent-dark);
  border-bottom-color: var(--accent);
  gap: 0.6rem;
}

/* ==========================================================================
   Cabecera Global Sobria (<header>) — Verde esmeralda exacto #125242
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background-color: var(--brand);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  padding: 0.4rem 0;
  line-height: 1;
}

.brand-logo__mark {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.brand-logo__sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  font-family: "Cinzel", Georgia, "Times New Roman", serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--accent-light);
  white-space: nowrap;
}

.brand-logo__sub::before,
.brand-logo__sub::after {
  content: "";
  flex: 1;
  min-width: 14px;
  height: 1px;
  background: linear-gradient(90deg, rgba(231, 207, 160, 0.12), var(--accent-light));
}

.brand-logo__sub::after {
  background: linear-gradient(90deg, var(--accent-light), rgba(231, 207, 160, 0.12));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}

.site-nav__link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(249, 250, 247, 0.85);
  padding: 0.35rem 0;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.site-nav__link:hover,
.site-nav__link--active {
  color: #ffffff;
  font-weight: 500;
}

.site-nav__link:hover::after,
.site-nav__link--active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-xs);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================================================================
   PORTADA — Acto 1: Hero en 3 Columnas Verticales
   ========================================================================== */
.triptych-hero {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: clamp(540px, calc(100vh - var(--header-h)), 780px);
  background: var(--brand);
}

.triptych-col {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.75rem;
  color: #ffffff;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.triptych-col:last-child {
  border-right: 0;
}

.triptych-col__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.75s var(--ease);
}

.triptych-col::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 42, 34, 0.26) 0%,
    rgba(10, 42, 34, 0.48) 55%,
    rgba(10, 42, 34, 0.66) 100%
  );
  transition: background 0.45s var(--ease);
}

.triptych-col:hover .triptych-col__img {
  transform: scale(1.05);
}

.triptych-col:hover::after {
  background: linear-gradient(
    180deg,
    rgba(10, 42, 34, 0.18) 0%,
    rgba(18, 82, 66, 0.38) 55%,
    rgba(193, 156, 96, 0.34) 100%
  );
}

.triptych-col__content {
  position: relative;
  z-index: 2;
  max-width: 310px;
}

.triptych-col__title {
  color: #ffffff;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.triptych-col__sub {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(249, 250, 247, 0.92);
}

/* ==========================================================================
   PORTADA — Acto 2: Carrusel Horizontal con Flechas e Indicadores
   ========================================================================== */
.carousel-split {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 3.5rem;
  align-items: center;
}

.carousel-viewport {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.52s var(--ease);
  will-change: transform;
}

.carousel-card {
  position: relative;
  flex: 0 0 calc(46% - 0.625rem);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--brand);
  color: #ffffff;
}

.carousel-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.carousel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 42, 34, 0.06) 35%, rgba(10, 42, 34, 0.84) 100%);
  transition: background 0.35s var(--ease);
}

.carousel-card:hover img {
  transform: scale(1.04);
}

.carousel-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.65rem 1.45rem;
}

.carousel-card__title {
  color: #ffffff;
  font-size: 1.24rem;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 0.45rem;
}

.carousel-card__desc {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(249, 250, 247, 0.86);
  line-height: 1.5;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 1.35rem;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.carousel-dot {
  width: 24px;
  height: 3px;
  border-radius: var(--radius-pill);
  border: 0;
  padding: 0;
  background: var(--border-strong);
  cursor: pointer;
  transition: width 0.28s var(--ease), background-color 0.28s var(--ease);
}

.carousel-dot.is-active {
  width: 42px;
  background: var(--accent);
}

.carousel-arrows {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.carousel-counter {
  font-size: 0.78rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  margin-right: 0.35rem;
}

.circle-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.circle-arrow:hover:not(:disabled) {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.circle-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ==========================================================================
   PORTADA — Acto 3: Oportunidades + Tarjeta Financiera Destacada
   ========================================================================== */
.opportunities-top {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.wide-visual-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 300px;
  background: var(--brand);
}

.wide-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.wide-visual-card__caption {
  position: absolute;
  left: 1.5rem;
  bottom: 1.35rem;
  z-index: 2;
  color: #ffffff;
  font-size: 0.86rem;
  background: rgba(10, 42, 34, 0.72);
  backdrop-filter: blur(6px);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
}

.mortgage-highlight-card {
  background: var(--brand);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.85rem;
}

.mortgage-highlight-card__big {
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.mortgage-highlight-card__big span {
  color: var(--accent-light);
}

.mortgage-highlight-card p {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: rgba(249, 250, 247, 0.85);
  max-width: 28ch;
}

.opportunities-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.showcase-tile {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 185px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.showcase-tile:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}

.showcase-tile h3 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
}

.showcase-tile p {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PORTADA — Acto 4: Sección Verde Esmeralda + 5 Tarjetas Giratorias 3D
   ========================================================================== */
.section--brand-pillars {
  background-color: var(--brand);
  color: #ffffff;
}

.section--brand-pillars h2 {
  color: #ffffff;
}

.section--brand-pillars .lead {
  color: rgba(249, 250, 247, 0.84);
}

.section--brand-pillars .eyebrow {
  color: var(--accent-light);
}

.section--brand-pillars .highlight-mark {
  background: rgba(193, 156, 96, 0.24);
  color: var(--accent-light);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.flip-card {
  perspective: 1200px;
  height: 330px;
  cursor: pointer;
  outline: none;
}

.flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: var(--radius-md);
}

.flip-card.is-flipped .flip-card__inner {
  transform: rotateY(180deg);
}

.flip-card__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.flip-card__front {
  background: var(--brand-soft);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.35rem;
  color: #ffffff;
}

.flip-card__front img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.flip-card:hover .flip-card__front img {
  transform: scale(1.05);
}

.flip-card__front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 42, 34, 0.08) 25%,
    rgba(10, 42, 34, 0.56) 68%,
    rgba(10, 42, 34, 0.88) 100%
  );
}

.flip-card__front-content {
  position: relative;
  z-index: 2;
}

.flip-card__title {
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 0.45rem;
}

.flip-card__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(249, 250, 247, 0.78);
}

.flip-card__back {
  background: var(--surface);
  color: var(--brand);
  border: 1px solid var(--border);
  transform: rotateY(180deg);
  padding: 1.65rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  box-shadow: var(--shadow-hover);
}

.flip-card__back-num {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent-dark);
  margin-bottom: 0.35rem;
}

.flip-card__back-title {
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 0.65rem;
  padding-bottom: 0.55rem;
  border-bottom: 1.5px solid var(--accent);
}

.flip-card__back-desc {
  font-size: 0.86rem;
  line-height: 1.58;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}

.flip-card__back-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.9rem;
  margin-top: 0.9rem;
  border-top: 1px solid var(--silver);
}

.flip-card__return {
  font-size: 0.76rem;
  color: var(--text-light);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.flip-card__return:hover {
  color: var(--brand);
}

/* ==========================================================================
   PÁGINA VENDER — Banner + Formulario Arquitectónico
   ========================================================================== */
.banner-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--brand);
  color: #ffffff;
}

.banner-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.banner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 42, 34, 0.78) 0%, rgba(18, 82, 66, 0.44) 60%, rgba(18, 82, 66, 0.22) 100%);
}

.banner-hero__content {
  position: relative;
  z-index: 2;
  max-width: 660px;
  padding: 3.5rem 0;
}

.banner-hero h1 {
  color: #ffffff;
  font-weight: 300;
  margin-bottom: 0.85rem;
}

.banner-hero p {
  color: rgba(249, 250, 247, 0.9);
  margin: 0;
  font-size: 1rem;
}

.architect-form {
  max-width: 880px;
  margin-inline: auto;
  background: var(--sage);
  border: 1px solid var(--sage-border);
  border-radius: var(--radius-md);
  padding: 2.75rem 2.5rem;
}

.architect-form .form-block__title {
  border-bottom-color: var(--sage-border);
}

.architect-form .toggle-tile span,
.architect-form .choice-tile span {
  background: var(--surface);
  border-color: var(--sage-border);
}

.architect-form .toggle-tile input:checked + span,
.architect-form .choice-tile input:checked + span {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.form-block {
  margin-bottom: 2.75rem;
}

.form-block__title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--brand);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.form-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.form-grid .form-group {
  margin-bottom: 0;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  background: var(--surface);
  color: var(--brand);
  font-size: 0.9rem;
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-wash);
}

textarea.form-control {
  resize: vertical;
  min-height: 112px;
}

.extras-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 640px;
  margin: 1.75rem auto 0;
}

.extras-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 100%;
  margin-top: 1rem;
}

.toggle-tile {
  position: relative;
}

.toggle-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-tile span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--sage-border);
  border-radius: var(--radius-xs);
  background: var(--sage);
  font-size: 0.83rem;
  color: var(--brand);
  cursor: pointer;
  transition: all 0.22s var(--ease);
}

.toggle-tile span:hover {
  background: var(--sage-hover);
  border-color: var(--brand);
}

.toggle-tile input:checked + span {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
  font-weight: 500;
}

.choice-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.choice-tile {
  position: relative;
}

.choice-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-tile span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--sage-border);
  border-radius: var(--radius-xs);
  background: var(--sage);
  font-size: 0.87rem;
  color: var(--brand);
  cursor: pointer;
  transition: all 0.24s var(--ease);
}

.choice-tile span:hover {
  background: var(--sage-hover);
  border-color: var(--brand);
}

.choice-tile input:checked + span {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
  font-weight: 500;
}

.centered-fields {
  max-width: 520px;
  margin-inline: auto;
  display: grid;
  gap: 0.85rem;
}

.input-icon-wrap {
  position: relative;
}

.input-icon-wrap svg {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

.input-icon-wrap .form-control {
  padding-left: 2.55rem;
}

/* ==========================================================================
   PÁGINA VALORACIÓN — Pantalla Dividida 50/50 + Indicador Vertical
   ========================================================================== */
.valuation-shell {
  padding: 3rem 0 4.5rem;
}

.valuation-split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 3.5rem;
  align-items: stretch;
  min-height: 620px;
}

.valuation-visual {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.75rem;
  color: #ffffff;
  background: var(--brand);
}

.valuation-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.valuation-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 42, 34, 0.14) 0%, rgba(10, 42, 34, 0.76) 100%);
}

.valuation-visual__copy {
  position: relative;
  z-index: 2;
}

.valuation-visual__copy h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 300;
  line-height: 1.12;
  margin: 0;
}

.valuation-visual__copy strong {
  font-weight: 600;
}

.valuation-stage-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.25rem;
  align-items: center;
  background: var(--sage);
  border: 1px solid var(--sage-border);
  border-radius: var(--radius-md);
  padding: 2.75rem 2.25rem 2.75rem 2.75rem;
}

.valuation-stage-wrap .toggle-tile span {
  background: var(--surface);
  border-color: var(--sage-border);
}

.valuation-stage-wrap .toggle-tile input:checked + span {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.valuation-stage-wrap .btn--step {
  background-color: var(--surface);
  border-color: var(--sage-border);
}

.valuation-stage-wrap .btn--step:hover,
.valuation-stage-wrap .btn--step:active {
  background-color: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.valuation-stage-wrap .vertical-stepper {
  border-left-color: var(--sage-border);
}

.valuation-stage-wrap .report-summary {
  background: var(--surface);
  border-color: var(--sage-border);
}

.wizard-pane {
  display: none;
}

.wizard-pane.is-active {
  display: block;
  animation: fadeSlide 0.34s var(--ease);
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-step-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.5rem;
}

.wizard-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  background: none;
  border: 0;
  padding: 0;
  font-size: 0.82rem;
  color: var(--text-light);
  cursor: pointer;
}

.wizard-back-link:hover {
  color: var(--brand);
}

.vertical-stepper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-left: 1.25rem;
  border-left: 1px solid var(--silver);
}

.vstep-segment {
  width: 4px;
  height: 58px;
  border-radius: var(--radius-pill);
  border: 0;
  padding: 0;
  background: var(--border);
  cursor: pointer;
  transition: background-color 0.32s var(--ease), height 0.32s var(--ease);
}

.vstep-segment.is-done {
  background: var(--sage-border);
}

.vstep-segment.is-active {
  background: var(--brand);
  height: 78px;
}

.report-summary {
  background: var(--sage);
  border: 1px solid var(--sage-soft-border);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.1rem;
  font-size: 0.86rem;
}

.report-summary__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1rem;
  margin-top: 0.55rem;
}

.report-summary__grid div strong {
  color: var(--brand);
  font-weight: 600;
}

.radar-map-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.1rem;
  background: var(--silver);
}

.radar-map {
  height: 220px;
  width: 100%;
  z-index: 1;
}

.radar-map__caption {
  padding: 0.55rem 0.9rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.comparables-status {
  border: 1px dashed var(--sage-border);
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin-bottom: 1.15rem;
  font-size: 0.83rem;
  color: var(--text-muted);
}

.comparables-status strong {
  color: var(--brand);
  display: block;
  margin-bottom: 0.25rem;
}

.valuation-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.valuation-tier {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 0.85rem 0.75rem;
  text-align: center;
}

.valuation-tier--mid {
  background: var(--sage);
  border-color: var(--sage-border);
}

.valuation-tier__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.valuation-tier__value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand);
}

.report-advisor-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  background: var(--brand);
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 1.1rem;
  font-size: 0.84rem;
}

.report-advisor-box strong {
  color: #ffffff;
  display: block;
  font-size: 0.94rem;
}

.report-advisor-box a {
  color: var(--accent-light);
  text-decoration: underline;
}

.print-only-header {
  display: none;
}

@media print {
  .site-header,
  .site-footer,
  .page-banner,
  .valuation-visual,
  .vertical-stepper,
  .cookie-banner,
  .no-print {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .valuation-shell,
  .container {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .valuation-split,
  .valuation-stage-wrap {
    display: block !important;
    border: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  .print-only-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #125242;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
  }

  .print-only-header img {
    height: 46px;
    width: auto;
  }
}

/* ==========================================================================
   Cabecera Editorial con Mini-Banner Fotográfico + Velo Esmeralda/Dorado Suave
   ========================================================================== */
.page-head {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0 2.5rem;
}

.page-banner {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  display: flex;
  align-items: center;
  padding: 2.6rem 0 2.4rem;
  background-color: var(--brand);
  color: #ffffff;
  border-bottom: 1px solid rgba(193, 156, 96, 0.35);
}

.page-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    102deg,
    rgba(18, 82, 66, 0.88) 0%,
    rgba(26, 106, 86, 0.66) 58%,
    rgba(193, 156, 96, 0.42) 100%
  );
}

.page-banner__content {
  position: relative;
  z-index: 2;
}

.page-banner .breadcrumb {
  color: rgba(249, 250, 247, 0.8);
}

.page-banner .breadcrumb a:hover {
  color: var(--accent-light);
}

.page-banner h1 {
  color: #ffffff;
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 300;
  margin-bottom: 0.55rem;
}

.page-banner p {
  color: rgba(249, 250, 247, 0.92);
  max-width: 68ch;
  margin: 0;
  font-size: 0.96rem;
}

.page-banner p a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-banner p a:hover {
  color: #ffffff;
}

.page-banner .subnav-tabs {
  border-top-color: rgba(255, 255, 255, 0.24);
  margin-top: 1.45rem;
  padding-top: 1rem;
}

.page-banner .subnav-tabs a {
  color: rgba(249, 250, 247, 0.88);
}

.page-banner .subnav-tabs a:hover {
  color: #ffffff;
  border-bottom-color: var(--accent-light);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.breadcrumb a:hover { color: var(--brand); }

.subnav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
}

.subnav-tabs a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  padding-bottom: 0.25rem;
  border-bottom: 1.5px solid transparent;
}

.subnav-tabs a:hover {
  color: var(--brand);
  border-bottom-color: var(--accent);
}

/* ==========================================================================
   Tarjetas Limpias, Split Screen Catálogos, Simulador, Equipo y Contacto
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.cards-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.card:hover::before { transform: scaleX(1); }

.card__num {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent-dark);
  margin-bottom: 0.85rem;
}

.card__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0 0 1.4rem;
  flex: 1;
}

/* Split Screen Catálogos */
.catalog-filters {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 0;
  position: sticky;
  top: var(--header-h);
  z-index: 650;
}

.filters-bar {
  display: grid;
  grid-template-columns: auto 1.35fr 1.15fr 0.82fr 0.82fr 0.72fr auto;
  gap: 0.65rem;
  align-items: center;
}

.op-switch {
  display: inline-flex;
  border: 1px solid var(--sage-border);
  border-radius: var(--radius-pill);
  padding: 3px;
  background: var(--sage);
}

.op-switch__btn {
  padding: 0.44rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--brand);
}

.op-switch__btn:hover:not(.is-active) {
  background: rgba(18, 82, 66, 0.08);
}

.op-switch__btn.is-active {
  background: var(--brand);
  color: #ffffff;
}

.dropdown-accordion { position: relative; }

.dropdown-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0.95rem;
  background: var(--sage);
  border: 1px solid var(--sage-border);
  border-radius: var(--radius-xs);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--brand);
  cursor: pointer;
  transition: background-color 0.22s var(--ease), border-color 0.22s var(--ease);
}

.dropdown-accordion__trigger:hover,
.dropdown-accordion.is-open .dropdown-accordion__trigger {
  background: var(--sage-hover);
  border-color: var(--accent);
}

.dropdown-accordion__chevron {
  transition: transform 0.25s var(--ease);
  font-size: 0.75rem;
  color: var(--brand);
}

.filters-bar > select.form-control {
  background-color: var(--sage);
  border-color: var(--sage-border);
  color: var(--brand);
  font-weight: 500;
  font-size: 0.86rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.15rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23125242' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
}

.filters-bar > select.form-control:hover,
.filters-bar > select.form-control:focus {
  background-color: var(--sage-hover);
  border-color: var(--accent);
}

.filters-bar > select.form-control option {
  background-color: #ffffff;
  color: var(--brand);
  font-weight: 400;
}

.dropdown-accordion.is-open .dropdown-accordion__chevron {
  transform: rotate(180deg);
}

.dropdown-accordion__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(350px, 92vw);
  max-height: 410px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-modal);
  padding: 1rem 1.1rem;
  z-index: 800;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}

.dropdown-accordion.is-open .dropdown-accordion__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.acc-group {
  border-bottom: 1px solid var(--silver);
  padding: 0.5rem 0;
}

.acc-group:last-of-type { border-bottom: 0; }

.acc-group__toggle {
  width: 100%;
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-weight: 500;
  font-size: 0.86rem;
  color: var(--brand);
  cursor: pointer;
}

.acc-group__body {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.28s var(--ease);
}

.acc-group.is-collapsed .acc-group__body { grid-template-rows: 0fr; }

.acc-group__list {
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 0.6rem;
  padding-top: 0.4rem;
}

.acc-group__list label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.81rem;
  color: var(--text-muted);
  cursor: pointer;
}

.acc-group__list input { accent-color: var(--brand); }

.location-panel {
  width: min(390px, 94vw);
  max-height: 460px;
}

.location-panel__controls {
  display: grid;
  gap: 0.55rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid var(--silver);
}

.location-panel__controls .form-control {
  padding: 0.54rem 0.75rem;
  font-size: 0.84rem;
}

.location-panel__list {
  display: grid;
  gap: 0.75rem;
}

.location-group__title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 0.4rem;
}

.location-zone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem;
}

.location-zone-btn {
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 0.42rem 0.6rem;
  font-size: 0.8rem;
  color: var(--brand);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.location-zone-btn:hover {
  border-color: var(--accent);
  background: var(--accent-wash);
}

.location-zone-btn.is-selected {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
  font-weight: 500;
}

.location-empty-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0.25rem 0;
}

.split-catalog {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  min-height: 620px;
}

.split-catalog__list {
  padding: 1.5rem 1.75rem 2.25rem;
  background: var(--sage);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-height: calc(100vh - var(--header-h) - 64px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(18, 82, 66, 0.35) transparent;
}

.split-catalog__list::-webkit-scrollbar {
  width: 6px;
}

.split-catalog__list::-webkit-scrollbar-track {
  background: transparent;
}

.split-catalog__list::-webkit-scrollbar-thumb {
  background: rgba(18, 82, 66, 0.28);
  border-radius: 999px;
}

.split-catalog__list::-webkit-scrollbar-thumb:hover {
  background: rgba(18, 82, 66, 0.48);
}

.catalog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--sage-soft-border);
}

.catalog-meta__count {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand);
}

.catalog-sort-pill {
  appearance: auto;
  width: auto;
  padding: 0.44rem 1.05rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--sage-border);
  background: var(--surface);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s var(--ease);
}

.catalog-sort-pill:hover,
.catalog-sort-pill:focus {
  outline: none;
  border-color: var(--brand);
}

.split-catalog__list .empty-state {
  border-color: var(--sage-soft-border);
  box-shadow: var(--shadow-soft);
}

.split-catalog__map {
  position: sticky;
  top: calc(var(--header-h) + 64px);
  height: calc(100vh - var(--header-h) - 64px);
  min-height: 540px;
  border-left: 1px solid var(--sage-soft-border);
  background: var(--silver);
}

.leaflet-map { width: 100%; height: 100%; min-height: 540px; z-index: 1; }

.empty-state {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 3rem 2.25rem;
  text-align: center;
}

.empty-state h2 { font-size: 1.4rem; margin-bottom: 0.65rem; }
.empty-state p { color: var(--text-muted); font-size: 0.93rem; max-width: 48ch; margin: 0 auto 1.75rem; }

/* Simulador Hipotecario */
.mortgage-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.75rem;
  align-items: center;
}

.slider-row { margin-bottom: 1.3rem; }
.slider-row__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.4rem; font-size: 0.86rem; color: var(--text-muted); }
.slider-row__head strong { color: var(--brand); font-weight: 600; font-size: 0.96rem; }
.slider-row input[type="range"] { width: 100%; accent-color: var(--brand); cursor: pointer; }

.mortgage-result {
  background: var(--brand);
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 2.1rem;
}

.mortgage-result__label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(249, 250, 247, 0.74); }
.mortgage-result__value { font-size: 2.25rem; font-weight: 500; color: var(--accent-light); margin: 0.35rem 0 1.4rem; line-height: 1.1; }
.mortgage-breakdown { display: grid; gap: 0.7rem; padding-top: 1.15rem; border-top: 1px solid rgba(255, 255, 255, 0.16); margin-bottom: 1.45rem; font-size: 0.88rem; color: rgba(249, 250, 247, 0.88); }
.mortgage-breakdown__row { display: flex; justify-content: space-between; }

.disclaimer-note {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Equipo — Carrusel Circular 3D (Coverflow) */
.coverflow-shell {
  max-width: 960px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.coverflow-stage {
  position: relative;
  width: 100%;
  height: 490px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.coverflow-stage.is-dragging {
  cursor: grabbing;
}

.coverflow-card {
  position: absolute;
  width: min(350px, 78vw);
  height: 465px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--brand);
  box-shadow: 0 22px 54px rgba(10, 42, 34, 0.24);
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), filter 0.6s var(--ease), box-shadow 0.6s var(--ease);
  will-change: transform, opacity;
}

.coverflow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 42, 34, 0.9) 0%,
    rgba(10, 42, 34, 0.36) 38%,
    rgba(10, 42, 34, 0.05) 68%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.coverflow-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.coverflow-card__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.5rem 1.4rem 1.45rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

.coverflow-card__role {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.3rem;
}

.coverflow-card__name {
  margin: 0 0 0.95rem;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.coverflow-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1.55rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: #ffffff;
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.coverflow-card__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  transform: translateY(-1px);
}

.coverflow-card.is-center {
  transform: translateX(0) scale(1);
  z-index: 3;
  opacity: 1;
  filter: brightness(1);
}

.coverflow-card.is-prev {
  transform: translateX(-58%) scale(0.84);
  z-index: 2;
  opacity: 0.78;
  filter: brightness(0.76);
  cursor: pointer;
}

.coverflow-card.is-next {
  transform: translateX(58%) scale(0.84);
  z-index: 2;
  opacity: 0.78;
  filter: brightness(0.76);
  cursor: pointer;
}

.coverflow-card.is-prev:hover,
.coverflow-card.is-next:hover {
  opacity: 0.92;
  filter: brightness(0.88);
}

.coverflow-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.coverflow-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--brand);
  background: var(--surface);
  color: var(--brand);
  font-size: 1.35rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s var(--ease);
}

.coverflow-arrow:hover {
  background: var(--brand);
  color: #ffffff;
  transform: scale(1.06);
}

.coverflow-hint {
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 720px) {
  .coverflow-stage { height: 440px; }
  .coverflow-card { width: min(300px, 76vw); height: 415px; }
  .coverflow-card.is-prev { transform: translateX(-28%) scale(0.84); }
  .coverflow-card.is-next { transform: translateX(28%) scale(0.84); }
}

.advisor-more {
  margin-bottom: 1.35rem;
  border-top: 1px solid var(--silver);
  padding-top: 0.85rem;
  flex: 1;
}

.advisor-more__btn {
  width: 100%;
  background: none;
  border: 0;
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--brand);
  cursor: pointer;
  transition: color 0.22s var(--ease);
}

.advisor-more__btn:hover {
  color: var(--accent-dark);
}

.advisor-more__chevron {
  transition: transform 0.28s var(--ease);
  font-size: 0.78rem;
}

.advisor-more.is-open .advisor-more__chevron {
  transform: rotate(180deg);
}

.advisor-more__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}

.advisor-more.is-open .advisor-more__panel {
  grid-template-rows: 1fr;
}

.advisor-more__inner {
  overflow: hidden;
}

.advisor-more__content {
  margin-top: 0.7rem;
  padding: 0.9rem 1rem;
  background: var(--sage);
  border: 1px solid var(--sage-soft-border);
  border-radius: var(--radius-xs);
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.58;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 42, 34, 0.48);
  backdrop-filter: blur(4px);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0.28s;
}

.modal-backdrop.is-open { opacity: 1; visibility: visible; }

.modal-dialog {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  width: min(560px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: 2.25rem;
  box-shadow: var(--shadow-modal);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--brand);
  font-size: 1.15rem;
  cursor: pointer;
}

.modal-direct-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  padding: 0.9rem 0;
  margin-bottom: 1.25rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.modal-direct-links a { color: var(--brand); font-weight: 500; }
.modal-direct-links a:hover { color: var(--accent-dark); }

/* Contacto y Legal */
.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 3rem;
  align-items: start;
}

.info-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
}

.contact-list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.contact-list li { padding: 0.95rem 0; border-top: 1px solid var(--border); }
.contact-list__label { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-light); margin-bottom: 0.25rem; }
.contact-list a:hover { color: var(--accent-dark); }

.schedule-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin-top: 0.45rem; }
.schedule-table td { padding: 0.5rem 0; border-bottom: 1px solid var(--silver); color: var(--text-muted); }
.schedule-table td:first-child { font-weight: 500; color: var(--brand); width: 42%; }

.office-photo-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-card {
  margin-top: 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.map-card__map { height: 390px; }
.map-card__bar { padding: 1rem 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.85rem; border-top: 1px solid var(--border); font-size: 0.88rem; }

/* Documentos legales sobre fondo corporativo esmeralda #125242 */
.legal-doc {
  background: var(--brand);
  color: rgba(249, 250, 247, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 3rem;
  max-width: 860px;
  margin-inline: auto;
  box-shadow: var(--shadow-hover);
}
.legal-doc h2 {
  font-size: 1.25rem;
  color: #ffffff;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.legal-doc h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-doc p, .legal-doc li { font-size: 0.94rem; color: rgba(249, 250, 247, 0.88); }
.legal-doc strong { color: #ffffff; }
.legal-doc a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 3px; }
.legal-doc a:hover { color: #ffffff; }
.legal-doc code {
  background: rgba(255, 255, 255, 0.12);
  color: #f4ead4;
  padding: 0.1rem 0.42rem;
  border-radius: 4px;
  font-size: 0.86em;
}
.legal-doc .placeholder-mark {
  background: rgba(255, 255, 255, 0.14);
  color: var(--accent-light);
  border-color: rgba(231, 207, 160, 0.42);
}
.legal-doc .btn--outline {
  border-color: rgba(255, 255, 255, 0.78);
  color: #ffffff;
  background: transparent;
}
.legal-doc .btn--outline:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--brand);
}

.placeholder-mark {
  display: inline-block;
  background: var(--silver);
  color: var(--brand);
  border: 1px solid var(--border-strong);
  padding: 0.08rem 0.45rem;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82em;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0.9rem 0 1.2rem;
  cursor: pointer;
}

.checkbox-row input { margin-top: 0.2rem; accent-color: var(--brand); flex-shrink: 0; }
.checkbox-row a { color: var(--brand); text-decoration: underline; }
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-note { font-size: 0.78rem; color: var(--text-light); margin: 0.6rem 0 0; }

.form-feedback { display: none; margin-top: 1.15rem; padding: 1.05rem 1.15rem; border-radius: var(--radius-xs); font-size: 0.86rem; }
.form-feedback.is-visible { display: block; }
.form-feedback--info { background: var(--sage); border: 1px solid var(--sage-border); color: var(--brand); }

/* ==========================================================================
   Footer Blanco Minimalista + Franja Inferior Verde Esmeralda (#125242)
   ========================================================================== */
.site-footer {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

.site-footer__main {
  padding: 4rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.75fr 0.9fr 0.8fr;
  gap: 2.75rem;
  align-items: start;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 64px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-logo__text {
  font-family: "Cinzel", Georgia, "Times New Roman", serif;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brand);
  line-height: 1.25;
}

.footer-logo__tagline {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--accent-dark);
  margin-top: 0.2rem;
}

.footer-sub-title {
  font-size: 0.86rem;
  color: var(--brand);
  margin: 0 0 0.75rem;
}

.footer-sub-row {
  display: flex;
  gap: 0.5rem;
  max-width: 390px;
}

.footer-sub-row .form-control {
  padding: 0.58rem 0.8rem;
  font-size: 0.84rem;
}

.footer-sub-row .btn {
  border-radius: var(--radius-xs);
  text-transform: none;
  letter-spacing: 0;
  padding: 0.58rem 1.05rem;
  font-size: 0.82rem;
}

.site-footer h3 {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.15rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
  font-size: 0.87rem;
}

.footer-links a:hover { color: var(--accent-dark); }

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.footer-social__link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
}

.footer-social__link:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-social__link--wa:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.footer-social__notice {
  font-size: 0.76rem;
  color: var(--text-light);
  margin: 0.45rem 0 0;
  min-height: 1.1em;
}

.site-footer__bottom {
  background-color: var(--brand);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.4rem 0;
  font-size: 0.82rem;
  color: rgba(249, 250, 247, 0.9);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Cookie Banner Discreto */
.cookie-banner {
  position: fixed;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1100;
  max-width: 720px;
  margin-inline: auto;
  background: var(--surface);
  color: var(--brand);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 1.05rem 1.35rem;
  box-shadow: var(--shadow-modal);
  display: none;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner.is-visible { display: flex; flex-wrap: wrap; }
.cookie-banner p { margin: 0; font-size: 0.83rem; color: var(--text-muted); flex: 1 1 320px; }
.cookie-banner a { color: var(--brand); text-decoration: underline; }

/* ==========================================================================
   Opiniones de Clientes (index.html) y Página de Opinión (opinar.html)
   ========================================================================== */
.section-title-h1 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--brand);
  margin: 0 0 0.85rem;
}

.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.reviews-head__lead {
  max-width: 58ch;
  color: var(--text-muted);
  margin: 0;
  font-size: 0.96rem;
}

.reviews-head__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.reviews-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--sage);
  border: 1px solid var(--sage-border);
  font-size: 0.84rem;
  color: var(--brand);
}

.reviews-summary strong {
  font-weight: 600;
  color: var(--brand);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--sage-border);
}

.review-card__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--sage);
  border: 1px solid var(--sage-border);
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card__identity { min-width: 0; }

.review-card__name {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--brand);
  margin: 0 0 0.22rem;
}

.review-card__op {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--sage);
  padding: 0.14rem 0.55rem;
  border-radius: var(--radius-pill);
}

.review-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.review-star {
  color: #cbd5e1;
  display: inline-flex;
}

.review-star.is-filled {
  color: var(--accent);
}

.review-card__comment {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.review-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.review-card__date {
  font-size: 0.76rem;
  color: var(--text-light);
}

.review-like {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.22s var(--ease);
}

.review-like:hover,
.review-like.is-liked {
  background: var(--sage);
  border-color: var(--sage-border);
  color: var(--brand);
}

.review-like__count { font-variant-numeric: tabular-nums; }

.reviews-empty {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2.75rem 2rem;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.reviews-empty__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--sage);
  border: 1px solid var(--sage-border);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reviews-empty__title {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--brand);
  margin: 0 0 0.6rem;
}

.reviews-empty__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0 auto 1.45rem;
}

.reviews-empty__actions {
  display: flex;
  justify-content: center;
}

/* Página opinar.html */
.review-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
  gap: 2.25rem;
  align-items: start;
}

.review-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2.4rem;
}

.star-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--bg);
}

.star-picker__btn {
  border: 0;
  background: transparent;
  padding: 0.25rem;
  cursor: pointer;
  color: #cbd5e1;
  display: inline-flex;
  transition: transform 0.18s var(--ease), color 0.18s var(--ease);
}

.star-picker__btn:hover { transform: scale(1.1); }
.star-picker__btn.is-active { color: var(--accent); }

.star-picker__label {
  margin-left: 0.55rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--brand);
}

.form-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.form-counter {
  font-size: 0.75rem;
  color: var(--text-light);
  font-variant-numeric: tabular-nums;
}

.photo-upload {
  padding: 0.9rem 1rem;
  border: 1px dashed var(--sage-border);
  border-radius: var(--radius-xs);
  background: var(--sage);
}

.photo-upload__input {
  width: 100%;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.photo-preview {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--sage-soft-border);
}

.photo-preview__thumb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--sage-border);
}

.photo-preview__name {
  font-size: 0.8rem;
  color: var(--brand);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-preview__remove {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--brand);
  font-size: 0.76rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.photo-preview__remove:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.review-side-stack {
  display: grid;
  gap: 1.5rem;
}

.review-side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.9rem;
}

.review-side-card--soft {
  background: var(--sage);
  border-color: var(--sage-border);
}

.review-side-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--brand);
  margin-bottom: 0.55rem;
}

.review-side-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 1.15rem;
}

.review-share-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.review-copy-link {
  border: 0;
  background: transparent;
  padding: 0.2rem 0;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--brand);
  border-bottom: 1px solid var(--border-strong);
  cursor: pointer;
}

.review-copy-link:hover {
  color: var(--accent-dark);
  border-bottom-color: var(--accent);
}

/* ==========================================================================
   Tarjetas Fotográficas Compactas (Estilo NOOW), Sellos y Paginación
   ========================================================================== */
.property-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.05rem;
}

.property-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--brand);
  box-shadow: 0 4px 18px rgba(10, 42, 34, 0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.property-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(10, 42, 34, 0.16);
}

.property-tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease);
}

.property-tile:hover .property-tile__img {
  transform: scale(1.045);
}

.property-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 42, 34, 0.88) 0%,
    rgba(10, 42, 34, 0.38) 40%,
    rgba(10, 42, 34, 0.04) 72%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.property-tile__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 1rem 1.05rem 0.95rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  color: #ffffff;
}

.property-tile__left { min-width: 0; }

.property-tile__price {
  display: block;
  font-size: clamp(1.12rem, 1.45vw, 1.38rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.property-tile__loc {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.property-tile__metrics {
  display: flex;
  align-items: flex-end;
  gap: 0.78rem;
  flex-shrink: 0;
}

.property-tile__metric {
  text-align: center;
  line-height: 1.15;
}

.property-tile__metric strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.property-tile__metric span {
  display: block;
  font-size: 0.67rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.1rem;
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding-top: 0.5rem;
}

.catalog-pagination__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--sage-border);
  background: var(--surface);
  color: var(--brand);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.catalog-pagination__btn:hover:not(:disabled) {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.catalog-pagination__btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.catalog-pagination__info {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.property-card__placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sage);
  color: var(--brand);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.property-card__ref {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 3;
  background: rgba(10, 42, 34, 0.76);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.22rem 0.58rem;
  border-radius: var(--radius-pill);
}

.property-stamp-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.property-stamp-overlay--reservado {
  background: rgba(18, 82, 66, 0.3);
}

.property-stamp-overlay--closed {
  background: rgba(10, 42, 34, 0.46);
}

.property-stamp {
  padding: 0.5rem 1.45rem;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.property-stamp--reservado {
  background: rgba(18, 82, 66, 0.82);
  border: 1.5px solid var(--accent-light);
  color: #fffdf7;
}

.property-stamp--closed {
  background: rgba(10, 42, 34, 0.82);
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  color: #ffffff;
}

.property-stamp--lg {
  font-size: 1.05rem;
  padding: 0.7rem 2.1rem;
  letter-spacing: 0.32em;
}

/* Ficha individual inmueble.html */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.75fr);
  gap: 2.25rem;
  align-items: start;
}

.detail-gallery__main {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--sage);
}

.detail-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.detail-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(10, 42, 34, 0.65);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.detail-nav:hover {
  background: var(--brand);
  border-color: var(--accent);
}

.detail-nav--prev { left: 0.85rem; }
.detail-nav--next { right: 0.85rem; }

.detail-counter {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  z-index: 4;
  background: rgba(10, 42, 34, 0.74);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 500;
  padding: 0.24rem 0.65rem;
  border-radius: var(--radius-pill);
  font-variant-numeric: tabular-nums;
}

.detail-thumb {
  border: 2px solid transparent;
  padding: 0;
  border-radius: var(--radius-xs);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface);
  cursor: pointer;
}

.detail-thumb.is-active {
  border-color: var(--accent);
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-head { margin-top: 1.75rem; }
.detail-head h1 { font-size: clamp(1.65rem, 2.8vw, 2.2rem); margin-bottom: 0.4rem; }
.detail-loc { color: var(--text-muted); margin: 0; font-size: 0.94rem; }

.detail-specs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin: 1.5rem 0;
  padding: 1.15rem 1.4rem;
  background: var(--sage);
  border: 1px solid var(--sage-border);
  border-radius: var(--radius-sm);
}

.detail-specs-bar strong {
  display: block;
  font-size: 1.08rem;
  color: var(--brand);
}

.detail-specs-bar span {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.detail-block {
  margin-top: 1.9rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
}

.detail-block h2 { font-size: 1.25rem; margin-bottom: 0.85rem; }

.detail-extras {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.detail-extra-pill {
  padding: 0.36rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--sage);
  border: 1px solid var(--sage-border);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 500;
}

.detail-map {
  height: 300px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

.detail-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.detail-price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}

.detail-price-card__label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
}

.detail-price-card__val {
  font-size: 1.95rem;
  font-weight: 600;
  color: var(--brand);
  margin: 0.2rem 0 0.45rem;
}

.detail-price-card__ref {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.detail-advisor-box {
  background: var(--sage);
  border: 1px solid var(--sage-border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1rem;
}

.detail-advisor-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.65rem;
}

.detail-advisor-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

.detail-advisor-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.detail-advisor-label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.detail-advisor-info strong {
  font-size: 1rem;
  color: var(--brand);
}

.detail-advisor-role {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.detail-advisor-drawer {
  margin-bottom: 0;
  padding-top: 0.55rem;
  border-top-color: var(--sage-soft-border);
}

.detail-advisor-actions {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.65rem;
}

.detail-secondary-contact {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}

.detail-secondary-contact__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.55rem;
}

.detail-secondary-contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.detail-secondary-contact__row .btn {
  padding-inline: 0.65rem;
  font-size: 0.76rem;
}

/* ==========================================================================
   Blog · Mercado Inmobiliario, Banca e Inversión
   ========================================================================== */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.2rem;
}

.blog-filter-pill {
  padding: 0.58rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--sage-border);
  background: var(--sage);
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.22s var(--ease);
}

.blog-filter-pill:hover,
.blog-filter-pill.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.blog-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--brand);
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.04);
}

.blog-card__tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.3rem 0.78rem;
  border-radius: var(--radius-pill);
  background: rgba(18, 82, 66, 0.92);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-card__body {
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__date {
  font-size: 0.76rem;
  color: var(--accent-dark);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
}

.blog-card__body h3 {
  font-size: 1.08rem;
  line-height: 1.35;
  margin: 0 0 0.65rem;
  color: var(--brand);
}

.blog-card__body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  flex: 1;
}

.blog-card__body .btn {
  align-self: flex-start;
}

.blog-seo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.blog-seo-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--sage);
  border: 1px solid var(--sage-border);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 500;
}

.blog-source-note {
  margin: 1rem 0 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xs);
  background: var(--sage);
  border-left: 3px solid var(--accent);
  font-size: 0.82rem;
  color: var(--brand);
}

/* ==========================================================================
   Área de Profesionales, Referidos y Asociados (Banner Verde Traslúcido + Manos)
   ========================================================================== */
.pro-hero {
  position: relative;
  padding: 5rem 0 4.5rem;
  color: #ffffff;
  background-color: var(--brand);
  background-image:
    linear-gradient(135deg, rgba(12, 68, 56, 0.82) 0%, rgba(16, 108, 92, 0.72) 52%, rgba(11, 56, 46, 0.86) 100%),
    url("../img/banner-asociados-manos.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.pro-hero__intro {
  max-width: 780px;
  margin-bottom: 2.75rem;
}

.eyebrow--gold {
  color: var(--accent-light);
}

.pro-hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.15;
  margin: 0.6rem 0 1.1rem;
  font-weight: 400;
}

.pro-hero h1 strong {
  color: var(--accent-light);
  font-weight: 600;
}

.pro-hero__lead {
  color: rgba(248, 252, 250, 0.92);
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0;
}

.pro-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.pro-feature-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: var(--radius-md);
  background: rgba(12, 62, 51, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 20px 50px rgba(6, 30, 24, 0.28);
  transition: transform 0.26s var(--ease), border-color 0.26s var(--ease);
}

.pro-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-light);
}

.pro-feature-card--gold {
  border-color: rgba(231, 207, 160, 0.55);
  background: rgba(15, 74, 62, 0.68);
}

.pro-feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(231, 207, 160, 0.16);
  border: 1px solid rgba(231, 207, 160, 0.4);
  color: var(--accent-light);
  margin-bottom: 1.1rem;
}

.pro-feature-card__tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.4rem;
}

.pro-feature-card h2 {
  color: #ffffff;
  font-size: 1.45rem;
  margin: 0 0 0.85rem;
}

.pro-feature-card p {
  color: rgba(244, 250, 248, 0.9);
  font-size: 0.93rem;
  line-height: 1.62;
  margin: 0 0 1.1rem;
}

.pro-mini-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: rgba(244, 250, 248, 0.92);
}

.pro-mini-steps li {
  padding-left: 1rem;
  position: relative;
}

.pro-mini-steps li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-light);
  font-weight: 700;
}

.pro-feature-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent-light);
  border-bottom: 1px solid rgba(231, 207, 160, 0.5);
  padding-bottom: 0.25rem;
  align-self: flex-start;
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}

.pro-feature-card__cta:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
  gap: 0.7rem;
}

.pro-step-pill {
  display: inline-block;
  padding: 0.26rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--brand);
  color: var(--accent-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.pro-forms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.pro-form-card {
  background: var(--sage);
  border: 1px solid var(--sage-border);
  border-radius: var(--radius-md);
  padding: 2.2rem;
}

.pro-form-card--accent {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft);
}

/* ==========================================================================
   Selector de 7 Idiomas con Mundito en Cabecera (TERRA REAL ESTATE)
   ========================================================================== */
.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.lang-switcher {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.4rem 0.74rem;
  border-radius: 999px;
  border: 1px solid rgba(231, 207, 160, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.lang-btn:hover,
.lang-switcher.is-open .lang-btn {
  background: rgba(193, 156, 96, 0.24);
  border-color: var(--accent-light);
}

.lang-btn__globe {
  width: 15px;
  height: 15px;
  color: var(--accent-light);
  flex-shrink: 0;
}

.lang-btn__chev {
  width: 12px;
  height: 12px;
  opacity: 0.85;
  transition: transform 0.2s var(--ease);
}

.lang-switcher.is-open .lang-btn__chev {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 168px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 40px rgba(10, 42, 34, 0.22);
  padding: 0.35rem;
  display: none;
  z-index: 960;
}

.lang-switcher.is-open .lang-menu {
  display: grid;
  gap: 0.18rem;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  width: 100%;
  padding: 0.5rem 0.72rem;
  border: 0;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.lang-option:hover {
  background: var(--sage);
}

.lang-option.is-active {
  background: var(--brand);
  color: #ffffff;
  font-weight: 600;
}

.lang-option__code {
  font-size: 0.7rem;
  opacity: 0.8;
  font-weight: 700;
}

/* Ocultar completamente la barra superior y tooltips por defecto de Google Translate */
.gt-hidden-widget,
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
iframe.skiptranslate,
.skiptranslate > iframe,
#goog-gt-tt,
.goog-te-balloon-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body {
  top: 0 !important;
  position: static !important;
}

font {
  background-color: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 920px) {
  .pro-cards-grid,
  .pro-forms-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .carousel-split,
  .opportunities-top,
  .valuation-split,
  .mortgage-box,
  .contact-grid,
  .split-catalog,
  .review-page-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-sidebar { position: static; }
  .split-catalog__list { max-height: none; overflow-y: visible; }
  .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-gallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .split-catalog__map {
    position: static;
    height: 440px;
    min-height: 440px;
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .leaflet-map { min-height: 440px; }
  .filters-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .triptych-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .triptych-col {
    min-height: 280px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--brand);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow-hover);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    gap: 0.9rem;
  }

  .site-nav.is-open { display: flex; }

  .opportunities-bottom,
  .cards-grid,
  .cards-grid--2,
  .pillars-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .carousel-card { flex: 0 0 84%; }
  .catalog-filters { position: static; }
  .valuation-visual { min-height: 300px; }
}

@media (max-width: 640px) {
  .section { padding: 3.75rem 0; }
  .form-grid, .form-grid--3, .filters-bar, .footer-grid, .choice-row { grid-template-columns: 1fr; }
  .extras-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .extras-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-logo__mark { height: 38px; }
  .brand-logo__sub { font-size: 0.52rem; }
  .valuation-stage-wrap { grid-template-columns: 1fr; padding: 1.5rem; }
  .review-form-card { padding: 1.5rem; }
  .property-grid { grid-template-columns: 1fr; }
  .legal-doc { padding: 1.85rem 1.35rem; }
  .vertical-stepper { flex-direction: row; border-left: 0; border-top: 1px solid var(--silver); padding-left: 0; padding-top: 1rem; justify-content: center; }
  .vstep-segment { width: 44px; height: 4px; }
  .vstep-segment.is-active { width: 64px; height: 4px; }
}
