:root {
  --bg: #f5f8f4;
  --bg-2: #ffffff;
  --panel: rgba(255, 255, 255, 0.96);
  --panel-soft: rgba(249, 251, 249, 0.98);
  --panel-alt: rgba(245, 248, 246, 0.98);
  --border: rgba(91, 117, 94, 0.18);
  --border-strong: rgba(43, 157, 93, 0.8);
  --text: #14231a;
  --muted: rgba(25, 36, 29, 0.7);
  --accent: #72ADD1;
  --accent-2: #5bbd82;
  --logo-dark: #0d4f3a;
  --logo-mid: #2aa76d;
  --logo-light: #a8f0c4;
  --green: #3dbc75;
  --bg-image: linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 122px;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.page-shell {
  background: var(--bg);
}

.dark-panel {
  background: #ffffff;
  border-color: var(--border);
}

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

img {
  max-width: 100%;
  display: block;
  border-radius: 25px;
  background-image: url(paper.gif);
  background-position: left top;
  background-repeat: repeat;
  height: 46px;
}

button,
input,
select {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  background: var(--bg);
}

.section-block {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 122px;
}

section[id] {
  scroll-margin-top: 122px;
}

.dark-panel {
  background: #ffffff;
}

.metrics-section {
  min-height: 100px;
  background: linear-gradient(180deg, rgba(249, 251, 249, 0.92), rgba(255, 255, 255, 0.96));
  border-bottom: 1px solid var(--border);
}

.hero-image {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
}

/* Feature hero background layers and layout */
.feature-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.feature-hero .hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.feature-hero .hero-image .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 1s ease-in-out;
  opacity: 0;
  will-change: opacity, transform;
}

.feature-hero .hero-image .bg[style] {
  /* ensures inline background-image can render smoothly */
}

/* overlay to improve text contrast */
.feature-hero .hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25));
  z-index: 1;
  pointer-events: none;
}

.feature-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4.2rem 2rem;
  color: #fff;
  text-align: top-left;
  text-shadow: 0 6px 18px rgba(0,0,0,0.45);
}

/* ensure first layer is visible by default when JS hasn't run */
.feature-hero .hero-image .layer-a { opacity: 1; }


.metrics-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 260px;
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  /*border-top: 1px solid var(--border);*/
 /* border-bottom: 1px solid var(--border);*/
  padding: 2.4rem 3rem;
  gap: 1.5rem;
}

.stat {
  display: flex;
  align-items: flex-end;
  gap: 0.8rem;
  justify-content: center;
}

.value,
.label {
  display: inline-block;
}

.value {
  font-size: clamp(2.2rem, 2vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: var(--text);
  line-height: 0.9;
}

.value.accent {
  color: var(--accent);
}

.value .unit {
  font-size: 0.38em;
  letter-spacing: -0.04em;
  margin-left: 0.15em;
  vertical-align: baseline;
  font-weight: 700;
}

.label {
  font-size: 0.8rem;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.02em;
  max-width: 110px;
}

.about-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.about-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;

    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Why Choose Us and Contact - no outer border */
.about-wrap > .why-choose,
.about-wrap > .contact-block {
    border: none;
    padding: 2rem;
}

.about-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;

    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 2rem;
}

/* Left new section */
.new-section {
    padding: 2rem;
    text-align: justify
}

.brand-copy {
    overflow: hidden;
    padding: 0;
}

.brand-copy img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 348px;
    object-fit: cover;
}

/* Right About section */
.brand-block {
    padding: 2rem;
}

/* Why Choose Us + Contact */
.info-columns {
    grid-column: 1 / -1;

    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 2rem;

    padding-top: 2rem;
}

.info-column {
    border: none;
    padding: 0;
}

.info-column h3 {
    margin-top: 0;
}

