/*
Theme Name: TidyTails
Theme URI: https://example.com/tidytails
Author: TidyTails
Author URI: https://example.com
Description: TidyTails is a fully customizable, conversion-focused WordPress theme for pet waste removal & pooper-scooper businesses. Fresh forest-green & sunny-amber design, a homepage builder in the Customizer, services / service areas / reviews / team / FAQ post types, a built-in quote form (no plugins), and a one-click demo importer that builds the whole site on activation.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tidytails
Tags: business, portfolio, blog, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, theme-options, threaded-comments, translation-ready, two-columns, right-sidebar
*/

/* =====================================================================
   TidyTails — Pet Waste Removal Theme
   Single stylesheet · fully customizable via CSS variables
   ---------------------------------------------------------------------
   Quick re-skin: edit the variables in :root below.
   Sections:  1) Tokens  2) Reset/Base  3) Typography  4) Layout
   5) Buttons  6) Header/Nav  7) Hero  8) Components  9) Sections
   10) Forms  11) Footer  12) Utilities  13) Animations  14) Responsive
   ===================================================================== */

/* ----------------------------- 1) TOKENS ---------------------------- */
:root {
  /* Brand colors — change these to re-skin the whole site */
  --green-900: #0e2a1c;
  --green-800: #123c28;
  --green-700: #19593a;
  --green-600: #1f7a4d;
  --green-500: #25a05f;   /* primary */
  --green-400: #43c07d;
  --green-300: #7fd9a6;
  --green-100: #e2f6ea;
  --green-50:  #f1faf4;

  --accent-500: #ffb020;  /* warm sunny accent */
  --accent-400: #ffc24d;
  --accent-100: #fff2d6;

  --ink:       #0f1b14;   /* headings */
  --body:      #41524a;   /* body text */
  --muted:     #6d7d74;   /* secondary text */
  --line:      #e4ebe6;   /* borders */
  --surface:   #ffffff;
  --surface-2: #f5f9f6;   /* soft section bg */
  --surface-3: #eef5f0;
  --bg:        #f7faf8;

  /* Semantic */
  --primary: var(--green-500);
  --primary-dark: var(--green-700);
  --accent: var(--accent-500);

  /* Typography */
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(15,27,20,.06), 0 1px 3px rgba(15,27,20,.04);
  --sh-md: 0 8px 24px rgba(15,27,20,.08);
  --sh-lg: 0 24px 60px rgba(15,27,20,.12);
  --sh-glow: 0 18px 50px rgba(37,160,95,.28);

  /* Layout */
  --container: 1180px;
  --container-narrow: 820px;
  --gutter: 24px;
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --t: .35s var(--ease);
}

/* ----------------------------- 2) RESET ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green-300); outline-offset: 2px; border-radius: 4px; }

/* --------------------------- 3) TYPOGRAPHY -------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { color: var(--body); }
strong { color: var(--ink); font-weight: 700; }
.lead { font-size: 1.18rem; color: var(--muted); line-height: 1.7; }
.text-grad {
  background: linear-gradient(100deg, var(--green-600), var(--green-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------------------------- 4) LAYOUT ----------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: var(--container-narrow); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.section.bg-soft { background: var(--surface-2); }
.section.bg-mint { background: var(--green-50); }
.section.bg-ink  { background: var(--green-900); }
.section.bg-ink h1, .section.bg-ink h2, .section.bg-ink h3 { color: #fff; }
.section.bg-ink p { color: #c5d6cc; }

.grid { display: grid; gap: 28px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

/* Section heading block */
.section-head { max-width: 680px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green-600);
  background: var(--green-100); padding: 7px 14px; border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.eyebrow.on-dark { background: rgba(255,255,255,.1); color: var(--green-300); }
.section-head p { margin-top: 16px; font-size: 1.1rem; color: var(--muted); }

