/* ============================================================
   MI-INMOBILIARIA — Design tokens
   Palette sampled from the client's own logo.
   Type: Fraunces (display serif, warmth/architecture) + Inter (body)
   ============================================================ */

:root {
  --dark:      #384C40;   /* deep pine green — primary */
  --dark-2:    #2C3D33;   /* darker shade for hover/depth */
  --cream:     #F7F1E4;   /* warm paper background */
  --cream-2:   #EFE6D2;   /* slightly deeper cream for panels */
  --sage:      #ABB4A1;   /* muted sage — secondary */
  --gold:      #DEBE8F;   /* warm gold — accent / CTA */
  --gold-2:    #C79E67;   /* deeper gold for text-on-cream accents */
  --ink:       #2B2B22;   /* near-black warm ink for body text */
  --white:     #FFFFFF;
  --line:      rgba(43, 43, 34, 0.14);

  --serif: "Fraunces", "Iowan Old Style", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1180px;
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.4em;
  color: var(--dark);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 500; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; max-width: 62ch; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--dark); color: var(--cream); }
.btn-primary:hover { background: var(--dark-2); }
.btn-gold { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: var(--gold-2); }
.btn-outline { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--cream); }
.btn-outline-light { background: transparent; color: var(--cream); border-color: var(--sage); }
.btn-outline-light:hover { border-color: var(--cream); }

/* ---------- Header / Nav ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand-text {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--dark);
  line-height: 1;
}
.brand-text span {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--gold-2);
  margin-top: 3px;
  font-weight: 600;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 0.95rem;
  color: var(--dark);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover { border-color: var(--gold-2); }
.nav-links a.active { border-color: var(--dark); font-weight: 600; }
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: var(--cream); border-bottom: none; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
}

/* Dropdown ("Servicios", "Nosotros") */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a::after { content: "▾"; font-size: 0.65em; margin-left: 5px; opacity: 0.7; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -14px;
  background: var(--cream);
  border: 1px solid var(--line);
  min-width: 200px;
  flex-direction: column;
  padding: 8px 0;
  z-index: 60;
  box-shadow: 0 12px 28px rgba(43,43,34,0.09);
}
.dropdown a { padding: 9px 18px; border-bottom: none !important; font-size: 0.92rem; }
.dropdown a:hover { background: var(--cream-2); }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: flex; }

@media (max-width: 860px) {
  .nav-item { flex-direction: column; align-items: flex-start; width: 100%; }
  .dropdown {
    display: flex;
    position: static;
    border: none;
    background: none;
    box-shadow: none;
    padding: 4px 0 4px 14px;
    min-width: 0;
  }
  .dropdown a { padding: 6px 0; opacity: 0.8; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 28px;
    gap: 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: 0.18s ease;
    border-top: 1px solid var(--line);
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-toggle { display: block; }
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-dark { background: var(--dark); color: var(--cream); }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark p { color: var(--sage); }
.section-panel { background: var(--cream-2); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--gold-2);
  font-weight: 600;
  margin-bottom: 10px;
}
.section-dark .eyebrow { color: var(--gold); }

.lede {
  font-size: 1.15rem;
  color: var(--dark-2);
  opacity: 0.85;
  max-width: 46ch;
}
.section-dark .lede { color: var(--sage); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 90px;
}
.hero-copy h1 { margin-bottom: 22px; }
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stats div strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--dark);
}
.hero-stats div span {
  font-size: 0.82rem;
  color: var(--dark-2);
  opacity: 0.75;
}
.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-art { width: 100%; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-art { order: -1; max-width: 320px; margin: 0 auto; }
}

/* ---------- Property cards ---------- */
.prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}

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

.prop-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.prop-art {
  aspect-ratio: 4/3;
  position: relative;
  background: var(--cream-2);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.prop-art svg { width: 100%; height: 100%; }
.prop-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--dark);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 2px;
  letter-spacing: 0.02em;
}
.prop-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.prop-price {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 4px;
}
.prop-addr { font-size: 0.95rem; color: var(--ink); margin-bottom: 14px; }
.prop-specs {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--dark-2);
  opacity: 0.8;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: auto;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 46px;
}
.service {
  border-top: 2px solid var(--gold);
  padding-top: 20px;
}
.service .num {
  font-family: var(--serif);
  font-size: 0.9rem;
  color: var(--gold-2);
  display: block;
  margin-bottom: 12px;
}
@media (max-width: 860px) {
  .services-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Footer ---------- */
footer.site {
  background: var(--dark);
  color: var(--sage);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(247,241,228,0.14);
}
.footer-grid h4 {
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}
.footer-grid a, .footer-grid p { color: var(--sage); font-size: 0.92rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 36px; height: 36px; object-fit: contain; }
.footer-brand span { font-family: var(--serif); color: var(--cream); font-size: 1.15rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.8rem;
  opacity: 0.75;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--gold-2);
  outline-offset: 1px;
}
textarea { resize: vertical; min-height: 120px; }
@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- Filter pills (propiedades page) ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.filter-pill {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--white);
  cursor: pointer;
  color: var(--dark-2);
}
.filter-pill.active { background: var(--dark); color: var(--cream); border-color: var(--dark); }

