/* COMPONENTS.CSS — Header, Hero, seccions y Footer*/

/* =============================================================================
   1. HEADER & NAVIGATION
   ============================================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background .4s, box-shadow .4s, backdrop-filter .4s, border-color .4s;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-soft);
  border-bottom-color: var(--line-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  transition: height .4s var(--ease);
  overflow: hidden;
}

.site-header.scrolled .nav {
  height: 70px;
}

.brand {
  display: block;
  margin-left: -58px;
}

.brand img {
  height: clamp(100px, 50vh, 100px);
  width: auto;
  display: block;
}

.brand .logo-light {
  display: none;
}

.brand .logo-dark {
  display: block;
}

.site-header:not(.scrolled) .brand .logo-light {
  display: block;
}

.site-header:not(.scrolled) .brand .logo-dark {
  display: none;
}

.nav-menu-capsule {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  padding: 0.35rem 0.4rem 0.35rem 1.6rem;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}

.site-header.scrolled .nav-menu-capsule {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: .82rem;
  font-weight: 500;
  color: #4e453e;
  /* Darker warm beige/brown for legibility */
  position: relative;
  padding: 0.3rem 0;
  transition: color .3s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background: var(--clay);
  transition: width .3s var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta .btn {
  background: var(--ink);
  color: var(--paper);
  padding: .65em 1.4em;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: transform .4s var(--ease), background .35s, color .35s, box-shadow .4s;
}

.nav-cta .btn:hover {
  background: var(--clay);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
}

.burger span {
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .35s var(--ease), opacity .3s;
}

.burger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

@media(max-width: 900px) {

  .nav-links,
  .nav-cta .btn {
    display: none;
  }

  .burger {
    display: flex;
  }

  .nav-menu-capsule {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    gap: 0;
  }

  .mobile-menu {
    display: block;
    position: fixed;
    inset: 76px 0 auto;
    background: var(--paper);
    z-index: 55;
    transform: translateY(-120%);
    transition: transform .5s var(--ease);
    padding: 2rem var(--gut) 2.5rem;
    border-bottom: 1px solid var(--line-soft);
    box-shadow: var(--shadow);
  }

  .site-header.scrolled .mobile-menu {
    inset: 70px 0 auto;
  }

  .mobile-menu.open {
    transform: translateY(0);
  }

  .mobile-menu .mob-nav-link {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(166, 136, 119, 0.16);
    color: var(--ink);
  }

  .mobile-menu .mob-nav-link:last-of-type {
    border-bottom: none;
  }

  .mobile-menu .mob-nav-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }

  .mobile-menu .nav-icon {
    color: var(--clay);
    stroke-width: 1.3px;
    display: flex;
    align-items: center;
  }

  .mobile-menu .nav-text {
    font-family: var(--display);
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
    color: var(--ink);
  }

  .mobile-menu .nav-arrow {
    color: var(--clay);
    stroke-width: 1.3px;
    display: flex;
    align-items: center;
  }

  .mobile-menu .btn {
    margin-top: 1.5rem;
    width: 100%;
    justify-content: center;
    background: var(--ink);
    color: var(--paper);
  }

  .mobile-menu .btn:hover {
    background: var(--clay);
    color: #ffffff;
  }
}

@media(min-width: 901px) {
  .mobile-menu {
    display: none;
  }
}

/* =============================================================================
   2. HERO SECTION
   ============================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background:
    radial-gradient(80% 50% at 30% 90%, var(--beige), transparent 70%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 60%, var(--beige) 100%);
}

.hero .amotion {
  position: absolute;
  inset: 0;
  left: auto;
  right: 0;
  width: 72%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #2c2825, #4a4038);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%);
  mask-image: linear-gradient(to right, transparent 0%, #000 45%);
}

.amotion video,
.amotion img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  max-width: 100%;
  padding: 120px var(--gut) clamp(40px, 6vh, 80px);
  padding-left: max(var(--gut), calc((100vw - 1252px) / 2));
  display: flex;
  flex-direction: column;
  color: var(--ink);
}

.hero-welcome {
  margin-bottom: 1rem;
  color: var(--clay);
  font-size: 0.85rem;
}

.hero-name {
  font-family: var(--display);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -.02em;
  font-size: clamp(3.4rem, 9vw, 7.2rem);
  text-transform: uppercase;
  color: var(--ink);
}

.hero-name::after {
  content: "";
  display: block;
  width: 50px;
  height: 1px;
  background: var(--clay);
  margin-top: 1.8rem;
}

.hero-name .ln {
  display: block;
  overflow: hidden;
}

.hero-name .ln b {
  display: block;
  font-weight: 300;
}

.hero-name .arceo {
  color: var(--clay);
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: -.01em;
}

.hero-sub {
  margin: 1.8rem 0 2rem;
  color: var(--muted);
  max-width: 40ch;
  font-size: 1.06rem;
}

/* Más grande que el resto de botones, a propósito: es la única llamada a la
   acción del banner y competía con el texto de al lado. El relleno del `.btn`
   base va en `em`, así que crece solo al subir el cuerpo de letra. */
.btn-hero {
  background: var(--ink);
  color: var(--paper);
  align-self: flex-start;
  font-size: 1.02rem;
  padding: 1em 2em;
}

.btn-hero:hover {
  background: var(--clay);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem 2.8rem;
  margin-top: 2.2rem;
  border-top: 1px solid var(--line-soft);
  padding-top: 1.6rem;
  max-width: 45%;
}

