/* Core design tokens */
:root {
  --color-bg: #f5f5f5;
  --color-page: #fff;
  --color-primary: #007ACC;
  --color-dark: #111;
  --color-text: #222;
  --color-muted: #555;
  --radius: 8px;
  --spacing-sm: 0.5rem;
  --spacing: 1rem;
  --spacing-lg: 2rem;
  --font-base: Arial, sans-serif;
}

/* Smooth scrolling for in-page anchors */
html {
  scroll-behavior: smooth;
}

/* Reset and base styles */
body {
  font-family: var(--font-base);
  background: var(--color-bg);
  color: var(--color-text);
  margin: 0;
  padding: var(--spacing);
}

a:focus,
button:focus {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing) var(--spacing-lg);
  background: var(--color-dark);
}

/* Logo sizing */
.logo {
  max-height: 50px;
  width: auto;
}

.logo-container {
  display: inline-block;
  text-decoration: none;
}

/* Layout container */
.container {
  max-width: 960px;
  margin-inline: auto;
  padding-inline: var(--spacing);
}

/* wrap core page sections in a card */
.page-card {
  background: var(--color-page);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-radius: var(--radius);
  padding: var(--spacing-lg);
  margin-block: var(--spacing-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.contact-cards .page-card {
  font-size: 1.25rem;   /* about 20px */
  line-height: 1.6;     /* more readable spacing */
}

/* Hero section */
.hero {
  position: relative;
  background: url('../images/hero.jpg') center/cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: var(--color-page);
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  padding: calc(var(--spacing-lg) * 2);
  border-radius: var(--radius);
}

.page-hero .container {
  padding-top: var(--spacing-lg);  /* push text down from very top */
  text-align: center;              /* center text block */
}

.hero-logo-large {
  display: block;
  margin-block-end: var(--spacing-lg);
  max-height: 100px;
  width: auto;
}

.hero h1 {
  font-size: 2.5rem;
  margin-block-end: var(--spacing-sm);
}

.hero p {
  font-size: 1.25rem;
  margin-block-end: var(--spacing);
}

/* Services teaser */
.services-teaser {
  text-align: center;
  padding: var(--spacing-lg) var(--spacing);
  background: var(--color-page);
}

.services-teaser h2 {
  font-size: 2rem;
  margin-block-end: var(--spacing);
}

.services-teaser ul {
  list-style: none;
  padding: 0;
  margin-block-end: calc(var(--spacing) * 1.5);
}

.services-teaser li {
  font-size: 1.125rem;
  margin-block: var(--spacing-sm) 0;
}

/* Footer */
footer {
  background: var(--color-dark);
  color: var(--color-page);
  padding: var(--spacing-lg) var(--spacing);
  text-align: center;
  font-size: 0.8em;
}

.footer-container {
  max-width: 900px;
  margin-inline: auto;
}

.footer-logo img {
  width: 80px;
  margin-block-end: var(--spacing-sm);
}

.footer-links {
  margin-block: var(--spacing-sm) var(--spacing);
}

.footer-links a {
  color: #ccc;
  margin-inline: var(--spacing-sm);
  text-decoration: none;
}

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

.footer-contact p {
  margin-block: 0;
  color: var(--color-muted);
}

/* Form and TOS */
fieldset.tos {
  margin-block: var(--spacing-lg) 0;
  padding: var(--spacing);
  border: 1px solid #ccc;
}

fieldset.tos legend {
  font-weight: bold;
  padding-inline: var(--spacing-sm);
}

fieldset.tos object {
  display: block;
  border: 1px solid #ddd;
  margin-block-end: var(--spacing-sm);
}

fieldset.tos .tos-accept {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

fieldset.tos .tos-accept input[type="checkbox"] {
  margin-inline-end: var(--spacing-sm);
}

form fieldset {
  margin-block-end: var(--spacing-lg);
}

form fieldset label,
form fieldset .form-group {
  display: block;
  margin-block-end: var(--spacing-sm);
}

.radio-group {
  display: flex;
  align-items: center;
  gap: var(--spacing);
  margin-block-start: var(--spacing-sm);
}

.date-time-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

@media (min-width: 600px) {
  .date-time-group {
    flex-direction: row;
    align-items: center;
  }
  .date-time-group input {
    flex: 1;
  }
}

.drop-zone {
  border: 2px dashed #aaa;
  padding: var(--spacing);
  text-align: center;
  cursor: pointer;
  margin-block-end: var(--spacing-sm);
  transition: border-color 0.2s;
}

.drop-zone.hover {
  border-color: #666;
}

.drop-zone input {
  display: none;
}

.hint {
  display: block;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-block: -0.5rem var(--spacing);
}

form fieldset:not(.tos) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing) calc(var(--spacing) * 2);
  align-items: start;
}

form fieldset:not(.tos) > legend {
  grid-column: 1 / -1;
  margin-block-end: var(--spacing-sm);
}

.fullwidth {
  grid-column: 1 / -1 !important;
}

@media (min-width: 800px) {
  #service-descriptions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing);
  }
  #service-descriptions > h1 {
    grid-column: 1 / -1;
  }
}

