/* ==========================================================================
   Eastern Pro Clean — Site Stylesheet
   Lightweight, dependency-free CSS. Brand tokens live in :root so future
   rebrands / SEO-driven layout tweaks only touch one place.
   ========================================================================== */

:root {
  /* Brand palette */
  --teal-900: #0B3D45;
  --teal-800: #0f4a54;
  --teal-700: #14515C;
  --teal-050: #E3EEEC;
  --gold-600: #B8862E;
  --gold-100: #F3E9DC;
  --blue-400: #5B8FA8;
  --blue-200: #CFE7F0;
  --blue-300: #9FC3D6;
  --sand-100: #F7F5F0;
  --sand-border: #E7E4DC;
  --coral-300: #E8A9A0;
  --sage-400: #7BA88F;
  --ink-900: #1A2226;
  --ink-700: #3E4649;
  --ink-500: #5B6368;
  --white: #FFFFFF;

  /* Type */
  --font-head: 'Sora', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-body: 'Work Sans', system-ui, -apple-system, Segoe UI, sans-serif;

  /* Layout */
  --maxw: 1180px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 32px;
  --shadow-md: 0 12px 28px rgba(11, 61, 69, 0.12);
  --shadow-sm: 0 4px 12px rgba(11, 61, 69, 0.08);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--teal-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
}
/* Weight scale kept deliberately light for a more premium, less "shouty" feel:
   h1/h2 (page + section heads) sit at 600, h3/h4 (card + list titles) at 500. */
h1, h2 { font-weight: 600; }
h3, h4 { font-weight: 500; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.3px; }
h3 { font-size: 1.25rem; }

/* Smaller "column head" variant of h2 — for a heading sitting directly above
   compact content (a form, a short list) rather than a full hero section head. */
h2.panel-heading { font-size: 1.4rem; font-weight: 600; letter-spacing: 0; margin-bottom: 28px; }
p { margin: 0 0 1em; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
:focus-visible { outline: 3px solid var(--gold-600); outline-offset: 2px; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--sand { background: var(--sand-100); }
.section--teal { background: var(--teal-900); color: var(--blue-200); }
.section--teal h2 { color: var(--white); }
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}
.text-center { text-align: center; }
.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 2px; text-transform: uppercase; color: var(--gold-600);
  margin: 0 0 10px;
}
.lede { font-size: 1.15rem; color: var(--ink-700); max-width: 720px; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.text-center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.98rem;
  padding: 15px 30px; border-radius: 999px; border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold-600); color: var(--white); }
