/* === properties.css === */
.zonas {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 8px var(--pad-x) 20px; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.zonas::-webkit-scrollbar { display: none; }

.zona {
  flex: 0 0 auto; scroll-snap-align: start;
  padding: 8px 14px; border: 1px solid var(--line-soft); border-radius: var(--radius-pill);
  background: var(--surface); font-size: 13px; color: var(--ink); font-weight: 400; white-space: nowrap;
  cursor: pointer; transition: border-color 0.15s, background 0.15s;
  font-family: inherit; line-height: 1; text-align: center;
  min-height: 36px;
}
.zona:active { transform: scale(0.96); }

.zona.is-active {
  border-color: var(--accent); background: var(--accent-soft);
}

.rail {
  display: flex; gap: 14px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding-left: 20px;
  padding: 4px var(--pad-x) 10px; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }

.prop {
  flex: 0 0 78%; scroll-snap-align: start;
  background: var(--surface); border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line-soft); cursor: pointer;
  transition: transform 0.15s;
}
.prop:active { transform: scale(0.985); }
.prop .pic { aspect-ratio: 4/3; position: relative; overflow: hidden; }
.prop .pic.a { background: linear-gradient(160deg, #D8C49C 0%, #8E6A41 100%); }
.prop .pic.b { background: linear-gradient(160deg, #C8B89A 0%, #6F563B 100%); }
.prop .pic.c { background: linear-gradient(160deg, #E0CDB0 0%, #A98358 100%); }
.prop .pic::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 0; height: 55%; background: var(--surface); clip-path: polygon(2% 100%, 0% 35%, 50% 0%, 100% 35%, 98% 100%); }
.prop .pic.pic--img::after { display: none; }
.prop .badge { position: absolute; top: 12px; left: 12px; background: var(--surface); color: var(--ink); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; padding: 5px 10px; border-radius: var(--radius-pill); }
.prop .body { padding: 18px 18px 20px; }
.prop .loc { font-size: 11.5px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }
.prop h3 { font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: clamp(20px, 2.2vw, 22px); line-height: 1.15; margin: 5px 0 7px; letter-spacing: -0.01em; }
.prop .meta { font-size: clamp(11.5px, 1.3vw, 12.5px); color: var(--ink-mute); margin-bottom: 0; }

.swipe-hint { display: flex; align-items: center; gap: 8px; margin: 2px var(--pad-x) 0; font-size: 12.5px; color: var(--ink-faint); }
.swipe-hint .dash { flex: 1; height: 1px; background: var(--line-soft); }
.swipe-hint span { display: inline-flex; align-items: center; gap: 6px; }
.swipe-hint .ar { animation: nudge 1.6s ease-in-out infinite; }

@keyframes nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
.prop:focus-visible { outline: 2px solid var(--accent-2); outline-offset: var(--focus-offset); }

.preventa-note {
  margin: 0 var(--pad-x) var(--space-5);
  padding: var(--space-3) var(--space-4);
  background: var(--accent-2-soft);
  border-radius: var(--radius-md);
  color: var(--ink);
  font-size: var(--text-base);
  line-height: var(--leading-body);
}
.preventa-note strong { color: var(--accent-2-hover); font-weight: 700; }
.preventa-note a { color: var(--accent-2-hover); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.preventa-note a:focus-visible { outline: 2px solid var(--accent-2); outline-offset: var(--focus-offset); }

/* ─── Tablet+ (≥ 600px): grid ────────────────────────────────────── */
@media (width >= 600px) {
  .swipe-hint { display: none; }

  .rail {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    padding: 4px var(--pad-x) 10px;
    overflow: visible;
    scroll-snap-type: none;
  }
  .prop { flex: initial; }
  .prop:active { transform: none; }
}

/* ─── Desktop (≥ 1024px) ────────────────────────────────────────── */
@media (width >= 1024px) {
  .rail { 
    grid-template-columns: repeat(3, 1fr); 
    gap: 32px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .prop { 
    flex: 0 0 calc(33.333% - 22px);
    scroll-snap-align: start;
  }
  .prop h3 { font-size: clamp(22px, 2.4vw, 24px); }
}

/* ─── Hover ──────────────────────────────────────────────────────── */
@media (hover: hover) {
  .prop:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
  .zona:hover { border-color: var(--accent); color: var(--accent); }
  .zona.is-active:hover { background: var(--accent-soft); }
  .preventa-note a:hover { color: var(--accent-2); }
}


/* === process.css === */
.timeline { padding: 0 var(--pad-x); }
.tl-item { position: relative; padding: 0 0 26px 44px; }
.tl-item::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: -2px; width: 2px; background: var(--line-soft); }
.tl-item:last-child::before { display: none; }
.tl-item:last-child { padding-bottom: 0; }

.tl-node {
  position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 14px;
  box-shadow: var(--shadow-accent-sm);
}
.tl-item h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2vw, 20px); margin: 3px 0 6px; line-height: 1.15; }
.tl-item p { font-size: clamp(13px, 1.4vw, 14px); color: var(--ink-mute); margin: 0; line-height: 1.55; }

/* ─── Tablet+ (≥ 600px) ─────────────────────────────────────────── */
@media (width >= 600px) {
  .timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 32px;
  }

  .tl-item {
    padding: 0 0 0 44px;
  }
  .tl-item::before { display: none; }
}

/* ─── Desktop (≥ 1024px) ─────────────────────────────────────────── */
@media (width >= 1024px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .tl-item { padding: 0 0 0 36px; }
  .tl-node { width: 26px; height: 26px; font-size: 13px; }
}


/* === about.css === */
.whoami { background: var(--bg-deep); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 44px 0; }
.whoami-kicker { display: inline-block; font-family: var(--font-display); font-style: italic; font-size: 16px; color: var(--accent); margin-bottom: 20px; }

.polaroid {
  position: relative; width: 62%; max-width: 250px; margin: 6px auto 32px;
  background: var(--surface); padding: 12px 12px 42px; border-radius: 4px;
  box-shadow: var(--shadow-tape); transform: rotate(-3deg);
}
.polaroid-pic { aspect-ratio: 1/1; border-radius: 2px; background: url('../assets/alejandra-mendiola.jpg') center/cover no-repeat; }
.tape { position: absolute; top: -11px; left: 50%; transform: translateX(-50%) rotate(-2deg); width: 92px; height: 26px; background: rgb(184 116 58 / 26%); border: 1px solid rgb(184 116 58 / 22%); border-radius: 2px; z-index: 2; }
.whoami-hello { font-family: var(--font-display); font-style: italic; font-size: clamp(18px, 2vw, 20px); color: var(--ink-mute); margin: 0 0 12px; }
.whoami-hello em { color: var(--accent); font-weight: 700; font-style: italic; }
.whoami-note { position: relative; font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: clamp(25px, 7.4vw, 33px); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 20px; text-wrap: balance; padding: 0 4px; }
.whoami-note::before { content: "\201C"; position: absolute; left: -6px; top: -16px; font-family: var(--font-display); font-size: 58px; line-height: 1; color: var(--accent); opacity: 0.5; font-style: normal; }
.whoami-note::after { content: "\201D"; display: inline; font-family: var(--font-display); font-size: 58px; line-height: 0; color: var(--accent); opacity: 0.5; font-style: normal; vertical-align: -0.35em; margin-left: 2px; }
.whoami-story { font-size: clamp(14.5px, 1.6vw, 15.5px); line-height: 1.6; color: var(--ink); margin: 0 0 26px; }
.whoami-body { font-size: clamp(14.5px, 1.6vw, 15.5px); line-height: 1.6; color: var(--ink); margin: 0 0 26px; }
.whoami-sign { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line-soft); overflow: visible; }
.whoami-sign .sign-text { display: flex; flex-direction: column; }
.whoami-social { display: flex; gap: 10px; margin-top: 14px; }

.whoami-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-soft); color: var(--ink-mute);
  transition: border-color 0.15s, color 0.15s;
}
.whoami-social svg { width: 16px; height: 16px; }
.whoami-social a:active { color: var(--accent); border-color: var(--accent); }
.whoami-social a:focus-visible { outline: 2px solid var(--accent-2); outline-offset: var(--focus-offset); }
.whoami-sign .sign-logo { height: 54px; width: auto; display: block; flex: 0 0 auto; mix-blend-mode: multiply; }
.whoami-sign .sig-name { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(18px, 2vw, 20px); line-height: 1.15; }
.whoami-sign .sig-role { font-size: 11.5px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }
.whoami-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.fact { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px 10px; font-size: 11.5px; color: var(--ink-mute); line-height: 1.35; text-align: center; }
.fact b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 16px; color: var(--ink); margin-bottom: 2px; }

