/* Landing "missed-call" — standalone styles: dark, mobile-first, phone-screen visual, green accent. */
:root {
    --bg: #0b0f14;
    --bg-2: #111821;
    --card: #151d27;
    --line: #223041;
    --ink: #f1f5f9;
    --ink-2: #b6c2d1;
    --muted: #7d8b9d;
    --accent: #22c55e;
    --accent-2: #4ade80;
    --red: #ef4444;
    --error: #f87171;
    --radius: 18px;
    --font: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-2); }
h1, h2 { color: var(--ink); letter-spacing: -.03em; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); font-weight: 700; }
p { margin: 0 0 1em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mc-wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.mc-narrow { max-width: 720px; }
.mc-muted { color: var(--muted); font-size: .92rem; margin-top: 18px; }

/* Header */
.mc-header { position: sticky; top: 0; z-index: 20; background: rgba(11, 15, 20, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.mc-bar { height: 60px; display: flex; align-items: center; justify-content: space-between; }
.mc-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -.02em; }
.mc-header-link { color: var(--ink-2); text-decoration: none; font-size: .95rem; }

/* Hero */
.mc-hero { padding: 64px 0 80px; background: radial-gradient(520px 360px at 80% 30%, rgba(34, 197, 94, .16), transparent 70%), radial-gradient(420px 300px at 10% 100%, rgba(239, 68, 68, .10), transparent 70%); }
.mc-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.mc-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.mc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(239, 68, 68, .2); animation: mc-blink 1.6s ease-in-out infinite; }
@keyframes mc-blink { 50% { opacity: .35; } }
.mc-lead { font-size: 1.1rem; max-width: 540px; margin-bottom: 26px; }
.mc-meta { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }

/* Search form (shared partial markup) */
.search-form { max-width: 560px; }
.search-field { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 7px; transition: border-color .15s, box-shadow .15s; }
.search-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.search-field.has-error { border-color: var(--error); }
.search-flag { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; font-weight: 600; color: var(--ink); border-right: 1px solid var(--line); }
.search-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 600 1.15rem/1 var(--font); color: var(--ink); padding: 14px 6px; }
.search-field input::placeholder { color: #5b6a7c; font-weight: 500; }
.btn-search { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 11px; background: var(--accent); color: #052e14; font: 700 1rem/1 var(--font); padding: 16px 22px; cursor: pointer; flex-shrink: 0; }
.btn-search:hover { background: var(--accent-2); }
.btn-search svg { width: 18px; height: 18px; }
.search-error { min-height: 1.4em; margin: 10px 0 0; font-size: .9rem; font-weight: 600; color: var(--error); }

/* Phone mockup */
.mc-phone { justify-self: center; width: 280px; padding: 12px; border-radius: 44px; background: linear-gradient(160deg, #2a3646, #121922); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.mc-screen { border-radius: 34px; padding: 22px 20px 26px; min-height: 480px; display: flex; flex-direction: column; background: linear-gradient(180deg, #1b2533, #0e141c); text-align: center; }
.mc-screen-time { margin: 0; font-weight: 600; color: var(--ink); font-size: .9rem; }
.mc-caller { margin-top: 56px; }
.mc-caller-avatar { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; font-weight: 700; color: var(--ink); background: #2a3646; }
.mc-caller-name { margin: 0; font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.mc-caller-sub { margin: 4px 0 0; color: var(--red); font-size: .9rem; }
.mc-actions { margin-top: auto; display: flex; justify-content: space-around; padding-top: 40px; }
.mc-act { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; }
.mc-act svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mc-act-red { background: var(--red); }
.mc-act-red svg { fill: #fff; stroke: none; }
.mc-act-green { background: var(--accent); }
.mc-act-green svg { stroke: #052e14; }
.mc-screen-hint { margin: 18px 0 0; font-size: .8rem; color: var(--muted); }

/* Sections */
.mc-section { padding: 72px 0; border-top: 1px solid var(--line); }
.mc-alt { background: var(--bg-2); }
.mc-reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.mc-reasons article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.mc-reasons b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 6px; }
.mc-reasons p { margin: 0; font-size: .95rem; }
.mc-chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mc-chips li { background: var(--card); border: 1px solid var(--line); color: var(--ink); border-radius: 99px; padding: 9px 16px; font-size: .92rem; }
.mc-faq details { border-bottom: 1px solid var(--line); }
.mc-faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative; color: var(--ink); font-weight: 600; }
.mc-faq summary::-webkit-details-marker { display: none; }
.mc-faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--accent); }
.mc-faq details[open] summary::after { content: "−"; }
.mc-faq details p { margin: 0 0 18px; }

/* CTA + footer */
.mc-cta { padding: 72px 0 96px; text-align: center; border-top: 1px solid var(--line); background: radial-gradient(480px 240px at 50% 0%, rgba(34, 197, 94, .18), transparent 70%); }
.mc-cta .search-form { margin: 0 auto; text-align: left; }
.mc-footer { border-top: 1px solid var(--line); padding: 36px 0 110px; font-size: .85rem; color: var(--muted); }
.mc-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 20px; }
.mc-footer nav a { color: var(--ink-2); text-decoration: none; }
.mc-footer nav a:hover { color: var(--ink); }
.mc-legal { font-size: .78rem; line-height: 1.7; }
.mc-legal strong { color: var(--ink-2); }

/* Sticky search button (phones only) */
.mc-sticky { display: none; }
@media (max-width: 760px) {
    .mc-sticky:not([hidden]) {
        display: block; position: fixed; z-index: 30; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
        text-align: center; text-decoration: none; font-weight: 700; color: #052e14; background: var(--accent);
        border-radius: 14px; padding: 16px; box-shadow: 0 16px 30px -10px rgba(34, 197, 94, .55);
    }
}

@media (max-width: 900px) {
    .mc-hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .mc-reasons { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .mc-hero { padding: 40px 0 56px; }
    .mc-section { padding: 52px 0; }
    .mc-phone { width: 240px; }
    .mc-screen { min-height: 400px; }
    .mc-caller { margin-top: 36px; }
    .search-field { flex-wrap: wrap; }
    .search-field input { flex: 1 1 0; }
    .btn-search { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}