.btn-primary:hover { box-shadow: var(--shadow-md); background: #a4772a; }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-dark { background: transparent; border-color: var(--teal-900); color: var(--teal-900); }
.btn-outline-dark:hover { background: var(--teal-900); color: var(--white); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
/* Form submit buttons: sized to their label, not a full-width pill, so they
   don't dominate a compact form the way the hero/CTA pill buttons are meant to. */
.btn-form { padding: 14px 28px; border-radius: 8px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--sand-100);
  border-bottom: 1px solid var(--sand-border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: 1440px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand svg { width: 46px; height: 46px; flex-shrink: 0; }
.brand-text { font-family: var(--font-head); font-weight: 800; font-size: 1.28rem; line-height: 1.1; color: var(--teal-900); white-space: nowrap; }
.brand-sub { font-size: 0.62rem; font-weight: 400; letter-spacing: 1.5px; color: var(--teal-700); text-transform: uppercase; margin-top: 2px; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; }
.main-nav a {
  color: var(--teal-900); font-weight: 600; font-size: 0.95rem; position: relative; padding: 8px 16px; white-space: nowrap;
  border-radius: 999px;
}
.main-nav a.is-active { background: var(--gold-600); color: var(--white); }
.main-nav a:not(.is-active):hover { color: var(--gold-600); }
.nav-toggle { display: none; background: none; border: none; color: var(--teal-900); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1180px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--sand-100);
    flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 24px 20px;
    display: none; border-top: 1px solid var(--sand-border);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { width: 100%; padding: 10px 16px; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--white); }
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  padding: 64px 0;
}
.hero-copy p { font-size: 1.08rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hero-art { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 3px solid var(--gold-600); background: var(--gold-100); }
.hero-art svg { width: 100%; height: auto; display: block; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 40px 0; }
  .hero-art { order: -1; }
}

/* ---------- Badges / pills ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px; background: var(--sand-100);
  border: 1px solid var(--sand-border); border-radius: 999px; padding: 8px 16px;
  font-size: 0.85rem; font-weight: 600; color: var(--teal-900);
}
.badge-pill svg { width: 16px; height: 16px; color: var(--gold-600); flex-shrink: 0; }

/* ---------- Icon badge (circular) ---------- */
.icon-badge {
  width: 52px; height: 52px; border-radius: 50%; background: var(--teal-900);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.icon-badge svg { width: 26px; height: 26px; stroke: var(--white); }
.icon-badge--gold { background: var(--gold-600); }
.icon-badge--sm { width: 40px; height: 40px; }
.icon-badge--sm svg { width: 20px; height: 20px; }

/* ---------- Feature list (checklist) ---------- */
.feature-list { display: flex; flex-direction: column; gap: 22px; }
.feature-item { display: flex; align-items: flex-start; gap: 18px; }
.feature-item h4 { margin: 0 0 4px; font-size: 1.05rem; color: var(--teal-900); }
.feature-item p { margin: 0; color: var(--ink-700); font-size: 0.98rem; }

/* ---------- Contact info list (lighter treatment than .feature-list) ---------- */
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; align-items: center; gap: 16px; }
.contact-badge {
  width: 42px; height: 42px; border-radius: 50%; background: var(--teal-050);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--teal-700); /* currentColor fallback for fill-based icons (e.g. Facebook) */
}
.contact-badge svg { width: 20px; height: 20px; stroke: var(--teal-700); }
.contact-badge--gold { background: var(--gold-100); color: var(--gold-600); }
.contact-badge--gold svg { stroke: var(--gold-600); }
.contact-info-item h4 { margin: 0 0 2px; font-size: 1rem; font-weight: 500; color: var(--teal-900); }
.contact-info-item p { margin: 0; color: var(--ink-500); font-size: 0.92rem; }
.contact-info-item a { color: inherit; text-decoration: none; }
.contact-info-item a:hover { text-decoration: underline; color: var(--gold-600); }
/* Phone is the primary way people reach us — give it more visual weight than
   the other contact methods in this list. */
.contact-info-item p.phone-number { font-size: 1.3rem; font-weight: 400; }
.contact-info-item p.phone-number a { color: var(--teal-900); }
.contact-info-item p.phone-number a:hover { color: var(--gold-600); }

/* Contact page: form column vs. "Other Ways to Reach Us" column — wider gap so
   the two panels read as clearly separate, with a smaller vertical gap once
   they stack on narrow screens. */
