/* Melbourne Small Business Bookkeepers — main stylesheet */

:root {
  --navy: #1E1B4B;
  --navy-2: #2A2668;
  --navy-deep: #16143A;
  --ink: #16152B;
  --lime: #8CC63F;
  --lime-hover: #9FD655;
  --lime-light: #C6EB8F;
  --lime-text-dark: #B7E07F;
  --green: #3F7A12;
  --green-deep: #2F5D17;
  --mint: #F4F8EE;
  --mint-2: #EEF5E3;
  --mint-3: #F2F6EC;
  --muted: #5B5A6E;
  --line: #ECEEF2;
  --radius-lg: 32px;
  --radius: 24px;
  --section-y: clamp(64px, 9vw, 112px);
  --font-head: 'Inter Tight', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: #fff; line-height: 1.5; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--green); }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; }
.skip-link:focus { top: 16px; color: #fff; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.section { padding: var(--section-y) 0; }
.panel-outer { padding: 0 16px; }
.panel { border-radius: var(--radius-lg); padding: clamp(64px, 8vw, 104px) 0; }

/* Typography */
.h { font-family: var(--font-head); font-weight: 500; letter-spacing: -0.035em; }
.h1 { font-size: clamp(40px, 7vw, 76px); line-height: 0.98; letter-spacing: -0.025em; color: #fff; }
.h2 { font-size: clamp(34px, 5.5vw, 60px); line-height: 1; color: var(--navy); }
.h2--light { color: #fff; }
.accent { color: var(--green); }
.accent-lime { color: var(--lime); }
.accent-soft { color: var(--lime-light); }
.lead { font-size: 16px; line-height: 1.6; color: var(--muted); }
.lead--light { color: rgba(255,255,255,0.75); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--green); margin-bottom: 18px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--mint-2); }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--lime); border-radius: 999px; }
.eyebrow--dark { color: #D6F0B0; background: rgba(140,198,63,0.14); }
.eyebrow-line { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--lime-text-dark); }
.eyebrow-line::before { content: ""; width: 18px; height: 2px; background: var(--lime); border-radius: 2px; }

