/* GL Insurance Brokers — "message sent" card (Home and Contact quote forms), added 2026-11-09.
   Shown in place of the form after a quote is sent: agent photo, name, the visitor's first name, and a
   3-step timeline (side to side on computers, top to bottom on phones). Everything is scoped to .sent-card
   so it can't change anything else on the page. sent-card.js fills in the name and time. */

/* once sent, the white "Request a Quote" box behind the card goes away */
.form-card.is-sent { background: none; border: 0; box-shadow: none; padding: 0; }
.form-card.is-sent::before, .form-card.is-sent .form-banner { display: none; }
.form-card.is-sent .form-success { padding: 0; text-align: left; }

.sent-card {
  --sc-navy-950: #07152c; --sc-navy-900: #0b2145; --sc-gold-600: #c99429; --sc-gold-500: #d9a835; --sc-gold-400: #e6bd5c; --sc-gold-300: #f0d38f;
  --sc-serif: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --sc-sans: "Manrope", "Manrope Fallback", system-ui, sans-serif;
  --sc-mono: "IBM Plex Mono", ui-monospace, monospace;
  --sc-m: 24px; /* timeline marker size */
  position: relative; isolation: isolate; overflow: hidden;
  max-width: 540px; margin: 0 auto; padding: 38px 32px 34px; border-radius: 8px;
  background: radial-gradient(120% 90% at 100% 0%, #173d75 0%, rgba(23, 61, 117, 0) 55%), linear-gradient(160deg, #0b2145, #07152c);
  color: #fff; text-align: left; font: 400 16px/1.6 var(--sc-sans);
  box-shadow: 0 26px 50px -28px rgba(7, 21, 44, .75);
}
/* thin gold frame just inside the edge */
.sent-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(217, 168, 53, .42); border-radius: 4px; pointer-events: none; }