/* ─── Tablet+ (≥ 600px) ─────────────────────────────────────────── */
@media (width >= 600px) {
  .whoami-sign .sign-logo { height: 64px; }
  .whoami { padding: 56px 0; }

  .whoami-inner {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
  }
  .polaroid { margin: 0; max-width: none; width: 100%; }
  .whoami-note { font-size: clamp(25px, 5vw, 33px); }
  .whoami-note::before { left: -10px; top: -18px; }
}

/* ─── Desktop (≥ 1024px) ─────────────────────────────────────────── */
@media (width >= 1024px) {
  .whoami-sign .sign-logo { height: 76px; }
  .whoami { padding: 72px 0; }
  .whoami-inner { grid-template-columns: 300px 1fr; gap: 56px; }
  .whoami-note { font-size: clamp(28px, 3vw, 36px); }
  .whoami-note::before { left: -14px; top: -20px; font-size: 68px; }
}

/* ─── Hover ──────────────────────────────────────────────────────── */
@media (hover: hover) {
  .whoami-social a:hover { color: var(--accent); border-color: var(--accent); }
}


/* === testimonial.css === */
.testimonial { padding: 44px 0; text-align: center; border-top: 1px solid var(--line-soft); }

.testimonials-rail {
  display: flex; gap: 14px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding-left: var(--pad-x);
  padding: 4px var(--pad-x) 10px; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.testimonials-rail::-webkit-scrollbar { display: none; }

.t-card {
  flex: 0 0 85%; scroll-snap-align: start;
  text-align: left; background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: var(--space-6) var(--space-5);
}

.t-card blockquote {
  font-family: var(--font-display); font-weight: 400; font-style: italic;
  font-size: clamp(17px, 2.4vw, 20px); line-height: 1.35; letter-spacing: -0.01em; margin: 0;
}

.t-card blockquote em { font-style: normal; color: var(--accent); font-weight: 700; }

.t-card cite { display: block; font-style: normal; font-size: var(--text-xs); color: var(--ink-mute); margin-top: var(--space-3); }

.t-card cite b { color: var(--ink); font-weight: 600; }

/* ─── Tablet+ (≥ 600px) ─────────────────────────────────────────── */
@media (width >= 600px) {
  .testimonial { padding: 56px 0; }

  .testimonials-rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
    padding: 4px var(--pad-x) 10px;
    overflow: visible;
    scroll-snap-type: none;
  }

  .t-card { flex: initial; }
}