/* Buttons */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 8px 0 24px; border-radius: 999px; font: 600 15px/1 var(--font-body); text-decoration: none; border: 0; cursor: pointer; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, background .3s ease, color .3s ease; }
.btn::after { content: ""; position: absolute; top: 0; left: -130%; width: 60%; height: 100%; background: linear-gradient(110deg, transparent, rgba(255,255,255,0.55), transparent); transform: skewX(-20deg); transition: left .7s ease; z-index: -1; pointer-events: none; }
.btn:hover::after { left: 150%; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn--plain { padding: 0 22px; min-height: 48px; }
.btn .arr { width: 34px; height: 34px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; transition: transform .25s ease; }
.btn:hover .arr { transform: rotate(-45deg); }
.btn .nudge { display: inline-block; transition: transform .3s ease; }
.btn:hover .nudge { transform: translateX(5px); }
.btn--lime { background: var(--lime); color: var(--navy); }
.btn--lime:hover { background: var(--lime-hover); color: var(--navy); box-shadow: 0 16px 32px -14px rgba(140,198,63,0.85); }
.btn--lime .arr { background: var(--navy); color: var(--lime); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); color: #fff; box-shadow: 0 16px 32px -14px rgba(30,27,75,0.7); }
.btn--navy .arr { background: var(--lime); color: var(--navy); }
.btn--white { background: #fff; color: var(--navy); border: 1px solid #D9DDE6; }
.btn--white:hover { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 16px 32px -14px rgba(0,0,0,0.5); }

/* Hover helpers */
.lift { transition: transform .3s ease, box-shadow .3s ease; }
.lift:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(30,27,75,0.35); }
.zoom { overflow: hidden; }
.zoom img { transition: transform .6s ease; }
.zoom:hover img { transform: scale(1.06); }
.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Top bar */
.topbar { background: var(--navy); color: rgba(255,255,255,0.85); font-size: 13px; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar__contacts { display: flex; flex-wrap: wrap; gap: 20px; }
.topbar strong { color: var(--lime); font-weight: 600; }

/* Header */
.header { position: relative; z-index: 20; }
.header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { width: 42px; height: 42px; border-radius: 13px; background: var(--lime); display: flex; align-items: center; justify-content: center; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-family: var(--font-head); font-size: 18px; font-weight: 700; letter-spacing: -0.03em; color: var(--navy); }
.logo__sub { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; color: var(--green); text-transform: uppercase; }
.nav { display: flex; flex-wrap: wrap; gap: 2px; background: var(--mint-3); padding: 5px; border-radius: 999px; }
.nav a { color: var(--navy); text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 16px; border-radius: 999px; transition: background .2s; }
.nav a:hover, .nav a[aria-current="page"] { background: #fff; }
.nav .nav__cta { display: none; }
.burger { display: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid #E1E6DA; background: var(--mint-3); align-items: center; justify-content: center; cursor: pointer; }
.burger:hover { background: #E6EEDC; }
.burger .icon-close { display: none; }
.burger[aria-expanded="true"] .icon-open { display: none; }
.burger[aria-expanded="true"] .icon-close { display: block; }

/* Hero */
.hero-outer { padding: 16px 16px 0; }
.hero { position: relative; border-radius: 28px; overflow: hidden; background: var(--navy); min-height: clamp(560px, 75vh, 680px); display: flex; }
.hero__img { object-position: 75% 40%; }
.hero__slide { opacity: 0; animation: heroslide 21s linear infinite; will-change: opacity, scale; transform-origin: 70% 50%; }
.hero__slide--2 { animation-delay: 7s; object-position: 70% 35%; }
.hero__slide--3 { animation-delay: 14s; }
@keyframes heroslide { 0% { opacity: 0; scale: 1; } 8% { opacity: 1; } 33.3% { opacity: 1; } 43% { opacity: 0; scale: 1.14; } 100% { opacity: 0; scale: 1.14; } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,27,75,0.94) 0%, rgba(30,27,75,0.82) 45%, rgba(30,27,75,0.25) 100%); }
.hero__content { position: relative; width: 100%; display: flex; align-items: flex-end; padding-top: clamp(48px, 7vw, 72px); padding-bottom: clamp(40px, 6vw, 64px); }
.hero__text { max-width: 680px; display: flex; flex-direction: column; gap: 24px; }
.hero__lead { font-size: 19px; line-height: 1.55; color: rgba(255,255,255,0.82); max-width: 560px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.1); color: #fff; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }

/* Platforms */
.platforms { border-bottom: 1px solid var(--line); }
.platforms .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.platforms__label { font-size: 13px; color: var(--muted); }
.platforms li { font-family: var(--font-head); font-size: 22px; font-weight: 600; letter-spacing: -0.03em; color: #8A8C99; }
.platforms ul { display: flex; flex-wrap: wrap; gap: 24px 48px; }

/* Quick facts */
.facts { padding-top: clamp(24px, 3vw, 40px); }
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.fact { border-radius: 22px; padding: 26px 28px; display: flex; align-items: center; gap: 18px; background: var(--mint); text-decoration: none; color: var(--navy); }
.fact--lime { background: var(--lime); }
.fact__icon { width: 52px; height: 52px; border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.fact--lime .fact__icon { background: var(--navy); }
.fact__title { display: block; font-family: var(--font-head); font-size: 20px; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 4px; }
.fact__text { font-size: 14px; line-height: 1.45; color: var(--muted); }
.fact--lime .fact__text { color: var(--navy); }
.fact__go { font-size: 20px; margin-left: auto; }

/* About */
.about__statement { font-size: clamp(26px, 4.2vw, 52px); line-height: 1.12; color: #A3A4B2; max-width: 1100px; }
.about__statement strong { color: var(--navy); font-weight: 500; }
.about__stack { display: flex; flex-direction: column; gap: clamp(32px, 5vw, 64px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.benefits { background: var(--navy); color: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; gap: 28px; }
.benefits h3 { font-size: clamp(24px, 3vw, 30px); }
.benefits ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 24px; }
.benefits li { display: flex; gap: 16px; }
.num { font-family: var(--font-head); font-size: 15px; font-weight: 500; color: var(--navy); background: var(--lime); width: 34px; height: 34px; border-radius: 999px; display: flex; align-items: center; justify-content: center; flex: none; }
.benefits h4 { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.benefits p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.72); }
.photo-card { position: relative; border-radius: 28px; min-height: 480px; }
.photo-card__bar { position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgba(255,255,255,0.94); border-radius: 18px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; color: var(--navy); }
.photo-card__bar a { font-size: 14px; color: var(--green); text-decoration: none; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.stat { background: var(--mint); border-radius: 24px; padding: 28px; }
.stat--lime { background: var(--lime); }
.stat__num { font-family: var(--font-head); font-size: clamp(44px, 5.5vw, 64px); font-weight: 500; letter-spacing: -0.035em; color: var(--navy); line-height: 1.1; }
.stat__label { margin-top: 8px; font-size: 14px; color: var(--muted); }
.stat--lime .stat__label { color: var(--navy); font-weight: 500; }

/* Section heads */
.head-split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(32px, 5vw, 56px); }
.head-split > :first-child { flex: 1 1 520px; }
.head-split > .lead, .head-split > .head-side { flex: 0 1 380px; }
.head-side { display: flex; flex-direction: column; gap: 20px; }
.head-center { text-align: center; max-width: 800px; margin: 0 auto clamp(32px, 5vw, 56px); }

/* Services */
.services { background: var(--navy-deep); }
.grid--services { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.service { background: var(--navy); border: 1px solid rgba(255,255,255,0.08); border-radius: 26px; text-decoration: none; color: #fff; display: flex; flex-direction: column; }
.service:hover { color: #fff; }
.service__media { display: block; height: 210px; position: relative; overflow: hidden; }
.service__media img { width: 100%; height: 100%; object-fit: cover; }
.service__tag { position: absolute; top: 16px; left: 16px; font-size: 13px; font-weight: 600; color: var(--navy); background: var(--lime); padding: 6px 12px; border-radius: 999px; }
.service__body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.service h3 { font-size: 25px; }
.service p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.7); }
.service__arr { width: 42px; height: 42px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; flex: none; transition: all .3s ease; }
.service:hover .service__arr { background: var(--lime); color: var(--navy); transform: rotate(-45deg); }

/* Systems */
.systems-photo { position: relative; border-radius: 28px; min-height: 480px; }
.pills { position: absolute; top: 20px; left: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { background: #fff; color: var(--navy); font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.feature { border: 1px solid #E8ECE2; border-radius: 22px; padding: 26px; display: flex; gap: 18px; background: #fff; }
.feature__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--mint-2); display: flex; align-items: center; justify-content: center; flex: none; }
.feature h3 { font-size: 21px; color: var(--navy); margin-bottom: 6px; }
.feature p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.cta-row { background: var(--navy); border-radius: 22px; padding: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color: #fff; }
.cta-row > div { flex: 1 1 220px; }
.cta-row h3 { font-family: var(--font-body); font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.cta-row p { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.72); }

/* Process */
.process { background: var(--mint-3); }
.steps { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 32px; border-top: 2px dashed #B9D49A; }
.step { position: relative; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.step__num { width: 64px; height: 64px; border-radius: 999px; background: var(--navy); color: var(--lime); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 20px; font-weight: 600; }
.step__card { background: #fff; border-radius: 22px; padding: 26px; width: 100%; }
.step h3 { font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.step--final .step__num { background: var(--lime); color: var(--navy); }
.step--final .step__card { background: var(--navy); }
.step--final h3 { color: #fff; }
.step--final p { color: rgba(255,255,255,0.72); }

/* Industries */
.industries .head-center { padding: 0 32px; }
.marquee { overflow: hidden; }
.marquee + .marquee { margin-top: 14px; }
.marquee__group { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.marquee--animated .marquee__track { display: flex; width: max-content; visibility: hidden; }
.marquee--animated .marquee__group { flex: none; flex-wrap: nowrap; padding-inline-end: 14px; }
.marquee--moving .marquee__track {
  visibility: visible;
  animation: marquee-enter .85s cubic-bezier(.2,.7,.2,1) both,
    marquee-loop var(--marquee-duration) linear .85s infinite backwards;
  --marquee-entry: 100vw;
}
.marquee--rev.marquee--moving .marquee__track { --marquee-entry: -100%; animation-direction: normal, reverse; }
@keyframes marquee-enter { from { translate: var(--marquee-entry) 0; } to { translate: 0 0; } }
@keyframes marquee-loop { from { transform: translateX(0); } to { transform: translateX(calc(-1 * var(--marquee-step))); } }
.marquee li { padding: 18px 30px; border: 1px solid #DDE6D0; border-radius: 999px; font-size: 20px; font-weight: 500; color: var(--navy); background: #fff; white-space: nowrap; }
.marquee--rev li { border-color: transparent; background: var(--mint-2); }

/* Reviews (home slider) */
.stars { display: inline-flex; gap: 1px; }
.slider-nav { display: flex; align-items: center; gap: 10px; }
.link-arrow { font-size: 15px; font-weight: 600; color: var(--green); text-decoration: none; margin-right: 8px; }
.round-btn { width: 52px; height: 52px; border-radius: 999px; border: 1px solid #D9DDE6; background: #fff; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all .3s ease; }
.round-btn:hover { border-color: var(--navy); transform: translateY(-2px); }
.round-btn--dark { background: var(--navy); border-color: var(--navy); color: var(--lime); }
.round-btn--dark:hover { background: var(--lime); border-color: var(--lime); color: var(--navy); }
.reviews__layout { display: flex; flex-wrap: wrap; gap: 18px; align-items: stretch; }
.reviews-photo { position: relative; flex: 1 1 300px; border-radius: 28px; min-height: 420px; }
.reviews-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,20,58,0.15) 0%, rgba(22,20,58,0) 30%, rgba(22,20,58,0.92) 100%); }
.reviews-photo > p { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 28px; font-size: clamp(24px, 3vw, 30px); line-height: 1.15; color: #fff; }
.rating-badge { position: absolute; z-index: 1; top: 20px; left: 20px; background: #fff; border-radius: 16px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.rating-badge__num { font-family: var(--font-head); font-size: 30px; font-weight: 600; color: var(--navy); }
.rating-badge small { display: block; font-size: 12px; color: var(--muted); }
.reviews-track { flex: 999 1 480px; min-width: 0; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 14px 6px 24px; scroll-padding-inline: 6px; scrollbar-width: none; }
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track > li { flex: 0 0 min(340px, 84vw); scroll-snap-align: start; display: flex; }
.review-card { position: relative; width: 100%; min-height: 420px; background: #F6F9F1; border: 1px solid transparent; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 16px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease; }
.review-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(30,27,75,0.35); border-color: #CFE3B4; background: #F2F8EA; }
.review-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.review-card__date { font-size: 12px; color: var(--muted); }
.review-card__text { margin: 0; }
.review-card__text p { display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.6; color: #3A3950; }
.review-card__more { align-self: flex-start; background: none; border: 0; padding: 0; font: 600 14px var(--font-body); color: var(--green); cursor: pointer; }
.review-card__more::after { content: ""; position: absolute; inset: 0; border-radius: 28px; }
.review-card__more span { display: inline-block; transition: transform .3s; }
.review-card:hover .review-card__more span { transform: translateX(5px); }
.review-card__author { display: flex; align-items: center; gap: 12px; border-top: 1px solid #E3EAD8; padding-top: 16px; margin-top: auto; }
.review-card__author > span:last-child { min-width: 0; }
.avatar { width: 44px; height: 44px; border-radius: 999px; background: var(--navy); color: var(--lime); display: flex; align-items: center; justify-content: center; font-weight: 600; flex: none; }
.review-card cite, .review-full cite { display: block; font-style: normal; font-weight: 600; color: var(--navy); }
.review-card small, .review-full small { font-size: 13px; color: var(--muted); }

/* Review dialog */
.review-dialog { width: min(680px, calc(100% - 40px)); max-height: 86vh; padding: 0; border: 0; border-radius: 28px; background: #fff; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.5); }
.review-dialog[open] { animation: mpop .45s cubic-bezier(.2,.8,.2,1) both; }
.review-dialog::backdrop { background: rgba(22,20,58,0.72); backdrop-filter: blur(6px); animation: mfade .3s ease both; }
.review-dialog__box { position: relative; padding: clamp(28px, 5vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.review-dialog__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--mint-3); color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .3s; }
.review-dialog__close:hover { background: var(--navy); color: var(--lime); transform: rotate(90deg); }
.review-dialog__text { font-size: 17px; line-height: 1.7; color: #2B2A40; }
.review-dialog__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #E8ECE2; padding-top: 22px; }
.review-dialog__author { display: flex; align-items: center; gap: 12px; }
.review-dialog__author strong { display: block; color: var(--navy); }
.review-dialog__author small { font-size: 13px; color: var(--muted); }
.review-dialog__pos { font-size: 13px; color: var(--muted); min-width: 48px; text-align: center; }
@keyframes mfade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mpop { from { opacity: 0; translate: 0 24px; scale: .96; } to { opacity: 1; translate: 0 0; scale: 1; } }
body.has-dialog { overflow: hidden; }

/* Reviews page */
.page-hero { background: var(--mint-3); border-radius: var(--radius-lg); padding: clamp(48px, 7vw, 88px) 0; }
.page-hero__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: clamp(32px, 5vw, 64px); }
.page-hero__text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.page-hero__text .eyebrow { margin-bottom: 0; }
.page-hero__title { font-size: clamp(40px, 6.5vw, 76px); line-height: 0.98; color: var(--navy); }
.page-hero__lead { font-size: 18px; max-width: 600px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); }
.crumbs [aria-current] { color: var(--navy); font-weight: 500; }
.rating-card { flex: 0 1 380px; background: var(--navy); color: #fff; border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.rating-card__head { display: flex; align-items: center; gap: 18px; }
.rating-card__num { font-size: 72px; font-weight: 600; line-height: 1; }
.rating-card small { display: block; margin-top: 6px; font-size: 14px; color: rgba(255,255,255,0.75); }
.rating-card__bar { width: 100%; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.12); overflow: hidden; }
.rating-card__bar span { display: block; width: 100%; height: 100%; background: var(--lime); border-radius: 999px; }
.rating-card__note { font-size: 13px; color: rgba(255,255,255,0.7); }
.head-split--tight { align-items: flex-end; margin-bottom: clamp(28px, 4vw, 44px); }
.all-title { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; color: var(--navy); }
.review-masonry { columns: 3 320px; column-gap: 20px; }
.review-full { break-inside: avoid; margin: 0 0 20px; background: #F6F9F1; border: 1px solid transparent; border-radius: 26px; padding: 28px; display: flex; flex-direction: column; gap: 16px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.review-full:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(30,27,75,0.3); border-color: #CFE3B4; }
.review-full__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.review-full blockquote { margin: 0; }
.review-full blockquote p { font-size: 15px; line-height: 1.7; color: #3A3950; }
.review-full .review-card__author { margin-top: 0; }
.cta-band { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band > div:first-child { flex: 1 1 520px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cta-band .eyebrow { margin-bottom: 0; }

/* Client story */
.story { background: var(--green-deep); color: #fff; }
.story .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 5vw, 64px); }
.story__text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.story__text .eyebrow { margin-bottom: 0; }
.story__text p { font-size: 17px; line-height: 1.65; color: rgba(255,255,255,0.82); }
.story__media { flex: 1.2 1 440px; aspect-ratio: 16 / 10; border-radius: 26px; position: relative; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 88px; height: 88px; border-radius: 999px; background: var(--lime); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 14px rgba(140,198,63,0.3); transition: box-shadow .3s ease; }
.play:hover { box-shadow: 0 0 0 22px rgba(140,198,63,0.35); }

/* FAQ */
.faq .wrap { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); }
.faq__intro { flex: 1 1 340px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.faq__intro .eyebrow { margin-bottom: 0; }
.faq__list { flex: 1.4 1 520px; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #F7F8F5; border-radius: 20px; padding: 0 26px; transition: background .3s; }
.faq details[open] { background: var(--mint-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; color: var(--navy); transition: color .25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--green); }
.faq summary::after { content: "+"; width: 34px; height: 34px; border-radius: 999px; background: var(--navy); color: var(--lime); font-size: 18px; display: flex; align-items: center; justify-content: center; flex: none; transition: transform .3s; }
.faq summary:hover::after { transform: rotate(90deg); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; font-size: 15px; line-height: 1.65; color: #4A4960; animation: fadein .45s ease both; }
@keyframes fadein { from { opacity: 0; translate: 0 -6px; } to { opacity: 1; translate: 0 0; } }

/* Contact */
.contact { background: var(--navy); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 999px; border: 70px solid rgba(140,198,63,0.12); }
.contact .wrap { position: relative; display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); align-items: center; }
.contact__text { flex: 1 1 400px; display: flex; flex-direction: column; gap: 22px; color: #fff; align-items: flex-start; }
.contact__text .eyebrow { margin-bottom: 0; }
.contact__text .lead a { color: var(--lime-light); text-underline-offset: .18em; }
.contact__text .lead a:hover { color: #fff; }
.contact__title { font-size: clamp(36px, 6vw, 68px); line-height: 0.98; color: #fff; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 12px; width: 100%; font-style: normal; }
.contact-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: 18px; padding: 18px; text-decoration: none; color: #fff; overflow-wrap: anywhere; }
a.contact-card:hover { color: #fff; background: rgba(255,255,255,0.12); }
.contact-card span { display: block; font-size: 12px; color: var(--lime); font-weight: 600; margin-bottom: 6px; letter-spacing: .06em; }
.form { flex: 1 1 420px; background: #fff; border-radius: 28px; padding: clamp(22px, 4vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.form h3 { font-size: 26px; color: var(--navy); }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--navy); }
.field input, .field textarea { font: 400 15px/1.4 var(--font-body); padding: 14px 16px; border: 1px solid #DFE3EA; border-radius: 14px; background: #F8FAF5; color: var(--ink); width: 100%; }
.field textarea { resize: vertical; }
.form .btn { justify-content: space-between; }

/* Footer */
.footer { padding: 16px 16px 0; }
.footer__box { background: var(--navy-deep); border-radius: var(--radius-lg); padding: clamp(48px, 6vw, 72px) 0 32px; color: #fff; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 48px; margin-bottom: 48px; }
.footer__brand { flex: 1.4 1 260px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer__brand .logo__name { color: #fff; font-size: 22px; }
.footer__brand .logo__sub { color: var(--lime); }
.footer__brand p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.7); }
.footer__col { flex: 1 1 160px; display: flex; flex-direction: column; gap: 10px; }
.footer__col--wide { flex-basis: 200px; }
.footer__title { font-weight: 600; margin-bottom: 6px; }
.footer a { color: rgba(255,255,255,0.72); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer a:hover { color: var(--lime-text-dark); }
.footer address { font-style: normal; font-size: 14px; color: rgba(255,255,255,0.72); display: flex; flex-direction: column; gap: 10px; }
.footer .btn, .footer .btn:hover, .footer .btn:focus-visible { color: var(--navy); }
.social { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; font-size: 13px; color: rgba(255,255,255,0.6); }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__bottom a { font-size: 13px; }

/* Scroll reveal (pure CSS, progressive enhancement) */
@supports (animation-timeline: view()) {
  .rv { animation: rv linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  .rv:nth-child(2) { animation-range: entry 4% entry 46%; }
  .rv:nth-child(3) { animation-range: entry 8% entry 52%; }
  .rv:nth-child(4) { animation-range: entry 12% entry 58%; }
  .rv-img { animation: rvimg linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
}
@keyframes rv { from { opacity: 0; translate: 0 48px; } to { opacity: 1; translate: 0 0; } }
@keyframes rvimg { from { clip-path: inset(12% 8% 12% 8% round 28px); opacity: .4; } to { clip-path: inset(0 0 0 0 round 28px); opacity: 1; } }

/* Responsive */
@media (max-width: 1080px) {
  .burger { display: inline-flex; }
  .header__cta { display: none; }
  .nav { display: none; order: 3; width: 100%; flex-direction: column; gap: 4px; border-radius: 22px; padding: 10px; animation: fadein .3s ease both; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 16px; font-size: 16px; border-radius: 14px; }
  .nav .nav__cta { display: inline-flex; justify-content: space-between; margin-top: 6px; padding: 0 8px 0 18px; color: #fff; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .steps::before { display: none; }
  .btn { min-height: 48px; }
  .hero__lead { font-size: 17px; }
  .photo-card, .systems-photo { min-height: 340px; }
  .reviews-photo { min-height: 360px; grid-row: auto; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero-outer, .panel-outer, .footer { padding-left: 8px; padding-right: 8px; }
  .platforms ul { gap: 16px 28px; }
  .platforms li { font-size: 18px; }
  .marquee li { font-size: 16px; padding: 14px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__slide { opacity: 0; }
}