/* --------------------------- 5) BUTTONS ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 15px 28px; border-radius: var(--r-pill);
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  white-space: nowrap; cursor: pointer; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--sh-glow); }
.btn-primary:hover { background: var(--green-600); transform: translateY(-3px); box-shadow: 0 24px 60px rgba(37,160,95,.38); }
.btn-dark { background: var(--green-900); color: #fff; }
.btn-dark:hover { background: var(--green-800); transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }
.btn-accent { background: var(--accent); color: var(--green-900); }
.btn-accent:hover { background: var(--accent-400); transform: translateY(-3px); }
.btn-lg { padding: 18px 34px; font-size: 1.06rem; }
.btn-sm { padding: 11px 20px; font-size: .9rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 700; color: var(--green-600); }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t); }
.link-arrow:hover svg { transform: translateX(5px); }

/* --------------------------- 6) HEADER ------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,250,248,.8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.site-header.scrolled { background: rgba(255,255,255,.92); border-color: var(--line); box-shadow: var(--sh-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 800; font-size: 1.32rem; color: var(--ink); letter-spacing: -.02em; }
.brand .logo-mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--green-500), var(--green-700));
  border-radius: 13px; color: #fff; box-shadow: var(--sh-glow);
}
.brand .logo-mark svg { width: 23px; height: 23px; }
.brand span b { color: var(--green-600); }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li > a {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--ink);
  padding: 10px 15px; border-radius: var(--r-pill); transition: color var(--t), background var(--t);
}
.nav-menu > li > a:hover, .nav-menu > li.current > a { color: var(--green-600); background: var(--green-100); }
.nav-menu .caret { width: 14px; height: 14px; transition: transform var(--t); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 248px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: 10px;
  opacity: 0; visibility: hidden; transition: opacity var(--t), transform var(--t);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.has-dropdown:hover .caret { transform: rotate(180deg); }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--r-sm); transition: background var(--t); }
.dropdown a:hover { background: var(--green-50); }
.dropdown a .di {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-600); border-radius: 10px;
}
.dropdown a .di svg { width: 19px; height: 19px; }
.dropdown a .dt { font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--ink); line-height: 1.2; }
.dropdown a .dd { font-size: .8rem; color: var(--muted); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.nav-phone svg { width: 18px; height: 18px; color: var(--green-600); }

/* Burger */
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; background: #fff; box-shadow: var(--sh-sm); place-items: center; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: var(--t); }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--t); }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
body.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* ---------------------------- 7) HERO ------------------------------- */
.hero { position: relative; padding: clamp(56px, 8vw, 96px) 0 clamp(80px, 10vw, 130px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 50% at 85% 8%, rgba(67,192,125,.22), transparent 60%),
  radial-gradient(50% 45% at 8% 75%, rgba(255,176,32,.16), transparent 60%),
  linear-gradient(180deg, var(--green-50), var(--bg)); }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.hero-rating { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); padding: 8px 16px 8px 10px; border-radius: var(--r-pill); box-shadow: var(--sh-sm); margin-bottom: 26px; }
.hero-rating .stars { color: var(--accent); display: inline-flex; gap: 2px; }
.hero-rating .stars svg { width: 17px; height: 17px; }
.hero-rating .rtxt { font-size: .9rem; color: var(--muted); }
.hero-rating .rtxt b { color: var(--ink); }
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 38px; }
.hero-trust .ht { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--body); }
.hero-trust .ht svg { width: 20px; height: 20px; color: var(--green-500); flex: none; }

/* Hero media */
.hero-media { position: relative; }
.hero-media .ph { aspect-ratio: 4/5; border-radius: var(--r-xl); box-shadow: var(--sh-lg); }
.float-card {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
}
.float-card .fc-ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; }
.float-card .fc-ic svg { width: 22px; height: 22px; }
.float-card .fc-t { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--ink); line-height: 1; }
.float-card .fc-s { font-size: .78rem; color: var(--muted); }
.float-card.fc-1 { top: 26px; left: -22px; }
.float-card.fc-2 { bottom: 90px; right: -26px; }
.float-card.fc-3 { bottom: -18px; left: 30px; }

/* ------------------------- 8) COMPONENTS ---------------------------- */
/* Image placeholder */
.ph {
  position: relative; display: grid; place-items: center; text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(37,160,95,.05) 0 12px, rgba(37,160,95,.09) 12px 24px),
    var(--green-50);
  border: 1.5px dashed var(--green-300); border-radius: var(--r-md);
  color: var(--green-700); overflow: hidden; min-height: 160px;
}
.ph .ph-in { padding: 18px; }
.ph .ph-ic { width: 34px; height: 34px; margin: 0 auto 8px; opacity: .8; }
.ph .ph-lbl { font-family: var(--font-head); font-weight: 700; font-size: .86rem; }
.ph .ph-hint { font-size: .74rem; color: var(--green-600); opacity: .8; margin-top: 3px; }
.ph.ratio-16-9 { aspect-ratio: 16/9; }
.ph.ratio-4-3 { aspect-ratio: 4/3; }
.ph.ratio-1-1 { aspect-ratio: 1/1; }
.ph.ratio-3-4 { aspect-ratio: 3/4; }
.ph.img-ph { background: #dfe8e2; border: none; }
.ph.img-ph img { width: 100%; height: 100%; object-fit: cover; }

/* Generic card */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-sm); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: var(--green-200, #cfe9da); }

/* Feature / why card */
.feature { text-align: left; }
.feature .ic { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--green-100); color: var(--green-600); margin-bottom: 20px; }
.feature .ic svg { width: 27px; height: 27px; }
.feature h3 { margin-bottom: 10px; font-size: 1.25rem; }
.feature p { font-size: .98rem; }