/* ─── Desktop (≥ 1024px) ─────────────────────────────────────────── */
@media (width >= 1024px) {
  .testimonial { padding: 72px 0; }

  .testimonials-rail {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }
}


/* === cta.css === */
.cta { padding: 40px var(--pad-x) 48px; }

.cta-card { background: var(--accent); color: var(--surface); border-radius: 22px; padding: 32px 24px; }
.cta-card h2 { font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: clamp(28px, 8vw, 38px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 12px; text-wrap: balance; }
.cta-card p { font-size: clamp(14px, 1.5vw, 15px); margin: 0 0 22px; }
.cta-kicker { display: inline-block; font-family: var(--font-display); font-style: italic; font-size: 15px; margin-bottom: 10px; }

.contact-actions { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 4px; }
.contact-btn { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-radius: 16px; transition: transform 0.12s; }
.contact-btn:active { transform: translateY(1px); }
.contact-btn.wa { background: var(--surface); color: var(--accent); }
.contact-btn.call { background: transparent; color: var(--surface); border: 1.5px solid rgb(255 252 247 / 45%); }
.contact-btn .cb-text { display: flex; flex-direction: column; line-height: 1.2; flex: 1; }
.contact-btn .cb-text b { font-size: 15.5px; font-weight: 600; }
.contact-btn .cb-text small { font-size: 12px; margin-top: 2px; }
.contact-btn.wa .cb-text small { color: var(--ink-mute); }
.contact-btn.call .cb-text small { opacity: 0.7; }
.contact-btn .cb-arrow { font-size: 18px; opacity: 0.55; }
.contact-btn .cb-ico { font-size: 19px; width: 10px; text-align: center; flex: 0 0 auto; }
.contact-btn .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; position: relative; }
.contact-btn .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0.4; animation: pulse 1.9s ease-out infinite; }

@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.5; } 100% { transform: scale(1.6); opacity: 0; } }
.contact-btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: var(--focus-offset); }

/* ─── Tablet+ (≥ 600px) ─────────────────────────────────────────── */
@media (width >= 600px) {
  .cta { padding: 56px var(--pad-x) 64px; }
  .cta-card { padding: 44px 40px; max-width: 640px; margin: 0 auto; }
  .cta-card h2 { font-size: clamp(30px, 5vw, 42px); }
  .cta-card p { font-size: clamp(15px, 1.6vw, 16px); }
  .contact-actions { flex-direction: row; }
  .contact-btn { flex: 1; }
}

/* ─── Desktop (≥ 1024px) ─────────────────────────────────────────── */
@media (width >= 1024px) {
  .cta { padding: 72px var(--pad-x) 80px; }
  .cta-card { padding: 52px 56px; max-width: 800px; margin: 0 auto; }
}

/* ─── Hover ──────────────────────────────────────────────────────── */
@media (hover: hover) {
  .contact-btn:hover { transform: translateY(-2px); }
  .contact-btn.wa:hover { box-shadow: var(--shadow-md); }
}


/* === footer.css === */
.footer { background: var(--ink); color: var(--ink-inverse); padding: 42px 0 116px; }
.footer .f-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2vw, 20px); color: var(--surface); letter-spacing: -0.02em; }
.footer .f-brand-logo { height: 70px; width: auto; display: block; mix-blend-mode: screen; }
.f-tag { font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--ink-muted-dark); margin: 14px 0 24px; text-wrap: balance; }
.f-contact { display: flex; flex-direction: column; margin-bottom: 24px; }
.f-contact a, .f-contact span { display: flex; align-items: baseline; gap: 8px; padding: 12px 0; font-size: 14px; color: var(--ink-inverse); border-bottom: 1px solid rgb(233 227 214 / 12%); }
.f-contact a small { color: var(--ink-faint-dark); font-size: 12px; }
.f-contact a:active { color: var(--surface); }
.f-social { display: flex; gap: 10px; margin-bottom: 28px; }

