/* Extracted popup/panel/form styles for cleaner ownership */
.quote-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 65;
}

.quote-modal[hidden] {
  display: none;
}

.quote-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.quote-shell {
  position: relative;
  z-index: 1;
  width: min(94vw, 620px);
  height: min(88vh, 860px);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 110px rgba(15, 23, 42, 0.26);
  border: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.quote-shell-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: rgba(15, 23, 42, 0.88);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.quote-shell-close:hover {
  background: rgba(15, 23, 42, 0.14);
}

.quote-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}

body.quote-page {
  overflow: auto;
  background:
    radial-gradient(920px circle at 50% -8%, rgba(59, 130, 246, 0.12), transparent 55%),
    radial-gradient(760px circle at 100% 10%, rgba(14, 165, 233, 0.08), transparent 48%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: rgba(17, 24, 39, 0.94);
  touch-action: auto;
  user-select: text;
}

.quote-page-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.quote-card {
  width: min(100%, 560px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.quote-card-header {
  padding: 28px 28px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(14, 165, 233, 0.05));
}

.quote-card-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2563eb;
}

.quote-card-header h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.quote-card-header p {
  margin: 12px 0 0;
  color: rgba(51, 65, 85, 0.86);
  line-height: 1.6;
}

.quote-close-inline {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: rgba(15, 23, 42, 0.86);
  font-size: 24px;
  cursor: pointer;
}

.quote-card-body {
  position: relative;
  padding: 24px 28px 28px;
}

.quote-form-grid {
  display: grid;
  gap: 16px;
}

.quote-field {
  display: grid;
  gap: 8px;
}

.quote-field-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-field label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
}

.quote-field input,
.quote-field textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  padding: 14px 16px;
  font: inherit;
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.quote-field textarea {
  min-height: 140px;
  resize: vertical;
}

.quote-field input:focus,
.quote-field textarea:focus {
  border-color: rgba(37, 99, 235, 0.7);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.quote-budget-card {
  padding: 16px 16px 14px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.96));
}

.quote-budget-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.quote-budget-value {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.quote-budget-hint {
  font-size: 0.86rem;
  color: rgba(51, 65, 85, 0.74);
}

.quote-range {
  width: 100%;
}

.quote-range-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 0.78rem;
  color: rgba(71, 85, 105, 0.86);
}

