/* =============================================================
   Pool Resurfacing Toowoomba — style.css
   ============================================================= */

/* --- Variables -------------------------------------------- */
:root {
  --clr-primary:       #0369A1;
  --clr-primary-dark:  #075985;
  --clr-primary-pale:  #E0F2FE;
  --clr-accent:        #0EA5E9;
  --clr-text:          #1E293B;
  --clr-text-muted:    #64748B;
  --clr-border:        #CBD5E1;
  --clr-bg-alt:        #F8FAFC;
  --clr-white:         #FFFFFF;
  --clr-warn:          #D97706;
  --clr-warn-pale:     #FEF3C7;
  --clr-warn-border:   #F59E0B;
  --container-width:   1160px;
  --section-pad:       4.5rem;
  --radius:            8px;
  --shadow:            0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg:         0 4px 24px rgba(0,0,0,0.12);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
          Ubuntu, Cantarell, sans-serif;
}

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--clr-text);
  line-height: 1.7;
  background: var(--clr-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--clr-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--clr-text);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.35rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

/* --- Layout Utilities ------------------------------------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-pad) 0;
}

.section--alt {
  background: var(--clr-bg-alt);
}

.section--blue {
  background: var(--clr-primary-pale);
}

.section-title {
  font-size: clamp(1.35rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  margin-bottom: 2.5rem;
  max-width: 680px;
}

.text-center { text-align: center; }
.text-muted   { color: var(--clr-text-muted); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  line-height: 1.3;
}

.btn-primary {
  background: var(--clr-primary);
  color: var(--clr-white);
  border-color: var(--clr-primary);
}

.btn-primary:hover {
  background: var(--clr-primary-dark);
  border-color: var(--clr-primary-dark);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}

.btn-outline:hover {
  background: var(--clr-primary-pale);
  text-decoration: none;
}

.btn-outline-white {
  background: transparent;
  color: var(--clr-white);
  border-color: var(--clr-white);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  text-decoration: none;
}

.btn-white {
  background: var(--clr-white);
  color: var(--clr-primary);
  border-color: var(--clr-white);
}

.btn-white:hover {
  background: var(--clr-primary-pale);
  text-decoration: none;
}

.btn-full { width: 100%; }

/* --- Header / Nav ----------------------------------------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--clr-white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.09);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.site-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-primary);
  text-decoration: none;
  flex-shrink: 0;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.site-brand:hover {
  color: var(--clr-primary-dark);
  text-decoration: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-list a {
  display: block;
  padding: 0.4rem 0.65rem;
  color: var(--clr-text);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 5px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--clr-primary);
  background: var(--clr-primary-pale);
  text-decoration: none;
}

.nav-list .nav-cta a {
  background: var(--clr-primary);
  color: var(--clr-white);
  padding: 0.4rem 0.9rem;
  margin-left: 0.35rem;
}

.nav-list .nav-cta a:hover {
  background: var(--clr-primary-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  gap: 5px;
  border-radius: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero (Homepage) -------------------------------------- */
.hero {
  background: linear-gradient(135deg, #075985 0%, #0369A1 55%, #0284C7 100%);
  color: var(--clr-white);
  padding: 5rem 0 4.5rem;
}

.hero h1 {
  color: var(--clr-white);
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  opacity: 0.92;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 600px;
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

.hero-bullets li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2338BDF8'%3E%3Cpath fill-rule='evenodd' d='M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* --- Hero (Inner Pages) ----------------------------------- */
.page-hero {
  background: var(--clr-primary-pale);
  padding: 2.5rem 0 2.25rem;
  border-bottom: 1px solid var(--clr-border);
}

.page-hero h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  color: var(--clr-primary-dark);
  margin-bottom: 0.75rem;
}

.page-hero-lead {
  font-size: 1.02rem;
  color: var(--clr-text-muted);
  max-width: 640px;
  margin-bottom: 1.25rem;
}

/* --- Breadcrumbs ------------------------------------------ */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
}

.breadcrumb a {
  color: var(--clr-text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--clr-primary);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--clr-border);
  user-select: none;
}

