/* =========================================================================
   JT Solution - Design System
   Brand: deep teal (#007878) + charcoal (#1b1a1a) + warm sand accent
   Type:  Fraunces (display serif) + Hanken Grotesk (body grotesque)
   ========================================================================= */

/* ----- Design tokens --------------------------------------------------- */
:root {
  /* Brand */
  --teal-900: #03332f;
  --teal-800: #064b45;
  --teal-700: #066058;
  --teal-600: #007a72;
  --teal-500: #0a8f86;   /* primary brand teal */
  --teal-400: #2aa79d;
  --teal-300: #6ec7bf;
  --teal-100: #d6efeb;
  --teal-50:  #eef8f6;

  --ink-900: #14201f;    /* near black for headings */
  --ink-700: #2b3a38;
  --ink-500: #4a5856;    /* body text */
  --ink-400: #6b7b78;
  --ink-300: #9aa8a5;

  --sand-500: #e7a93c;   /* warm accent, used sparingly */
  --sand-400: #f1bd5e;
  --sand-100: #fbeccf;

  --paper:   #ffffff;
  --bone:    #f7f5f0;    /* warm off white section bg */
  --mist:    #f1f5f4;    /* cool off white section bg */
  --line:    #e4e7e6;

  /* Typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6.5rem;

  /* Radius and shadow */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(20,32,31,.06), 0 2px 6px rgba(20,32,31,.05);
  --shadow-md: 0 10px 30px -12px rgba(20,32,31,.22);
  --shadow-lg: 0 28px 60px -20px rgba(6,75,69,.30);
  --shadow-teal: 0 18px 40px -16px rgba(10,143,134,.55);

  --maxw: 1200px;
  --header-h: 84px;
}

/* ----- Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink-500);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 2px; border-radius: 4px; }

/* ----- Typography ------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.7rem); }
h4 { font-size: 1.15rem; font-weight: 600; }
p  { color: var(--ink-500); }
strong { color: var(--ink-700); font-weight: 700; }

.display-italic { font-style: italic; font-weight: 500; }
.text-teal { color: var(--teal-600); }

/* ----- Layout helpers -------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem); }
.section--bone { background: var(--bone); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink-900); color: #cfdad8; }
.section--teal { background: linear-gradient(135deg, var(--teal-700), var(--teal-900)); color: #dff0ed; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body);
  font-weight: 700; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--sand-500); border-radius: 2px; }
.section--ink .eyebrow, .section--teal .eyebrow { color: var(--sand-400); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1rem; font-size: 1.125rem; }
.lede { font-size: 1.2rem; color: var(--ink-700); }

/* ----- Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 1rem 1.6rem; border-radius: var(--r-pill);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--teal-500); color: #fff; box-shadow: var(--shadow-teal); }
.btn--primary:hover { background: var(--teal-600); transform: translateY(-2px); }
.btn--sand { background: var(--sand-500); color: var(--ink-900); box-shadow: 0 14px 30px -14px rgba(231,169,60,.8); }
.btn--sand:hover { background: var(--sand-400); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink-900); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--teal-400); color: var(--teal-700); }
.btn--light { background: #fff; color: var(--teal-700); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--lg { padding: 1.15rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ----- Top bar --------------------------------------------------------- */
.topbar {
  background: var(--ink-900); color: #b9c6c3;
  font-size: .85rem; letter-spacing: .01em;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; }
