/* ==========================================================================
   Grotti Bookkeeping theme
   Brand colors can be changed in Customize > Website Content: Site-wide > Brand.
   ========================================================================== */

:root {
	--g-navy: #0A1330;
	--g-navy-2: #132057;
	--g-navy-3: #070E24;
	--g-ink: #0E1A3A;
	--g-body: #3A4766;
	--g-muted: #56627D;
	--g-blue: #1F5FD6;
	--g-blue-dark: #1648A8;
	--g-bright: #3F8CFF;
	--g-sky: #A8EEFF;
	--g-aqua: #7FE3F0;
	--g-ground: #F3F6FB;
	--g-line: #DCE3EE;
	--g-ondark: #C4CFE6;
	--g-tint: #EAF1FF;
	--g-display: "Fraunces", Georgia, "Times New Roman", serif;
	--g-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--g-radius: 22px;
	--g-radius-lg: 28px;
	--g-pad-section: 110px;
	--g-shadow: 0 24px 60px rgba(10, 19, 48, 0.08);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.grotti { margin: 0; background: #fff; color: var(--g-ink); font-family: var(--g-sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--g-blue); text-decoration: none; transition: color .15s; }
a:hover { color: var(--g-blue-dark); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--g-bright); outline-offset: 2px; }
.g-main { display: block; }
[id] { scroll-margin-top: 110px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.g-skip { position: absolute; left: 16px; top: -60px; z-index: 1000; background: #fff; color: var(--g-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.g-skip:focus { top: 12px; }

.g-container { width: 100%; max-width: 1248px; margin: 0 auto; padding: 0 24px; }
.g-container--narrow { max-width: 820px; }
.g-icon { flex-shrink: 0; }

/* ---------- Type ---------- */
.g-eyebrow { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--g-blue); }
.g-section--navy .g-eyebrow, .g-hero .g-eyebrow, .g-pagehero .g-eyebrow, .g-consult .g-eyebrow { color: var(--g-aqua); }
.g-h2 { margin: 0; font-family: var(--g-display); font-weight: 600; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.1; letter-spacing: -.01em; color: var(--g-ink); }
.g-h2--light { color: #fff; }
.g-h2--xl { font-size: clamp(36px, 3.8vw, 50px); }
.g-h2--sm { font-size: clamp(30px, 3vw, 40px); }
.g-h2--wide { max-width: 720px; }
.g-h3 { margin: 0; font-family: var(--g-display); font-weight: 600; font-size: 28px; line-height: 1.2; color: var(--g-ink); }
.g-h3 a { color: inherit; }
.g-p { margin: 0; color: var(--g-body); font-size: 17px; line-height: 1.65; }
.g-p--light { color: var(--g-ondark); font-size: 18px; }
.g-p--center { text-align: center; max-width: 620px; margin-left: auto; margin-right: auto; }
.g-lead { margin: 0; max-width: 400px; color: var(--g-body); font-size: 17px; line-height: 1.65; }
.g-textlink { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; }
.g-meta { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--g-muted); }

/* ---------- Buttons ---------- */
.g-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent; font-size: 16px; font-weight: 700; line-height: 1.2; text-align: center; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.g-btn--primary { background: var(--g-blue); color: #fff; }
.g-btn--primary:hover { background: var(--g-blue-dark); color: #fff; }
.g-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.g-btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.g-btn--outline { background: #fff; color: var(--g-blue); border-color: var(--g-blue); }
.g-btn--outline:hover { background: var(--g-blue); color: #fff; }
.g-btn--sm { min-height: 46px; padding: 0 22px; font-size: 15px; }
.g-btn--block { width: 100%; }
.g-btn:active { transform: translateY(1px); }

/* ---------- Header ---------- */
.g-header { position: sticky; top: 0; z-index: 100; background: var(--g-navy); border-bottom: 1px solid rgba(255, 255, 255, .08); transition: box-shadow .2s; }
.admin-bar .g-header { top: 32px; }
.g-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.g-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 92px; }
.g-logo img { height: 58px; width: auto; }
.g-nav { display: flex; align-items: center; }
.g-menu { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.g-menu a { display: block; padding: 8px 0; color: var(--g-ondark); font-size: 15px; font-weight: 600; border-bottom: 2px solid transparent; }
.g-menu a:hover { color: #fff; }
.g-menu .current-menu-item > a, .g-menu .current_page_item > a, .g-menu a[aria-current="page"] { color: #fff; font-weight: 700; border-bottom-color: var(--g-bright); }
.g-header__actions { display: flex; align-items: center; gap: 22px; }
.g-header__phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 15px; font-weight: 700; white-space: nowrap; }
.g-header__phone .g-icon, .g-nav__phone .g-icon { color: var(--g-aqua); }
.g-header__phone:hover { color: var(--g-sky); }
.g-navtoggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .25); border-radius: 12px; background: transparent; color: #fff; cursor: pointer; }
.g-navtoggle__close { display: none; }
.g-nav__mobile-cta { display: none; }

/* ---------- Sections ---------- */
.g-section { position: relative; padding: var(--g-pad-section) 0; background: #fff; }
.g-section--ground { background: var(--g-ground); }
.g-section--navy { background: var(--g-navy); }
.g-section--bordered { border-bottom: 1px solid var(--g-line); }
.g-section--bordered-top { border-top: 1px solid var(--g-line); }
.g-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 44px; }
.g-head--split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; }
.g-head--split > div { display: flex; flex-direction: column; gap: 16px; }
.g-head--center { align-items: center; text-align: center; }
.g-stack { display: flex; flex-direction: column; gap: 22px; align-items: stretch; }
.g-stack--tight { gap: 16px; }
.g-stack > div:empty { display: none; }

.g-grid { display: grid; gap: 24px; list-style: none; margin: 0; padding: 0; }
.g-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.g-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-grid--top { align-items: start; }

.g-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.g-split__img { width: 100%; aspect-ratio: 580 / 480; object-fit: cover; border-radius: var(--g-radius-lg); }

/* ---------- Hero ---------- */
.g-hero { position: relative; overflow: hidden; padding: 84px 0 96px; background: radial-gradient(1100px 600px at 85% 30%, #16296B 0%, var(--g-navy) 60%); background-color: var(--g-navy); }
.g-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 40px; align-items: center; }
.g-hero__copy { display: flex; flex-direction: column; gap: 26px; max-width: 640px; }
.g-hero__title { text-wrap: balance; }
.g-hero__title { margin: 0; font-family: var(--g-display); font-weight: 600; font-size: clamp(44px, 4.7vw, 66px); line-height: 1.04; letter-spacing: -.02em; color: #fff; }
.g-hero__title span { display: block; color: var(--g-sky); }
.g-hero__text { margin: 0; max-width: 560px; color: var(--g-ondark); font-size: 18px; line-height: 1.65; }
.g-hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.g-hero__btns--center { justify-content: center; }
.g-hero__values { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 4px 0 0; padding: 0; }
.g-hero__values li { display: inline-flex; align-items: center; gap: 8px; color: var(--g-aqua); font-size: 15px; font-weight: 700; }
.g-hero__values li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--g-aqua); }
.g-hero__media { position: relative; width: 100%; aspect-ratio: 580 / 600; }
.g-hero__plate { position: absolute; right: 0; top: 0; width: 86.2%; height: 76.7%; object-fit: cover; border-radius: var(--g-radius-lg); }
.g-hero__portrait { position: absolute; left: 3.4%; top: 18.3%; width: 56.9%; height: 73.3%; object-fit: cover; object-position: center top; border-radius: 24px; border: 6px solid #fff; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.g-hero__pill { position: absolute; left: 43%; top: 9.7%; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; background: var(--g-navy-2); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; }
.g-hero__pill .g-icon { color: var(--g-aqua); }
.g-hero__card { position: absolute; right: 0; bottom: 3.3%; width: 250px; max-width: 46%; display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: #fff; border-radius: 18px; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); }
.g-hero__card img { width: 58px; height: 58px; flex-shrink: 0; }
.g-hero__card div { display: flex; flex-direction: column; gap: 2px; }
.g-hero__card small { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--g-blue); }
.g-hero__card span { font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--g-ink); }

/* ---------- Trust bar ---------- */
.g-trust { background: #fff; border-bottom: 1px solid var(--g-line); padding: 44px 0; }
.g-trust__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.g-trust__item { display: flex; align-items: center; gap: 14px; }
.g-trust__item + .g-trust__item { padding-left: 20px; border-left: 1px solid var(--g-line); }
.g-trust__item img { width: 76px; height: 76px; flex-shrink: 0; }
.g-trust__item div { display: flex; flex-direction: column; line-height: 1.4; }
.g-trust__item small { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--g-muted); }
.g-trust__item span { font-size: 16px; font-weight: 800; color: var(--g-ink); }
.g-trust__icon { width: 60px; height: 60px; flex-shrink: 0; border-radius: 16px; background: var(--g-tint); color: var(--g-blue); display: flex !important; align-items: center; justify-content: center; }

/* ---------- Cards ---------- */
.g-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--g-line); border-radius: var(--g-radius); overflow: hidden; color: var(--g-ink); }
.g-card--hover { transition: transform .2s, box-shadow .2s; }
.g-card--hover:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10, 19, 48, .12); color: var(--g-ink); }
.g-card__img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.g-card__img--serve { aspect-ratio: 400 / 230; }
.g-card__body { display: flex; flex-direction: column; gap: 10px; padding: 26px 28px 30px; flex-grow: 1; }
.g-card__title { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.3; color: var(--g-ink); }
.g-card__text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--g-body); }
.g-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 800; color: var(--g-blue); }
.g-grid--4 .g-card__body { padding: 24px 24px 28px; }
.g-grid--4 .g-card__title { font-size: 19px; }
.g-grid--4 .g-card__text { font-size: 15px; }