.breadcrumb span[aria-current] {
  color: var(--clr-text);
  font-weight: 500;
}

/* --- Service Cards Grid ----------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-left: 3px solid var(--clr-primary);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: box-shadow 0.18s, border-color 0.18s;
  text-decoration: none;
  color: var(--clr-text);
}

.card:hover {
  box-shadow: var(--shadow);
  border-left-color: var(--clr-accent);
  text-decoration: none;
}

.card h3 {
  font-size: 1rem;
  color: var(--clr-primary);
}

.card p {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  margin: 0;
  flex-grow: 1;
}

.card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: auto;
}

/* --- Feature List (checkmarks) ---------------------------- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 0.65rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230369A1'%3E%3Cpath fill-rule='evenodd' d='M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* --- Signs / Dot List ------------------------------------- */
.signs-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.6rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.signs-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
}

.signs-list li::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--clr-accent);
}

/* --- Plain list (prose context) --------------------------- */
.plain-list {
  list-style: disc;
  padding-left: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.plain-list li {
  font-size: 0.95rem;
}

/* --- Process Steps ---------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  counter-reset: steps;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step {
  counter-increment: steps;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.step::before {
  content: counter(steps);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--clr-primary);
  color: var(--clr-white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.step p {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  margin: 0;
}

/* --- Comparison Table ------------------------------------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--clr-white);
  font-size: 0.92rem;
  min-width: 580px;
}

.compare-table th {
  background: var(--clr-primary);
  color: var(--clr-white);
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.compare-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--clr-border);
  vertical-align: top;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table tr:nth-child(even) td {
  background: var(--clr-bg-alt);
}

/* --- FAQ Accordion ---------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-item {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: var(--clr-white);
  border: none;
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background 0.15s;
}

.faq-question:hover {
  background: var(--clr-bg-alt);
}

.faq-item.faq-open .faq-question {
  background: var(--clr-primary-pale);
  color: var(--clr-primary-dark);
}

.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s;
  color: var(--clr-text-muted);
}

.faq-item.faq-open .faq-chevron {
  transform: rotate(180deg);
  color: var(--clr-primary);
}

.faq-answer {
  display: none;
  padding: 0.25rem 1.25rem 1rem;
  font-size: 0.92rem;
  color: var(--clr-text);
  line-height: 1.7;
  background: var(--clr-white);
}

.faq-item.faq-open .faq-answer {
  display: block;
}

.faq-answer p { margin-bottom: 0.65rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* --- Notice Boxes ----------------------------------------- */
.notice {
  padding: 0.9rem 1rem 0.9rem 1.2rem;
  border-radius: var(--radius);
  border-left: 4px solid;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.notice:last-child { margin-bottom: 0; }

.notice-info {
  background: var(--clr-primary-pale);
  border-left-color: var(--clr-primary);
  color: #0C4A6E;
}

.notice-warn {
  background: var(--clr-warn-pale);
  border-left-color: var(--clr-warn-border);
  color: #78350F;
}

.notice strong { font-weight: 600; }

/* --- CTA Band --------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, #075985 0%, #0369A1 100%);
  color: var(--clr-white);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--clr-white);
  margin-bottom: 0.75rem;
}

.cta-band p {
  opacity: 0.88;
  max-width: 560px;
  margin: 0 auto 1.75rem;
  font-size: 1.02rem;
}

.cta-band-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

/* --- Related Pages Grid ----------------------------------- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 1rem;
}

.related-card {
  display: block;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  text-decoration: none;
  color: var(--clr-text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: box-shadow 0.15s, border-color 0.15s, color 0.15s;
}

.related-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--clr-accent);
  color: var(--clr-primary);
  text-decoration: none;
}

.related-card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--clr-text-muted);
  margin-bottom: 0.3rem;
}

/* --- Form Styles ------------------------------------------ */
.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--clr-text);
}

.form-label .req {
  color: var(--clr-primary);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--clr-border);
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--clr-text);
  background: var(--clr-white);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.12);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  margin-top: 0.3rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--clr-text-muted);
}