.topbar a { color: #cfdad8; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar__left { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar__item svg { width: 15px; height: 15px; color: var(--teal-300); }
.topbar__right { display: flex; gap: 1.1rem; align-items: center; }
@media (max-width: 760px) { .topbar { display: none; } }

/* ----- Header ---------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: var(--shadow-md); }
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  position: relative; padding: .6rem .9rem; border-radius: var(--r-sm);
  font-weight: 600; color: var(--ink-700); font-size: .98rem; transition: color .2s, background .2s;
}
.nav a::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .35rem; height: 2px;
  background: var(--teal-500); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:hover { color: var(--teal-700); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--teal-700); }
.header__cta { display: flex; align-items: center; gap: .8rem; }
.header__phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--ink-900); }
.header__phone svg { width: 20px; height: 20px; color: var(--teal-500); }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: var(--r-sm); align-items: center; justify-content: center; box-shadow: inset 0 0 0 2px var(--line); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 22px; height: 2px; background: var(--ink-900); border-radius: 2px; position: relative; transition: .3s; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .header__phone { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 1rem clamp(1.1rem,4vw,2rem) 2rem;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-130%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  body.nav-open .nav { transform: translateY(0); }
  .nav a { padding: .95rem .6rem; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 1rem; }
}

/* ----- Hero ------------------------------------------------------------ */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(3,51,47,.55), rgba(3,51,47,.35) 40%, rgba(3,51,47,.78)),
    radial-gradient(120% 90% at 80% 10%, rgba(10,143,134,.35), transparent 60%);
}
.hero .container { position: relative; padding-block: clamp(3.5rem, 2rem + 9vw, 8rem); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: .5rem 1rem; border-radius: var(--r-pill); font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  backdrop-filter: blur(6px);
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #57e3a0; box-shadow: 0 0 0 4px rgba(87,227,160,.25); }
.hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero h1 em { color: var(--sand-400); font-style: italic; }
.hero__sub { margin-top: 1.4rem; font-size: 1.2rem; color: #e6f1ef; max-width: 42ch; }
.hero__actions { margin-top: 2.2rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__trust { margin-top: 2.4rem; display: flex; gap: 1.8rem; flex-wrap: wrap; }
.hero__trust-item { display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: #dcebe9; }
.hero__trust-item svg { width: 22px; height: 22px; color: var(--sand-400); flex: none; }

/* Quote card floating in hero */
.quote-card {
  background: #fff; color: var(--ink-700); border-radius: var(--r-lg);
  padding: 1.8rem; box-shadow: var(--shadow-lg);
}
.quote-card h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.quote-card p { font-size: .92rem; margin-bottom: 1.2rem; }
.field { margin-bottom: .9rem; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--ink-700); margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--mist); font: inherit; color: var(--ink-900); transition: border .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-400); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .quote-card { max-width: 480px; }
}

/* ----- Trust / stats bar ---------------------------------------------- */
.statbar { background: #fff; border-bottom: 1px solid var(--line); }
.statbar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block: 2.2rem; }
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); color: var(--teal-700); font-weight: 600; line-height: 1; }
.stat__label { margin-top: .4rem; font-size: .9rem; color: var(--ink-400); font-weight: 600; letter-spacing: .02em; }
@media (max-width: 680px) { .statbar .container { grid-template-columns: 1fr 1fr; gap: 1.8rem; } }

/* ----- Cards / grids --------------------------------------------------- */
.grid { display: grid; gap: 1.6rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Service pillar card */
.service-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card__media { aspect-ratio: 16 / 11; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__body { padding: 1.5rem 1.5rem 1.7rem; flex: 1; display: flex; flex-direction: column; }
.service-card__body h3 { margin-bottom: .5rem; }
.service-card__body p { font-size: .96rem; flex: 1; }
.service-card__link { margin-top: 1.1rem; display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--teal-600); }
.service-card__link svg { width: 18px; height: 18px; transition: transform .25s; }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* Pest chip card */
.pest-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; }
@media (max-width: 980px) { .pest-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .pest-grid { grid-template-columns: repeat(2, 1fr); } }
.pest {
  position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3/4;
  box-shadow: var(--shadow-sm); isolation: isolate;
}
.pest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.pest::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(3,51,47,.85)); }
.pest:hover img { transform: scale(1.08); }
.pest span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem; color: #fff; font-weight: 700; font-family: var(--font-display); font-size: 1.15rem; }