.f-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgb(233 227 214 / 18%); color: var(--ink-inverse);
  transition: border-color 0.15s, color 0.15s;
}
.f-social svg { width: 18px; height: 18px; }
.f-social a:active { color: var(--surface); border-color: rgb(233 227 214 / 40%); }
.f-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.f-links a { font-size: 13px; color: var(--ink-muted-dark); border: 1px solid rgb(233 227 214 / 18%); border-radius: var(--radius-pill); padding: 8px 15px; }
.f-links a:active { color: var(--surface); border-color: rgb(233 227 214 / 40%); }
.f-base { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; color: var(--ink-faint-dark); padding-top: 18px; border-top: 1px solid rgb(233 227 214 / 14%); }
.f-mft { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; color: var(--ink-faint-dark); margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid rgb(233 227 214 / 10%); }
.f-mft a { color: var(--ink-muted-dark); text-decoration: underline; text-underline-offset: 2px; }
.f-mft a:active { color: var(--surface); }

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-dock);
  display: flex; justify-content: center;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  pointer-events: none; opacity: 0; transform: translateY(24px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.dock.show { opacity: 1; transform: none; }

.dock a {
  pointer-events: auto; width: 100%; max-width: 400px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: var(--surface);
  padding: 16px 24px; border-radius: var(--radius-pill); font-size: 15px; font-weight: 600;
  box-shadow: var(--shadow-dock);
}
.dock a:active { transform: translateY(1px); }
.dock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--surface); flex: 0 0 auto; position: relative; }
.dock-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--surface); opacity: 0.5; animation: pulse 1.9s ease-out infinite; }
.dock-icon { display: none; width: 26px; height: 26px; }

.f-contact a:focus-visible { outline: 2px solid var(--accent-2); outline-offset: var(--focus-offset); }
.f-social a:focus-visible { outline: 2px solid var(--accent-2); outline-offset: var(--focus-offset); }
.f-links a:focus-visible { outline: 2px solid var(--accent-2); outline-offset: var(--focus-offset); }
.f-mft a:focus-visible { outline: 2px solid var(--accent-2); outline-offset: var(--focus-offset); }
.dock a:focus-visible { outline: 2px solid var(--surface); outline-offset: var(--focus-offset); }

@media (prefers-reduced-motion: reduce) {
  .contact-btn .dot::after, .dock-dot::after { animation: none; }
}

/* ─── Tablet+ (≥ 600px) ─────────────────────────────────────────── */
@media (width >= 600px) {
  .footer .f-brand-logo { height: 84px; }
  .footer { padding: 56px 0 116px; }

  .footer .pad {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
  }
  .f-brand { grid-column: 1; }
  .f-tag { grid-column: 1; }
  .f-contact { grid-column: 2; }
  .f-social { grid-column: 2; }
  .f-links { grid-column: 1 / -1; flex-wrap: wrap; }
  .f-base { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; }
  .f-mft { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; gap: var(--space-5); }
}

/* ─── Desktop (≥ 1024px) ─────────────────────────────────────────── */
@media (width >= 1024px) {
  .footer .f-brand-logo { height: 100px; }
  .footer { padding: 72px 0 56px; }

  .footer .pad {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas:
      "brand   contact links"
      "tag     social  links";
    gap: 24px 48px;
  }
  .f-brand { grid-area: brand; }
  .f-tag { grid-area: tag; }
  .f-contact { grid-area: contact; }
  .f-social { grid-area: social; }
  .f-links { grid-area: links; flex-flow: column nowrap; align-content: start; }
  .f-base { grid-column: 1 / -1; }
  .f-mft { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; gap: var(--space-8); }
}

/* ─── Desktop: dock se convierte en botón circular flotante ───────── */
@media (width >= 1024px) {
  .dock { left: auto; right: var(--space-8); bottom: var(--space-8); padding: 0; }
  .dock a { width: 60px; height: 60px; max-width: none; padding: 0; border-radius: 50%; }
  .dock-dot, .dock-label { display: none; }
  .dock-icon { display: block; }
}

/* ─── Hover ──────────────────────────────────────────────────────── */
@media (hover: hover) {
  .f-links a:hover { color: var(--surface); border-color: rgb(233 227 214 / 40%); }
  .f-contact a:hover { color: var(--surface); }
  .f-social a:hover { color: var(--surface); border-color: rgb(233 227 214 / 40%); }
  .f-mft a:hover { color: var(--surface); }
  .dock a:hover { transform: translateY(-2px); }
}


/* === property-modal.css === */