#service-descriptions {
  padding: calc(var(--spacing-lg) * 2) var(--spacing);
  background: #f9f9f9;
}

#service-descriptions h1 {
  text-align: center;
  margin-block-end: var(--spacing-lg);
}

.service {
  background: var(--color-page);
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: var(--spacing);
  display: flex;
  flex-direction: column;
  align-items: start;
}

.service h2 {
  margin-block-start: var(--spacing);
}

.service p {
  flex-grow: 1;
  font-size: 1.125rem;   /* ~18px, a bit bigger */
 line-height: 1.6;      /* more readable */
}

.btn {
  display: inline-block;
  margin-block-start: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing);
  background-color: var(--color-primary);
  color: var(--color-page);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background-color 0.2s;
}

/* center CTA buttons inside each service card */
.service .btn {
  margin-left: auto;
  margin-right: auto;
  display: block;           /* ensure margin auto works */
}

.btn:hover {
  transform: scale(1.02);
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

/* Sticky CTA for mobile */
.sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-primary);
    text-align: center;
    padding-block: var(--spacing-sm);
    box-shadow: 0 -2px 6px rgba(0,0,0,0.2);
    z-index: 1000;
  }
  .sticky-cta .btn {
    color: var(--color-page);
    font-size: 1.125rem;
    padding: var(--spacing-sm) calc(var(--spacing)*1.5);
  }
}

/* Contact meta */
.contact-meta dt {
  font-size: 1rem;
  font-weight: bold;
  margin-block-start: var(--spacing);
}

.contact-meta dd {
  font-size: 0.875rem;
  margin-block: 0.25rem var(--spacing);
  margin-inline-start: 1.5rem;
  line-height: 1.4;
}

.map {
  margin-block: var(--spacing-lg) 0;
}

.map h2 {
  text-align: center;
  margin-block-end: var(--spacing);
}

.hours {
  margin-block: var(--spacing-lg) 0;
}

.hours table {
  width: 100%;
  border-collapse: collapse;
}

.hours th,
.hours td {
  border: 1px solid #ddd;
  padding: var(--spacing-sm);
  text-align: left;
}

.hours th {
  background: #f0f0f0;
}

.breadcrumbs {
  font-size: 0.9rem;
  margin-block: var(--spacing);
  display: none;
}

/* Hide skip link visually but keep it accessible */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Make it visible when keyboard users tab to it */
.skip-link:focus {
  position: fixed;       /* anchor to viewport */
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  overflow: visible;
  z-index: 10000;
  padding: var(--spacing-sm) var(--spacing);
  background: var(--color-primary);
  color: var(--color-page);
  text-decoration: none;
  outline: 3px solid var(--color-page);
  outline-offset: 2px;
}

/* Teaser‑grid: horizontal cards with responsive wrap */
.teaser-grid {
  display: flex;                            /* flex row */
  flex-wrap: wrap;                          /* wrap on small screens */
  gap: var(--spacing-lg);                   /* space between cards */
  justify-content: center;                  /* center items */
  margin-block: var(--spacing-lg) 0;        /* vertical spacing around grid */
}

.teaser-item {
  flex: 1 1 calc(33.333% - var(--spacing-lg));  /* three per row, minus gap */
  max-width: 320px;                             /* cap card width */
  background: var(--color-page);
  padding: var(--spacing);
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}