/* Mobile */
@media (max-width: 768px) {

    .about-wrap {
        grid-template-columns: 2fr;
    }

    .info-columns {
        grid-template-columns: 2fr;
        gap: 2rem;
    }
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-box {
  width: 160px;
  height: 120px;
  border-radius: 18px;
  background-image: url("./assets/logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: block;
  box-shadow: none;
}

.logo-box.small {
  width: 120px;
  height: 90px;
  border-radius: 14px;
}

.hammer {
  display: none;
}

.brand-copy h2,
.nav-brand h2 {
  margin: 0;
  font-size: clamp(1.9rem, 2vw, 3rem);
  line-height: 0.95;
  /* letter-spacing: -0.06em; */
  /* font-weight: 900; */
  font-family: Arial, Helvetica, sans-serif; 
}

.brand-copy p,
.nav-brand p {
  margin: 0.32rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.about-text {
  max-width: 430px;
  margin: 0 auto 0 0;
  font-size: clamp(1.2rem, 1.5vw, 1.6rem);
  line-height: 1.42;
  color: var(--muted);
}

.info-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 1.5rem;
}

.info-column h3 {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.info-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 1.04rem;
  line-height: 1.55;
  color: var(--text);
}

.bottom-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.4rem 2rem 1.8rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
}

.bottom-bar p {
  margin: 0;
  font-size: 0.95rem;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.95rem;
}

.legal-links a {
  color: var(--muted);
  text-decoration: none;
}

.legal-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.reviews {
  padding: 5.5rem 2rem 4rem;
  background: #ffffff;
}

.section-kicker {
  display: block;
  margin: 0 auto 1.2rem;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.17em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
}

.reviews h2,
.why-choose h2,
.ops h2,
.projects h2 {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.9rem, 2vw, 3rem);
  line-height: 0.96;
  /* letter-spacing: -0.07em; */
  /* font-weight: 900; */
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

.review-grid {
  max-width: 1210px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 2rem;
}

.review-card {
  background: rgba(246, 250, 247, 0.96);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 2rem 2.2rem 1.6rem;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  font-size: 2rem;
  color: #d8b53d;
  letter-spacing: 0.15em;
  margin-bottom: 1.3rem;
}

.review-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  text-align: justify;
}

.person {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(255, 255, 255, 0.18);
}

.avatar-one {
  background-image: url("https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=300&q=80");
}

.avatar-two {
  background-image: url("https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=300&q=80");
}

.person strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text);
}

.person span {
  display: block;
  color: var(--muted);
  margin-top: 0.15rem;
}

.why-choose {
  padding: 2rem 2rem 4rem;
  background: #ffffff;
}

.feature-grid {
  max-width: 1220px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 2rem;
}

.feature-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 245, 0.96));
  border: 1px solid rgba(91, 117, 94, 0.18);
  border-radius: 28px;
  padding: 2rem 1.75rem 1.7rem;
  box-shadow: 0 12px 24px rgba(20, 35, 26, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), rgba(114, 173, 209, 0.15));
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(20, 35, 26, 0.1);
  border-color: rgba(114, 173, 209, 0.36);
}

.feature-card h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 1.5vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.02rem;
  text-align: left;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .feature-card {
    padding: 1.5rem 1.25rem 1.35rem;
  }
}

.dispatch {
  padding: 4rem 2rem 4.5rem;
  display: grid;
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto;
}

.dispatch-copy h2 {
  margin: 0 0 1.3rem;
  line-height: 0.95;
  letter-spacing: -0.075em;
  color: var(--text);
}

.dispatch-copy > p {
  margin: 0 0 2rem;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 1.2rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--text);
}

.check-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-block;
  background: rgba(140, 195, 230, 0.12);
  position: relative;
}

.check-badge::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 8px;
  border-left: 4px solid var(--accent);
  border-bottom: 4px solid var(--accent);
  left: 11px;
  top: 12px;
  transform: rotate(-45deg);
}

.dispatch-form-wrap {
  background: rgba(248, 250, 249, 0.96);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 1.8rem 1.6rem 1.4rem;
  max-width: 600px;
  margin: 0 auto;
}

.dispatch-form {
  display: grid;
  gap: 0.9rem;
}

.dispatch-form h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(2.2rem, 2.3vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.dispatch-form label {
  font-size: 0.77rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(17, 17, 18, 0.82);
  font-weight: 700;
}

.dispatch-form input,
.dispatch-form select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(140, 163, 185, 0.3);
  min-height: 22px;
  padding: 0 1.1rem;
  font-size: 1.05rem;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "▾";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-52%);
  color: var(--accent);
  font-size: 1.4rem;
  pointer-events: none;
}

.dispatch-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 3rem;
}

.dispatch-form button {
  background: linear-gradient(180deg, #72ADD1 0%, #72ADD1 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  min-height: 72px;
  margin-top: 0.5rem;
  cursor: pointer;
  box-shadow: 0 10px 16px rgba(242, 139, 45, 0.19);
  padding: 0.9rem 1rem;
  margin: auto;
  min-block-size: -webkit-fill-available;
}

.dispatch-form button span {
  display: block;
  font-weight: 20px;
  letter-spacing: 0.02em;
  font-size: 15px;
  line-height: 1.1;
}

.dispatch-form button small {
  display: block;
  margin-top: 0.22rem;
  letter-spacing: 0.02em;
  font-size: 0.84rem;
  opacity: 0.8;
}

.ops {
  padding: 2rem 2rem 4rem;
}

.ops-grid {
  max-width: 1280px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 1.6rem;
}

.service-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(228, 240, 245, 0.9) 100%);
  border: 1px solid rgba(18, 52, 65, 0.08);
  border-radius: 28px;
  padding: 0.9rem 0.9rem 1.3rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 30px rgba(18, 33, 36, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(18, 33, 36, 0.12);
}

