/* ===========================================================================
   Alford Water Conditioning — Wireframe Styles
   Mobile-first. Breakpoints at 768px (tablet) and 1024px (desktop).
   =========================================================================== */

:root {
  --c-primary: #0A3D62;        /* deep blue */
  --c-primary-dark: #07304D;
  --c-accent: #48B0D8;         /* soft aqua */
  --c-accent-dark: #2E94BC;
  --c-bg: #FAF7F2;             /* warm off-white */
  --c-bg-alt: #F1ECE3;
  --c-surface: #FFFFFF;
  --c-text: #1F2A37;           /* dark slate */
  --c-text-muted: #4E5A6A;
  --c-border: #E0DACE;
  --c-trust: #B58A2F;          /* warm gold for warranty/established badges */

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;

  --shadow-sm: 0 1px 2px rgba(15, 30, 50, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 30, 50, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 30, 50, 0.14);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --container-max: 1200px;
  --container-pad: 1.25rem;

  --header-height: 88px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-accent-dark); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--c-primary);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(1.85rem, 4vw + 1rem, 3.25rem); }
h2 { font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: 3.5rem 0;
}
@media (min-width: 768px) {
  .section { padding: 5rem 0; }
}

.section-alt { background: var(--c-bg-alt); }
.section-dark { background: var(--c-primary); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a { color: var(--c-accent); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent-dark);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* ============================ Buttons ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--c-accent); color: #fff; }
.btn-primary:hover { background: var(--c-accent-dark); color: #fff; }

.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }

.btn-solid-dark { background: var(--c-primary); color: #fff; }
.btn-solid-dark:hover { background: var(--c-primary-dark); color: #fff; }

.btn-ghost { background: transparent; color: var(--c-primary); border-color: var(--c-border); }
.btn-ghost:hover { background: var(--c-surface); }

/* ============================ Header ============================ */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--c-border);
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 100%;
}
@media (min-width: 768px) {
  .logo img { height: 64px; }
}
@media (min-width: 1024px) {
  --header-height: 96px;
  .logo img { height: 72px; }
}

/* Footer logo sits on dark navy — wrap in a soft white pill so the
   red/blue brand colors stay readable. */
.footer-logo {
  background: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.footer-logo img { height: 40px; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.main-nav {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-md);
}
.main-nav.is-open { display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 0.5rem 0; }
.main-nav > ul > li > a,
.main-nav > ul > li > button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem var(--container-pad);
  font-weight: 600;
  color: var(--c-text);
  background: transparent;
  border: 0;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}
.main-nav > ul > li > a:hover { background: var(--c-bg); text-decoration: none; }
.has-submenu .submenu {
  list-style: none;
  margin: 0;
  padding: 0 0 0.5rem;
  background: var(--c-bg);
  display: none;
}
.has-submenu[aria-expanded="true"] .submenu { display: block; }
.submenu a {
  display: block;
  padding: 0.6rem var(--container-pad) 0.6rem calc(var(--container-pad) + 1rem);
  color: var(--c-text);
  font-weight: 500;
}
.submenu a:hover { color: var(--c-primary); text-decoration: none; background: rgba(0,0,0,0.03); }

.header-cta { display: none; align-items: center; gap: 0.75rem; }
.header-phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--c-primary);
  font-size: 1rem;
  white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .main-nav { display: block; position: static; background: transparent; border: 0; box-shadow: none; flex: 1; }
  .main-nav > ul { display: flex; gap: 0.1rem; padding: 0; justify-content: center; flex-wrap: nowrap; }
  .main-nav > ul > li { position: relative; }
  .main-nav > ul > li > a,
  .main-nav > ul > li > button {
    padding: 0.5rem 0.6rem;
    font-size: 0.95rem;
    color: var(--c-text);
    white-space: nowrap;
  }
  .header-inner { gap: 0.75rem; }
  .has-submenu .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    min-width: 240px;
    padding: 0.5rem 0;
  }
  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu,
  .has-submenu[aria-expanded="true"] .submenu { display: block; }
  .submenu a { padding: 0.55rem 1rem; }
  .header-cta, .header-phone { display: inline-flex; }
}