.metric .k {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.metric .v {
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1.1;
  margin-top: .15rem;
  color: var(--ink);
}

.metric .v small {
  font-size: .88rem;
  color: var(--clay);
}

.hero-badge {
  position: absolute;
  right: var(--gut);
  bottom: clamp(44px, 7vh, 90px);
  z-index: 2;
  background: rgba(244, 244, 244, .92);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: .7rem 1rem;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}

.hero-badge b {
  color: var(--clay);
}

@media(max-width:860px) {
  .hero-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    max-width: 100%;
    width: 100%;
    border-top: 1.5px solid #ffffff;
    margin-top: 3.5rem;
  }

  .hero-metrics .metric {
    padding: 0 0.5rem;
  }

  .hero-metrics .metric:first-child {
    padding-left: 0;
  }

  .hero-metrics .metric:last-child {
    padding-right: 0;
  }

  .hero-metrics .metric:not(:last-child) {
    border-right: 1px solid #ffffff;
  }

  .hero-metrics .metric:nth-child(2),
  .hero-metrics .metric:nth-child(3) {
    text-align: center;
  }

  .hero-metrics .metric .k {
    color: var(--clay);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
  }

  .hero-metrics .metric .v {
    font-size: 1.35rem;
    color: #ffffff;
  }

  .hero-metrics .metric .v small {
    font-size: 0.95rem;
    color: #ffffff;
  }

  .hero {
    min-height: 100svh;
    align-items: center;
  }

  .hero-inner {
    padding: 80px var(--gut) 40px;
    align-items: center;
    text-align: center;
  }

  .hero-welcome {
    text-align: center;
    color: var(--clay);
    font-size: 0.68rem;
    letter-spacing: 0.22em;
  }

  .hero-name {
    max-width: 100%;
    text-align: center;
    color: #ffffff;
    font-size: clamp(4.8rem, 13vw, 6.2rem);
  }

  .hero-name .arceo {
    color: var(--clay);
  }

  .hero-name::after {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-sub {
    text-align: center;
    margin: 1.8rem auto 2rem;
    color: #ffffff;
    max-width: 290px;
  }

  .btn-hero {
    align-self: center;
    background: var(--clay);
    color: #ffffff;
    border: 1px solid var(--clay);
  }

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

  .hero .amotion {
    width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
    z-index: 0;
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(18, 16, 14, 0.65);
    z-index: 1;
    pointer-events: none;
  }

  /* Header transparent state overrides on mobile */
  .site-header:not(.scrolled) .brand {
    color: #ffffff;
  }

  .site-header:not(.scrolled) .burger span {
    background: #ffffff;
  }

  .brand {
    transition: color .4s;
    margin-left: -15px !important;
    /* Ajustado en móvil para asegurar que no se recorte el logo ni cause desbordamientos */
  }

  .burger span {
    transition: transform .35s var(--ease), opacity .3s, background-color .4s;
  }
}

/* =============================================================================
   3. SCROLL STORY (SEQUENCE)
   ============================================================================= */
.story {
  position: relative;
  height: 290vh;
  background: var(--beige);
}

.story .pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.story-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(85% 60% at 50% 16%, rgba(232, 224, 213, .6), transparent 68%),
    linear-gradient(180deg, var(--beige) 0%, var(--paper-2) 100%);
}

.story-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 50% at 72% 82%, var(--clay-soft), transparent 70%);
}

.story-center {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vw, 80px);
  padding: 0 var(--gut);
}

.story-eyebrow {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--clay);
}

.frame {
  order: 2;
  position: relative;
  width: min(58vw, 820px);
  aspect-ratio: 16/9;
  border-radius: 18px;
  overflow: hidden;
  background: #1c1916;
  box-shadow: 0 44px 100px -44px rgba(33, 30, 27, .55);
}

.frame canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.frame .fnum {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 3;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .1em;
  color: #fff;
  background: rgba(33, 30, 27, .45);
  backdrop-filter: blur(4px);
  padding: .35em .6em;
  border-radius: 6px;
}

.frame .fnum .of {
  opacity: .7;
}

.frame .story-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  will-change: transform;
}

.story.cinematic .story-img {
  display: block;
}

.story.cinematic .frame canvas {
  display: none;
}

.story.cinematic .loader {
  display: none !important;
}

.story.scrub .story-img {
  display: none;
}

.story .rail {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  height: 34vh;
  width: 1.5px;
  background: rgba(33, 30, 27, .16);
  z-index: 3;
}

.story .rail i {
  position: absolute;
  left: -1px;
  top: 0;
  width: 3.5px;
  height: 0;
  background: var(--clay);
}

.story .rail::after {
  content: "SCROLL";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: .54rem;
  letter-spacing: .3em;
  color: var(--muted);
}

.story .loader {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 14px;
  background: var(--paper-2);
  z-index: 5;
  transition: opacity .6s;
}

.story .loader.done {
  opacity: 0;
  pointer-events: none;
}

.story .loader .lbl {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.story .bar {
  width: 200px;
  height: 2px;
  background: var(--line);
  overflow: hidden;
  margin: 0 auto;
}

.story .bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--clay);
  transition: width .15s linear;
}

.cap-area {
  order: 1;
  position: relative;
  width: min(34vw, 360px);
  min-height: 12em;
  text-align: left;
  flex-shrink: 0;
}

.cap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

.cap.show {
  opacity: 1;
  transform: none;
}

.cap .k {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: .5rem;
}

.cap .t {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.0vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--ink);
}

.cap .t em {
  font-style: italic;
  color: var(--clay);
}

@media(max-width:640px) {
  .story {
    height: 280vh;
  }

  .story .rail {
    display: none;
  }

  .story-center {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 3vh, 30px);
    padding: 0 var(--gut);
  }

  .frame {
    order: 1;
    width: 92vw;
  }

  .cap-area {
    order: 2;
    width: 92vw;
    min-height: 7em;
    text-align: center;
  }

  .cap {
    align-items: center;
    text-align: center;
  }

  .cap .t {
    font-size: 1.65rem;
  }
}