.form-check input[type="checkbox"] {
  margin-top: 0.15rem;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--clr-primary);
  cursor: pointer;
}

.form-check a { color: var(--clr-primary); }

.form-notice {
  font-size: 0.83rem;
  color: var(--clr-text-muted);
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--clr-border);
}

.form-notice a { color: var(--clr-primary); }

/* --- Quote Page Layout ------------------------------------ */
.quote-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}

.quote-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 84px;
}

.sidebar-card {
  background: var(--clr-primary-pale);
  border-radius: var(--radius);
  padding: 1.2rem;
  border-left: 3px solid var(--clr-primary);
}

.sidebar-card h3 {
  font-size: 0.92rem;
  color: var(--clr-primary-dark);
  margin-bottom: 0.55rem;
}

.sidebar-card ul {
  list-style: disc;
  padding-left: 1rem;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

/* --- Three-column layout ---------------------------------- */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* --- Price Callout Box (per service section) ------------- */
.price-callout {
  background: var(--clr-primary-pale);
  border-left: 4px solid var(--clr-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.4rem;
  margin-bottom: 0.75rem;
}

.price-callout h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}

.price-callout p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--clr-text);
  margin: 0;
}

/* --- Cost Callout Box (legacy) ---------------------------- */
.callout-box {
  background: var(--clr-primary-pale);
  border: 1px solid var(--clr-accent);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
}

.callout-box h3 {
  color: var(--clr-primary-dark);
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.price-item {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: 6px;
  padding: 0.65rem 0.9rem;
}

.price-item strong {
  display: block;
  color: var(--clr-primary);
  font-size: 1rem;
  margin-bottom: 0.1rem;
}

.price-item span {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
}

.price-disclaimer {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  margin: 0;
}

/* --- Two-column layout ------------------------------------ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

/* --- Inline icon items ------------------------------------ */
.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.icon-list .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--clr-primary);
}

/* --- Footer ----------------------------------------------- */
#site-footer {
  background: #1E293B;
  color: #94A3B8;
  padding: 3.5rem 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand-link {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-white);
  text-decoration: none;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-brand-link:hover { color: var(--clr-accent); }

.footer-desc {
  font-size: 0.86rem;
  line-height: 1.65;
  color: #94A3B8;
}

.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--clr-white);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.86rem;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--clr-white);
  text-decoration: none;
}

.footer-bottom {
  padding: 1.2rem 0;
  font-size: 0.8rem;
  color: #64748B;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom a {
  color: #64748B;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #94A3B8;
}

/* --- Legal / Prose Pages ---------------------------------- */
.prose {
  max-width: 780px;
}

.prose h2 {
  font-size: 1.1rem;
  margin-top: 2rem;
  margin-bottom: 0.55rem;
  color: var(--clr-primary-dark);
  padding-top: 0.5rem;
  border-top: 1px solid var(--clr-border);
}

.prose h2:first-of-type {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.prose p {
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  color: var(--clr-text);
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
  margin-bottom: 1rem;
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.prose li {
  font-size: 0.92rem;
  margin-bottom: 0.3rem;
  color: var(--clr-text);
}

.prose a { color: var(--clr-primary); }

/* --- Thank-You Page --------------------------------------- */
.ty-wrap {
  min-height: 62vh;
  background: var(--clr-primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.ty-inner {
  max-width: 560px;
  width: 100%;
}

.ty-card {
  background: var(--clr-white);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
  padding: 2.5rem 2rem;
  text-align: center;
}

.ty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--clr-primary);
  background: var(--clr-primary-pale);
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
}

.ty-card h1 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  margin-bottom: 0.5rem;
}

.ty-card > p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.ty-notices {
  text-align: left;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ty-notice {
  padding: 0.85rem 1rem 0.85rem 1.1rem;
  border-radius: 6px;
  border-left: 4px solid;
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: left;
}

.ty-notice-info {
  background: var(--clr-primary-pale);
  border-left-color: var(--clr-primary);
  color: #0C4A6E;
}

.ty-notice-warn {
  background: var(--clr-warn-pale);
  border-left-color: var(--clr-warn-border);
  color: #78350F;
}

.ty-notice strong { font-weight: 600; }

.ty-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}

.ty-btn-outline {
  background: var(--clr-white);
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}

.ty-btn-outline:hover {
  background: var(--clr-primary-pale);
  text-decoration: none;
}

.ty-btn-solid {
  background: var(--clr-primary);
  color: var(--clr-white);
  border-color: var(--clr-primary);
}

.ty-btn-solid:hover {
  background: var(--clr-primary-dark);
  text-decoration: none;
}

.ty-useful {
  padding: 3rem 0;
}

/* --- Responsive ------------------------------------------- */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .quote-layout {
    grid-template-columns: 1fr;
  }

  .quote-sidebar {
    order: -1;
    flex-direction: row;
    flex-wrap: wrap;
    position: static;
  }

  .sidebar-card {
    flex: 1;
    min-width: 240px;
  }
}

