:root {
  --black: #0a0a0a;
  --black-2: #141414;
  --red: #e10600;
  --red-hot: #ff2a1f;
  --white: #f5f5f3;
  --soft: #c4c4bf;
  --muted: #8d8d8a;
  --line: rgba(255,255,255,.12);
  --radius: 14px;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  /* eased black fade (no visible banding or hard edge) */
  --fade: rgba(10,10,10,0) 0%, rgba(10,10,10,.013) 8.1%, rgba(10,10,10,.049) 15.5%, rgba(10,10,10,.104) 22.5%,
          rgba(10,10,10,.175) 29%, rgba(10,10,10,.259) 35.3%, rgba(10,10,10,.352) 41.2%, rgba(10,10,10,.45) 47.1%,
          rgba(10,10,10,.55) 52.9%, rgba(10,10,10,.648) 58.8%, rgba(10,10,10,.741) 64.7%, rgba(10,10,10,.825) 71%,
          rgba(10,10,10,.896) 77.5%, rgba(10,10,10,.951) 84.5%, rgba(10,10,10,.987) 91.9%, #0a0a0a 100%;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: var(--white);
  font: 400 1rem/1.55 Inter, system-ui, -apple-system, sans-serif;
  overflow-x: hidden; overflow-x: clip; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
[hidden] { display: none !important; }
h1, h2 { font-family: var(--display); margin: 0; letter-spacing: -.035em; line-height: .92; font-weight: 900; text-transform: uppercase; }
.red { color: var(--red); }

/* ---------- Layout: the photo runs under the panel and melts into black ---------- */
.split {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, 42%);
  min-height: 100vh; min-height: 100svh; overflow: hidden;
}
.photo {
  grid-column: 1 / -1; grid-row: 1; justify-self: start;
  position: relative; width: 60%; margin: 0; overflow: hidden; background: var(--black);
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
/* horizontal melt into the panel */
.photo::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 62%; pointer-events: none;
  background: linear-gradient(90deg, var(--fade));
}
/* soft top/bottom vignette for depth */
.photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,10,10,.45), transparent 22%),
    linear-gradient(0deg, rgba(10,10,10,.75), transparent 30%);
}
/* faint red glow where photo and form meet */
.split::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: 18%; top: 50%; width: 60vmin; height: 60vmin; transform: translate(50%, -50%);
  background: radial-gradient(closest-side, rgba(225,6,0,.16), transparent);
}

.tag {
  position: absolute; left: 28px; top: 28px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(10,10,10,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.1);
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-hot); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,42,31,.7); } 70%, 100% { box-shadow: 0 0 0 9px rgba(255,42,31,0); } }

.panel {
  grid-column: 2; grid-row: 1; position: relative; z-index: 2;
  display: flex; align-items: center;
  padding: clamp(28px, 4vh, 64px) clamp(32px, 5vw, 88px) clamp(28px, 4vh, 64px) 0;
}
.panel-inner { width: 100%; max-width: 420px; }