/* =============================================================================
   4. STATIC CONTENT SECTIONS (About, Featured, Highlights)
   ============================================================================= */
.section {
  padding: clamp(24px, 4vw, 48px) 0;
  position: relative;
}

.section.alt {
  background: var(--paper-2);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: clamp(12px, 2vw, 24px);
}

.section-head .section-no {
  align-self: flex-end;
}

.section-head .section-no--narrow {
  margin-bottom: 0.45rem;
  line-height: 1.4;
}

.section-title {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -.01em;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  text-transform: uppercase;
}

.section-title em {
  font-style: italic;
  text-transform: none;
  color: var(--clay);
  font-weight: 300;
}

.section-title .title-small {
  font-size: 0.6em;
  font-weight: 300;
  display: block;
  margin-bottom: 0.2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(20px, 3.5vw, 48px);
  align-items: start;
}

.about-portrait {
  aspect-ratio: 3/4;
  border-radius: 18px;
  max-width: 380px;
}

.about-card {
  background: var(--beige);
  border-radius: 18px;
  padding: 1.2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  max-width: 380px;
}

.about-card .av {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex: 0 0 64px;
}

.about-card .nm {
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1;
}

.about-card .role,
.about-card .lic {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clay);
  margin-top: .3rem;
}

.about-lead {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.7vw, 1.9rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.about-text {
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 1.2rem;
}

.about-wide {
  aspect-ratio: 16/7;
  border-radius: 18px;
  margin-top: 1rem;
}

.quote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
  line-height: 1.3;
  margin: 0 0 1rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 1.4rem;
}

.tag {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35em .7em;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}

@media(max-width:820px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   5. PRE-APPROVED SECTION
   ============================================================================= */
.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.video-block {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 18px;
  cursor: pointer;
}

.video-block .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
}

.video-block .play span {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(244, 244, 244, .92);
  display: grid;
  place-items: center;
  transition: transform .4s var(--ease), background .4s;
}

.video-block:hover .play span {
  transform: scale(1.08);
  background: var(--clay);
}

.video-block:hover .play svg {
  stroke: var(--paper);
}

.watch {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clay);
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  background: rgba(244, 244, 244, .85);
  padding: .5em .9em;
  border-radius: 999px;
}

.feat-text p {
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 1.2rem 0 1.8rem;
  max-width: 46ch;
}

.btn-rect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1.1em 2.2em;
  border-radius: 0;
  transition: background .35s, transform .4s var(--ease), box-shadow .4s;
}

.btn-rect:hover {
  background: var(--clay);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: clamp(32px, 5vw, 64px);
  border-top: 1px solid var(--line-soft);
  padding-top: clamp(10px, 2vw, 20px);
  justify-items: center;
  text-align: center;
}

.stat .n {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1;
}

.stat .n .suf {
  color: var(--clay);
}

.stat .l {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .5rem;
  max-width: 18ch;
}

@media(max-width:820px) {
  .feat-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
  }
}

/* =============================================================================
   6. FEATURED AREAS GALLERY
   ============================================================================= */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: clamp(48px, 7vw, 90px);
}

.area-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 601px) {
  .areas-grid .area-col:nth-child(even) {
    margin-top: 2.8rem;
  }
}

.area-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  aspect-ratio: 16/10;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(33, 30, 27, 0.02);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.area-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(33, 30, 27, 0.75) 0%, var(--beige) 100%);
  mix-blend-mode: multiply;
  z-index: 2;
  transition: background 0.45s var(--ease);
}

.area-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: sepia(0.5) saturate(1.2) contrast(0.95) brightness(0.95);
  transition: transform 0.65s var(--ease), filter 0.45s var(--ease);
}

.area-card .area-name {
  position: relative;
  z-index: 3;
  color: #fff;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: center;
  padding: 1.5rem;
}

.area-card:hover,
.area-card.selected {
  transform: translateY(-8px);
  border-color: var(--clay);
  box-shadow: 0 30px 60px -10px rgba(33, 30, 27, 0.42), 0 15px 25px -12px rgba(33, 30, 27, 0.3);
}

.area-card:hover img,
.area-card.selected img {
  transform: scale(1.08);
  filter: sepia(0) saturate(0.4) contrast(0.95) brightness(0.85) opacity(0.85);
}

.area-card:hover::after,
.area-card.selected::after {
  background: linear-gradient(to top, rgba(33, 30, 27, 0.8) 0%, var(--muted) 100%);
}

.editorial-quote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.3;
  max-width: 30ch;
  margin: clamp(48px, 7vw, 90px) auto;
  text-align: center;
}

.center {
  display: grid;
  place-items: center;
}

@media (max-width:1024px) {
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}

@media(max-width:600px) {
  .areas-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .areas-grid .area-col {
    gap: 1rem;
  }

  .areas-grid .area-col:nth-child(even) {
    margin-top: 0;
  }

  .area-card {
    aspect-ratio: 16/9;
  }
}

/* =============================================================================
   7. MARQUEE
   ============================================================================= */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line-soft);
  padding: 1.4rem 0;
  white-space: nowrap;
}

.marquee .track-m {
  display: inline-block;
  animation: marq 28s linear infinite;
}

.marquee span {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 4rem);
  padding: 0 1.5rem;
}

.marquee span .dot {
  color: var(--clay);
}

/* =============================================================================
   8. HIGHLIGHTS (ESSENCE) SECTION
   ============================================================================= */
.hl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 50px);
  align-items: start;
}

