/* ============ HOME page styles ============ */

.hero {
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 88% -10%, rgba(232,92,74,0.10), transparent 60%),
    radial-gradient(600px 400px at -10% 110%, rgba(31,111,74,0.06), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px;
  align-items: center;
  position: relative;
}
.hero-proof {
  margin-top: 40px;
  display: flex; align-items: center; gap: 16px;
}
.hero-proof-avatars { display: flex; }
.hero-proof-avatars span {
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; color: var(--ink);
  border: 2px solid var(--bg);
  margin-left: -8px;
}
.hero-proof-avatars span:first-child { margin-left: 0; }

/* --------- audit demo --------- */
.audit-demo {
  overflow: hidden;
  transform: rotate(0);
  position: relative;
}
.demo-chrome {
  height: 40px;
  display: flex; align-items: center;
  padding: 0 14px; gap: 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.demo-dots { display: flex; gap: 6px; }
.demo-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line-2);
}
.demo-dots span:first-child { background: #FF5F57; }
.demo-dots span:nth-child(2) { background: #FEBC2E; }
.demo-dots span:nth-child(3) { background: #28C840; }
.demo-urlbar {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 10px;
  max-width: 300px;
  margin: 0 auto;
}
.demo-chrome-right {
  font-size: 10px;
  color: var(--good);
  letter-spacing: 0.12em;
  display: flex; align-items: center; gap: 6px;
}
.demo-chrome-right::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--good);
  animation: fadeIn 1s ease infinite alternate;
}

.demo-body { padding: 32px; min-height: 340px; }

.demo-form .demo-input-row {
  display: flex; gap: 8px; margin-top: 8px;
}
.demo-input-wrap {
  flex: 1;
  position: relative;
  display: flex; align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 0 14px;
  background: var(--card);
  transition: border-color .15s ease;
}
.demo-input-wrap:focus-within { border-color: var(--ink); }
.demo-input-wrap svg { flex-shrink: 0; margin-right: 10px; }
.demo-input-wrap input {
  flex: 1;
  border: 0; outline: 0; padding: 14px 0;
  font-family: var(--font-sans);
  font-size: 14px;
  background: transparent;
  color: var(--ink);
  min-width: 0;
}
.demo-chips {
  margin-top: 20px;
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.demo-chips .chip { cursor: pointer; }
.demo-chips .chip:hover { background: var(--line); }

/* scanning */
.demo-scanning { animation: fadeIn .3s ease; }
.scan-top { display: flex; justify-content: space-between; align-items: center; }
.scan-property {
  margin-top: 14px;
  display: flex; gap: 14px; align-items: center;
  padding: 12px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg);
}
.scan-thumb {
  width: 52px; height: 52px; border-radius: 8px;
  background: linear-gradient(135deg, #D9C6B0, #B8A080);
  position: relative; overflow: hidden;
}
.scan-sweep {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
  animation: sweep 1.2s linear infinite;
}
@keyframes sweep {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

.scan-steps {
  list-style: none; padding: 0; margin: 20px 0 0;
  display: flex; flex-direction: column; gap: 10px;
}
.scan-steps li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--muted-2);
  transition: color .2s ease;
}
.scan-steps li.done { color: var(--ink-2); }
.scan-steps li.active { color: var(--ink); font-weight: 500; }
.scan-bullet {
  width: 18px; height: 18px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--line);
  flex-shrink: 0;
  color: #fff;
}
.scan-steps li.done .scan-bullet { background: var(--ink); }
.scan-steps li.active .scan-bullet { background: transparent; border: 2px solid var(--ink); }
.scan-spinner {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink);
  animation: fadeIn .6s ease infinite alternate;
}