/* ---------- Testimonials ---------- */
.stars { color: var(--gold-2); letter-spacing: 2px; font-size: 0.95rem; margin-bottom: 10px; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 42px;
}
.testi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.testi-text { font-size: 0.95rem; color: var(--ink); flex: 1; margin-bottom: 16px; }
.testi-who { font-size: 0.85rem; font-weight: 600; color: var(--dark); display: flex; align-items: center; gap: 8px; }
.testi-who .g { color: var(--gold-2); font-weight: 700; font-size: 0.78rem; }
@media (max-width: 900px) {
  .testi-grid { grid-template-columns: 1fr; }
}

/* ---------- Commission banner ---------- */
.banner-fee {
  background: var(--gold);
  color: var(--dark);
  padding: 34px 0;
}
.banner-fee .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.banner-fee h3 { color: var(--dark); margin: 0; font-size: 1.4rem; }
.banner-fee p { margin: 4px 0 0; opacity: 0.85; max-width: 50ch; }

/* ---------- Hero lead form card ---------- */
.hero-art { position: relative; border-radius: var(--radius); overflow: hidden; }
.hero-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}
.lead-card {
  position: relative;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  max-width: 360px;
  margin-left: auto;
  margin-top: -40px;
  box-shadow: 0 18px 40px rgba(43,43,34,0.10);
}
.lead-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.lead-card p { font-size: 0.88rem; opacity: 0.75; margin-bottom: 16px; }
.lead-card .form-grid { grid-template-columns: 1fr; gap: 12px; }
.lead-card .btn { width: 100%; justify-content: center; margin-top: 4px; }
.lead-card .fineprint { font-size: 0.74rem; opacity: 0.6; margin: 10px 0 0; max-width: none; }
@media (max-width: 860px) {
  .lead-card { max-width: 100%; margin-top: 22px; }
}
.divider { height: 1px; background: var(--line); border: none; margin: 0; }
.page-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--line);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
}
.map-frame {
  width: 100%;
  height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  filter: grayscale(0.15);
}
.quote {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--dark);
  line-height: 1.4;
  max-width: 46ch;
  margin: 0 0 18px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--dark);
  color: var(--cream);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.22);
  z-index: 80;
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 760px; }
.legal-content h2 { font-size: 1.25rem; margin-top: 2em; }
.legal-content p, .legal-content li { max-width: none; color: var(--dark-2); }
.legal-content ul { padding-left: 20px; }

/* ---------- Property detail page ---------- */
.prop-detail-art { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.prop-detail-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.prop-detail-specs div { text-align: center; }
.prop-detail-specs strong { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--dark); }
.prop-detail-specs span { font-size: 0.78rem; opacity: 0.7; }

/* ---------- Sold properties ---------- */
.prop-tag-sold { background: var(--gold-2); color: var(--dark); }
.prop-card-sold .prop-price { opacity: 0.6; }
.prop-card-sold .prop-art { position: relative; }
.prop-card-sold .prop-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(247,241,228,0.35);
}