/* Service card */
.service-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.service-card .sc-img { aspect-ratio: 16/10; border-radius: 0; border: none; border-bottom: 1px dashed var(--green-300); }
.service-card .sc-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.service-card .sc-ic { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--green-500); color: #fff; margin: -52px 0 16px; box-shadow: var(--sh-glow); position: relative; }
.service-card .sc-ic svg { width: 25px; height: 25px; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { font-size: .96rem; margin-bottom: 18px; }
.service-card .sc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.service-card .price-tag { font-family: var(--font-head); font-weight: 800; color: var(--ink); }
.service-card .price-tag small { font-weight: 600; color: var(--muted); font-size: .8rem; }

/* Steps / how it works */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 0; }
.step .num { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: var(--green-900); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; margin-bottom: 20px; }
.step.alt .num { background: var(--accent); color: var(--green-900); }
.step h3 { margin-bottom: 9px; font-size: 1.2rem; }
.step p { font-size: .96rem; }
.steps-line { position: relative; }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); color: #fff; line-height: 1; letter-spacing: -.03em; }
.stat .num .text-grad, .stat .num { background: linear-gradient(120deg, var(--green-300), var(--accent-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { margin-top: 10px; color: #b9cdc1; font-size: .96rem; }

/* Testimonials */
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-sm); display: flex; flex-direction: column; gap: 18px; }
.tcard .stars { color: var(--accent); display: inline-flex; gap: 3px; }
.tcard .stars svg { width: 18px; height: 18px; }
.tcard blockquote { font-size: 1.05rem; color: var(--ink); line-height: 1.6; }
.tcard .person { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.tcard .avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; min-height: 0; }
.tcard .pname { font-family: var(--font-head); font-weight: 700; color: var(--ink); line-height: 1.2; }
.tcard .ploc { font-size: .85rem; color: var(--muted); }

/* Pricing */
.plan { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px; display: flex; flex-direction: column; box-shadow: var(--sh-sm); transition: transform var(--t), box-shadow var(--t); position: relative; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.plan.featured { border-color: var(--green-500); box-shadow: var(--sh-lg); }
.plan .badge-pop { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--green-900); font-family: var(--font-head); font-weight: 800; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 16px; border-radius: var(--r-pill); }
.plan .pname { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.plan .psub { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.plan .price { display: flex; align-items: flex-end; gap: 4px; margin: 22px 0 6px; }
.plan .price .amt { font-family: var(--font-head); font-weight: 800; font-size: 3rem; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.plan .price .per { color: var(--muted); font-size: .95rem; padding-bottom: 8px; }
.plan .plist { display: flex; flex-direction: column; gap: 13px; margin: 24px 0 28px; }
.plan .plist li { display: flex; gap: 11px; align-items: flex-start; font-size: .96rem; }
.plan .plist li svg { width: 20px; height: 20px; color: var(--green-500); flex: none; margin-top: 1px; }
.plan .plist li.off { color: var(--muted); }
.plan .plist li.off svg { color: var(--muted); }
.plan .btn { margin-top: auto; }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: box-shadow var(--t), border-color var(--t); }
.faq-item.open { box-shadow: var(--sh-md); border-color: var(--green-300); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.faq-q .fic { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--green-100); color: var(--green-600); transition: transform var(--t), background var(--t); }
.faq-item.open .faq-q .fic { transform: rotate(45deg); background: var(--green-500); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a .faq-a-in { padding: 0 26px 24px; color: var(--body); }

/* Blog cards */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); display: flex; flex-direction: column; transition: transform var(--t), box-shadow var(--t); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.post-card .pc-img { aspect-ratio: 16/10; border-radius: 0; border: none; border-bottom: 1px dashed var(--green-300); }
.post-card .pc-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card .pc-meta { display: flex; align-items: center; gap: 12px; font-size: .82rem; color: var(--muted); margin-bottom: 12px; }
.tag { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: var(--green-700); background: var(--green-100); padding: 5px 11px; border-radius: var(--r-pill); }
.post-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.post-card h3 a:hover { color: var(--green-600); }
.post-card p { font-size: .95rem; margin-bottom: 18px; }
.post-card .pc-foot { margin-top: auto; }

/* Areas */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.area-chip { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; box-shadow: var(--sh-sm); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.area-chip:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--green-300); }
.area-chip .ac-ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--green-100); color: var(--green-600); }
.area-chip .ac-ic svg { width: 20px; height: 20px; }
.area-chip .ac-name { font-family: var(--font-head); font-weight: 700; color: var(--ink); line-height: 1.2; }
.area-chip .ac-sub { font-size: .8rem; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; background: linear-gradient(135deg, var(--green-700), var(--green-900)); border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); overflow: hidden; text-align: center; }
.cta-band::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(67,192,125,.4), transparent 70%); top: -120px; right: -80px; }
.cta-band::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,176,32,.25), transparent 70%); bottom: -120px; left: -60px; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: #c5d6cc; max-width: 560px; margin: 0 auto 30px; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Badge list / checks */
.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li svg { width: 24px; height: 24px; flex: none; color: var(--green-500); margin-top: 1px; }
.check-list li b { display: block; color: var(--ink); font-family: var(--font-head); }