.quote-turnstile-slot {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.quote-turnstile-slot[hidden] {
  display: none;
}

.quote-turnstile-slot iframe {
  max-width: 100%;
}

.quote-status {
  min-height: 22px;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.quote-status.is-error { color: #b91c1c; }
.quote-status.is-working { color: #1d4ed8; }
.quote-status.is-success { color: #047857; }

.quote-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.quote-meta {
  font-size: 0.82rem;
  color: rgba(71, 85, 105, 0.8);
}

.quote-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #10b981);
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(16, 185, 129, 0.24);
}

.quote-submit[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.quote-success {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 8;
}

.quote-success.is-visible {
  display: flex;
}

.quote-success-card {
  width: min(100%, 460px);
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
}

.quote-success-card h2 {
  margin: 0 0 8px;
  font-size: 1.24rem;
  color: #0f172a;
}

.quote-success-card p {
  margin: 0;
  line-height: 1.6;
  color: rgba(51, 65, 85, 0.9);
}

.quote-success-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.quote-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.quote-fineprint {
  margin: 4px 0 0;
  font-size: 0.76rem;
  color: rgba(100, 116, 139, 0.8);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .quote-page-main { padding: 0; }
  .quote-card { width: 100%; min-height: 100vh; border-radius: 0; }
  .quote-card-header, .quote-card-body { padding-left: 20px; padding-right: 20px; }
  .quote-shell { width: 100vw; height: 100vh; border-radius: 0; }
  .quote-field-row { grid-template-columns: 1fr; }
  .quote-actions { align-items: stretch; }
  .quote-submit { width: 100%; }
}

/* Light theme alignment for chat and informational panels */
.live-chat-shell {
  width: min(94vw, 620px);
  height: min(88vh, 860px);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 110px rgba(15, 23, 42, 0.26);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.live-chat-shell-close {
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  background: rgba(15, 23, 42, 0.08);
  color: rgba(15, 23, 42, 0.88);
}

.live-chat-shell-close:hover {
  background: rgba(15, 23, 42, 0.14);
}

.info-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 64;
}

.info-modal[hidden] {
  display: none;
}

.info-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.info-shell {
  position: relative;
  z-index: 1;
  width: min(94vw, 720px);
  height: min(88vh, 900px);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 110px rgba(15, 23, 42, 0.26);
  border: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.info-shell-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: rgba(15, 23, 42, 0.88);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.info-shell-close:hover {
  background: rgba(15, 23, 42, 0.14);
}

.info-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}

body.info-page {
  overflow: auto;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: rgba(17, 24, 39, 0.94);
  touch-action: auto;
  user-select: text;
}

.info-page-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.info-card {
  width: min(100%, 660px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.info-card-header {
  padding: 28px 28px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(14, 165, 233, 0.05));
}

.info-card-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2563eb;
}

.info-card-header h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.info-card-header p {
  margin: 12px 0 0;
  color: rgba(51, 65, 85, 0.86);
  line-height: 1.6;
}

.info-card-body {
  position: relative;
  padding: 24px 28px 28px;
}

.info-close-inline {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: rgba(15, 23, 42, 0.86);
  font-size: 24px;
  cursor: pointer;
}

.info-stack {
  display: grid;
  gap: 18px;
}

.about-hero {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.about-photo-wrap {
  display: grid;
  place-items: center;
}

.about-photo {
  width: 164px;
  aspect-ratio: 1;
  border-radius: 28px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(14, 165, 233, 0.04));
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.about-copy h2,
.faq-section h2 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  color: #0f172a;
}

.about-copy p {
  margin: 0;
  color: rgba(51, 65, 85, 0.9);
  line-height: 1.7;
}

.about-note {
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: rgba(71, 85, 105, 0.86);
  font-size: 0.92rem;
  line-height: 1.55;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.98));
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #0f172a;
}

.faq-item p {
  margin: 0;
  line-height: 1.65;
  color: rgba(51, 65, 85, 0.9);
}

.about-form-divider {
  height: 1px;
  background: rgba(148, 163, 184, 0.18);
  margin: 4px 0;
}

@media (max-width: 640px) {
  .live-chat-shell,
  .info-shell {
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    border-radius: 0;
    border: 0;
  }

  .info-page-main { padding: 0; }
  .info-card { width: 100%; min-height: 100vh; border-radius: 0; }
  .info-card-header, .info-card-body { padding-left: 20px; padding-right: 20px; }
  .about-hero { grid-template-columns: 1fr; }
  .about-photo { width: min(56vw, 200px); margin-inline: auto; }
}

@media (max-width: 860px), (max-height: 760px) {
  .quote-shell,
  .info-shell,
  .live-chat-shell {
    width: min(100vw, 100%);
    height: min(100vh, 100%);
    max-width: none;
    max-height: none;
    border-radius: 0;
    border: 0;
  }

  .quote-page-main,
  .info-page-main {
    padding: 0;
  }

  .quote-card,
  .info-card {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }

  .quote-card-header,
  .quote-card-body,
  .info-card-header,
  .info-card-body {
    padding-left: 18px;
    padding-right: 18px;
  }
}

.top-bar-menu[hidden] {
  display: none !important;
}

.top-bar-brand {
  gap: 0;
}

.top-bar-menu-wrap {
  isolation: isolate;
}

.quote-shell,
.info-shell,
.live-chat-shell {
  height: min(calc(100svh - 18px), 780px);
}

.quote-shell > .quote-page-main,
.info-shell > .info-page-main {
  overflow: hidden;
}

.quote-shell .quote-card,
.info-shell .info-card {
  display: flex;
  flex-direction: column;
}

.quote-card-header,
.info-card-header {
  padding: 18px 20px 12px;
}

.quote-card-header h1,
.info-card-header h1 {
  font-size: clamp(1.3rem, 2.4vw, 1.72rem);
}

.quote-card-header p,
.info-card-header p {
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.42;
}

.quote-close-inline,
.info-close-inline,
.live-chat-shell-close,
.cf-chat-close {
  width: 34px;
  height: 34px;
  font-size: 22px;
}

.quote-card-body,
.info-card-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 14px 20px 18px;
}

.info-stack,
.quote-form-grid,
.faq-list {
  gap: 10px;
}

.quote-field {
  gap: 6px;
}

.quote-field-row {
  gap: 10px;
}

.quote-field label {
  font-size: 0.84rem;
}

.quote-field input,
.quote-field textarea,
#cfChatInput {
  padding: 11px 12px;
  border-radius: 14px;
}

.quote-field input {
  min-height: 44px;
}

.quote-field textarea {
  min-height: 82px;
  max-height: 82px;
  resize: none;
}

.quote-budget-card {
  padding: 12px 12px 10px;
  border-radius: 16px;
}

.quote-budget-top {
  margin-bottom: 8px;
}

.quote-budget-value {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
}

.quote-budget-hint,
.quote-meta,
.quote-fineprint {
  font-size: 0.72rem;
  line-height: 1.32;
}

.quote-range-labels {
  margin-top: 6px;
  font-size: 0.7rem;
}

.quote-turnstile-slot {
  min-height: 58px;
}

.quote-turnstile-slot iframe {
  transform-origin: left top;
}

.quote-status {
  min-height: 18px;
  font-size: 0.84rem;
  line-height: 1.3;
}

.quote-actions {
  gap: 10px;
}

.quote-submit,
.quote-secondary-btn,
#cfChatSend,
.cf-chat-fallback-actions a {
  min-height: 42px;
}

.quote-submit {
  padding: 0 18px;
}

.quote-success-card {
  padding: 14px 14px 12px;
}

.quote-success-card h2 {
  font-size: 1.08rem;
}

.quote-success-card p {
  font-size: 0.9rem;
  line-height: 1.42;
}

.about-hero {
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.about-photo {
  width: 96px;
  border-radius: 20px;
}

.about-copy h2,
.faq-item h3 {
  margin-bottom: 6px;
}

.about-copy p,
.faq-item p,
.about-note {
  font-size: 0.85rem;
  line-height: 1.42;
}

.about-note {
  padding: 10px 12px;
}

.faq-item {
  padding: 12px 13px;
  border-radius: 16px;
}

.cf-chat-header {
  padding: 16px 16px 12px !important;
}

.cf-chat-header h3 {
  font-size: 16px !important;
}

.cf-chat-sub {
  margin-top: 3px !important;
  font-size: 12px !important;
}

.cf-chat-messages {
  padding: 12px !important;
}

.cf-chat-bubble {
  padding: 10px 12px !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

.cf-chat-input {
  padding: 10px 12px 12px !important;
}

@media (max-width: 860px), (max-height: 820px) {
  .quote-shell,
  .info-shell,
  .live-chat-shell {
    width: 100vw;
    height: 100svh;
    max-width: none;
    max-height: none;
    border-radius: 0;
    border: 0;
  }

  .quote-card-header,
  .info-card-header {
    padding: 14px 16px 10px;
  }

  .quote-card-header p,
  .info-card-header p {
    font-size: 0.84rem;
    line-height: 1.34;
  }

  .quote-card-body,
  .info-card-body {
    padding: 10px 16px 14px;
  }

  .quote-field input {
    min-height: 40px;
  }

  .quote-field textarea {
    min-height: 68px;
    max-height: 68px;
  }

  .quote-budget-card {
    padding: 10px 10px 8px;
  }

  .quote-budget-hint,
  .quote-meta,
  .quote-fineprint,
  .about-note {
    display: none;
  }

  .quote-turnstile-slot {
    min-height: 0;
  }

  .about-hero {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 10px;
  }

  .about-photo {
    width: 78px;
    border-radius: 16px;
  }

  .faq-list {
    gap: 8px;
  }

  .faq-item {
    padding: 10px 11px;
  }
}

@media (max-width: 520px) {
  .top-bar-inner {
    padding: 8px 10px;
  }

  .top-bar-avatar {
    width: 34px;
    height: 34px;
  }

  .top-bar-cta {
    min-height: 36px;
    padding: 0 9px;
    font-size: 0.86rem;
  }

  .top-bar-sound-button,
  .top-bar-sound-brand {
    min-height: 36px;
    padding: 0 9px;
    font-size: 0.82rem;
  }

  .top-bar-sound-slot {
    min-width: 102px;
    min-height: 36px;
  }

  .top-bar-sound-brand {
    letter-spacing: 0.06em;
  }

  .top-bar-menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .top-bar-menu {
    min-width: 182px;
    padding: 8px;
    gap: 7px;
  }

  .top-bar-menu button {
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.92rem;
  }

  .quote-field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-actions,
  .quote-success-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .quote-submit,
  .quote-secondary-btn {
    width: 100%;
  }

  .faq-item h3 {
    font-size: 0.9rem;
  }

  .faq-item p,
  .about-copy p {
    font-size: 0.8rem;
  }
}

@media (max-height: 700px) {
  .quote-card-kicker,
  .info-card-kicker {
    margin-bottom: 6px;
    font-size: 11px;
  }

  .quote-card-header h1,
  .info-card-header h1 {
    font-size: 1.22rem;
  }

  .quote-card-header p,
  .info-card-header p {
    margin-top: 6px;
    font-size: 0.8rem;
  }

  .quote-form-grid,
  .info-stack {
    gap: 8px;
  }

  .quote-field textarea {
    min-height: 58px;
    max-height: 58px;
  }

  .faq-item {
    padding: 8px 10px;
  }

  .faq-item p {
    line-height: 1.32;
  }
}

html,
body {
  width: 100%;
  min-height: 100%;
  height: auto;
}

html {
  overflow-x: hidden;
  overflow-y: auto;
  background: #ffffff;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
  background: #ffffff;
  touch-action: pan-y;
}

body.is-overlay-locked {
  touch-action: none;
}

canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100svh;
  background: transparent;
  touch-action: pan-y pinch-zoom;
}

.hero-clouds {
  --home-parallax-x: 0px;
  --home-parallax-y: 0px;
  --home-drift: 0px;
  --home-breathe: 1.08;
  will-change: transform, opacity;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(145deg, var(--shared-scene-fill-start) 0%, var(--shared-scene-fill-mid) 54%, var(--shared-scene-fill-end) 100%);
}

.hero-clouds-layer,
.hero-clouds-sheen {
  position: absolute;
  inset: 0;
  will-change: transform, opacity;
}

.hero-clouds-layer {
  background-image: var(--shared-scene-bg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  transform-origin: center center;
}

.hero-clouds-layer-back {
  transform: translate3d(calc(var(--home-parallax-x) * -0.72), calc(var(--home-parallax-y) * -0.74 + var(--home-drift) * -0.52), 0);
  opacity: 0.48;
  filter: blur(24px) saturate(1.04) brightness(0.84);
}

.hero-clouds-layer-mid {
  transform: translate3d(calc(var(--home-parallax-x) * 1.26), calc(var(--home-parallax-y) * 1.18 + var(--home-drift) * 0.78), 0);
  opacity: 0.4;
  mix-blend-mode: screen;
  filter: blur(8px) saturate(1.14) brightness(0.99);
}

.hero-clouds-layer-front {
  transform: translate3d(calc(var(--home-parallax-x) * 0.18), calc(var(--home-parallax-y) * 0.16 + var(--home-drift) * 0.08), 0);
  opacity: 0.99;
  filter: drop-shadow(0 20px 48px rgba(34, 25, 118, 0.24));
}

.hero-clouds-sheen {
  background-image:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0.03) 64%, rgba(9, 10, 40, 0.1));
  transform: translate3d(calc(var(--home-parallax-x) * 0.34), calc(var(--home-parallax-y) * 0.28), 0);
  opacity: 0.82;
}

.site-scroll {
  position: relative;
  min-height: 100svh;
  background: linear-gradient(145deg, var(--shared-scene-fill-start) 0%, var(--shared-scene-fill-mid) 54%, var(--shared-scene-fill-end) 100%);
}

.hero-stage {
  contain: layout style paint;
  position: relative;
  min-height: 100svh;
  background: linear-gradient(145deg, var(--shared-scene-fill-start) 0%, var(--shared-scene-fill-mid) 54%, var(--shared-scene-fill-end) 100%);
  overflow: hidden;
}

.site-footer {
  position: fixed;
  left: 50%;
  bottom: max(10px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 35;
  width: min(calc(100vw - 18px), 980px);
  pointer-events: none;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.88));
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  pointer-events: auto;
}