/* ---------- Photo gallery (property detail) ---------- */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}
.photo-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid var(--line);
}
.plano-block { margin-top: 30px; }
.plano-block img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30,30,24,0.92);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 28px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}
@media (max-width: 700px) {
  .photo-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Form success message ---------- */
.form-success {
  display: none;
  background: var(--cream-2);
  border: 1px solid var(--sage);
  border-left: 4px solid var(--dark);
  border-radius: var(--radius);
  padding: 28px 26px;
  text-align: center;
}
.form-success .check {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 14px;
}
.form-success h3 { margin-bottom: 8px; font-size: 1.2rem; }
.form-success p { margin: 0 auto; opacity: 0.85; max-width: 40ch; }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.blog-card .eyebrow { margin-bottom: 12px; }
.blog-card h3 { font-size: 1.2rem; margin-bottom: 10px; line-height: 1.3; }
.blog-card p { font-size: 0.92rem; opacity: 0.8; flex: 1; margin-bottom: 18px; }
.blog-card .read-more { font-size: 0.85rem; font-weight: 600; color: var(--dark); }
.blog-card .read-more::after { content: " →"; }

.blog-article {
  max-width: 720px;
  margin: 0 auto;
}
.blog-article h2 { font-size: 1.4rem; margin-top: 1.6em; }
.blog-article p, .blog-article li { max-width: none; color: var(--dark-2); line-height: 1.7; }
.blog-article ul, .blog-article ol { padding-left: 22px; margin: 0 0 1.2em; }
.blog-article li { margin-bottom: 8px; }
.blog-meta { font-size: 0.85rem; opacity: 0.65; margin-bottom: 6px; }
.blog-cta {
  margin-top: 50px;
  padding: 28px 26px;
  background: var(--cream-2);
  border-radius: var(--radius);
  text-align: center;
}

/* ---------- Mortgage calculator ---------- */
.calc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  margin-top: 40px;
}
@media (max-width: 860px) {
  .calc-card { grid-template-columns: 1fr; padding: 26px; gap: 30px; }
}
.calc-field { margin-bottom: 20px; }
.calc-field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.calc-field label span.val {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold-2);
  font-weight: 500;
}
.calc-field input[type="range"] {
  width: 100%;
  accent-color: var(--dark);
  height: 4px;
  cursor: pointer;
}
.calc-field input[type="number"] {
  margin-top: 8px;
}
.calc-result {
  background: var(--dark);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc-result .label {
  font-size: 0.82rem;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.calc-result .big {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 26px;
}
.calc-result .big span { font-size: 1.1rem; color: var(--sage); font-family: var(--sans); }
.calc-breakdown { border-top: 1px solid rgba(247,241,228,0.18); padding-top: 18px; }
.calc-breakdown div {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 7px 0;
  color: var(--sage);
}
.calc-breakdown div strong { color: var(--cream); font-weight: 600; }
.calc-note {
  font-size: 0.78rem;
  opacity: 0.6;
  margin-top: 18px;
  max-width: none;
}
.calc-warn {
  font-size: 0.82rem;
  color: var(--gold-2);
  margin-top: -6px;
  margin-bottom: 14px;
  display: none;
}
.calc-warn.show { display: block; }

/* ---------- Language switch ---------- */
.lang-switch {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  margin-right: 4px;
}
.lang-btn {
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 11px;
  cursor: pointer;
  color: var(--dark-2);
  opacity: 0.6;
}
.lang-btn.active { background: var(--dark); color: var(--cream); opacity: 1; }
@media (max-width: 860px) {
  .lang-switch { margin: 4px 0 14px; align-self: flex-start; }
}

/* =====================================================================
   MOTION (v23) — hero slider, marquee, scroll reveals, sticky header
   ===================================================================== */

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; background: var(--dark-2); color: var(--cream); }
.hs-stage { position: relative; height: clamp(580px, 86vh, 820px); overflow: hidden; }
.hs-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 1.2s ease, visibility 0s linear 1.2s;
}
.hs-slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1.2s ease; }
.hs-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scale(1.12); transform-origin: 60% 50%;
}
.hs-slide.is-active .hs-bg { animation: hs-kenburns 9s cubic-bezier(.25,.6,.3,1) forwards; }
@keyframes hs-kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.hs-slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(28,38,32,.78) 0%, rgba(28,38,32,.46) 38%, rgba(28,38,32,0) 70%),
    linear-gradient(0deg, rgba(28,38,32,.45) 0%, rgba(28,38,32,0) 30%);
}
.hs-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 20px; padding-bottom: 70px;
}
.hs-content > * { max-width: 620px; }
.hs-eyebrow {
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin: 0 0 18px;
}
.hs-title {
  font-family: var(--serif); font-weight: 500; color: var(--cream);
  font-size: clamp(2.3rem, 4.8vw, 4rem); line-height: 1.06;
  margin: 0 0 22px; max-width: 15ch;
}
.hs-lede { color: rgba(247,241,228,.88); font-size: 1.08rem; max-width: 46ch; margin: 0 0 32px; }
.hs-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-slider .btn-outline-light:hover { background: var(--cream); color: var(--dark); border-color: var(--cream); }

/* Caption entrance: each line rises in, one after another */
.hs-content > * {
  opacity: 0; transform: translateY(34px);
  transition: opacity .5s ease, transform .5s ease;
}
.hs-content > .hs-title { clip-path: inset(0 0 100% 0); transform: translateY(40px); }
.hs-slide.is-active .hs-content > * {
  opacity: 1; transform: none;
  transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1), clip-path 1.1s cubic-bezier(.2,.7,.2,1);
}
.hs-slide.is-active .hs-content > .hs-title { clip-path: inset(0 0 -12% 0); }
.hs-slide.is-active .hs-eyebrow { transition-delay: .35s; }
.hs-slide.is-active .hs-title   { transition-delay: .5s; }
.hs-slide.is-active .hs-lede    { transition-delay: .8s; }
.hs-slide.is-active .hs-cta     { transition-delay: 1s; }