/* Stack full‑width on mobile */
@media (max-width: 600px) {
  .teaser-item {
    flex: 1 1 100%;
    max-width: none;
  }
}

/* FAQ Spacing & Typography */
.faq {
  padding: var(--spacing-lg) var(--spacing);      /* more padding around the whole section */
}

.faq h2 {
  font-size: 2rem;                                /* larger heading */
  margin-block-end: var(--spacing-lg);
}

.faq details {
  margin-block-end: var(--spacing-lg);            /* space between each Q&A block */
  padding: var(--spacing);                        /* pad inside each block */
  background: var(--color-page);                  /* white bg for contrast */
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.faq summary {
  font-size: 1.25rem;                             /* bigger question text */
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.faq summary::marker {
  font-size: 1.5rem;                              /* larger disclosure arrow */
}

.faq p {
  margin-top: var(--spacing-sm);
  line-height: 1.6;                               /* more readable paragraphs */
}

/* — Make the .button look like a prominent call‑to‑action — */
.button {
  display: inline-block;
  padding: var(--spacing) var(--spacing-lg);
  font-size: 1.125rem;                 /* bump up the text size */
  font-weight: 600;                    /* make it bold */
  background-color: var(--color-primary);
  color: var(--color-page);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

/* full‑width variant for your form submit */
.button.fullwidth {
  display: block;
  width: 100%;
  margin-block: var(--spacing-lg);     /* add some breathing room above/below */
}

/* hover & focus states */
.button:hover,
.button:focus {
  background-color: var(--color-dark);
  transform: scale(1.02);
}

/* — Quote Form: Section & Fieldset Styling — */
#quoteForm {
  max-width: 800px;
  margin: 0 auto;
}

/* Fieldsets get a card‑like container */
#quoteForm fieldset {
  border: none;
   background: #fff;
  padding: calc(var(--spacing) * 1.5);
  margin-bottom: var(--spacing-lg);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Section titles */
#quoteForm fieldset legend {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing);
  padding: 0 var(--spacing-sm);
  color: var(--color-dark);
}

/* Form‑group wrappers */
#quoteForm .form-group {
  margin-bottom: var(--spacing);
}

/* Labels & Inputs full‑width */
#quoteForm .form-group label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
}

#quoteForm .form-group input,
#quoteForm .form-group select,
#quoteForm .form-group textarea {
  width: 100%;
  padding: var(--spacing-sm);
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 1rem;
  line-height: 1.4;
}

/* Make error messages sit right below fields */
#quoteForm .error-message {
  margin-top: var(--spacing-sm);
  font-size: 0.875rem;
}

/* Full‑width items (TOS, submit button) span both columns */
  #quoteForm fieldset.tos,
  #quoteForm button[type="submit"] {
    grid-column: 1 / -1;
  }

  /* — enlarge text on the About page — */
#about-content {
  font-size: 1.25rem;   /* ~20px */
  line-height: 1.6;     /* better readability */
}

/* (Optional) bump up sub‑heading size too */
#about-content h2 {
  font-size: 1.5rem;    /* ~24px */
}

/* — Lift homepage teaser cards on hover — */
.teaser-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.teaser-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Special full‑width items */
#quoteForm .fullwidth {
  grid-column: 1 / -1 !important;
}

/* Terms‑of‑Service embed styling */
#quoteForm fieldset.tos object {
  border: 1px solid #ddd;
  border-radius: var(--radius);
}

/* — Align Runs & Drives radio options — */
#quoteForm .form-group:nth-of-type(3) .radio-group,
#quoteForm .radio-group {
  width: 100%;                     /* match other inputs */
  display: flex;                   /* lay options in a row */
  gap: var(--spacing-lg);          /* space between Yes/No */
  margin-top: var(--spacing-sm);   /* match input spacing */
}

#quoteForm .radio-group label {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);          /* space between dot and text */
}

/* 1) Make the whole form a grid container */
#quoteForm {
  display: grid;
  grid-template-columns: 1fr;           /* single‑column by default */
  gap: var(--spacing-lg);               /* space between sections */
}

/* 2) On larger viewports, switch to two columns */
@media (min-width: 900px) {
  #quoteForm {
    grid-template-columns: 1fr 1fr;     /* two equal columns */
  }

}

/* ── CONSOLIDATED NAV STYLES ───────────────────────────── */
header nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: var(--spacing);
  justify-content: center;
}