.service-card.featured {
  background: linear-gradient(180deg, rgba(235, 244, 248, 0.98) 0%, rgba(214, 229, 236, 0.96) 100%);
  border-color: rgba(47, 159, 102, 0.32);
}

.service-card .service-media {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 1rem;
  background: #dbe8e0;
}

.service-card .service-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-card:hover .service-media img {
  transform: scale(1.04);
}

.service-card .mini-icon {
  margin-bottom: 1.2rem;
}

.service-card .chip {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  /* font-weight: 800; */
  background: rgba(242, 139, 45, 0.12);
  color: var(--accent);
  border: 1px solid rgba(242, 139, 45, 0.34);
  margin-bottom: 1rem;
}

.service-card h3 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.5rem, 1.7vw, 2.5rem);
  letter-spacing: -0.06em;
  line-height: 1.08;
  color: var(--text);
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.98rem;
  text-align: left;
}

.service-card a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  padding-top: 1.2rem;
}


.icon-hammer::before {
  /* use the provided tree image centered inside the mini-icon */
  content: "";
  position: absolute;
  left: 50%;
  top: 101%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  background-image: url('./assets/tree-icon.png');
  background-size: contain;
  background-position: center;
  border-radius: 20px;
  background-repeat: no-repeat;
}

.icon-bolt::before {
  width: 18px;
  height: 24px;
  background: var(--accent);
  clip-path: polygon(30% 0, 100% 0, 62% 39%, 100% 39%, 18% 100%, 42% 58%, 0 58%);
}

.icon-alert::before {
  width: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 18px solid var(--accent);
  left: 50%;
  top: 18px;
  position: absolute;
  transform: translateX(-50%);
}

.icon-alert::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 14px;
  background: var(--accent);
  left: 50%;
  top: 42px;
  transform: translateX(-50%);
  border-radius: 3px;
}

.icon-grinder::before {
  width: 26px;
  height: 20px;
  border: 4px solid var(--accent);
  border-radius: 6px;
  transform: rotate(18deg);
}

/* .projects {
  padding: 5rem 2rem 4rem;
} */

.project-grid {
  max-width: 1220px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  gap: 2rem;
}

.project-gallery {
  max-width: 1080px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 1rem;
}

.project-card {
  background: rgba(250, 252, 250, 0.98);
  border: 1px solid var(--border);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(18, 32, 25, 0.08);
}

.project-photo {
  position: relative;
  min-height: 430px;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 0.9rem 0.7rem;
  transition: background-image 0.35s ease;
}

.project-copy {
  padding: 1.3rem 1.25rem 1.5rem;
}

.photo-one {
  background-image: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1200&q=80");
}

.photo-two {
  background-image: url("https://images.unsplash.com/photo-1501004318641-b39e6451bec6?auto=format&fit=crop&w=1200&q=80");
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
}

.tag.before {
  background: rgba(255, 86, 59, 0.9);
  color: #fff;
}

.tag.after.green {
  background: rgba(43, 183, 125, 0.9);
  color: #fff;
}

.project-card h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.7rem, 2vw, 2.8rem);
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 1rem;
}

.project-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(47, 159, 102, 0.3);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(20, 35, 26, 0.12);
  transition: transform 0.2s ease, background 0.2s ease;
}

.project-arrow:hover {
  transform: translateY(-1px);
  background: rgba(242, 245, 243, 1);
}

.project-arrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  height: 165px;
}

.ticker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 2rem;
  background: linear-gradient(90deg, #d03a29 0%, #d03a29 100%);
  color: #ffffff;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 200;
}

.ticker span {
  color: #ffffff;
  animation: beaconFlash 0.8s steps(1, end) infinite;
}

@keyframes beaconFlash {
  0%, 20%, 100% {
    opacity: 0.75;
    text-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  25%, 45% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 22px rgba(255, 255, 255, 0.55);
  }
  50%, 70% {
    opacity: 0.9;
    text-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  75% {
    opacity: 1;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.95), 0 0 26px rgba(255, 255, 255, 0.6);
  }
}