/* ============================ Hero ============================ */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--c-primary);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
    rgba(10,61,98,0.92) 0%,
    rgba(10,61,98,0.78) 45%,
    rgba(10,61,98,0.45) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  max-width: 720px;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero .lead {
  font-size: 1.2rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  margin-bottom: 2rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-meta {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}
.hero-meta strong { color: #fff; font-weight: 700; }

@media (min-width: 768px) {
  .hero { min-height: 620px; }
  .hero-inner { padding: 6rem 0; }
}

/* ============================ Trust Strip ============================ */
.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  padding: 1.5rem 0;
}
.trust-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.trust-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--c-text-muted);
}
.trust-list strong {
  display: block;
  color: var(--c-primary);
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.trust-list svg { width: 28px; height: 28px; color: var(--c-accent-dark); }
@media (min-width: 768px) {
  .trust-list { grid-template-columns: repeat(4, 1fr); }
}

/* ============================ Service Cards ============================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-accent);
  text-decoration: none;
}
.service-card .icon {
  width: 48px;
  height: 48px;
  color: var(--c-accent-dark);
  background: rgba(72,176,216,0.12);
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.service-card .icon svg { width: 28px; height: 28px; }
.service-card h3 { color: var(--c-primary); margin: 0; }
.service-card p { color: var(--c-text-muted); margin: 0; flex: 1; }
.service-card .more {
  font-weight: 600;
  color: var(--c-accent-dark);
  font-size: 0.9rem;
}

/* ============================ Why Alford ============================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .why-grid { grid-template-columns: 5fr 6fr; gap: 3rem; }
}
.why-photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.why-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.why-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.85rem;
  align-items: start;
}
.why-list .num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-family: var(--font-body);
}
.why-list strong { display: block; color: var(--c-primary); font-size: 1.05rem; margin-bottom: 0.15rem; }
.why-list p { margin: 0; color: var(--c-text-muted); font-size: 0.97rem; line-height: 1.5; }

/* ============================ Callout ============================ */
.callout {
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.callout h2 { color: #fff; margin: 0; }
.callout p { color: rgba(255,255,255,0.88); margin: 0.5rem 0 0; }
@media (min-width: 768px) {
  .callout { grid-template-columns: 1fr auto; padding: 3rem; }
}

/* ============================ Service Area ============================ */
.area-layout {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .area-layout { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.area-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  min-height: 320px;
}
.area-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}
.area-map {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--c-text-muted);
  position: relative;
  overflow: hidden;
}
.area-map svg { width: 100%; max-width: 380px; height: auto; }
.area-map .map-note { font-size: 0.85rem; margin-top: 1rem; }
.area-cities {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.5rem;
}
.area-cities li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--c-border);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.area-cities li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  flex-shrink: 0;
}
.area-cities li.primary { font-weight: 700; color: var(--c-primary); }