header nav .nav-list li {
  margin: 0;
}

header nav .nav-list a {
  white-space: nowrap;
  display: inline-block;
  padding: 0.75rem 1rem;
  color: var(--color-page);
  text-decoration: none;
  transition: color 0.2s;
}

header nav .nav-list a:hover,
header nav .nav-list a:focus {
  color: var(--color-primary);
}

header nav .nav-list a[aria-current="page"] {
  color: var(--color-primary);
  font-weight: 600;
}

.preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.preview-item {
  position: relative;
  width: 120px;
  height: 90px;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-item button {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #d00;
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 14px;
  cursor: pointer;
  line-height: 1;
}

#service-areas {
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-top: 2rem;
}

#service-areas h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

#service-areas p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

#service-areas ul {
    columns: 2;
    list-style-type: none;
    padding: 0;
    text-align: center;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

#service-areas ul li {
    padding: 0.25rem 0;
}

.service-areas-note {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    color: #27ae60;
}

#faqs {
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-top: 2rem;
}

#faqs h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #34495e;
}

.faq-item p {
    font-size: 1.05rem;
    color: #555;
}

/* --- Services layout fix --- */
#service-descriptions {
  /* ensure section text aligns left, not centered like other .container areas */
  text-align: left;
}

/* Make the section heading span the full grid width */
#service-descriptions > h2 {
  grid-column: 1 / -1;
  margin: 0 0 var(--spacing);
}

/* Services: let the section title (h1 or h2) span the full grid + center it */
#service-descriptions > h1,
#service-descriptions > h2 { grid-column: 1 / -1; }

#service-descriptions h1,
#service-descriptions h2 { text-align: center; margin-block-end: var(--spacing-lg); }

/* Ensure card content aligns consistently */
.service {
  align-items: flex-start; /* was 'start' */
  text-align: left;
}

.hidden { display: none !important; }

.intro { text-align: center; }
.intro-line {
  max-width: 65ch;
  margin: var(--spacing) auto var(--spacing-lg);
  font-size: 1.1rem;
}

/* (Optional) tighten grid definition to be explicit */
@media (min-width: 800px) {
  #service-descriptions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Trust badges — outline, bigger, high-contrast */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 auto var(--spacing-lg, 2rem);
}

