@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #171c22;
  --charcoal: #252b32;
  --muted: #637077;
  --line: #dce2e2;
  --paper: #f5f4f0;
  --white: #ffffff;
  --red: #bf3634;
  --gold: #e8ad63;
  --soft: #e9eeed;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 15px/1.55 'DM Sans', sans-serif;
}

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.skip { position: absolute; left: -999px; top: 5px; z-index: 50; background: white; padding: 8px; }
.skip:focus { left: 8px; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: auto; }

/* =========================================================================
   MASTHEAD HEADER
   ========================================================================= */
.masthead {
  height: 72px;
  padding: 0 clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font: 800 17px/1.05 'Manrope', sans-serif;
  letter-spacing: 1.8px;
  color: var(--ink);
}
.wordmark small {
  display: block;
  font: 700 9px 'DM Sans', sans-serif;
  letter-spacing: 1.5px;
  margin-top: 4px;
  color: var(--muted);
}
.brand-mark {
  width: 34px;
  height: 34px;
  border: 2px solid var(--red);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--red);
  font-size: 19px;
}
.masthead nav { display: flex; align-items: center; gap: 22px; }
.masthead nav a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.15s ease;
}
.masthead nav a:hover { color: var(--red); }
.masthead .nav-email {
  color: var(--muted);
  font-weight: 600;
}
.masthead .nav-portal {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}
.masthead .nav-portal:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.masthead .nav-call {
  padding: 8px 14px;
  background: var(--red);
  color: var(--white) !important;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
}
.masthead .nav-call:hover {
  background: #a52927;
}

/* =========================================================================
   HERO & UNOBSTRUCTED DUAL VIDEO BACKGROUND
   ========================================================================= */
.hero {
  position: relative;
  min-height: clamp(540px, 74vh, 780px);
  overflow: hidden;
  background: #0d1217;
  color: var(--white);
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.hero-video-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}
.hero-bg-video.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  z-index: 1;
  pointer-events: none;
}

/* Compact Top-Left Business Badge (5px margin, ultra-light glass, unobstructed video) */
.hero-badge {
  position: relative;
  z-index: 2;
  margin-top: 5px !important;
  margin-left: 5px !important;
  background: rgba(15, 20, 25, 0.32);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 3px solid var(--red);
  border-radius: 4px;
  padding: 10px 14px;
  max-width: 410px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}
.eyebrow, .kicker {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 800;
  text-transform: uppercase;
}
.eyebrow {
  color: #e5e7eb;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.line { width: 16px; height: 1px; background: var(--red); }

.hero-business-title {
  font: 800 clamp(16px, 1.8vw, 20px)/1.2 'Manrope', sans-serif;
  margin: 0 0 3px;
  color: var(--white);
  letter-spacing: 0.3px;
}
.hero-meta {
  font-size: 11.5px;
  color: #d1d5db;
  margin: 0 0 6px;
  line-height: 1.35;
}
.hero-contact-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11.5px;
  font-weight: 700;
}
.hero-contact-strip a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
.hero-contact-strip a:hover {
  border-bottom-color: var(--white);
}
.hero-contact-strip .sep {
  color: rgba(255, 255, 255, 0.45);
}

