/* /gc — AI estimating for general contractors.
   Rides on the main /styles.css tokens (--blue, --yellow, --gray, Sora);
   only what the homepage doesn't already have is defined here. */

/* ---------------- hero ---------------- */
.gc-hero {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  padding: 56px 0 64px;
}
.gc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 440px at 14% -12%, rgba(232, 167, 67, 0.26), transparent 66%),
    radial-gradient(640px 420px at 90% 106%, rgba(232, 167, 67, 0.12), transparent 62%);
}
.gc-hero > .container { position: relative; }
.gc-hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }

.gc-pill {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(232, 167, 67, 0.55);
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}
.gc-h1 {
  margin-top: 22px;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.gc-h1 span { color: var(--yellow); }
.gc-lede {
  max-width: 52ch;
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-gray);
}
.gc-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.gc-btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.gc-btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.gc-hero-fine { margin-top: 18px; font-size: 14px; color: rgba(196, 198, 205, 0.8); }

/* the estimate as the homeowner receives it */
.gc-quote {
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
  padding: 22px;
  border-radius: var(--border-radius-md);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.gc-quote-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.gc-quote-title { font-size: 17px; font-weight: 800; color: var(--blue); line-height: 1.25; }
.gc-quote-meta { margin-top: 4px; font-size: 13.5px; color: #666; }
.gc-quote-flag {
  flex: none;
  padding: 4px 10px;
  border-radius: var(--border-radius-sm);
  background: var(--yellow);
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.gc-quote-items { margin-top: 18px; border-top: 1px solid #e6e6e6; }
.gc-quote-items li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #e6e6e6;
  font-size: 14.5px;
  line-height: 1.4;
  color: #444;
}
.gc-quote-items b { font-weight: 700; color: var(--blue); white-space: nowrap; }
.gc-quote-total {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  font-size: 18px;
  font-weight: 900;
  color: var(--blue);
}
.gc-quote-btn {
  margin-top: 14px;
  padding: 12px;
  border-radius: var(--border-radius-sm);
  background: var(--yellow);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}
.gc-quote-cap { margin-top: 12px; text-align: center; font-size: 13px; color: #666; }

/* ---------------- stats ---------------- */
.gc-stats { border-bottom: 1px solid #e6e6e6; }
.gc-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 16px;
  text-align: center;
}
.gc-stat-grid div { display: grid; gap: 4px; }
.gc-stat-grid strong { font-size: 30px; font-weight: 900; color: var(--blue); line-height: 1; }
.gc-stat-grid span { font-size: 14px; color: #666; line-height: 1.4; }

/* ---------------- the two modes ---------------- */
.gc-modes { display: grid; grid-template-columns: 1fr; gap: 22px; padding-bottom: var(--space-40); }
.gc-mode {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid #e2e4ea;
  border-radius: var(--border-radius-md);
  padding: 26px 24px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}
.gc-mode-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.gc-mode-num {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: var(--border-radius-sm);
  background: var(--yellow);
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}
.gc-mode h3 { font-size: 23px; font-weight: 800; color: var(--blue); letter-spacing: -0.01em; }
.gc-mode-when {
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: #7b8090;
}
.gc-mode-lede { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: #555; }
.gc-tagLive, .gc-tagSoon {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.gc-tagLive { background: #e6f4ec; color: #1d6b41; border: 1px solid #b6ddc7; }
.gc-tagSoon { background: var(--gray); color: #6a6f7d; border: 1px solid #d9dbe2; }

.gc-steps { margin-top: 20px; display: grid; gap: 12px; }
.gc-steps li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  line-height: 1.55;
  color: #555;
}
.gc-steps li b { color: var(--blue); font-weight: 700; }
.gc-steps li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 100%;
  background: var(--yellow)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E")
    center / 11px 11px no-repeat;
}
.gc-mode-foot {
  margin-top: auto;
  padding-top: 18px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #777;
}
.gc-mode-foot b { color: var(--blue); }

/* ---------------- what it counts ---------------- */
.gc-counts { display: grid; grid-template-columns: 1fr; gap: 16px; padding-bottom: var(--space-40); }
.gc-count {
  padding: 20px;
  border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.gc-count h3 { font-size: 17px; font-weight: 800; color: var(--white); }
.gc-count p { margin-top: 7px; font-size: 14.5px; line-height: 1.6; color: var(--text-gray); }

/* ---------------- insurance strip ---------------- */
.gc-claim {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
  padding-bottom: var(--space-40);
}
.gc-claim-list { display: grid; gap: 12px; }
.gc-claim-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  line-height: 1.55;
  color: #555;
}
.gc-claim-list li b { color: var(--blue); }
.gc-claim-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 100%;
  background: var(--yellow)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E")
    center / 11px 11px no-repeat;
}
.gc-claim-card {
  border: 1px solid #e2e4ea;
  border-radius: var(--border-radius-md);
  background: #f8f9fb;
  padding: 18px 20px;
}
.gc-claim-card .gc-claim-head {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: #8a8f9c;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e2e4ea;
}
.gc-claim-row { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; font-size: 14.5px; color: #555; }
.gc-claim-row b { color: var(--blue); white-space: nowrap; }

/* ---------------- pricing / fine ---------------- */
.gc-price-wrap { display: flex; justify-content: center; padding-bottom: 16px; }
.gc-fine {
  max-width: 62ch;
  margin: 24px auto 0;
  padding-bottom: var(--space-40);
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-gray);
}

/* ---------------- faq ---------------- */
.gc-faq { display: grid; gap: 12px; padding-bottom: var(--space-40); }
.gc-faq-item { background: var(--gray); border-radius: var(--border-radius-md); padding: 2px 20px; }
.gc-faq-item summary {
  position: relative;
  padding: 16px 34px 16px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  list-style: none;
}
.gc-faq-item summary::-webkit-details-marker { display: none; }
.gc-faq-item summary::after {
  content: "";
  position: absolute;
  right: 4px; top: 22px;
  width: 9px; height: 9px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.gc-faq-item[open] summary::after { transform: rotate(-135deg); top: 26px; }
.gc-faq-item p { padding: 0 0 18px; font-size: 15.5px; line-height: 1.65; color: #555; }

/* ---------------- book form ---------------- */
.gc-book { scroll-margin-top: calc(var(--header-h) + 10px); }
.gc-form[hidden] { display: none; }
.gc-form { display: grid; grid-template-columns: 1fr; gap: 18px; padding-bottom: var(--space-40); }
.gc-field { display: grid; gap: 6px; }
.gc-field label { font-size: 14px; font-weight: 700; color: var(--blue); }
.gc-field input,
.gc-field select,
.gc-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #dcdcdc;
  border-radius: var(--border-radius-sm);
  background: var(--white);
  font-family: inherit;
  font-size: 16px;
  color: var(--black);
  transition: border-color 0.2s;
}
.gc-field textarea { resize: vertical; min-height: 100px; }
.gc-field input:focus,
.gc-field select:focus,
.gc-field textarea:focus { outline: none; border-color: var(--yellow); }
.gc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gc-form-error { margin: 0; color: #c0392b; font-size: 14.5px; font-weight: 600; }
.gc-form-fine { margin-top: 12px; text-align: center; font-size: 13.5px; color: #666; }
.gc-form-done { max-width: 460px; margin: 0 auto; padding: 32px 28px calc(var(--space-40) + 12px); text-align: center; }
.gc-form-check {
  width: 52px; height: 52px; margin: 0 auto 14px;
  border-radius: 100%; background: var(--yellow); color: var(--white);
  font-size: 26px; line-height: 52px;
}
.gc-form-done h3 { font-size: 24px; font-weight: 800; color: var(--blue); }
.gc-form-done p { margin-top: 8px; font-size: 16px; color: #555; }

/* ---------------- final ---------------- */
.gc-final { padding-bottom: calc(var(--space-40) * 1.5); }
.gc-final-text { max-width: 54ch; margin: 0 auto 26px; font-size: 17px; line-height: 1.6; color: #555; }

/* ---------------- responsive ---------------- */
@media (min-width: 768px) {
  .gc-hero { padding: 80px 0 88px; }
  .gc-h1 { font-size: 54px; }
  .gc-lede { font-size: 19px; }
  .gc-stat-grid { grid-template-columns: repeat(4, 1fr); }
  .gc-modes { grid-template-columns: 1fr 1fr; }
  .gc-counts { grid-template-columns: 1fr 1fr; }
  .gc-claim { grid-template-columns: 1.05fr 0.95fr; gap: 34px; }
  .gc-form { grid-template-columns: 1fr 1fr; gap: 20px 24px; }
  .gc-field-full { grid-column: 1 / -1; }
  .gc-form-error { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .gc-hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .gc-counts { grid-template-columns: repeat(4, 1fr); }
}
