/* ==========================================================================
   North Haven Tree & Crane Co. - styles.css
   Design: industrial arborist / crane crew. Deep forest green + charcoal +
   warm off-white. Safety orange reserved for urgency (emergency, call CTAs).
   Fonts: Barlow Condensed (display) + Barlow (body).
   ========================================================================== */

:root {
  /* Palette */
  --forest: #1B4332;          /* primary - deep forest green */
  --forest-2: #2D6A4F;        /* pine - darker, AA-safe on paper */
  --forest-3: #40916C;        /* pine bright - fills / large text */
  --forest-soft: #DCE8E1;     /* tinted surface */
  --forest-deep: #10291E;     /* hero overlay / footer */
  --safety: #E8871E;          /* safety orange - urgency only */
  --safety-deep: #C96F0D;     /* AA-safe orange on white (text/icon) */
  --safety-bright: #F59E0B;   /* orange that clears 4.5:1 on forest green */
  --safety-soft: #FBEBD8;     /* orange tint */
  --ink: #1A1A1A;
  --gray: #5C6660;            /* secondary text (AA on paper) */
  --paper: #F7F6F2;
  --white: #FFFFFF;
  --border: #E3E0D6;
  --shadow-sm: 0 1px 2px rgba(16, 41, 30, .06);
  --shadow: 0 6px 24px rgba(16, 41, 30, .10);
  --shadow-raised: 0 16px 48px rgba(16, 41, 30, .18);
  --radius: 10px;

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", "Segoe UI", Arial, sans-serif;

  /* Spacing rhythm */
  --section-pad: clamp(3.25rem, 7vw, 5.5rem);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: clip;
}

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

p { color: var(--ink); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.12;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); }

a { color: var(--forest-2); }
a:hover { color: var(--forest-3); }

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

::selection { background: var(--forest); color: var(--white); }

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

/* Skip link (WCAG 2.4.1) - visually hidden until focused */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 3000;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
  width: auto;
  height: auto;
  background: var(--safety);
  color: var(--ink);
  padding: .65rem 1.1rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-raised);
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .95rem;
  color: var(--forest-2);
  margin-bottom: .75rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--safety);
  display: inline-block;
}

.eyebrow-light { color: var(--safety); }

.eyebrow-center { justify-content: center; }
.eyebrow-center::before { display: none; }
.eyebrow-center::after {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--safety);
  display: inline-block;
}

.section-pad { padding: var(--section-pad) 0; }

.lead-lg {
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  color: var(--gray);
  line-height: 1.6;
}

.surface-alt { background: var(--white); }
.surface-tint { background: var(--forest-soft); }

.hazard-stripe {
  background-image: repeating-linear-gradient(
    -45deg,
    var(--safety) 0 14px,
    var(--ink) 14px 28px
  );
  height: 6px;
}

/* Buttons ----------------------------------------------------------------- */

.btn {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: 1.0625rem;
  padding: .72rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}

.btn:active { transform: scale(.97); }

.btn-forest {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}
.btn-forest:hover {
  background: var(--forest-2);
  border-color: var(--forest-2);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-pine {
  background: var(--forest-2);
  color: var(--white);
  border-color: var(--forest-2);
}
.btn-pine:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-safety {
  background: var(--safety);
  color: var(--ink);
  border-color: var(--safety);
}
.btn-safety:hover {
  background: var(--safety-deep);
  border-color: var(--safety-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, .85);
  color: var(--white);
  background: transparent;
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--forest);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-forest {
  border-color: var(--forest);
  color: var(--forest);
  background: transparent;
}
.btn-outline-forest:hover {
  background: var(--forest);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-lg { padding: .95rem 2rem; font-size: 1.15rem; }

.btn .bi { font-size: 1.1em; vertical-align: -0.12em; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--forest-deep);
  color: rgba(247, 246, 242, .85);
  font-size: .9rem;
  padding: .45rem 0;
}

.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--safety); }

.topbar .bi { color: var(--safety); margin-right: .35rem; }

.navbar-nht {
  background: var(--white);
  padding: 0;
  border-bottom: 1px solid var(--border);
}

.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 1029;
  transition: box-shadow .2s ease;
}

.navbar-wrapper.scrolled {
  box-shadow: var(--shadow);
}

.navbar-nht > .container-nht {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .5rem 0;
  color: var(--forest) !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  background: var(--forest);
  color: var(--safety);
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark svg { width: 26px; height: 26px; }

.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray);
}

.navbar-nht .nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
  padding: .6rem .85rem;
}

.navbar-nht .nav-link:hover,
.navbar-nht .nav-link:focus {
  color: var(--forest-2);
}