/* ---------- Type rhythm ---------- */
.kicker {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.kicker .line { width: 28px; height: 2px; background: var(--red); flex: none; }
.panel h1 { font-size: clamp(2.8rem, 4.4vw, 4.1rem); }
.bf {
  display: table; margin-top: 14px; padding: 9px 14px 8px;
  background: var(--white); color: var(--black); border-radius: 8px;
  font-size: .34em; line-height: 1; letter-spacing: .04em; font-weight: 900;
}
.sub { color: var(--soft); font-size: 1.06rem; line-height: 1.5; margin: 22px 0 0; max-width: 34ch; }
.note {
  margin: 16px 0 26px; padding: 2px 0 2px 16px;
  border-left: 2px solid var(--red);
  color: var(--muted); font-size: .84rem; line-height: 1.55; max-width: 40ch;
}
.note strong { color: var(--white); font-weight: 600; }

/* ---------- Form ---------- */
.lead { display: grid; gap: 12px; }
.field { position: relative; }
.field input, .field select {
  width: 100%; height: 56px; padding: 21px 18px 7px;
  background: rgba(20,20,20,.85); color: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  font: 500 1rem/1 Inter, sans-serif; outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:hover, .field select:hover { border-color: rgba(255,255,255,.24); }
.field input:focus, .field select:focus { border-color: var(--red); background: var(--black-2); box-shadow: 0 0 0 4px rgba(225,6,0,.18); }
.field label {
  position: absolute; left: 19px; top: 28px; transform: translateY(-50%);
  color: var(--muted); pointer-events: none; transition: top .18s, font-size .18s, color .18s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label { top: 15px; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.field input:focus + label { color: var(--red-hot); }
.field-phone { display: grid; grid-template-columns: 108px 1fr; gap: 10px; }
.field-phone select {
  padding: 0 14px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
}
.phone-wrap { position: relative; }
.field-phone .err { grid-column: 1 / -1; }
.err { display: none; color: var(--red-hot); font-size: .8rem; margin: 6px 4px 0; }
.invalid .err, .err.show { display: block; }
.invalid input { border-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; margin: 8px 2px 0; cursor: pointer; font-size: .8rem; color: var(--muted); line-height: 1.5; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent .box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid rgba(255,255,255,.35); display: grid; place-items: center; transition: background .15s, border-color .15s; margin-top: 1px; }
.consent .box::after { content: ""; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .15s; }
.consent input:checked + .box { background: var(--red); border-color: var(--red); }
.consent input:checked + .box::after { transform: rotate(-45deg) scale(1); }
.consent input:focus-visible + .box { box-shadow: 0 0 0 4px rgba(225,6,0,.3); }
.consent a { color: var(--soft); text-underline-offset: 3px; }

.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 58px; padding: 0 32px; border: 0; border-radius: var(--radius); cursor: pointer;
  background: var(--red); color: #fff; text-decoration: none;
  font: 800 1rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 18px 40px -18px rgba(225,6,0,.8);
  transition: transform .2s, box-shadow .2s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red-hot); transform: translateX(-101%); transition: transform .35s cubic-bezier(.7,0,.2,1); }
.btn:hover::before { transform: none; }
.btn:active { transform: scale(.98); }
.btn-arrow { transition: transform .25s; }
.btn:hover .btn-arrow { transform: translateX(5px); }
.btn[disabled] { opacity: .7; cursor: wait; }
.lead .btn { width: 100%; margin-top: 14px; }
.btn-ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; }
.form-status { margin: 0; text-align: center; font-size: .9rem; color: var(--red-hot); }
.form-status:empty { display: none; }

.thanks-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--red); font-size: 1.4rem; font-weight: 800; margin-bottom: 22px; }
.thanks h2 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.thanks p { color: var(--soft); margin: 16px 0 26px; }

/* ---------- Social ---------- */
.social { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.social-label { margin-right: auto; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.social a {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; text-decoration: none;
  font-size: .85rem; font-weight: 600; color: var(--white);
  transition: border-color .2s, background .2s, color .2s;
}
.social a:hover { border-color: var(--red); background: rgba(225,6,0,.12); }
.social svg { width: 18px; height: 18px; flex: none; }

/* ---------- Tablet & mobile: photo on top, melting downwards ---------- */
@media (max-width: 960px) {
  .split { display: block; min-height: 0; }
  .split::after { display: none; }
  .photo { width: 100%; height: 50vh; height: 50svh; min-height: 300px; max-height: 520px; }
  .photo img { object-position: 50% 14%; }
  .photo::after { top: auto; left: 0; width: auto; height: 58%; background: linear-gradient(180deg, var(--fade)); }
  .photo::before { background: linear-gradient(180deg, rgba(10,10,10,.45), transparent 26%); }
  .panel { display: block; margin-top: -88px; padding: 0 24px 40px; }
  .panel-inner { max-width: 520px; margin: 0 auto; }
  .tag { left: 20px; top: 20px; }
}
@media (max-width: 600px) {
  .kicker { margin-bottom: 14px; font-size: .66rem; }
  .panel { padding: 0 20px 32px; }
  .panel h1 { font-size: clamp(2.3rem, 11.6vw, 3rem); }
  .sub { font-size: .95rem; margin-top: 16px; }
  .note { font-size: .78rem; margin: 14px 0 24px; padding-left: 14px; }
  .lead { gap: 10px; }
  .field input { height: 54px; padding-top: 20px; }
  .field select { height: 54px; }
  .field label { top: 27px; }
  .field input:focus + label, .field input:not(:placeholder-shown) + label { top: 14px; }
  .field-phone { grid-template-columns: 100px 1fr; }
  .lead .btn { margin-top: 10px; height: 56px; }
  .social { margin-top: 20px; padding-top: 18px; }
  .social-label { width: 100%; margin: 0 0 2px; }
  .social a { flex: 1; justify-content: center; }
  .tag { padding: 7px 12px; font-size: .66rem; }
}

@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
}
