:root {
  --red: #df183f;
  --red-dark: #b80f31;
  --ink: #111827;
  --muted: #6b7280;
  --line: #d7dce3;
  --white: #ffffff;
  --soft: rgba(255, 255, 255, 0.88);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  --radius: 32px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background: #0b1117;
}

a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.site-shell {
  min-height: 100vh;
}

.hero-card {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  background: #111;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg {
  background: url('../img/hero.jpg') center / cover no-repeat;
  transform: scale(1.02);
}
.hero-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 24% 48%, rgba(223, 24, 63, 0.48), transparent 34%),
    linear-gradient(90deg, rgba(5, 8, 12, 0.9) 0%, rgba(5, 8, 12, 0.68) 47%, rgba(5, 8, 12, 0.42) 100%),
    linear-gradient(0deg, rgba(0,0,0,.35), rgba(0,0,0,.15));
}

.hero-content {
  min-height: 100vh;
  width: min(1280px, calc(100% - clamp(32px, 7vw, 120px)));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 72px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.brand-panel { max-width: 650px; }
.logo {
  width: min(330px, 78vw);
  height: auto;
  display: block;
  margin-bottom: 22px;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.38));
}
.eyebrow,
.small-label {
  margin: 0 0 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: .78rem;
  color: rgba(255,255,255,.78);
}
h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.9rem);
  line-height: .9;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.brand-panel h2 {
  margin: 18px 0 0;
  font-size: clamp(1.45rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.lead {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.65;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.btn {
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 900;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.btn-primary:hover { background: var(--red-dark); }
.btn-secondary { background: rgba(255,255,255,.12); backdrop-filter: blur(14px); }
.quick-info {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.86);
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: transform .2s ease, color .2s ease, background .2s ease, border-color .2s ease;
}
.contact-icon:hover {
  transform: translateY(-2px);
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}
.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex: 0 0 auto;
}

.countdown-panel {
  align-self: center;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 28px;
  background: rgba(10, 14, 21, 0.56);
  backdrop-filter: blur(18px);
  box-shadow: 0 25px 70px rgba(0,0,0,.22);
}
.countdown-panel h2 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -.055em;
}
.countdown {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.countdown div {
  padding: 18px 10px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  background: rgba(255,255,255,.11);
}
.countdown strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
  letter-spacing: -.05em;
}
.countdown span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}
.count-note {
  margin: 20px 0 0;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
}

.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(8px);
}
.modal-card {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100vw - 72px));
  height: 100vh;
  max-height: 100vh;
  overflow: auto;
  padding: 34px 46px 24px;
  border-radius: 0 28px 28px 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 40px 110px rgba(0,0,0,.38);
}
.close-btn {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 1.75rem;
  line-height: 1;
}
.modal-card h2 {
  margin: 0;
  max-width: 560px;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: .95;
  letter-spacing: -.06em;
}
.modal-intro {
  margin: 12px 0 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e7eb;
  color: #737373;
  font-size: 1rem;
  line-height: 1.4;
}
.quote-form {
  display: grid;
  gap: 12px;
}
.quote-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
  color: #273244;
  font-size: .92rem;
}
.quote-form label span { color: var(--red); }
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 2px solid #cfd5dd;
  border-radius: 14px;
  padding: 0 16px;
  min-height: 48px;
  color: #111827;
  background: #fff;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.quote-form textarea {
  min-height: 96px;
  padding-top: 13px;
  resize: vertical;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(223, 24, 63, .12);
}
.hp-field { display: none !important; }
.turnstile-wrap {
  display: grid;
  justify-content: start;
  align-items: center;
  min-height: 68px;
}
.submit-btn {
  min-height: 56px;
  border: 0;
  border-radius: 15px;
  background: var(--red);
  color: #fff;
  font-weight: 950;
  font-size: 1.08rem;
  transition: background .2s ease, transform .2s ease;
}
.submit-btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.submit-btn:disabled { opacity: .65; cursor: wait; transform: none; }
.privacy-note {
  margin: 0;
  text-align: center;
  color: #777;
  font-size: .88rem;
}
.form-status {
  min-height: 20px;
  text-align: center;
  font-weight: 800;
  font-size: .92rem;
}
.form-status.success { color: #0f766e; }
.form-status.error { color: var(--red-dark); }

@media (max-width: 920px) {
  .hero-content {
    grid-template-columns: 1fr;
    min-height: 100vh;
  }
  .countdown-panel { max-width: 540px; }
}

@media (max-width: 560px) {
  .hero-content {
    width: 100%;
    padding: 28px 20px;
    gap: 28px;
  }
  .logo { width: min(260px, 85vw); }
  .actions { display: grid; }
  .btn { width: 100%; }
  .countdown { grid-template-columns: 1fr 1fr; }
  .modal { padding: 0; align-items: stretch; }
  .modal-card { width: 100%; max-height: 100vh; border-radius: 0; padding: 28px 20px; }
  .modal-intro { font-size: .95rem; }
  .quote-form { gap: 10px; }
  .quote-form input,
  .quote-form select,
  .quote-form textarea { min-height: 46px; }
  .quote-form textarea { min-height: 90px; }
}