/* ─────────────────────────────────────────────────────────────────────────
 * property-modal.css
 *
 * "Editorial Split" (1A) layout — Claude Design project "Rediseño modal
 * residencias". Preview and detail are fused into a single view: a hero
 * column (image + location/title/tagline overlay) and a content column
 * (price/status bar, scrollable specs/description/amenities/highlights/
 * walkthrough/agent, fixed CTA row). Same markup at every breakpoint —
 * only the flex-direction and hero sizing change:
 *   < 900px   bottom sheet / centered dialog, panel stacks (hero on top)
 *   >= 900px  centered dialog, panel splits into two columns (hero left)
 * All values reference tokens from css/tokens.css.
 *
 * Architecture:
 *   .pm-overlay          fixed full-screen backdrop
 *     .pm-panel          the inner dialog (role=dialog)
 *       .pm-hero         image column/row with overlay text
 *       .pm-content      price/status bar + scroll area + CTA row
 *
 * States:
 *   .is-open              overlay is visible
 * ─────────────────────────────────────────────────────────────────── */

.pm-overlay {
  position: fixed;
  inset: 0;
  background: color-mix(in oklab, var(--ink), transparent 35%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: var(--z-modal);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--motion-base) var(--ease-out);
  padding: var(--pad-x) var(--pad-x) 0;
}

.pm-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.pm-panel {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: calc(100dvh - var(--pad-x));
  background: var(--surface);
  border-top-left-radius: var(--radius-2xl);
  border-top-right-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(100%);
  transition: transform var(--motion-slow) var(--ease-out);
  display: flex;
  flex-direction: column;
}

.pm-overlay.is-open .pm-panel {
  transform: translateY(0);
}

/* ─── Drag handle (visual, mobile bottom sheet only) ─────────────── */
.pm-panel::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--line-soft);
  z-index: 4;
}

/* ─── Hero (image column/row) ────────────────────────────────────── */
.pm-hero {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 16 / 9;
  background: linear-gradient(160deg, var(--bg-deep) 0%, var(--line-soft) 100%);
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.pm-hero svg,
.pm-hero-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.pm-hero--a { background: var(--grad-a); }
.pm-hero--b { background: var(--grad-b); }
.pm-hero--c { background: var(--grad-c); }

.pm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(31 42 34 / 18%) 0%, rgb(31 42 34 / 0%) 32%, rgb(31 42 34 / 80%) 100%);
  pointer-events: none;
}

.pm-badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: var(--surface);
  color: var(--ink);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-weight: var(--fw-semibold);
  box-shadow: var(--shadow-sm);
  z-index: 3;
}

.pm-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform var(--motion-fast) var(--ease-out),
              background var(--motion-fast) var(--ease-out);
}
.pm-icon-btn:active { transform: scale(0.95); }

@media (hover: hover) {
  .pm-icon-btn:hover { transform: scale(1.05); background: var(--bg); }
}

.pm-icon-btn:focus-visible {
  outline: 2px solid var(--surface);
  outline-offset: 2px;
  box-shadow: var(--focus-ring), var(--shadow-md);
}
.pm-icon-btn svg { width: 18px; height: 18px; }

.pm-hero .pm-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 3;
}

/* ─── Header wrapper (hero + top bar, collapses on scroll) ───────── */
.pm-header {
  flex: 0 0 auto;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 600px;
}

.pm-header.pm-header--collapsed {
  max-height: 0;
  opacity: 0;
}

/* ─── Hero overlay text (stays visible when bg fades) ────────────── */
.pm-hero-info {
  position: absolute;
  left: var(--space-5);
  right: var(--space-5);
  bottom: var(--space-5);
  z-index: 2;
  color: var(--surface);
  transition: color 0.3s ease;
}

.pm-hero-info .pm-kicker {
  color: rgb(255 252 247 / 82%);
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.pm-hero-info .pm-title {
  color: var(--surface);
  transition: color 0.3s ease;
}

.pm-hero-info .pm-tagline {
  color: rgb(255 252 247 / 88%);
  margin: 0;
  max-width: 440px;
  transition: color 0.3s ease;
}

.pm-kicker {
  display: inline-block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--accent-2);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-2);
}

.pm-title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-style: italic;
  font-size: 28px;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
  margin: 0 0 var(--space-2);
}

.pm-tagline {
  font-size: var(--text-base);
  line-height: var(--leading-snug);
  color: var(--ink-mute);
  margin: 0;
}

/* ─── Content column ──────────────────────────────────────────────── */
.pm-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--surface);
}

.pm-top {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding: var(--space-4) var(--pad-x);
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  max-height: 120px;
  overflow: hidden;
}

.pm-top.pm-top--collapsed {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.pm-top-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pm-price-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--ink-faint);
  font-weight: var(--fw-semibold);
}

.pm-price {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 26px;
  color: var(--accent);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

.pm-top-status {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 12.5px;
  color: var(--ink-mute);
  background: var(--accent-soft);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: opacity 0.2s ease;
}

.pm-status-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent), transparent 82%);
  flex-shrink: 0;
}

/* ─── Scroll area ─────────────────────────────────────────────────── */
.pm-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-5) var(--pad-x) calc(var(--space-8) + env(safe-area-inset-bottom));
}

.pm-scroll::-webkit-scrollbar { width: 9px; }
.pm-scroll::-webkit-scrollbar-thumb { background: var(--line-soft); border-radius: 9px; }
.pm-scroll::-webkit-scrollbar-track { background: transparent; }