/* done */
.demo-done { animation: fadeIn .4s ease; }
.demo-done-head { display: flex; justify-content: space-between; align-items: flex-start; }
.demo-metrics {
  margin-top: 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px;
}
.tiny-bar { height: 4px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.tiny-bar span { display: block; height: 100%; border-radius: 999px; background: var(--ink); }
.tiny-bar span.is-good { background: var(--good); }
.tiny-bar span.is-warn { background: var(--warn); }
.tiny-bar span.is-bad  { background: var(--bad); }
.demo-done-cta {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; gap: 8px; align-items: center;
}
.demo-email-gate {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--line);
}
.demo-email-gate .demo-input-row {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.demo-email-gate .demo-input-wrap {
  flex: 1; min-width: 200px;
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px; height: 44px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.15s ease;
}
.demo-email-gate .demo-input-wrap:focus-within { border-color: var(--ink); }
.demo-email-gate input {
  flex: 1; border: 0; background: transparent; outline: 0;
  font: inherit; font-size: 14px; color: var(--ink);
}
.demo-email-gate input::placeholder { color: var(--muted); }
.demo-email-gate input:disabled { opacity: 0.6; }

/* ---------- Logos ---------- */
.logoband {
  padding: 28px 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}
.logoband-head {
  text-align: center;
  margin-bottom: 18px;
}
.logoband-track {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}
.logoband-marquee {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: logoband-scroll 36s linear infinite;
  color: var(--muted);
}
.logoband-item {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 32px;
  white-space: nowrap;
  opacity: 0.82;
  transition: opacity .2s ease;
}
.logoband-item:hover { opacity: 1; color: var(--ink); }
@keyframes logoband-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logoband-marquee { animation: none; }
}
/* Legacy (por si se referencia en otros lugares) */
.logoband-inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.logos {
  display: flex; align-items: center; gap: 40px;
  color: var(--muted); flex-wrap: wrap; flex: 1;
  justify-content: space-around;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tinted { background: #F2EFE6; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 780px; margin-bottom: 56px; }

.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.how-card {
  background: var(--card);
  padding: 40px 32px;
  min-height: 260px;
  display: flex; flex-direction: column;
}
.how-card:hover { background: #FDFCF7; }

.cats-grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.cat-mini {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  position: relative;
  overflow: hidden;
}
.cat-mini::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .2s ease;
}
.cat-mini:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -16px rgba(232,92,74,0.25);
}
.cat-mini:hover::before { transform: scaleY(1); }
.cat-mini-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cat-mini-icon svg { width: 20px; height: 20px; }
.cat-mini-n {
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
  padding: 2px 6px;
  background: var(--bg-2);
  border-radius: 4px;
}
.cat-weight {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 999px;
}
.cat-example {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-2);
  font-style: italic;
  letter-spacing: -0.01em;
}

/* Weight rank — editorial top-3 ranked list */
.weight-rank {
  flex-shrink: 0;
  min-width: 320px;
  max-width: 380px;
  padding: 20px 22px;
  background: var(--bg, #FAF8F3);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.weight-rank-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.weight-rank-head .mono {
  font-size: 11px;
  letter-spacing: 0.05em;
}
.weight-rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.weight-rank-row {
  display: grid;
  grid-template-columns: 22px 1fr 80px 34px;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.weight-rank-num {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.weight-rank-name {
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.weight-rank-bar {
  display: block;
  height: 6px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.weight-rank-bar > span {
  display: block;
  height: 100%;
  background: var(--ink);
  border-radius: 999px;
  transition: width 0.4s ease;
}
.weight-rank-row:first-child .weight-rank-bar > span { background: var(--accent); }
.weight-rank-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}
.weight-rank-more {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* Grade badges */
.grade-badge {
  width: 44px; height: 44px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: #fff;
  flex-shrink: 0;
}
.grade-good { background: var(--good); }
.grade-warn { background: var(--warn); }
.grade-bad  { background: var(--bad); }

.grade-legend {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.grade-legend > div {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--ink-2);
}
.grade-legend .grade-badge {
  width: 28px; height: 28px; font-size: 16px; border-radius: 6px;
}

/* Free vs premium */
.fvp-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  max-width: 920px; margin: 0 auto;
}
.fvp-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
}
.fvp-featured {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  box-shadow: 0 20px 40px -20px rgba(14,15,12,0.3);
}
.fvp-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 14px;
}
.fvp-featured .fvp-list li { color: rgba(250,248,243,0.9); }
.fvp-featured .muted { color: rgba(250,248,243,0.6); }

/* ---------- proof ---------- */
.proof-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center;
}
.proof-quote { margin: 0; }
.proof-quote blockquote {
  margin: 0;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.proof-quote blockquote em { color: var(--accent); font-style: italic; }
.proof-quote figcaption { margin-top: 32px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
}

.proof-stats { display: flex; flex-direction: column; gap: 40px; }
.proof-stat { border-left: 1px solid var(--line); padding-left: 24px; }

/* ---------- CTA ---------- */
.cta-box {
  background: var(--ink);
  color: var(--bg);
  border-radius: 24px;
  padding: 64px;
  display: grid; grid-template-columns: 1.4fr auto; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  right: -100px; top: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,92,74,0.25), transparent 70%);
  pointer-events: none;
}
.cta-box .h2 { color: var(--bg); }
.cta-box .muted { color: rgba(250,248,243,0.6); }
.cta-box .btn-primary { background: var(--accent); }
.cta-box .btn-primary:hover { background: var(--accent-ink); }
.cta-box .btn-outline { background: transparent; color: var(--bg); border-color: rgba(250,248,243,0.3); }
.cta-box .btn-outline:hover { border-color: var(--bg); }

