.quote-hero {
  position: relative;
  isolation: isolate;
  padding: 142px 0 96px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(6, 152, 220, 0.34), transparent 30%),
    radial-gradient(circle at 15% 12%, rgba(236, 99, 9, 0.22), transparent 24%),
    linear-gradient(135deg, #031324 0%, #031b32 48%, #053d76 100%);
}

.quote-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  content: "";
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
  gap: 40px;
  align-items: stretch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 16px var(--amber);
  content: "";
}

.quote-aside h1 {
  max-width: 720px;
  margin: 0 0 22px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.quote-lead {
  max-width: 680px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.quote-aside {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.quote-aside .faq-card {
  flex: 1;
}

.trust-panel,
.faq-card,
.quote-form {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
}

.trust-panel {
  padding: 28px;
  margin-bottom: 24px;
}

.trust-panel h2,
.faq-card h2,
.form-head h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 26px;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

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

.trust-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
}

.trust-item > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand-blue), var(--electric-blue));
  font-size: 13px;
  font-weight: 900;
}

.trust-item strong {
  display: block;
  margin-bottom: 3px;
  color: var(--white);
  font-size: 15px;
}

.trust-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.faq-card {
  padding: 28px;
}

.faq-card details {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding: 15px 0;
}

.faq-card details:last-child {
  padding-bottom: 0;
}

.faq-card summary {
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.faq-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.quote-form {
  position: relative;
  top: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
  padding: 34px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
}

.form-head {
  margin-bottom: 24px;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--electric-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-head h2 {
  color: var(--ink);
}

.form-head p {
  margin: 0;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.required {
  color: var(--orange);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--soft);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--electric-blue);
  box-shadow: 0 0 0 4px rgba(6, 152, 220, 0.12);
}

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

.field-error {
  min-height: 18px;
  color: #c9341c;
  font-size: 12px;
  font-weight: 700;
}

.captcha-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.captcha-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(6, 152, 220, 0.26);
  border-radius: 14px;
  color: var(--deep-navy);
  background:
    linear-gradient(135deg, rgba(6, 152, 220, 0.08), rgba(242, 151, 13, 0.1)),
    repeating-linear-gradient(-35deg, transparent 0 8px, rgba(3, 77, 158, 0.08) 8px 10px);
  font-weight: 900;
  letter-spacing: 0.16em;
  user-select: none;
}

.captcha-refresh {
  border: 0;
  padding: 0;
  margin-top: 6px;
  color: var(--brand-blue);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.form-status.success {
  color: #14764b;
}

.form-status.error {
  color: #c9341c;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.activity-section {
  padding: 96px 0;
  background:
    radial-gradient(circle at 86% 10%, rgba(6, 152, 220, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
}

.activity-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.activity-head h2 {
  margin: 0;
  font-size: clamp(34px, 3.65vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.activity-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.activity-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 0.64fr);
  gap: 24px;
  align-items: stretch;
}

.activity-summary,
.activity-feed {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: 0 22px 70px rgba(3, 27, 50, 0.08);
}

.activity-summary {
  position: relative;
  overflow: hidden;
  padding: 32px;
}

.activity-summary::after {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 250px;
  height: 250px;
  border: 28px solid rgba(242, 151, 13, 0.18);
  border-radius: 50%;
  content: "";
}

.live-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #17b26a;
  box-shadow: 0 0 0 8px rgba(23, 178, 106, 0.12), 0 0 22px rgba(23, 178, 106, 0.42);
}

.activity-summary strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.activity-summary p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
}

.activity-feed {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.activity-item {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.activity-item:last-child {
  border-bottom: 0;
}

.activity-time {
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.activity-main strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 16px;
}

.activity-main span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.activity-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--deep-navy);
  background: rgba(6, 152, 220, 0.1);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.form-next-steps {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(6, 152, 220, 0.08), rgba(242, 151, 13, 0.08));
}

.form-next-steps strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 16px;
}

.form-next-steps ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
}

.map-section {
  padding: 96px 0;
  background: var(--soft);
}

.map-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.map-head h2 {
  margin: 0;
  font-size: clamp(34px, 3.65vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.map-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.map-card {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: 0 22px 70px rgba(3, 27, 50, 0.1);
}

.map-info {
  padding: 36px;
}

.map-info h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.map-info p {
  margin: 0 0 22px;
  color: var(--muted);
}

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand-blue), var(--electric-blue));
  font-weight: 800;
}