@media (max-width: 900px) {
  .form-layout {
    grid-template-columns: 1fr;
  }

  .form-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 3rem;
  }

  .nav-toggle {
    display: flex;
  }

  #nav-menu {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--clr-white);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    display: none;
    padding: 0.75rem 0 1rem;
    border-top: 1px solid var(--clr-border);
  }

  #nav-menu.nav-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 1rem;
  }

  .nav-list a {
    display: block;
    padding: 0.7rem 0.75rem;
    font-size: 0.95rem;
    border-radius: 6px;
  }

  .nav-list .nav-cta {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--clr-border);
  }

  .nav-list .nav-cta a {
    text-align: center;
    margin-left: 0;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .cta-band-btns {
    flex-direction: column;
    align-items: center;
  }

  .cta-band-btns .btn {
    width: 100%;
    max-width: 320px;
  }
}

/* ============================================================
   THANK YOU PAGE
   ============================================================ */

.ty-wrap {
  background: #EFF6FF; /* very light brand-primary tint */
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem 4rem;
}

.ty-inner {
  width: 100%;
  max-width: 560px;
}

.ty-card {
  background: var(--clr-white);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
  padding: 2.5rem 2.5rem 2rem;
  text-align: center;
}

.ty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--clr-primary);
  background: #DBEAFE;
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.ty-card h1 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--clr-text);
}

.ty-subtext {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  margin-bottom: 1.5rem;
}

/* Notice boxes — left border only, no all-around border */
.ty-notice {
  text-align: left;
  padding: 0.85rem 1rem;
  margin-bottom: 0.85rem;
  border-left: 4px solid var(--clr-primary);
  background: #F0F9FF;
  border-radius: 0 6px 6px 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--clr-text);
}

.ty-notice-warn {
  border-left-color: #D97706;
  background: #FFFBEB;
}

.ty-notice strong {
  display: inline;
}

.ty-notice a {
  color: var(--clr-primary);
}

.ty-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.ty-btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.ty-btn-outline {
  background: var(--clr-white);
  border: 1.5px solid var(--clr-primary);
  color: var(--clr-primary);
}

.ty-btn-outline:hover {
  background: #EFF6FF;
}

.ty-btn-solid {
  background: var(--clr-primary);
  border: 1.5px solid var(--clr-primary);
  color: white;
}

.ty-btn-solid:hover {
  background: var(--clr-primary-dark);
  border-color: var(--clr-primary-dark);
}

/* Useful Information grid below card */
.ty-useful {
  margin-top: 2.5rem;
  text-align: center;
}

.ty-useful h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 1rem;
}

.ty-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.ty-link-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  text-decoration: none;
  color: var(--clr-text);
  font-size: 0.875rem;
  font-weight: 600;
  transition: border-color 0.15s, box-shadow 0.15s;
  display: block;
  text-align: left;
}

.ty-link-card:hover {
  border-color: var(--clr-primary);
  box-shadow: 0 2px 8px rgba(3,105,161,0.1);
}