.ticker .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--logo-light);
  box-shadow: 0 0 0 2px rgba(168, 240, 196, 0.4);
}

.main-nav {
  display: flex;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 240px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  color: rgba(25, 36, 29, 0.7);
  font-size: 1.03rem;
  flex-wrap: wrap;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(250, 252, 250, 0.98);
  cursor: pointer;
  padding: 0.7rem 0.65rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.phone-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(232, 239, 246, 0.8);
}

.phone-wrap strong {
  font-size: 1.1rem;
  letter-spacing: -0.04em;
  font-weight: 900;
  color: var(--text);
}

.phone-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(242, 139, 45, 0.12);
  border: 1px solid rgba(242, 139, 45, 0.5);
  color: var(--accent);
  font-size: 1rem;
}

.feature-hero {
  position: relative;
  min-height: 340px;
  /* padding: 3rem 2rem 4rem; */
  background: linear-gradient(180deg, rgba(242, 249, 245, 0.8), rgba(255, 255, 255, 0.95));
  border-top: 1px solid var(--border);
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 3rem;
  width: 100%;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(242, 139, 45, 0.7);
  background: rgba(10, 20, 31, 0.2);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 900;
}

.feature-hero h1 {
  margin: 2.2rem 0 1.2rem;
  max-width: 620px;
  font-size: clamp(4rem, 6vw, 8rem);
  line-height: 0.82;
  letter-spacing: -0.08em;
  font-weight: 900;
}

.feature-hero p {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.2rem, 1.6vw, 2rem);
  line-height: 1.45;
  text-align: justify;
  
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  border-radius: 16px;
  padding: 0.75rem 1.2rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  min-width: 240px;
  box-shadow: 0 12px 26px rgba(47, 159, 102, 0.18);
  color: #fff;
}

.btn.primary small {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  opacity: 0.9;
}

.btn.secondary {
  min-width: 250px;
  border: 1px solid rgba(204, 216, 233, 0.55);
  background: #72ADD1;
  color: #fff;
  font-size: clamp(1.2rem, 1.6vw, 1.6rem);
  letter-spacing: 0.06em;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2.4rem;
  font-size: 1rem;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
}


.trust-row .insurance-item::before {
  display: none;
}

.insurance-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  color: var(--accent);
  flex-shrink: 0;
}

.insurance-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.accent {
  color: #72ADD1;
}

@media (max-width: 1120px) {
  .about-wrap {
    grid-template-columns: 1fr;
  }

  .dispatch {
    grid-template-columns: 1fr;
  }

  .ops-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .feature-grid,
  .project-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links {
    justify-content: center;
  }

  .ticker {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 860px) {
  .topbar {
    height: auto;
  }

  .main-nav {
    position: relative;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .brand-nav {
    flex: 1 1 auto;
    justify-content: space-between;
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
  }

  .main-nav.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 0.45rem 0;
    font-size: 1rem;
  }

  .main-nav .nav-links {
    animation: mobileNavSlide 0.2s ease-out;
  }

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

@media (max-width: 760px) {
  .metrics-inner {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    padding: 2rem 1rem;
  }

  .stat {
    justify-content: flex-start;
    padding-left: 0.5rem;
  }

  .about-strip,
  .reviews,
  .why-choose,
  .ops,
  .projects,
  .feature-hero,
  .dispatch {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .review-card,
  .feature-card,
  .service-card,
  .dispatch-form-wrap {
    border-radius: 18px;
  }

  .btn {
    width: 100%;
  }

  .btn.primary,
  .btn.secondary {
    min-width: 0;
  }

  .brand-copy h2,
  .nav-brand h2 {
    font-size: 1.6rem;
  }

  .feature-hero h1 {
    max-width: 420px;
  }

  .project-grid,
  .ops-grid {
    grid-template-columns: 1fr;
  }

  .bottom-bar {
    display: block;
  }

  .legal-links {
    margin-top: 0.8rem;
    justify-content: flex-start;
  }
}

/* Contact modal styles */
.modal-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2000;
  padding: 1rem;
}
.modal-backdrop.open {
  display: flex;
}
/* .modal {
  background: #fff;
  border-radius: 12px;
  max-width: 520px;
  width: 100%;
  padding: 1.6rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  position: relative;
} */

.modal {
  background: #fff;
  border-radius: 12px;

  width: 100%;
  max-width: 520px;

  /* Keep the entire modal inside the viewport */
  max-height: calc(100vh - 40px);

  padding: 1.6rem;
  box-sizing: border-box;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);

  position: relative;

  /* Keep longer forms and their actions inside the popup. */
  overflow-y: auto;
}
.brand-tagline {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--muted);
    text-transform: uppercase;
    margin: 0.32rem 0 0;
}

