/* ==========================================================================
   Meer Muhammad — Tax Practitioner
   Design system: deep Pakistani green, cream, gold, white; navy accents.
   ========================================================================== */

:root {
  --green-950: #071a12;
  --green-900: #0c2a1d;
  --green-800: #113626;
  --green-700: #1a4a34;
  --green-600: #246046;
  --green-100: #e7efe9;
  --gold-300: #e3c88c;
  --gold-400: #d4b06a;
  --gold-500: #c49a4a;
  --gold-600: #a47d32;
  --gold-700: #80601f;
  --cream-50: #fbf9f4;
  --cream-100: #f5f1e8;
  --cream-200: #ece4d3;
  --navy-900: #16233a;
  --ink: #18221d;
  --body: #3d4943;
  --muted: #5d6862;
  --line: #e6dfd1;
  --line-strong: #d2c7b1;
  --white: #ffffff;
  --danger: #a3321d;
  --danger-bg: #fbeee9;
  --ok: #1d6a44;
  --ok-bg: #e9f4ee;

  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(12, 42, 29, .05), 0 2px 10px rgba(12, 42, 29, .05);
  --shadow-md: 0 14px 34px -16px rgba(12, 42, 29, .32);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --section-y: clamp(56px, 7vw, 96px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--serif); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--gold-300); color: var(--green-950); }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-300); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--green-900); color: #fff; font-weight: 600; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.bg-cream { background: var(--cream-100); }