.ty-link-card span {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--clr-text-muted);
  margin-top: 0.2rem;
}

/* ============================================================
   LEGAL PAGES — Privacy Policy + Terms & Disclaimer
   ============================================================ */

.section--legal {
  padding: var(--section-pad) 0;
}

.legal-body {
  max-width: 780px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--clr-text);
}

.legal-body p {
  margin-bottom: 0.85rem;
}

.legal-body h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--clr-border);
}

.legal-body h2:first-of-type {
  margin-top: 1.5rem;
}

.legal-body ul,
.legal-body ol {
  padding-left: 1.4rem;
  margin-bottom: 0.85rem;
}

.legal-body ul li,
.legal-body ol li {
  margin-bottom: 0.3rem;
  color: var(--clr-text-muted);
}

.legal-nav-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--clr-border);
}

.legal-nav-links a {
  color: var(--clr-primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.legal-nav-links a:hover {
  text-decoration: underline;
}

/* ============================================================
   QUOTE PAGE — Form Layout
   ============================================================ */

.page-hero--compact {
  padding: 2.5rem 0 2rem;
}

.section--form-layout {
  background: var(--clr-bg-alt);
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
}

.form-main {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  padding: 2rem 2rem 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--clr-text);
}

.required-mark {
  color: var(--clr-primary);
  margin-left: 2px;
}

.optional-mark {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  margin-left: 3px;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--clr-border);
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--clr-text);
  background: var(--clr-white);
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.2rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.12);
}

.form-textarea.form-control {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.form-group--consent {
  margin-top: 0.5rem;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--clr-text-muted);
  cursor: pointer;
}

.form-checkbox {
  margin-top: 0.2rem;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--clr-primary);
  cursor: pointer;
}

.form-checkbox-label a {
  color: var(--clr-primary);
  text-decoration: underline;
}

.form-actions {
  margin-top: 1.5rem;
}

.btn-submit {
  width: 100%;
  font-size: 1rem;
  padding: 0.9rem 1.5rem;
}

.form-after-submit {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}

.form-after-submit a {
  color: var(--clr-primary);
}

/* --- Guidance Cards (quote page sidebar) ------------------- */
.form-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.guidance-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  padding: 1.25rem 1.4rem;
}

.guidance-card h3,
.guidance-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.guidance-card h3 svg,
.guidance-card h4 svg {
  color: var(--clr-primary);
  flex-shrink: 0;
}

.guidance-card p {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  margin-bottom: 0.6rem;
}

.guidance-card ul {
  list-style: disc;
  padding-left: 1.2rem;
  font-size: 0.875rem;
  color: var(--clr-text-muted);
}

.guidance-card ul li {
  margin-bottom: 0.3rem;
}

.guidance-card--neutral {
  background: #F0FDF4;
  border-color: #BBF7D0;
}

.guidance-card--neutral h3 {
  color: #166534;
}

.guidance-card--neutral h3 svg {
  color: #16A34A;
}

.guidance-card--neutral p {
  color: #374151;
}

.guidance-card--links h4 {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.guidance-card--links ul {
  list-style: none;
  padding-left: 0;
}

.guidance-card--links ul li {
  border-bottom: 1px solid var(--clr-border);
}

.guidance-card--links ul li:last-child {
  border-bottom: none;
}

.guidance-card--links ul li a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.875rem;
  color: var(--clr-primary);
  text-decoration: none;
}

.guidance-card--links ul li a:hover {
  text-decoration: underline;
}

/* ============================================================
   SERVICE AREAS PAGE
   ============================================================ */

.signs-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.4rem 1.5rem;
}

.signs-list li {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.signs-list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-accent);
  flex-shrink: 0;
}

@media (max-width: 520px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

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

  .form-sidebar {
    grid-template-columns: 1fr;
  }

  .form-main {
    padding: 1.5rem 1.25rem 1.25rem;
  }

  .signs-list {
    grid-template-columns: 1fr;
  }

  .ty-card {
    padding: 2rem 1.25rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }

  .three-col {
    grid-template-columns: 1fr;
  }
}
