@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap");

/* ============================================================
   Flocy Tree Service - shared design system (owned by orchestrator)
   Cloned 1:1 from Wix source https://www.flocytreetx.com
   Fonts: Poppins (headings, closest Google face to Wix Madefor display)
          Inter  (body,     closest Google face to Wix Madefor text)
   ============================================================ */

:root {
  --green: #2f8140;
  --green-hover: #256a33;
  --green-dark: #1f5e2b;
  --green-tint: #eef4ec;
  --green-tint-2: #f4f7f0;
  --ink: #1c1c1c;
  --near-black: #111111;
  --muted: #6b6b6b;
  --muted-2: #8a8a8a;
  --white: #ffffff;
  --paper: #f4f3ef;
  --paper-2: #efeee7;
  --line: #e4e3dd;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.09);
  --radius: 14px;
  --radius-lg: 20px;
  --btn-radius: 8px;
  --maxw: 1200px;
  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); margin: 0; line-height: 1.15; color: var(--near-black); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--green); color: #fff; padding: 10px 16px; z-index: 2000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: var(--btn-radius); cursor: pointer;
  border: 2px solid transparent; transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-hover); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); border-radius: 999px; }
.btn-outline:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.btn-dark { background: var(--near-black); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-pill { border-radius: 999px; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff; border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 66px; height: 66px; border-radius: 50%; }
.main-nav { display: flex; align-items: center; gap: 30px; margin: 0 auto; }
.main-nav a {
  font-family: var(--font-head); font-weight: 500; font-size: 16px; color: var(--near-black);
  padding: 6px 0; position: relative; transition: color .2s ease;
}
.main-nav a:hover { color: var(--green); }
.main-nav a.active { color: var(--green); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--green);
}
.header-cta { flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--near-black); border-radius: 3px; margin: 5px 0; transition: .2s; }