@media (max-width: 900px) {
  .hero-grid, .proof-grid { grid-template-columns: 1fr; gap: 40px; }
  .how-grid, .cats-grid-3, .fvp-grid { grid-template-columns: 1fr; }
  .cta-box { grid-template-columns: 1fr; padding: 40px; }
}

/* ---------- Issues blur gate (email required) ---------- */
.issues-container { transition: filter .25s ease; }
.issues-container.blurred > *:not(.issues-lock-overlay) {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
}
.issues-lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(250, 248, 243, 0.72);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  text-align: center;
  padding: 0 14px;
  letter-spacing: -0.005em;
}
.issues-lock-overlay svg {
  flex-shrink: 0;
  color: var(--accent);
}

/* ---------- Mobile <=640px ---------- */
@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  .hero-grid { gap: 28px; }

  .demo-body { padding: 20px; min-height: auto; }
  .demo-form .demo-input-row { flex-direction: column; }
  .demo-form .demo-input-row .btn { width: 100%; }
  .demo-urlbar { max-width: 180px; font-size: 11px; }

  .audit-demo { border-radius: 12px; }
  .demo-chrome { height: 34px; padding: 0 10px; gap: 10px; }
  .demo-chrome-right { font-size: 9px; letter-spacing: 0.08em; }

  .demo-metrics {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .demo-done-head {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 14px;
  }
  .demo-done-head > div[style*="text-align"] {
    text-align: left !important;
    max-width: none !important;
  }
  .score-num { font-size: 38px !important; }

  .demo-email-gate .demo-input-row { flex-direction: column; }
  .demo-email-gate .demo-input-row > * { width: 100%; }

  .demo-chips { gap: 6px; }
  .demo-chips .chip { font-size: 11px; }

  /* HowItWorks cards */
  .how-card { padding: 24px !important; }
  .how-card h3 { font-size: 22px !important; margin-top: 20px !important; }

  /* WhatWeAudit weight-rank */
  .weight-rank { min-width: 0; max-width: none; }
  .section-head > div[style*="max-width"] { max-width: none !important; }

  /* Category mini cards */
  .cat-mini { padding: 18px !important; }
  .cat-mini-icon { width: 36px !important; height: 36px !important; }

  /* Proof stats grid on mobile: keep visible but smaller */
  .proof-stats { grid-template-columns: 1fr !important; gap: 24px; }
  .proof-stat div[class="serif"] { font-size: 44px !important; }

  /* CTA box */
  .cta-box { padding: 28px !important; }
  .cta-box div[style*="display:flex"] {
    flex-direction: column;
    gap: 10px !important;
    width: 100%;
  }
  .cta-box .btn { width: 100%; justify-content: center; }

  /* Section padding */
  .section { padding: 48px 0 !important; }
  .section-head { margin-bottom: 28px !important; }
}

/* ---------- Extra small <=420px ---------- */
@media (max-width: 420px) {
  .hero { padding: 36px 0 28px; }
  .demo-body { padding: 16px; }
  .demo-chrome { display: none; }  /* quitar el chrome falso de browser en pantallas muy chicas */
  .audit-demo { border-radius: 12px; }
}

/* ==============================================================
   ListingMockup — pure-CSS illustrated Airbnb listing with
   annotation auto-play. Phase B.1.
   ============================================================== */

.mockup-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
}

