/* =========================================================
   Valleyside Tree Care: homepage styles
   Tokens come from the existing Valleyside branding.
   ========================================================= */

:root {
  --ink: #0D0D0D;
  --ink-2: #141414;
  --ink-3: #0A0A0A;
  --lime: #BAF24A;
  --lime-d: #a3dc35;
  --bone: #E8E8E2;
  --bone-2: #F3F3EE;
  --moss: #4A5750;
  --wa: #25D366;
  --white: #fff;

  --on-ink: rgba(255, 255, 255, .72);
  --on-ink-strong: rgba(255, 255, 255, .92);
  --line-ink: rgba(255, 255, 255, .12);
  --line-bone: rgba(13, 13, 13, .14);

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);

  --r-card: 20px;
  --r-pill: 100px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 10vw, 140px);
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
img.img-failed { visibility: hidden; }
.mark img.img-failed { display: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a, button, summary, select, label { -webkit-tap-highlight-color: transparent; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.section--bone :focus-visible, .qform :focus-visible { outline-color: var(--ink); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--lime); color: var(--ink); padding: 12px 20px; border-radius: var(--r-pill); font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: .95rem; line-height: 1.2; white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { min-height: 44px; padding: 10px 22px; font-size: .9rem; }
.btn--lg { min-height: 56px; padding: 14px 32px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--lime { background: var(--lime); color: var(--ink); font-weight: 700; }
.btn--lime:hover { background: #c9f66c; box-shadow: 0 10px 30px -8px rgba(186, 242, 74, .55); }
.btn--wa { background: var(--wa); color: #06210f; font-weight: 700; }
.btn--wa:hover { background: #3be07b; box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .5); }
.btn--outline { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn--outline:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.btn--ghost { border-color: var(--line-ink); color: #fff; }
.btn--ghost:hover { border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: linear-gradient(180deg, rgba(13, 13, 13, .72), rgba(13, 13, 13, .38));
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.site-header.is-scrolled { background: rgba(13, 13, 13, .88); border-bottom-color: var(--line-ink); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; flex: none; min-height: 48px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.brand__text small { font-size: .62rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--on-ink); margin-top: 3px; }

.nav { margin-inline: auto; }
.nav > ul { display: flex; align-items: center; gap: 4px; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border-radius: var(--r-pill); color: var(--on-ink-strong); font-size: .92rem; font-weight: 500; transition: color .2s, background-color .2s; }
.nav__link:hover, .has-mega.is-open .nav__btn { color: var(--lime); background: rgba(255, 255, 255, .06); }
.nav__btn .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.has-mega.is-open .nav__btn .icon { transform: rotate(180deg); }
.has-mega { position: static; }

.mega { position: absolute; left: 0; right: 0; top: var(--header-h); padding: 0 var(--gutter); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; pointer-events: none; }
.has-mega.is-open .mega { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
.mega__inner { max-width: 960px; margin: 8px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 48px; padding: 32px 36px; background: #141414; backdrop-filter: blur(18px); border: 1px solid var(--line-ink); border-radius: 24px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); }
.mega__label { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); margin-bottom: 10px; }
.mega__col a { display: block; padding: 9px 0; color: var(--on-ink-strong); font-size: .95rem; border-bottom: 1px solid var(--line-ink); transition: color .2s, padding-left .25s var(--ease); }
.mega__col li:last-child a { border-bottom: 0; }
.mega__col a:hover { color: var(--lime); padding-left: 8px; }

.header__cta { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav + .header__cta { margin-left: 0; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .92rem; color: var(--on-ink-strong); transition: color .2s; }
.header__phone:hover { color: var(--lime); }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-ink); color: #fff; align-items: center; justify-content: center; }
.menu-toggle .icon--close { display: none; }
.menu-toggle[aria-expanded="true"] .icon--open { display: none; }
.menu-toggle[aria-expanded="true"] .icon--close { display: block; }

/* mobile menu */
.mnav { position: fixed; inset: 0; z-index: 90; background: var(--ink); padding-top: calc(var(--header-h) + 8px); overflow-y: auto; }
.mnav[hidden] { display: none; }
.mnav__inner { display: flex; flex-direction: column; gap: 32px; padding-block: 24px 48px; min-height: 100%; }
.mnav__main li { border-bottom: 1px solid var(--line-ink); }
.mnav__main a { display: block; padding: 18px 0; font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.mnav__cta { display: grid; gap: 12px; margin-top: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(100svh, 940px); display: flex; align-items: center; background: var(--ink); overflow: hidden; padding: calc(var(--header-h) + 56px) 0 72px; }
.hero__media { position: absolute; inset: 0 0 0 34%; z-index: -1; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 45%; transform: scale(1.06); animation: heroIn 2.2s var(--ease) forwards; }
.hero__media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, var(--ink) 0%, rgba(13, 13, 13, .78) 24%, rgba(13, 13, 13, .22) 70%, rgba(13, 13, 13, .38) 100%),
  linear-gradient(0deg, var(--ink) 0%, rgba(13, 13, 13, 0) 34%); }
@keyframes heroIn { to { transform: scale(1); } }
.hero__inner { position: relative; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: var(--r-pill); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-strong); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(186, 242, 74, .2); }
.hero h1 { font-size: clamp(2.7rem, 7.4vw, 6.2rem); font-weight: 700; line-height: 1.02; letter-spacing: -.04em; color: #fff; margin-top: 28px; max-width: 12.5em; }
.accent { color: var(--lime); }
.hero__lead { margin-top: 28px; max-width: 34em; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--on-ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__places { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 56px; font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.hero__places li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--lime); margin: 0 16px; vertical-align: middle; }

/* ---------- Trust ---------- */
.trust { background: var(--ink-3); border-block: 1px solid var(--line-ink); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--bone { background: var(--bone); color: var(--ink); }
.section--ink { background: var(--ink); color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--moss); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--ink); }
.eyebrow--lime { color: var(--lime); }
.eyebrow--lime::before { background: var(--lime); }
.section h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; max-width: 16em; }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 64px; flex-wrap: wrap; }
.section__lead { font-size: 1.05rem; max-width: 34em; margin-top: 20px; color: var(--moss); }
.section--ink .section__lead { color: var(--on-ink); }
.section__head--split .section__lead { margin-top: 0; max-width: 28em; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--lime); padding: 10px 0; border-bottom: 1px solid rgba(186, 242, 74, .4); transition: gap .25s var(--ease), border-color .2s; }
.link-arrow:hover { gap: 16px; border-color: var(--lime); }

/* ---------- Domestic ---------- */
.dom { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.dom__list { border-bottom: 1px solid var(--line-bone); }
.dom__row { position: relative; display: grid; grid-template-columns: 48px 1fr 52px; align-items: center; gap: 8px 20px; padding: 30px 0; border-top: 1px solid var(--line-bone); }
.dom__thumb { display: none; }
.dom__num { font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--moss); font-variant-numeric: tabular-nums; }
.dom__body { display: block; }
.dom__title { display: block; font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; transition: transform .35s var(--ease); }
.dom__desc { display: block; margin-top: 8px; color: var(--moss); font-size: .95rem; max-width: 34em; }
.dom__go { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-bone); display: grid; place-items: center; transition: background-color .25s, border-color .25s, transform .35s var(--ease); }
.dom__row:hover .dom__title { transform: translateX(10px); }
.dom__row:hover .dom__go, .dom__row.is-active .dom__go, .dom__row:focus-visible .dom__go { background: var(--lime); border-color: var(--lime); transform: rotate(45deg); }
.dom__visual { position: sticky; top: calc(var(--header-h) + 32px); aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--ink); box-shadow: 0 40px 80px -30px rgba(13, 13, 13, .45); }
.dom__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.dom__visual img.is-active { opacity: 1; transform: scale(1); }
.dom__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 13, 13, .55), transparent 40%); pointer-events: none; }
.dom__tag { position: absolute; left: 20px; bottom: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--r-pill); background: rgba(13, 13, 13, .6); backdrop-filter: blur(8px); color: #fff; font-size: .8rem; font-weight: 500; }
.dom__tag .icon { width: 16px; height: 16px; color: var(--lime); }