.site-footer-inner p {
  margin: 0;
  color: #0f172a;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.site-footer-nav {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
}

.site-footer-nav button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.94));
  color: #0f172a;
  font: inherit;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.site-footer-nav button:last-child {
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.site-footer-nav button:hover {
  transform: translateY(-1px);
}

.panel-back-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: auto;
  padding-top: 12px;
}

.panel-back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  color: #0f172a;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.live-chat-shell .chat-page-main,
.live-chat-shell .cf-chat-wrap,
.live-chat-shell .cf-chat-box,
.quote-shell .quote-page-main,
.info-shell .info-page-main,
.quote-shell .quote-card,
.info-shell .info-card {
  display: flex;
  flex-direction: column;
}

.live-chat-shell .cf-chat-box,
.quote-shell .quote-card,
.info-shell .info-card {
  min-height: 100%;
}

.live-chat-shell .cf-chat-messages,
.quote-shell .quote-card-body,
.info-shell .info-card-body,
.faq-section {
  min-height: 0;
}

.live-chat-shell .cf-chat-messages {
  flex: 1 1 auto;
}

.live-chat-shell .panel-back-actions {
  padding: 0 16px 16px;
  border-top: 0;
  background: transparent;
}

.quote-shell .quote-card-body,
.info-shell .info-card-body {
  display: flex;
  flex-direction: column;
}