/* Progress dots */
.hs-controls { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 4; }
.hs-dots { display: flex; gap: 10px; }
.hs-dot {
  width: 46px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer;
  display: flex; align-items: center;
}
.hs-dot::before { content: ""; }
.hs-dot span {
  display: block; width: 100%; height: 3px; background: rgba(247,241,228,.3);
  position: relative; overflow: hidden; border-radius: 2px;
}
.hs-dot span::after {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
}
.hs-dot.is-active span::after { animation: hs-progress var(--hs-interval, 7s) linear forwards; }
.hero-slider.is-paused .hs-dot.is-active span::after { animation-play-state: paused; }
@keyframes hs-progress { to { transform: scaleX(1); } }

/* Lead card floating over the slider */
.hs-lead-wrap {
  position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: 0 auto; z-index: 5;
  display: flex; align-items: center; justify-content: flex-end; pointer-events: none;
}
.hero-lead {
  pointer-events: auto; width: 360px; margin: 0;
  background: rgba(247,241,228,.95);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0,0,0,.28); color: var(--ink);
  animation: hs-lead-in 1.1s cubic-bezier(.2,.7,.2,1) .9s both;
}
@keyframes hs-lead-in { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) { .hero-lead { width: 320px; } .hs-content > * { max-width: 520px; } }
@media (max-width: 900px) {
  .hs-stage { height: clamp(560px, 82vh, 700px); }
  .hs-slide::after { background: linear-gradient(0deg, rgba(34,46,39,.9) 0%, rgba(34,46,39,.55) 55%, rgba(34,46,39,.25) 100%); }
  .hs-content { justify-content: flex-end; padding-bottom: 86px; }
  .hs-lead-wrap { position: static; display: block; padding-top: 0; padding-bottom: 28px; background: var(--dark-2); pointer-events: auto; }
  .hero-lead { width: 100%; margin-top: -8px; animation: none; box-shadow: none; }
}
@media (max-width: 520px) {
  .hs-title { font-size: 2.1rem; }
  .hs-lede { font-size: 1rem; margin-bottom: 24px; }
  .hs-cta .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- Marquee band ---------- */
.marquee { background: var(--dark); color: var(--cream); overflow: hidden; padding: 20px 0; border-top: 1px solid rgba(247,241,228,.08); }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li {
  font-family: var(--serif); font-size: 1.3rem; white-space: nowrap;
  display: flex; align-items: center;
}
.marquee li::after { content: "✦"; color: var(--gold); font-size: .8rem; margin: 0 30px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sticky header: shrinks on scroll ---------- */
header.site { transition: box-shadow .35s ease, background-color .35s ease; }
header.site .nav { transition: padding .35s ease; }
header.site .brand img { transition: height .35s ease, width .35s ease; }
header.site.is-scrolled { box-shadow: 0 8px 30px rgba(34,46,39,.10); background: rgba(247,241,228,.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
header.site.is-scrolled .nav { padding-top: 9px; padding-bottom: 9px; }

/* ---------- Scroll reveals ---------- */
html.js .reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0s);
}
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Property cards: lift + photo zoom + "Ver ficha" ---------- */
.prop-card { transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease; }
.prop-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(34,46,39,.14); }
.prop-art img, .prop-art svg { transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.prop-card:hover .prop-art img, .prop-card:hover .prop-art svg { transform: scale(1.07); }
.prop-view {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  background: var(--cream); color: var(--dark);
  font-size: .8rem; font-weight: 600; padding: 8px 14px; border-radius: var(--radius);
  opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease;
}
.prop-card:hover .prop-view, .prop-card:focus-within .prop-view { opacity: 1; transform: none; }

/* ---------- Respect "reduce motion" ---------- */
@media (prefers-reduced-motion: reduce) {
  .hs-slide.is-active .hs-bg, .hero-lead, .marquee-track, .hs-dot.is-active span::after { animation: none !important; }
  .hs-bg { transform: none; }
  .hs-content > *, html.js .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .prop-card, .prop-card:hover, .prop-art img { transform: none !important; }
}
section.hero-slider { padding: 0; }

/* =====================================================================
   ÚLTIMOS RESULTADOS — escaparate animado de ventas (v24)
   ===================================================================== */
.results-section { position: relative; overflow: hidden; }
.results-section::before {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 60%; height: 90%;
  background: radial-gradient(closest-side, rgba(222,190,143,.12), transparent); pointer-events: none;
}
.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; }
.results-head .lede { margin: 0; }
.results-head .btn { flex: 0 0 auto; }

.rs-layout { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: 36px; align-items: stretch; }
.rs-showcase { min-width: 0; }

/* Stage */
.rs-stage {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: 6px; background: #1f2b24; outline: none;
  box-shadow: 0 30px 70px rgba(0,0,0,.35), 0 0 0 1px rgba(247,241,228,.08);
}
.rs-stage:focus-visible { box-shadow: 0 0 0 3px var(--gold); }
.rs-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; }
.rs-slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1s ease; }
.rs-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.rs-live .rs-slide.is-active img, .is-live .rs-slide.is-active img { animation: rs-zoom 7s cubic-bezier(.25,.6,.3,1) forwards; }
@keyframes rs-zoom { from { transform: scale(1.12) translateX(1.5%); } to { transform: scale(1.02) translateX(0); } }
.rs-slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(20,28,23,.88) 0%, rgba(20,28,23,.35) 38%, rgba(20,28,23,0) 62%),
              linear-gradient(180deg, rgba(20,28,23,.35) 0%, rgba(20,28,23,0) 22%);
}

