:root {
  color-scheme: dark;
  --ink: #0b1718;
  --ink-soft: #112426;
  --paper: #f2f0e8;
  --muted: #93a4a1;
  --gold: #d7af6a;
  --green: #42b99b;
  --line: rgba(255,255,255,.11);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #071011; }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 75% 5%, rgba(60,136,123,.18), transparent 30%),
    linear-gradient(145deg, #071011 0%, #0c1c1d 54%, #0a1415 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .26;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.ambient { position: fixed; width: 300px; height: 300px; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: .22; }
.ambient-one { top: -150px; right: -110px; background: #48bea1; }
.ambient-two { bottom: -190px; left: -150px; background: #ad7e44; }

.call-shell { position: relative; width: min(100%, 720px); min-height: 100vh; margin: 0 auto; padding: 26px 22px calc(28px + env(safe-area-inset-bottom)); }
.brand { display: flex; align-items: center; gap: 12px; animation: arrive .65s ease both; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; color: #071312; background: linear-gradient(145deg, #58c6aa, #26866f); box-shadow: 0 12px 30px rgba(27,111,93,.22); font-size: 20px; font-weight: 900; }
.brand b, .brand small { display: block; }
.brand b { font-size: 20px; letter-spacing: .02em; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .13em; }

.hero { padding: clamp(54px, 10vh, 96px) 0 34px; animation: arrive .75s .08s ease both; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--green); font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(66,185,155,.1), 0 0 24px rgba(66,185,155,.65); animation: pulse 2s ease infinite; }
h1 { max-width: 640px; margin: 0; font-size: clamp(45px, 12vw, 86px); line-height: .94; letter-spacing: -.055em; }
h1 em { color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.lead { max-width: 540px; margin: 26px 0 22px; color: #b6c3c0; font-size: clamp(15px, 4.3vw, 19px); line-height: 1.58; }
.branches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.branches span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: #c2cecb; background: rgba(255,255,255,.035); font-size: 11px; font-weight: 700; }

.phone-field { display: grid; gap: 7px; margin-bottom: 12px; }
.phone-field > span { color: #91a29f; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.phone-field input { width: 100%; height: 56px; padding: 0 16px; border: 1px solid var(--line); border-radius: 16px; outline: 0; color: var(--paper); background: rgba(255,255,255,.055); font: inherit; font-size: 17px; font-weight: 750; letter-spacing: .03em; transition: border-color .2s ease, box-shadow .2s ease; }
.phone-field input:focus { border-color: rgba(215,175,106,.65); box-shadow: 0 0 0 4px rgba(215,175,106,.09); }
.phone-field small { color: #687a77; font-size: 9px; line-height: 1.45; }

.call-button { width: 100%; min-height: 86px; display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid rgba(215,175,106,.5); border-radius: 22px; color: #101817; background: linear-gradient(135deg, #e5c483, #c99c52); box-shadow: 0 22px 55px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.45); font: inherit; text-align: left; transition: transform .2s ease, box-shadow .2s ease; cursor: pointer; }
.call-button:not(.disabled):active { transform: scale(.985); }
.call-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; color: #f8f2e5; background: #102a29; font-size: 24px; }
.call-button b, .call-button small { display: block; }
.call-button b { font-size: 17px; }
.call-button small { margin-top: 4px; opacity: .63; font-size: 10px; }
.call-button > i { font-size: 24px; font-style: normal; }
.call-button.disabled { border-color: var(--line); color: #8c9a97; background: rgba(255,255,255,.055); box-shadow: none; cursor: default; }
.call-button.disabled .call-icon { color: #81918d; background: rgba(255,255,255,.06); }
.call-button.live { color: #071513; background: linear-gradient(135deg, #61d1b4, #369b84); border-color: rgba(97,209,180,.62); }
.call-button.live .call-icon { animation: callPulse 1.4s ease infinite; }
.end-button { width: 100%; min-height: 48px; margin-top: 9px; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; color: #d4dfdc; background: rgba(255,255,255,.055); font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.end-button[hidden] { display: none; }
.status { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; color: #738582; font-size: 10px; }
.status span { width: 6px; height: 6px; border-radius: 50%; background: #8a6b4a; }
.status.ready { color: #7fcdb7; }
.status.ready span { background: var(--green); box-shadow: 0 0 12px rgba(66,185,155,.7); }
.status.error { color: #dc9d91; }
.status.error span { background: #d26f61; }
.call-note { max-width: 540px; margin: 10px auto 0; color: #61716f; font-size: 9px; line-height: 1.5; text-align: center; }

.promise { display: grid; gap: 8px; padding: 9px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.035); backdrop-filter: blur(15px); animation: arrive .75s .16s ease both; }
.promise article { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 12px; min-height: 71px; padding: 12px; border-bottom: 1px solid rgba(255,255,255,.07); }
.promise article:last-child { border-bottom: 0; }
.promise article > span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(215,175,106,.22); border-radius: 12px; color: var(--gold); background: rgba(215,175,106,.07); font-size: 10px; font-weight: 850; }
.promise b, .promise small { display: block; }
.promise b { font-size: 13px; }
.promise small { margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.4; }
footer { display: flex; justify-content: space-between; gap: 15px; padding: 24px 3px 0; color: #70817e; font-size: 9px; }

@keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 50% { transform: scale(.78); opacity: .7; } }
@keyframes callPulse { 50% { transform: scale(.92); box-shadow: 0 0 0 8px rgba(16,42,41,.1); } }
@media (max-width: 480px) { .call-shell { padding-inline: 17px; } footer { display: grid; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; } }