.quote-shell .quote-success,
.info-shell .quote-success {
  margin-top: 10px;
}

.top-bar-avatar {
  width: 44px;
  height: 44px;
}

@media (max-width: 820px) {
  .site-footer,
  .top-bar {
    width: calc(100vw - 14px);
  }

  .site-footer-inner,
  .top-bar-inner {
    padding: 10px 12px;
    border-radius: 18px;
  }
}

@media (max-width: 640px) {
  .site-footer-inner {
    gap: 8px;
  }

  .site-footer-inner p {
    font-size: 0.76rem;
    flex: 1 1 100%;
  }

  .site-footer-nav {
    width: 100%;
    justify-content: space-between;
  }

  .site-footer-nav button,
  .panel-back-button,
  .top-bar-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .top-bar-avatar {
    width: 38px;
    height: 38px;
  }
}


.faq-section {
  display: block;
}

.faq-list {
  gap: 14px;
}

.faq-item {
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.98));
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.faq-item h3 {
  font-size: 1rem;
  line-height: 1.35;
}

.faq-item p {
  color: rgba(51, 65, 85, 0.88);
  line-height: 1.58;
}


:root {
  --app-height: 100svh;
  --topbar-space: 86px;
  --footer-space: 90px;
  --stage-height: calc(var(--app-height) - var(--topbar-space) - var(--footer-space));
}