.hl-image {
  aspect-ratio: 4/5;
  border-radius: 18px;
  max-width: 400px;
  width: 100%;
  margin-left: auto;
}

.hl-list {
  list-style: none;
  display: grid;
  gap: .4rem;
}

.hl-item {
  border-top: 1px solid var(--line-soft);
}

.hl-item:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.hl-btn {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
  text-align: left;
  padding: 1.4rem .2rem;
  transition: padding .4s var(--ease);
}

.hl-btn .no {
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--clay);
}

.hl-btn .ti {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  text-transform: uppercase;
  transition: color .3s;
}

.hl-item.active .hl-btn {
  padding-left: 1rem;
}

.hl-item.active .hl-btn .ti {
  color: var(--clay);
}

.hl-desc {
  font-size: 1.02rem;
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  transition: max-height .5s var(--ease), opacity .4s, padding .4s;
  opacity: 0;
  padding: 0 .2rem;
}

.hl-item.active .hl-desc {
  max-height: 200px;
  opacity: 1;
  padding: 0 .2rem 1.4rem 1rem;
}

@media(max-width:820px) {
  .hl-grid {
    grid-template-columns: 1fr;
  }

  .hl-image {
    order: -1;
    margin-inline: auto;
  }
}

/* =============================================================================
   9. APARTMENTS LISTING GRID & PAGINATION
   ============================================================================= */
.apartments-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem auto 1.5rem;
}

.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sort-label {
  font-size: 0.76rem;
  color: var(--muted);
}

.sort-select {
  border: 1px solid var(--line-soft);
  background: #fff;
  padding: 0.45rem 1.6rem 0.45rem 0.8rem;
  border-radius: 8px;
  font-family: var(--body);
  font-size: 0.76rem;
  color: var(--ink);
  font-weight: 500;
  -webkit-appearance: none;
  appearance: none;
  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='%23A68877' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px;
  cursor: pointer;
  transition: border-color 0.3s;
}

.sort-select:focus {
  border-color: var(--clay);
  outline: none;
}

.apt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.apt-grid.list {
  grid-template-columns: 1fr;
}

.apt-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
  display: flex;
  flex-direction: column;
}

.apt-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--line);
}

.apt-grid.list .apt-card {
  flex-direction: row;
}

.apt-media {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--beige);
}

.apt-grid.list .apt-media {
  width: 230px;
  flex: 0 0 230px;
  aspect-ratio: auto;
}

.apt-media .ph {
  position: absolute;
  inset: 0;
  height: 100%;
  border-radius: 0;
}

.apt-label {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(244, 244, 244, .9);
  padding: .4em .7em;
  border-radius: 999px;
}

.apt-body {
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}

.apt-name {
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1;
}

.apt-specs {
  display: flex;
  gap: 1.2rem;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .06em;
  color: var(--muted);
  text-transform: uppercase;
}

.apt-price {
  font-family: var(--display);
  font-size: 1.6rem;
  margin-top: .2rem;
}

/* La mensualidad va debajo del precio y claramente por debajo de él en peso:
   es un estimado, y no puede competir visualmente con la única cifra firme de
   la tarjeta. La nota del plazo va siempre visible —no solo en el `title`—
   porque un importe mensual sin plazo se lee como un precio cerrado. */
.apt-monthly {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  flex-wrap: wrap;
  margin-top: .15rem;
}

.apt-monthly-val {
  font-family: var(--display);
  font-size: 1rem;
  color: var(--ink, inherit);
}

.apt-monthly-nota {
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .65;
}

.apt-card .btn {
  margin-top: auto;
  align-self: flex-start;
  font-size: .74rem;
  padding: .7em 1.3em;
}

.empty {
  grid-column: 1/-1;
  text-align: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .8rem;
  padding: 3rem;
}

@media(max-width:900px) {
  .apt-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:600px) {
  .apt-grid {
    grid-template-columns: 1fr;
  }

  .apt-grid.list .apt-card {
    flex-direction: column;
  }

  .apt-grid.list .apt-media {
    width: 100%;
    aspect-ratio: 4/3;
  }
}

/* Pagination Bar Styles */
.pagination-bar {
  margin-top: 3rem;
  width: 100%;
}

.pag-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FAF8F6;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 0.8rem 1.5rem;
  font-family: var(--body);
  font-size: 0.78rem;
  color: var(--ink);
}

.pag-info {
  font-size: 0.78rem;
  color: var(--muted);
}

.pag-info strong {
  color: var(--ink);
  font-weight: 600;
}

.pag-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pag-btn {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line-soft);
  color: var(--ink);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.78rem;
  transition: all 0.25s ease;
  user-select: none;
}

.pag-btn:hover:not(:disabled) {
  background: var(--clay-soft);
  border-color: var(--clay);
  color: var(--clay);
}

.pag-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #FAF8F6;
}

.pag-pages {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pag-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.pag-page-btn:hover {
  background: var(--clay-soft);
  color: var(--ink);
}

.pag-page-btn.active {
  background: var(--clay);
  color: #fff;
  font-weight: 600;
}

.pag-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--muted);
  font-size: 0.78rem;
  user-select: none;
}

@media(max-width: 768px) {
  .pag-wrapper {
    flex-direction: column;
    gap: 1rem;
    padding: 1.2rem 1rem;
    text-align: center;
  }

  .pag-controls {
    width: 100%;
    justify-content: space-between;
  }

  .pag-pages {
    gap: 0.2rem;
  }

  .pag-page-btn,
  .pag-ellipsis {
    width: 28px;
    height: 28px;
  }
}

/* =============================================================================
   10. COLLAPSIBLE FILTERS PANEL
   ============================================================================= */