/* ---------- inner page banner ---------- */
.page-banner {
  position: relative; min-height: 300px; display: flex; align-items: center;
  overflow: hidden; background: #23331f;
}
.page-banner .banner-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.55);
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; font-size: clamp(38px, 6vw, 64px); font-weight: 700; }
.breadcrumb { display: flex; align-items: center; gap: 12px; margin-top: 12px; color: #fff; font-size: 15px; }
.breadcrumb .sep { color: #fff; font-weight: 700; }
.breadcrumb a:hover { color: var(--green); }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section.paper { background: var(--paper); }
.section.paper-2 { background: var(--paper-2); }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; letter-spacing: .12em;
  color: var(--green); font-size: 13px; text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow.bracket::before { content: "[   "; }
.eyebrow.bracket::after { content: "   ]"; }
.section-title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.center { text-align: center; }
.lead { color: var(--muted); font-size: 16px; }

/* ---------- footer ---------- */
.site-footer { background: #fff; padding: 70px 0 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand img { width: 108px; height: 108px; border-radius: 50%; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; max-width: 320px; }
.footer-col h4 { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col ul a { color: #333; font-size: 15px; transition: color .2s ease; }
.footer-col ul a:hover { color: var(--green); }
.footer-contact .fc-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; font-size: 15px; color: #333; }
.footer-contact .fc-ico {
  flex-shrink: 0; width: 20px; height: 20px; color: var(--green);
}
.footer-contact a:hover { color: var(--green); }
.socials { display: flex; gap: 12px; margin-top: 6px; }
.socials a {
  width: 34px; height: 34px; border-radius: 50%; background: var(--near-black); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; transition: transform .2s ease, background .2s ease;
}
.socials a:hover { transform: translateY(-3px); background: var(--green); }
.socials svg { width: 16px; height: 16px; }
.footer-bottom { background: var(--green); color: #fff; text-align: center; padding: 16px; margin-top: 60px; font-size: 14.5px; }

/* ---------- forms ---------- */
.form-field { width: 100%; }
input.ff, textarea.ff, select.ff {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  padding: 13px 15px; border: 1px solid #cfd6cd; border-radius: 8px; background: #eef2ec;
  margin-bottom: 14px; transition: border-color .2s ease, box-shadow .2s ease;
}
input.ff:focus, textarea.ff:focus, select.ff:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(47,129,64,.15);
}
textarea.ff { min-height: 120px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- motion ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.14); opacity: .75; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Pure-CSS on-load reveals: the hidden state lives ONLY inside the keyframes
   with animation-fill-mode: both, so the element is never left invisible if
   scripting fails - the animation always runs to its visible end state. */
.reveal { animation: fadeUp .8s cubic-bezier(.22,.61,.36,1) both; }
.reveal-2 { animation: fadeUp .8s cubic-bezier(.22,.61,.36,1) .12s both; }
.reveal-3 { animation: fadeUp .8s cubic-bezier(.22,.61,.36,1) .24s both; }
.zoom { animation: zoomIn .8s ease both; }
.pulse { animation: pulse 1.8s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   page: index
   ============================================================ */
.hero {
  position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden;
  background: #1b2417;
}
.hero .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.62); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 60%); }
.hero .container { position: relative; z-index: 3; width: 100%; }
.hero-title { color: #fff; font-weight: 500; font-size: clamp(40px, 7vw, 82px); line-height: 1.02; letter-spacing: .01em; text-transform: uppercase; max-width: 760px; }
.hero-title strong { font-weight: 700; display: block; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.play-link { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-family: var(--font-head); font-weight: 500; }
.play-link .play { width: 44px; height: 44px; border-radius: 50%; background: var(--green); display: inline-flex; align-items: center; justify-content: center; }
.play-link .play svg { width: 16px; height: 16px; fill: #fff; }
.hero-cards { position: absolute; z-index: 3; right: 24px; top: 40px; display: flex; flex-direction: column; gap: 16px; align-items: flex-end; }
.rating-card { background: rgba(15,25,12,.82); color: #fff; border-radius: 12px; padding: 14px 18px; text-align: center; backdrop-filter: blur(2px); }
.rating-card .num { font-family: var(--font-head); font-weight: 700; font-size: 22px; }
.rating-card .lbl { font-size: 12px; color: #d6d6d6; }
.rating-card .stars { color: #f4b400; letter-spacing: 2px; margin-top: 4px; }
.addr-card { background: rgba(15,25,12,.82); color: #fff; border-radius: 12px; padding: 14px 18px; max-width: 230px; font-size: 13px; }
.addr-card .addr-ico { color: var(--green); }

.welcome-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; }
.welcome-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.welcome-photo img { width: 100%; height: 420px; object-fit: cover; }
.welcome-body h2 { margin-bottom: 22px; }
.welcome-body p { color: var(--muted); margin: 0 0 16px; }
.mini-services { display: flex; gap: 30px; margin: 22px 0; }
.mini-service { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; }
.mini-service .mi { width: 40px; height: 40px; border-radius: 10px; background: var(--green-tint); color: var(--green); display: inline-flex; align-items: center; justify-content: center; }
.mini-service .mi svg { width: 22px; height: 22px; }

.services-band { position: relative; background: var(--green); color: #fff; padding: 96px 0 84px; }
.grass { position: absolute; left: 0; right: 0; width: 100%; height: auto; display: block; pointer-events: none; }
.grass.top { bottom: 100%; margin-bottom: -1px; }
.grass.bottom { top: 100%; margin-top: -1px; transform: scaleY(-1); }
.services-band .section-title, .services-band .eyebrow { color: #fff; }
.services-band .eyebrow { opacity: .95; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 46px; }
.service-card { background: #fff; border-radius: var(--radius); padding: 26px 24px; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .28s ease, box-shadow .28s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card .sc-ico { height: 52px; color: #277d3e; display: inline-flex; align-items: flex-end; justify-content: flex-start; margin-bottom: 16px; }
.service-card .sc-ico svg { width: auto; height: 48px; max-width: 64px; }
.service-card .sc-ico svg, .service-card .sc-ico svg * { fill: currentColor; }
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.service-card .read-more { font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--green); display: inline-flex; align-items: center; gap: 7px; }
.service-card .read-more:hover { gap: 12px; }

.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.exp-grid img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }

.palm { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.palm-img { position: relative; min-height: 440px; }
.palm-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.palm-body { background: var(--green); color: #fff; padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; }
.palm-body h2 { color: #fff; margin-bottom: 20px; font-size: clamp(24px, 2.6vw, 32px); }
.palm-body p { color: #e9f2e6; margin: 0 0 16px; font-size: 15px; }

.review-card { max-width: 620px; margin: 46px auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; text-align: center; box-shadow: var(--shadow-sm); }
.review-card .quote { font-size: 20px; font-weight: 500; color: var(--near-black); font-family: var(--font-head); margin-bottom: 18px; }
.review-card .stars { color: #f4b400; letter-spacing: 3px; font-size: 18px; margin-bottom: 14px; }
.review-meta { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 20px; }
.review-avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.review-name { font-family: var(--font-head); font-weight: 700; }
.review-sub { font-size: 13px; color: var(--muted); }

.cta-band { position: relative; background: var(--green); color: #fff; text-align: center; padding: 100px 0; }
.cta-band h2 { color: #fff; max-width: 900px; margin: 0 auto 30px; font-size: clamp(24px, 3vw, 36px); }

.gallery-grid {
  column-count: 4; column-gap: 14px; margin-top: 44px;
}
.gallery-grid a { display: block; overflow: hidden; border-radius: 12px; margin: 0 0 14px; break-inside: avoid; -webkit-column-break-inside: avoid; }
.gallery-grid img { width: 100%; height: auto; transition: transform .5s ease; }
.gallery-grid a:hover img { transform: scale(1.08); }
.gallery-grid a[hidden] { display: none; }
.load-more-wrap { text-align: center; margin-top: 42px; }

/* ============================================================
   page: about
   ============================================================ */
.about-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.about-intro .txt h2 { margin-bottom: 20px; }
.about-intro .txt p { color: var(--muted); margin: 0 0 16px; }
.photo-pair { display: flex; gap: 18px; }
.photo-pair img { width: 50%; height: 440px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.photo-pair.offset img:nth-child(2) { margin-top: 40px; }
.about-care { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.about-block h2 { margin-bottom: 18px; }
.about-block p { color: var(--muted); margin: 0 0 16px; }
.about-block + .about-block { margin-top: 40px; }

.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; position: relative; }
.how-step { text-align: center; }
.how-step .hs-ico { width: 74px; height: 74px; border-radius: 50%; background: var(--green-tint); color: var(--green); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.how-step .hs-ico svg { width: 34px; height: 34px; }
.how-step h4 { font-size: 18px; margin-bottom: 10px; }
.how-step p { color: var(--muted); font-size: 14px; max-width: 260px; margin: 0 auto; }

.faq-list { max-width: 820px; margin: 44px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 4px; font-family: var(--font-head);
  font-weight: 600; font-size: 17px; color: var(--near-black); display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "\203A"; transform: rotate(90deg); font-size: 22px; color: var(--green); transition: transform .25s ease; }
.faq-item[open] summary::after { transform: rotate(-90deg); }
.faq-item .faq-body { padding: 0 4px 20px; color: var(--muted); font-size: 15px; }

/* ============================================================
   page: service
   ============================================================ */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; margin-bottom: 26px; background: var(--green-tint-2); border-radius: var(--radius-lg); padding: 34px; }
.service-row .sr-img { border-radius: var(--radius); overflow: hidden; }
.service-row .sr-img img { width: 100%; height: 340px; object-fit: cover; }
.service-row .sr-body h2 { font-size: 26px; margin-bottom: 16px; }
.service-row .sr-body p { color: var(--muted); margin: 0 0 20px; }
.service-row.img-right .sr-img { order: 2; }
.service-consult { text-align: center; margin-top: 40px; }

/* ============================================================
   page: contact
   ============================================================ */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.contact-card { background: var(--green-tint-2); border: 1px solid #e6ece2; border-radius: var(--radius); padding: 34px 24px; text-align: center; }
.contact-card .cc-ico { width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.contact-card .cc-ico svg { width: 26px; height: 26px; }
.contact-card h3 { color: var(--green); font-size: 20px; margin-bottom: 8px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 15px; }
.contact-card a:hover { color: var(--green); }

.getintouch { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--green-tint-2); }
.getintouch .gi-img { position: relative; min-height: 460px; }
.getintouch .gi-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.getintouch .gi-form { padding: 44px; background: var(--green-tint-2); }
.getintouch .gi-form h2 { color: var(--green); font-size: 30px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#map { width: 100%; height: 450px; border-radius: 0; margin-top: 0; z-index: 1; }
.map-section { padding: 0; }
.map-section .container { max-width: none; padding: 0; }

/* ============================================================
   page: service-detail (tree-removal-services, tree-trimming)
   ============================================================ */
.detail-hero { position: relative; min-height: 300px; display: flex; align-items: center; overflow: hidden; background: #0e2233; }
.detail-hero .banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); }
.detail-hero .container { position: relative; z-index: 2; }
.detail-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 48px); max-width: 620px; }
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 44px; align-items: start; }
.detail-main img { width: 100%; border-radius: var(--radius); margin: 0 0 24px; box-shadow: var(--shadow-sm); }
.detail-main h2 { font-size: 28px; margin: 40px 0 16px; }
.detail-main h3 { font-size: 20px; margin: 26px 0 10px; color: var(--green-dark); }
.detail-main p { color: #4a4a4a; margin: 0 0 16px; }
.detail-main ul { color: #4a4a4a; padding-left: 20px; }
.detail-main ul li { margin-bottom: 12px; }
.detail-band { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius); margin: 30px 0; }
.detail-aside { position: sticky; top: 100px; background: var(--green-tint-2); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.detail-aside .lead-note { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.detail-center { text-align: center; margin: 40px 0 10px; }
.detail-center .btn { margin-top: 10px; }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 960px) {
  .main-nav, .header-cta { display: none; }
  .main-nav.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; gap: 0; padding: 10px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .main-nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav-toggle { display: block; }
  .header-inner { position: relative; }
  .welcome-grid, .exp-grid, .about-intro, .about-care, .palm, .getintouch, .detail-grid, .service-row, .service-row.img-right { grid-template-columns: 1fr; }
  .service-row.img-right .sr-img { order: 0; }
  .palm-img { min-height: 320px; }
  .services-grid, .contact-cards, .how-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .gallery-grid { column-count: 2; }
  .hero-cards { position: static; flex-direction: row; margin-top: 26px; align-items: stretch; }
  .detail-aside { position: static; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .services-grid, .contact-cards, .how-steps, .footer-grid, .mini-services { grid-template-columns: 1fr; }
  .gallery-grid { column-count: 1; }
  .photo-pair { flex-direction: column; }
  .photo-pair img { width: 100%; }
  .photo-pair.offset img:nth-child(2) { margin-top: 0; }
  .hero-cards { flex-direction: column; }
  .getintouch .gi-form { padding: 28px; }
}


/* ---------- header: Service submenu ---------- */
.main-nav .nav-item { position: relative; display: flex; align-items: center; }
.main-nav .nav-item > a::after { content: ""; }
.submenu {
  position: absolute; top: 100%; left: 50%; min-width: 246px; margin: 0; padding: 8px 0;
  list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow-md); z-index: 1200;
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.main-nav .nav-item:hover .submenu,
.main-nav .nav-item:focus-within .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.submenu li a {
  display: block; padding: 9px 20px; font-size: 15px; font-weight: 500; white-space: nowrap; color: var(--near-black);
}
.submenu li a:hover { background: var(--green-tint); color: var(--green); }
.submenu li a.active { color: var(--green); }
.submenu li a.active::after { display: none; }

/* ---------- testimonials: review list ---------- */
.reviews-list { max-width: 720px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 20px; }
.review-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px 28px; box-shadow: var(--shadow-sm); }
.review-item[hidden] { display: none; }
.review-head { display: flex; align-items: center; gap: 14px; }
.review-head img { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; }
.review-head .review-name { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--near-black); }
.review-head .review-date { margin-left: auto; font-size: 13px; color: var(--muted); }
.review-item .review-text { color: #5a5a5a; font-size: 14px; line-height: 1.75; margin: 18px 0 0; }

@media (max-width: 960px) {
  .main-nav .nav-item { display: block; width: 100%; }
  .main-nav.open .nav-item > a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .main-nav.open .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; border-radius: 0; box-shadow: none; min-width: 0; padding: 2px 0 8px 14px; background: transparent;
  }
  .main-nav.open .submenu li a { padding: 9px 0; font-size: 14.5px; border-bottom: 0; }
}
