/* ==========================================================================
   The Digital Naveen — main stylesheet
   ========================================================================== */

:root {
	--paper: #f6f4ef;
	--paper-2: #ece8de;
	--white: #fff;
	--ink: #0d0f2e;
	--ink-2: #34375a;
	--muted: #686a84;
	--navy: #1b1f8f;
	--navy-2: #2a30b8;
	--red: #c1121f;
	--red-deep: #7d0a18;
	--line: rgba(13, 15, 46, .12);
	--line-light: rgba(255, 255, 255, .14);
	--radius: 22px;
	--radius-sm: 14px;
	--shadow: 0 1px 2px rgba(13, 15, 46, .06), 0 12px 32px -12px rgba(13, 15, 46, .18);
	--shadow-lg: 0 30px 60px -24px rgba(13, 15, 46, .35);
	--display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
	--body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 1rem/1.65 var(--body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--navy-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

.sr-only, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
.muted { color: var(--muted); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 0 0 18px;
	font: 600 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
	color: var(--red);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: #ff8a93; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
	font: 600 .95rem/1.2 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(193, 18, 31, .7); }
.btn--primary:hover { background: var(--red-deep); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--navy); }
.btn--ghost { border-color: var(--line); background: rgba(255, 255, 255, .6); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--paper-2); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); }
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translate(2px, -2px); }
.link-arrow:hover { color: var(--red); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(246, 244, 239, .82);
	backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s ease, background-color .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(246, 244, 239, .94); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.brand img { width: 150px; height: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__list > li > a, .nav__toggle {
	display: inline-flex; align-items: center; gap: 4px;
	padding: 10px 14px; border-radius: 999px; border: 0; background: none;
	font-weight: 500; font-size: .95rem; text-decoration: none; color: var(--ink-2); cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}
.nav__toggle .icon { width: 1em; height: 1em; transition: transform .2s ease; }
.nav__list > li > a:hover, .nav__toggle:hover { background: rgba(13, 15, 46, .06); color: var(--ink); }
.nav__list > li > a[aria-current], .nav__has-menu.is-current .nav__toggle { color: var(--ink); background: rgba(13, 15, 46, .07); }

.nav__has-menu { position: relative; }
.mega {
	position: absolute; top: calc(100% + 12px); left: 50%; width: min(680px, 90vw);
	padding: 14px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
	opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.mega::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav__has-menu.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__has-menu.is-open .nav__toggle .icon { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 1001px) {
	.nav__has-menu:hover .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
	.nav__has-menu:hover .nav__toggle .icon { transform: rotate(180deg); }
}
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; list-style: none; }
.mega__item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: var(--radius-sm); text-decoration: none; transition: background-color .2s ease; }
.mega__item:hover, .mega__item[aria-current] { background: var(--paper); }
.mega__item strong { display: block; font-size: .92rem; font-weight: 600; line-height: 1.3; }
.mega__item small { display: block; margin-top: 2px; font-size: .8rem; line-height: 1.4; color: var(--muted); }
.mega__icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; background: rgba(27, 31, 143, .08); color: var(--navy); }
.mega__icon .icon { width: 20px; height: 20px; }

.menu-btn { display: none; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.menu-btn .icon--close { display: none; }
.menu-btn[aria-expanded="true"] .icon--open { display: none; }
.menu-btn[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 1000px) {
	.menu-btn { display: grid; }
	.nav {
		position: fixed; inset: var(--header-h) 0 0; z-index: 49;
		flex-direction: column; align-items: stretch; gap: 20px;
		padding: 20px var(--gutter) 32px; overflow-y: auto;
		background: var(--paper);
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .25s ease, transform .25s ease, visibility .25s;
	}
	.nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__list > li { border-bottom: 1px solid var(--line); }
	.nav__list > li > a, .nav__toggle { width: 100%; justify-content: space-between; padding: 16px 4px; border-radius: 0; font: 600 1.35rem/1.2 var(--display); color: var(--ink); background: none !important; }
	.mega { position: static; width: auto; padding: 0 0 12px; box-shadow: none; border: 0; background: none; transform: none; opacity: 1; visibility: visible; display: none; }
	.nav__has-menu.is-open .mega { display: block; transform: none; }
	.mega__grid { grid-template-columns: 1fr; }
	.mega__item { padding: 10px 4px; }
	.mega__item small { display: none; }
	.nav__cta { width: 100%; padding: 16px; }
	body.menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden;
	padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 104px);
	background:
		radial-gradient(60% 60% at 85% 20%, rgba(193, 18, 31, .10), transparent 70%),
		radial-gradient(50% 60% at 10% 90%, rgba(27, 31, 143, .10), transparent 70%);
}
.hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 80%);
	-webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 80%);
	opacity: .5;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(40px, 6vw, 80px); }