/* Checklist */
.g-checks { display: flex; flex-direction: column; gap: 14px; list-style: none; margin: 0; padding: 0; }
.g-check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.55; color: var(--g-ink); }
.g-check__icon { width: 26px; height: 26px; flex-shrink: 0; margin-top: 1px; border-radius: 50%; background: var(--g-tint); color: var(--g-blue); display: flex; align-items: center; justify-content: center; }
.g-check__icon .g-icon { stroke-width: 2.4; }
.g-checks--dark .g-check { color: #fff; font-size: 17px; }
.g-checks--dark .g-check__icon { background: rgba(127, 227, 240, .14); color: var(--g-aqua); }

/* ---------- Meet ---------- */
.g-meet__media { position: relative; width: 100%; max-width: 540px; aspect-ratio: 540 / 560; }
.g-meet__img { position: absolute; left: 0; top: 0; width: 85%; height: 96.4%; object-fit: cover; border-radius: var(--g-radius-lg); }
.g-meet__avatar { position: absolute; right: 0; bottom: 0; width: 42.6%; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 50%; border: 8px solid #fff; box-shadow: 0 24px 50px rgba(10, 19, 48, .2); }

/* ---------- Steps ---------- */
.g-step { display: flex; gap: 22px; align-items: flex-start; padding: 30px 32px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--g-radius); }
.g-step__num { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; background: var(--g-bright); color: #fff; font-family: var(--g-display); font-size: 24px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.g-step__title { margin: 0 0 8px; font-size: 21px; font-weight: 800; color: #fff; }
.g-step__text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--g-ondark); }