.map-frame {
  min-height: 430px;
  background: var(--deep-navy);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

@media (max-width: 1180px) {
  .quote-grid,
  .activity-shell,
  .map-card {
    grid-template-columns: 1fr;
  }

  .quote-form {
    position: static;
  }

  .activity-head,
  .map-head {
    display: block;
  }

  .activity-head p,
  .map-head p {
    margin-top: 14px;
  }
}

@media (max-width: 680px) {
  .quote-hero {
    padding: 124px 0 72px;
  }

  .quote-aside h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .quote-lead {
    font-size: 16px;
  }

  .trust-panel,
  .faq-card,
  .quote-form,
  .map-info {
    padding: 24px;
  }

  .form-grid,
  .captcha-row {
    grid-template-columns: 1fr;
  }

  .form-actions button {
    width: 100%;
  }

  .activity-section,
  .map-section {
    padding: 74px 0;
  }

  .activity-summary {
    padding: 24px;
  }

  .activity-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
  }

  .activity-badge {
    justify-self: start;
  }
}

/* V3 compact quote form and realistic activity feed */
.quote-hero {
  padding: 128px 0 82px;
}

.quote-form-compact {
  align-self: start;
  min-height: auto;
  padding: 28px;
}

.quote-form-compact .form-head {
  margin-bottom: 16px;
}

.quote-form-compact .form-head h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

.quote-form-compact .form-head p {
  font-size: 14px;
  line-height: 1.5;
}

.compact-form-grid {
  gap: 12px 14px;
}

.quote-form-compact .field {
  gap: 5px;
}

.quote-form-compact .field label {
  font-size: 12px;
}

.quote-form-compact .field input,
.quote-form-compact .field textarea {
  padding: 11px 13px;
  border-radius: 12px;
}

.quote-form-compact .field textarea {
  min-height: 112px;
}

.quote-form-compact .field-error {
  min-height: 0;
  line-height: 1.25;
}

.quote-form-compact .captcha-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.quote-form-compact .captcha-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.quote-form-compact .captcha-code {
  min-width: 106px;
  min-height: 43px;
  padding: 0 10px;
  border-radius: 12px;
  font-size: 13px;
}

.quote-form-compact .captcha-refresh {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-top: 0;
  border-radius: 50%;
  background: rgba(6, 152, 220, 0.1);
  font-size: 17px;
}

.compact-actions {
  margin-top: 14px;
}

.quote-form-compact .form-note {
  margin-top: 10px;
  font-size: 12px;
}

.activity-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 12%, rgba(6, 152, 220, 0.15), transparent 30%),
    radial-gradient(circle at 12% 82%, rgba(242, 151, 13, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
}

.activity-shell {
  grid-template-columns: minmax(300px, 0.34fr) minmax(0, 0.66fr);
  align-items: stretch;
}

.activity-summary {
  min-height: 460px;
}

.activity-summary strong {
  font-size: 30px;
}

.activity-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.activity-metrics span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(245, 248, 251, 0.8);
  font-size: 14px;
  font-weight: 700;
}

.activity-metrics strong {
  margin: 0;
  color: var(--brand-blue);
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.activity-feed-window {
  position: relative;
  height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: 0 22px 70px rgba(3, 27, 50, 0.08);
}

.activity-feed-window::before,
.activity-feed-window::after {
  position: absolute;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 56px;
  pointer-events: none;
  content: "";
}

.activity-feed-window::before {
  top: 0;
  background: linear-gradient(180deg, var(--white), rgba(255, 255, 255, 0));
}

.activity-feed-window::after {
  bottom: 0;
  background: linear-gradient(0deg, var(--white), rgba(255, 255, 255, 0));
}

.activity-feed-track {
  display: grid;
  gap: 12px;
  padding: 18px;
  animation: quoteActivityScroll 34s linear infinite;
  will-change: transform;
}

.activity-feed-window:hover .activity-feed-track {
  animation-play-state: paused;
}

.activity-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 118px;
  gap: 18px;
  align-items: center;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 34px rgba(3, 27, 50, 0.045);
}

.activity-person strong,
.activity-action {
  display: block;
  color: var(--ink);
}

.activity-person strong {
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 900;
}

.activity-person span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.activity-action {
  margin-bottom: 3px;
  font-size: 15px;
  font-weight: 900;
}

.activity-detail {
  display: block;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.activity-time {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--brand-blue);
  background: rgba(6, 152, 220, 0.1);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

@keyframes quoteActivityScroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .activity-feed-track {
    animation: none;
  }
}

@media (max-width: 1180px) {
  .activity-summary {
    min-height: auto;
  }

  .activity-feed-window {
    height: 480px;
  }
}

@media (max-width: 680px) {
  .quote-form-compact {
    padding: 24px;
  }

  .quote-form-compact .captcha-row {
    grid-template-columns: 1fr;
  }

  .activity-feed-window {
    height: 520px;
  }

  .activity-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .activity-time {
    justify-self: start;
  }

  .activity-detail {
    white-space: normal;
  }
}

/* V4 quote page refinements */
.quote-hero {
  padding: 118px 0 72px;
}

.quote-grid {
  align-items: start;
}

.quote-aside {
  height: auto;
  display: block;
}

.quote-aside h1 {
  max-width: 650px;
}