.social-icons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    vertical-align: middle;
}

.social-icons a {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50%;
    font-size: 16px;
    color: white;
    transition: transform 0.2s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.social-icons a:nth-child(1) {
    background: #1877f2;
}

.social-icons a:nth-child(2) {
    background: #e4405f;
}

.social-icons a:nth-child(3) {
    background: #d32323;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}
.modal-form {
  margin: 0;
}

.legal-modal {
  max-width: 640px;
}

.legal-modal-body {
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  padding-right: 0.4rem;
}

.legal-modal-body h3 {
  margin: 0 0 0.2rem;
  font-size: 1.25rem;
}

.legal-modal-body h4 {
  margin: 1rem 0 0.3rem;
  font-size: 0.88rem;
}

.legal-modal-body p,
.legal-modal-body li {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text);
}

.legal-modal-body ul {
  margin: 0.3rem 0 0.6rem;
  padding-left: 1.2rem;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.72rem;
  margin: 0 0 0.6rem;
}

.inline-legal-link {
  color: inherit;
  text-decoration: underline;
}

.icon-firewood {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(19, 73, 127, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-firewood img {
    width: 32px;
    height: 32px;
}
.modal-form label {
  display: block;
  margin-top: 0.9rem;
  font-weight: 700;
  font-size: 0.85rem;
}
.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0.2rem;
  font-size: 1rem;
}
.modal-form textarea { resize: vertical; min-height: 80px; }
.modal-form button { margin-top: 1rem; }
.modal-form > button {
  width: 100%;
  min-block-size: auto;
}
#contact-modal .modal {
  padding: 1.2rem;
  max-height: calc(100vh - 20px);
}
#contact-modal .modal-form > label:not(.sms-consent) {
  margin-top: 0.45rem;
}
#contact-modal .modal-form > input,
#contact-modal .modal-form > textarea {
  padding: 0.15rem;
}
#contact-modal .modal-form > textarea {
  min-height: 56px;
}
#contact-modal .modal-form > button {
  min-height: 48px;
  padding: 0.65rem 1rem;
}
.modal-form .sms-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.75rem;
  line-height: 1.4;
}
.sms-consent input {
  flex: 0 0 auto;
  width: auto;
  margin-top: 0.15rem;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 0.5rem 0.5rem;
}
.form-success[hidden],
#contact-form[hidden],
#dispatch-request-form[hidden] {
  display: none !important;
}
.form-success-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--accent-2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 12px 26px rgba(91, 189, 130, 0.35);
  animation: form-success-pop 0.35s ease;
}
@keyframes form-success-pop {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.form-success h3 {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
}
.form-success p {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
.form-success .form-success-close {
  min-width: 160px;
  min-height: 48px;
  background: var(--accent-2);
}

.btn-spinner {
  display: none !important;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spinner-spin 0.7s linear infinite;
}
@keyframes btn-spinner-spin {
  to {
    transform: rotate(360deg);
  }
}
button.is-loading {
  position: relative;
  cursor: progress;
  color: transparent !important;
}
button.is-loading .btn-label {
  visibility: hidden;
}
button.is-loading .btn-spinner {
  display: inline-block !important;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -10px;
}
.modal-form fieldset[disabled],
.dispatch-form fieldset[disabled] {
  opacity: 0.65;
}
.modal-form input:disabled,
.modal-form select:disabled,
.modal-form textarea:disabled,
.dispatch-form input:disabled,
.dispatch-form select:disabled,
.dispatch-form textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* form grid for dispatch page */
.dispatch-form.modal-form .form-grid {
  display: contents;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 1rem;
  align-items: start;
}
.dispatch-form.modal-form .form-item { display: contents; }
.dispatch-form.modal-form .form-item > label { display: block; margin-top: 0; font-weight: 700; font-size: 0.85rem; }
.dispatch-form.modal-form .form-item > input,
.dispatch-form.modal-form .form-item > select,
.dispatch-form.modal-form .form-item > textarea,
.dispatch-form.modal-form .form-item .select-wrap > select { width: 100%; }
.dispatch-form.modal-form .span-2 { grid-column: span 2; }
.dispatch-form.modal-form .span-3 { grid-column: span 3; }
.dispatch-form.modal-form .span-4 { grid-column: 1 / -1; }

@media (max-width: 760px) {
  .dispatch-form.modal-form .form-grid { grid-template-columns: 1fr; }
}