.filter-panel-container {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 1.5rem;
  margin: 2rem auto 1.5rem;
  box-shadow: 0 10px 40px -20px rgba(33, 30, 27, 0.08);
}

.filter-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-toggle-btn {
  display: flex;
  align-items: center;
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: background 0.3s, color 0.3s;
}

.filter-toggle-btn:hover {
  background: var(--paper-2);
  color: var(--clay);
}

.filter-toggle-btn.active .chevron-icon {
  transform: rotate(180deg);
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.btn-clear-all {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s;
}

.btn-clear-all:hover {
  color: var(--ink);
}

.btn-apply-filters {
  background: var(--clay);
  color: #fff;
  font-family: var(--body);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  box-shadow: 0 4px 15px -4px rgba(166, 136, 119, 0.4);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.btn-apply-filters:hover {
  background: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -5px rgba(33, 30, 27, 0.4);
}

.filter-row {
  display: grid;
  gap: 1.5rem;
}

.row-main {
  grid-template-columns: 1fr 1fr 240px;
}

@media(max-width: 900px) {
  .row-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width: 600px) {
  .row-main {
    grid-template-columns: 1fr;
  }
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.group-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.group-title {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.range-values {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

.range-slider-container {
  position: relative;
  height: 20px;
  display: flex;
  align-items: center;
}

.slider-track {
  position: absolute;
  height: 3px;
  background: rgba(166, 136, 119, 0.16);
  width: 100%;
  border-radius: 2px;
  z-index: 1;
}

.range-input {
  position: absolute;
  width: 100%;
  height: 3px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  z-index: 2;
  margin: 0;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background: var(--clay);
  border: 2px solid #fff;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 1px 4px rgba(33, 30, 27, 0.2);
  transition: transform 0.15s;
}

.range-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.range-input::-moz-range-thumb {
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background: var(--clay);
  border: 2px solid #fff;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 1px 4px rgba(33, 30, 27, 0.2);
  transition: transform 0.15s;
}

.range-input::-moz-range-thumb:hover {
  transform: scale(1.2);
}

.range-inputs {
  display: flex;
  justify-content: space-between;
  margin-top: 0.3rem;
}

.range-box {
  border: 1px solid var(--line-soft);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  background: #fafaf9;
}

.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select,
.filter-detail-select select {
  width: 100%;
  border: 1px solid var(--line-soft);
  padding: 0.6rem 2rem 0.6rem 0.8rem;
  border-radius: 10px;
  font-family: var(--body);
  font-size: 0.78rem;
  color: var(--ink);
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23A68877' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  cursor: pointer;
  transition: border-color 0.3s;
}

.custom-select:focus,
.filter-detail-select select:focus {
  border-color: var(--clay);
  outline: none;
}


.filter-section-title {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 1.5rem;
  margin-bottom: 0.7rem;
}

.row-comfort {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.8rem;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-soft);
  padding: 0.5rem 0.8rem;
  border-radius: 12px;
  background: #fff;
  gap: 0.5rem;
  transition: border-color 0.3s;
}

.filter-pill:hover {
  border-color: var(--clay);
}

.pill-icon {
  color: var(--clay);
  display: flex;
  align-items: center;
}

.pill-label {
  font-size: 0.76rem;
  color: var(--ink);
  font-weight: 500;
}

.pill-select {
  border: none;
  background: none;
  font-family: var(--body);
  font-size: 0.76rem;
  color: var(--ink);
  font-weight: 600;
  margin-left: auto;
  padding-right: 14px;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23A68877' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 9px;
  cursor: pointer;
}

.pill-select:focus {
  outline: none;
}

.filter-pill-checkbox-label {
  cursor: pointer;
  user-select: none;
}

.pill-checkbox {
  margin-left: auto;
  height: 15px;
  width: 15px;
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}

.pill-checkbox:checked {
  background: var(--clay);
  border-color: var(--clay);
}

.pill-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 3px;
  height: 7px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.row-details {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8rem;
}

@media(max-width: 768px) {
  .row-details {
    grid-template-columns: 1fr;
  }
}

.filter-panel-footer {
  margin-top: 1.5rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line-soft);
}

.active-filters-count {
  display: flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
}

/* =============================================================================
   11. CONTACT FORM & GRID
   ============================================================================= */
.ready-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.4rem;
}

.ready-main {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.ready-main .ph {
  position: absolute;
  inset: 0;
  height: 100%;
  border-radius: 18px;
  z-index: 0;
}

.ready-main .body {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(33, 30, 27, .72));
}

.ready-main .nm {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  text-transform: uppercase;
  line-height: 1;
}

.ready-main .specs {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: .7rem 0;
  opacity: .9;
}

.ready-main p {
  font-size: .92rem;
  max-width: 48ch;
  opacity: .92;
  margin-bottom: 1rem;
}

.ready-main .price {
  font-family: var(--display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.ready-main .btn {
  align-self: flex-start;
  background: var(--paper);
  color: var(--ink);
}

.ready-side {
  display: grid;
  gap: 1.4rem;
}

.ready-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.ready-card .ph {
  position: absolute;
  inset: 0;
  height: 100%;
  border-radius: 16px;
  z-index: 0;
}

.ready-card .body {
  position: relative;
  z-index: 2;
  padding: 1.3rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(33, 30, 27, .7));
}

.ready-card .nm {
  font-family: var(--display);
  font-size: 1.4rem;
  text-transform: uppercase;
}

.ready-card .specs {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: .4rem 0;
  opacity: .9;
}

.ready-card .price {
  font-family: var(--mono);
  font-size: .74rem;
  margin-bottom: .6rem;
}

.ready-card .btn {
  align-self: flex-start;
  font-size: .7rem;
  padding: .6em 1.1em;
  border: 1px solid rgba(255, 255, 255, .5);
  color: #fff;
}

.ready-card .btn:hover {
  background: var(--clay);
  border-color: var(--clay);
}

@media(max-width:820px) {
  .ready-grid {
    grid-template-columns: 1fr;
  }
}

.contact {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: clamp(72px, 11vw, 150px) 0;
}

.contact .ph {
  position: absolute;
  inset: 0;
  height: 100%;
  border-radius: 0;
  z-index: 0;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(33, 30, 27, .82), rgba(166, 136, 119, .55));
}

.contact .wrap {
  position: relative;
  z-index: 2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
}

.contact .lead {
  margin-top: 1.2rem;
  opacity: .9;
  max-width: 42ch;
}

.cform {
  display: grid;
  gap: 1rem;
}

.cform input,
.cform textarea {
  width: 100%;
  padding: 1em 1.2em;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font: inherit;
  font-size: .92rem;
}

.cform input::placeholder,
.cform textarea::placeholder {
  color: rgba(255, 255, 255, .6);
}

.cform input:focus,
.cform textarea:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255, 255, 255, .14);
}