html,
body {
  height: var(--app-height);
  min-height: var(--app-height);
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  position: fixed;
  inset: 0;
  width: 100%;
  touch-action: none;
}

body.is-overlay-locked {
  overflow: hidden;
}

.site-scroll {
  position: fixed;
  inset: 0;
  height: var(--app-height);
  min-height: var(--app-height);
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.hero-stage {
  contain: layout style paint;
  height: var(--stage-height);
  min-height: var(--stage-height);
  max-height: var(--stage-height);
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.quote-success-actions {
  justify-content: center;
}

.quote-success-actions .quote-secondary-btn {
  min-width: 132px;
}

@media (max-width: 640px) {
  :root {
    --topbar-space: 78px;
    --footer-space: 86px;
  }

  .site-scroll {
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-stage {
  contain: layout style paint;
    border-radius: 0;
  }

  .site-footer {
    bottom: max(8px, env(safe-area-inset-bottom));
    width: min(calc(100vw - 12px), 980px);
  }

  .top-bar {
    top: max(8px, env(safe-area-inset-top));
    width: calc(100vw - 12px);
  }

  .top-bar-inner,
  .site-footer-inner {
    padding: 10px 11px;
  }
}


.cf-chat-typing,
.cf-chat-typing-dots,
.cf-chat-typing-dots::after {
  display: none !important;
  animation: none !important;
}


.contact-shell {
  width: min(94vw, 920px);
  height: min(88vh, 920px);
  background: rgba(8, 15, 29, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 110px rgba(2, 6, 23, 0.42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.contact-frame {
  background: transparent;
}

body.contact-page {
  background:
    radial-gradient(circle at 50% -4%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(8, 15, 29, 0.98), rgba(12, 20, 36, 0.96));
  color: rgba(255, 255, 255, 0.94);
}

.contact-card {
  width: min(100%, 860px);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(12, 18, 31, 0.86), rgba(17, 24, 39, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 72px rgba(2, 6, 23, 0.38);
  color: #ffffff;
}

.contact-card-header {
  padding: 24px 28px 12px;
  border-bottom: 0;
  background: transparent;
}

.contact-card-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.contact-card-header h1 {
  color: rgba(255, 255, 255, 0.98);
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 10px 28px rgba(2, 6, 23, 0.28);
}

.contact-card-body {
  padding-top: 8px;
}

.contact-stack {
  gap: 18px;
}

.quote-headshot-row {
  display: grid;
  justify-items: center;
  padding: 4px 0 2px;
}

.quote-photo-wrap {
  display: grid;
  place-items: center;
}

.quote-contact-photo {
  width: min(148px, 42vw);
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 152px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 16px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.contact-photo-wrap {
  display: grid;
  place-items: center;
}

.contact-photo {
  width: min(152px, 100%);
  aspect-ratio: 1;
  border-radius: 28px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.32);
}

.contact-copy {
  display: grid;
  gap: 10px;
}

.contact-lead {
  margin: 0;
  font-size: clamp(1.16rem, 2.8vw, 1.58rem);
  line-height: 1.36;
  color: rgba(255, 255, 255, 0.98);
  font-weight: 700;
}

.contact-title {
  margin: 0;
  font-size: clamp(1rem, 2.3vw, 1.18rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.contact-note {
  margin: 0;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}

.contact-form-grid {
  gap: 14px;
}

.contact-form-grid .quote-field-row {
  gap: 14px;
}

.contact-form-grid .quote-field label {
  color: rgba(255, 255, 255, 0.9);
}

.contact-form-grid .quote-field input,
.contact-form-grid .quote-field textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.contact-form-grid .quote-field input::placeholder,
.contact-form-grid .quote-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.54);
}

.contact-form-grid .quote-field input:focus,
.contact-form-grid .quote-field textarea:focus {
  border-color: rgba(96, 165, 250, 0.72);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}

.contact-form-grid .quote-meta {
  color: rgba(255, 255, 255, 0.68);
}

.contact-form-grid .quote-status {
  color: rgba(255, 255, 255, 0.84);
}

.contact-form-grid .quote-status.is-error {
  color: #fecaca;
}

.contact-form-grid .quote-status.is-working {
  color: #bfdbfe;
}

.contact-form-grid .quote-status.is-success {
  color: #bbf7d0;
}

.contact-panel-actions {
  padding-top: 4px;
}

.contact-home-button {
  min-width: 156px;
  min-height: 50px;
  padding: 0 22px;
  border-color: rgba(16, 185, 129, 0.2);
  background: linear-gradient(135deg, #2563eb, #10b981);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(16, 185, 129, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contact-home-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.42);
  outline-offset: 2px;
}

.contact-success {
  background: rgba(8, 15, 29, 0.64);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-success .quote-success-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 48px rgba(2, 6, 23, 0.32);
}

.contact-success .quote-success-card h2 {
  color: rgba(255, 255, 255, 0.98);
}

.contact-success .quote-success-card p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-success .quote-secondary-btn {
  min-height: 50px;
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.98);
  color: #0f172a;
}

@media (max-width: 700px) {
  .contact-shell {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    border: 0;
  }

  .contact-card {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }

  .contact-card-header,
  .contact-card-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .contact-hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .contact-copy {
    justify-items: center;
  }

  .contact-photo-wrap {
    display: grid;
    width: 100%;
    justify-items: center;
  }

  .contact-photo {
    display: block;
    width: min(132px, 40vw);
  }

  .quote-contact-photo {
    width: min(136px, 44vw);
  }

  .contact-home-button,
  .contact-form-grid .quote-submit {
    width: 100%;
  }

  .contact-form-grid .quote-actions {
    align-items: stretch;
  }
}


/* Contact-system visual unification for quote + legal surfaces */
.quote-card.contact-card,
.info-card.contact-card {
  background: linear-gradient(180deg, rgba(12, 18, 31, 0.86), rgba(17, 24, 39, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 72px rgba(2, 6, 23, 0.38);
  color: #ffffff;
}

.quote-card.contact-card .quote-card-header,
.info-card.contact-card .info-card-header {
  background: transparent;
  border-bottom: 0;
}

.quote-card.contact-card .quote-card-kicker,
.info-card.contact-card .info-card-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.quote-card.contact-card .quote-card-header h1,
.info-card.contact-card .info-card-header h1 {
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 10px 28px rgba(2, 6, 23, 0.28);
}

.quote-card.contact-card .quote-card-header p,
.info-card.contact-card .info-card-header p {
  color: rgba(255, 255, 255, 0.82);
}

.quote-stack {
  gap: 18px;
}

.quote-card.contact-card .quote-actions {
  align-items: flex-end;
}

.quote-card.contact-card .contact-panel-actions {
  padding-top: 0;
}

.quote-card.contact-card .contact-panel-actions.quote-panel-actions-spaced {
  padding-top: 40px;
}

.quote-intro-note {
  margin-bottom: 2px;
}

.quote-card.contact-card .quote-budget-card,
.quote-card.contact-card .quote-success-card,
.info-card.contact-card .faq-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.quote-card.contact-card .quote-budget-value,
.info-card.contact-card .faq-item h3 {
  color: rgba(255, 255, 255, 0.98);
}

.quote-card.contact-card .quote-budget-hint,
.quote-card.contact-card .quote-range-labels,
.quote-card.contact-card .quote-fineprint,
.quote-card.contact-card .quote-meta,
.info-card.contact-card .faq-item p,
.info-card.contact-card .faq-section,
.info-card.contact-card .info-card-body {
  color: rgba(255, 255, 255, 0.78);
}

.quote-card.contact-card .quote-range {
  accent-color: #60a5fa;
}

.quote-card.contact-card .quote-secondary-btn,
.info-card.contact-card .quote-secondary-btn {
  background: rgba(255, 255, 255, 0.98);
  color: #0f172a;
}

.quote-card.contact-card .quote-success,
.info-card.contact-card .quote-success {
  background: rgba(8, 15, 29, 0.64);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 700px) {
  .quote-card.contact-card {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }

  .quote-card.contact-card .quote-card-header,
  .quote-card.contact-card .quote-card-body,
  .info-card.contact-card .info-card-header,
  .info-card.contact-card .info-card-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .quote-card.contact-card .quote-submit,
  .quote-card.contact-card .contact-home-button,
  .info-card.contact-card .contact-home-button {
    width: 100%;
  }

  .quote-card.contact-card .quote-actions {
    align-items: stretch;
  }
}

.contact-card--kicker-only .quote-card-header,
.contact-card--kicker-only .info-card-header {
  padding-bottom: 6px;
}

.quote-panel-actions-spaced {
  padding-top: 56px;
}

@media (max-width: 700px) {
  .quote-panel-actions-spaced {
    padding-top: 44px;
  }

  .quote-card.contact-card .contact-panel-actions.quote-panel-actions-spaced {
    padding-top: 28px;
  }
}

@media (max-width: 700px) {
  .about-contact-page .contact-photo-wrap {
    display: none;
  }

  .about-contact-page .contact-hero {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}