.hero__title { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.02; }
.hero__title em {
	font-style: normal; color: var(--red);
	background: linear-gradient(transparent 72%, rgba(193, 18, 31, .14) 72%);
}
.hero__lead { max-width: 34em; margin-top: 24px; font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.trust { display: flex; align-items: center; gap: 16px; margin-top: 40px; max-width: 30em; }
.trust__faces { display: flex; flex: none; }
.trust__faces img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 3px solid var(--paper); margin-left: -12px; }
.trust__faces img:first-child { margin-left: 0; }
.trust p { margin: 0; font-size: .88rem; line-height: 1.45; color: var(--muted); }
.trust strong { color: var(--ink); font-weight: 600; }

.hero__visual { position: relative; padding: 28px 0 40px 28px; }
.hero__frame { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-lg); background: var(--paper-2); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgba(13, 15, 46, .35)); }

.float-card {
	position: absolute; z-index: 2;
	background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, .7); border-radius: 18px; box-shadow: var(--shadow);
	animation: bob 7s ease-in-out infinite;
}
.float-card--stat { left: 0; top: 14%; display: flex; align-items: center; gap: 12px; padding: 14px 18px; }
.float-card--stat strong { font: 800 2.4rem/1 var(--display); color: var(--red); letter-spacing: -.03em; }
.float-card--stat span { max-width: 8.5em; font-size: .85rem; line-height: 1.3; font-weight: 500; color: var(--ink-2); }
.float-card--quote { right: -12px; bottom: 6%; width: min(270px, 70%); padding: 16px 18px; animation-delay: -3s; }
.float-card--quote .icon { width: 22px; height: 22px; color: var(--red); }
.float-card--quote p { margin: 6px 0; font: 700 1.1rem/1.25 var(--display); }
.float-card--quote span { font-size: .78rem; color: var(--muted); }
.float-card--logos { left: 10%; bottom: 0; display: flex; gap: 6px; padding: 8px; border-radius: 999px; animation-delay: -5s; }
.float-card--logos span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); overflow: hidden; }
.float-card--logos img { width: 28px; height: 28px; object-fit: contain; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__visual { max-width: 520px; width: 100%; margin-inline: auto; padding-left: 16px; }
	.float-card--quote { right: 0; }
}

/* ---------- Platforms marquee ---------- */
.platforms { padding-block: 28px 36px; border-block: 1px solid var(--line); background: #fff; }
.platforms__label { margin: 0 0 18px; text-align: center; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: clamp(32px, 5vw, 64px); width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; height: 64px; flex: none; }
.marquee__item img { width: auto; height: 64px; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .3s ease, opacity .3s ease; }
.marquee__item:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - clamp(16px, 2.5vw, 32px))); } }

