/* =========================================================
   Navu — Landscaping landing page (design replica)
   Single-purpose page: book a consultation appointment.
   ========================================================= */

:root {
  /* Greens */
  --green:        #2c7d14;   /* primary accent (buttons / links) */
  --green-hover:  #246a10;
  --green-dark:   #14400a;   /* pricing section background */
  --green-darker: #0a2606;   /* projects section background */
  --forest:       #071902;   /* deepest green / form card */

  /* Neutrals */
  --ink:      #0c0e0c;       /* footer */
  --text:     #1b1d18;
  --muted:    #6c706a;
  --muted-2:  #9aa094;
  --line:     #e6e7e2;
  --bg:       #ffffff;
  --bg-soft:  #f4f5f2;       /* light gray section */
  --bg-soft2: #eaebe7;

  --radius:   16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container: 1180px;
  --section-y: 120px;

  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ff-head: "Space Grotesk", var(--ff-body);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-y) 0; }

/* Section eyebrow label */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted);
  padding-bottom: 8px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.eyebrow.on-dark { color: rgba(255,255,255,.7); border-bottom-color: rgba(255,255,255,.18); }
.eyebrow.center { display: block; width: fit-content; margin-inline: auto; text-align: center; }

h1, h2, h3 { font-family: var(--ff-head); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  font-size: 15px; font-weight: 500;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .05s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-hover); }
.btn-ghost-green {
  background: transparent; color: var(--green);
  border: 1px solid rgba(44,125,20,.4);
}
.btn-ghost-green:hover { background: rgba(44,125,20,.06); }
.btn-arrow::after { content: "›"; font-size: 18px; line-height: 1; }
.btn-arrow2::after { content: "»"; font-size: 16px; line-height: 1; }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 86px;
}
.brand { display: flex; align-items: center; gap: 11px; color: #fff; font-weight: 600; font-size: 19px; }
.brand-icon { height: 42px; width: auto; display: block; }
.brand-word { font-family: var(--ff-head); letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: rgba(255,255,255,.88); font-size: 14.5px; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; color: #fff; font-size: 24px; }

/* When header sits on a light page (not used on load, reserved) */

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 760px;
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
}
/* Hero background video */
.hero-media {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background: var(--forest); /* base so dimmed video reads as deep green, never gray */
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: .55;                 /* lowered so the headline stays the star */
  filter: saturate(1.05) contrast(1.02);
  pointer-events: none;         /* never intercept clicks meant for the CTAs */
}
/* Readability overlay: darkest on the left where the copy lives, plus a
   bottom fade into the stats bar. Sits above the video, below the content. */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,16,4,.86) 0%, rgba(6,16,4,.55) 48%, rgba(6,16,4,.28) 100%),
    linear-gradient(180deg, rgba(6,16,4,.30) 0%, rgba(6,16,4,0) 32%, rgba(6,16,4,.62) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 560px; }