/* ---------- Commercial ---------- */
.commercial { background: var(--ink-2); background-image: radial-gradient(900px 400px at 85% -10%, rgba(186, 242, 74, .07), transparent 60%); border-top: 1px solid var(--line-ink); }
.ccards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ccard { position: relative; display: flex; flex-direction: column; height: 100%; padding: 32px; border: 1px solid var(--line-ink); border-radius: var(--r-card); background: rgba(255, 255, 255, .03); transition: transform .4s var(--ease), border-color .3s, background-color .3s; }
.ccard:hover { transform: translateY(-6px); border-color: rgba(186, 242, 74, .5); background: rgba(255, 255, 255, .055); }
.ccard__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.ccard__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--lime); border: 1px solid rgba(186, 242, 74, .35); transition: background-color .3s, color .3s; }
.ccard:hover .ccard__icon { background: var(--lime); color: var(--ink); }
.ccard__icon .icon { width: 24px; height: 24px; }
.ccard__num { font-size: .8rem; font-weight: 600; letter-spacing: .1em; color: rgba(255, 255, 255, .4); font-variant-numeric: tabular-nums; }
.ccard h3 { font-size: 1.28rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; color: #fff; }
.ccard p { margin-top: 12px; color: var(--on-ink); font-size: .94rem; line-height: 1.6; }
.ccard__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 28px; font-size: .88rem; font-weight: 600; color: var(--lime); }
.ccard__go .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.ccard:hover .ccard__go .icon { transform: translate(3px, -3px); }