.mockup-card {
  position: relative;
  background: #FAF8F3;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 18px;
  padding: 28px;
  color: #1a1a1a;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}

.mockup-photos {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: repeat(2, 140px);
  gap: 6px;
  border-radius: 14px;
  overflow: hidden;
}
.mockup-photo-slot {
  background: linear-gradient(135deg, rgba(226, 90, 74, 0.09), rgba(26, 26, 26, 0.05));
  display: flex; align-items: center; justify-content: center;
  color: rgba(26, 26, 26, 0.35);
  transition: outline 180ms ease, transform 180ms ease;
}
.mockup-photo-slot.hero {
  grid-row: 1 / span 2;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 22px;
  gap: 16px;
}
.mockup-title {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
  padding: 2px 4px;
  border-radius: 4px;
  transition: outline 180ms ease, transform 180ms ease;
}

.mockup-actions {
  display: flex; gap: 16px;
  font-size: 13px; color: rgba(26, 26, 26, 0.55);
  white-space: nowrap;
}

.mockup-detail-row {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin-top: 8px;
  font-size: 13px; color: rgba(26, 26, 26, 0.7);
}
.mockup-rating {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: outline 180ms ease, transform 180ms ease;
}
.mockup-rating .stars { color: #1a1a1a; font-weight: 600; }

.mockup-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 28px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.mockup-description {
  font-size: 13px; line-height: 1.55;
  color: rgba(26, 26, 26, 0.75);
  padding: 6px 8px;
  border-radius: 6px;
  transition: outline 180ms ease, transform 180ms ease;
}

.mockup-amenities {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 12px;
  padding: 6px 8px;
  border-radius: 6px;
  transition: outline 180ms ease, transform 180ms ease;
}
.mockup-amenity-pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.04);
  color: rgba(26, 26, 26, 0.8);
  letter-spacing: 0.02em;
}

.mockup-rules {
  margin-top: 14px;
  font-size: 12px; color: rgba(26, 26, 26, 0.65);
  padding: 6px 8px;
  border-radius: 6px;
  transition: outline 180ms ease, transform 180ms ease;
  font-style: italic;
}

.mockup-price-card {
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.1);
  border-radius: 12px;
  padding: 16px;
  transition: outline 180ms ease, transform 180ms ease;
}
.mockup-price-card .mockup-price-amount {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 22px; font-weight: 600;
}
.mockup-price-card .mockup-price-label {
  font-size: 12px; color: rgba(26, 26, 26, 0.55);
  margin-top: 2px;
}
.mockup-occupancy-note {
  margin-top: 12px;
  padding: 8px;
  border-top: 1px dashed rgba(26, 26, 26, 0.12);
  font-size: 11px; color: rgba(26, 26, 26, 0.55);
  border-radius: 6px;
  transition: outline 180ms ease, transform 180ms ease;
}

.mockup-anchor {
  cursor: help;
}
.mockup-anchor.active {
  outline: 2px solid #E25A4A;
  outline-offset: 2px;
  transform: scale(1.02);
}

.competition-panel {
  background: #FAF8F3;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-left: 2px solid #E25A4A;
  border-radius: 12px;
  padding: 24px;
  transition: outline 180ms ease, transform 180ms ease;
}
.competition-panel.active {
  outline: 2px solid #E25A4A;
  outline-offset: 2px;
  transform: scale(1.02);
}
.competition-panel .eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #E25A4A;
  text-transform: uppercase;
}
.competition-panel-label {
  font-size: 12px;
  color: rgba(26, 26, 26, 0.55);
  margin-top: 16px;
  margin-bottom: 8px;
}
.competition-panel-card {
  background: rgba(26, 26, 26, 0.04);
  border-radius: 8px;
  padding: 14px;
}
.competition-panel-card-title {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 15px;
  line-height: 1.3;
  color: #1a1a1a;
}
.competition-panel-card-meta {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(26, 26, 26, 0.65);
}
.competition-panel-insights {
  margin-top: 18px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(26, 26, 26, 0.8);
}
.competition-panel-insights strong { color: #E25A4A; font-weight: 600; }

.mobile-annotation-stack { display: none; }

@media (min-width: 768px) and (max-width: 1199px) {
  .mockup-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .competition-panel {
    max-width: 100%;
    margin-top: 24px;
  }
}

@media (max-width: 767px) {
  .mockup-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .mockup-photos {
    grid-template-rows: repeat(2, 100px);
  }
  .mockup-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .mockup-price-card {
    order: -1;
  }
  .mobile-annotation-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mockup-anchor,
  .competition-panel {
    transition: none !important;
    transform: none !important;
  }
}

.annotation-card {
  position: absolute;
  z-index: 5;
  max-width: 260px;
  background: #FAF8F3;
  border-left: 3px solid #E25A4A;
  border-radius: 8px;
  padding: 14px 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}
.annotation-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.annotation-card-eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #E25A4A;
  font-weight: 600;
}
.annotation-card-title {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 16px;
  line-height: 1.3;
  margin-top: 6px;
  color: #1a1a1a;
}
.annotation-card-insight {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  font-style: italic;
  color: rgba(26, 26, 26, 0.75);
}