/* Subtle shadow keeps text crisp over any bright video frame */
.hero h1 { text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.hero p  { text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.hero .mini-label {
  font-size: 12px; color: rgba(255,255,255,.75);
  padding-bottom: 6px; margin-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,.25);
  display: inline-block;
}
.hero h1 { font-size: 56px; margin-bottom: 22px; }
.hero p { font-size: 17px; color: rgba(255,255,255,.85); max-width: 420px; margin-bottom: 30px; }

/* Stats bar (overlaps below hero) */
.statsbar-wrap { background: var(--bg-soft); }
.statsbar {
  display: flex; align-items: center; justify-content: center;
  gap: 56px; flex-wrap: wrap;
  padding: 30px 0;
}
.stat { text-align: center; }
.stat .num { font-family: var(--ff-head); font-size: 26px; font-weight: 600; }
.stat .lbl { font-size: 12px; color: var(--muted); max-width: 120px; margin: 2px auto 0; }
.statsbar .divider { width: 1px; height: 38px; background: var(--line); }
.statsbar .trust { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.statsbar .trust small { font-size: 11px; color: var(--muted-2); }
.logo-row { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; opacity: .65; }

/* =========================================================
   Section heading row (eyebrow + split heading)
   ========================================================= */
.head-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.head-split h2 { font-size: 40px; }
.head-split .side { color: var(--muted); font-size: 15px; align-self: end; }
.head-center { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.head-center h2 { font-size: 40px; }
.head-center p { color: var(--muted); margin-top: 16px; }

/* =========================================================
   Services
   ========================================================= */
.services-list { display: flex; flex-direction: column; gap: 14px; }
.service-item {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; transition: border-color .45s ease;
}
.service-row {
  position: relative; z-index: 0; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 28px; min-height: 74px; cursor: pointer; outline: none; color: var(--text);
  transition: min-height .5s cubic-bezier(.22,.61,.36,1), color .4s ease, padding .5s ease;
}
/* The service photo + dark overlay live on a layer that cross-fades in gradually */
.service-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(90deg, rgba(8,20,6,.90) 0%, rgba(8,20,6,.62) 45%, rgba(8,20,6,.42) 100%),
    var(--bg);
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.04);
  transition: opacity .6s ease, transform .8s ease;
}
.service-row:focus-visible { box-shadow: inset 0 0 0 2px var(--green); border-radius: 16px; }

.srv-left { position: relative; }
.srv-right { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: 0; }

.service-name {
  display: flex; align-items: center; gap: 12px;
  font-size: 22px; font-family: var(--ff-head); font-weight: 500; color: inherit;
}
.service-name svg { width: 22px; height: 22px; color: var(--green); flex: 0 0 auto; transition: color .4s ease; }

.srv-sub {
  max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; max-width: 360px;
  font-size: 14px; color: rgba(255,255,255,.85);
  transition: max-height .5s ease, opacity .45s ease, margin-top .5s ease;
}
.service-tags { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.tag {
  font-size: 12.5px; color: var(--muted); padding: 7px 14px; white-space: nowrap;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  transition: color .4s ease, background .4s ease, border-color .4s ease;
}
.srv-cta {
  display: flex; align-items: center; gap: 8px;
  max-height: 0; margin-top: 0; opacity: 0; overflow: hidden; pointer-events: none;
  transform: translateY(8px);
  transition: max-height .5s ease, opacity .45s ease, transform .5s ease, margin-top .5s ease;
}
.srv-cta svg { width: 16px; height: 16px; }

/* OPEN — animates gradually from the rules above */
.service-item.open { border-color: transparent; }
.service-item.open .service-row { min-height: 186px; color: #fff; }
.service-item.open .service-row::before { opacity: 1; transform: scale(1); }
.service-item.open .service-name svg { color: #fff; }
.service-item.open .srv-sub { max-height: 90px; opacity: 1; margin-top: 12px; }
.service-item.open .tag { color: #fff; background: rgba(0,0,0,.34); border-color: rgba(255,255,255,.3); }
.service-item.open .srv-cta { max-height: 70px; margin-top: 14px; opacity: 1; transform: none; pointer-events: auto; }

.services-more { margin-top: 28px; text-align: center; color: var(--muted); font-size: 14.5px; }
.services-more a { color: var(--green); font-weight: 500; white-space: nowrap; }

/* =========================================================
   Projects (dark)
   ========================================================= */
.projects { background: var(--green-darker); color: #fff; }
.projects .eyebrow { color: rgba(255,255,255,.65); border-color: rgba(255,255,255,.18); }

.projects-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.project-photo {
  margin: 0; border-radius: 16px; overflow: hidden;
  background: rgba(255,255,255,.04);
}
.project-photo img {
  display: block; width: 100%; height: 100%;
  aspect-ratio: 16 / 10; object-fit: cover;
  transition: transform .7s cubic-bezier(.22,.61,.36,1);
}
.project-photo:hover img { transform: scale(1.05); }

/* =========================================================
   Process
   ========================================================= */
.process { background: var(--bg-soft); }
.process-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px; position: relative;
}
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process-step { padding: 0 28px; border-left: 1px solid var(--line); }
.process-step:first-child { padding-left: 0; border-left: none; }
.step-num {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 12px; color: var(--muted);
  margin-bottom: 60px;
}
.step-ico { color: var(--green); font-size: 22px; margin-bottom: 14px; }
.process-step h3 { font-size: 19px; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: 14px; }
.process-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 36px; flex-wrap: wrap; }
.process-foot .note { color: var(--muted); font-size: 14px; max-width: 360px; }

/* =========================================================
   Pricing (dark green)
   ========================================================= */
.pricing { background: var(--green-dark); color: #fff; }
.pricing .head-center h2 { color: #fff; }
.pricing .head-center p { color: rgba(255,255,255,.7); }
.pricing .eyebrow { color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.2); }

.pricing-cta { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.75); }
.pricing-note { text-align: center; color: rgba(255,255,255,.6); font-size: 13px; margin-top: 24px; }

/* =========================================================
   Reviews
   ========================================================= */
.reviews-grid { columns: 3; column-gap: 22px; }
.review-card {
  break-inside: avoid; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; margin-bottom: 22px;
}
.stars { color: #e8a33d; font-size: 13px; letter-spacing: 2px; margin-bottom: 12px; }
.review-card p { font-size: 14px; color: #3a3d36; margin-bottom: 18px; }
.review-card p em { color: var(--muted-2); font-style: italic; font-size: 12px; }
.review-author { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto;
  background: var(--c, var(--green)); color: #fff;
  display: grid; place-items: center;
  font-family: var(--ff-head); font-weight: 600; font-size: 14px; letter-spacing: .02em;
}
.review-author .who { font-size: 13px; font-weight: 600; line-height: 1.2; }
.review-author .role { font-size: 11px; color: var(--muted); }
.review-author .plat { margin-left: auto; color: #1877f2; display: inline-flex; }
.review-author .plat svg { width: 16px; height: 16px; }

/* Facebook callout card inside the grid */
.review-card.fb-card {
  break-inside: avoid; display: flex; align-items: center; gap: 14px;
  background: #1877f2; border-color: #1877f2; color: #fff; text-decoration: none;
}
.fb-card .fb-mark { flex: 0 0 auto; display: inline-flex; }
.fb-card .fb-mark svg { width: 34px; height: 34px; }
.fb-card .fb-text { display: flex; flex-direction: column; gap: 3px; }
.fb-card .fb-text strong { font-size: 15px; }
.fb-card .fb-text span { font-size: 12.5px; color: rgba(255,255,255,.85); }
.fb-card:hover { background: #1467d6; }

.reviews-foot { display: flex; justify-content: center; margin-top: 14px; }
.reviews-foot .btn svg { flex: 0 0 auto; }

/* =========================================================
   About
   ========================================================= */
.about { background: var(--bg-soft); }
.about-images { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; margin-bottom: 60px; }
.about-img { margin: 0; border-radius: var(--radius-lg); overflow: hidden; height: 400px; }
.about-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.22,.61,.36,1); }
.about-img:hover img { transform: scale(1.04); }
.about-text { max-width: 560px; margin: 0 0 60px auto; }
.about-text .lead { font-size: 18px; margin-bottom: 16px; }
.about-text p { color: var(--muted); font-size: 15px; margin-bottom: 12px; }

.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.about-stat { padding: 30px; border-left: 1px solid var(--line); }
.about-stat:first-child { border-left: none; }
.about-stat .big-num { font-family: var(--ff-head); font-size: 40px; font-weight: 600; margin-bottom: 56px; line-height: 1.05; }
.about-stat h4 { font-size: 17px; font-family: var(--ff-head); font-weight: 500; margin-bottom: 6px; }
.about-stat p { color: var(--muted); font-size: 13px; }
.about-stat.dark { position: relative; color: #fff; padding: 0; }
.about-stat.dark .stat-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.about-stat.dark .inner { position: relative; z-index: 2; padding: 30px; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.about-stat.dark .inner::before { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(8,20,6,.25), rgba(8,20,6,.78)); z-index:-1; }
.about-stat.dark .big-num { margin-bottom: 0; }

.about-cta { text-align: center; margin-top: 70px; }
.about-cta h3 { font-size: 30px; margin-bottom: 12px; }
.about-cta p { color: var(--muted); margin-bottom: 24px; }

/* =========================================================
   Contacts
   ========================================================= */
.contacts { background: var(--bg-soft); }

.form-card {
  max-width: 480px; margin: 0 auto;
  background:
    linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,0)),
    var(--green-dark);
  border-radius: var(--radius-lg); padding: 34px;
  position: relative; z-index: 3;
}
/* Booking embed reuses the form's footprint (same 480px width, no inner padding) */
.form-embed { padding: 0; overflow: hidden; background: #fff; }
.form-embed .calendly-inline-widget { width: 100%; }
.form-embed iframe { display: block; width: 100%; height: 100%; border: 0; }

.connect-card {
  max-width: 480px; margin: 36px auto 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; position: relative; z-index: 3;
}
.connect-card h3 { font-size: 22px; margin-bottom: 24px; }
.connect-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; }
.connect-grid .k { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.connect-grid .v { font-size: 15px; color: var(--green); }
.connect-grid .v.plain { color: var(--text); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--bg-soft2); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.faq-q-ico { color: var(--green); font-size: 22px; margin-bottom: 20px; }
.faq-left h2 { font-size: 38px; margin-bottom: 20px; }
.faq-left p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.faq-left .more { font-size: 14px; }
.faq-left .more a { color: var(--green); }

.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; gap: 16px; padding: 20px 22px; font-size: 15.5px; text-align: left; color: var(--text); }
.faq-q .arr { color: var(--muted); transition: transform .2s ease; }
.faq-item.open .faq-q .arr { transform: rotate(90deg); color: var(--green); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 22px 20px 60px; color: var(--muted); font-size: 14px; }

/* =========================================================
   Final CTA
   ========================================================= */
.final-cta { background: var(--bg-soft); text-align: center; position: relative; padding-bottom: 0; }
.final-cta h2 { font-size: 36px; margin-bottom: 12px; }
.final-cta p { color: var(--muted); margin-bottom: 26px; }
.final-cta .btn { margin-bottom: 70px; }
.wave { width: 100%; display: block; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--ink); color: #fff; text-align: center; padding: 56px 0 40px; }
.footer .brand { justify-content: center; margin-bottom: 16px; font-size: 22px; }
.footer .brand-icon { height: 56px; }
.footer .f-desc { color: rgba(255,255,255,.55); font-size: 13px; max-width: 360px; margin: 0 auto 28px; }
.footer .f-nav { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin-bottom: 14px; }
.footer .f-nav a { color: rgba(255,255,255,.8); font-size: 14px; }
.footer .f-nav.sub a { color: rgba(255,255,255,.45); font-size: 13px; }
.social { display: flex; justify-content: center; gap: 12px; margin: 22px 0 26px; }
.social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.social a:hover { background: var(--green); border-color: var(--green); transform: translateY(-3px); }
.social svg { width: 19px; height: 19px; }
.footer .f-legal { color: rgba(255,255,255,.4); font-size: 12px; margin-top: 30px; line-height: 1.8; }
.footer .made { display: inline-flex; gap: 6px; align-items: center; margin-top: 18px; font-size: 12px; color: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.15); padding: 6px 12px; border-radius: 8px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  :root { --section-y: 80px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 18px;
    position: absolute; top: 86px; left: 0; right: 0;
    background: var(--forest); padding: 24px; z-index: 60;
  }
  .hero h1 { font-size: 42px; }
  .head-split { grid-template-columns: 1fr; gap: 16px; }
  .head-split h2 { font-size: 32px; }
  .head-center h2 { font-size: 32px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .process-step { border-left: none; padding: 0; }
  .reviews-grid { columns: 2; }
  .about-images { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .about-stat { border-left: none; border-top: 1px solid var(--line); }
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .statsbar { gap: 28px; }
  .statsbar .divider { display: none; }
}
@media (max-width: 720px) {
  .service-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .srv-right { width: 100%; align-items: flex-start; }
  .service-tags { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .reviews-grid { columns: 1; }
  .about-stats { grid-template-columns: 1fr; }
  .connect-grid { grid-template-columns: 1fr; }
  .projects-gallery { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 28px; }
  .head-split h2, .head-center h2 { font-size: 28px; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 15px; }
  .process-card { padding: 26px 20px; }
  .connect-card, .form-card { padding: 24px 20px; }
  .stat .num { font-size: 22px; }
  .about-stat .big-num { font-size: 38px; margin-bottom: 36px; }
  .service-name { font-size: 19px; }
  .service-item.open .service-row { min-height: 0; }
}

/* =========================================================
   Smooth scroll-reveal + micro-interactions
   ========================================================= */
.js :is(.head-split, .head-center, .statsbar, .service-item, .project-photo,
        .process-card, .review-card, .about-images,
        .about-text, .about-stats, .about-cta, .form-card, .connect-card,
        .faq-item, .final-cta h2, .final-cta p) {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1);
}
.js :is(.head-split, .head-center, .statsbar, .service-item, .project-photo,
        .process-card, .review-card, .about-images,
        .about-text, .about-stats, .about-cta, .form-card, .connect-card,
        .faq-item, .final-cta h2, .final-cta p).in {
  opacity: 1; transform: none;
}

/* Gentle lift on interactive cards */
.review-card, .faq-item {
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease;
}
.review-card:hover, .faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(20,40,12,.08);
}

/* Smooth color fades on links/icons */
.nav-links a, .footer a, .faq-q, .connect-grid .v { transition: color .25s ease; }

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js :is(.head-split, .head-center, .statsbar, .service-item, .project-photo,
          .process-card, .review-card, .about-images,
          .about-text, .about-stats, .about-cta, .form-card, .connect-card,
          .faq-item, .final-cta h2, .final-cta p) {
    opacity: 1 !important; transform: none !important;
  }
}

/* =========================================================
   Chat widget (scaffold)
   ========================================================= */
.chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 200; }
.chat-fab {
  width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(20,50,12,.35);
  margin-left: auto; transition: background .25s ease, transform .2s ease;
}
.chat-fab:hover { background: var(--green-hover); transform: translateY(-2px); }
.chat-fab svg { width: 26px; height: 26px; grid-area: 1 / 1; transition: opacity .2s ease, transform .2s ease; }
.chat-fab .i-close { opacity: 0; transform: rotate(-45deg); }
.chat-fab.open .i-chat { opacity: 0; transform: rotate(45deg); }
.chat-fab.open .i-close { opacity: 1; transform: rotate(0); }

.chat-panel {
  position: absolute; right: 0; bottom: 72px; width: 320px; max-width: calc(100vw - 44px);
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
  animation: chatIn .25s cubic-bezier(.22,.61,.36,1);
}
@keyframes chatIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.chat-head {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--green-dark); color: #fff; padding: 14px 16px; font-weight: 600; font-size: 15px;
}
.chat-head .chat-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #6fd36f; margin-right: 7px; }
.chat-close { color: #fff; font-size: 22px; line-height: 1; opacity: .85; }
.chat-close:hover { opacity: 1; }
.chat-body { padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-placeholder { color: var(--text); font-size: 14px; }
.chat-placeholder p { margin-bottom: 8px; }
.chat-placeholder p:last-child { color: var(--muted); margin-bottom: 4px; }
.chat-action { width: 100%; justify-content: center; }

@media (max-width: 560px) {
  .chat-widget { right: 16px; bottom: 16px; }
  .chat-fab { width: 52px; height: 52px; }
}