/* ============================ Customers ============================ */
.customer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}
@media (min-width: 600px) { .customer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .customer-grid { grid-template-columns: repeat(3, 1fr); } }
.customer-grid li {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--c-text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.customer-grid svg { width: 18px; height: 18px; color: var(--c-accent-dark); flex-shrink: 0; }

/* ============================ Savings Teaser ============================ */
.savings {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .savings { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.savings-chart {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.savings-chart h3 { margin: 0 0 1rem; font-size: 1.05rem; }
.savings-chart ul { list-style: none; margin: 0; padding: 0; }
.savings-chart li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--c-border);
  font-size: 0.95rem;
}
.savings-chart li:last-child { border-bottom: 0; }
.savings-chart .pct {
  font-weight: 700;
  color: var(--c-accent-dark);
  font-family: var(--font-display);
  font-size: 1.05rem;
  white-space: nowrap;
  padding-left: 1rem;
}
.savings-chart li span:first-child { flex: 1; }
.chart-source {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--c-text-muted);
}

/* ============================ Final CTA Form ============================ */
.cta-form-section {
  position: relative;
  background: var(--c-primary);
  color: #fff;
  overflow: hidden;
}
.cta-form-section .container { position: relative; z-index: 1; }
.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  z-index: 0;
}
.cta-form-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .cta-form-grid { grid-template-columns: 5fr 6fr; gap: 3.5rem; }
}
.cta-copy h2 { color: #fff; }
.cta-copy p { color: rgba(255,255,255,0.85); font-size: 1.05rem; }
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-top: 1rem;
}
.cta-phone svg { width: 22px; height: 22px; }
.cta-phone a { color: #fff; text-decoration: none; }
.cta-phone a:hover { color: var(--c-accent); }

.estimate-form {
  background: #fff;
  color: var(--c-text);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 1rem;
}
.estimate-form h3 { margin: 0 0 0.25rem; color: var(--c-primary); }
.form-row { display: grid; gap: 0.4rem; }
.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text);
  letter-spacing: 0.02em;
}
.form-row input,
.form-row textarea,
.form-row select {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  background: var(--c-bg);
  color: var(--c-text);
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(72,176,216,0.18);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-row-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 600px) { .form-row-grid { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: 0.8rem; color: var(--c-text-muted); margin: 0; }
.estimate-form .btn { justify-self: stretch; }

/* ============================ Footer ============================ */
.site-footer {
  background: #08233A;
  color: #C4D2DF;
  padding: 3rem 0 1.5rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
.footer-grid h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.45rem; }
.footer-grid a { color: #C4D2DF; }
.footer-grid a:hover { color: #fff; }
.footer-brand .logo { color: #fff; }
.footer-brand .logo-text small { color: #8FA4B8; }
.footer-brand p { color: #8FA4B8; margin: 1rem 0 0; line-height: 1.5; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.footer-social a:hover { background: var(--c-accent); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #8FA4B8;
}

/* ============================ Interior page ============================ */
.breadcrumbs {
  background: var(--c-bg-alt);
  border-bottom: 1px solid var(--c-border);
  padding: 0.75rem 0;
  font-size: 0.875rem;
  color: var(--c-text-muted);
}
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.breadcrumbs li::after { content: "/"; margin-left: 0.5rem; color: var(--c-border); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs li:last-child { color: var(--c-text); font-weight: 600; }

.page-hero {
  position: relative;
  background: var(--c-primary);
  color: #fff;
  padding: 3rem 0;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin: 0 0 0.5rem; }
.page-hero .lead { color: rgba(255,255,255,0.9); margin: 0; max-width: 640px; }

.page-body {
  display: grid;
  gap: 3rem;
}
@media (min-width: 900px) {
  .page-body { grid-template-columns: 2fr 1fr; }
}
.page-body h2 { font-size: 1.5rem; }
.page-body .benefits-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.page-body .benefits-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0.85rem;
  align-items: start;
}
.page-body .benefits-list svg {
  width: 20px;
  height: 20px;
  color: var(--c-accent-dark);
  margin-top: 0.18rem;
}
.page-body .benefits-list strong { color: var(--c-primary); }

.aside-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 1rem);
}
.aside-card h3 { margin: 0 0 0.5rem; color: var(--c-primary); font-size: 1.1rem; }
.aside-card p { color: var(--c-text-muted); font-size: 0.95rem; }
.aside-card .btn { width: 100%; margin-top: 0.75rem; }
.aside-card .phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-top: 0.75rem;
}
.aside-card .phone svg { width: 18px; height: 18px; }

.related-services {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}
@media (min-width: 600px) { .related-services { grid-template-columns: repeat(3, 1fr); } }

/* ============================ Utilities ============================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.mt-0 { margin-top: 0; }

/* ===================== Request / form pages ===================== */
.form-intro { max-width: 720px; font-size: 1.08rem; color: var(--c-text); margin: 0 0 1.75rem; }

.alford-form {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1.15rem;
  max-width: 720px;
}
.alford-form h3 { margin: 0; color: var(--c-primary); }
.alford-form .btn { justify-self: start; }
.alford-form .req { color: #b00020; font-weight: 700; }

/* honeypot — pulled off-screen, hidden from people + AT, still in the DOM for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

/* choice groups (radios / checkboxes) */
.choice-group { border: 0; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.choice-group > legend {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--c-text); padding: 0; margin-bottom: 0.2rem;
}
.choice-grid { display: grid; grid-template-columns: 1fr; gap: 0.4rem 1rem; }
@media (min-width: 560px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice {
  display: flex; align-items: flex-start; gap: 0.55rem;
  font-size: 0.95rem; line-height: 1.35; cursor: pointer;
}
.choice input { margin-top: 0.2rem; accent-color: var(--c-accent-dark); }

/* success panel that replaces the form on submit */
.form-success {
  background: #EAF6EF;
  border: 1px solid #B6E0C6;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  display: flex; gap: 0.9rem; align-items: flex-start;
  max-width: 720px;
}
.form-success svg { width: 28px; height: 28px; color: #1E8E4E; flex-shrink: 0; }
.form-success p { margin: 0; color: #14502E; font-size: 1.02rem; line-height: 1.5; }

/* informational notices (service fee, salt route, pricing) */
.notice-card {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--c-text);
  margin: 1.75rem 0 0;
  max-width: 720px;
}
.notice-card h3 { margin: 0 0 0.4rem; font-size: 1rem; color: var(--c-primary); }
.notice-card strong { color: var(--c-primary); }

.price-list { list-style: none; margin: 0.75rem 0 0; padding: 0; max-width: 720px; }
.price-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0; border-bottom: 1px dashed var(--c-border);
}
.price-list li:last-child { border-bottom: 0; }
.price-list .price {
  font-weight: 700; color: var(--c-accent-dark);
  font-family: var(--font-display); white-space: nowrap;
}

/* salt-delivery calendar embed */
.calendar-embed { margin: 0 0 1.5rem; max-width: 900px; }
.calendar-embed img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.calendar-caption { font-size: 0.85rem; color: var(--c-text-muted); margin: 0.6rem 0 0; }
.calendar-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0 0; }

/* homepage primary quick-action buttons */
.quick-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }

/* ============================ Gallery ============================ */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.85rem 1rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to top, rgba(7,48,77,0.85), rgba(7,48,77,0));
}