/* ---------- Section head ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head > div { max-width: 640px; }
.section-head__lead { max-width: 400px; margin: 0; color: var(--muted); }
.section-head--light .section-head__lead { color: rgba(255, 255, 255, .7); }

/* ---------- Intro ---------- */
.intro__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.intro__media { position: relative; }
.intro__media > img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--radius); }
.intro__badge {
	position: absolute; right: -20px; bottom: 32px; display: flex; align-items: center; gap: 12px;
	padding: 16px 20px; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg);
}
.intro__badge strong { font: 800 2.6rem/1 var(--display); color: #ff6b76; }
.intro__badge span { font-size: .85rem; line-height: 1.3; color: rgba(255, 255, 255, .8); }
.intro__copy .h2 { margin-bottom: 24px; }
.intro__copy p { color: var(--ink-2); font-size: 1.05rem; }
.intro__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
@media (max-width: 900px) {
	.intro__inner { grid-template-columns: 1fr; }
	.intro__media { max-width: 520px; }
	.intro__media > img { aspect-ratio: 4 / 3; }
	.intro__badge { right: 12px; bottom: -20px; }
}

/* ---------- Services list ---------- */
.services { background: #fff; border-block: 1px solid var(--line); }
.service-list { list-style: none; border-top: 1px solid var(--line); }
.service-list > li { border-bottom: 1px solid var(--line); }
.service-row {
	position: relative; display: grid; grid-template-columns: 56px 52px minmax(0, 1.1fr) minmax(0, 1fr) 48px; align-items: center; gap: 20px;
	padding: 26px 8px; text-decoration: none; transition: background-color .3s ease, padding .3s ease;
}
.service-row__num { font: 600 .9rem/1 var(--body); color: var(--muted); font-variant-numeric: tabular-nums; }
.service-row__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--paper); color: var(--navy); transition: background-color .3s ease, color .3s ease; }
.service-row__title { font: 700 clamp(1.25rem, 2.1vw, 1.65rem)/1.15 var(--display); letter-spacing: -.02em; }
.service-row__text { font-size: .95rem; color: var(--muted); }
.service-row__go { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); transition: background-color .3s ease, color .3s ease, transform .3s ease, border-color .3s ease; }
.service-row__peek {
	position: absolute; right: 90px; top: 50%; z-index: 2; width: 150px; aspect-ratio: 387 / 600;
	border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); pointer-events: none;
	opacity: 0; transform: translateY(-50%) rotate(6deg) scale(.85); transition: opacity .3s ease, transform .35s ease;
}
.service-row__peek img { width: 100%; height: 100%; object-fit: cover; }
.service-row:hover { background: var(--paper); padding-inline: 20px; }
.service-row:hover .service-row__icon { background: var(--navy); color: #fff; }
.service-row:hover .service-row__go { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(45deg); }
@media (hover: hover) and (min-width: 1101px) {
	.service-row:hover .service-row__peek { opacity: 1; transform: translateY(-50%) rotate(4deg) scale(1); }
	.service-row:hover .service-row__text { opacity: .25; }
}
@media (max-width: 900px) {
	.service-row { grid-template-columns: 44px minmax(0, 1fr) 40px; gap: 6px 16px; padding: 22px 0; }
	.service-row:hover { padding-inline: 0; background: none; }
	.service-row__num { display: none; }
	.service-row__icon { width: 44px; height: 44px; grid-row: span 2; align-self: start; }
	.service-row__title { grid-column: 2; }
	.service-row__text { grid-column: 2; }
	.service-row__go { grid-column: 3; grid-row: 1 / span 2; width: 40px; height: 40px; }
	.service-row__peek { display: none; }
}

/* ---------- Why ---------- */
.why {
	position: relative; color: #fff; overflow: hidden;
	background: radial-gradient(70% 90% at 100% 0%, rgba(42, 48, 184, .55), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(193, 18, 31, .35), transparent 60%), var(--ink);
}
.why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; }
.why__card {
	padding: 28px; border-radius: var(--radius); border: 1px solid var(--line-light);
	background: rgba(255, 255, 255, .04); transition: background-color .3s ease, transform .3s ease;
}
.why__card:hover { background: rgba(255, 255, 255, .08); transform: translateY(-4px); }
.why__card h3 { margin: 22px 0 10px; font-size: 1.3rem; }
.why__card p { margin: 0; font-size: .93rem; color: rgba(255, 255, 255, .7); }
.why__check { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #ff8a93; }
.why__card--feature { grid-column: span 2; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(150deg, var(--red) 0%, var(--red-deep) 100%); border-color: transparent; min-height: 240px; }
.why__card--feature:hover { background: linear-gradient(150deg, var(--red) 0%, var(--red-deep) 100%); }
.why__card--feature .why__check { background: #fff; color: var(--red); margin-bottom: auto; }
.why__card--feature h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.why__card--feature p { font-size: 1.05rem; color: rgba(255, 255, 255, .88); max-width: 26em; }
@media (max-width: 1000px) { .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
	.why__grid { grid-template-columns: 1fr; }
	.why__card--feature { grid-column: auto; grid-row: auto; min-height: 240px; }
}

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; counter-reset: step; }
.step { position: relative; padding: 28px 24px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step__num {
	display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 28px; border-radius: 50%;
	font: 700 1.2rem/1 var(--display); background: var(--paper); color: var(--navy); border: 1px solid var(--line);
}
.step:not(:last-child)::after {
	content: ""; position: absolute; top: 52px; left: 84px; right: -8px; height: 1px;
	background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.step h3 { margin-bottom: 10px; font-size: 1.3rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .step::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--paper-2); }
.quotes { columns: 2; column-gap: 20px; }
.quote {
	break-inside: avoid; margin: 0 0 20px; padding: clamp(24px, 3vw, 36px);
	border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
}
.quote__mark { width: 34px; height: 34px; color: var(--red); margin-bottom: 14px; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: 1rem; line-height: 1.7; color: var(--ink-2); }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.quote figcaption span { font-size: .85rem; color: var(--muted); line-height: 1.4; }
.quote figcaption strong { display: block; font: 700 1.05rem/1.3 var(--display); color: var(--ink); }
@media (max-width: 800px) { .quotes { columns: 1; } }

/* ---------- FAQ ---------- */
.faq-section__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-section__inner .h2 { margin-bottom: 16px; }
.faq-section__links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
@media (max-width: 900px) { .faq-section__inner { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 12px; }
.faq__item { border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); transition: box-shadow .25s ease, border-color .25s ease; }
.faq__item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 20px 24px; cursor: pointer; list-style: none;
	font: 600 1.08rem/1.35 var(--display); letter-spacing: -.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { display: block; width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--paper); transition: transform .25s ease, background-color .25s ease, color .25s ease; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq__body { padding: 0 24px 22px; color: var(--ink-2); }
.faq-more { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 32px; padding: 24px 28px; border-radius: var(--radius); background: var(--paper-2); }
.faq-more p { margin: 0; font: 700 1.3rem/1.2 var(--display); }

/* ---------- CTA ---------- */
.cta { padding-bottom: clamp(72px, 10vw, 120px); }
.cta__box {
	position: relative; overflow: hidden;
	display: grid; grid-template-columns: 1.4fr auto; align-items: center; gap: 32px 64px;
	padding: clamp(36px, 6vw, 72px); border-radius: 32px; color: #fff;
	background: radial-gradient(80% 120% at 100% 0%, rgba(255, 107, 118, .45), transparent 55%), linear-gradient(135deg, var(--red) 0%, var(--red-deep) 55%, #3a0610 100%);
}
.cta__box::after {
	content: ""; position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%;
	border: 60px solid rgba(255, 255, 255, .06); pointer-events: none;
}
.cta__title { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 16px; }
.cta__text p:not(.eyebrow) { color: rgba(255, 255, 255, .85); max-width: 34em; font-size: 1.05rem; }
.cta__actions { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cta__phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: #fff; }
.cta .eyebrow { color: #ffd0d4; }
@media (max-width: 800px) { .cta__box { grid-template-columns: 1fr; } }

/* ---------- Page hero ---------- */
.page-hero {
	position: relative; overflow: hidden;
	padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 72px);
	background: radial-gradient(50% 80% at 100% 0%, rgba(193, 18, 31, .10), transparent 70%), radial-gradient(40% 70% at 0% 100%, rgba(27, 31, 143, .08), transparent 70%);
	border-bottom: 1px solid var(--line);
}
.page-hero__title { max-width: 16em; font-size: clamp(2.4rem, 5.5vw, 4.25rem); letter-spacing: -.035em; line-height: 1.03; }
.page-hero__lead { max-width: 38em; margin: 22px 0 0; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-size: .85rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* ---------- Prose ---------- */
.prose { font-size: 1.05rem; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--ink); }
.prose h3 { margin-top: 1.6em; font-size: clamp(1.3rem, 2.2vw, 1.55rem); color: var(--ink); }
.prose h4, .prose h5 { margin-top: 1.5em; font-size: 1.2rem; color: var(--ink); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a:not(.btn) { color: var(--red); font-weight: 500; }
.prose strong { color: var(--ink); font-weight: 600; }

/* Service pages: turn the feature list into cards. */
.prose--service > ol { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; counter-reset: feat; margin-top: 1.4em; }
.prose--service > ol > li {
	counter-increment: feat; position: relative; margin: 0; padding: 22px 22px 22px 70px;
	border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); font-size: .97rem;
}
.prose--service > ol > li::before {
	content: counter(feat, decimal-leading-zero); position: absolute; left: 20px; top: 20px;
	display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
	font: 700 .85rem/1 var(--display); background: rgba(193, 18, 31, .09); color: var(--red);
}
.prose--service > ol > li p { margin: 0; }
.prose--service > ol > li > p:first-child strong, .prose--service > ol > li > strong:first-child { display: block; margin-bottom: 4px; font: 700 1.08rem/1.3 var(--display); }
.prose--service > ol > li ul { list-style: none; padding: 0; margin: 0; color: var(--muted); }
.prose--service > ol > li ul li { margin: 0; }
.prose--service > p:first-child { font-size: 1.2rem; line-height: 1.6; color: var(--ink); }
@media (max-width: 700px) { .prose--service > ol { grid-template-columns: 1fr; } }

/* ---------- Service layout ---------- */
.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.service-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.service-aside__img { border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.service-aside__img img { width: 100%; height: auto; }
.aside-card { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.aside-card h2 { font-size: 1.2rem; margin-bottom: 12px; }
.aside-card--accent { background: var(--ink); color: #fff; border-color: transparent; }
.aside-card--accent p { color: rgba(255, 255, 255, .75); font-size: .95rem; }
.aside-card--accent .btn { width: 100%; margin-top: 8px; }
.aside-card__phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .9rem; font-weight: 500; text-decoration: none; color: rgba(255, 255, 255, .85); }
.aside-links { list-style: none; display: grid; gap: 2px; }
.aside-links a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: .92rem; text-decoration: none; color: var(--ink-2); transition: background-color .2s ease; }
.aside-links a .icon { width: 18px; height: 18px; color: var(--navy); }
.aside-links a:hover { background: var(--paper); }
.aside-links a[aria-current] { background: var(--paper); color: var(--ink); font-weight: 600; }
@media (max-width: 1000px) {
	.service-layout { grid-template-columns: 1fr; }
	.service-aside { position: static; grid-template-columns: 1fr 1fr; }
	.service-aside__img { display: none; }
}
@media (max-width: 640px) { .service-aside { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.about__media { position: sticky; top: calc(var(--header-h) + 24px); padding-bottom: 80px; }
.about__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--a { aspect-ratio: 4 / 4.4; }
.about__img--b { position: absolute; right: -24px; bottom: 0; width: 55%; aspect-ratio: 4 / 3; border: 6px solid var(--paper); }
.prose--about h2:first-child { display: none; }
.prose--about h3:first-of-type { margin-top: 0; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.about__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2em !important; }
.about__actions .icon { width: 1.15em; height: 1.15em; }
.about__actions .btn:hover .icon { transform: none; }
.about-services { background: #fff; border-top: 1px solid var(--line); }
@media (max-width: 900px) {
	.about { grid-template-columns: 1fr; }
	.about__media { position: relative; top: 0; max-width: 520px; }
	.about__img--b { right: 0; }
}

.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; }
.card-grid > li { display: flex; }
.card {
	display: flex; flex-direction: column; width: 100%; padding: 26px; border-radius: var(--radius);
	background: var(--paper); text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: #fff; }
.card__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 24px; border-radius: 14px; background: #fff; color: var(--navy); }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .92rem; }
.card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; font-weight: 600; font-size: .9rem; color: var(--red); }
.card__more .icon { width: 1em; height: 1em; }
.card--accent { background: var(--ink); color: #fff; justify-content: flex-end; }
.card--accent:hover { background: var(--navy); }
.card--accent h3 { font-size: 1.6rem; }
.card--accent p { color: rgba(255, 255, 255, .75); }
.card--accent .card__more { color: #ff8a93; margin-top: 8px; }
@media (max-width: 1000px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }

/* ---------- Contact / audit ---------- */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__info { display: grid; gap: 12px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; overflow-wrap: anywhere; }
a.info-card:hover { border-color: var(--ink); }
.info-card__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: rgba(193, 18, 31, .09); color: var(--red); }
.info-card > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: .92rem; color: var(--muted); }
.info-card small { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.info-card strong { font: 700 1.1rem/1.35 var(--display); color: var(--ink); }
.info-card a { text-decoration: none; }
.info-card a:hover { color: var(--red); }

.form-card { padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.form-card > .h3 { margin-bottom: 24px; }

.audit-info .h3 { margin-bottom: 20px; }
.ticks { list-style: none; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.ticks .icon { width: 26px; height: 26px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--red); color: #fff; }
.mini-quote { margin: 36px 0 0; padding: 24px; border-radius: var(--radius); background: var(--paper-2); }
.mini-quote blockquote { margin: 0 0 16px; font: 600 1.15rem/1.4 var(--display); }
.mini-quote figcaption { display: flex; align-items: center; gap: 12px; font-size: .85rem; color: var(--muted); }
.mini-quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.mini-quote figcaption strong { display: block; color: var(--ink); }
@media (max-width: 900px) {
	.contact { grid-template-columns: 1fr; }
	.contact--audit .form-card { order: -1; }
}

/* ---------- Forms ---------- */
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.form__field--wide { grid-column: 1 / -1; }
.form__field label, .form__field legend { font-size: .88rem; font-weight: 600; color: var(--ink); padding: 0; }
.form__field legend { margin-bottom: 10px; }
.form__field label > span[aria-hidden] { color: var(--red); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
	width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper);
	font-size: 1rem; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--navy-2); background: #fff; box-shadow: 0 0 0 4px rgba(42, 48, 184, .12); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 24px; }
.form__small { margin: 0; font-size: .82rem; color: var(--muted); }
.form__small a { color: var(--ink); }
.form__notice { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 22px; padding: 14px 16px; border-radius: 12px; font-size: .95rem; }
.form__notice--ok { background: #e7f6ec; color: #11602f; }
.form__notice--err { background: #fdecee; color: #8f1020; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .87rem; background: var(--paper); transition: all .2s ease; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--navy-2); outline-offset: 2px; }
@media (max-width: 600px) { .form__grid { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; } }

/* ---------- Misc ---------- */
.post-list { list-style: none; display: grid; gap: 16px; }
.post-list a { display: block; padding: 24px; border-radius: var(--radius); background: #fff; text-decoration: none; }
.notfound { text-align: left; min-height: 50vh; }
.notfound .h1 { margin-bottom: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding-top: clamp(56px, 8vw, 88px); font-size: .93rem; }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 1.2fr .8fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.site-footer__about p { margin-top: 20px; max-width: 26em; }
.site-footer__title { margin-bottom: 18px; font: 600 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.site-footer__links, .site-footer__contact { list-style: none; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: #fff; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.site-footer__contact .icon { width: 18px; height: 18px; margin-top: 3px; color: #ff8a93; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-light); color: #fff; }
.socials a:hover { background: var(--red); border-color: var(--red); }
.socials .icon { width: 19px; height: 19px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px 32px; border-top: 1px solid var(--line-light); font-size: .85rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; }
@media (max-width: 1000px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__top { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* Small-screen touch-ups */
.info-card a strong { font-size: 1rem; }
@media (max-width: 560px) {
	.float-card--logos { display: none; }
	.float-card--quote { bottom: -4%; }
}
