:root {
  --ink: #17332b;
  --paper: #f6f0df;
  --cream: #fffaf0;
  --orange: #f2a93b;
  --gold: #a84e32;
  --sage: #167d78;
  --muted: #627278;
  --line: #d8cdb6;
  --shadow: rgba(23, 45, 54, 0.15);
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html, body { min-width: 320px; min-height: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 7%, rgba(228, 167, 58, 0.22), transparent 22rem),
    linear-gradient(180deg, var(--cream) 0, var(--paper) 28rem);
}
button, input, select { font: inherit; }
a { color: #8a351b; text-underline-offset: 0.18em; }
a:hover { color: var(--orange); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
[hidden] { display: none !important; }

.ggcq-quote-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  --gardengroveinsurance-boundary: 1;
}

.ggcq-quote-masthead {
  width: min(1180px, 100%);
  min-width: 0;
  margin: 0 auto;
  padding: 20px clamp(16px, 3vw, 32px);
  display: grid;
  grid-template-columns: minmax(0, 19rem) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.ggcq-quote-masthead-surface { background: rgba(255, 250, 240, 0.92); }
.ggcq-wordmark {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  text-decoration: none;
}
.ggcq-wordmark > span:last-child { min-width: 0; display: grid; }
.ggcq-wordmark strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.08;
  overflow-wrap: anywhere;
}
.ggcq-wordmark small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.ggcq-wordmark-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 44% 56%;
  background: var(--orange);
  box-shadow: inset 0 0 0 4px var(--gold);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.ggcq-quote-nav {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}
.ggcq-quote-nav a {
  min-width: 0;
  padding: 9px 15px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.ggcq-quote-nav a:first-child { background: var(--ink); color: var(--cream); }
.ggcq-quote-nav a:hover,
.ggcq-quote-nav a:focus-visible { border-color: var(--orange); }

.ggcq-quote-main {
  width: min(960px, calc(100% - 44px));
  min-width: 0;
  margin: 0 auto;
  padding: 52px 0 90px;
}
.ggcq-back-link {
  color: #8a351b;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.4;
}
.ggcq-route-label {
  margin: 30px 0 10px;
  color: #9c401f;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ggcq-quote-main h1 {
  max-width: 800px;
  margin: 0 0 18px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}
.ggcq-quote-lede {
  max-width: 720px;
  margin: 0 0 30px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.58;
}
.ggcq-load-note {
  margin: 0 0 28px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--sage);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 250, 240, 0.9);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
}
.ggcq-status-note-error { border-left-color: var(--orange); color: #78291e; }

.ggcq-quote-form { display: grid; gap: 22px; }
.ggcq-quote-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--orange);
  border-radius: 16px;
  background: rgba(255, 250, 240, 0.96);
  box-shadow: 0 12px 30px var(--shadow);
}
.ggcq-quote-form legend {
  max-width: 100%;
  padding: 0 12px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.ggcq-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px 17px;
  margin-top: 8px;
}
.ggcq-field {
  min-width: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}
.ggcq-field-wide { grid-column: 1 / -1; }
.ggcq-field small { color: var(--muted); font-weight: 500; }
.ggcq-field input,
.ggcq-field select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  margin-top: 7px;
  padding: 11px 13px;
  border: 2px solid #9aa8a3;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}
.ggcq-field input:focus,
.ggcq-field select:focus { border-color: var(--orange); }
.ggcq-quiet-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.ggcq-field-note {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 4px solid var(--gold);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.58;
}
.ggcq-safety-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}
.ggcq-safety-grid label {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.ggcq-safety-grid input {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin: 2px 0 0;
  accent-color: var(--orange);
}

.ggcq-button {
  min-height: 50px;
  padding: 11px 23px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--cream);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
  cursor: pointer;
}
.ggcq-button-primary {
  justify-self: start;
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.ggcq-button-primary:hover { border-color: var(--orange); background: var(--orange); color: #fff; }
.ggcq-button-secondary { border-color: var(--orange); color: #8a351b; }
.ggcq-button:disabled { opacity: 0.65; cursor: wait; }
.ggcq-submit-note {
  margin: -7px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
}
.ggcq-form-error {
  padding: 14px 16px;
  border-left: 6px solid var(--orange);
  border-radius: 0 12px 12px 0;
  background: #fff2ef;
  color: #78291e;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.ggcq-quote-results {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
  border-radius: 16px;
  background: var(--cream);
  box-shadow: 0 12px 30px var(--shadow);
}
.ggcq-quote-results h2 {
  margin: 8px 0 12px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 6vw, 46px);
  font-weight: 700;
  line-height: 1.04;
  overflow-wrap: anywhere;
}
.ggcq-quote-results ul {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.ggcq-quote-results li {
  padding: 18px;
  border-left: 5px solid var(--orange);
  border-radius: 0 11px 11px 0;
  background: var(--paper);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.ggcq-result-carrier { color: var(--ink); font-family: Georgia, "Times New Roman", serif; }
.ggcq-result-price { color: #8a351b; font-size: 14px; font-weight: 900; line-height: 1.4; }

.ggcq-quote-footer {
  min-width: 0;
  padding: 30px max(18px, calc((100vw - 1120px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 20px;
  background: var(--ink);
  color: var(--cream);
}
.ggcq-quote-footer p { margin: 0; font-size: 12px; font-weight: 600; line-height: 1.5; }
.ggcq-quote-footer nav {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}
.ggcq-quote-footer a {
  min-width: 0;
  color: #ffdca2;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .ggcq-quote-masthead {
    padding: 16px;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 16px;
  }
  .ggcq-wordmark-mark { width: 44px; height: 44px; flex-basis: 44px; }
  .ggcq-wordmark strong { font-size: 19px; }
  .ggcq-quote-nav {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 8px;
  }
  .ggcq-quote-nav a { padding: 8px 10px; font-size: 11px; }
  .ggcq-quote-main { width: min(100% - 32px, 960px); padding: 36px 0 62px; }
  .ggcq-quote-main h1 { font-size: 45px; }
  .ggcq-form-grid, .ggcq-safety-grid { grid-template-columns: minmax(0, 1fr); }
  .ggcq-field-wide { grid-column: auto; }
  .ggcq-quote-form fieldset { padding: 22px 16px; }
  .ggcq-button-primary { width: 100%; }
  .ggcq-quote-results li { display: grid; }
  .ggcq-quote-footer { grid-template-columns: minmax(0, 1fr); padding: 27px 18px; }
  .ggcq-quote-footer nav { justify-content: flex-start; }
}

@media (max-width: 360px) {
  .ggcq-quote-masthead { padding-left: 12px; padding-right: 12px; }
  .ggcq-wordmark strong { font-size: 17px; }
  .ggcq-wordmark small { font-size: 9px; }
  .ggcq-quote-main { width: calc(100% - 24px); }
  .ggcq-quote-main h1 { font-size: 39px; }
  .ggcq-quote-form legend { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