.emergency { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-top: 28px; padding: 32px 36px; border-radius: var(--r-card); background: linear-gradient(100deg, rgba(186, 242, 74, .14), rgba(186, 242, 74, .04)); border: 1px solid rgba(186, 242, 74, .4); }
.emergency__text { display: flex; align-items: center; gap: 22px; max-width: 42em; }
.emergency__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; flex: none; }
.emergency__icon .icon { width: 26px; height: 26px; }
.emergency h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.emergency p { color: var(--on-ink); font-size: .95rem; margin-top: 4px; }
.emergency__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Process ---------- */


/* ---------- Logo mark (tree + double ring, rebuilt in CSS so it stays crisp on dark) ---------- */
.mark { position: relative; flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: end center; overflow: hidden; background: radial-gradient(circle at 50% 70%, rgba(123, 189, 63, .22), transparent 70%); box-shadow: 0 0 0 3px #4f9a40, inset 0 0 0 4px var(--ink), inset 0 0 0 5.5px rgba(84, 160, 63, .85); }
.mark img { width: 74%; height: auto; margin-bottom: 8%; display: block; }
.mark--lg { width: 76px; height: 76px; box-shadow: 0 0 0 4px #4f9a40, inset 0 0 0 5px var(--ink-3), inset 0 0 0 7px rgba(84, 160, 63, .85); }
.brand--footer { gap: 16px; }
.brand--footer .brand__text strong { font-size: 1.35rem; }

/* ---------- Display type, borrowed from the client's social posts ---------- */
.display { font-weight: 800; font-size: clamp(2.6rem, 6.2vw, 5.2rem); line-height: 1; letter-spacing: -.035em; }
.outline { color: transparent; -webkit-text-stroke: 2px currentColor; paint-order: stroke fill; }
.display .outline { -webkit-text-stroke-color: var(--ink); }
.badge { display: inline-grid; place-items: center; width: .62em; height: .62em; border-radius: 50%; background: var(--lime); color: var(--ink); vertical-align: .08em; margin-left: .18em; -webkit-text-stroke: 0; }
.badge .icon { width: 46%; height: 46%; stroke-width: 2.5; }
.btn--ink { background: var(--ink); color: #fff; font-weight: 600; }
.btn--ink:hover { background: #000; box-shadow: 0 10px 30px -10px rgba(13, 13, 13, .55); }
.btn--ink-outline { border-color: rgba(13, 13, 13, .35); color: var(--ink); }
.btn--ink-outline:hover { border-color: var(--ink); background: rgba(13, 13, 13, .06); }

/* ---------- Trust cards (white tick cards + lime stat, as on their socials) ---------- */
.trust { padding-block: clamp(28px, 4vw, 44px); }
.trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tcard { display: flex; align-items: center; gap: 16px; min-height: 84px; padding: 18px 22px; border-radius: 18px; background: #fff; color: var(--ink); font-weight: 600; font-size: 1rem; letter-spacing: -.01em; line-height: 1.25; }
.tcard__tick { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; }
.tcard__tick .icon { width: 18px; height: 18px; stroke-width: 3; }
.tcard--stat { background: var(--lime); gap: 12px; }
.tcard--stat strong { font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.tcard--stat span { font-size: .95rem; font-weight: 700; line-height: 1.15; max-width: 6em; }

/* ---------- Process: lime panel, black step cards ---------- */
.process { background: var(--lime); color: var(--ink); position: relative; overflow: hidden; }
.process::before { content: ""; position: absolute; right: -8%; top: -30%; width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; border-radius: 50%; border: 2px solid rgba(13, 13, 13, .12); box-shadow: 0 0 0 36px rgba(13, 13, 13, .04), 0 0 0 37px rgba(13, 13, 13, .1); pointer-events: none; }
.process .container { position: relative; }
.process__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 72px); }
.process .badge { background: var(--ink); color: var(--lime); }
.process__lead { font-size: 1.1rem; font-weight: 500; max-width: 20em; color: rgba(13, 13, 13, .78); }
.psteps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.pstep { position: relative; background: var(--ink); color: var(--on-ink); border-radius: 24px; padding: 28px 26px 32px; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.pstep:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -22px rgba(13, 13, 13, .6); }
.pstep__top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 64px; }
.pstep__n { font-size: 4.2rem; font-weight: 800; line-height: .85; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--lime); font-variant-numeric: tabular-nums; }
.pstep__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; flex: none; }
.pstep__icon .icon { width: 24px; height: 24px; }
.pstep h3 { font-size: 1.4rem; font-weight: 700; color: #fff; letter-spacing: -.025em; line-height: 1.2; }
.pstep p { margin-top: 10px; font-size: .95rem; line-height: 1.55; }
.pstep:not(:last-child)::after { content: ""; position: absolute; z-index: 2; right: -29px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D0D0D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / 15px no-repeat; border: 3px solid var(--ink); box-sizing: border-box; }

/* ---------- About ---------- */
.about__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: clamp(56px, 8vw, 104px); }
.about .display { padding-top: 6px; }
.about__text { border-left: 4px solid var(--lime); padding-left: clamp(20px, 3vw, 36px); background-image: linear-gradient(var(--ink), var(--ink)); background-size: 0 0; }
.about__text p { font-size: 1.05rem; line-height: 1.7; color: #2b332e; }
.about__text p + p { margin-top: 16px; }
.about__social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.about + .container, .about .areas__inner { padding-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line-bone); }

/* ---------- Footer: accreditations + company ---------- */
.footer__accred { padding-block: 36px; border-top: 1px solid var(--line-ink); }
.footer__accred h2 { font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.accred { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.accred li { min-height: 92px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.accred img { max-height: 64px; width: auto; }
.accred__ph { flex-direction: column; gap: 8px; border: 1.5px dashed rgba(255, 255, 255, .28); color: rgba(255, 255, 255, .5); font-size: .78rem; font-weight: 500; letter-spacing: .04em; }
.accred__ph .icon { width: 24px; height: 24px; }
.footer__company { padding-block: 22px; border-top: 1px solid var(--line-ink); font-size: .84rem; line-height: 1.7; }
.footer__company, .footer__legal p { text-wrap: pretty; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 20vw, 260px); gap: 16px; }
.g { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--ink-2); }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.g:hover img { transform: scale(1.06); }
.g::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 13, 13, .7), transparent 50%); pointer-events: none; }
.g span { position: absolute; left: 20px; bottom: 16px; z-index: 2; font-size: .85rem; font-weight: 600; color: #fff; letter-spacing: .01em; }
.g1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.g2 { grid-column: 3 / 5; grid-row: 1; }
.g3 { grid-column: 3; grid-row: 2; }
.g4 { grid-column: 4; grid-row: 2; }
.g5 { grid-column: 1; grid-row: 3; }
.g6 { grid-column: 2 / 5; grid-row: 3; }
.g6 img { object-position: 50% 40%; }

/* ---------- Areas ---------- */
.areas__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.areas__list { display: flex; flex-wrap: wrap; gap: 12px; }
.areas__list li { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: var(--r-pill); border: 1px solid var(--line-bone); background: var(--bone-2); font-size: 1.05rem; font-weight: 500; letter-spacing: -.01em; transition: background-color .25s, border-color .25s, transform .35s var(--ease); }
.areas__list li:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-3px); }
.areas__list .icon { width: 18px; height: 18px; color: var(--moss); transition: color .25s; }
.areas__list li:hover .icon { color: var(--lime); }