/* VENDIDO stamp */
.rs-stamp {
  position: absolute; z-index: 3; top: 26px; left: 26px;
  font-family: var(--sans); font-weight: 800; font-size: 1rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--dark); background: var(--gold);
  padding: 10px 18px 10px 22px; border-radius: 3px;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  transform: rotate(-6deg) scale(1.9); opacity: 0;
}
.rs-slide.is-active .rs-stamp { animation: rs-stamp .55s cubic-bezier(.3,1.6,.5,1) .55s forwards; }
@keyframes rs-stamp { to { transform: rotate(-6deg) scale(1); opacity: 1; } }

/* Caption */
.rs-cap { position: absolute; z-index: 3; left: 30px; right: 30px; bottom: 34px; color: var(--cream); }
.rs-cap > * { display: block; opacity: 0; transform: translateY(22px); }
.rs-slide.is-active .rs-cap > * { animation: rs-rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.rs-slide.is-active .rs-type   { animation-delay: .35s !important; }
.rs-slide.is-active .rs-street { animation-delay: .5s !important; }
.rs-slide.is-active .rs-meta   { animation-delay: .75s !important; }
@keyframes rs-rise { to { opacity: 1; transform: none; } }
.rs-type { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.rs-street { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.1; margin-bottom: 14px; }
.rs-meta { display: flex !important; gap: 12px; align-items: center; flex-wrap: wrap; }
.rs-price { font-family: var(--serif); font-size: 1.35rem; }
.rs-days {
  font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 99px;
  background: rgba(247,241,228,.14); border: 1px solid rgba(247,241,228,.28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* Counter, arrows, progress */
.rs-counter { position: absolute; z-index: 4; top: 30px; right: 28px; color: rgba(247,241,228,.75); font-size: .85rem; letter-spacing: .12em; }
.rs-counter b { color: var(--cream); font-size: 1.05rem; }
.rs-arrow {
  position: absolute; z-index: 4; top: 50%; width: 46px; height: 46px; margin-top: -23px;
  border-radius: 50%; border: 1px solid rgba(247,241,228,.35); background: rgba(20,28,23,.35);
  color: var(--cream); font-size: 1.6rem; line-height: 1; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .3s ease, background .3s ease;
}
.rs-prev { left: 18px; } .rs-next { right: 18px; }
.rs-stage:hover .rs-arrow, .rs-stage:focus-within .rs-arrow { opacity: 1; }
.rs-arrow:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.rs-progress { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(247,241,228,.15); }
.rs-progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.rs-progress span.run { animation: rs-bar var(--rs-interval, 5s) linear forwards; }
[data-resultados].is-paused .rs-progress span { animation-play-state: paused; }
@keyframes rs-bar { to { transform: scaleX(1); } }

/* Thumbnail strip — the "shop window" */
.rs-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.rs-thumbs::-webkit-scrollbar { display: none; }
.rs-thumb {
  position: relative; flex: 1 0 0; min-width: 76px; aspect-ratio: 16 / 10; padding: 0; border: 0; cursor: pointer;
  border-radius: 3px; overflow: hidden; background: #1f2b24; opacity: .45; transition: opacity .35s ease, transform .35s ease;
}
.rs-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.4); transition: filter .35s ease; }
.rs-thumb:hover { opacity: .8; }
.rs-thumb.is-active { opacity: 1; transform: translateY(-3px); }
.rs-thumb.is-active img { filter: none; }
.rs-thumb-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform .4s ease; }
.rs-thumb.is-active .rs-thumb-bar { transform: scaleX(1); }

/* Stats column */
.rs-stats { display: grid; grid-template-rows: repeat(3, 1fr); border-top: 1px solid rgba(247,241,228,.14); }
.rs-stat { display: flex; flex-direction: column; justify-content: center; padding: 16px 0; border-bottom: 1px solid rgba(247,241,228,.14); }
.rs-stat b { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--cream); font-variant-numeric: tabular-nums; }
.rs-stat span { margin-top: 8px; font-size: .9rem; color: var(--sage); }
.rs-stat:first-child b { color: var(--gold); }
@media (max-width: 960px) { .rs-stat:last-child { grid-column: 1 / -1; } }