/* Page hero (subpage banner) */
.page-hero { position: relative; padding: clamp(64px, 8vw, 104px) 0 clamp(48px, 6vw, 72px); overflow: hidden; background:
  radial-gradient(50% 60% at 80% 0%, rgba(67,192,125,.18), transparent 60%),
  radial-gradient(40% 50% at 0% 100%, rgba(255,176,32,.12), transparent 60%),
  linear-gradient(180deg, var(--green-50), var(--bg)); }
.page-hero .container { position: relative; }
.page-hero h1 { margin-bottom: 16px; max-width: 760px; }
.page-hero p { font-size: 1.15rem; color: var(--muted); max-width: 620px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 20px; font-family: var(--font-head); font-weight: 600; }
.breadcrumb a:hover { color: var(--green-600); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .here { color: var(--ink); }

/* Prose (blog single / long content) */
.prose { max-width: 740px; }
.prose > * + * { margin-top: 1.3em; }
.prose p { font-size: 1.08rem; line-height: 1.8; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 0; display: flex; flex-direction: column; gap: 10px; }
.prose ul li { position: relative; padding-left: 30px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--green-500); }
.prose ol { counter-reset: li; }
.prose ol li { position: relative; padding-left: 38px; counter-increment: li; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: 0; width: 26px; height: 26px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); border-radius: 50%; font-family: var(--font-head); font-weight: 800; font-size: .82rem; }
.prose blockquote { border-left: 4px solid var(--green-500); background: var(--green-50); padding: 18px 24px; border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 1.1rem; color: var(--ink); font-style: italic; }
.prose a { color: var(--green-600); text-decoration: underline; text-underline-offset: 3px; }
.prose img, .prose .ph { border-radius: var(--r-md); }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-sm); }
.widget h4 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 16px; }
.widget .wlink { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--body); transition: color var(--t); }
.widget .wlink:last-child { border-bottom: none; }
.widget .wlink:hover { color: var(--green-600); }

/* Divider wave */
.wave { display: block; width: 100%; line-height: 0; }
.wave svg { width: 100%; height: auto; display: block; }

/* --------------------------- 10) FORMS ------------------------------ */
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink); }
.field label .req { color: var(--green-600); }
.input, .field input, .field textarea, .field select {
  width: 100%; background: var(--surface-2); border: 1.5px solid var(--line);
  border-radius: var(--r-sm); padding: 14px 16px; font-size: 1rem; color: var(--ink);
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green-400); background: #fff; box-shadow: 0 0 0 4px var(--green-100); }
.field textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-feedback { display: none; margin-top: 4px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--green-100); border: 1px solid var(--green-300); color: var(--green-700); font-weight: 600; font-size: .95rem; }