/* agent: photo beside name and message */
.sent-card .sc-top { position: relative; display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 24px; align-items: center; }
.sent-card .sc-photo { display: block; width: 132px; height: 176px; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px var(--sc-gold-500), 0 16px 30px -14px rgba(0, 0, 0, .55); }
.sent-card .sc-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px; font: 600 12px/1 var(--sc-sans); color: #86f2b7; background: rgba(61, 220, 132, .12); border: 1px solid rgba(61, 220, 132, .35); }
.sent-card .sc-pill i { width: 7px; height: 7px; border-radius: 50%; background: #2fd17a; box-shadow: 0 0 8px rgba(47, 209, 122, .9); }
.sent-card .sc-name { margin: 14px 0 6px; font: 400 34px/1.05 var(--sc-serif); color: #fff; letter-spacing: 0; }
.sent-card .sc-role { display: block; font: 500 11px/1.4 var(--sc-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--sc-gold-300); }
.sent-card .sc-msg { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.sent-card .sc-msg strong { color: #fff; font-weight: 700; }

/* timeline: first step starts at the left edge, last ends at the right edge, middle centred */
.sent-card .sc-steps { list-style: none; margin: 28px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); position: relative; display: grid; grid-template-columns: repeat(3, 1fr); }
.sent-card .sc-steps::before, .sent-card .sc-steps::after { content: ""; position: absolute; top: calc(26px + var(--sc-m) / 2); height: 1px; transform: translateY(-50%); }
.sent-card .sc-steps::before { left: calc(var(--sc-m) / 2); width: calc(50% - var(--sc-m) / 2); background: var(--sc-gold-500); }
.sent-card .sc-steps::after { left: 50%; width: calc(50% - var(--sc-m) / 2); background: repeating-linear-gradient(90deg, var(--sc-gold-500) 0 4px, transparent 4px 9px); opacity: .75; }
.sent-card .sc-steps li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0; padding: 0; }
.sent-card .sc-steps li:first-child { align-items: flex-start; text-align: left; }
.sent-card .sc-steps li:last-child { align-items: flex-end; text-align: right; }
.sent-card .sc-mk { position: relative; display: grid; place-items: center; width: var(--sc-m); height: var(--sc-m); border-radius: 50%; border: 1.5px solid var(--sc-gold-500); background: #0d2547; }
.sent-card .sc-mk svg { width: 12px; height: 12px; fill: none; stroke: var(--sc-gold-400); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sent-card .sc-next .sc-mk { border-style: dashed; }
.sent-card .sc-next .sc-mk::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sc-gold-500); animation: sc-breathe 1.8s ease-in-out infinite; }
.sent-card .sc-steps b { display: block; margin-top: 12px; font: 500 10.5px/1.35 var(--sc-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--sc-gold-300); }
.sent-card .sc-steps small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.4; color: #fff; }
.sent-card .sc-steps small span { white-space: nowrap; }
@keyframes sc-breathe { 50% { transform: scale(.55); opacity: .45; } }

/* phones: tighter card, the steps run top to bottom with the markers down the left side */
@media (max-width: 560px) {
  .sent-card { padding: 26px 16px 24px; }
  .sent-card .sc-top { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
  .sent-card .sc-photo { width: 84px; height: 112px; }
  .sent-card .sc-name { font-size: 24px; }
  .sent-card .sc-role { letter-spacing: .08em; }
  .sent-card .sc-msg { font-size: 14px; }
  .sent-card .sc-steps { grid-template-columns: 1fr; gap: 20px; }
  .sent-card .sc-steps::before, .sent-card .sc-steps::after { display: none; }
  .sent-card .sc-steps li, .sent-card .sc-steps li:first-child, .sent-card .sc-steps li:last-child {
    display: grid; grid-template-columns: var(--sc-m) 1fr; column-gap: 14px; align-items: center; text-align: left; }
  .sent-card .sc-mk { grid-row: 1 / 3; }
  .sent-card .sc-steps b { margin-top: 0; font-size: 10px; letter-spacing: .14em; }
  .sent-card .sc-steps small { margin-top: 2px; font-size: 14px; }
  .sent-card .sc-steps li:not(:last-child)::after {
    content: ""; position: absolute; left: calc(var(--sc-m) / 2); top: calc(50% + var(--sc-m) / 2 + 3px);
    height: calc(100% - var(--sc-m) + 14px); width: 1px; transform: translateX(-50%); background: var(--sc-gold-500); }
  .sent-card .sc-steps li:nth-child(2)::after { background: repeating-linear-gradient(180deg, var(--sc-gold-500) 0 4px, transparent 4px 8px); opacity: .8; }
}
@media (prefers-reduced-motion: reduce) { .sent-card .sc-next .sc-mk::after { animation: none; } }

/* Phones (Alex, 2026-11-10): the line reads "Licensed Agent - GL Brokers" (dash instead of the dot), a little
   smaller, and the top of the photo is level with that line (74px = pill + name above it).
   #free-quote copies so the Home page's scoped rules in home.css don't win. */
@media (max-width: 560px) {
  .sent-card .sc-dot, #free-quote .sent-card .sc-dot { font-size: 0; }
  .sent-card .sc-dot::before, #free-quote .sent-card .sc-dot::before { content: "-"; font-size: 9.5px; }
  .sent-card .sc-role, #free-quote .sent-card .sc-role { font-size: 9.5px; letter-spacing: .06em; }
  .sent-card .sc-top, #free-quote .sent-card .sc-top { align-items: start; }
  .sent-card .sc-photo, #free-quote .sent-card .sc-photo { margin-top: 74px; }
}

/* Cloudflare Turnstile spam check above the quote form's Send button (form-guard.js).
   Height reserved so the page doesn't jump when it appears. */
.cf-check { min-height: 65px; margin: 6px 0 16px; }
.cf-note { margin: 10px 0 0; text-align: center; font-size: 14px; color: #b42318; }
.cf-note:empty { display: none; }

/* Contact page, scrolled header: the phone button uses the company navy (same as the "Prefer to Talk?" box)
   instead of the near-black navy (Alex, 2026-11-09). */
.site-header.is-solid .nav-cta .btn-outline { background: var(--navy-900); border-color: var(--navy-900); }
.site-header.is-solid .nav-cta .btn-outline:hover { background: var(--navy-800); border-color: var(--navy-800); }