.trust-badges .badge {
  display: inline-block;
  padding: .7rem 1.2rem;                 /* bigger */
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.2rem;                     /* bigger text */
  line-height: 1;
  background: transparent;               /* outline look */
  color: var(--color-primary, #34d399);  /* bright text color */
  border: 2.5px solid var(--color-primary, #34d399);
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.trust-badges .badge:hover,
.trust-badges .badge:focus-visible {
  background: rgba(52, 211, 153, .15);   /* subtle fill on hover/focus */
  color: var(--color-page, #0b0b0b);
  outline: 3px solid rgba(255,255,255,.25);
  outline-offset: 2px;
}

/* Service areas: headline + chips */
.service-areas { 
  text-align: center; 
  margin: var(--spacing, 1rem) auto var(--spacing-lg, 2rem);
}

.service-areas .lead {
  font-weight: 700;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  margin: 1rem 0 .75rem;
}

.area-links {
  display: flex;
  justify-content: center;
  gap: .6rem .75rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.area-links .chip {
  display: inline-block;
  padding: .55rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--color-primary, #34d399);
  color: var(--color-primary, #34d399);
  line-height: 1;
}

.area-links .chip:hover,
.area-links .chip:focus-visible {
  background: rgba(52,211,153,.15);
  outline: 3px solid rgba(255,255,255,.25);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .area-links .chip { padding: .65rem 1.1rem; }
  }

  /* Layout A: Tacoma page only */
.tacoma-area .hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 600px){
  .tacoma-area .hero { min-height: 52vh; }
}

/* Comfortable gap between hero and badges */
.tacoma-area .hero + .trust-badges { margin-top: 2.5rem; }

/* Readable area chips */
.tacoma-area .service-areas .lead {
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
}
.tacoma-area .area-links .chip {
  font-size: 1rem;
  padding: .65rem 1.1rem;
}

/* Tacoma: service highlight cards as a comfy grid */
#tacoma-highlights .teaser {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem 1.5rem;            /* space between cards */
  margin-bottom: 1.25rem;         /* space before CTA */
}
#tacoma-highlights .teaser-item {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--border-color, rgba(255,255,255,.12));
  background: var(--color-surface, rgba(255,255,255,.04));
}
#tacoma-highlights .teaser h3 { margin-top: 0; }

/* Center the CTA under the highlight cards (without centering card text) */
#tacoma-highlights { text-align: center; }
#tacoma-highlights .teaser { text-align: left; }   /* keep card content left */
#tacoma-highlights > .btn {
  display: inline-block;
  margin: .5rem auto 0;
}

/* Center the CTA under the FAQs */
.container[aria-label="Get a quote"] { text-align: center; }
.container[aria-label="Get a quote"] .btn {
  display: inline-block;
  margin-top: .25rem;
}

/* Tacoma-only pricing gauge */
.tacoma-area .tacoma-pricing { 
  text-align: center; 
  margin: var(--spacing-lg, 2rem) auto;
}

.tacoma-area .tacoma-pricing h2 { 
  margin-bottom: .75rem; 
}

.tacoma-area .price-gauge {
  width: min(720px, 100%);
  margin: 0 auto 1rem;
}

.tacoma-area .gauge-scale {
  display: flex; 
  justify-content: space-between; 
  font-size: .9rem; 
  opacity: .85;
  margin-bottom: .35rem;
}

.tacoma-area .gauge-bar {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(255,255,255,.15), rgba(255,255,255,.15));
  overflow: hidden;
  outline: 1px solid rgba(255,255,255,.15);
}

.tacoma-area .gauge-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 100%;                          /* full band up to our cap marker */
  background: linear-gradient(90deg,
    var(--color-primary, #34d399), rgba(52,211,153,.4));
}

.tacoma-area .gauge-cap {
  position: absolute;
  right: .5rem; top: 50%;
  transform: translateY(-50%);
  font-size: .85rem;
  font-weight: 700;
  background: rgba(0,0,0,.45);
  padding: .15rem .45rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.2);
}

.tacoma-area .price-points {
  list-style: none; 
  padding: 0; 
  margin: .5rem auto 0;
}
.tacoma-area .price-points li {
  margin: .25rem 0;
  font-size: 1.05rem;
}

.tacoma-area .price-note {
  opacity: .85;
  font-size: .95rem;
  margin: .5rem 0 1rem;
}

/* center the CTA below the gauge */
.tacoma-area .tacoma-pricing .btn {
  display: inline-block;
  margin-top: .25rem;
}

/* Layout A: Puyallup page only */
.puyallup-area .hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 600px){
  .puyallup-area .hero { min-height: 52vh; }
}
.puyallup-area .hero + .trust-badges { margin-top: 2.5rem; }

/* Highlights grid + centered CTA */
#puyallup-highlights .teaser {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}
#puyallup-highlights .teaser-item {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--border-color, rgba(255,255,255,.12));
  background: var(--color-surface, rgba(255,255,255,.04));
}
#puyallup-highlights { text-align: center; }
#puyallup-highlights .teaser { text-align: left; }
#puyallup-highlights > .btn {
  display: inline-block;
  margin: .5rem auto 0;
}

/* Puyallup pricing gauge */
.puyallup-area .puyallup-pricing { text-align: center; margin: var(--spacing-lg, 2rem) auto; }
.puyallup-area .puyallup-pricing h2 { margin-bottom: .75rem; }
.puyallup-area .price-gauge { width: min(720px, 100%); margin: 0 auto 1rem; }
.puyallup-area .gauge-scale { display: flex; justify-content: space-between; font-size: .9rem; opacity: .85; margin-bottom: .35rem; }
.puyallup-area .gauge-bar { position: relative; height: 14px; border-radius: 999px; background: linear-gradient(90deg, rgba(255,255,255,.15), rgba(255,255,255,.15)); overflow: hidden; outline: 1px solid rgba(255,255,255,.15); }
.puyallup-area .gauge-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: linear-gradient(90deg, var(--color-primary, #34d399), rgba(52,211,153,.4)); }
.puyallup-area .gauge-cap { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); font-size: .85rem; font-weight: 700; background: rgba(0,0,0,.45); padding: .15rem .45rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.2); }
.puyallup-area .price-points { list-style: none; padding: 0; margin: .5rem auto 0; }
.puyallup-area .price-points li { margin: .25rem 0; font-size: 1.05rem; }
.puyallup-area .price-note { opacity: .85; font-size: .95rem; margin: .5rem 0 1rem; }
.puyallup-area .puyallup-pricing .btn { display: inline-block; margin-top: .25rem; }