/* ============================ Team / bios ============================ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0 0;
}
@media (min-width: 800px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.bio-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.bio-photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  margin: 0 0 1.1rem;
}
.bio-card h3 { margin: 0 0 0.15rem; font-size: 1.4rem; }
.bio-role { color: var(--c-accent-dark); font-weight: 700; margin: 0 0 0.15rem; }
.bio-creds {
  font-size: 0.85rem; color: var(--c-text-muted);
  margin: 0 0 1rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--c-border);
}
.bio-card p { font-size: 0.98rem; }

/* about page media band */
.about-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
@media (min-width: 700px) { .about-media { grid-template-columns: 3fr 2fr; } }
.about-media img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}

/* ===================== Performance data table ===================== */
.data-table-wrap { overflow-x: auto; margin: 2rem 0 0; -webkit-overflow-scrolling: touch; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 0.95rem;
}
.data-table thead th {
  background: var(--c-primary);
  color: #fff;
  text-align: left;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}
.data-table td {
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--c-border);
  vertical-align: top;
  color: var(--c-text);
}
.data-table tbody tr:nth-child(even) { background: var(--c-bg-alt); }
.data-table td:first-child { font-weight: 600; color: var(--c-primary); white-space: nowrap; }
.table-source { font-size: 0.82rem; color: var(--c-text-muted); margin: 0.75rem 0 0; }

/* ===================== Contact page ===================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 800px) { .contact-layout { grid-template-columns: 3fr 2fr; } }
.contact-block { margin: 0 0 1.5rem; }
.contact-block h3 { font-size: 1.05rem; margin: 0 0 0.35rem; }
.contact-block p { margin: 0; color: var(--c-text); }
.contact-block a { font-weight: 600; }
