/* Click-to-Call Landing Page Template — 3thingsMedia */
:root {
  --brand: #dc2626;
  --brand-dark: #b91c1c;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f1f5f9;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; padding-bottom: 84px; }
@media (min-width: 720px) { body { padding-bottom: 0; } }
.page { max-width: 560px; margin: 0 auto; background: #fff; min-height: 100vh; }
@media (min-width: 720px) { .page { margin: 24px auto; min-height: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(15, 23, 42, .12); } }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.brand { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.brand img { height: 32px; width: auto; display: block; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--open { color: #15803d; background: #dcfce7; }
.status--open::before { animation: pulse 1.6s ease-in-out infinite; }
.status--closed { color: #b45309; background: #fef3c7; }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .status--open::before { animation: none; } }

/* Hero */
.hero { padding: 26px 18px 24px; background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 8%, #fff), #fff); text-align: center; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-dark); background: color-mix(in srgb, var(--brand) 12%, #fff); padding: 5px 10px; border-radius: 999px; margin: 0 0 12px; }
h1 { font-size: clamp(26px, 7vw, 34px); line-height: 1.12; letter-spacing: -.025em; font-weight: 800; margin: 0 0 10px; }
h2 { font-size: 20px; line-height: 1.2; font-weight: 800; margin: 0 0 14px; letter-spacing: -.01em; }
.sub { color: var(--muted); margin: 0 0 20px; font-size: 16px; }

/* Call buttons */
.call { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; text-decoration: none; color: #fff; background: var(--brand); border-radius: 16px; padding: 16px 18px; box-shadow: 0 10px 30px color-mix(in srgb, var(--brand) 40%, transparent); transition: background .15s, transform .15s; }
.call:hover { background: var(--brand-dark); }
.call:active { transform: scale(.98); }
.call:focus-visible, .text:focus-visible, .cb button:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 3px; }
.call__icon { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; animation: ring 2.4s ease-in-out infinite; }
.call__icon svg { width: 24px; height: 24px; }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-14deg); } 80% { transform: rotate(14deg); } 85% { transform: rotate(-10deg); } 90% { transform: rotate(10deg); } }
@media (prefers-reduced-motion: reduce) { .call__icon { animation: none; } }
.call__text { text-align: left; line-height: 1.15; }
.call__label { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .9; }
.call__num { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.text { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 13px; border: 2px solid var(--line); border-radius: 14px; color: var(--ink); font-weight: 700; text-decoration: none; }
.text:hover { border-color: var(--muted); }
.text svg { width: 20px; height: 20px; }
.closed-note { margin: 14px 0 0; font-size: 14px; font-weight: 600; color: #92400e; background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; padding: 10px 12px; }
.closed-note a { color: inherit; font-weight: 800; }
.cb .err { margin-top: -4px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 6px; }
.stat strong { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.stat span { font-size: 12px; color: var(--muted); }

/* Sections */
.sec { padding: 26px 18px; border-top: 8px solid var(--bg); }
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; list-style: none; padding: 0; margin: 0; }
.services li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; background: var(--bg); border-radius: 10px; padding: 10px; }
.services span { font-size: 18px; }
.why { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.why li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.why svg { width: 22px; height: 22px; flex-shrink: 0; color: #fff; background: #16a34a; border-radius: 50%; padding: 4px; }
.reviews { display: grid; gap: 10px; }
.review { margin: 0; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.review .stars { color: #f59e0b; font-size: 14px; }
.review p { margin: 4px 0 6px; }
.review footer { font-size: 13px; font-weight: 700; color: var(--muted); }
.areas { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.areas li { font-size: 13px; font-weight: 600; background: var(--bg); border-radius: 999px; padding: 6px 12px; }

/* Callback */
.cb { background: color-mix(in srgb, var(--brand) 5%, #fff); }
.cb p { color: var(--muted); margin: -6px 0 14px; }
.cb form { display: grid; gap: 10px; }
.cb input, .cb select { width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.cb input:focus, .cb select:focus { outline: none; border-color: var(--brand); }
.cb input[aria-invalid="true"] { border-color: #dc2626; }
.cb button { appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 16px; color: #fff; background: var(--ink); border-radius: 12px; padding: 14px; }
.cb .err { color: #dc2626; font-size: 13px; margin: 0; }
.cb .ok { color: #15803d; font-weight: 700; background: #dcfce7; border-radius: 12px; padding: 14px; margin: 0; text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Footer */
.foot { padding: 20px 18px 28px; text-align: center; font-size: 12px; color: var(--muted); border-top: 8px solid var(--bg); }
.foot p { margin: 3px 0; }
.foot a { color: var(--muted); }

/* Sticky call bar (phones only) */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); display: flex; gap: 8px; }
.bar .call { padding: 12px 14px; border-radius: 12px; box-shadow: none; }
.bar .call__icon { width: 34px; height: 34px; }
.bar .call__icon svg { width: 18px; height: 18px; }
.bar .call__num { font-size: 19px; }
.bar .call__label { font-size: 11px; }
@media (min-width: 720px) { .bar { display: none; } }