.navbar-nht .nav-link.active {
  color: var(--forest);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--forest) !important;
  text-decoration: none;
  white-space: nowrap;
}

.nav-phone:hover { color: var(--safety-deep) !important; }

.nav-phone .bi {
  color: var(--safety-deep);
  font-size: 1.15em;
}

.navbar-nht .btn {
  margin-left: .5rem;
  padding: .6rem 1.25rem;
}

.navbar-toggler {
  border: 2px solid var(--forest);
  border-radius: var(--radius);
  padding: .35rem .55rem;
}

.navbar-toggler:focus { box-shadow: 0 0 0 3px var(--forest-2); }

.navbar-toggler .bi { font-size: 1.5rem; color: var(--forest); }

/* Mobile expanded collapse: absolute overlay under sticky nav (see skill) */
@media (max-width: 991.98px) {
  .navbar-nht .navbar-nav {
    margin-left: 0 !important;
  }

  .navbar-nht .navbar-collapse.show,
  .navbar-nht .navbar-collapse.collapsing {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1030;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-raised);
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    padding: 10px 1rem 20px;
  }

  .navbar-nht .navbar-collapse .phone-cta-wrap {
    margin: 14px 0 4px;
    align-self: flex-start;
  }

  .navbar-nht .navbar-collapse .nav-cta {
    margin-top: 12px;
    align-self: flex-start;
  }
}

/* --------------------------------------------------------------------------
   Mobile call bar (sticky bottom, mobile only)
   -------------------------------------------------------------------------- */

.mobile-callbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(16, 41, 30, .12);
}

.mobile-callbar .btn {
  flex: 1;
  margin: .5rem .25rem;
  font-size: 1.05rem;
  padding: .8rem 1rem;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .mobile-callbar { display: flex; }
  body { padding-bottom: 64px; }
}

/* --------------------------------------------------------------------------
   Hero (homepage)
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--forest-deep);
  color: var(--white);
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 8vw, 6rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .55;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(16, 41, 30, .92) 0%, rgba(16, 41, 30, .62) 55%, rgba(16, 41, 30, .35) 100%);
}

.hero-content { position: relative; z-index: 1; max-width: 720px; }

.hero h1 { color: var(--white); margin-bottom: 1.1rem; }

.hero .lead-lg { color: rgba(247, 246, 242, .88); margin-bottom: 1.9rem; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-bottom: 2.2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.6rem;
  padding: 1.1rem 1.25rem;
  background: rgba(16, 41, 30, .55);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  max-width: 640px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 1rem;
}

.hero-badges .bi { color: var(--safety); font-size: 1.15rem; }

.hero-scroll {
  position: absolute;
  bottom: 1.25rem;
  right: 1.5rem;
  z-index: 1;
  color: rgba(247, 246, 242, .7);
  font-size: 1.6rem;
  animation: bob 2.4s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* --------------------------------------------------------------------------
   Emergency banner
   -------------------------------------------------------------------------- */

.emergency-bar {
  background: var(--safety);
  color: var(--ink);
  padding: .85rem 0;
}

.emergency-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .75rem 1.6rem;
  text-align: center;
}

.emergency-bar strong {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 1.15rem;
}

.emergency-bar a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.emergency-bar .bi { margin-right: .3rem; }

/* --------------------------------------------------------------------------
   Cards & grids
   -------------------------------------------------------------------------- */

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-raised);
  border-color: var(--forest-3);
}

.service-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 12px;
  background: var(--forest);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1.1rem;
}

.service-card h3 { margin-bottom: .6rem; font-size: 1.5rem; }
.service-card h3 a { color: var(--ink); text-decoration: none; }
.service-card h3 a:hover { color: var(--forest-2); }
.service-card p { color: var(--gray); font-size: 1rem; margin-bottom: 1.1rem; }

.card-link {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 1rem;
  color: var(--forest-2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  align-self: flex-start;
}

.card-link:hover { color: var(--safety-deep); }
.card-link .bi { transition: transform .15s ease; }
.card-link:hover .bi { transform: translateX(4px); }

/* Featured service card (homepage row 1) */
.featured-card {
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
}

.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.featured-card-body {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
}

.featured-card-body h3 { color: var(--white); font-size: 1.9rem; margin-bottom: .75rem; }
.featured-card-body h3 a { color: var(--white); text-decoration: none; }
.featured-card-body h3 a:hover { color: var(--safety); }
.featured-card-body p { color: rgba(247, 246, 242, .82); }

.featured-card .card-link { color: var(--safety); }
.featured-card .card-link:hover { color: var(--white); }

.featured-card .service-icon { background: rgba(255, 255, 255, .12); color: var(--safety); }

/* --------------------------------------------------------------------------
   Why choose us
   -------------------------------------------------------------------------- */

.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  height: 100%;
  border-top: 4px solid var(--forest);
}

