:root {
  --ink: #0c2430;
  --ink-soft: #1d3a45;
  --teal: #0d4150;
  --teal-mid: #176577;
  --teal-line: rgba(13, 65, 80, 0.14);
  --amber: #d9822b;
  --amber-deep: #b96b19;
  --paper: #fbfcfc;
  --fog: #f2f6f6;
  --white: #ffffff;
  --muted: #5f7480;
  --line: rgba(12, 36, 48, 0.1);
  --line-strong: rgba(12, 36, 48, 0.18);

  --font-display: "Manrope", system-ui, -apple-system, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;

  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-6: 3rem;
  --s-8: 4rem;
  --s-10: 5rem;

  --radius: 14px;
  --radius-sm: 10px;
  --container: 1140px;
  --header-h: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 1000;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 252, 252, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px rgba(12, 36, 48, 0.05);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--teal);
  display: grid;
  place-items: center;
  position: relative;
}

.brand-mark svg {
  width: 1.35rem;
  height: 1.35rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: none;
  align-items: center;
  gap: var(--s-4);
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.35rem 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--ink);
}

.nav-link.is-active {
  color: var(--ink);
  font-weight: 600;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-phone {
  display: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--teal-mid);
}

.nav-toggle {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 0.95rem;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-nav {
  display: grid;
  padding: 0.25rem 1.25rem 1.25rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.9rem 0;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

.mobile-nav .btn {
  margin-top: var(--s-2);
  justify-content: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-accent {
  background: var(--amber);
  color: #1a1103;
}

.btn-accent:hover {
  background: var(--amber-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--teal-mid);
  color: var(--teal-mid);
}

.btn-sm {
  min-height: 2.3rem;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background: linear-gradient(160deg, #0d4150 0%, #10505f 45%, #0a2e3a 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(120% 90% at 85% 15%, #000 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 40rem;
  height: 40rem;
  background: radial-gradient(circle, rgba(217, 130, 43, 0.16), transparent 62%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: var(--s-8) 0 var(--s-10);
  max-width: 40rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: var(--s-3);
}

.hero-kicker::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(217, 130, 43, 0.22);
}

.hero-title {
  font-size: clamp(2.05rem, 5.2vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--s-3);
  color: var(--white);
}

.hero-title em {
  font-style: normal;
  color: #f0c48a;
}

.hero-copy {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 33rem;
  margin-bottom: var(--s-4);
}

.hero-coverage {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(6, 26, 33, 0.35);
}

.coverage-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem var(--s-3);
  padding: 1.05rem 0;
}

.coverage-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.coverage-areas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.coverage-areas li {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.coverage-areas li + li::before {
  content: "";
  position: absolute;
  left: -0.6rem;
  top: 50%;
  width: 1px;
  height: 0.85rem;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.24);
}

.coverage-link {
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 600;
  color: #f0c48a;
  white-space: nowrap;
}

.coverage-link:hover {
  color: var(--white);
}

/* ---------- Sections ---------- */
.section {
  padding: var(--s-10) 0;
}

.section-tight {
  padding: var(--s-6) 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: var(--s-6);
}

.eyebrow {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-mid);
  margin-bottom: 0.75rem;
}

.section h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  margin-bottom: 0.85rem;
}

.lede {
  color: var(--muted);
  font-size: 1.03rem;
  max-width: 36rem;
}

.band {
  background: var(--teal);
  color: var(--white);
}

.band h2 {
  color: var(--white);
}

.band .lede,
.band p {
  color: rgba(255, 255, 255, 0.76);
}

.band .eyebrow {
  color: #f0c48a;
}

/* ---------- Service list ---------- */
.service-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-link {
  display: block;
  padding: var(--s-3);
  background: var(--white);
  transition: background 0.2s ease;
}

.service-link:hover {
  background: var(--fog);
}

.service-icon {
  color: var(--teal-mid);
  margin-bottom: 0.9rem;
  display: block;
}

.service-icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.service-link h3 {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.35rem;
}

.service-link p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.service-arrow {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--amber-deep);
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.service-link:hover .service-arrow {
  transform: translateX(4px);
}

/* ---------- Feature rows ---------- */
.why-grid,
.steps {
  display: grid;
  gap: var(--s-4);
}

.why-item,
.step {
  padding-top: var(--s-2);
  border-top: 2px solid var(--ink);
}

.why-item h3,
.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.why-item p,
.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

.band .why-item,
.band .step {
  border-top-color: rgba(255, 255, 255, 0.35);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber-deep);
  margin-bottom: 0.35rem;
}

.split {
  display: grid;
  gap: var(--s-6);
}

.info-panel {
  padding: var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.info-panel h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.info-panel p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Page heroes ---------- */
.page-hero,
.service-hero {
  padding: var(--s-8) 0 var(--s-6);
  border-bottom: 1px solid var(--line);
  background: var(--fog);
}

.page-hero h1,
.service-hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.7rem);
  margin-bottom: 0.85rem;
  max-width: 20ch;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: var(--s-3) 0 0;
  display: grid;
  gap: 0;
}

.benefit-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.6rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.benefit-list li:first-child {
  border-top: 1px solid var(--line);
}

.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--amber);
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  gap: var(--s-6);
}

.form-card,
.contact-aside {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-4);
}

.form-grid {
  display: grid;
  gap: var(--s-3);
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  padding: 0.75rem 0.9rem;
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--teal-mid);
}

textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-error {
  color: #a5382a;
  font-size: 0.83rem;
  font-weight: 500;
}

.alert {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--s-3);
  font-size: 0.95rem;
  font-weight: 500;
  animation: alertIn 0.3s ease;
}

@keyframes alertIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.alert-success {
  background: #edf7f0;
  color: #1f5c3a;
  border: 1px solid #c3e2ce;
}

.alert-error {
  background: #fcefed;
  color: #8d3226;
  border: 1px solid #eec7c1;
}

.contact-aside h2 {
  font-size: 1.3rem;
  margin-bottom: var(--s-3);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
}

.contact-list li {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-list li:first-child {
  padding-top: 0;
}

.contact-list strong {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list a,
.contact-list span {
  font-size: 0.98rem;
  color: var(--ink);
}

.contact-list a:hover {
  color: var(--teal-mid);
}

.map-embed {
  margin-top: var(--s-3);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: var(--s-8) 0 var(--s-3);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.94rem;
}

.footer-grid {
  display: grid;
  gap: var(--s-6);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.footer-logo span {
  color: #f0c48a;
}

.footer-tag {
  max-width: 18rem;
}

.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--s-2);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: var(--s-3);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid,
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 860px) {
  .nav {
    display: flex;
  }

  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }

  .header-phone {
    display: inline;
  }

  .hero-inner {
    padding: var(--s-10) 0;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-link {
    padding: var(--s-4);
  }

  .split {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }

  .contact-layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1.2fr;
  }

  .form-card,
  .contact-aside {
    padding: var(--s-6);
  }

  .form-grid > .btn {
    justify-self: start;
    padding-inline: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