/* Feature / why-choose list */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature__icon { flex: none; width: 50px; height: 50px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); }
.section--ink .feature__icon, .section--teal .feature__icon { background: rgba(255,255,255,.08); color: var(--sand-400); }
.feature__icon svg { width: 24px; height: 24px; }
.feature h4 { margin-bottom: .3rem; color: inherit; }
.section--ink .feature h4 { color: #fff; }
.feature p { font-size: .95rem; }
.section--ink .feature p { color: #aebbb9; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 2rem 1.6rem; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.step__n { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--teal-100); font-weight: 600; }
.step h4 { margin: .4rem 0 .5rem; font-size: 1.25rem; }

/* Split content block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.checklist { margin-top: 1.5rem; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; font-size: 1rem; color: var(--ink-700); }
.checklist svg { flex: none; width: 22px; height: 22px; color: var(--teal-500); margin-top: .15rem; }

/* Sectors */
.sector { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.sector::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(3,51,47,.9)); }
.sector:hover img { transform: scale(1.06); }
.sector__body { padding: 1.8rem; }
.sector__body h3 { color: #fff; margin-bottom: .4rem; }
.sector__body p { color: #d4e3e0; font-size: .95rem; }

/* Coverage map */
.coverage { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.5rem; align-items: stretch; }
@media (max-width: 920px) { .coverage { grid-template-columns: 1fr; } }
#coverage-map { width: 100%; min-height: 460px; border-radius: var(--r-lg); box-shadow: var(--shadow-md); z-index: 0; }
.area-list { columns: 2; column-gap: 1.5rem; margin-top: 1.5rem; }
.area-list a { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem 0; color: var(--ink-700); font-weight: 600; }
.area-list a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-500); flex: none; }
.area-list a:hover { color: var(--teal-700); }

/* Fleet marquee */
.fleet-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
@media (max-width: 880px) { .fleet-grid { grid-template-columns: repeat(2,1fr); } }
.fleet-grid img { border-radius: var(--r-md); aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-sm); }