/* Discreet Bottom-Right Video Switcher */
.video-switcher {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  display: flex;
  gap: 4px;
  background: rgba(15, 20, 25, 0.35);
  backdrop-filter: blur(4px);
  padding: 3px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.vid-dot {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.vid-dot:hover {
  color: var(--white);
}
.vid-dot.active {
  background: var(--red);
  color: var(--white);
}

/* =========================================================================
   BUTTONS (SMALL, REFINED, STRICTLY ON-THEME)
   ========================================================================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 3px;
  padding: 9px 15px;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.button-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.button-primary:hover {
  background: #a52927;
  border-color: #a52927;
}
.button-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: #c8d1d0;
}
.button-secondary:hover {
  background: var(--paper);
  border-color: var(--ink);
}
.button-dark {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.button-dark:hover {
  background: var(--charcoal);
}

/* =========================================================================
   DEDICATED DISPATCH BAR (BELOW HERO VIDEO, MATCHING EDITORIAL THEME)
   ========================================================================= */
.dispatch-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.dispatch-strip-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.dispatch-strip-copy {
  flex: 1 1 420px;
}
.dispatch-strip-copy h2 {
  font: 700 clamp(19px, 2vw, 24px)/1.22 'Manrope', sans-serif;
  letter-spacing: -0.5px;
  margin: 4px 0 6px;
  color: var(--ink);
}
.dispatch-strip-copy p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  max-width: 680px;
}
.dispatch-strip-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

/* =========================================================================
   SERVICES SECTION
   ========================================================================= */
.services { padding: 68px 0 76px; }
.section-intro { max-width: 650px; }
.kicker { color: var(--red); }
h2 {
  font: 600 clamp(26px, 2.8vw, 38px)/1.18 'Manrope', sans-serif;
  letter-spacing: -1.2px;
  margin: 12px 0;
}
.section-intro p, .request-aside > p { color: var(--muted); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin-top: 28px;
}
.service-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px 20px;
  min-height: 180px;
  border-radius: 4px;
}
.service-grid article span {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.service-grid h3 { font: 700 17px 'Manrope', sans-serif; margin: 18px 0 7px; }
.service-grid p { font-size: 12.5px; color: var(--muted); margin: 0; }

/* =========================================================================
   REQUEST & INTAKE SECTION
   ========================================================================= */
.request-section { padding: 72px 0 88px; background: #e7ece9; }
.request-layout {
  display: grid;
  grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}
.request-aside { position: sticky; top: 25px; }
.request-aside h2 { margin: 14px 0; }
.contact-card {
  margin-top: 26px;
  background: var(--white);
  border-left: 3px solid var(--red);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 6px;
}
.contact-card strong { font: 700 13px 'Manrope', sans-serif; }
.contact-card a:first-of-type { font: 700 22px 'Manrope', sans-serif; text-decoration: none; color: var(--ink); }
.contact-card a:last-of-type { font-size: 12px; color: var(--ink); overflow-wrap: anywhere; }
.contact-card span, .small-note { font-size: 11px; color: var(--muted); }
.small-note { margin-top: 20px; }

.intake {
  background: var(--white);
  padding: clamp(20px, 3.5vw, 40px);
  box-shadow: 0 16px 48px rgba(23, 28, 34, 0.06);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.form-head h3 { font: 700 20px 'Manrope', sans-serif; margin: 6px 0 20px; }
.step { background: var(--soft); padding: 5px 9px; font-size: 10px; color: var(--muted); white-space: nowrap; border-radius: 2px; }
.fields { display: grid; gap: 15px; }
.fields.two { grid-template-columns: 1fr 1fr; }
.fields.three { grid-template-columns: .65fr 1.3fr .8fr; }
.intake label:not(.check):not(.upload) { display: block; font-size: 11px; font-weight: 700; margin-bottom: 15px; }
.optional { font-weight: 400; color: var(--muted); }
.intake input:not([type=checkbox]):not([type=file]),
.intake select,
.intake textarea {
  display: block;
  width: 100%;
  border: 1px solid #d0d9d7;
  background: #fbfcfa;
  border-radius: 3px;
  padding: 10px 12px;
  margin-top: 6px;
  color: var(--ink);
  font-size: 13px;
}
.intake textarea { resize: vertical; min-height: 96px; }
.intake input::placeholder, .intake textarea::placeholder { color: #81918f; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--charcoal);
  font-size: 12px;
  margin: 15px 0;
}
.check input { margin: 3px 0 0; accent-color: var(--red); width: 16px; height: 16px; flex: none; }
.divider { height: 1px; background: var(--line); margin: 28px 0; }
.helper { font-size: 12px; color: var(--muted); margin: 6px 0 12px; }

.upload {
  border: 1px dashed #aab9b4;
  border-radius: 4px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  cursor: pointer;
  background: #fbfcfa;
}
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload:focus-within { outline: 2px solid var(--red); }
.upload-symbol { font-size: 26px; color: var(--red); line-height: 1; }
.upload strong { font-size: 12px; }
.upload small { color: var(--muted); font-size: 10px; }

.previews { display: flex; flex-wrap: wrap; gap: 10px; }
.previews figure { margin: 6px 0; width: 110px; }
.previews img { width: 110px; height: 80px; object-fit: cover; border-radius: 3px; }
.previews figcaption { font-size: 10px; overflow-wrap: anywhere; }
.previews button { background: none; border: 0; color: var(--red); padding: 0; font-size: 11px; }

.form-end {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 22px;
}
.form-end p { font-size: 11px; color: var(--muted); max-width: 270px; margin: 0; }
.error { background: #fff0ee; color: #9c2924; padding: 10px; border-left: 3px solid var(--red); font-size: 12px; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: #151c21; color: #e4e7e5; padding: 30px 0; }
.footer .wrap { display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; }
.footer .wrap > div { display: flex; flex-direction: column; gap: 4px; }
.footer strong { font: 700 15px 'Manrope', sans-serif; }
.footer span { color: #aeb8b7; font-size: 11px; }
.footer a { text-decoration: none; font-weight: 700; color: var(--white); }

/* =========================================================================
   REVIEW DIALOG
   ========================================================================= */
dialog {
  width: min(580px, calc(100% - 28px));
  max-height: 85dvh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 24px 72px rgba(16, 25, 28, 0.35);
  padding: 26px;
  color: var(--ink);
  background: var(--white);
}
dialog::backdrop { background: rgba(16, 28, 29, 0.72); backdrop-filter: blur(2px); }
.dialog-top { display: flex; justify-content: space-between; align-items: start; }
.dialog-top h2 { font-size: 22px; margin: 4px 0 14px; }
#close-review { border: 1px solid var(--line); background: var(--paper); font-size: 20px; width: 32px; height: 32px; border-radius: 3px; }
.review-row { padding: 8px 0; border-bottom: 1px solid var(--line); }
.review-row small { display: block; color: var(--muted); font-size: 10px; }
.review-row strong { font-size: 13px; overflow-wrap: anywhere; }

.payment-selection-box {
  margin-top: 18px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.payment-selection-box h3 {
  font: 700 14px 'Manrope', sans-serif;
  margin: 4px 0 10px;
  color: var(--ink);
}
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  cursor: pointer;
}
.payment-option input {
  margin-top: 3px;
  accent-color: var(--red);
}
.payment-option strong {
  display: block;
  font-size: 12.5px;
  color: var(--ink);
}
.payment-option p {
  margin: 2px 0 0;
  font-size: 11.5px;
  color: var(--muted);
}

.dialog-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* =========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================= */
@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
  .masthead { height: 64px; padding: 0 16px; }
  .wordmark { font-size: 14px; }
  .brand-mark { width: 28px; height: 28px; font-size: 16px; }
  .masthead nav { gap: 8px; }
  .masthead nav a:not(.nav-call):not(.nav-portal) { display: none; }
  .masthead .nav-call, .masthead .nav-portal { font-size: 11px; padding: 7px 10px; }
  .wrap { width: calc(100% - 30px); }
  .hero { min-height: 440px; padding: 8px; }
  .hero-badge { max-width: calc(100% - 16px); padding: 8px 12px; }
  .services { padding: 48px 0; }
  .service-grid { gap: 10px; margin-top: 20px; grid-template-columns: 1fr; }
  .service-grid article { padding: 18px; min-height: auto; }
  .request-section { padding: 48px 0 64px; }
  .request-layout { grid-template-columns: 1fr; gap: 24px; }
  .fields.two, .fields.three { grid-template-columns: 1fr; }
  .form-end { align-items: stretch; flex-direction: column; }
  .footer .wrap { flex-direction: column; }
  dialog { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg-video { transition: none; }
}