/* ---------- Quote ---------- */
.quote { background: var(--ink); background-image: radial-gradient(800px 420px at 0% 100%, rgba(186, 242, 74, .08), transparent 60%); border-top: 1px solid var(--line-ink); }
.quote__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.quote__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; margin-top: 40px; }
.quote__phone { display: inline-flex; align-items: center; gap: 16px; font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.quote__phone .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; border: 1px solid var(--line-ink); color: var(--lime); }
.quote__phone small { display: block; font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink); }
.quote__phone:hover { color: var(--lime); }

.qform { background: var(--bone); color: var(--ink); border-radius: 28px; padding: clamp(24px, 4vw, 44px); display: grid; gap: 20px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.qform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 8px; letter-spacing: .01em; }
.field .opt { font-weight: 400; color: var(--moss); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 18px; border-radius: 14px; border: 1px solid rgba(13, 13, 13, .22); background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230D0D0D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(13, 13, 13, .5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(13, 13, 13, .12); }
.field .is-invalid { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179, 38, 30, .15); }
.qform__error { color: #b3261e; font-size: .9rem; font-weight: 500; }
.qform__error[hidden] { display: none; }
.qform__note { text-align: center; font-size: .82rem; color: var(--moss); }

/* ---------- Footer ---------- */
.footer { background: var(--ink-3); color: var(--on-ink); border-top: 1px solid var(--line-ink); padding-top: clamp(56px, 8vw, 96px); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__brand .brand { margin-bottom: 20px; }
.footer__brand p { font-size: .92rem; max-width: 26em; }
.footer__social { display: flex; gap: 10px; margin-top: 24px; }
.footer__social a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-ink); display: grid; place-items: center; color: #fff; transition: background-color .2s, color .2s, border-color .2s; }
.footer__social a:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.footer__col h2 { font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--lime); margin-bottom: 20px; }
.footer__col li { font-size: .92rem; }
.footer__col li:not(:has(a)) { padding: 10px 0; }
.footer__col a { display: inline-block; padding: 10px 0; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__legal { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 24px; border-top: 1px solid var(--line-ink); font-size: .82rem; }
.footer__legal a { display: inline-block; padding: 12px 2px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .3); }
.footer__legal a:hover { color: #fff; }

/* ---------- Floating contact ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #06210f; display: grid; place-items: center; box-shadow: 0 12px 32px -6px rgba(37, 211, 102, .6), 0 0 0 1px rgba(0, 0, 0, .1); transition: transform .3s var(--ease); }
.wa-float .icon { width: 30px; height: 30px; stroke: none; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.mbar { display: none; }

.toast { position: fixed; left: 50%; bottom: 96px; z-index: 300; transform: translate(-50%, 16px); opacity: 0; max-width: calc(100% - 32px); padding: 14px 22px; border-radius: var(--r-pill); background: var(--lime); color: var(--ink); font-weight: 600; font-size: .92rem; box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .5); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast[hidden] { display: none; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .psteps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .pstep:nth-child(odd)::after { right: -27px; }
  .pstep:nth-child(even)::after { display: none; }
  .header__phone span { display: none; }
  .header__phone { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line-ink); border-radius: 50%; }
  .nav__link { padding-inline: 12px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav, .header__phone, .header__cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav + .header__cta, .header__cta { margin-left: auto; }
  .hero__media { inset: 0; }
  .hero__media::after { background: linear-gradient(0deg, var(--ink) 4%, rgba(13, 13, 13, .72) 50%, rgba(13, 13, 13, .55) 100%); }
  .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .dom { grid-template-columns: 1fr; }
  .dom__visual { display: none; }
  .dom__row { grid-template-columns: 84px 1fr 44px; padding: 22px 0; }
  .dom__thumb { display: block; width: 84px; height: 84px; border-radius: 16px; object-fit: cover; grid-row: 1 / 2; grid-column: 1; }
  .dom__num { display: none; }
  .dom__go { width: 44px; height: 44px; }
  .ccards { grid-template-columns: 1fr 1fr; }
    .areas__inner, .quote__inner, .about__inner { grid-template-columns: 1fr; }
  .accred { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .trust__grid { grid-template-columns: 1fr; gap: 10px; }
  .tcard { min-height: 72px; }
  .dom__row { grid-template-columns: 72px 1fr; gap: 8px 18px; }
  .dom__thumb { width: 72px; height: 72px; border-radius: 14px; }
  .dom__go { display: none; }
  .trust__grid { grid-template-columns: 1fr; }
    }
@media (max-width: 720px) {
  .psteps { grid-template-columns: 1fr; gap: 20px; }
  .pstep { border-radius: 20px; padding: 24px 22px 26px; }
  .pstep__top { padding-bottom: 28px; }
  .pstep__n { font-size: 3.4rem; }
  .pstep::after { display: none !important; }
  .process__head { align-items: flex-start; }
  .outline { -webkit-text-stroke-width: 1.5px; }
  :root { --header-h: 72px; }
  .mark { width: 48px; height: 48px; }
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 40px); padding-bottom: 56px; }
  .hero__places { margin-top: 40px; font-size: .7rem; }
  .hero__places li + li::before { margin: 0 10px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .section__head--split { align-items: flex-start; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 10px; }
  .g1 { grid-column: 1 / 3; grid-row: span 2; }
  .g2 { grid-column: 1 / 3; grid-row: span 1; }
  .g3, .g4, .g5 { grid-column: auto; grid-row: auto; }
  .g6 { grid-column: 1 / 3; grid-row: auto; }
  .g, .ccard, .emergency { border-radius: 16px; }
  .ccards { grid-template-columns: 1fr; }
  .ccard { padding: 26px; }
  .ccard__top { margin-bottom: 28px; }
  .emergency { padding: 26px; }
  .emergency__text { flex-direction: column; align-items: flex-start; gap: 16px; }
  .emergency__actions, .emergency__actions .btn { width: 100%; }
      .qform__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer__brand, .footer__col:last-child { grid-column: 1 / -1; }
  .footer { padding-bottom: 72px; }
  .wa-float { display: none; }
  .mbar { position: fixed; inset: auto 0 0 0; z-index: 80; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(13, 13, 13, .94); backdrop-filter: blur(14px); border-top: 1px solid var(--line-ink); }
  .mbar a { min-height: 48px; border-radius: var(--r-pill); display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: .95rem; }
  .mbar__call { background: rgba(255, 255, 255, .1); color: #fff; }
  .mbar__wa { background: var(--wa); color: #06210f; }
  .mbar .icon { width: 20px; height: 20px; }
  .mbar__wa .icon { stroke: none; }
  .toast { bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .pstep:hover { transform: none; }
  .hero__media img { transform: none; }
  .wa-float::before { display: none; }
}