/* Layout A: Seattle page only */
.seattle-area .hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 600px){
  .seattle-area .hero { min-height: 52vh; }
}
.seattle-area .hero + .trust-badges { margin-top: 2.5rem; }

/* Highlights grid + centered CTA */
#seattle-highlights .teaser {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}
#seattle-highlights .teaser-item {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--border-color, rgba(255,255,255,.12));
  background: var(--color-surface, rgba(255,255,255,.04));
}
#seattle-highlights { text-align: center; }
#seattle-highlights .teaser { text-align: left; }
#seattle-highlights > .btn {
  display: inline-block;
  margin: .5rem auto 0;
}

/* Seattle pricing gauge */
.seattle-area .seattle-pricing { text-align: center; margin: var(--spacing-lg, 2rem) auto; }
.seattle-area .seattle-pricing h2 { margin-bottom: .75rem; }
.seattle-area .price-gauge { width: min(720px, 100%); margin: 0 auto 1rem; }
.seattle-area .gauge-scale { display: flex; justify-content: space-between; font-size: .9rem; opacity: .85; margin-bottom: .35rem; }
.seattle-area .gauge-bar { position: relative; height: 14px; border-radius: 999px; background: linear-gradient(90deg, rgba(255,255,255,.15), rgba(255,255,255,.15)); overflow: hidden; outline: 1px solid rgba(255,255,255,.15); }
.seattle-area .gauge-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: linear-gradient(90deg, var(--color-primary, #34d399), rgba(52,211,153,.4)); }
.seattle-area .gauge-cap { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); font-size: .85rem; font-weight: 700; background: rgba(0,0,0,.45); padding: .15rem .45rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.2); }
.seattle-area .price-points { list-style: none; padding: 0; margin: .5rem auto 0; }
.seattle-area .price-points li { margin: .25rem 0; font-size: 1.05rem; }
.seattle-area .price-note { opacity: .85; font-size: .95rem; margin: .5rem 0 1rem; }
.seattle-area .seattle-pricing .btn { display: inline-block; margin-top: .25rem; }

/* Layout A: Olympia page only */
.olympia-area .hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 600px){
  .olympia-area .hero { min-height: 52vh; }
}
.olympia-area .hero + .trust-badges { margin-top: 2.5rem; }

/* Highlights grid + centered CTA */
#olympia-highlights .teaser {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}
#olympia-highlights .teaser-item {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--border-color, rgba(255,255,255,.12));
  background: var(--color-surface, rgba(255,255,255,.04));
}
#olympia-highlights { text-align: center; }
#olympia-highlights .teaser { text-align: left; }
#olympia-highlights > .btn {
  display: inline-block;
  margin: .5rem auto 0;
}

/* Olympia pricing gauge */
.olympia-area .olympia-pricing { text-align: center; margin: var(--spacing-lg, 2rem) auto; }
.olympia-area .olympia-pricing h2 { margin-bottom: .75rem; }
.olympia-area .price-gauge { width: min(720px, 100%); margin: 0 auto 1rem; }
.olympia-area .gauge-scale { display: flex; justify-content: space-between; font-size: .9rem; opacity: .85; margin-bottom: .35rem; }
.olympia-area .gauge-bar { position: relative; height: 14px; border-radius: 999px; background: linear-gradient(90deg, rgba(255,255,255,.15), rgba(255,255,255,.15)); overflow: hidden; outline: 1px solid rgba(255,255,255,.15); }
.olympia-area .gauge-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: linear-gradient(90deg, var(--color-primary, #34d399), rgba(52,211,153,.4)); }
.olympia-area .gauge-cap { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); font-size: .85rem; font-weight: 700; background: rgba(0,0,0,.45); padding: .15rem .45rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.2); }
.olympia-area .price-points { list-style: none; padding: 0; margin: .5rem auto 0; }
.olympia-area .price-points li { margin: .25rem 0; font-size: 1.05rem; }
.olympia-area .price-note { opacity: .85; font-size: .95rem; margin: .5rem 0 1rem; }
.olympia-area .olympia-pricing .btn { display: inline-block; margin-top: .25rem; }

