/* Contact / Get A Quote — cinematic hero matching the supplied reference */

.page-contact {
  --q-navy: #06182c;
  --q-ink: #1a2430;
  --q-muted: #8b96a3;
  --q-line: #e7ebf0;
  --q-field: #f3f5f8;
  --q-orange: #f47a14;
  --q-hot: #ee5122;
  background: #fff;
}

.page-contact #main { padding: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── Hero shell ─────────────────────────────────────────────── */

.quote-hero {
  position: relative;
  isolation: isolate;
  min-height: 0;
  padding: 84px 0 0;
  color: #fff;
  overflow: hidden;
  background: #051627;
}

.quote-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
  z-index: 0;
  pointer-events: none;
}

.quote-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 48% 62% at 18% 42%, rgba(5, 22, 39, 0.55) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 78% 28%, rgba(8, 70, 140, 0.28) 0%, transparent 72%),
    linear-gradient(90deg, rgba(5, 18, 32, 0.62) 0%, rgba(5, 18, 32, 0.12) 46%, rgba(5, 18, 32, 0.28) 100%);
}

.quote-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  padding-top: 38px;
  padding-right: 64px;
}

.quote-hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(280px, 1fr) 390px;
  grid-template-areas:
    "copy art form"
    "trust art form";
  gap: 8px 8px;
  align-items: start;
}

.quote-copy {
  grid-area: copy;
  padding-top: 4px;
  max-width: 540px;
}

.quote-art { grid-area: art; }
.quote-form { grid-area: form; }
.quote-trust { grid-area: trust; }

/* ── Copy column ────────────────────────────────────────────── */

.quote-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--q-orange);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.quote-kicker span {
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--q-orange);
}

.quote-copy h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-wrap: balance;
}

.quote-copy h1 span {
  background: linear-gradient(180deg, #ff9a3c 0%, #f47a14 42%, #ee5122 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.quote-lead {
  margin: 0 0 20px;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
}

.quote-stats {
  list-style: none;
  display: flex;
  gap: 14px;
  margin: 0 0 20px;
  padding: 0;
}

.quote-stats li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.quote-stat-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ff8f28;
  background:
    linear-gradient(180deg, rgba(58, 84, 118, 0.98), rgba(18, 36, 58, 0.96));
  border: 1px solid rgba(255, 170, 80, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 18px rgba(0, 10, 24, 0.32),
    0 0 18px rgba(244, 122, 20, 0.18);
}

.quote-stat-icon svg { width: 20px; height: 20px; }

.quote-stats span:last-child {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.quote-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
  margin: 0 0 8px;
}

.quote-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff8a2a 0%, #f47a14 55%, #ee5122 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(238, 81, 34, 0.35);
  white-space: nowrap;
}

.quote-cta:hover { filter: brightness(1.05); }
.quote-cta:active { transform: translateY(1px); }

.quote-call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.quote-call-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(8, 28, 48, 0.55);
  border: 1.5px solid var(--q-orange);
  color: var(--q-orange);
}

.quote-call-icon svg { width: 20px; height: 20px; }

.quote-call strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.quote-call small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 500;
}