@media (max-width: 767px) {
  .annotation-card { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .annotation-card, .annotation-card.visible {
    transition: none !important;
    transform: none !important;
  }
}

/* Persistent coral labels + outlined anchors after auto-play completes.
   Each anchor gets a data-label attr; ::before pseudo renders the label.
   Label pill matches btn-accent style (coral fill + white text). */
.mockup-anchor { position: relative; }

/* Permanent dashed coral outline on each anchor post-autoplay. */
.mockup-card.autoplay-done .mockup-anchor[data-label] {
  outline: 2px dashed rgba(226, 90, 74, 0.55);
  outline-offset: 5px;
  border-radius: 8px;
  transition: outline-color 180ms ease, transform 180ms ease;
}

/* Active state (auto-play or hover) — solid thicker. */
.mockup-card.autoplay-done .mockup-anchor.active {
  outline: 2.5px solid #E25A4A !important;
  outline-offset: 5px;
}

/* Breathing room between anchors so each label sits cleanly in the gap,
   not overlapping with the anchor above. Applied ONLY in autoplay-done. */
.mockup-card.autoplay-done .mockup-header        { margin-top: 54px; }
.mockup-card.autoplay-done .mockup-detail-row    { margin-top: 46px; }
.mockup-card.autoplay-done .mockup-body          { margin-top: 44px; padding-top: 32px; }
.mockup-card.autoplay-done .mockup-amenities     { margin-top: 40px; }
.mockup-card.autoplay-done .mockup-rules         { margin-top: 40px; }
.mockup-card.autoplay-done .mockup-occupancy-note{ margin-top: 28px; padding-top: 20px; }

/* Coral-filled label pill — matches btn-accent style.
   top:-22 lifts the pill above the outline (offset:5) so they don't clash. */
.mockup-card.autoplay-done .mockup-anchor[data-label]::before {
  content: attr(data-label);
  position: absolute;
  top: -22px;
  left: 10px;
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
  background: #E25A4A;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(226, 90, 74, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.08);
  opacity: 0;
  animation: mockupLabelFadeIn 320ms ease forwards;
}

@keyframes mockupLabelFadeIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Photo grid has overflow:hidden — place label INSIDE to avoid clipping. */
.mockup-card.autoplay-done .mockup-photos[data-label]::before {
  top: 12px;
  left: 12px;
}

/* Occupancy is nested inside price card — tighter offset. */
.mockup-card.autoplay-done .mockup-occupancy-note[data-label]::before {
  top: -16px;
  left: 6px;
}

@media (max-width: 767px) {
  /* Labels hidden on mobile — the stack below carries category names. */
  .mockup-card.autoplay-done .mockup-anchor[data-label]::before {
    display: none;
  }
  /* Also drop the autoplay-done margin bumps since they're only to make
     room for the labels. Use the default compact spacing. */
  .mockup-card.autoplay-done .mockup-header        { margin-top: 22px; }
  .mockup-card.autoplay-done .mockup-detail-row    { margin-top: 8px; }
  .mockup-card.autoplay-done .mockup-body          { margin-top: 24px; padding-top: 20px; }
  .mockup-card.autoplay-done .mockup-amenities     { margin-top: 12px; }
  .mockup-card.autoplay-done .mockup-rules         { margin-top: 14px; }
  .mockup-card.autoplay-done .mockup-occupancy-note{ margin-top: 12px; padding-top: 12px; }
  /* Outline still visible so evaluated areas are marked even on mobile,
     but tighter offset to fit compact viewport. */
  .mockup-card.autoplay-done .mockup-anchor[data-label] {
    outline-offset: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mockup-card.autoplay-done .mockup-anchor[data-label]::before {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