.contact-columns { align-items: flex-start; gap: 130px; }
@media (max-width: 1024px) {
  .contact-columns { gap: 72px; }
}
@media (max-width: 640px) {
  .contact-columns { gap: 40px; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--sand-border); border-radius: var(--radius-md);
  padding: 32px; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-icon { margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; }
.service-card { display: flex; flex-direction: column; height: 100%; }
.service-card .card-link { margin-top: auto; font-weight: 600; color: var(--gold-600); display: inline-flex; align-items: center; gap: 6px; padding-top: 14px; }
.service-card .card-link svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.service-card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Steps / process infographic ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { text-align: center; position: relative; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--gold-600); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head);
  font-weight: 700; font-size: 1.3rem; margin: 0 auto 16px;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 28px; left: calc(50% + 28px); width: calc(100% - 38px);
  border-top: 2px dashed var(--blue-300); z-index: 0;
}
.step:not(:last-child)::before {
  content: ""; position: absolute; top: 22px; left: calc(150% - 10px); width: 0; height: 0;
  border-top: 7px solid transparent; border-bottom: 7px solid transparent;
  border-left: 9px solid var(--gold-600); z-index: 1;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after, .step:not(:last-child)::before { display: none; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Stats strip ---------- */
.stats-strip { display: flex; justify-content: space-around; gap: 24px; text-align: center; flex-wrap: wrap; }
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; color: var(--gold-600); }
.stat-label { font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; color: var(--blue-200); }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--sand-100); border-radius: var(--radius-md); padding: 28px; position: relative;
  border-left: 4px solid var(--gold-600);
}
.testimonial-card p { font-style: italic; color: var(--ink-700); }
.testimonial-name { font-weight: 600; color: var(--teal-900); font-family: var(--font-head); }
.stars { color: var(--gold-600); letter-spacing: 2px; margin-bottom: 10px; display: block; }
.placeholder-note {
  font-size: 0.8rem; color: var(--ink-500); background: var(--blue-200); border-radius: 8px;
  padding: 6px 12px; display: inline-block; margin-top: 10px;
}
.google-rating-summary {
  font-size: 0.95rem; color: var(--ink-700); margin-top: 4px;
}
.google-rating-summary .stars { display: inline; margin: 0 6px 0 0; }
.google-badge {
  display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--ink-500);
  margin-top: 12px;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--gold-600); color: var(--white); padding: 48px 0; text-align: center; }
.cta-band .eyebrow { color: var(--teal-900); }
.cta-band h2 { color: var(--white); }
.cta-band .btn-outline { border-color: var(--white); }

/* ---------- Products / certification table ---------- */
.cert-explain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.cert-explain .card { text-align: center; }
.product-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 0.94rem; }
.product-table th, .product-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--sand-border); }
.product-table thead th { background: var(--teal-900); color: var(--white); font-family: var(--font-head); font-size: 0.82rem; letter-spacing: 0.5px; text-transform: uppercase; }
.product-table tbody tr:hover { background: var(--sand-100); }
.chip { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; }
.chip--yes { background: #E3F3E9; color: #1F7A45; }
.chip--na { background: #EFEFEF; color: #7A7A7A; }
.table-scroll { overflow-x: auto; }

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid var(--sand-border); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left; padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-head); font-weight: 500; color: var(--teal-900); font-size: 1.02rem;
}
.faq-q svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.2s ease; color: var(--gold-600); }
.faq-item[data-open="true"] .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a-inner { padding-bottom: 20px; color: var(--ink-700); }
.faq-item[data-open="true"] .faq-a { max-height: 400px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 400; font-size: 0.9rem; color: var(--teal-900); }
.field-optional { font-weight: 400; color: var(--ink-500); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; padding: 13px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--sand-border); background: var(--white); color: var(--ink-900);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-600); outline: none; }
.field-full { grid-column: 1 / -1; }
.form-note { font-size: 0.82rem; color: var(--ink-500); }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.form-alert { padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 600; }
.form-alert--success { background: #E3F3E9; color: #1F7A45; }
.form-alert--error { background: #FBE7E4; color: #B3392A; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: #CFE0E0; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-grid h4 { color: var(--white); font-size: 0.95rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a:hover { color: var(--gold-600); }
.footer-brand p { color: #A9C2C2; font-size: 0.92rem; max-width: 320px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.footer-contact-item svg { margin-top: 3px; }
.footer-contact-item svg { width: 17px; height: 17px; color: var(--gold-600); flex-shrink: 0; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--gold-600); border-color: var(--gold-600); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: #7FA0A0;
}
.footer-bottom a:hover { color: var(--gold-600); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 0.85rem; color: var(--ink-500); padding: 16px 0; }
.breadcrumbs a:hover { color: var(--gold-600); }
.breadcrumbs span[aria-hidden] { margin: 0 6px; }

/* ---------- Utility spacing ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center-col { max-width: 780px; margin: 0 auto; }

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--gold-600); color: var(--white);
  padding: 10px 18px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