/* Standalone price block (also styled when nested under .plan) */
.price { display: flex; align-items: flex-end; gap: 4px; }
.price .amt { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.price .per { color: var(--muted); font-size: .92rem; padding-bottom: 7px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--sh-md); }

/* Info rows */
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: none; }
.info-row .ir-ic { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--green-100); color: var(--green-600); }
.info-row .ir-ic svg { width: 22px; height: 22px; }
.info-row .ir-t { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.info-row .ir-s { color: var(--muted); font-size: .95rem; }
.info-row a:hover { color: var(--green-600); }

/* --------------------------- 11) FOOTER ----------------------------- */
.site-footer { background: var(--green-900); color: #b9cdc1; padding-top: clamp(56px, 7vw, 88px); margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.footer-about p { color: #9fb6aa; font-size: .96rem; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; transition: background var(--t), transform var(--t); }
.footer-social a:hover { background: var(--green-500); transform: translateY(-3px); }
.footer-social a svg { width: 19px; height: 19px; }
.footer-col h5 { font-family: var(--font-head); color: #fff; font-size: 1.02rem; margin-bottom: 18px; font-weight: 700; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: #9fb6aa; font-size: .96rem; transition: color var(--t), padding var(--t); }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-news p { color: #9fb6aa; font-size: .94rem; margin-bottom: 16px; }
.footer-news form { display: flex; gap: 8px; }
.footer-news input { flex: 1; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; border-radius: var(--r-pill); padding: 12px 18px; }
.footer-news input::placeholder { color: #87a195; }
.footer-news input:focus { outline: none; border-color: var(--green-400); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 26px 0; font-size: .88rem; color: #87a195; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .fb-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* -------------------------- 12) UTILITIES --------------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mx-auto { margin-inline: auto; }
.mt-0{margin-top:0}.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:32px}.mt-5{margin-top:48px}
.mb-0{margin-bottom:0}.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}.mb-4{margin-bottom:32px}
.maxw-sm{max-width:540px}.maxw-md{max-width:680px}
.gap-sm{gap:16px}.gap-lg{gap:40px}
.hidden{display:none}
.badge { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 700; font-size: .8rem; padding: 6px 13px; border-radius: var(--r-pill); background: var(--green-100); color: var(--green-700); }
.badge svg { width: 14px; height: 14px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ------------------------- 13) ANIMATIONS --------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.float-card { animation: floaty 5s var(--ease) infinite; }
.float-card.fc-2 { animation-delay: -2.5s; }
.float-card.fc-3 { animation-delay: -1.2s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ------------------------- 14) RESPONSIVE --------------------------- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .float-card.fc-1 { left: 6px; } .float-card.fc-2 { right: 4px; }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .nav-menu, .nav-cta .nav-phone, .nav-cta .btn-ghost { display: none; }
  .burger { display: grid; }
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 460px; margin-inline: auto; }
  .cols-3, .cols-4, .area-grid { grid-template-columns: repeat(2, 1fr); }

  /* Mobile menu panel */
  .mobile-menu {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    background: var(--bg); padding: 24px var(--gutter) 40px;
    transform: translateX(100%); transition: transform .4s var(--ease);
    overflow-y: auto; display: flex; flex-direction: column; gap: 6px;
  }
  body.nav-open .mobile-menu { transform: none; }
  body.nav-open { overflow: hidden; }
  .mobile-menu .m-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; background: none; padding: 15px 4px; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--ink); border-bottom: 1px solid var(--line); cursor: pointer; }
  .mobile-menu .caret { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
  .mobile-menu .m-group.open .m-toggle .caret { transform: rotate(180deg); }
  .mobile-menu .m-sub { display: flex; flex-direction: column; overflow: hidden; max-height: 0; transition: max-height .4s var(--ease); }
  .mobile-menu .m-group.open .m-sub { max-height: 480px; }
  .mobile-menu .m-sub a { padding: 12px 4px 12px 18px; font-weight: 600; font-size: 1rem; color: var(--body); border-bottom: 1px solid var(--line); }
  .mobile-menu .m-cta { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
}
@media (min-width: 901px) { .mobile-menu { display: none; } }
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cols-2, .cols-3, .cols-4, .area-grid, .form-row, .stats { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .float-card { display: none; }
  .hero-actions .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { padding: 36px 24px; }
}

/* ===================================================================
   15) WORDPRESS INTEGRATION BRIDGE  (added for the WP theme only)
   Maps WP core markup + menu/comments/pagination onto the design system.
   =================================================================== */
.skip-link{position:absolute;left:-9999px;top:0;z-index:9999;background:var(--primary);color:#fff;padding:10px 18px;border-radius:0 0 var(--r-sm) 0;font-family:var(--font-head);font-weight:700}
.skip-link:focus{left:0}
/* Admin bar offsets for the sticky header + mobile panel */
body.admin-bar .site-header{top:32px}
@media (max-width:782px){body.admin-bar .site-header{top:46px}}
@media (max-width:900px){body.admin-bar .mobile-menu{inset:calc(var(--header-h) + 46px) 0 0 0}}
/* Active nav state from WP menu classes (mirror of .nav-menu>li.current) */
.nav-menu>li.current-menu-item>a,.nav-menu>li.current-menu-parent>a,.nav-menu>li.current_page_item>a,.nav-menu>li.current-menu-ancestor>a{color:var(--green-600);background:var(--green-100)}
/* Custom-logo image inside the brand mark */
.brand .logo-mark.has-img{background:none;box-shadow:none}
.brand .logo-mark img{width:100%;height:100%;object-fit:contain;border-radius:inherit}
/* WordPress alignments + captions + galleries */
.alignleft{float:left;margin:.4rem 1.5rem 1rem 0}
.alignright{float:right;margin:.4rem 0 1rem 1.5rem}
.aligncenter{margin-inline:auto;display:block}
.alignwide,.alignfull{margin-block:1.6rem}
.wp-caption,figure.wp-block-image{max-width:100%}
.wp-caption-text,.wp-element-caption{font-size:.86rem;color:var(--muted);text-align:center;margin-top:8px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.post-password-form input{background:var(--surface-2);border:1.5px solid var(--line);border-radius:var(--r-sm);padding:12px 14px}
/* Placeholder fallback when a CPT item has no featured image */
/* Comments */
.comments-area{margin-top:48px}
.comment-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:18px}
.comment-list .children{list-style:none;padding-left:26px;margin-top:18px;display:flex;flex-direction:column;gap:18px}
.comment-body{background:#fff;border:1px solid var(--line);border-radius:var(--r-md);padding:20px 22px;box-shadow:var(--sh-sm)}
.comment-author{font-family:var(--font-head);font-weight:700;color:var(--ink)}
.comment-author .avatar{border-radius:50%;margin-right:10px;vertical-align:middle}
.comment-metadata,.comment-meta{font-size:.82rem;color:var(--muted);margin:4px 0 10px}
.comment-respond{margin-top:30px;background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:clamp(24px,4vw,38px);box-shadow:var(--sh-sm)}
.comment-form{display:flex;flex-direction:column;gap:14px}
.comment-form label{font-family:var(--font-head);font-weight:700;font-size:.9rem;color:var(--ink)}
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{width:100%;background:var(--surface-2);border:1.5px solid var(--line);border-radius:var(--r-sm);padding:13px 15px;margin-top:6px}
.comment-form textarea{min-height:120px;resize:vertical}
/* Pagination */
.pagination,.posts-nav{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:56px}
.pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:46px;height:46px;padding:0 14px;border-radius:var(--r-sm);border:1.5px solid var(--line);background:#fff;font-family:var(--font-head);font-weight:700;color:var(--ink);transition:all var(--t)}
.pagination .page-numbers.current{background:var(--primary);color:#fff;border-color:var(--primary)}
.pagination a.page-numbers:hover{border-color:var(--primary);color:var(--primary);transform:translateY(-2px)}
.post-nav-links{display:flex;gap:14px;justify-content:space-between;margin-top:40px}
/* Server-rendered quote/newsletter success message */
.form-feedback.is-ok{display:block}
/* Single-post content image rounding */
.prose figure{margin-block:1.4em}
.prose img{border-radius:var(--r-md)}
.team-role{color:var(--green-600);font-weight:700;font-family:var(--font-head)}

/* --- Spacing fix: stack the label + sub-label in icon/text components
   (hero float cards, info rows, testimonial names, area chips, nav dropdown).
   Their two text spans live in an unclassed wrapper span that needs to be a
   vertical stack, otherwise they run together on one line. --- */
.float-card > span:last-child,
.info-row > span:last-child,
.person > span:last-child,
.area-chip > span:last-child,
.dropdown a > span:last-child{display:flex;flex-direction:column;min-width:0}