.why-card .why-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--forest-2);
  margin-bottom: .4rem;
}

.why-card h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.why-card p { color: var(--gray); font-size: .99rem; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Process steps
   -------------------------------------------------------------------------- */

.step {
  position: relative;
  padding: 1.7rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 100%;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1;
  color: rgba(45, 106, 79, .08);
  -webkit-text-stroke: 2px var(--forest-2);
  margin-bottom: .7rem;
}

.step h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.step p { color: var(--gray); font-size: .97rem; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

/* Equal-height cards only inside the testimonial grids (homepage + about).
   A bare .testimonial in a tall content column (location pages) must NOT
   stretch - height:100% there resolves to the column height and the flex:1
   blockquote blows up into an oversized box that overlaps the sections below. */
.testimonial-grid .testimonial {
  height: 100%;
}

.testimonial .stars {
  color: var(--safety-deep);
  font-size: 1.05rem;
  letter-spacing: .15em;
  margin-bottom: .85rem;
}

.testimonial blockquote {
  font-size: 1.02rem;
  color: var(--ink);
  font-style: italic;
  border-left: 3px solid var(--forest-3);
  padding-left: 1rem;
  margin-bottom: 1.2rem;
  flex: 1;
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.testimonial .avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.testimonial .t-name { font-weight: 600; line-height: 1.2; }
.testimonial .t-town { color: var(--gray); font-size: .88rem; }

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.gallery-figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0;
  background: var(--forest-deep);
}

.gallery-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
  display: block;
  transition: transform .35s ease;
}

.gallery-figure:hover img { transform: scale(1.03); }

.gallery-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.2rem 1.1rem .8rem;
  background: linear-gradient(transparent, rgba(16, 41, 30, .85));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: 1.02rem;
}

.gallery-figure .tag {
  position: absolute;
  top: .8rem;
  left: .8rem;
  background: var(--safety);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  padding: .2rem .6rem;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Service area links
   -------------------------------------------------------------------------- */

.area-group h3 {
  font-size: 1.2rem;
  color: var(--forest-2);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .9rem;
  padding-bottom: .55rem;
  border-bottom: 2px solid var(--forest-soft);
}

.area-links {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 1.2rem;
}

@media (max-width: 575.98px) {
  .area-links { columns: 1; }
}

.area-links li {
  break-inside: avoid;
  padding: .28rem 0;
}

.area-links a {
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .25rem 0;
}

.area-links a::before {
  content: "\F231"; /* bi-geo-alt */
  font-family: "bootstrap-icons";
  color: var(--forest-3);
  font-size: .9em;
}

.area-links a:hover { color: var(--safety-deep); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.accordion-nht .accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  margin-bottom: .8rem;
  overflow: hidden;
  background: var(--white);
}

.accordion-nht .accordion-button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  background: var(--white);
  padding: 1.05rem 1.25rem;
}

.accordion-nht .accordion-button:not(.collapsed) {
  background: var(--forest);
  color: var(--white);
  box-shadow: none;
}

.accordion-nht .accordion-button:focus {
  box-shadow: 0 0 0 3px var(--forest-2);
}

.accordion-nht .accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231B4332'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.accordion-nht .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.accordion-nht .accordion-body { padding: 1.1rem 1.25rem 1.3rem; }
.accordion-nht .accordion-body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   CTA band / quote form
   -------------------------------------------------------------------------- */

.cta-band {
  background: var(--forest);
  color: var(--white);
  position: relative;
}

.cta-band h2, .cta-band h3 { color: var(--white); }
.cta-band .lead-lg { color: rgba(247, 246, 242, .85); }
.cta-band .eyebrow { color: var(--safety-bright); }

.cta-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow-raised);
  color: var(--ink);
}

/* Keep the band's white text off the white card inside it */
.cta-band .cta-card h2,
.cta-band .cta-card h3,
.cta-band .cta-card h4 { color: var(--ink); }

.form-label { font-weight: 600; font-size: .95rem; }

.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .65rem .85rem;
  background: var(--paper);
}

.form-control:focus, .form-select:focus {
  border-color: var(--forest-2);
  box-shadow: 0 0 0 3px var(--forest-2);
  background: var(--white);
}

.form-control::placeholder {
  color: #495057;
  opacity: 1;
}

.form-check-input:checked {
  background-color: var(--forest);
  border-color: var(--forest);
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(64, 145, 108, .25);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.contact-block {
  color: rgba(247, 246, 242, .9);
}

.contact-block .ci {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.contact-block .ci-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .12);
  color: var(--safety);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.contact-block .ci h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--white);
  margin-bottom: .15rem;
}