.pm-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding-block: var(--space-4);
}

.pm-specs li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}

.pm-specs b {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--text-lg);
  color: var(--accent);
  line-height: 1;
}

.pm-specs span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--ink-faint);
  font-weight: var(--fw-medium);
}

.pm-section {
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--line-soft);
}
.pm-section:last-of-type { border-bottom: none; }

.pm-section-kicker {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--accent-2);
  font-weight: var(--fw-semibold);
  font-style: italic;
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
}

.pm-description {
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--ink);
  margin: 0;
}

/* ─── Especificaciones grid ───────────────────────────────────────── */
.pm-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}

.pm-spec-card {
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pm-spec-card-label {
  font-size: 10px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--ink-faint);
}

.pm-spec-card-value {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--text-md);
  color: var(--ink);
}

/* ─── Lo que incluye (amenidades agrupadas) ───────────────────────── */
.pm-amenities {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.pm-amenity-group-title {
  display: block;
  font-size: 12.5px;
  font-weight: var(--fw-bold);
  color: var(--accent);
  margin-bottom: var(--space-2);
}

.pm-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
}

.pm-features li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  line-height: var(--leading-snug);
  color: var(--ink);
}

.pm-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
  border-radius: 1px;
}

/* ─── Detalles (highlights) ───────────────────────────────────────── */
.pm-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.pm-hl {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-3);
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
}

.pm-hl-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--ink-faint);
  font-weight: var(--fw-semibold);
}

.pm-hl-value {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--text-md);
  color: var(--ink);
}

/* ─── Recorrido ────────────────────────────────────────────────────── */
.pm-walkthrough {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.pm-walkthrough li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: var(--space-3);
  align-items: start;
  font-size: 14.5px;
  line-height: var(--leading-snug);
  color: var(--ink);
}

.pm-walk-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--surface);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: var(--fw-semibold);
  box-shadow: var(--shadow-accent);
}

/* ─── Agente ───────────────────────────────────────────────────────── */
.pm-agent {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-top: var(--space-2);
}

.pm-agent-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--surface);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 14px;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-accent);
  flex-shrink: 0;
}

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

.pm-agent-text b {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--text-md);
  color: var(--ink);
}

.pm-agent-text span {
  font-size: 12.5px;
  color: var(--ink-mute);
}

.pm-agent-phone {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
}

/* ─── CTA row (fixed footer of the content column) ────────────────── */
.pm-cta-row {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4) var(--pad-x) calc(var(--space-4) + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-soft);
  background: var(--surface);
}

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

.pm-cta-secondary {
  display: flex;
  gap: var(--space-2);
  justify-content: flex-end;
  margin-left: auto;
}

.pm-cta-secondary .pm-btn {
  flex: 0 0 auto;
  padding: 8px 16px;
  font-size: 12px;
  min-height: 44px;
}

.pm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: var(--fw-semibold);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--motion-fast) var(--ease-out),
              color var(--motion-fast) var(--ease-out),
              transform var(--motion-fast) var(--ease-out),
              border-color var(--motion-fast) var(--ease-out);
  flex: 1 1 auto;
  min-height: 40px;
  white-space: nowrap;
}

.pm-btn--primary {
  background: var(--accent);
  color: var(--surface);
  box-shadow: var(--shadow-accent);
}
.pm-btn--primary:active { background: var(--accent-active); transform: scale(0.98); }

.pm-btn--primary:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring), var(--shadow-accent);
}

.pm-btn--ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.pm-btn--ghost:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* PDF button — matches pm-btn style with download icon */
.pm-btn--pdf {
  background: var(--bg);
  border-color: var(--line-soft);
  color: var(--ink);
  justify-content: center;
}

.pm-download-spinner { display: none; }

@media (hover: hover) {
  .pm-btn--primary:hover { background: var(--accent-hover); }
  .pm-btn--ghost:hover { background: var(--accent-soft); color: var(--accent-active); }
  .pm-btn--pdf:hover { background: var(--accent-soft); color: var(--accent-active); border-color: var(--accent); }
}

.pm-btn--pdf.is-loading .pm-download-icon,
.pm-btn--pdf.is-loading .pm-download-label { display: none; }

.pm-btn--pdf.is-loading .pm-download-spinner {
  display: block;
  animation: pm-spin 0.9s linear infinite;
}
.pm-btn--pdf.is-error { color: var(--danger); }

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

/* ─── Body scroll lock ───────────────────────────────────────────── */
body.pm-scroll-locked { overflow: hidden; }

/* ─── Tablet (≥ 600px) — centered dialog, still stacked ───────────── */
@media (width >= 600px) {
  .pm-overlay {
    align-items: center;
    padding: var(--space-6);
  }

  .pm-panel {
    max-width: 560px;
    width: 100%;
    height: auto;
    max-height: 90dvh;
    border-radius: var(--radius-2xl);
    transform: translateY(8px) scale(0.98);
  }

  .pm-overlay.is-open .pm-panel {
    transform: translateY(0) scale(1);
  }
  .pm-panel::before { display: none; }

  .pm-hero { aspect-ratio: 16 / 9; }
  .pm-hero-info .pm-title { font-size: 32px; }
  .pm-specs-grid { grid-template-columns: repeat(4, 1fr); }
  .pm-features { grid-template-columns: 1fr 1fr; }
}