.cform .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cform textarea {
  min-height: 110px;
  resize: vertical;
}

.check {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .78rem;
  opacity: .85;
}

.check input {
  width: auto;
}

.cform .btn {
  background: var(--paper);
  color: var(--ink);
  justify-content: center;
  width: 100%;
  margin-top: .4rem;
}

.cform .btn:hover {
  background: var(--clay);
  color: #fff;
}

.legal {
  font-size: .7rem;
  opacity: .7;
  margin-top: .4rem;
}

.form-ok {
  display: none;
  font-family: var(--mono);
  font-size: .78rem;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .4);
  padding: 1em 1.2em;
  border-radius: 12px;
}

.form-ok.show {
  display: block;
}

@media(max-width:760px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cform .row2 {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   12. FOOTER
   ============================================================================= */
.footer {
  background: var(--paper-2);
  padding-top: clamp(24px, 4vw, 48px);
}

.foot-name {
  font-family: var(--display);
  font-weight: 300;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: .85;
  letter-spacing: -.02em;
}

.foot-name em {
  font-style: italic;
  color: var(--clay);
  text-transform: none;
}

.foot-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  padding: clamp(40px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--line-soft);
}

.foot-top h3 {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 500;
  max-width: 18ch;
  line-height: 1.1;
  padding-left: 1.2rem;
  position: relative;
  align-self: start;
}

.foot-top h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  bottom: 0.02em;
  width: 2px;
  background: var(--clay);
}

.foot-col h5 {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.5rem;
  display: inline-block;
  min-width: 80px;
}

.foot-col ul {
  list-style: none;
  display: grid;
  gap: .6rem;
}

.foot-col a {
  font-size: .88rem;
  color: var(--muted);
  transition: color .3s;
}

.foot-col a:hover {
  color: var(--ink);
}

.foot-contact-card {
  align-self: start;
}



#footContact {
  gap: 1.1rem;
}

#footContact li {
  font-size: .88rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 1rem;
  line-height: 1.35;
}

#footContact li svg {
  color: var(--clay);
  flex-shrink: 0;
}

.phone-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--clay);
  color: var(--clay);
  font-family: var(--body);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  width: 22px;
  height: 13px;
  border-radius: 3px;
  text-transform: uppercase;
  line-height: 1;
  flex-shrink: 0;
}

.foot-affiliations {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background: #ffffff;
  padding: 2.2rem 2rem;
  gap: 1.5rem 0;
  width: 100%;
}

.foot-affiliations .aff-item {
  display: flex;
  align-items: center;
  padding: 0 clamp(0.8rem, 2.5vw, 2.2rem);
}

.foot-affiliations .aff-item:not(:last-child) {
  border-right: 1px solid var(--line-soft);
}

.foot-affiliations img {
  height: clamp(24px, 4vw, 36px);
  width: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(0.8) opacity(0.5);
  transition: filter 0.4s var(--ease), transform 0.4s var(--ease);
}

.foot-affiliations img[alt*="Equal Housing"] {
  height: clamp(38px, 6.5vw, 56px);
}

.foot-affiliations img[alt*="Grand Terra"] {
  height: clamp(32px, 5.5vw, 48px);
}

.foot-affiliations img:hover {
  filter: grayscale(0) contrast(1) opacity(1);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .foot-affiliations {
    gap: 1.5rem clamp(1rem, 4vw, 2.5rem);
  }

  .foot-affiliations .aff-item {
    padding: 0;
  }

  .foot-affiliations .aff-item:not(:last-child) {
    border-right: none;
  }
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding: 2.2rem 0;
  font-family: var(--mono);
  font-size: .66rem;
  color: var(--muted);
}

.foot-copy {
  line-height: 1.5;
}