.contact-block .ci p { color: rgba(247, 246, 242, .85); margin-bottom: 0; }
.contact-block a { color: var(--forest-2); }
.contact-block a:hover { color: var(--safety-deep); }

/* Inside the dark band the links sit on forest green - flip to white */
.cta-band .contact-block a { color: var(--white); }
.cta-band .contact-block a:hover { color: var(--safety); }

.form-success {
  text-align: center;
  padding: 2.5rem 1rem;
}

.form-success .bi {
  font-size: 3.2rem;
  color: var(--forest-3);
  display: block;
  margin-bottom: 1rem;
}

.form-success h3 { margin-bottom: .6rem; }

/* --------------------------------------------------------------------------
   Interior page hero (services / locations / about / contact)
   -------------------------------------------------------------------------- */

.page-hero {
  background: var(--forest-deep);
  color: var(--white);
  padding: clamp(2.75rem, 6vw, 4.5rem) 0;
}

.page-hero h1 { color: var(--white); margin-bottom: .7rem; }
.page-hero p { color: rgba(247, 246, 242, .85); max-width: 760px; margin-bottom: 0; }

.breadcrumb-nht {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  font-size: .92rem;
}

.breadcrumb-nht li + li::before {
  content: "/";
  color: rgba(247, 246, 242, .5);
  margin-right: .45rem;
}

.breadcrumb-nht a { color: var(--safety); text-decoration: none; }
.breadcrumb-nht a:hover { text-decoration: underline; }
.breadcrumb-nht li[aria-current] { color: rgba(247, 246, 242, .75); }

/* Content page image */
.content-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}

.figure-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.figure-card img { width: 100%; object-fit: cover; }
.figure-card figcaption {
  padding: .9rem 1.1rem;
  color: var(--gray);
  font-size: .92rem;
  background: var(--white);
}

/* Check list */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  padding: .4rem 0 .4rem 2rem;
  position: relative;
}

.check-list li::before {
  content: "\F26E"; /* bi-check-circle-fill */
  font-family: "bootstrap-icons";
  color: var(--forest-3);
  position: absolute;
  left: 0;
  top: .45rem;
  font-size: 1.1rem;
}

/* Callout box */
.callout {
  background: var(--safety-soft);
  border-left: 4px solid var(--safety);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.3rem 1.4rem;
}

.callout strong { font-family: var(--font-display); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; }
.callout p:last-child { margin-bottom: 0; }

/* Related links chips */
.related-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .5rem 1.05rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .95rem;
  color: var(--forest-2);
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.chip:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}

/* Map embed */
.map-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.map-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-card .map-open {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: var(--forest);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .9rem;
  padding: .5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  z-index: 2;
  box-shadow: var(--shadow);
}

.map-card .map-open:hover { background: var(--safety); color: var(--ink); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--forest-deep);
  color: rgba(247, 246, 242, .82);
  padding: 4rem 0 0;
  font-size: .98rem;
}

.site-footer h2, .site-footer h3, .site-footer h4 {
  color: var(--white);
}

.site-footer .f-head {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 1.1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid rgba(255, 255, 255, .14);
}

.site-footer p { color: rgba(247, 246, 242, .82); }

.site-footer a {
  color: rgba(247, 246, 242, .82);
  text-decoration: none;
}

.site-footer a:hover { color: var(--safety); }

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li { padding: .22rem 0; }

.site-footer .f-phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
}

.site-footer .f-phone:hover { color: var(--safety); }

.site-footer .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 10px;
  font-size: 1.2rem;
  color: var(--white);
  margin-right: .55rem;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.site-footer .social a:hover {
  background: var(--safety);
  border-color: var(--safety);
  color: var(--ink);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  margin-top: 3rem;
  padding: 1.2rem 0;
  font-size: .88rem;
  color: rgba(247, 246, 242, .6);
}

.footer-bottom a { color: rgba(247, 246, 242, .6); }
.footer-bottom a:hover { color: var(--safety); }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-scroll { display: none; }
}

/* --------------------------------------------------------------------------
   Small screens
   -------------------------------------------------------------------------- */

@media (max-width: 575.98px) {
  .hero-ctas .btn { width: 100%; }
  .cta-card { padding: 1.5rem 1.2rem; }
  .featured-card-body { padding: 1.6rem; }
  .topbar { display: none; }
}

@media (max-width: 767.98px) {
  .navbar-nht > .container-nht { min-height: 68px; }
  .navbar-brand { font-size: 1.25rem; }
  .brand-mark { width: 40px; height: 40px; flex-basis: 40px; }
}