.quote-lead {
  margin-bottom: 24px;
}

.trust-panel {
  padding: 26px;
  margin-bottom: 0;
}

.trust-panel h2 {
  margin-bottom: 18px;
  font-size: 24px;
}

.trust-list-quote {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.trust-item {
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.trust-item > span {
  width: 40px;
  height: 40px;
}

.trust-item p {
  font-size: 13px;
  line-height: 1.55;
}

.quote-form-compact {
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.2);
}

.activity-section {
  padding: 90px 0;
}

.activity-head {
  margin-bottom: 30px;
}

.activity-shell {
  grid-template-columns: minmax(320px, 0.38fr) minmax(0, 0.62fr);
  gap: 28px;
}

.quote-faq-panel {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 88% 14%, rgba(6, 152, 220, 0.16), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 24px 80px rgba(3, 27, 50, 0.08);
}

.quote-faq-panel::after {
  position: absolute;
  right: -86px;
  bottom: -120px;
  width: 250px;
  height: 250px;
  border: 30px solid rgba(242, 151, 13, 0.14);
  border-radius: 50%;
  content: "";
}

.faq-chip {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--brand-blue);
  background: rgba(6, 152, 220, 0.1);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-faq-panel h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.quote-faq-panel details {
  position: relative;
  z-index: 1;
  padding: 17px 0;
  border-top: 1px solid rgba(219, 230, 242, 0.8);
}

.quote-faq-panel details:last-child {
  padding-bottom: 0;
}

.quote-faq-panel summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.quote-faq-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.activity-feed-featured {
  position: relative;
  height: 560px;
  border: 0;
  background:
    linear-gradient(135deg, rgba(3, 77, 158, 0.08), rgba(242, 151, 13, 0.07)),
    #ffffff;
  box-shadow: 0 30px 100px rgba(3, 27, 50, 0.13);
}

.feed-ribbon {
  position: absolute;
  top: 18px;
  right: -48px;
  z-index: 4;
  width: 190px;
  padding: 8px 10px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 14px 34px rgba(236, 99, 9, 0.24);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(35deg);
}

.feed-topbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 24px 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82));
  backdrop-filter: blur(10px);
}

.feed-topbar span,
.feed-topbar strong {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 900;
}

.feed-topbar span {
  color: var(--ink);
}

.feed-topbar strong {
  padding: 7px 11px;
  border-radius: 999px;
  color: #14764b;
  background: rgba(20, 118, 75, 0.1);
}

.feed-topbar i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #17b26a;
  box-shadow: 0 0 0 7px rgba(23, 178, 106, 0.11), 0 0 18px rgba(23, 178, 106, 0.38);
}

.activity-feed-featured::before {
  top: 54px;
  height: 44px;
}

.activity-feed-featured .activity-feed-track {
  gap: 10px;
  padding: 8px 18px 18px;
}

.activity-feed-featured .activity-item {
  position: relative;
  grid-template-columns: 160px minmax(0, 1fr) 116px;
  padding: 16px 18px 16px 20px;
  border: 0;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 30px rgba(3, 27, 50, 0.06);
}

.activity-feed-featured .activity-item::before {
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--electric-blue), var(--amber));
  content: "";
}

.activity-feed-featured .activity-item:nth-child(3n + 1) {
  background: rgba(245, 250, 255, 0.9);
}

.activity-action::before {
  content: "Submitted a quote request";
}

.activity-action {
  font-size: 0;
}

.activity-action::before {
  font-size: 15px;
}

@media (max-width: 1180px) {
  .activity-shell {
    grid-template-columns: 1fr;
  }

  .activity-feed-featured {
    height: 520px;
  }
}

@media (max-width: 920px) {
  .trust-list-quote {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .quote-hero {
    padding: 112px 0 64px;
  }

  .quote-faq-panel {
    padding: 24px;
  }

  .activity-feed-featured .activity-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .feed-topbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* V5 first-screen height balance: keep the quote form aligned with the left confidentiality panel on desktop. */
@media (min-width: 1181px) {
  .quote-grid {
    align-items: stretch;
  }

  .quote-aside {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .quote-aside .trust-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .quote-aside .trust-list-quote {
    flex: 1;
    align-content: space-between;
  }

  .quote-form-compact {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
  }

  .quote-form-compact .compact-form-grid {
    flex: 1;
    grid-template-rows: auto auto minmax(260px, 1fr);
  }

  .quote-form-compact .field.full {
    min-height: 0;
  }

  .quote-form-compact .field.full textarea {
    height: 100%;
    min-height: clamp(260px, 22vw, 340px);
  }
}

@media (max-width: 1180px) {
  .quote-form-compact .field.full textarea {
    min-height: 132px;
  }
}

@media (max-width: 680px) {
  .quote-form-compact .field.full textarea {
    min-height: 118px;
  }
}