/* ─── Desktop (≥ 900px) — Editorial Split: hero + content side by side ── */
@media (width >= 900px) {
  .pm-panel {
    flex-direction: row;
    max-width: 940px;
    height: min(660px, 88dvh);
    max-height: 88dvh;
  }

  .pm-header {
    flex: 0 0 400px;
    max-height: none;
    overflow: hidden;
  }

  .pm-header.pm-header--collapsed {
    max-height: none;
    opacity: 1;
  }

  .pm-hero {
    flex: 0 0 400px;
    aspect-ratio: auto;
    height: 100%;
  }

  .pm-content { min-width: 0; }

  .pm-top.pm-top--collapsed {
    max-height: 120px;
    opacity: 1;
    padding: var(--space-4) var(--pad-x);
  }

  .pm-hero-info { left: var(--space-6); right: var(--space-6); bottom: var(--space-6); }
  .pm-hero-info .pm-title { font-size: 38px; }
  .pm-hero-info .pm-tagline { font-size: 14.5px; }
}

/* ─── Wide desktop (≥ 1024px) ──────────────────────────────────────── */
@media (width >= 1024px) {
  .pm-panel { max-width: 980px; }
  .pm-hero { flex-basis: 420px; }
  .pm-top { padding: var(--space-4) var(--space-6); }
  .pm-scroll { padding: var(--space-5) var(--space-6) var(--space-8); }
  .pm-cta-row { padding: var(--space-4) var(--space-6); }
  .pm-price { font-size: 28px; }
  .pm-specs b { font-size: 20px; }
}

/* ─── Reduced motion ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .pm-overlay,
  .pm-panel,
  .pm-icon-btn,
  .pm-btn {
    transition: none;
  }
  .pm-overlay.is-open .pm-panel { transform: none; }
}


/* === property-pdf.css === */

/* ─────────────────────────────────────────────────────────────────────────
 * property-pdf.css
 *
 * Styles for the property brochure (rendered offscreen by property-pdf.js
 * and rasterized into a PDF via html2pdf.js) and the transient feedback
 * toast shown after generation.
 *
 * Layout strategy:
 *   - .pdf-stage          offscreen container, position:absolute,
 *                          left:-10000px so html2canvas can render it
 *                          without affecting the visible layout
 *   - .pdf-brochure       the A4-page-shaped container (760px wide,
 *                          proportional height). All inner styles use
 *                          the same tokens as the rest of the site so
 *                          the brochure feels like the brand.
 *   - .pdf-toast          fixed top-center, slides in on .is-visible
 *
 * Why we don't reuse property-modal.css classes:
 *   The brochure is a separate document — different layout (A4 grid,
 *   multi-column foot), different scale (720px container), different
 *   ratio. Reusing modal classes would couple the two surfaces; this
 *   file stays standalone so the brochure can be regenerated even if
 *   the modal evolves.
 * ─────────────────────────────────────────────────────────────────── */

/* ─── Stage (offscreen) ──────────────────────────────────────────── */
.pdf-stage {
  position: absolute;
  left: -10000px;
  top: 0;
  width: 760px;
  pointer-events: none;
  z-index: -1;
}

/* ─── Brochure container ─────────────────────────────────────────── */
.pdf-brochure {
  width: 760px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 11.5px;
  line-height: 1.5;
  padding: 28px 32px 24px;
  box-sizing: border-box;
}

/* Header */
.pdf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--ink);
  margin-bottom: 18px;
}

.pdf-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pdf-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.pdf-brand-mark svg { width: 26px; height: 26px; }
.pdf-brand-text { display: flex; flex-direction: column; }

.pdf-brand-text b {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--fw-bold);
  font-size: 16px;
  color: var(--ink);
  line-height: 1.1;
}

.pdf-brand-text span {
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

/* Date stamp — mirrors .hero-stamp on the live site (circular, rotated,
   accent fill, italic Fraunces two-line label) instead of a generic
   "generated on" text line. */
.pdf-stamp {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--fw-bold);
  line-height: 1.1;
  transform: rotate(-8deg);
  box-shadow: var(--shadow-accent);
}

.pdf-stamp-line1 { font-size: 11px; }
.pdf-stamp-line2 { font-size: 9px; opacity: 0.85; }

/* Hero */
.pdf-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  margin-bottom: 18px;
  align-items: stretch;
}

