:root {
  --black: #0a0a0a;
  --charcoal: #141414;
  --surface: #1a1a1a;
  --surface-elevated: #222;
  --border: rgba(255, 255, 255, 0.08);
  --silver: #c8cdd4;
  --silver-bright: #e8eaed;
  --red: #e31b23;
  --red-dark: #b8151c;
  --red-glow: rgba(227, 27, 35, 0.35);
  --text: #f4f4f5;
  --muted: #9ca3af;
  --bg: #f3f4f6;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  --font: "Inter", system-ui, sans-serif;
  --font-display: "Rajdhani", "Inter", sans-serif;
  --header-height: 76px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 36px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: none;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Top bar */
.top-bar {
  background: linear-gradient(90deg, var(--charcoal), #1c1c1c);
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
  padding-top: var(--safe-top);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  flex-wrap: wrap;
}

.top-bar-slogan {
  margin: 0;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.top-bar-accent {
  color: var(--silver-bright);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.top-bar-divider {
  margin: 0 0.5rem;
  opacity: 0.35;
}

.top-bar-link {
  color: var(--silver);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}

.top-bar-link:hover {
  color: var(--red);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
}

.brand img {
  width: clamp(140px, 18vw, 180px);
}

.header-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  touch-action: manipulation;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--silver-bright);
}

.btn--outline:hover {
  border-color: var(--silver);
  background: rgba(255, 255, 255, 0.04);
}

.btn--primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  box-shadow: 0 4px 20px var(--red-glow);
}

.btn--primary:hover {
  box-shadow: 0 6px 28px var(--red-glow);
}

.btn--lg {
  padding: 0.95rem 1.6rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  background: #000;
}

.hero-intro {
  position: relative;
  width: 100%;
  display: block;
  padding: 0;
  background: #000;
  line-height: 0;
}

.hero-intro picture {
  display: block;
  width: 100%;
}

.hero-glow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(227, 27, 35, 0.45) 50%, transparent 100%) bottom / 100% 1px no-repeat,
    linear-gradient(180deg, transparent 0%, rgba(227, 27, 35, 0.07) 28%, rgba(0, 0, 0, 0.92) 72%, #000 100%);
  pointer-events: none;
}

.hero-gif {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(3.5rem, 6vw, 4.5rem);
  max-width: 720px;
  text-align: center;
  background: #000;
  margin-top: -1px;
}

.hero-eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.hero-lead {
  margin: 0 auto 1.75rem;
  color: var(--silver);
  font-size: 1.05rem;
  max-width: 52ch;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: calc(1.25rem + var(--safe-bottom));
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.scroll-hint i {
  font-size: 0.95rem;
  animation: bounce-down 1.8s ease-in-out infinite;
}

.scroll-hint.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(12px);
  pointer-events: none;
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); opacity: 0.65; }
  50% { transform: translateY(7px); opacity: 1; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Main content */
.contact-steps {
  background: var(--bg);
  color: #111827;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

.estimate-card,
.steps-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.section-head h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

/* Form */
.estimate-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font: inherit;
  color: #111827;
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.12);
  background: #fff;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: #4b5563;
  cursor: pointer;
}

.checkbox input {
  margin-top: 0.2rem;
  accent-color: var(--red);
}

.checkbox a {
  color: var(--red);
  font-weight: 600;
}

.checkbox a:hover {
  text-decoration: underline;
}

.form-actions {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.25rem;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
}

.form-status[hidden] {
  display: none;
}

.form-status--success {
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-status--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.form-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #111827;
  padding: 0.5rem;
}

.form-phone:hover {
  color: var(--red);
}

/* Steps */
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.step-num {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px var(--red-glow);
}

.step-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

.step-body p {
  margin: 0;
  color: #6b7280;
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* Highlights */
.highlights {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.highlight-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(227, 27, 35, 0.12);
  color: var(--red);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.highlight p {
  margin: 0;
  color: var(--silver);
  font-size: 0.95rem;
}

.highlight strong {
  color: var(--silver-bright);
}

/* Footer */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 3rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-brand img {
  width: 140px;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--red);
}

address {
  font-style: normal;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.footer-phone {
  display: inline-block;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--silver-bright);
}

.footer-phone:hover {
  color: var(--red);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-start;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--red);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0 calc(1.25rem + var(--safe-bottom));
}