/* Mini steps */
.g-minis { display: flex; flex-direction: column; gap: 18px; list-style: none; margin: 4px 0 0; padding: 0; }
.g-mini { display: flex; gap: 16px; align-items: flex-start; }
.g-mini__icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: #fff; border: 1px solid var(--g-line); color: var(--g-blue); display: flex; align-items: center; justify-content: center; }
.g-mini div { display: flex; flex-direction: column; gap: 4px; }
.g-mini strong { font-size: 17px; font-weight: 800; color: var(--g-ink); }
.g-mini span { font-size: 15px; line-height: 1.55; color: var(--g-body); }

/* ---------- Recommendations ---------- */
.g-recs-section__aside { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; max-width: 400px; }
.g-recs { display: grid; gap: 24px; }
.g-recs--compact, .g-recs--n2, .g-recs--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-recs--n1 { grid-template-columns: minmax(0, 820px); justify-content: center; }
.g-recs--full.g-recs--n3, .g-recs--full.g-recs--n6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-recs--full.g-recs--n5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.g-recs--full.g-recs--n5 .g-rec { grid-column: span 2; }
.g-recs--full.g-recs--n5 .g-rec:nth-child(n+4) { grid-column: span 3; }
.g-rec { margin: 0; display: flex; flex-direction: column; gap: 20px; padding: 32px; background: #fff; border: 1px solid var(--g-line); border-radius: 20px; box-shadow: 0 10px 30px rgba(10, 19, 48, .05); }
.g-section--ground .g-rec { box-shadow: none; }
.g-rec__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.g-rec__quote { color: var(--g-sky); flex-shrink: 0; }
.g-rec__text { margin: 0; }
.g-rec__text p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--g-body); }
.g-rec__by { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--g-line); }
.g-rec__avatar { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; background: var(--g-navy); color: var(--g-sky); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; letter-spacing: .04em; }
.g-rec__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex-grow: 1; }
.g-rec__name { font-style: normal; font-size: 16px; font-weight: 800; color: var(--g-ink); }
.g-rec__biz { font-size: 14px; color: var(--g-muted); }
.g-rec__src { flex-shrink: 0; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--g-blue); background: var(--g-tint); padding: 6px 10px; border-radius: 999px; }
.g-editor-note { margin-top: 24px; padding: 22px 24px; border: 2px dashed #A9B8D3; border-radius: 16px; background: var(--g-ground); color: var(--g-muted); font-size: 16px; }
.g-editor-note a { font-weight: 800; margin-left: 4px; }

/* ---------- Consultation band ---------- */
.g-consult { position: relative; overflow: hidden; padding: 100px 0; background: var(--g-navy); }
.g-consult__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.g-consult__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.g-consult__copy { max-width: 560px; }
.g-owner { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.g-owner img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--g-bright); }
.g-owner span { color: #fff; font-size: 16px; font-weight: 700; }
.g-bookbox { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; flex-shrink: 0; width: 400px; max-width: 100%; padding: 40px; background: rgba(10, 19, 48, .72); border: 1px solid rgba(255, 255, 255, .14); border-radius: 26px; }
.g-bookbox__icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(127, 227, 240, .14); color: var(--g-aqua); display: flex; align-items: center; justify-content: center; }
.g-bookbox__text { margin: 0; color: #fff; font-size: 18px; line-height: 1.6; }
.g-bookbox__alt { align-self: center; color: var(--g-ondark); font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.g-bookbox__alt:hover { color: #fff; }

/* ---------- FAQ ---------- */
.g-faqwrap { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 680px); justify-content: space-between; gap: 48px; align-items: start; }
.g-askcard { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding: 18px; background: #fff; border: 1px solid var(--g-line); border-radius: 18px; }
.g-askcard img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.g-askcard div { display: flex; flex-direction: column; gap: 4px; }
.g-askcard strong { font-size: 16px; color: var(--g-ink); }
.g-askcard a { font-size: 15px; font-weight: 700; }
.g-faq { display: flex; flex-direction: column; gap: 12px; }
.g-faq__item { background: #fff; border: 1px solid var(--g-line); border-radius: 16px; overflow: hidden; }
.g-faq__h { margin: 0; }
.g-faq__q { width: 100%; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; background: transparent; border: 0; cursor: pointer; text-align: left; font-family: var(--g-sans); font-size: 17px; font-weight: 700; line-height: 1.4; color: var(--g-ink); }
.g-faq__chip { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--g-tint); color: var(--g-blue); display: flex; align-items: center; justify-content: center; transition: transform .2s, background .2s, color .2s; }
.g-faq__item.is-open .g-faq__chip { transform: rotate(180deg); background: var(--g-blue); color: #fff; }
.g-faq__a { padding: 0 24px 22px; }
.g-faq__a p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--g-body); }

/* ---------- Contact ---------- */
.g-contactwrap { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 660px); justify-content: space-between; gap: 48px; align-items: start; }
.g-contactlist, .g-details { display: flex; flex-direction: column; gap: 16px; list-style: none; margin: 8px 0 0; padding: 0; }
.g-contactlist a, .g-contactlist__row { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 700; color: var(--g-ink); overflow-wrap: anywhere; }
.g-contactlist a:hover { color: var(--g-blue); }
.g-iconbox { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; background: var(--g-tint); color: var(--g-blue); display: flex; align-items: center; justify-content: center; }
.g-iconbox--lg { width: 52px; height: 52px; }
.g-details { gap: 20px; }
.g-details li { display: flex; gap: 16px; align-items: center; }
.g-details div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.g-details small { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--g-muted); }
.g-details a, .g-details span { font-size: 17px; font-weight: 700; color: var(--g-ink); overflow-wrap: anywhere; }
.g-details a:hover { color: var(--g-blue); }
.g-personcard { display: flex; gap: 16px; align-items: center; margin-top: 8px; padding: 22px; background: var(--g-ground); border-radius: 20px; }
.g-personcard img { width: 72px; height: 72px; flex-shrink: 0; border-radius: 50%; object-fit: cover; border: 3px solid var(--g-bright); }
.g-personcard div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.g-personcard strong { font-size: 16px; font-weight: 800; color: var(--g-ink); }
.g-personcard a { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.g-personcard--dark { background: var(--g-navy); }
.g-personcard--dark strong { color: #fff; font-size: 17px; }
.g-personcard--dark span { color: var(--g-ondark); font-size: 15px; }

/* Forms */
.g-form { display: flex; flex-direction: column; gap: 18px; padding: 40px; background: #fff; border: 1px solid var(--g-line); border-radius: 26px; box-shadow: var(--g-shadow); }
.g-form__title { margin: 0 0 4px; font-family: var(--g-display); font-size: 28px; font-weight: 600; color: var(--g-ink); }
.g-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.g-form__group { margin: 6px 0 0; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--g-muted); }
.g-form__group:first-of-type { margin-top: 0; }
.g-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.g-field label { font-size: 14px; font-weight: 700; color: var(--g-ink); }
.g-req { color: var(--g-blue); }
.g-field input, .g-field select, .g-field textarea { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid #C9D3E3; border-radius: 12px; background: #fff; color: var(--g-ink); font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.g-field textarea { min-height: 120px; padding: 14px 16px; resize: vertical; }
.g-field select { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2356627D' 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 14px center; }
.g-field input::placeholder, .g-field textarea::placeholder { color: #8390AA; }
.g-field input:focus, .g-field select:focus, .g-field textarea:focus { outline: none; border-color: var(--g-bright); box-shadow: 0 0 0 3px rgba(63, 140, 255, .25); }
.g-form__privacy { margin: 0; font-size: 13px; color: var(--g-muted); text-align: center; }
.g-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.g-notice { display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-radius: 14px; font-size: 15px; font-weight: 700; }
.g-notice--ok { background: #E6F7EE; color: #11663B; }
.g-notice--err { background: #FDECEC; color: #9B1C1C; }
.g-form button[disabled] { opacity: .7; cursor: wait; }

/* ---------- Inner page hero ---------- */
.g-pagehero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 440px; padding: 80px 0; background: var(--g-navy); }
.g-pagehero--compact { min-height: 300px; }
.g-pagehero__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.g-pagehero__shade { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(10, 19, 48, .95) 0%, rgba(10, 19, 48, .78) 55%, rgba(10, 19, 48, .35) 100%); }
.g-pagehero__inner { position: relative; display: flex; flex-direction: column; gap: 20px; }
.g-pagehero__title { margin: 0; max-width: 760px; font-family: var(--g-display); font-weight: 600; font-size: clamp(40px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -.015em; color: #fff; }
.g-pagehero__text { margin: 0; max-width: 640px; color: var(--g-ondark); font-size: 19px; line-height: 1.6; }

/* ---------- About ---------- */
.g-story { grid-template-columns: minmax(0, 500px) minmax(0, 600px); justify-content: space-between; }
.g-story__media { position: relative; width: 100%; max-width: 500px; padding: 0 40px 40px 0; }
.g-story__img { width: 100%; aspect-ratio: 460 / 600; object-fit: cover; object-position: center top; border-radius: var(--g-radius-lg); }
.g-story__tag { position: absolute; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; background: var(--g-navy); border-radius: 18px; }
.g-story__tag strong { font-family: var(--g-display); font-size: 22px; font-weight: 600; color: #fff; }
.g-story__tag span { font-size: 14px; font-weight: 700; color: var(--g-aqua); }
.g-prose { color: var(--g-body); font-size: 17px; line-height: 1.7; }
.g-prose > * { margin: 0 0 1.1em; }
.g-prose > *:last-child { margin-bottom: 0; }
.g-prose h2, .g-prose h3, .g-prose h4 { font-family: var(--g-display); color: var(--g-ink); line-height: 1.2; margin-top: 1.4em; }
.g-prose a { text-decoration: underline; }
.g-prose img { border-radius: 16px; }
.g-prose ul, .g-prose ol { padding-left: 1.3em; }
.g-iconcard { display: flex; flex-direction: column; gap: 16px; padding: 32px 28px; background: #fff; border: 1px solid var(--g-line); border-radius: var(--g-radius); }
.g-iconcard__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--g-tint); color: var(--g-blue); display: flex; align-items: center; justify-content: center; }
.g-cred { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 40px 32px; text-align: center; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; }
.g-cred img { width: 190px; height: 190px; }
.g-cred h3 { margin: 0; font-size: 21px; font-weight: 800; color: #fff; }
.g-cred p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--g-ondark); }
.g-plaincard { display: flex; flex-direction: column; gap: 16px; }
.g-plaincard img { width: 100%; aspect-ratio: 400 / 220; object-fit: cover; border-radius: 20px; }
.g-plaincard .g-card__text { font-size: 15px; }
.g-imgcard { border-radius: 26px; }
.g-imgcard__img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.g-imgcard__body { display: flex; flex-direction: column; gap: 12px; padding: 32px 36px 38px; }

/* ---------- Services page ---------- */
.g-strip { gap: 32px; }
.g-strip__item { display: flex; flex-direction: column; gap: 12px; }
.g-strip__top { display: flex; align-items: center; gap: 12px; }
.g-strip__num { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--g-blue); color: #fff; font-family: var(--g-display); font-size: 20px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.g-strip__line { flex-grow: 1; height: 2px; background: var(--g-line); }
.g-strip__item:last-child .g-strip__line { background: transparent; }
.g-svc { padding: 84px 0; }
.g-svc__img { width: 100%; aspect-ratio: 560 / 430; object-fit: cover; border-radius: var(--g-radius-lg); }
.g-svc--flip .g-svc__img { order: 2; }
.g-svc__num { margin: 0; font-size: 14px; font-weight: 800; color: var(--g-blue); }
.g-svc__tag { margin: 0; font-size: 20px; font-weight: 700; color: var(--g-ink); line-height: 1.4; }
.g-badgechip { display: inline-flex; align-self: flex-start; align-items: center; gap: 14px; padding: 14px 18px; background: var(--g-ground); border: 1px solid var(--g-line); border-radius: 16px; font-size: 15px; font-weight: 800; color: var(--g-ink); }
.g-section--ground .g-badgechip { background: #fff; }
.g-badgechip img { width: 54px; height: 54px; }
.g-qa { display: flex; flex-direction: column; gap: 14px; padding: 32px; background: #fff; border: 1px solid var(--g-line); border-radius: var(--g-radius); }
.g-qa h3 { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.35; color: var(--g-ink); }
.g-qa p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--g-body); }

/* ---------- Referrals page ---------- */
.g-idealbox { display: flex; flex-direction: column; gap: 18px; padding: 40px; background: var(--g-ground); border-radius: 26px; }
.g-refstep { display: flex; flex-direction: column; gap: 18px; padding: 36px 32px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; }
.g-refstep__top { display: flex; align-items: center; justify-content: space-between; }
.g-refstep__icon { width: 58px; height: 58px; border-radius: 16px; background: rgba(127, 227, 240, .14); color: var(--g-aqua); display: flex; align-items: center; justify-content: center; }
.g-refstep__num { font-family: var(--g-display); font-size: 44px; font-weight: 600; color: rgba(255, 255, 255, .2); line-height: 1; }
.g-refstep h3 { margin: 0; font-size: 22px; font-weight: 800; color: #fff; }
.g-refstep p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--g-ondark); }

/* ---------- CTA band ---------- */
.g-cta { position: relative; overflow: hidden; padding: 100px 0; background: var(--g-navy); }
.g-cta__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.g-cta__shade { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(10, 19, 48, .96) 0%, rgba(10, 19, 48, .88) 50%, rgba(10, 19, 48, .55) 100%); }
.g-cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.g-cta__main { display: flex; gap: 28px; align-items: center; max-width: 780px; }
.g-cta__main > div { display: flex; flex-direction: column; gap: 14px; }
.g-cta__avatar { width: 132px; height: 132px; flex-shrink: 0; border-radius: 50%; object-fit: cover; border: 4px solid var(--g-bright); }
.g-cta__text { margin: 0; color: var(--g-ondark); font-size: 18px; line-height: 1.65; }
.g-cta__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; flex-shrink: 0; }
.g-cta__phone { display: inline-flex; align-items: center; gap: 8px; padding-left: 6px; color: #fff; font-size: 16px; font-weight: 700; }
.g-cta__phone .g-icon { color: var(--g-aqua); }
.g-cta__phone:hover { color: var(--g-sky); }

/* ---------- Blog ---------- */
.g-postlist { display: flex; flex-direction: column; gap: 28px; }
.g-postitem { display: flex; flex-direction: column; gap: 10px; padding-bottom: 28px; border-bottom: 1px solid var(--g-line); }
.g-pagination .nav-links { display: flex; gap: 10px; margin-top: 30px; }
.g-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--g-line); border-radius: 10px; font-weight: 700; }
.g-pagination .current { background: var(--g-blue); color: #fff; border-color: var(--g-blue); }
.g-404 { padding: 140px 0; text-align: center; }
.g-404 .g-stack { align-items: center; }

/* ---------- Footer ---------- */
.g-footer { padding: 72px 0 0; background: var(--g-navy-3); color: var(--g-ondark); }
.g-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr 1.3fr; gap: 48px; }
.g-footer__grid:not(:has(> :nth-child(5))) { grid-template-columns: 1.6fr 1fr 1.3fr 1.4fr; }
.g-footer__brand { display: flex; flex-direction: column; gap: 20px; }
.g-footer__brand p { margin: 0; max-width: 300px; font-size: 15px; line-height: 1.65; }
.g-footer__logo img { width: 230px; height: auto; }
.g-footer__badges { display: flex; gap: 10px; }
.g-footer__badges img { width: 64px; height: 64px; }
.g-footer__title { margin: 0 0 16px; font-family: var(--g-sans); font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.g-footer__links, .g-footer__contact { display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.g-footer__links a, .g-footer__contact a, .g-footer__contact span { display: inline-flex; align-items: center; gap: 10px; color: var(--g-ondark); font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.g-footer__links a:hover, .g-footer__contact a:hover { color: #fff; }
.g-footer__links .current-menu-item > a { color: #fff; }
.g-footer__contact .g-icon { color: var(--g-aqua); }
.g-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; margin-top: 56px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #9AA8C7; }
.g-footer__motto { color: var(--g-aqua); font-weight: 700; letter-spacing: .04em; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
	.g-menu { gap: 26px; }
	.g-header__phone span { display: none; }
	.g-header__phone { width: 46px; height: 46px; justify-content: center; border: 1px solid rgba(255, 255, 255, .25); border-radius: 12px; }
	.g-split { gap: 56px; }
	.g-trust__row { flex-wrap: wrap; justify-content: center; gap: 22px 30px; }
	.g-trust__item + .g-trust__item { padding-left: 0; border-left: 0; }
	.g-footer__grid, .g-footer__grid:not(:has(> :nth-child(5))) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.g-footer__brand { grid-column: 1 / -1; }
	.g-footer__brand p { max-width: 520px; }
}

@media (max-width: 1080px) {
	:root { --g-pad-section: 88px; }
	/* Mobile navigation */
	.g-navtoggle { display: inline-flex; }
	.g-header__cta { display: none; }
	.g-nav { position: fixed; left: 0; right: 0; top: 92px; bottom: 0; z-index: 99; display: flex; flex-direction: column; align-items: stretch; gap: 24px; padding: 24px 24px 40px; background: var(--g-navy); border-top: 1px solid rgba(255, 255, 255, .08); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
	.admin-bar .g-nav { top: 124px; }
	.g-nav.is-open { transform: none; visibility: visible; }
	.g-menu { flex-direction: column; gap: 0; }
	.g-menu a { padding: 16px 4px; font-size: 20px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
	.g-menu .current-menu-item > a, .g-menu a[aria-current="page"] { border-bottom-color: rgba(255, 255, 255, .1); color: var(--g-sky); }
	.g-nav__mobile-cta { display: flex; flex-direction: column; gap: 16px; }
	.g-nav__phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 18px; font-weight: 700; }
	.g-navtoggle[aria-expanded="true"] .g-navtoggle__open { display: none; }
	.g-navtoggle[aria-expanded="true"] .g-navtoggle__close { display: inline-flex; }
	body.g-nav-open { overflow: hidden; }

	.g-hero__inner { grid-template-columns: 1fr; gap: 56px; }
	.g-hero__copy { max-width: 720px; }
	.g-hero__media { max-width: 580px; margin: 0 auto; }
	.g-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.g-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.g-split, .g-story { grid-template-columns: 1fr; gap: 48px; }
	.g-meet__media { margin: 0 auto; }
	.g-story__media { margin: 0 auto; }
	.g-svc--flip .g-svc__img { order: 0; }
	.g-split__img { max-width: 720px; }
	.g-faqwrap, .g-contactwrap { grid-template-columns: 1fr; }
	.g-consult__inner, .g-cta__inner { flex-direction: column; align-items: flex-start; }
	.g-consult__copy { max-width: 720px; }
	.g-head--split { flex-direction: column; align-items: flex-start; gap: 18px; }
	.g-lead { max-width: 640px; }
	.g-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.g-recs--full.g-recs--n3, .g-recs--full.g-recs--n5, .g-recs--full.g-recs--n6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.g-recs--full.g-recs--n5 .g-rec, .g-recs--full.g-recs--n5 .g-rec:nth-child(n+4) { grid-column: auto; }
	.g-recs--full.g-recs--n5 .g-rec:last-child, .g-recs--full.g-recs--n3 .g-rec:last-child { grid-column: 1 / -1; }
	.g-strip__item:nth-child(2) .g-strip__line { background: transparent; }
}

@media (max-width: 782px) {
	.admin-bar .g-header { top: 46px; }
	.admin-bar .g-nav { top: 138px; }
}
@media (max-width: 600px) {
	.admin-bar .g-header { top: 0; }
}

@media (max-width: 720px) {
	:root { --g-pad-section: 68px; }
	body.grotti { font-size: 16px; }
	.g-container { padding: 0 20px; }
	.g-header__inner { height: 76px; }
	.g-logo img { height: 46px; }
	.g-nav { top: 76px; }
	.admin-bar .g-nav { top: 122px; }
	.g-header__actions { gap: 10px; }
	.g-hero { padding: 56px 0 64px; }
	.g-hero__text, .g-p--light, .g-cta__text, .g-pagehero__text { font-size: 17px; }
	.g-hero__btns .g-btn { width: 100%; }
	.g-hero__pill { left: auto; right: 0; top: 2%; font-size: 12px; padding: 9px 12px; }
	.g-hero__card { max-width: 58%; padding: 12px; gap: 10px; bottom: 0; }
	.g-hero__card img { width: 42px; height: 42px; }
	.g-hero__card small { font-size: 10px; }
	.g-hero__card span { font-size: 13px; }
	.g-trust { padding: 32px 0; }
	.g-trust__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.g-trust__item img { width: 56px; height: 56px; }
	.g-trust__icon { width: 48px; height: 48px; }
	.g-trust__item span { font-size: 14px; }
	.g-grid--2, .g-grid--3, .g-grid--4, .g-strip { grid-template-columns: 1fr; }
	.g-strip__line { display: none; }
	.g-head { margin-bottom: 32px; }
	.g-step { padding: 24px; gap: 16px; }
	.g-step__num { width: 44px; height: 44px; font-size: 20px; }
	.g-bookbox { width: 100%; padding: 28px 22px; }
	.g-consult, .g-cta { padding: 68px 0; }
	.g-cta__main { flex-direction: column; align-items: flex-start; gap: 20px; }
	.g-cta__avatar { width: 96px; height: 96px; }
	.g-cta__actions, .g-cta__actions .g-btn { width: 100%; }
	.g-form { padding: 24px 20px; border-radius: 20px; }
	.g-form__row { grid-template-columns: 1fr; }
	.g-faq__q { padding: 16px 18px; font-size: 16px; }
	.g-faq__a { padding: 0 18px 18px; }
	.g-pagehero { min-height: 360px; padding: 64px 0; }
	.g-pagehero__shade { background: linear-gradient(180deg, rgba(10, 19, 48, .82) 0%, rgba(10, 19, 48, .92) 100%); }
	.g-rec { padding: 24px; }
	.g-recs, .g-recs--compact, .g-recs--full.g-recs--n3, .g-recs--full.g-recs--n5, .g-recs--full.g-recs--n6 { grid-template-columns: 1fr; }
	.g-recs .g-rec, .g-recs--full.g-recs--n5 .g-rec:last-child, .g-recs--full.g-recs--n3 .g-rec:last-child { grid-column: auto; }
	.g-idealbox { padding: 28px 22px; }
	.g-svc { padding: 64px 0; }
	.g-imgcard__body { padding: 24px 22px 28px; }
	.g-story__media { padding: 0 20px 24px 0; }
	.g-story__tag { padding: 14px 16px; }
	.g-story__tag strong { font-size: 19px; }
	.g-cred img { width: 150px; height: 150px; }
	.g-footer__grid, .g-footer__grid:not(:has(> :nth-child(5))) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
	.g-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
	.g-footer__grid, .g-footer__grid:not(:has(> :nth-child(5))) { grid-template-columns: 1fr; }
	.g-trust__row { grid-template-columns: 1fr; }
	.g-hero__pill { display: none; }
}

/* Older phone browsers (e.g. iPhones on iOS 14 and earlier) without aspect-ratio support:
   keep the photo frames the right shape. */
@supports not (aspect-ratio: 1 / 1) {
	.g-hero__media { height: 0; padding-bottom: 103.45%; }
	.g-meet__media { height: 0; padding-bottom: 103.7%; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