.foot-socials {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.foot-socials a {
  color: var(--muted);
  transition: color .3s;
  display: flex;
  align-items: center;
}

.foot-socials a:hover {
  color: var(--clay);
}

.foot-socials .sep,
.foot-bottom .links .sep {
  opacity: .35;
  color: var(--muted);
  margin: 0 0.2rem;
}

.foot-bottom .links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.foot-bottom .links a {
  transition: color .3s;
}

.foot-bottom .links a:hover {
  color: var(--ink);
}

@media(max-width:760px) {
  .foot-top {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   13. PROPERTY DETAIL MODAL, CAROUSEL & SPECIFICATIONS DASHBOARD
   ============================================================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 1000;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: #FAF8F5;
  width: 95%;
  max-width: 1000px;
  max-height: 90vh;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transform: translateY(30px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  color: #555;
  transition: background 0.2s, transform 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.modal-close:hover {
  background: #FAF8F5;
  color: #1a1a1a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: scale(1.03);
}

.modal-content {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  height: 90vh;
  max-height: 700px;
}

@media (max-width: 820px) {
  .modal-container {
    max-height: 95vh;
    overflow-y: auto;
  }

  .modal-content {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
  }
}

/* --- Left Column: Carousel & Image --- */
.modal-carousel {
  position: relative;
  background: #1a1a1a;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
}

@media (max-width: 820px) {
  .modal-carousel {
    height: 350px;
    min-height: 350px;
  }
}

.carousel-slides {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.15s ease-out;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-zoom-controls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 10;
}

.zoom-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: #fff;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
  user-select: none;
}

.zoom-btn:hover {
  background: var(--clay-soft);
  color: var(--clay);
  border-color: var(--clay);
}

.zoom-btn#carouselReset {
  font-size: 0.9rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #555;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s, transform 0.2s, color 0.2s, box-shadow 0.2s;
  z-index: 15;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
  background: #FAF8F5;
  color: #1a1a1a;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.carousel-btn.prev {
  left: 20px;
}

.carousel-btn.next {
  right: 20px;
}

.carousel-counter {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-family: var(--mono);
  font-weight: 500;
  z-index: 15;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.carousel-thumbnails {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 15;
}

.thumbnail-item {
  flex: 1;
  max-width: 72px;
  height: 52px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.thumbnail-item.active {
  border-color: #9B7A66;
  transform: scale(1.03);
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media(min-width: 861px) {
  .carousel-blur-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(25px) brightness(0.4) saturate(1.2);
    transform: scale(1.15);
    z-index: 0;
    pointer-events: none;
    transition: background-image 0.4s ease;
  }
}

/* --- Right Column: Details Panel & specs --- */
.modal-details {
  padding: 40px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}

@media (max-width: 820px) {
  .modal-details {
    padding: 30px 20px;
  }
}

.modal-header {
  margin-bottom: 24px;
}

.modal-label {
  display: inline-block;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #736a61;
  margin-bottom: 6px;
}

.modal-label-underline {
  width: 25px;
  height: 1px;
  background: #9B7A66;
  margin-bottom: 14px;
}

.modal-mls-inline {
  display: block;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #9B7A66;
  margin-bottom: 8px;
}

.modal-title {
  font-size: 38px;
  font-family: var(--display);
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.15;
  margin-bottom: 8px;
  padding-right: 40px;
}

.modal-subtitle {
  font-family: var(--body);
  font-size: 16px;
  color: #9B7A66;
  margin-bottom: 12px;
  font-weight: 400;
}

.modal-price-wrap {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-price {
  font-size: 36px;
  font-family: var(--display);
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.1;
}

.modal-price-label {
  font-family: var(--body);
  font-size: 12px;
  color: #888;
  font-weight: 500;
}

/* 3 column base specs */
.modal-specs {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  margin-bottom: 30px;
  border-top: 1px solid #EAE6DF;
  border-bottom: 1px solid #EAE6DF;
  padding: 24px 0;
}

.spec-divider {
  background-color: #EAE6DF;
  height: 45px;
  width: 1px;
}

.spec-item {
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.spec-icon {
  color: #9B7A66;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spec-icon svg {
  width: 22px;
  height: 22px;
  stroke: #9B7A66;
  stroke-width: 1.2px;
}

.spec-val {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.1;
  margin-bottom: 4px;
}

.spec-lbl {
  font-family: var(--body);
  font-size: 11px;
  color: #736a61;
  text-transform: capitalize;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* --- Overview and description --- */
.modal-overview-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.overview-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #A68877;
  color: #A68877;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overview-icon-circle svg {
  stroke-width: 1.5;
}

.overview-title {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #A68877;
}

.modal-description-container {
  position: relative;
  overflow: hidden;
  transition: max-height 0.4s ease;
  flex-shrink: 0;
}

.modal-description-container.collapsed {
  max-height: 140px;
}

.modal-description-container.collapsed::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(to bottom, transparent, #FAF8F5);
  pointer-events: none;
}

.modal-description-container.expanded {
  max-height: 1200px;
}

.modal-description {
  font-family: var(--body);
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.6;
  margin-bottom: 0;
}

.modal-description-toggle {
  display: inline-flex;
  align-items: center;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  color: #A68877;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
  margin-top: 4px;
  margin-bottom: 25px;
  transition: color 0.2s;
}

.modal-description-toggle:hover {
  color: #9B7A66;
}

.modal-description-toggle svg {
  transition: transform 0.2s;
}

.modal-contact-wrap {
  margin-top: auto;
  text-align: center;
}

.modal-contact-btn {
  width: 100%;
  background: #9B7A66;
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 30px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(155, 122, 102, 0.2);
}

.modal-contact-btn:hover {
  background: #846552;
  box-shadow: 0 6px 16px rgba(155, 122, 102, 0.3);
  transform: translateY(-1px);
}

.modal-privacy-note {
  font-family: var(--sans);
  font-size: 11px;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Nearby Tags */
.modal-nearby-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 35px;
}

.nearby-tag {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  color: #555;
  font-family: var(--sans);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 500;
}

/* Agent Card inside Modal */
.modal-agent-card {
  display: flex;
  gap: 16px;
  background: rgba(0, 0, 0, 0.015);
  border: 1px solid rgba(0, 0, 0, 0.03);
  padding: 18px;
  border-radius: 8px;
  margin-bottom: 35px;
  align-items: center;
}

.agent-avatar {
  background: rgba(155, 122, 102, 0.1);
  color: #9B7A66;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.agent-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.agent-name {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  color: #1a1a1a;
}

.agent-position {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #777;
  font-weight: 600;
}

.agent-brokerage {
  font-family: var(--sans);
  font-size: 12px;
  color: #555;
}

.agent-phone {
  font-family: var(--sans);
  font-size: 12.5px;
  margin-top: 4px;
}

.agent-phone a:hover {
  text-decoration: underline;
}

/* --- Dashboard Specifications Grid --- */
.modal-dashboard-section-title {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #A68877;
  margin-top: 40px;
  margin-bottom: 6px;
  flex-shrink: 0;
}

.modal-dashboard-section-underline {
  width: 25px;
  height: 1px;
  background: #9B7A66;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.dashboard-top-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.dashboard-top-item {
  display: flex;
  flex-direction: column;
}

.dashboard-top-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.dashboard-top-icon {
  color: #A68877;
  display: flex;
  align-items: center;
}

.dashboard-top-lbl {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #A68877;
}

.dashboard-top-val-price {
  font-family: var(--display);
  font-size: 52px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1;
}

.dashboard-top-sub-price {
  font-family: var(--body);
  font-size: 13px;
  color: #736a61;
  margin-top: 4px;
}

.dashboard-top-val-mls {
  font-family: var(--body);
  font-size: 28px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.2;
}

.listing-status-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #EAE6DF;
  border-radius: 12px;
  padding: 16px 24px;
  margin-bottom: 40px;
  background: rgba(0, 0, 0, 0.005);
  flex-shrink: 0;
}

.status-circle-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FAF8F5;
  border: 1px solid #EAE6DF;
  color: #A68877;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-content {
  display: flex;
  flex-direction: column;
}

.status-lbl {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #A68877;
  margin-bottom: 4px;
}

.status-val {
  font-family: var(--display);
  font-size: 24px;
  color: #1a1a1a;
  line-height: 1.1;
}

.dashboard-subtitle {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #736a61;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.dashboard-grid-details,
.dashboard-grid-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #EAE6DF;
  border-left: 1px solid #EAE6DF;
  margin-bottom: 40px;
  flex-shrink: 0;
}

.grid-cell {
  border-right: 1px solid #EAE6DF;
  border-bottom: 1px solid #EAE6DF;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 95px;
  min-width: 0;
}

.cell-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #A68877;
}

.cell-icon {
  display: flex;
  align-items: center;
  color: #A68877;
}

.cell-icon svg {
  stroke-width: 1.3px;
}

.cell-lbl {
  font-family: var(--body);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
}

.cell-val {
  font-family: var(--body);
  font-size: 13.5px;
  color: #1a1a1a;
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: break-word;
}

.cell-subval {
  font-family: var(--body);
  font-size: 10px;
  color: #888;
  margin-top: -4px;
}

.cell-link {
  font-family: var(--body);
  font-size: 10px;
  color: #A68877;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  transition: color 0.2s;
}

.cell-link:hover {
  color: #9B7A66;
  text-decoration: underline;
}

.feature-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  padding-bottom: 8px;
}

.feature-row:last-child {
  border-bottom: none;
}

.feature-label {
  font-family: var(--sans);
  font-size: 13.5px;
  color: #777;
}

.feature-value {
  font-family: var(--sans);
  font-size: 13.5px;
  color: #1a1a1a;
  font-weight: 500;
  text-align: right;
  padding-left: 20px;
}

.exterior-cell {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  gap: 16px;
  padding: 20px;
  min-height: 80px;
  min-width: 0;
}

.exterior-icon {
  color: #9B7A66;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.exterior-icon svg {
  width: 22px;
  height: 22px;
  stroke: #9B7A66;
  stroke-width: 1.2px;
}

.exterior-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  width: 100%;
}

.dashboard-footer-note {
  font-family: var(--body);
  font-size: 11px;
  color: #888;
  text-align: center;
  margin-top: -20px;
  margin-bottom: 40px;
  flex-shrink: 0;
}

@media (max-width: 820px) {
  .dashboard-top-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dashboard-grid-details,
  .dashboard-grid-features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {

  .dashboard-grid-details,
  .dashboard-grid-features {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   6. CUSTOM LANGUAGE SELECTOR (EN | ES)
   ============================================================================= */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-right: 10px;
}

.lang-btn {
  background: none;
  border: none;
  padding: 0;
  color: #4e453e;
  /* Matches the nav-links for legibility */
  cursor: pointer;
  transition: color 0.3s ease;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
}

.lang-btn.active {
  color: var(--ink, #211e1b);
  font-weight: 700;
}

.lang-btn:hover {
  color: var(--clay, #a17a69);
}

.lang-divider {
  color: rgba(33, 30, 27, 0.25);
  pointer-events: none;
  user-select: none;
}

/* Hide Native Google Translate layout elements & Branding */
#google_translate_element,
.skiptranslate,
.goog-te-banner-frame,
.goog-logo-link,
.goog-te-gadget,
.goog-te-gadget-icon,
.goog-te-gadget img,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-te-balloon-wrapper {
  display: none !important;
}

body {
  top: 0px !important;
}

/* Remove text highlights and boxes on hover */
font,
.goog-text-highlight,
.goog-text-highlight:hover {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
  color: inherit !important;
}

/* Custom translations handler */
.lang-es-text {
  display: none !important;
}

html.translated-ltr .lang-en-text {
  display: none !important;
}

html.translated-ltr .lang-es-text {
  display: inline !important;
}
/* Nota bajo un filtro cuyo dato no siempre está declarado. */
.pill-nota {
  display: block;
  width: 100%;
  margin-top: .2rem;
  font-family: var(--mono);
  font-size: .55rem;
  letter-spacing: .04em;
  color: var(--muted);
  line-height: 1.3;
}