.footer-bottom p {
  margin: 0;
  color: #6b7280;
  font-size: 0.8125rem;
}

/* Subpages */
.page-content {
  background: var(--bg);
  color: #111827;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  min-height: 50vh;
}

.page-content h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
}

.page-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.page-content p {
  color: #4b5563;
  max-width: 65ch;
  line-height: 1.7;
}

.page-content a {
  color: var(--red);
  font-weight: 600;
}

.page-content a:hover {
  text-decoration: underline;
}

.page-content h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}

.legal-content {
  max-width: 720px;
}

.legal-meta {
  color: #6b7280;
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.legal-content ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
  color: #4b5563;
  line-height: 1.7;
}

.legal-content li {
  margin-bottom: 0.35rem;
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
  font-weight: 600;
  color: var(--red);
}

.back-link:hover {
  text-decoration: underline;
}

.contact-info {
  margin: 1.5rem 0 2rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #e5e7eb;
}

.mobile-cta {
  display: none;
}

/* Responsive */
@media (max-width: 900px) {
  :root {
    --header-height: 0px;
  }

  body {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: calc(72px + var(--safe-bottom));
  }

  .top-bar {
    display: none;
  }

  .site-header {
    display: none;
  }

  .grid,
  .highlights-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .steps-card {
    order: -1;
  }

  .hero {
    width: 100%;
  }

  .hero-intro {
    width: 100%;
    padding: 0;
    margin: 0;
    background: #000;
    line-height: 0;
  }

  .hero-intro picture {
    display: block;
    width: 100%;
  }

  .hero-gif {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 54dvh;
    object-fit: contain;
    object-position: center top;
    vertical-align: top;
  }

  .hero-glow {
    height: 56px;
    background:
      linear-gradient(90deg, transparent 0%, rgba(227, 27, 35, 0.35) 50%, transparent 100%) bottom / 100% 1px no-repeat,
      linear-gradient(180deg, transparent 0%, rgba(227, 27, 35, 0.05) 25%, #000 100%);
  }

  .hero-eyebrow {
    display: none;
  }

  .hero-content {
    width: min(1140px, calc(100% - 2rem));
    margin-inline: auto;
    padding: 1.35rem 0 3.25rem;
    background: #000;
  }

  .hero h1 {
    font-size: clamp(1.45rem, 6.5vw, 1.85rem);
    margin-bottom: 0.65rem;
  }

  .hero-lead {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1.1rem;
    max-width: 34ch;
  }

  .hero-content .btn--lg {
    width: 100%;
    max-width: none;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }

  .scroll-hint {
    bottom: calc(0.65rem + var(--safe-bottom));
    font-size: 0.62rem;
    display: flex;
  }

  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    padding: 0.65rem 1rem calc(0.65rem + var(--safe-bottom));
    background: rgba(10, 10, 10, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
  }

  .mobile-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 48px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    touch-action: manipulation;
  }

  .mobile-cta-btn--call {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--silver-bright);
  }

  .mobile-cta-btn--estimate {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff;
    box-shadow: 0 4px 18px var(--red-glow);
  }

  .mobile-cta-btn--solo {
    grid-column: 1 / -1;
  }

  .scroll-hint {
    display: flex;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1140px, calc(100% - 1.25rem));
  }

  .hero-content {
    width: min(1140px, calc(100% - 1.5rem));
    padding: 1rem 0 3rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-steps {
    padding: 2.25rem 0 2.75rem;
    scroll-margin-top: calc(var(--header-height) + 40px);
  }

  .estimate-card,
  .steps-card {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
    padding: 0.85rem 0.95rem;
    border-radius: 12px;
  }

  .field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.25rem;
  }

  .step {
    padding: 0.85rem;
    border-radius: 12px;
    background: #f9fafb;
  }

  .highlights {
    padding: 2rem 0;
  }

  .highlight {
    padding: 1rem 1.1rem;
  }

  .site-footer {
    padding-top: 2.25rem;
  }

  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.85rem 1.25rem;
  }
}

@media (min-width: 901px) {
  .brand {
    display: none;
  }

  .header-inner {
    justify-content: flex-end;
  }

  .hero-gif {
    max-height: min(52vh, 540px);
    margin-inline: auto;
  }

  .scroll-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-hint i {
    animation: none;
  }

  .btn:hover {
    transform: none;
  }
}