/* ── MOBILE WRAP AT 480px ─────────────────────────────── */
@media (max-width: 480px) {

   header {
    padding: 6px 7px;    /* 2px top/bottom, 4px left/right */
  }

   /* if your header content is wrapped in a .container, override that too: */
  header .container {
     padding-inline: 0;
  }

   /* optional: remove any extra margin on the logo */
  .logo-container,
  .logo {
    margin-left: 0;
    max-height: 24px;               /* smaller logo */
    margin-right: 4px;
  }

  header nav .nav-list {
    display: flex;
    flex-wrap: nowrap;              /* force one row */
    gap: 1px;                       /* 1px between items */
    overflow-x: hidden;             /* hide any tiny overflow */
    padding: 0;                     /* remove list padding */
    margin: 0;
    overflow-x: auto;               /* allow scrolling if needed */
  -webkit-overflow-scrolling: touch; /* smooth momentum scroll on iOS */
}
    

  header nav .nav-list a {
    display: inline-block;
    padding: 1px 2px;              /* 1px top/bottom, 2px left/right */
    white-space: nowrap;         /* keep each link on one line */
    font-size: 0.75rem;            /* ~12px text */
    letter-spacing: normal;
  }
  

  header nav .nav-list li {
    flex: 0 1 auto;              /* size to content, don’t force 50% width */
    text-align: center;  
    min-width: auto;        /* still center links */
  }
}

/* ── HERO TWEAKS FOR SMALL SCREENS (≤480px) ───────────────── */
@media (max-width: 480px) {
  .hero {
    height: auto;               /* let it size to content, not 70vh */
    padding-block: var(--spacing-lg);
  }

  .hero-overlay {
    padding: var(--spacing) var(--spacing-sm); /* tighten the overlay */
  }

  .hero h1 {
    font-size: 1.5rem;          /* shrink the heading */
    margin-block-end: var(--spacing-sm);
  }

  .hero p {
    font-size: 1rem;            /* shrink the sub‑head */
    margin-block-end: var(--spacing);
  }
}

/* ── CONTACT FORM MOBILE TWEAKS (≤480px) ───────────── */
@media (max-width: 480px) {
  .contact-form.page-card {
    font-size: 0.9rem;           /* slightly smaller card text */
    padding: 0.75rem;            /* tighten the card padding */
  }

  .contact-form .form-group input,
  .contact-form .form-group textarea {
    font-size: 1rem;             /* comfortable, but not huge */
    padding: 0.5rem;             /* ample touch target */
  }

  .contact-form .form-group {
    margin-bottom: 0.75rem;      /* reduce vertical gaps */
  }

  .contact-form button.btn {
    width: 100%;                 /* full‑width submit on phones */
    padding: 0.75rem;
    font-size: 1rem;
  }
}

/* ── STACKED QUOTE‑FORM LAYOUT FOR PHONES & SMALL TABLETS (≤850px) ── */
@media (max-width: 850px) {
  /* collapse the form container into one column */
  #quoteForm {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  /* collapse each fieldset into a single column */
  form fieldset:not(.tos) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: var(--spacing) var(--spacing) !important;
  }

  /* make every question span full width */
  #quoteForm .form-group {
    display: block !important;
    width: 100% !important;
  }

  /* prompt above inputs */
  #quoteForm .form-group > label {
    display: block !important;
    margin-block-end: var(--spacing-sm) !important;
  }

  /* line up radio buttons in a row */
  #quoteForm .form-group .radio-group {
    display: flex !important;
    gap: var(--spacing) !important;
    align-items: center !important;
    margin-block: 0 !important;
  }

  /* stack the radio circle above its text */
  #quoteForm .form-group .radio-group label {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.25rem !important;
    margin: 0 !important;
    font-size: 1rem !important;
  }
}

/* ── FORCE SINGLE‑COLUMN FIELDSETS ON PHONES & SMALL TABLETS ── */
@media (max-width: 600px) {
  /* make every fieldset a single column */
  form fieldset:not(.tos) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: var(--spacing) var(--spacing) !important;
  }
}


