/* ==========================================================
   Soft Water Albuquerque — main stylesheet
   Palette: deep water blue + New Mexico turquoise + sandstone
   ========================================================== */
:root {
  --navy: #0a2e4a;
  --navy-2: #0f3f63;
  --blue: #1677b8;
  --turquoise: #12a4a0;
  --turquoise-light: #d8f3f1;
  --sand: #e39b5b;
  --terracotta: #c4623a;
  --cream: #faf6f0;
  --tint: #f1f7fb;
  --ink: #16283a;
  --muted: #5b6b7b;
  --line: #dde6ee;
  --white: #fff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(10, 46, 74, .10);
  --shadow-lg: 0 20px 50px rgba(10, 46, 74, .18);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3, .h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3, .h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; margin-top: 2rem; }
.fine { font-size: .85rem; color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip-link:focus { left: 8px; }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--turquoise); margin-bottom: .75rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; transition: transform .15s, box-shadow .15s, background .15s, color .15s; line-height: 1.2; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--turquoise); color: #fff; box-shadow: 0 6px 18px rgba(18, 164, 160, .35); }
.btn--primary:hover { background: #0e8d8a; color: #fff; }
.btn--sand { background: var(--sand); color: var(--navy); }
.btn--sand:hover { background: #f0ad70; color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Promo bar + header ---------- */
.promo-bar { background: var(--navy); color: #fff; font-size: .88rem; }
.promo-bar__inner { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; padding: .55rem 0; text-align: center; }
.promo-bar a { color: var(--sand); font-weight: 700; text-decoration: none; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy); }
.logo__text { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.logo--light { color: #fff; }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; gap: .25rem; }
.main-nav a { display: block; white-space: nowrap; padding: .6rem .8rem; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 8px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--turquoise); }
.has-dropdown { position: relative; }
.has-dropdown > a::after { content: ''; display: inline-block; margin-left: .35rem; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { font-weight: 500; }
.dropdown a:hover { background: var(--tint); }

.header-actions { display: flex; align-items: center; gap: .9rem; }
.header-phone { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(160deg, #e7f5fb 0%, #f7fbfd 45%, var(--cream) 100%); overflow: hidden; padding: 4rem 0 7rem; }
.hero__bg { position: absolute; inset: auto 0 0 0; height: 260px; pointer-events: none; }
.hero__mountains { width: 100%; height: 100%; }
.hero__mountains .m-back { fill: #b9d9e6; opacity: .55; }
.hero__mountains .m-front { fill: #f2d3b6; opacity: .7; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.hl { color: var(--turquoise); position: relative; white-space: nowrap; }
.hero__lead, .page-hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.hero__points { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.hero__points li { padding-left: 1.9rem; position: relative; margin-bottom: .5rem; font-weight: 500; }
.hero__points li::before, .checklist li::before { content: ''; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--turquoise-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2312a4a0' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/70% no-repeat; }
.hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero__actions--center { justify-content: center; }
.hero__rating { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .95rem; flex-wrap: wrap; }
.hero__rating--center { justify-content: center; }
.stars { color: #f5a623; letter-spacing: 2px; font-size: 1.1rem; }

/* ---------- Lead form ---------- */
.lead-form { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1.9rem; display: grid; gap: .9rem; border-top: 5px solid var(--turquoise); }
.lead-form__title { margin: 0; font-size: 1.5rem; }
.lead-form__sub { margin: -.5rem 0 .25rem; color: var(--muted); }
.lead-form label { display: grid; gap: .3rem; font-weight: 600; font-size: .9rem; color: var(--navy); }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; font: inherit; font-weight: 400; padding: .72rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fbfdfe; color: var(--ink); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--turquoise); box-shadow: 0 0 0 3px rgba(18,164,160,.18); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.optional { color: var(--muted); font-weight: 400; }
.lead-form__fine { font-size: .8rem; color: var(--muted); text-align: center; margin: 0; }

/* ---------- Trust strip ---------- */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); position: relative; margin-top: -3rem; }
.trust-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.5rem; position: relative; top: -1.5rem; }
.trust-item { display: flex; align-items: center; gap: .8rem; }
.trust-item strong { display: block; color: var(--navy); }
.trust-item span { font-size: .88rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section--tint { background: var(--tint); }
.section--dark { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #d6e4ef; }
.section-head { text-align: center; max-width: 46rem; margin: 0 auto 3rem; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.section-head--light h2 { color: #fff; }

.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.problem, .feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: box-shadow .2s, transform .2s; }
.problem:hover, .feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.problem__icon { font-size: 2rem; margin-bottom: .6rem; }
.problem p, .feature p { color: var(--muted); margin: 0; }
.feature img { margin-bottom: .8rem; }

/* ---------- Packages ---------- */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.package { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.75rem; display: flex; flex-direction: column; text-align: center; }
.package--featured { border: 2px solid var(--turquoise); box-shadow: var(--shadow-lg); transform: translateY(-10px); }
.package__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--turquoise); color: #fff; font-weight: 700; font-size: .8rem; padding: .35rem .9rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.package__badge--sand { background: var(--sand); color: var(--navy); }
.package__img { display: flex; justify-content: center; margin-bottom: 1rem; }
.package__img img { height: 170px; width: auto; }
.package__name { font-size: 1.4rem; margin-bottom: .2rem; }
.package__sub { color: var(--muted); font-size: .95rem; min-height: 2.8em; }
.package__price { display: flex; align-items: baseline; justify-content: center; gap: .5rem; margin: .5rem 0 1.25rem; flex-wrap: wrap; }
.price-old { text-decoration: line-through; color: var(--muted); font-size: 1rem; }
.price-new { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--navy); }
.price-note { color: var(--muted); font-size: .9rem; }
.package .checklist { text-align: left; flex: 1; margin-bottom: 1.5rem; }
.packages__fine { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 2rem; }

.checklist { list-style: none; padding: 0; margin: 0 0 1rem; }
.checklist li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; }
.checklist--lg li { font-size: 1.05rem; }
.checklist--cols { columns: 2; column-gap: 2rem; }
.checklist--cols li { break-inside: avoid; }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split--reverse .split__media { order: -1; }
.split__copy p { color: var(--muted); }
.split__media img { border-radius: var(--radius-lg); }

.compare { width: 100%; border-collapse: collapse; margin-top: 1.5rem; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: .85rem 1rem; text-align: center; border-bottom: 1px solid var(--line); }
.compare th { background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 600; }
.compare td:first-child, .compare th:first-child { text-align: left; }
.compare .yes { color: var(--turquoise); font-weight: 800; font-size: 1.15rem; }
.compare .no { color: #b0bcc7; font-weight: 600; }
.compare--wide { margin-top: 0; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.spec-table { width: 100%; max-width: 820px; margin: 0 auto; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.spec-table th, .spec-table td { padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 32%; color: var(--navy); background: #f8fbfd; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: none; }
.step { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 2rem; }
.step h3 { color: #fff; }
.step p { margin: 0; }
.step__num { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sand); color: var(--navy); font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin-bottom: 1rem; }
.steps--light .step { background: var(--tint); border-color: var(--line); color: var(--muted); }
.steps--light .step h3 { color: var(--navy); }

/* ---------- Stat card ---------- */
.stat-card { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; background: linear-gradient(160deg, var(--turquoise), var(--blue)); border-radius: var(--radius-lg); padding: 2rem; color: #fff; box-shadow: var(--shadow-lg); }
.stat { background: rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.3rem; }
.stat strong { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1.1; }
.stat span { font-size: .92rem; opacity: .9; }
.stat-card__fine { grid-column: 1 / -1; font-size: .75rem; opacity: .8; margin: 0; }

/* ---------- Reviews ---------- */
.review { margin: 0; background: #fff; border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .5rem; }
.review p { font-size: 1.02rem; flex: 1; }
.review footer { color: var(--muted); font-weight: 600; font-size: .92rem; }

/* ---------- Service areas ---------- */
.area-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.area-chips a { display: block; padding: .6rem 1.2rem; border-radius: 999px; background: var(--cream); border: 1px solid #efdcc6; color: var(--navy); text-decoration: none; font-weight: 600; }
.area-chips a:hover { background: var(--sand); border-color: var(--sand); }
.counties { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.county h2 { font-size: 1.5rem; border-bottom: 3px solid var(--sand); padding-bottom: .5rem; }
.area { padding: 1rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.area h3 { margin-bottom: .25rem; font-size: 1.1rem; }
.area p { color: var(--muted); margin: 0; font-size: .95rem; }
.area:target { background: var(--turquoise-light); border-radius: 8px; padding-inline: .75rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.4rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2rem 1.15rem 0; font-weight: 700; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--turquoise); font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); padding-bottom: 1.15rem; margin: 0; }
.faq-group { font-size: 1.4rem; margin: 2.5rem 0 1rem; }
.faq-group:first-child { margin-top: 0; }

/* ---------- Page hero ---------- */
.page-hero { background: linear-gradient(160deg, #e7f5fb 0%, var(--cream) 100%); padding: 4.5rem 0; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__lead { margin-inline: auto; }
.page-hero--tall { padding: 7rem 0; }
.page-hero__inner { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
.page-hero__img { max-height: 300px; width: auto; }

.price-card { background: #fff; border: 2px solid var(--turquoise); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-lg); display: grid; gap: .8rem; }
.price-card .eyebrow { margin: 0; }
.price-card__price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: var(--navy); margin: 0; }
.price-card__price span { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price-card p { color: var(--muted); margin: 0; }

.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.2rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list a { font-weight: 600; text-decoration: none; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, #0f5a7a 60%, var(--turquoise) 130%); color: #d6e4ef; padding: 4rem 0; }
.cta-band__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0; font-size: 1.08rem; }
.cta-band__actions { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Footer ---------- */
.site-footer { background: #071f33; color: #a9bccd; position: relative; padding-top: 4rem; }
.footer-mountains { position: absolute; top: -59px; left: 0; width: 100%; height: 60px; }
.footer-mountains path { fill: #071f33; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding: 2rem 0 3rem; }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: #cfe0ee; text-decoration: none; }
.site-footer a:hover { color: var(--sand); }
.site-footer .btn--sand { color: var(--navy); }
.footer-brand p { margin-top: 1rem; }
.footer-license { font-size: .85rem; opacity: .75; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .header-phone { display: none; }
}
@media (max-width: 1140px) {
  .main-nav a { padding: .6rem .5rem; font-size: .88rem; }
  .logo__text { font-size: 1.05rem; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 74px); background: #fff; padding: .5rem 16px 2rem; overflow-y: auto; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > ul { flex-direction: column; }
  .main-nav a { font-size: 1.1rem; padding: .85rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .dropdown { position: static; opacity: 1; visibility: inherit; transform: none; box-shadow: none; padding: 0 0 0 1rem; min-width: 0; }
  .has-dropdown > a::after { display: none; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }

  .hero__inner, .split, .cta-band__inner, .page-hero__inner { grid-template-columns: 1fr; }
  .hero { padding-bottom: 6rem; }
  .split { gap: 2rem; }
  .split--reverse .split__media { order: 0; }
  .page-hero__img { display: none; }
  .packages, .grid--3, .steps, .counties { grid-template-columns: 1fr; }
  .grid--4, .trust-strip__inner { grid-template-columns: 1fr 1fr; }
  .package--featured { transform: none; }
  .package__sub { min-height: 0; }
  .cta-band__actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-actions .btn { display: none; }
  .logo__text { font-size: 1.05rem; }
  .section { padding: 3.5rem 0; }
  .grid--4, .trust-strip__inner, .form-row, .footer-grid, .stat-card { grid-template-columns: 1fr; }
  .checklist--cols { columns: 1; }
  .lead-form { padding: 1.4rem; }
  .hero__actions .btn { width: 100%; }
  .promo-bar__inner { font-size: .8rem; gap: .25rem; }
  .compare th, .compare td { padding: .7rem .6rem; font-size: .9rem; }
}

.lead-form__error { margin: 0; padding: .75rem 1rem; border-radius: 10px; background: #fdecea; color: #9b2c1f; font-size: .9rem; }
.lead-form button[disabled] { opacity: .7; cursor: wait; transform: none; }