.pdf-hero-illu {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-deep);
  min-height: 170px;
}
.pdf-hero-illu--a { background: linear-gradient(160deg, #D8C49C 0%, #8E6A41 100%); }
.pdf-hero-illu--b { background: linear-gradient(160deg, #C8B89A 0%, #6F563B 100%); }
.pdf-hero-illu--c { background: linear-gradient(160deg, #E0CDB0 0%, #A98358 100%); }
.pdf-hero-illu svg { width: 100%; height: 100%; display: block; }

.pdf-hero-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pdf-kicker {
  display: inline-block;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  font-weight: var(--fw-semibold);
  margin-bottom: 4px;
}

.pdf-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--fw-bold);
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 6px;
}

.pdf-tagline {
  font-size: 11.5px;
  color: var(--ink-mute);
  font-style: italic;
  margin: 0 0 10px;
  line-height: 1.4;
}

.pdf-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
  margin-bottom: 8px;
}

.pdf-price {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 26px;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}

.pdf-price-full {
  font-size: 10px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
}

.pdf-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--ink-mute);
  margin-bottom: 8px;
}

.pdf-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  flex-shrink: 0;
}

/* Neutral surface chip, matching the real .prop .badge / .pm-badge
   treatment — never accent-filled. Sits on the hero illustration itself,
   top-left, like every other property-card/modal badge on the site. */
.pdf-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  display: inline-block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: var(--surface);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-weight: var(--fw-semibold);
}

/* Blocks */
.pdf-block {
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
}

/* Matches .pm-section-kicker in the property modal exactly: plain body
   font (not italic Fraunces — that treatment doesn't exist anywhere in
   production), uppercase, wide tracking, terracotta. */
.pdf-block-title {
  font-weight: var(--fw-semibold);
  font-size: 12px;
  color: var(--accent-2);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.pdf-description {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}

/* Specs grid (4 big numbers) — deliberately unboxed, matching .pm-specs
   in the property modal exactly (plain columns, no per-item card). A
   single hairline frames the whole row instead of boxing each number. */
.pdf-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 10px 0;
  margin-bottom: 10px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.pdf-spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1px;
}

.pdf-spec b {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 18px;
  color: var(--accent);
  line-height: 1;
}

.pdf-spec span {
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  font-weight: var(--fw-semibold);
}

.pdf-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}

.pdf-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  padding: 3px 0;
  border-bottom: 1px dotted var(--line-soft);
}
.pdf-meta-row span { color: var(--ink-mute); }

.pdf-meta-row b {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  color: var(--ink);
}

/* Features checklist */
.pdf-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}

.pdf-features li {
  position: relative;
  padding-left: 14px;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--ink);
}

.pdf-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  border-radius: 1px;
  transform: rotate(-45deg);
}

/* Split block (highlights + walkthrough side by side) */
.pdf-block--split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
}
.pdf-block--split > div { min-width: 0; }
.pdf-block--split .pdf-block-title { margin-top: 0; }

.pdf-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.pdf-hl {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 8px 10px;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
}

.pdf-hl-label {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  font-weight: var(--fw-semibold);
}

.pdf-hl-value {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 11.5px;
  color: var(--ink);
}

.pdf-walkthrough {
  list-style: none;
  counter-reset: pdfwalk;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pdf-walkthrough li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: start;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--ink);
}

.pdf-walk-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--surface);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: var(--fw-semibold);
  box-shadow: var(--shadow-accent);
  flex-shrink: 0;
}

/* Footer */
.pdf-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 10px;
  border-top: 1.5px solid var(--ink);
  margin-top: 14px;
}

.pdf-foot-agent {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pdf-agent-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--surface);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 11px;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-accent);
  flex-shrink: 0;
}
.pdf-foot-agent > div { display: flex; flex-direction: column; gap: 1px; }

.pdf-foot-agent b {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 12.5px;
  color: var(--ink);
}

.pdf-foot-agent span {
  font-size: 10px;
  color: var(--ink-mute);
}

.pdf-agent-phone {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--ink-faint) !important;
}

.pdf-foot-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.pdf-foot-cta span {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}

.pdf-foot-cta b {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--fw-bold);
  font-size: 14px;
  color: var(--accent);
}

.pdf-disclaimer {
  font-size: 8.5px;
  line-height: 1.4;
  color: var(--ink-faint);
  margin: 0;
  font-style: italic;
}

/* ─── Toast ──────────────────────────────────────────────────────── */
.pdf-toast {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translate(-50%, -20px);
  background: var(--ink);
  color: var(--surface);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: var(--fw-medium);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-skip);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--motion-base) var(--ease-out),
              transform var(--motion-base) var(--ease-out);
  max-width: calc(100vw - 32px);
  text-align: center;
}

.pdf-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.pdf-toast--ok {
  background: var(--accent);
}

.pdf-toast--err {
  background: var(--danger);
}

/* ─── Print fallback (window.print path) ─────────────────────────── */
.pdf-stage.is-print-mode {
  position: static;
  left: auto;
  top: auto;
  width: auto;
  pointer-events: auto;
  z-index: auto;
}

@media print {
  body > *:not(.pdf-stage) { display: none !important; }

  .pdf-stage {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    z-index: auto !important;
    pointer-events: auto !important;
  }
  .pdf-brochure { box-shadow: none; }
  .pdf-toast { display: none !important; }
}