.results-foot { margin-top: 38px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.results-foot p { margin: 0; color: var(--sage); font-size: .95rem; }

@media (max-width: 960px) {
  .rs-layout { grid-template-columns: 1fr; gap: 26px; }
  .rs-stats { grid-template-rows: none; grid-template-columns: repeat(2, 1fr); column-gap: 24px; border-top: 0; }
  .rs-stat { padding: 18px 0; justify-content: flex-start; }
}
@media (max-width: 600px) {
  .rs-stage { aspect-ratio: 4 / 5; }
  .rs-stamp { top: 18px; left: 18px; font-size: .82rem; padding: 8px 14px 8px 17px; }
  .rs-counter { top: 22px; right: 18px; }
  .rs-cap { left: 20px; right: 20px; bottom: 26px; }
  .rs-arrow { display: none; }
  .rs-thumb { flex: 0 0 84px; }
  .rs-stat b { font-size: 2.3rem; }
  .results-head { margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .rs-slide img, .rs-stamp, .rs-cap > * { animation: none !important; opacity: 1 !important; transform: none !important; }
  .rs-stamp { transform: rotate(-6deg) !important; }
}

/* ---------- Garantías / confianza (v27) ---------- */
.trust-band { background: var(--cream-2); }
.trust-band h2 { max-width: 22ch; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.trust-card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  padding: 30px 26px 28px; overflow: hidden;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease;
}
.trust-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .8s cubic-bezier(.2,.7,.2,1) .2s; }
.trust-card.is-in::before, .trust-card:hover::before { transform: scaleX(1); }
.trust-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(34,46,39,.12); }
.t-icon { width: 46px; height: 46px; color: var(--gold-2); margin-bottom: 16px; }
.t-icon svg { width: 100%; height: 100%; }
.t-big { font-family: var(--serif); font-size: 1.9rem; line-height: 1.1; color: var(--dark); margin-bottom: 14px; }
.t-big b { font-weight: 600; }
.t-google { font-size: 2.8rem; display: flex; align-items: center; gap: 12px; margin-top: 4px; min-height: 62px; }
.t-stars { display: inline-flex; gap: 3px; font-size: 1.7rem; line-height: 1; color: var(--gold-2); }
html.js .trust-card .t-stars span { opacity: .2; transform: scale(.6); display: inline-block; transition: opacity .3s ease, transform .4s cubic-bezier(.3,1.6,.5,1); }
html.js .trust-card.is-in .t-stars span, html.js .trust-card:not(.reveal) .t-stars span { opacity: 1; transform: none; }
html.js .trust-card.is-in .t-stars span:nth-child(1){transition-delay:.5s}
html.js .trust-card.is-in .t-stars span:nth-child(2){transition-delay:.62s}
html.js .trust-card.is-in .t-stars span:nth-child(3){transition-delay:.74s}
html.js .trust-card.is-in .t-stars span:nth-child(4){transition-delay:.86s}
html.js .trust-card.is-in .t-stars span:nth-child(5){transition-delay:.98s}
.trust-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.trust-card p { font-size: .9rem; opacity: .8; margin: 0; }
@media (max-width: 1000px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .trust-card .t-stars span { opacity: 1 !important; transform: none !important; } }

