/* Landing page layout: short page, one job (start the survey, book the call).
   Loaded after the styles inside index.html, so these win. */

/* ── Hero (no logo above it: the logo lives in the footer) ── */
.hero { max-width: 860px; padding: 48px 24px 30px; }
.pill { margin-bottom: 22px; font-size: 11px; }
h1 {
  font-size: clamp(30px, 5.4vw, 56px);
  line-height: 1.06;
  margin-bottom: 20px;
  text-wrap: balance;
}
/* One sentence per line at every screen size */
.h1-line { display: block; white-space: nowrap; }
.hero-sub {
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 400;
  line-height: 1.55;
  max-width: 600px;
  color: #a3a3a3;
}
.hero-sub strong { color: var(--text); font-weight: 500; }
.hero-guarantee { margin-top: 14px; }
.hero-btn {
  display: inline-block; margin-top: 28px;
  font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700; letter-spacing: -0.01em;
  background: var(--accent); color: #0b0b0b; text-decoration: none;
  border-radius: 10px; padding: 17px 38px;
  transition: transform 0.12s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 0 rgba(200, 245, 62, 0);
}
.hero-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(200, 245, 62, 0.22); }
.hero-btn:active { transform: translateY(0); }
.hero-btn:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.hero-micro { margin-top: 12px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: 0.04em; color: var(--muted); }

/* ── Sliding strip ── */
.strip { position: relative; z-index: 1; padding: 6px 0 4px; }
.strip-label {
  text-align: center; margin-bottom: 14px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.strip-window {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.strip-track { display: flex; gap: 12px; width: max-content; animation: stripSlide 90s linear infinite; }
.strip-copy { display: flex; gap: 12px; }
.strip-window:hover .strip-track { animation-play-state: paused; }
@keyframes stripSlide { to { transform: translateX(calc(-50% - 6px)); } }
.chip {
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 16px 10px 10px;
}
.chip-ico { width: 18px; height: 18px; flex: none; fill: #d4d4d4; }
.chip-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--accent); background: rgba(200, 245, 62, 0.07); border: 1px solid rgba(200, 245, 62, 0.2);
  border-radius: 7px; padding: 5px 8px;
}
.chip-name { font-size: 14.5px; font-weight: 500; color: var(--text); }
.chip-num { font-size: 13px; color: var(--muted); padding-left: 10px; border-left: 1px solid var(--border); }
@media (prefers-reduced-motion: reduce) {
  .strip-track { animation: none; }
  .strip-window { overflow-x: auto; }
  .strip-copy { display: none; }
}

/* ── Three cards ── */
.stats-wrap { max-width: 860px; margin: 30px auto 44px; }
.stat { padding: 24px 18px; }
.stat-num { font-size: 34px; white-space: nowrap; }
.stat-label { font-size: 14px; max-width: 190px; color: #a3a3a3; }

/* ── Form heading ── */
.survey-header h2 { font-size: clamp(22px, 2.6vw, 30px); }
.survey-header p { font-size: 14px; }

/* ── Guarantee ── */
.guarantee { max-width: 760px; }
.guarantee-text { font-size: 15px; line-height: 1.65; }
.guarantee-small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); }

/* ── Phones ── */
@media (max-width: 600px) {
  .hero { padding: 30px 20px 24px; }
  .hero-guarantee { margin-top: 12px; }
  .pill { margin-bottom: 18px; font-size: 10px; padding: 6px 12px; }
  h1 { margin-bottom: 16px; font-size: clamp(20px, 6.9vw, 30px); }
  .hero-btn { display: block; margin-top: 24px; padding: 17px 12px; font-size: clamp(14px, 4.2vw, 17px); white-space: nowrap; }
  .strip-track { animation-duration: 70s; }
  .chip { padding: 9px 13px 9px 9px; gap: 8px; }
  .chip-name { font-size: 14px; }
  .stats-wrap { margin: 24px auto 32px; }
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat { padding: 16px 4px; min-width: 0; }
  .stat-label { padding: 0 4px; }
  .stat-num { font-size: clamp(15px, 4.8vw, 22px); }
  .stat-label { font-size: 12px; line-height: 1.4; }
  .guarantee-text { font-size: 14.5px; }
}

/* ── Local preview only: outline anything still holding placeholder content ── */
.is-local .is-placeholder { position: relative; outline: 1px dashed rgba(255, 170, 60, 0.55); outline-offset: 4px; }
.is-local .is-placeholder::after {
  content: attr(data-note); position: absolute; top: -9px; right: 8px; z-index: 2;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase;
  color: #0b0b0b; background: #ffaa3c; border-radius: 4px; padding: 2px 6px;
}

/* ── Attention glow on the form + calendar card ──
   Plays once when the card scrolls into view, and again when the hero button is pressed. */
@property --cardSweep { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.sch-card { position: relative; }
.sch-card.attention { animation: cardGlow 2.4s ease-out both; }
.sch-card.attention::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none; z-index: 3;
  background: conic-gradient(from var(--cardSweep), transparent 0 64%, var(--accent) 88%, #f5f5f4 97%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: cardSweep 1.9s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes cardSweep { from { --cardSweep: 0deg; opacity: 1; } 85% { opacity: 1; } to { --cardSweep: 720deg; opacity: 0; } }
@keyframes cardGlow {
  0% { box-shadow: 0 0 0 rgba(200, 245, 62, 0); border-color: var(--border); }
  35% { box-shadow: 0 0 60px rgba(200, 245, 62, 0.22); border-color: rgba(200, 245, 62, 0.6); }
  100% { box-shadow: 0 0 22px rgba(200, 245, 62, 0.07); border-color: rgba(200, 245, 62, 0.28); }
}
@media (prefers-reduced-motion: reduce) {
  .sch-card.attention, .sch-card.attention::after { animation: none; }
  .sch-card.attention::after { display: none; }
}

/* ── Not-a-fit screen: WhatsApp button (same look as /book and /thank-you) ── */
.sch-dq-contact { margin-top: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.sch-dq-contact .sch-text { margin: 0; }
.btn-whatsapp {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--text); text-decoration: none;
  background: var(--surface2);
  border: 1px solid rgba(37, 211, 102, 0.45);
  border-radius: 8px;
  padding: 14px 24px;
  transition: background 0.15s, border-color 0.15s;
}
.btn-whatsapp:hover { background: rgba(37, 211, 102, 0.08); border-color: #25d366; }
.btn-whatsapp:focus-visible { outline: 2px solid #25d366; outline-offset: 2px; }
.btn-whatsapp svg { width: 20px; height: 20px; fill: #25d366; flex: none; }
.sch-dq-contact [data-whatsapp-wrap]:not([hidden]) { display: block; width: 100%; }