/* Testimonials */
.testi { background: #fff; border-radius: var(--r-lg); padding: 1.9rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.testi__stars { color: var(--sand-500); letter-spacing: .15em; margin-bottom: .8rem; }
.testi__quote { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink-900); line-height: 1.45; }
.testi__author { margin-top: 1.1rem; font-weight: 700; color: var(--ink-700); }
.testi__author span { display: block; font-weight: 500; font-size: .9rem; color: var(--ink-400); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); color: #fff; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, var(--teal-700), var(--teal-900)); }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(10,143,134,.6), transparent 70%); z-index: -1; }
.cta-band h2 { color: #fff; max-width: 16ch; }
.cta-band p { color: #cfe6e2; margin-top: 1rem; max-width: 52ch; }
.cta-band__actions { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink-900); font-weight: 600; }
.faq__q .ico { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--teal-50); color: var(--teal-600); display: grid; place-items: center; transition: transform .3s, background .3s; }
.faq__item.open .faq__q .ico { transform: rotate(45deg); background: var(--teal-500); color: #fff; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a p { padding-bottom: 1.3rem; }

/* ----- Footer ---------------------------------------------------------- */
.footer { background: var(--ink-900); color: #aebbb9; padding-top: clamp(3rem, 2rem + 4vw, 5rem); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand img { height: 50px; width: auto; margin-bottom: 1.1rem; background: #fff; padding: 9px 13px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.footer__brand p { font-size: .95rem; color: #93a3a0; max-width: 36ch; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer__links li { margin-bottom: .65rem; }
.footer__links a { color: #aebbb9; transition: color .2s, padding .2s; }
.footer__links a:hover { color: #fff; padding-left: 4px; }
.footer__contact li { display: flex; gap: .7rem; margin-bottom: 1rem; font-size: .95rem; }
.footer__contact svg { flex: none; width: 19px; height: 19px; color: var(--teal-300); margin-top: .2rem; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: 1.6rem; font-size: .85rem; color: #7f908d; }
.footer__social { display: flex; gap: .7rem; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #cfdad8; transition: background .25s, transform .25s; }
.footer__social a:hover { background: var(--teal-500); color: #fff; transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }

/* ----- Floating action buttons ---------------------------------------- */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: .7rem; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-lg); color: #fff; transition: transform .25s; }
.fab a:hover { transform: scale(1.08); }
.fab__wa { background: #25d366; }
.fab__call { background: var(--teal-500); }
.fab a svg { width: 26px; height: 26px; }

/* ----- Reveal on scroll ------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ----- Page hero (inner pages) ---------------------------------------- */
.page-hero { position: relative; color: #fff; isolation: isolate; padding-block: clamp(3.5rem, 2rem + 7vw, 7rem); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(3,51,47,.86), rgba(3,51,47,.55)); }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero p { color: #dcebe9; margin-top: 1rem; max-width: 56ch; font-size: 1.15rem; }
.breadcrumb { display: flex; gap: .5rem; font-size: .88rem; color: #bcd0cd; margin-bottom: 1.2rem; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--sand-400); }

/* ----- Utilities ------------------------------------------------------- */
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.center { text-align: center; }
.muted { color: var(--ink-400); }
.hide { display: none !important; }

/* ----- Leaflet custom pin ---------------------------------------------- */
.jt-pin span {
  display: block; width: 22px; height: 22px; border-radius: 50% 50% 50% 0;
  background: var(--teal-500); transform: rotate(-45deg);
  box-shadow: 0 3px 8px rgba(3,51,47,.4); border: 2px solid #fff;
}
.jt-pin span::after { content: ""; position: absolute; top: 6px; left: 6px; width: 8px; height: 8px; background: #fff; border-radius: 50%; }
.leaflet-popup-content { font-family: var(--font-body); font-size: .92rem; line-height: 1.5; }
.leaflet-popup-content strong { color: var(--ink-900); }

/* ----- Detailed service rows (What We Do hub) -------------------------- */
.service-row { padding-block: clamp(2.2rem, 1.5rem + 2vw, 3.4rem); border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-row .split { align-items: center; }
.service-row__index { font-family: var(--font-display); font-size: .95rem; font-weight: 600; color: var(--teal-500); letter-spacing: .04em; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.chip {
  font-size: .82rem; font-weight: 700; color: var(--teal-700);
  background: var(--teal-50); border: 1px solid var(--teal-100);
  padding: .4rem .8rem; border-radius: var(--r-pill); line-height: 1;
}
.service-row__actions { margin-top: 1.6rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.service-jump { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.8rem; }
.service-jump a {
  font-weight: 700; font-size: .92rem; color: var(--ink-700);
  padding: .55rem 1.1rem; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1.5px var(--line);
  transition: color .2s, box-shadow .2s, background .2s;
}
.service-jump a:hover { color: var(--teal-700); box-shadow: inset 0 0 0 1.5px var(--teal-400); background: var(--teal-50); }
.service-row :target { scroll-margin-top: 110px; }

/* ----- AI Chat widget -------------------------------------------------- */
.chat-launcher {
  position: fixed; left: 18px; bottom: 18px; z-index: 1000;
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--teal-500); color: #fff; font-weight: 700; font-size: .98rem;
  padding: .85rem 1.2rem .85rem 1rem; border-radius: var(--r-pill);
  box-shadow: var(--shadow-lg); transition: transform .25s, background .25s;
}
.chat-launcher:hover { transform: translateY(-2px); background: var(--teal-600); }
.chat-launcher svg { width: 24px; height: 24px; flex: none; }
.chat-launcher .chat-launcher__label { white-space: nowrap; }
body.chat-open .chat-launcher { opacity: 0; pointer-events: none; }
@media (max-width: 560px) { .chat-launcher__label { display: none; } .chat-launcher { padding: .9rem; } }

.chat-panel {
  position: fixed; left: 18px; bottom: 18px; z-index: 1001;
  width: 380px; max-width: calc(100vw - 36px); height: 560px; max-height: calc(100vh - 36px);
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(20px) scale(.98); pointer-events: none;
  transition: opacity .3s, transform .3s;
}
body.chat-open .chat-panel { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 480px) { .chat-panel { left: 0; bottom: 0; width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; } }

.chat-head { background: linear-gradient(135deg, var(--teal-600), var(--teal-800)); color: #fff; padding: 1rem 1.1rem; display: flex; align-items: center; gap: .8rem; }
.chat-head__avatar { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.15); display: grid; place-items: center; flex: none; }
.chat-head__avatar svg { width: 22px; height: 22px; }
.chat-head__title { font-weight: 800; font-size: 1rem; line-height: 1.2; }
.chat-head__status { font-size: .78rem; color: #bfe4df; display: flex; align-items: center; gap: .35rem; }
.chat-head__status .dot { width: 7px; height: 7px; border-radius: 50%; background: #57e3a0; }
.chat-head__close { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; color: #fff; background: rgba(255,255,255,.16); display: grid; place-items: center; transition: background .2s, transform .2s; }
.chat-head__close:hover { background: rgba(255,255,255,.3); transform: rotate(90deg); }
.chat-head__close svg { width: 22px; height: 22px; }

.chat-body { flex: 1; overflow-y: auto; padding: 1.1rem; background: var(--mist); display: flex; flex-direction: column; gap: .8rem; }
.chat-msg { max-width: 85%; padding: .7rem .95rem; border-radius: 16px; font-size: .95rem; line-height: 1.5; }
.chat-msg.bot { background: #fff; color: var(--ink-700); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg.user { background: var(--teal-500); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-typing { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; border-bottom-left-radius: 4px; padding: .8rem 1rem; display: inline-flex; gap: 4px; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-300); animation: chatDot 1.2s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%,60%,100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }

.chat-chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 1.1rem .6rem; background: var(--mist); }
.chat-chips button { font-size: .82rem; font-weight: 700; color: var(--teal-700); background: var(--teal-50); border: 1px solid var(--teal-100); padding: .45rem .8rem; border-radius: var(--r-pill); transition: background .2s; }
.chat-chips button:hover { background: var(--teal-100); }

.chat-foot { border-top: 1px solid var(--line); padding: .7rem; background: #fff; }
.chat-input { display: flex; align-items: flex-end; gap: .5rem; }
.chat-input textarea { flex: 1; resize: none; border: 1.5px solid var(--line); border-radius: 14px; padding: .65rem .8rem; font: inherit; font-size: .95rem; max-height: 90px; background: var(--mist); }
.chat-input textarea:focus { outline: none; border-color: var(--teal-400); background: #fff; }
.chat-send { width: 44px; height: 44px; border-radius: 50%; background: var(--teal-500); color: #fff; display: grid; place-items: center; flex: none; transition: background .2s, transform .2s; }
.chat-send:hover { background: var(--teal-600); transform: scale(1.05); }
.chat-send:disabled { opacity: .5; cursor: default; transform: none; }
.chat-send svg { width: 20px; height: 20px; }
.chat-foot__hint { text-align: center; font-size: .72rem; color: var(--ink-300); margin-top: .5rem; }
.chat-foot__hint button { color: var(--teal-600); font-weight: 700; font-size: .72rem; }

/* Lead form inside the chat */
.chat-lead { padding: 1rem 1.1rem; background: #fff; border-top: 1px solid var(--line); }
.chat-lead h4 { font-family: var(--font-body); font-size: .95rem; margin-bottom: .2rem; color: var(--ink-900); }
.chat-lead p { font-size: .82rem; margin-bottom: .7rem; }
.chat-lead .field { margin-bottom: .6rem; }
.chat-lead input, .chat-lead select { width: 100%; padding: .6rem .75rem; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: .9rem; background: var(--mist); }
.chat-lead input:focus, .chat-lead select:focus { outline: none; border-color: var(--teal-400); background: #fff; }
.chat-lead__row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.chat-lead__actions { display: flex; gap: .5rem; margin-top: .3rem; }
.chat-hidden { display: none !important; }
