:root {
  --bg: #ffffff;
  --ink: #1d2433;
  --muted: #556176;
  --line: #e9edf3;
  --accent: #f37726;       /* warm orange */
  --accent-ink: #7a360d;
  --surface: #f8fafc;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(8, 15, 30, .08);
}

/* =========================
   Base / Reset
   ========================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { opacity: .9; }
.container { width: min(1100px, 92vw); margin-inline: auto; }

/* Screen-reader only utility */
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0; padding: 0; margin: -1px;
}

/* Long text/link wrapping behavior */
body, p, li { overflow-wrap: anywhere; word-break: break-word; }

/* =========================
   Header / Nav
   ========================= */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.container.nav {
  display: flex;
  align-items: center;
  /* keeps brand + menu on one line */
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 50px; border-radius: 10px; }
.brand strong { font-size: 18px; }

.nav a { color: var(--ink); }
/* prevent awkward mid-word breaks in nav/buttons only */
.nav ul li a, .nav a, .btn { white-space: nowrap; }

.nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.nav .cta {
  padding: 10px 14px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

/* Hamburger toggle (hidden on desktop) */
.nav .nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  padding: 8px;
  cursor: pointer;
  /* we’ll push it right on mobile with margin-left:auto */
}

/* =========================
   Hero
   ========================= */
.hero { padding: 64px 0 36px; }

.hero .wrap {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
}

.eyebrow { font-weight: 600; color: var(--accent); }
h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; margin: 10px 0; }
.sub { color: var(--muted); font-size: 18px; }

.btns {
  display: flex; gap: 12px;
  margin-top: 18px; flex-wrap: wrap;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.btn.primary {
  background: var(--accent); color: #fff; border-color: transparent;
}

.hero .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

/* =========================
   Trust Row
   ========================= */
.trust { padding: 22px 0; }

.trust .row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  align-items: stretch; /* equal height tiles */
}

.trust .tile {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  background: #fff;

  /* center contents vertically + horizontally */
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust .tile small { display: block; color: var(--muted); }

/* =========================
   Sections
   ========================= */
section { padding: 44px 0; scroll-margin-top: 80px; }
.section-title { font-size: clamp(22px, 3.2vw, 32px); margin: 0 0 16px; }
.section-lede { color: var(--muted); margin: 0 0 22px; }

/* =========================
   Services
   ========================= */
.services .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.card h3 { margin: 0 0 8px; font-size: 20px; }
.card ul { margin: 0; padding-left: 18px; }
.note { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* =========================
   Mobile Accordions
   ========================= */
details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

summary { cursor: pointer; font-weight: 600; }

/* =========================
   Process
   ========================= */
.process .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.step b { display: block; font-size: 18px; margin-bottom: 6px; }

/* savings callout */
.savings {
  margin-top: 18px;
  background:
    linear-gradient(0deg, #fff, #fff),
    radial-gradient(60% 140% at 0% 0%, rgba(243, 119, 38, .10), transparent 60%),
    radial-gradient(50% 120% at 100% 100%, rgba(243, 119, 38, .10), transparent 60%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.savings b { display: block; margin-bottom: 6px; }

/* =========================
   About
   ========================= */
.about .wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: center;
}

.about img { border-radius: 16px; border: 0px solid var(--line); }

/* =========================
   Testimonials
   ========================= */
.testimonials .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.quote p { margin: 0; }
.quote small { display: block; margin-top: 8px; color: var(--muted); }

/* =========================
   Pricing
   ========================= */
.pricing .tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.price {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.price h4 { margin: 0 0 6px; }
.price .num { font-weight: 700; font-size: 22px; }
.price ul { padding-left: 18px; margin: 10px 0 0; }

/* =========================
   Contact
   ========================= */
form { display: grid; gap: 12px; }

input, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
}

textarea { min-height: 140px; }

.submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.helper { color: var(--muted); font-size: 14px; }

/* =========================
   Areas Served
   ========================= */
.areas .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.areas .pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  text-align: center;
  background: #fff;
}

/* =========================
   Footer
   ========================= */
footer {
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

/* =========================
   Sticky Contact
   ========================= */
.sticky-contact {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 60;
}

.sticky-contact a {
  display: flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 900px) {

  /* hero stack */
  .hero .wrap { grid-template-columns: 1fr; }

  /* trust row stacks to 3 cols on mobile */
  .trust .row { grid-template-columns: repeat(3, 1fr); }

  /* services, process, about, testimonials, pricing -> single column */
  .services .grid,
  .process .steps,
  .about .wrap,
  .testimonials .grid,
  .pricing .tiles { grid-template-columns: 1fr; }

  /* areas served: 2 columns */
  .areas .grid { grid-template-columns: repeat(2, 1fr); }

  /* nav container becomes anchor for absolute dropdown */
  .container.nav { position: relative; text-align: center; }

  /* show hamburger and push it to the far right */
  .nav .nav-toggle {
    display: inline-flex;
    margin-left: auto;  /* key line: pushes it right */
    margin-right: 0;
  }

  /* dropdown menu from right edge */
  .nav ul {
    display: none;
    position: absolute; right: 16px; top: 60px;
    background: #fff;
    border: 1px solid var(--line);
    padding: 12px; border-radius: 8px; box-shadow: var(--shadow);
    z-index: 99;
    min-width: 200px;
    flex-direction: column; gap: 10px;
  }

  .nav ul.show { display: flex; }
}