.quote-call:hover { color: #fff; }
.quote-call:hover .quote-call-icon { background: var(--q-orange); color: #fff; }

/* ── Phone art ──────────────────────────────────────────────── */

.quote-art {
  position: relative;
  z-index: 2;
  align-self: center;
  margin: -12px -8px 0 -18px;
  overflow: visible;
}

.quote-art img {
  display: block;
  width: min(100%, 440px);
  max-height: 560px;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 48px rgba(0, 12, 32, 0.45));
}

.quote-pills {
  position: absolute;
  left: 52%;
  top: 11%;
  z-index: 3;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.quote-pills li {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  background: linear-gradient(145deg, rgba(56, 92, 148, 0.55), rgba(18, 38, 68, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 12px 28px rgba(4, 16, 40, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.quote-pills li:nth-child(1) { transform: rotate(-8deg) translateX(4px); }
.quote-pills li:nth-child(2) { transform: rotate(-4deg) translateX(16px); }
.quote-pills li:nth-child(3) { transform: rotate(-1deg) translateX(14px); }
.quote-pills li:nth-child(4) { transform: rotate(4deg) translateX(2px); }

.quote-pills svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: #e8f1ff;
}

/* ── Form card (shared styles in quote-form.css) ─────────────── */

.page-contact .quote-form {
  z-index: 4;
  justify-self: end;
  max-width: 390px;
  margin: 4px 0 -78px;
}

/* ── Trust row ──────────────────────────────────────────────── */

.quote-trust {
  position: relative;
  z-index: 3;
  margin-top: 18px;
  padding-bottom: 8px;
  max-width: none;
  align-self: end;
}

.quote-trust p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.quote-trust ul {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 18px 24px;
  margin: 0;
  padding: 0;
}

.quote-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  opacity: 1;
  white-space: nowrap;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.quote-brand svg { width: 18px; height: 18px; }

.quote-brand-shopify {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.quote-brand-aws {
  position: relative;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  padding-bottom: 7px;
}

.quote-brand-aws::after {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  bottom: 0;
  height: 7px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 8' fill='none'><path d='M2 2c10 8 34 8 44 0' stroke='%23f47a14' stroke-width='2.4' stroke-linecap='round'/></svg>") center / contain no-repeat;
}

.quote-brand-stripe {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.04em;
}

/* ── Handwritten asides ─────────────────────────────────────── */

.quote-script {
  position: absolute;
  z-index: 2;
  margin: 0;
  color: rgba(210, 228, 255, 0.55);
  font-family: "Snell Roundhand", "Segoe Script", "Apple Chancery", "Palatino Linotype", cursive;
  font-weight: 500;
  line-height: 1.15;
  pointer-events: none;
  text-shadow: 0 6px 18px rgba(0, 20, 50, 0.25);
}

.quote-script-tr {
  top: 96px;
  right: 18px;
  z-index: 5;
  font-size: clamp(18px, 1.6vw, 26px);
  text-align: right;
  transform: rotate(12deg);
}

.quote-script-br {
  right: 36%;
  bottom: 108px;
  z-index: 2;
  font-size: clamp(18px, 1.6vw, 26px);
  transform: rotate(-12deg);
}

/* ── Wave + impact ──────────────────────────────────────────── */

.quote-wave {
  position: relative;
  z-index: 2;
  display: block;
  height: 88px;
  margin-top: -18px;
  line-height: 0;
}

.quote-wave svg {
  display: block;
  width: 100%;
  height: 88px;
}

.quote-impact {
  position: relative;
  z-index: 2;
  padding: 0 0 18px;
  background: #fff;
  text-align: center;
}

.quote-impact-rule {
  display: block;
  width: 92px;
  height: 3px;
  margin: 0 auto 16px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #d7b56a 20%, #f0d48a 50%, #d7b56a 80%, transparent);
}

.quote-impact p {
  margin: 0 0 8px;
  color: #9aa3ad;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.quote-impact h2 {
  margin: 0;
  color: #151b22;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.035em;
}

.quote-impact h2 span { color: var(--q-orange); }

.page-contact .contact-offices { padding-top: 24px; }

#quoteForm { scroll-margin-top: calc(var(--header-h) + 16px); }

.page-contact .side-btns { display: none; }

.page-contact .desktop-nav a.btn-pri::after {
  content: "→";
  margin-left: 8px;
  font-size: 15px;
  font-weight: 700;
}

.quote-dock {
  position: fixed;
  right: 0;
  top: 42%;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quote-dock a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 74px;
  min-height: 78px;
  padding: 10px 8px 10px 10px;
  border-radius: 18px 0 0 18px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 10, 24, 0.22);
}

.quote-dock svg { width: 22px; height: 22px; }
.quote-dock-call { background: #243746; }
.quote-dock-chat { background: #2fd15c; }
.quote-dock a:hover { filter: brightness(1.06); }

@media (max-width: 1199px) {
  .quote-hero { padding-top: 104px; }
  .quote-hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 380px);
    grid-template-areas:
      "copy form"
      "trust form";
  }
  .quote-art {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    opacity: 0.34;
    position: absolute;
    right: -8%;
    top: 90px;
    width: min(52vw, 420px);
    pointer-events: none;
  }
  .quote-copy,
  .quote-form { position: relative; z-index: 3; }
  .quote-pills { display: none; }
  .quote-form {
    min-height: 0;
    margin: 0;
  }
  .quote-trust { max-width: none; }
}

@media (max-width: 767px) {
  .quote-hero { min-height: 0; padding-top: 96px; }
  .quote-hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "form"
      "trust";
    gap: 22px;
  }
  .quote-copy { max-width: none; min-height: 0; }
  .quote-copy h1 { font-size: 44px; }
  .quote-lead { max-width: none; }
  .quote-hero-inner { padding-right: 0; padding-top: 28px; }
  .quote-stats { flex-direction: column; align-items: flex-start; gap: 12px; }
  .quote-art { display: none; }
  .quote-pills { display: none; }
  .quote-form { margin-bottom: 0; }
  .quote-dock { display: none; }
  .quote-form {
    justify-self: stretch;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 22px 18px 18px;
  }
  .quote-form-row { grid-template-columns: 1fr; }
  .quote-script { display: none; }
  .quote-wave { height: 72px; }
  .quote-wave svg { height: 72px; }
  .quote-trust ul { gap: 16px 20px; flex-wrap: wrap; }
  .quote-brand { font-size: 16px; }
}

@media (max-width: 575px) {
  .quote-cta { width: 100%; }
  .quote-actions { flex-wrap: wrap; gap: 16px; }
}