.bg-cream-50 { background: var(--cream-50); }
.bg-green { background: var(--green-900); color: rgba(255, 255, 255, .8); }
.bg-green h1, .bg-green h2, .bg-green h3 { color: #fff; }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 15px; height: 15px; }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-block; margin-bottom: .75rem; font: 700 .78rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700); }
.on-dark .eyebrow, .bg-green .eyebrow { color: var(--gold-400); }
.h1 { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.1rem); }
.h2 { font-size: clamp(1.85rem, 1.25rem + 1.8vw, 2.55rem); }
.h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.4rem); }
.lead { font-size: clamp(1.05rem, .98rem + .3vw, 1.18rem); line-height: 1.7; color: var(--body); }
.muted { color: var(--muted); }
.gold { color: var(--gold-500); }
.small { font-size: .9rem; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 4px;
  font: 600 .96rem/1.2 var(--sans); letter-spacing: .01em; text-align: center;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.btn .icon { width: 18px; height: 18px; }
.btn-gold { background: var(--gold-500); color: var(--green-950); }
.btn-gold:hover { background: var(--gold-400); box-shadow: 0 8px 20px -10px rgba(196, 154, 74, .8); }
.btn-green { background: var(--green-900); color: #fff; }
.btn-green:hover { background: var(--green-700); }
.btn-outline { border-color: var(--line-strong); color: var(--green-900); background: #fff; }
.btn-outline:hover { border-color: var(--gold-500); color: var(--green-900); }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline-light:hover { border-color: var(--gold-400); background: rgba(255, 255, 255, .07); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; box-shadow: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .94rem; color: var(--green-800); }
.link-arrow .icon { width: 17px; height: 17px; transition: transform .18s ease; }
.link-arrow:hover { color: var(--gold-700); }
.link-arrow:hover .icon { transform: translateX(3px); }
.on-dark .link-arrow, .bg-green .link-arrow { color: var(--gold-400); }
.text-link { color: var(--green-800); text-decoration: underline; text-decoration-color: var(--gold-500); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--gold-700); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--green-900); flex-shrink: 0; white-space: nowrap; }
.nav-cta { white-space: nowrap; flex-shrink: 0; }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-mark .m-a { fill: currentColor; }
.brand-mark .m-b { fill: var(--gold-500); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font: 700 1.14rem/1.1 var(--serif); letter-spacing: .03em; text-transform: uppercase; color: var(--green-900); }
.brand-tag { margin-top: 5px; font: 600 .66rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 28px); }
.site-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.site-nav li a { position: relative; display: block; padding: 10px 12px; font-weight: 500; font-size: .95rem; color: var(--ink); border-radius: 4px; transition: color .15s ease; }
.site-nav li a:hover { color: var(--gold-700); }
.site-nav li a[aria-current="page"] { color: var(--green-900); font-weight: 600; }
.site-nav li a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--gold-500); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 4px; background: #fff; color: var(--green-900); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1240px) and (min-width: 1001px) {
  .site-nav { gap: 12px; }
  .site-nav li a { padding: 10px 8px; font-size: .92rem; }
  .site-nav li a[aria-current="page"]::after { left: 8px; right: 8px; }
  .nav-cta .icon { display: none; }
}
@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 14px;
    padding: 14px var(--gutter) 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav li a { padding: 13px 4px; font-size: 1.02rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav li a[aria-current="page"]::after { left: 4px; right: auto; width: 28px; bottom: 6px; }
  .nav-cta { align-self: stretch; }
}
@media (max-width: 420px) {
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1rem; }
  .brand-tag { letter-spacing: .22em; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(120% 90% at 0% 0%, #133a28 0%, var(--green-900) 45%, var(--green-950) 100%);
  color: rgba(255, 255, 255, .84);
}
.hero::before { /* faint texture so the green panel is not flat */
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 22px 22px;
}
.hero-media { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: min(52%, 820px); }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 6% 0; }
.hero-media::after { /* blend the photograph into the green panel */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--green-900) 0%, rgba(12, 42, 29, .55) 9%, rgba(12, 42, 29, 0) 20%),
              linear-gradient(0deg, rgba(7, 26, 18, .35) 0%, rgba(7, 26, 18, 0) 22%);
}
.hero-inner { display: flex; align-items: center; min-height: clamp(560px, 46vw, 660px); }
.hero-copy { width: min(46%, 560px); padding-block: 64px 56px; }
.hero-kicker { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.hero-kicker::before { content: ""; width: 56px; height: 1px; background: var(--gold-500); flex: none; }
.hero-kicker span { display: flex; flex-direction: column; line-height: 1.15; }
.hero-kicker b { font: 700 1.05rem/1.2 var(--serif); letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.hero-kicker small { margin-top: 4px; font: 500 .72rem/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.hero h1 { color: #fff; font-size: clamp(2.35rem, 1.15rem + 3.5vw, 3.85rem); line-height: 1.08; letter-spacing: -.015em; }
.hero h1 .gold { color: var(--gold-500); }
.hero-lead { margin: 22px 0 30px; max-width: 34em; font-size: clamp(1rem, .95rem + .3vw, 1.14rem); line-height: 1.7; color: rgba(255, 255, 255, .84); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions .btn { min-width: 190px; }
.hero-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 40px; list-style: none; }
.hero-features li { padding: 0 12px; border-left: 1px solid rgba(255, 255, 255, .16); }
.hero-features li:first-child { padding-left: 0; border-left: 0; }
.hero-features .icon { width: 30px; height: 30px; color: var(--gold-500); stroke-width: 1.5; margin-bottom: 12px; }
.hero-features strong { display: block; font-weight: 600; font-size: .88rem; color: #fff; line-height: 1.3; white-space: nowrap; }
.hero-features span { display: block; margin-top: 3px; font-size: .82rem; color: rgba(255, 255, 255, .68); line-height: 1.35; }
.hero-note { margin-top: 26px; font-size: .78rem; color: rgba(255, 255, 255, .55); }

@media (max-width: 1180px) {
  .hero-copy { width: min(48%, 520px); }
  .hero-features { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .hero-features li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 900px) {
  .hero-media { position: relative; width: 100%; aspect-ratio: 1 / .92; max-height: 560px; }
  .hero-media img { object-position: 12% 0; }
  .hero-media::after { background: linear-gradient(0deg, var(--green-900) 0%, rgba(12, 42, 29, .6) 14%, rgba(12, 42, 29, 0) 34%); }
  .hero-inner { min-height: 0; margin-top: -72px; }
  .hero-copy { width: 100%; padding-block: 0 48px; }
  .hero-actions .btn { flex: 1 1 200px; }
}
@media (max-width: 480px) {
  .hero-kicker::before { width: 36px; }
  .hero-actions .btn { min-width: 0; width: 100%; }
  .hero-features li { padding: 0 10px; }
}

/* ---------- Section heads ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: end; gap: 20px 40px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.section-head .h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 30em; }
.section-head .link-arrow { white-space: nowrap; }
.section-head.simple { grid-template-columns: 1fr; max-width: 760px; }
.section-head.center { grid-template-columns: 1fr; text-align: center; margin-inline: auto; max-width: 720px; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; align-items: start; gap: 12px; } }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; list-style: none; }
.service-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 22px 20px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
a.service-card:hover, a.service-card:focus-visible { border-color: var(--gold-500); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 6px; background: #f6ecd8; color: var(--gold-700); }
.service-icon .icon { width: 25px; height: 25px; }
.service-card h3 { font-size: 1.08rem; line-height: 1.25; color: var(--green-900); }
.service-card p { margin: 10px 0 18px; font-size: .9rem; line-height: 1.55; color: var(--muted); }
.service-card .card-arrow { display: grid; place-items: center; width: 30px; height: 30px; margin-top: auto; margin-left: auto; border: 1px solid var(--gold-500); border-radius: 50%; color: var(--gold-700); transition: background-color .2s ease, color .2s ease; }
.service-card .card-arrow .icon { width: 15px; height: 15px; }
a.service-card:hover .card-arrow { background: var(--gold-500); color: var(--green-950); }
.service-grid.cols-3 .service-card { padding: 26px 24px 24px; }
.service-grid.cols-3 .service-card h3 { font-size: 1.22rem; }
.service-grid.cols-3 .service-card p { font-size: .96rem; }
@media (max-width: 1180px) { .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .service-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .service-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .service-grid, .service-grid.cols-4, .service-grid.cols-3 { grid-template-columns: 1fr; gap: 12px; }
  /* Compact row cards on phones: icon | title + text | arrow */
  .service-card { display: grid; grid-template-columns: 44px minmax(0, 1fr) 30px; column-gap: 14px; align-items: center; padding: 16px; }
  .service-card .service-icon { grid-column: 1; grid-row: 1 / span 2; align-self: start; width: 44px; height: 44px; margin: 0; }
  .service-card h3 { grid-column: 2; grid-row: 1; }
  .service-card p { grid-column: 2; grid-row: 2; margin: 4px 0 0; }
  .service-card .card-arrow { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
  .service-card > .link-arrow { grid-column: 2; grid-row: 3; margin-top: 8px !important; }
}
@media (min-width: 641px) and (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- About band (split: cream | green) ---------- */
.about-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.about-band-left { position: relative; background: var(--cream-100); overflow: hidden; }
.about-band-left::before { /* soft brush tone, echoes the supplied artwork */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 55% at 78% 30%, rgba(214, 196, 160, .45) 0%, rgba(214, 196, 160, 0) 70%);
}
.about-band-left .inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 16px; height: 100%; padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.about-copy { align-self: center; padding-block: clamp(48px, 6vw, 80px); }
.about-copy .h2 { margin-bottom: 18px; font-size: clamp(1.8rem, 1.3rem + 1vw, 2.15rem); }
.about-copy p { color: var(--body); }
.about-copy .btn { margin-top: 12px; background: #8a6424; color: #fff; }
.about-copy .btn:hover { background: #6f4f19; }
.about-portrait { align-self: end; justify-self: end; width: 100%; max-width: 330px; }
.about-portrait img {
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}
.about-band-right { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--green-800) 0%, var(--green-900) 55%, var(--green-950) 100%); color: rgba(255, 255, 255, .78); }
.about-band-right .inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; height: 100%; padding: clamp(44px, 5vw, 72px) max(var(--gutter), calc((100vw - var(--container)) / 2)) clamp(44px, 5vw, 72px) clamp(28px, 4vw, 56px); }
.about-band-right h2 { color: #fff; margin-bottom: 22px; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); }
.why-list { display: grid; gap: 14px; list-style: none; }
@media (min-width: 1200px) { .why-list { grid-template-columns: 1fr 1fr; gap: 18px 26px; } }
.why-list li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; }
.why-list .icon { width: 26px; height: 26px; color: var(--gold-500); stroke-width: 1.5; }
.why-list strong { display: block; font-weight: 600; font-size: .96rem; color: #fff; line-height: 1.35; }
.why-list span { display: block; font-size: .86rem; color: rgba(255, 255, 255, .66); line-height: 1.45; }
.why-quote { display: grid; grid-template-columns: 30px 1fr; gap: 0 14px; margin: 0; padding-top: 20px; border-top: 1px solid rgba(196, 154, 74, .45); }
.why-quote .icon { grid-row: span 2; width: 28px; height: 28px; color: var(--gold-500); }
.why-quote blockquote { margin: 0; font: 400 1.02rem/1.6 var(--serif); color: #fff; }
.why-quote figcaption { margin-top: 8px; font-weight: 600; font-size: .9rem; color: var(--gold-400); }
@media (max-width: 900px) {
  .about-band { grid-template-columns: 1fr; }
  .about-band-left .inner { padding-inline: var(--gutter); grid-template-columns: minmax(0, 1fr) minmax(0, 220px); }
  .about-band-right .inner { padding-inline: var(--gutter); }
}
@media (max-width: 560px) {
  .about-band-left .inner { grid-template-columns: 1fr; }
  .about-copy { padding-bottom: 8px; }
  .about-portrait { justify-self: end; max-width: 270px; }
}

/* ---------- How it works ---------- */
.process { position: relative; overflow: hidden; background: var(--cream-50); }
.process-media { position: absolute; top: 0; right: 0; bottom: 0; width: min(34%, 460px); pointer-events: none; }
.process-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%); mask-image: linear-gradient(90deg, transparent 0%, #000 55%); }
.process .container { position: relative; }
.process-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 880px; list-style: none; counter-reset: step; }
.process-steps li { position: relative; }
.process-steps li:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: 128px; right: 4px; border-top: 1px dashed var(--line-strong); }
.step-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.step-num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gold-600); color: #fff; font: 700 1.05rem/1 var(--serif); flex: none; }
.step-head .icon { width: 34px; height: 34px; color: var(--green-800); stroke-width: 1.4; }
.process-steps h3 { font-size: 1.08rem; color: var(--green-900); margin-bottom: 8px; }
.process-steps p { font-size: .93rem; color: var(--muted); margin: 0; max-width: 24em; }
/* The still-life only appears where it cannot sit behind step text. */
@media (max-width: 1399px) { .process-media { display: none; } }
@media (max-width: 760px) {
  .process-steps { grid-template-columns: 1fr; gap: 24px; }
  .process-steps li:not(:last-child)::after { display: none; }
}

/* ---------- Trio: reviews · resources · contact ---------- */
.trio { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .85fr); border-top: 1px solid var(--line); }
.trio > section { padding: clamp(40px, 5vw, 64px) clamp(20px, 3vw, 40px); }
.trio > section + section { border-left: 1px solid var(--line); }
.trio > section:first-child { padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.trio > section:last-child { padding-right: max(var(--gutter), calc((100vw - var(--container)) / 2)); background: var(--cream-100); }
.trio-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.trio-head h2 { font-size: clamp(1.4rem, 1.1rem + .8vw, 1.7rem); color: var(--green-900); }
.trio-head .link-arrow { font-size: .86rem; }
.trio-sub { margin: 6px 0 22px; color: var(--muted); font-size: .92rem; }
@media (max-width: 1100px) {
  .trio { grid-template-columns: 1fr 1fr; }
  .trio > section:last-child { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
}
@media (max-width: 760px) {
  .trio { grid-template-columns: 1fr; }
  .trio > section { padding-inline: var(--gutter) !important; }
  .trio > section + section { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Review cards ---------- */
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.review-grid.wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 20px; }
.review-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); min-width: 0; }
.review-top { display: flex; align-items: center; gap: 12px; }
.review-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--green-100); color: var(--green-800); font: 700 1rem/1 var(--serif); flex: none; }
.review-who { min-width: 0; line-height: 1.3; }
.review-who strong { display: block; color: var(--ink); font-size: .98rem; overflow-wrap: anywhere; }
.review-verified { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; color: var(--ok); font-weight: 600; }
.review-verified .icon { width: 14px; height: 14px; }
.review-biz { display: block; font-size: .82rem; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; color: var(--gold-500); }
.stars .icon { width: 17px; height: 17px; }
.stars .off { color: var(--line-strong); }
.review-body { margin: 0; color: var(--body); font-size: .94rem; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.review-meta { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.review-meta b { color: var(--green-800); font-weight: 600; }
.review-reply { padding: 10px 12px; border-left: 3px solid var(--gold-500); background: var(--cream-50); font-size: .88rem; }
.review-reply strong { display: block; font-size: .8rem; color: var(--green-800); margin-bottom: 2px; }
/* In the homepage trio the column is narrow: stack cards, two-up only on very wide screens. */
.trio .review-grid { grid-template-columns: 1fr; }
@media (min-width: 1680px) { .trio .review-grid { grid-template-columns: 1fr 1fr; } }

.empty-state { padding: 22px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--cream-50); }
.empty-state h3 { font-size: 1.05rem; color: var(--green-900); margin-bottom: 6px; }
.empty-state p { color: var(--muted); font-size: .93rem; }

/* ---------- Resource list ---------- */
.resource-list { display: grid; gap: 10px; list-style: none; }
.resource-link { display: grid; grid-template-columns: 34px 1fr 20px; align-items: center; gap: 14px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .18s ease, box-shadow .18s ease; }
.resource-link:hover { border-color: var(--gold-500); box-shadow: var(--shadow-sm); }
.resource-link > .icon:first-child { width: 26px; height: 26px; color: var(--gold-600); }
.resource-link strong { display: block; font-size: .94rem; color: var(--green-900); line-height: 1.3; }
.resource-link span { display: block; font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }
.resource-link .ext { width: 17px; height: 17px; color: var(--muted); }

/* ---------- Contact list ---------- */
.contact-list { display: grid; gap: 16px; list-style: none; }
.contact-list li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; }
.contact-list .icon { width: 22px; height: 22px; color: var(--green-800); margin-top: 2px; }
.contact-list a, .contact-list span { font-size: .95rem; color: var(--ink); overflow-wrap: break-word; }
.contact-list a:hover { color: var(--gold-700); }
.contact-list small { display: block; font-size: .78rem; color: var(--muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(110% 120% at 0% 0%, #133a28 0%, var(--green-900) 50%, var(--green-950) 100%); color: rgba(255, 255, 255, .82); }
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 22px 22px; }
.page-hero .container { position: relative; padding-block: clamp(44px, 6vw, 76px); }
.page-hero h1 { color: #fff; font-size: clamp(2.05rem, 1.3rem + 2.5vw, 3.05rem); max-width: 18em; }
.page-hero .lead { margin-top: 14px; max-width: 42em; color: rgba(255, 255, 255, .82); }
.page-hero .eyebrow { color: var(--gold-400); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; list-style: none; font-size: .84rem; color: rgba(255, 255, 255, .62); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .35); }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb [aria-current] { color: rgba(255, 255, 255, .88); }

/* ---------- Content layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.split.media-left { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.split.narrow-right { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.split.form-right { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
@media (max-width: 900px) { .split, .split.media-left, .split.narrow-right, .split.form-right { grid-template-columns: 1fr; } }
.frame-banner img { aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 640px) { .frame-banner img { aspect-ratio: 4 / 3; } }
.small .icon, p .icon-xs { display: inline-block; vertical-align: -3px; margin-right: 4px; }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.45rem, 1.15rem + .9vw, 1.8rem); color: var(--green-900); margin: 2rem 0 .75rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; color: var(--green-900); margin: 1.5rem 0 .5rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--gold-600); }
.prose a:not(.btn) { color: var(--green-800); text-decoration: underline; text-decoration-color: var(--gold-500); text-underline-offset: 3px; }

.frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--cream-200); box-shadow: var(--shadow-md); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-contain img { object-fit: contain; background: var(--cream-100); }
.frame-accent { position: relative; }
.frame-accent::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--gold-500); border-radius: var(--radius); z-index: -1; }
.figure-caption { margin-top: 12px; font-size: .84rem; color: var(--muted); }

.card { padding: clamp(20px, 2.4vw, 30px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card h3 { font-size: 1.15rem; color: var(--green-900); margin-bottom: 8px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.card-link { display: block; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.card-link:hover { border-color: var(--gold-500); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tag { display: inline-block; margin-bottom: 10px; font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); }

.note { padding: 16px 18px; border-left: 3px solid var(--gold-500); background: var(--cream-50); border-radius: 0 var(--radius) var(--radius) 0; font-size: .92rem; color: var(--body); }
.note strong { color: var(--green-900); }

/* Timeline */
.timeline { position: relative; list-style: none; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 7px; width: 2px; background: linear-gradient(var(--gold-500), var(--line-strong)); }
.timeline > li { position: relative; padding-bottom: 28px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before { content: ""; position: absolute; left: -28px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--gold-500); }
.timeline .when { display: block; font: 600 .8rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 4px; }
.timeline h3 { font-size: 1.15rem; color: var(--green-900); }
.timeline p { margin-top: 6px; color: var(--muted); font-size: .95rem; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 600; color: var(--green-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--sans); color: var(--gold-600); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 20px 18px; color: var(--muted); }

/* CTA strip (used sparingly, only where contextual) */
.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(24px, 3vw, 34px) clamp(22px, 3vw, 40px); border-radius: var(--radius); background: linear-gradient(120deg, var(--green-800), var(--green-950)); color: rgba(255, 255, 255, .82); }
.cta-strip h2 { color: #fff; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); }
.cta-strip p { margin: 6px 0 0; }

/* ---------- Forms ---------- */
.form-card { padding: clamp(22px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; margin-bottom: 7px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.field .req { color: var(--danger); margin-left: 2px; }
.field .hint { display: block; margin-top: 6px; font-size: .82rem; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  background: #fff; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235d6862' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(196, 154, 74, .22); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-error { display: block; margin-top: 6px; font-size: .84rem; color: var(--danger); font-weight: 500; }
fieldset.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 4px; font-size: .93rem; background: #fff; transition: border-color .15s ease, background-color .15s ease; }
.choice input:checked + span { border-color: var(--green-800); background: var(--green-100); color: var(--green-900); font-weight: 600; }
.choice input:focus-visible + span { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.rating-row .choice span { min-width: 64px; justify-content: center; }
.rating-row .choice span .icon { width: 16px; height: 16px; color: var(--gold-500); }
.check, .field label.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin: 0; font-weight: 400; font-size: .92rem; color: var(--body); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green-800); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-privacy { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; background: var(--cream-50); border: 1px solid var(--line); border-radius: var(--radius); font-size: .86rem; color: var(--muted); }
.form-privacy .icon { width: 20px; height: 20px; color: var(--green-800); margin-top: 1px; }

.alert { padding: 14px 16px; border-radius: var(--radius); border: 1px solid; font-size: .94rem; }
.alert-error { background: var(--danger-bg); border-color: #efc7bb; color: #6f2213; }
.alert-ok { background: var(--ok-bg); border-color: #bfe0cc; color: #14492f; }
.alert-info { background: var(--cream-50); border-color: var(--line-strong); color: var(--body); }
.alert ul { margin: 6px 0 0 18px; }
.alert strong { display: block; margin-bottom: 2px; }
.form-status:empty { display: none; }

/* Summary (reviews page) */
.rating-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.rating-score { text-align: center; }
.rating-score b { display: block; font: 700 3rem/1 var(--serif); color: var(--green-900); }
.rating-score small { display: block; margin-top: 6px; color: var(--muted); font-size: .86rem; }
.dist { display: grid; gap: 6px; list-style: none; }
.dist li { display: grid; grid-template-columns: 34px 1fr 28px; gap: 10px; align-items: center; font-size: .86rem; color: var(--muted); }
.dist .bar { height: 8px; border-radius: 99px; background: var(--cream-200); overflow: hidden; }
.dist .bar i { display: block; height: 100%; background: var(--gold-500); }
@media (max-width: 520px) { .rating-summary { grid-template-columns: 1fr; } }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 4px; font-weight: 600; font-size: .92rem; }
.pagination [aria-current] { background: var(--green-900); border-color: var(--green-900); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: rgba(255, 255, 255, .72); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, .95fr) minmax(0, .95fr) minmax(0, .95fr); gap: 32px; padding-block: clamp(44px, 5vw, 64px); }
.site-footer .brand { color: #fff; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-tag { color: rgba(255, 255, 255, .6); }
.footer-about p { margin-top: 16px; line-height: 1.65; }
.footer-about .fine { font-size: .8rem; color: rgba(255, 255, 255, .5); }
.footer-col h2 { margin-bottom: 14px; font: 700 .95rem/1.3 var(--sans); letter-spacing: .02em; color: #fff; }
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col ul.two-col { grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: 28px; }
.footer-col a:hover { color: var(--gold-300); }
.footer-col .ext { display: inline-flex; align-items: center; gap: 6px; }
.footer-col .ext .icon { width: 13px; height: 13px; opacity: .7; }
.social { display: flex; gap: 10px; margin-bottom: 20px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; color: #fff; transition: border-color .15s ease, background-color .15s ease; }
.social a:hover { border-color: var(--gold-400); background: rgba(255, 255, 255, .06); }
.social .icon { width: 18px; height: 18px; }
.footer-contact { list-style: none; display: grid; gap: 8px; }
.footer-contact a, .footer-contact span { overflow-wrap: break-word; }
.credit-label { display: block; margin-bottom: 12px; font-weight: 700; color: #fff; font-size: .95rem; }
.tb-badge { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border: 1px solid rgba(196, 154, 74, .55); border-radius: var(--radius); color: #fff; font-weight: 600; transition: border-color .18s ease, background-color .18s ease; }
.tb-badge:hover { border-color: var(--gold-400); background: rgba(255, 255, 255, .05); }
.tb-logo { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold-500); color: var(--green-950); font: 800 .78rem/1 var(--sans); letter-spacing: -.02em; }
.tb-badge .icon { width: 15px; height: 15px; color: var(--gold-400); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 20px 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; color: rgba(255, 255, 255, .55); }
.footer-bottom nav { display: flex; gap: 18px; }
.footer-bottom a:hover { color: var(--gold-300); }
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; max-width: 560px; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-credit { grid-column: 1 / -1; }
}

/* ---------- Floating WhatsApp (the only floating control) ---------- */
.float-wa { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #1f8a4c; color: #fff; box-shadow: 0 10px 24px -8px rgba(7, 26, 18, .55); transition: transform .18s ease, background-color .18s ease, opacity .2s ease, visibility 0s; }
/* Hidden while the hero (which has its own Contact button) or the footer
   (which lists contact details) is on screen, and on the Contact page. */
.float-wa.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9); pointer-events: none; transition: opacity .2s ease, transform .2s ease, visibility 0s .2s; }
.float-wa:hover { background: #18733f; transform: translateY(-2px); }
.float-wa .icon { width: 26px; height: 26px; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  a.service-card:hover, .card-link:hover, .float-wa:hover { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .float-wa, .hero-media, .process-media { display: none !important; }
  .hero, .page-hero, .bg-green { background: #fff !important; color: #000 !important; }
  .hero h1, .page-hero h1 { color: #000 !important; }
}