.t-big small { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--gold-2); margin-left: 6px; }
.trust-card { display: flex; flex-direction: column; }
.t-verify { margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 14px; }
.t-verify img { width: 64px; height: 64px; border: 1px solid var(--line); border-radius: 4px; padding: 3px; background: #fff; }
.t-verify a { font-size: .86rem; font-weight: 600; color: var(--dark); border-bottom: 1px solid var(--gold-2); padding-bottom: 1px; }
.t-verify a:hover { color: var(--gold-2); }
.t-logo { height: 62px; margin-bottom: 10px; display: flex; align-items: center; }
.t-logo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.t-tag { display: inline-block; align-self: flex-start; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #b5121b; border: 1px solid rgba(181,18,27,.35); border-radius: 99px; padding: 5px 11px; margin-bottom: 14px; }
@media (max-width: 760px) { .t-verify img { display: none; } }

/* ---------- Servicios adicionales (v31) ---------- */
.extras-head { margin-top: 90px; }
.extras-head .lede { max-width: 58ch; }
.extras-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 40px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.extra {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  background: var(--cream); padding: 30px 28px 26px; color: var(--ink); text-decoration: none;
  transition: background .35s ease;
}
.extra::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.extra:hover { background: var(--white); }
.extra:hover::after { transform: scaleX(1); }
.x-icon {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 10px;
  background: var(--cream-2); color: var(--dark); transition: background .35s ease, color .35s ease, transform .45s cubic-bezier(.3,1.5,.5,1);
}
.x-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.extra:hover .x-icon { background: var(--dark); color: var(--gold); transform: rotate(-8deg) scale(1.06); }
.extra h3 { font-size: 1.12rem; margin: 0; }
.extra p { font-size: .9rem; opacity: .78; margin: 0; }
.x-more { margin-top: auto; padding-top: 12px; font-size: .82rem; font-weight: 600; color: var(--gold-2); opacity: 0; transform: translateX(-6px); transition: opacity .3s ease, transform .3s ease; }
.extra:hover .x-more, .extra:focus-visible .x-more { opacity: 1; transform: none; }
@media (hover: none) { .x-more { opacity: 1; transform: none; } }
@media (max-width: 900px) { .extras-grid { grid-template-columns: repeat(2, 1fr); } .extras-head { margin-top: 64px; } }
@media (max-width: 560px) { .extras-grid { grid-template-columns: 1fr; } .extra { padding: 24px 22px; } }

.hs-title, .hs-lede, .hs-eyebrow { text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hs-bg { filter: saturate(1.08) contrast(1.03); }

/* =====================================================================
   v33 — "TOP" REFRESH: more contrast, bolder type, brighter accents
   ===================================================================== */
:root {
  --forest: #1F2B25;      /* deep premium green for dark sections */
  --forest-2: #28372F;
  --brass: #D6A45A;       /* brighter gold for actions */
  --brass-2: #C08C42;
  --paper: #FBF8F1;       /* lighter cream for alternating sections */
}
body { background: var(--paper); }
section { padding: 112px 0; }
.section-tight { padding: 72px 0; }

/* Headings: bigger, tighter, with italic brass accent */
h1, h2 { letter-spacing: -0.015em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.08; max-width: 20ch; margin-bottom: .45em; }
h2 em, h1 em, .hs-title em, .pb-title em { font-style: italic; color: var(--brass-2); font-weight: 400; }
.section-dark h2 em, .hs-title em, .pb-title em, .results-section h2 em { color: var(--brass); }
.lede { font-size: 1.15rem; line-height: 1.6; }

/* Eyebrow: number + hairline */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700;
  color: var(--brass-2); margin-bottom: 18px;
}
.eyebrow::after { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .6; }
.eb-num { font-family: var(--serif); font-style: italic; font-size: 1.05rem; letter-spacing: 0; text-transform: none; font-weight: 500; }
.section-dark .eyebrow, .results-section .eyebrow { color: var(--brass); }

/* Buttons: brighter brass with a shine sweep */
.btn { padding: 15px 28px; border-radius: 4px; letter-spacing: .01em; position: relative; overflow: hidden; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.btn-gold, .btn-primary { box-shadow: 0 8px 22px rgba(31,43,37,.14); }
.btn-gold { background: var(--brass); color: var(--forest); }
.btn-gold:hover { background: var(--brass-2); color: var(--forest); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(192,140,66,.35); }
.btn-primary { background: var(--forest); }
.btn-primary:hover { background: #000; transform: translateY(-2px); }
.btn-gold::after, .btn-primary::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn-gold:hover::after, .btn-primary:hover::after { left: 130%; }
.btn-outline:hover { transform: translateY(-2px); }
.btn-lg { padding: 18px 34px; font-size: 1.02rem; }

/* Header: crisper */
header.site { background: rgba(251,248,241,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav-links a.btn-primary { background: var(--forest); }

/* Hero: larger, bolder */
.hs-title { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.02; max-width: 14ch; letter-spacing: -0.02em; }
.hs-eyebrow { color: var(--brass); letter-spacing: .26em; }

/* Fee banner: stronger statement */
.banner-fee { background: var(--brass); padding: 30px 0; }
.banner-fee h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 500; color: var(--forest); }
.banner-fee h3::before { content: "✦"; margin-right: 12px; font-size: .9em; color: var(--forest); opacity: .6; }
.banner-fee p { color: var(--forest); opacity: .85; }

/* Marquee: deep green, larger italic */
.marquee { background: var(--forest); padding: 24px 0; }
.marquee li { font-size: 1.5rem; font-style: italic; }
.marquee li::after { color: var(--brass); }

/* Featured properties: light panel, bigger photos & prices */
.section-panel { background: #F3ECDD; }
.prop-card { border: 0; border-radius: 8px; box-shadow: 0 2px 0 rgba(31,43,37,.04), 0 10px 30px rgba(31,43,37,.07); }
.prop-art { aspect-ratio: 5 / 4; }
.prop-body { padding: 24px 24px 22px; }
.prop-price { font-size: 1.7rem; letter-spacing: -0.01em; }
.prop-tag { background: var(--forest); letter-spacing: .08em; text-transform: uppercase; font-size: .68rem; padding: 7px 11px; border-radius: 3px; }
.prop-tag-sold { background: var(--brass); color: var(--forest); }

/* Services: white section, core services as numbered cards */
.services-section { background: #fff; }
.services-section .services-grid { gap: 22px; }
.services-section .service {
  border: 1px solid var(--line); border-top: 3px solid var(--brass); border-radius: 6px;
  padding: 30px 28px; background: var(--paper);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
}
.services-section .service:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(31,43,37,.1); }
.services-section .service .num { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-family: var(--sans); font-weight: 700; color: var(--brass-2); margin-bottom: 12px; }
.services-section .service h3 { font-size: 1.45rem; }
.extras-grid { background: var(--line); }
.extra { background: #fff; }
.extra:hover { background: var(--paper); }
.x-icon { background: #F3ECDD; }
.extra:hover .x-icon { background: var(--forest); color: var(--brass); }

/* Photo band with parallax */
.photo-band { position: relative; padding: 0; min-height: clamp(460px, 70vh, 640px); display: flex; align-items: center; overflow: hidden; color: #fff; }
.pb-img { position: absolute; inset: -12% 0; will-change: transform; }
.pb-img img { width: 100%; height: 100%; object-fit: cover; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,28,24,.78) 0%, rgba(20,28,24,.35) 55%, rgba(20,28,24,.1) 100%); }
.pb-content { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 90px; }
.pb-kicker { font-size: .76rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 700; color: var(--brass); margin-bottom: 18px; }
.pb-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -0.02em; color: #fff; max-width: 14ch; margin-bottom: 34px; text-shadow: 0 2px 24px rgba(0,0,0,.3); }

/* Dark sections: deeper forest with a soft brass glow */
.section-dark, .results-section { background: var(--forest); position: relative; }
.section-dark { background: radial-gradient(900px 400px at 85% 10%, rgba(214,164,90,.10), transparent 60%), var(--forest); }
.rs-stat b { font-size: clamp(2.8rem, 4.8vw, 4rem); }
.rs-stat:first-child b { color: var(--brass); }
.rs-stamp { background: var(--brass); }
.quote { font-size: clamp(1.6rem, 2.6vw, 2.2rem) !important; line-height: 1.25; color: var(--cream) !important; font-style: italic; }

/* Trust band: lighter paper with crisp white cards */
.trust-band { background: #F3ECDD; }
.trust-card { border: 0; border-radius: 8px; box-shadow: 0 10px 30px rgba(31,43,37,.07); }
.trust-card::before { background: var(--brass); }
.t-big { font-size: 2.1rem; }
.t-stars { color: var(--brass); }

/* Testimonials: white section, larger quotes */
.testi-card { border: 0 !important; border-radius: 8px !important; box-shadow: 0 10px 30px rgba(31,43,37,.07); background: #fff !important; }
.stars { color: var(--brass); font-size: 1.05rem; }

/* Footer deeper */
footer.site { background: #17201B; }

@media (max-width: 760px) {
  section { padding: 80px 0; }
  h2 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hs-title { font-size: clamp(2.2rem, 10vw, 3rem); }
  .pb-title { font-size: clamp(2.2rem, 11vw, 3rem); }
  .photo-band { min-height: 460px; }
  .marquee li { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) { .pb-img { transform: none !important; } .btn::after { display: none; } }
.pb-content { width: 100%; }
h2 { max-width: 22ch; }
[style*="text-align:center"] h2, [style*="text-align: center"] h2 { margin-left: auto; margin-right: auto; }
[style*="text-align:center"] .eyebrow, [style*="text-align: center"] .eyebrow { justify-content: center; }

/* v35: la cabecera de las páginas interiores perdía el margen lateral
   (padding de .page-hero pisaba el de .container) y en el móvil el título
   quedaba pegado al borde. */
.page-hero.container { padding-left: 28px; padding-right: 28px; }

/* v35: tarjeta de valoración de la portada con dos opciones (online / visita) */
.hero-lead .lead-options { display: grid; gap: 10px; }
.hero-lead .lead-options .btn { margin-top: 0; text-align: center; }

/* ---------- Share + QR (property detail) ---------- */
.prop-share { position: relative; display: flex; align-items: center; gap: 14px; margin: -6px 0 22px; }
.share-btn { padding: 10px 18px; }
.share-menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 30;
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12); min-width: 190px; padding: 6px;
  display: flex; flex-direction: column;
}
.share-menu[hidden] { display: none; }
.share-menu a, .share-menu button {
  display: block; text-align: left; padding: 10px 12px; border-radius: 4px;
  font: 500 0.92rem var(--sans); color: var(--ink); background: none; border: 0; cursor: pointer; text-decoration: none;
}
.share-menu a:hover, .share-menu button:hover { background: var(--cream-2); }
.share-ok { font-size: 0.85rem; color: var(--dark); font-weight: 600; }

.qr-card {
  display: flex; align-items: center; gap: 18px;
  margin-top: 28px; padding: 16px 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
}
.qr-code { flex: 0 0 112px; width: 112px; height: 112px; }
.qr-code svg { display: block; width: 100%; height: 100%; }
.qr-card strong { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--dark); margin-bottom: 4px; }
.qr-card p { margin: 0; font-size: 0.86rem; opacity: 0.75; max-width: none; }
/* El QR solo tiene sentido si estás en un ordenador */
@media (max-width: 860px), (hover: none) { .qr-card { display: none; } }
