/* ==========================================================================
   SkyFix Remodels — main stylesheet
   Mobile-first, BEM naming.
   ========================================================================== */

:root {
	--color-dark: #0b1829;
	--color-light: #e5e9ef;
	--color-blue: #4682b4;
	--color-orange: #f26612;
	--color-cream: #fff1e4;
	--color-white: #ffffff;
	--color-gray-text: #4b5563;
	--color-slate: #63707d;
	--color-border: #d7dbe1;

	--font-heading: 'Anton', sans-serif;
	--font-body: 'Inter', sans-serif;

	--container-width: 1348px;
	--container-padding: 20px;

	--radius-sm: 2px;
	--radius-md: 3px;
}

/* ---------- Reset ---------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
	color: var(--color-dark);
	background: var(--color-white);
	overflow-x: hidden;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

button {
	font: inherit;
	cursor: pointer;
	border: none;
	background: none;
	color: inherit;
}

h1,
h2,
h3,
h4,
p {
	margin: 0;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Layout helpers ---------- */

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

@media (min-width: 768px) {
	:root {
		--container-padding: 32px;
	}
}

@media (min-width: 1440px) {
	:root {
		--container-padding: 46px;
	}
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	height: 52px;
	padding-inline: 24px;
	border-radius: var(--radius-md);
	font-family: var(--font-body);
	font-size: 15px;
	white-space: nowrap;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn:hover {
	opacity: 0.88;
}

.btn--dark {
	background: var(--color-orange);
	color: var(--color-cream);
	height: 44px;
	padding: 0 16px 0 20px;
	border-radius: var(--radius-sm);
	font-size: 14px;
	gap: 24px;
}

.btn--blue {
	background: transparent;
	color: var(--color-blue);
	border: 1px solid var(--color-blue);
	height: 48px;
	padding-inline: 18px;
	font-size: 15px;
}

.btn--orange {
	background: var(--color-orange);
	color: var(--color-cream);
}

.btn--outline {
	background: transparent;
	color: var(--color-dark);
	border: 1px solid var(--color-dark);
	height: 44px;
}

@media (min-width: 768px) {
	.btn {
		height: 56px;
		padding-inline: 32px;
		font-size: 17px;
	}

	/* .btn--dark and .btn--blue keep their fixed sizing (matching
	   .site-header__cta and .service-card__btn respectively) instead of
	   scaling up with the generic .btn rule above. */
	.btn--dark {
		height: 44px;
		padding: 0 16px 0 20px;
		font-size: 14px;
	}

	.btn--blue {
		height: 48px;
		padding-inline: 18px;
		font-size: 15px;
	}
}

.eyebrow {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	color: var(--color-orange);
}

.section-title {
	font-family: var(--font-heading);
	text-transform: uppercase;
	line-height: 1;
	font-size: 32px;
	color: var(--color-dark);
}

@media (min-width: 768px) {
	.section-title {
		font-size: 44px;
	}
}

/* ==========================================================================
   Site header
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
}

/*
 * The translucent blur lives on a pseudo-element rather than directly on
 * .site-header. A `backdrop-filter` on the header itself would make it the
 * containing block for any `position: fixed` descendant (like the mobile
 * nav panel below), which breaks that panel's full-viewport sizing.
 */
.site-header::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(229, 233, 239, 0.92);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	/* Own compositor layer, isolated from .site-header itself (which must
	   stay transform-free — see note above — or it becomes the containing
	   block for the fixed-position mobile nav). Without this, the blur
	   repaints every scroll frame and fights the sticky header's position,
	   causing it to visibly stutter/jump on mobile. */
	transform: translateZ(0);
	will-change: transform;
}

/* backdrop-filter blur is expensive to repaint every scroll frame on mobile
   GPUs and is the main cause of the sticky header jittering there; drop it
   below the desktop breakpoint and fall back to a near-opaque solid fill. */
@media (max-width: 1199px) {
	.site-header::before {
		background: rgba(229, 233, 239, 0.98);
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}
}

.site-header__inner {
	position: relative;
	max-width: var(--container-width);
	margin-inline: auto;
	padding: 12px var(--container-padding);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.site-header__logo {
	flex-shrink: 0;
	line-height: 0;
}

.site-header__logo img {
	width: 72px;
	height: auto;
}

body.nav-open {
	overflow: hidden;
}

.site-header__nav-overlay {
	position: fixed;
	inset: 0;
	background: rgba(6, 19, 36, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease;
	z-index: 85;
}

.site-header__nav-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.site-header__nav {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(320px, 82vw);
	display: flex;
	flex-direction: column;
	background: var(--color-light);
	padding: 84px 28px 28px;
	box-shadow: -16px 0 40px rgba(6, 19, 36, 0.18);
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
	z-index: 90;
	overflow-y: auto;
}

.site-header__nav.is-open {
	transform: translateX(0);
}

.site-header__nav-close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.site-header__nav-close span {
	position: absolute;
	width: 18px;
	height: 2px;
	background: var(--color-dark);
}

.site-header__nav-close span:first-child {
	transform: rotate(45deg);
}

.site-header__nav-close span:last-child {
	transform: rotate(-45deg);
}

.site-header__nav-list {
	display: flex;
	flex-direction: column;
	gap: 22px;
	font-size: 18px;
}

.site-header__nav-contacts {
	margin-top: auto;
	padding-top: 24px;
	border-top: 1px solid rgba(11, 24, 41, 0.12);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.site-header__nav-phone {
	font-size: 18px;
	font-weight: 600;
	color: var(--color-dark);
}

.site-header__side {
	display: flex;
	align-items: center;
	gap: 16px;
}

.site-header__contacts {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
}

.site-header__phone {
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}

.site-header__socials {
	display: flex;
	gap: 8px;
	margin-top: 2px;
}

.site-header__social {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 10px;
	color: var(--color-blue);
}

.site-header__cta {
	display: none;
	align-items: center;
	gap: 24px;
	height: 44px;
	padding: 0 16px 0 20px;
	border-radius: var(--radius-sm);
	background: var(--color-orange);
	color: var(--color-cream);
	font-size: 14px;
	white-space: nowrap;
}

.site-header__burger {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	z-index: 95;
	position: relative;
}

.site-header__burger span {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--color-dark);
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header__burger[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.site-header__burger[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.site-header__burger[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1200px) {
	.site-header__inner {
		max-width: none;
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
		padding-block: 12px;
		padding-inline: 46px;
	}

	.site-header__logo {
		justify-self: start;
	}

	.site-header__logo img {
		width: 96px;
	}

	.site-header__nav-overlay {
		display: none;
	}

	.site-header__nav {
		position: static;
		inset: auto;
		width: auto;
		background: none;
		box-shadow: none;
		padding: 0;
		transform: none;
		transition: none;
		overflow: visible;
	}

	.site-header__nav-close {
		display: none;
	}

	.site-header__nav-contacts {
		display: none;
	}

	.site-header__nav-list {
		flex-direction: row;
		justify-content: center;
		gap: 40px;
		font-size: 16px;
	}

	.site-header__side {
		justify-self: end;
		justify-content: flex-end;
	}

	.site-header__contacts {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.site-header__phone {
		font-size: 15px;
	}

	.site-header__socials {
		gap: 12px;
	}

	.site-header__cta {
		display: inline-flex;
	}

	.site-header__burger {
		display: none;
	}
}

/* ==========================================================================
   Hero section
   ========================================================================== */

.hero {
	position: relative;
	background: var(--color-light);
	overflow: hidden;
}

.hero__image-wrap {
	position: relative;
	height: 260px;
}

.hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__image-overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(to bottom, rgba(215, 219, 225, 0.6) 0%, rgba(215, 219, 225, 0.5) 100%);
}

.hero__tag {
	display: none;
	position: absolute;
	z-index: 1;
	right: 16px;
	bottom: 12px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 10px;
	text-transform: uppercase;
	color: #040404;
	text-align: right;
	max-width: 180px;
}

/* Mobile-only stat badge; .hero__tag takes its spot from 1200px up. */
.hero__badge {
	display: flex;
	align-items: center;
	gap: 10px;
	position: absolute;
	z-index: 1;
	right: 12px;
	bottom: 12px;
	padding: 8px 14px;
	background: var(--color-white);
	border-radius: var(--radius-md);
	box-shadow: 0 8px 20px rgba(11, 24, 41, 0.2);
}

.hero__badge-number {
	display: flex;
	align-items: baseline;
	font-family: var(--font-heading);
	font-size: 24px;
	line-height: 1;
	color: var(--color-dark);
}

.hero__badge-count-static {
	display: none;
}

.hero__badge-plus {
	color: var(--color-orange);
}

.hero__badge-label {
	font-size: 9px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--color-slate);
}

.hero__content {
	padding: 40px var(--container-padding) 48px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	text-align: center;
}

.hero__title {
	font-family: var(--font-heading);
	text-transform: uppercase;
	line-height: 1.05;
	font-size: 40px;
	color: var(--color-dark);
}

.hero__text {
	max-width: 620px;
	font-size: 16px;
	line-height: 1.4;
	color: var(--color-dark);
}

.hero__title-mark {
	display: none;
}

.hero__buttons {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 17px;
	width: 100%;
	max-width: 340px;
}

.hero__buttons .btn {
	width: 100%;
}

@media (min-width: 768px) {
	.hero__title {
		font-size: 56px;
	}

	.hero__text {
		font-size: 18px;
	}

	.hero__buttons {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		width: auto;
		max-width: none;
		gap: 14px;
	}

	.hero__buttons .btn {
		width: auto;
	}
}

@media (min-width: 1200px) {
	.hero__image-wrap {
		height: 398px;
	}

	.hero__tag {
		display: block;
		right: 46px;
		bottom: 16px;
		font-size: 12px;
		max-width: 250px;
	}

	.hero__badge {
		display: none;
	}

	.hero__content {
		padding: 64px var(--container-padding) 64px;
		max-width: 705px;
		margin-inline: auto;
		gap: 24px;
	}

	.hero__title {
		font-size: 80px;
	}

	.hero__title-line1,
	.hero__title-line2 {
		white-space: nowrap;
	}

	.hero__title-mark {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		vertical-align: middle;
		overflow: hidden;
		width: 0;
		opacity: 0;
		margin-inline: -8px;
		transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease 0.1s, margin-inline 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	}

	.hero__title-mark img {
		display: block;
		height: 62px;
		width: auto;
		max-width: none;
	}

	.hero__title-mark.is-visible {
		width: 96px;
		opacity: 1;
		margin-inline: 10px;
	}

	.hero__text {
		max-width: none;
		font-size: 20px;
	}

	.hero__buttons {
		gap: 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero__title-mark {
		transition: none !important;
	}
}

/* Mobile-only entrance: title, text and buttons rise in, the image settles
   in from a slight zoom — staggered so the page doesn't pop in all at once. */
@media (max-width: 767px) {

	.hero--will-animate .hero__title,
	.hero--will-animate .hero__text,
	.hero--will-animate .hero__buttons {
		transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
		transform: translateY(24px);
		opacity: 0;
	}

	.hero--will-animate .hero__text {
		transition-delay: 0.1s;
	}

	.hero--will-animate .hero__buttons {
		transition-delay: 0.2s;
	}

	.hero--will-animate .hero__image-wrap {
		transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s ease;
		transition-delay: 0.3s;
		transform: scale(1.06);
		opacity: 0;
	}

	.hero--will-animate.is-visible .hero__title,
	.hero--will-animate.is-visible .hero__text,
	.hero--will-animate.is-visible .hero__buttons,
	.hero--will-animate.is-visible .hero__image-wrap {
		transform: none;
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {

	.hero--will-animate .hero__title,
	.hero--will-animate .hero__text,
	.hero--will-animate .hero__buttons,
	.hero--will-animate .hero__image-wrap {
		transition: none !important;
		transform: none !important;
		opacity: 1 !important;
	}
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */

.why {
	position: relative;
	background: var(--color-light);
	padding-block: 56px;
	overflow: hidden;
}

.why__pattern {
	position: absolute;
	inset: 0;
	background-image:
		repeating-linear-gradient(to right, rgba(11, 24, 41, 0.06) 0 1px, transparent 1px 114px),
		repeating-linear-gradient(to bottom, rgba(11, 24, 41, 0.06) 0 1px, transparent 1px 114px);
	pointer-events: none;
}

.why__glow {
	position: absolute;
	display: none;
	left: -210px;
	top: 182px;
	width: 940px;
	height: 940px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(229, 233, 239, 0.9) 0%, rgba(229, 233, 239, 0) 70%);
	pointer-events: none;
}

.why__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.why__intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
}

.why__title {
	font-size: 36px;
}

.why__subtitle {
	font-size: 16px;
	color: var(--color-slate);
	max-width: 380px;
	margin-inline: auto;
}

.why__image {
	margin-top: 16px;
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: var(--radius-sm);
}

.why__list {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.why__item {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.why--will-animate .why__item {
	transform: translateX(56px);
	opacity: 0;
	transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.1s ease;
}

/* Below 768px each .why__item is observed individually (see initWhyReveal)
   and gets its own .is-visible as it's scrolled to, so no stagger delay is
   needed here — the scroll itself provides the sequencing. */
.why--will-animate .why__item.is-visible,
.why--will-animate.is-visible .why__item {
	transform: none;
	opacity: 1;
}

@media (min-width: 768px) {

	/* From here up, the whole section reveals as one group (see
	   initWhyReveal), so the items are staggered via transition-delay. */
	.why--will-animate .why__item:nth-child(1) {
		transition-delay: 0s;
	}

	.why--will-animate .why__item:nth-child(2) {
		transition-delay: 0.25s;
	}

	.why--will-animate .why__item:nth-child(3) {
		transition-delay: 0.5s;
	}
}

@media (prefers-reduced-motion: reduce) {
	.why--will-animate .why__item {
		transition: none !important;
		transform: none !important;
		opacity: 1 !important;
	}
}

.why__number {
	font-family: var(--font-heading);
	font-size: 32px;
	color: var(--color-orange);
	opacity: 0.3;
	line-height: 1;
	flex-shrink: 0;
}

.why__item-body {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.why__item-title {
	font-family: var(--font-heading);
	text-transform: uppercase;
	font-size: 22px;
}

.why__item-text {
	font-size: 15px;
	color: var(--color-dark);
	max-width: 390px;
}

@media (min-width: 1024px) {
	.why {
		padding-block: 100px;
	}

	.why__glow {
		display: block;
	}

	.why__inner {
		flex-direction: row;
		align-items: flex-start;
		gap: 5%;
	}

	.why__intro {
		flex: 0 0 412px;
		min-width: 0;
		align-items: flex-start;
		text-align: left;
	}

	.why__title {
		font-size: 72px;
		white-space: nowrap;
	}

	.why__subtitle {
		font-size: 20px;
		max-width: 369px;
		margin-inline: 0;
	}

	.why__image {
		margin-top: 170px;
		width: 593px;
		height: 365px;
	}

	.why__list {
		flex: 1;
		min-width: 0;
		gap: 48px;
	}

	.why__item {
		gap: 32px;
	}

	.why__item:nth-child(2) {
		margin-left: 12%;
	}

	.why__item:nth-child(3) {
		margin-left: 24%;
	}

	.why__number {
		font-size: 50px;
	}

	.why__item-title {
		font-size: 32px;
	}

	.why__item-text {
		font-size: 17px;
		max-width: 420px;
	}
}

/* Pixel-accurate staggered layout — only fits reliably once the container
   reaches its full 1348px design width (viewport ≥ 1440px). */
@media (min-width: 1440px) {
	.why__inner {
		gap: 234px;
	}

	.why__list {
		position: relative;
		height: 682px;
		gap: 0;
	}

	.why__item {
		position: absolute;
	}

	.why__item:nth-child(1) {
		left: 0;
		top: 0;
		width: 390px;
		margin-left: 0;
	}

	.why__item:nth-child(2) {
		left: 151px;
		top: 258px;
		width: 399px;
		margin-left: 0;
	}

	.why__item:nth-child(3) {
		left: 324px;
		top: 501px;
		width: 378px;
		margin-left: 0;
	}

	.why__item-text {
		max-width: none;
	}
}

/* ==========================================================================
   Services / What We Do
   ========================================================================== */

.services {
	background: #f3f4f5;
	padding-block: 70px;
}

.services .container {
	padding-inline: 16px;
}

.services__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	margin-bottom: 32px;
	text-align: center;
}

.services__title {
	font-size: 38px;
	line-height: 0.95;
}

.services__subtitle {
	font-size: 16px;
	color: var(--color-gray-text);
	max-width: 295px;
}

.services__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	padding-inline: 16px;
}

.service-card {
	padding: 0;
}

.service-card__media {
	position: relative;
	border-radius: var(--radius-md);
	overflow: hidden;
	height: 220px;
}

.service-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.service-card__number {
	position: absolute;
	top: 16px;
	left: 16px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.85);
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.service-card__expand {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.05);
	border: 0.8px solid rgba(10, 25, 37, 0.2);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	pointer-events: none;
}

.service-card__expand img {
	width: 18px;
	height: 18px;
}

.service-card__body {
	padding-top: 8px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.service-card__title {
	font-family: var(--font-heading);
	font-size: 20px;
	color: var(--color-dark);
}

.service-card__buttons {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
}

.service-card__btn {
	height: 48px;
	padding-inline: 18px;
	font-size: 15px;
	white-space: nowrap;
}

.service-card__btn--outline {
	flex: 1 0 0;
}

.service-card__btn img {
	width: 16px;
	height: 16px;
}

@media (min-width: 768px) {
	.services .container {
		padding-inline: var(--container-padding);
	}

	.services__grid {
		grid-template-columns: 1fr 1fr;
		gap: 0;
		padding-inline: 0;
	}

	.service-card {
		padding: 24px var(--container-padding);
		border-top: 1px solid rgba(0, 0, 0, 0.15);
		border-bottom: 1px solid rgba(0, 0, 0, 0.15);
	}

	.service-card__expand {
		top: 20px;
		right: 20px;
		width: 48px;
		height: 48px;
	}

	.service-card__body {
		padding-top: 20px;
	}

	.service-card__title {
		font-size: 22px;
	}

	.service-card__btn--outline {
		flex: none;
	}

	.service-card__media {
		height: 320px;
	}
}

@media (min-width: 1200px) {
	.services {
		padding-block: 100px;
	}

	.services__head {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 0;
	}

	.services__title {
		font-size: 72px;
	}

	.services__subtitle {
		font-size: 20px;
		max-width: 400px;
		text-align: left;
	}

	.service-card__media {
		height: 448px;
	}

	.service-card__title {
		font-size: 26px;
	}
}

.service-card__btn--outline {
	background: transparent;
	color: var(--color-blue);
	border: 1px solid var(--color-blue);
}

/* ==========================================================================
   Service "Learn more" popup
   ========================================================================== */

.service-modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: none;
	overflow-y: auto;
	padding: 16px;
}

.service-modal.is-open {
	display: block;
}

.service-modal__overlay {
	position: fixed;
	inset: 0;
	background: rgba(6, 19, 36, 0.8);
}

.service-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 878px;
	margin: 24px auto;
	border-radius: var(--radius-md);
	background: var(--color-light);
	overflow: hidden;
}

.service-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	width: 40px;
	height: 40px;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #061324;
	backdrop-filter: blur(2px);
}

.service-modal__body {
	padding: 24px;
	display: flex;
	flex-direction: column;
}

.service-modal__number {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	color: #4e87b8;
}

.service-modal__title {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 22px;
	color: var(--color-dark);
	margin-top: 16px;
}

.service-modal__desc {
	font-size: 15px;
	line-height: 1.4;
	color: #8d99a5;
	margin-top: 16px;
}

.service-modal__projects-label {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 16px;
	color: #8d99a5;
	margin-top: 24px;
}

.service-modal__projects {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 16px;
}

.service-modal__project {
	position: relative;
	padding-top: 12px;
	padding-left: 28px;
	font-size: 15px;
	color: var(--color-dark);
	border-top: 0.8px solid rgba(11, 24, 41, 0.18);
}

.service-modal__project::before {
	content: '';
	position: absolute;
	left: 0;
	top: 20px;
	width: 16px;
	height: 1px;
	background: #4e87b8;
}

.service-modal__cta {
	margin-top: 24px;
	align-self: stretch;
	justify-content: center;
}

body.modal-open {
	overflow: hidden;
}

@media (min-width: 640px) {
	.service-modal__projects {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}
}

@media (min-width: 1024px) {
	.service-modal__dialog {
		margin: 60px auto;
	}

	.service-modal__close {
		top: 24px;
		right: 24px;
		width: 48px;
		height: 48px;
	}

	.service-modal__body {
		padding: 32px;
	}

	.service-modal__title {
		font-size: 32px;
		margin-top: 20px;
		white-space: nowrap;
	}

	.service-modal__desc {
		font-size: 17px;
		max-width: 672px;
		margin-top: 20px;
	}

	.service-modal__projects-label {
		font-size: 20px;
		margin-top: 36px;
	}

	.service-modal__project {
		font-size: 17px;
	}
}

/* ==========================================================================
   About Us
   ========================================================================== */

.about {
	background: var(--color-light);
	padding-block: 56px;
	overflow: hidden;
}

.about__inner {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.about__text {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.about--will-animate .about__text,
.about--will-animate .about__media {
	transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.4s ease;
}

.about--will-animate .about__text {
	transform: translateX(-48px);
	opacity: 0;
}

.about--will-animate .about__media {
	transform: translateX(48px);
	opacity: 0;
	transition-delay: 0.3s;
}

.about--will-animate.is-visible .about__text,
.about--will-animate.is-visible .about__media {
	transform: none;
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {

	.about--will-animate .about__text,
	.about--will-animate .about__media {
		transition: none !important;
		transform: none !important;
		opacity: 1 !important;
	}

	.about--will-animate .about__lamp-glow {
		transition: none !important;
		transform: none !important;
		opacity: 1 !important;
	}

	.about--will-animate .about__lamp path {
		transition: none !important;
		stroke: #f9fc3a !important;
	}
}

/* Pendant-lamp "switches on" once the illustration has scrolled into view —
   see the sticky note on the Figma node for this section: the bulb's glow
   fades in and the fixture itself warms from its resting color to yellow. */
.about--will-animate .about__lamp-glow {
	transform-box: fill-box;
	transform-origin: center;
	opacity: 0;
	transform: scale(0.55);
	transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: 0.9s;
}

.about--will-animate.is-visible .about__lamp-glow {
	opacity: 1;
	transform: scale(1);
}

.about--will-animate .about__lamp path {
	transition: stroke 0.5s ease;
	transition-delay: 0.9s;
}

.about--will-animate.is-visible .about__lamp path {
	stroke: #f9fc3a;
}

.about__title {
	font-size: 36px;
	text-align: center;
}

.about__desc {
	font-size: 15px;
	color: #556270;
	max-width: 440px;
}

.about__media {
	position: relative;
}

.about__illustration {
	width: 100%;
	height: auto;
}

@media (max-width: 1023px) {
	.about__media {
		margin-inline: calc(-1 * var(--container-padding));
	}
}

@media (min-width: 1024px) {
	.about {
		padding-block: 0;
	}

	.about__inner {
		flex-direction: row;
		align-items: flex-start;
		gap: 60px;
		padding-right: 0;
	}

	.about__text {
		flex: 0 0 440px;
		position: sticky;
		top: 0;
		padding-block: 100px;
	}

	.about__title {
		font-size: 72px;
		text-align: left;
	}

	.about__desc {
		font-size: 17px;
	}

	.about__media {
		flex: 1;
	}
}

/* ==========================================================================
   How It Works
   ========================================================================== */

.how {
	background: #f3f4f5;
	padding-block: 70px;
}

.how__head {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 60px;
}

.how__title {
	font-size: 38px;
	line-height: 0.95;
}

.how__subtitle {
	font-size: 16px;
	color: var(--color-slate);
	max-width: 400px;
}

.how__list-wrap {
	padding-right: 0;
}

.how__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	counter-reset: step;
}

.how__step {
	position: relative;
	padding-top: 20px;
	border-top: 2px solid var(--color-orange);
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.how__step-label {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 10px;
	color: var(--color-dark);
}

.how__step-title {
	font-family: var(--font-heading);
	font-size: 20px;
	text-transform: uppercase;
	color: var(--color-dark);
}

.how__step-text {
	font-size: 16px;
	color: var(--color-dark);
}

/* Below 640px the steps become a horizontally swipeable slider, matching
   the mobile design where the track overflows the viewport on purpose. */
@media (max-width: 639px) {
	.how__head {
		align-items: center;
		text-align: center;
	}

	.how__subtitle {
		max-width: 295px;
	}

	.how__list-wrap {
		padding-right: 0;
		margin-right: calc(-1 * var(--container-padding));
	}

	.how__list {
		position: relative;
		display: flex;
		gap: 0;
		padding-top: 30px;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		cursor: grab;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.how__list::-webkit-scrollbar {
		display: none;
	}

	.how__list.is-dragging {
		cursor: grabbing;
		scroll-snap-type: none;
	}

	.how__list.is-autoplaying {
		scroll-snap-type: none;
	}

	.how__list::before {
		content: '';
		position: absolute;
		top: 15px;
		left: 0;
		width: var(--how-track-width, 960px);
		height: 1px;
		background: var(--color-orange);
	}

	.how__step {
		flex: 0 0 240px;
		scroll-snap-align: start;
		padding: 20px;
		border-top: none;
		align-items: center;
		text-align: center;
		gap: 10px;
	}

	.how__step-label {
		position: absolute;
		top: -30px;
		left: 0;
		right: 0;
		text-align: center;
	}

	.how__step-title {
		text-align: center;
	}

	.how__step-text {
		text-align: center;
	}
}

@media (min-width: 640px) {
	.how__list {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1200px) {
	.how {
		padding-block: 100px;
	}

	.how__head {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.how__head {
		margin-bottom: 80px;
	}

	.how__title {
		font-size: 72px;
	}

	.how__subtitle {
		font-size: 20px;
	}

	.how__list {
		position: relative;
		grid-template-columns: repeat(4, 1fr);
		gap: 40px;
		padding-top: 34px;
	}

	.how__list::before {
		content: '';
		position: absolute;
		top: 14px;
		left: 0;
		right: 0;
		height: 1px;
		background: var(--color-orange);
	}

	.how__step-title {
		font-size: 22px;
		text-align: center;
	}

	.how__step-text {
		text-align: center;
		font-size: 17px;
	}

	.how__step-label {
		position: absolute;
		top: -34px;
		left: 0;
		right: 0;
		text-align: center;
	}

	.how__step {
		align-items: center;
		border-top: none;
		padding-top: 0;
	}
}

/* ==========================================================================
   Selected Work carousel
   ========================================================================== */

.work {
	background: var(--color-light);
	padding-block: 70px;
	overflow: hidden;
}

.work .container {
	padding-inline: 16px;
}

.work__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	margin-bottom: 32px;
	text-align: center;
}

.work__title {
	font-size: 38px;
	line-height: 0.95;
}

.work__subtitle {
	font-size: 16px;
	color: var(--color-slate);
	max-width: 295px;
}

.work__track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scroll-padding-left: 16px;
	scroll-padding-right: 16px;
	padding-left: 16px;
	padding-right: 16px;
	padding-bottom: 8px;
	scrollbar-width: none;
	cursor: grab;
	-webkit-user-select: none;
	user-select: none;
}

.work__track::-webkit-scrollbar {
	display: none;
}

.work__track.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
}

.work__slide {
	position: relative;
	flex: 0 0 auto;
	width: 326px;
	height: 311px;
	margin: 0;
	border-radius: 4px;
	overflow: hidden;
	scroll-snap-align: start;
}

.work__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

.work__tag-frame {
	position: absolute;
	top: 0;
	left: 0;
	width: 189px;
	background: var(--color-light);
	padding: 0 8px 8px 0;
}

.work__tag {
	display: block;
	background: var(--color-blue);
	color: var(--color-white);
	font-size: 17px;
	padding: 5px;
}

.work__nav {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 32px;
	padding-inline: 16px;
}

.work__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 0.8px solid var(--color-dark);
}

.work__arrow img {
	width: 26px;
	height: 26px;
}

@media (min-width: 1024px) {
	.work {
		padding-block: 100px;
	}

	.work .container {
		padding-inline: var(--container-padding);
	}

	.work__head {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		text-align: left;
	}

	.work__title {
		font-size: 72px;
		line-height: 1;
	}

	.work__subtitle {
		font-size: 20px;
		max-width: 400px;
	}

	.work__track {
		gap: 20px;
		padding-inline: var(--container-padding);
		scroll-padding-inline: var(--container-padding);
	}

	.work__slide {
		width: 436px;
		height: 392px;
	}

	.work__tag-frame {
		width: auto;
		padding: 0 10px 10px 0;
	}

	.work__tag {
		font-size: 17px;
		padding: 5px;
	}

	.work__nav {
		padding-inline: var(--container-padding);
	}

	.work__arrow {
		width: 60px;
		height: 60px;
	}

	.work__arrow img {
		width: 32px;
		height: 32px;
	}
}

/* ==========================================================================
   Reviews
   ========================================================================== */

.reviews {
	background: #f3f4f5;
	padding-block: 40px 56px;
}

.reviews__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}

.reviews__rating {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 6px;
	font-size: 15px;
}

.reviews__rating-label {
	font-weight: 600;
	color: var(--color-dark);
}

.reviews__stars {
	display: inline-flex;
	gap: 2px;
}

.reviews__stars img {
	width: 18px;
	height: 18px;
}

.reviews__score {
	font-weight: 600;
	color: var(--color-dark);
}

.reviews__count {
	color: var(--color-dark);
	padding-left: 8px;
	border-left: 1px solid var(--color-dark);
}

.reviews__write {
	height: 44px;
	font-size: 15px;
	background: var(--color-light);
}

.reviews__carousel {
	position: relative;
}

.reviews__track {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	padding-inline: var(--container-padding);
	scroll-padding-inline: var(--container-padding);
	padding-bottom: 8px;
	scrollbar-width: none;
}

.reviews__track::-webkit-scrollbar {
	display: none;
}

.review-card {
	flex: 0 0 auto;
	width: 280px;
	scroll-snap-align: start;
	background: transparent;
	border-radius: 12px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.review-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	font-size: 15px;
}

.review-card__name {
	font-weight: 600;
	color: var(--color-dark);
}

.review-card__date {
	color: #8a8a8a;
	font-size: 13px;
}

.review-card__stars {
	display: flex;
	align-items: center;
	gap: 2px;
}

.review-card__stars img {
	width: 17px;
	height: 17px;
}

.review-card__verified {
	margin-left: 8px;
	padding-left: 8px;
	border-left: 1px solid var(--color-dark);
	font-size: 13px;
	color: #8a8a8a;
}

.review-card__text {
	font-size: 16px;
	line-height: 1.3;
	color: var(--color-dark);
}

.reviews__arrow {
	display: none;
}

.reviews__arrow-icon {
	display: none;
}

/* Below 1024px the arrows sit in their own row under the track (matching
   the mobile design), styled like .work__arrow rather than the small
   floating circular buttons used at desktop. */
@media (max-width: 1023px) {
	.reviews .container {
		padding-inline: 16px;
	}

	.reviews {
		padding-block: 70px;
	}

	.reviews__head {
		align-items: flex-start;
	}

	.reviews__rating {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	.reviews__count {
		display: none;
	}

	.reviews__write {
		padding-inline: 32px;
		font-size: 17px;
	}

	.reviews__track {
		padding-left: 16px;
		padding-right: 16px;
		scroll-padding-left: 16px;
		scroll-padding-right: 16px;
	}

	.review-card {
		width: 346px;
		padding: 8px 8px 8px 0;
		gap: 0;
	}

	.review-card__stars {
		margin-top: 11px;
	}

	.review-card__verified {
		margin-left: 19px;
		padding-left: 0;
		border-left: none;
	}

	.review-card__text {
		margin-top: 16px;
	}

	.reviews__nav {
		display: flex;
		justify-content: center;
		gap: 10px;
		margin-top: 32px;
		padding-inline: 16px;
	}

	.reviews__arrow {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 52px;
		height: 52px;
		border: 0.8px solid var(--color-dark);
	}

	.reviews__arrow-icon {
		display: block;
		width: 26px;
		height: 26px;
	}
}

@media (min-width: 1024px) {
	.reviews {
		padding-block: 100px;
	}

	.review-card {
		width: 405px;
	}

	.reviews__carousel {
		padding-inline: var(--container-padding);
	}

	.reviews__track {
		padding: 5px 8px 1px;
		scroll-padding-inline: 8px;
	}

	.reviews__arrow {
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		width: 30px;
		height: 30px;
		border-radius: 50%;
		background: var(--color-white);
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
		z-index: 2;
	}

	.reviews__arrow::before {
		content: '';
		width: 8px;
		height: 8px;
		border-left: 1.6px solid #5e5e5e;
		border-bottom: 1.6px solid #5e5e5e;
	}

	.reviews__arrow--prev {
		left: var(--container-padding);
	}

	.reviews__arrow--prev::before {
		transform: rotate(45deg) translate(1px, 0);
	}

	.reviews__arrow--next {
		right: var(--container-padding);
	}

	.reviews__arrow--next::before {
		transform: rotate(225deg) translate(1px, 0);
	}
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
	position: relative;
	background-size: cover;
	background-position: center;
	padding-block: 70px;
	overflow: hidden;
}

.contact .container {
	padding-inline: 16px;
}

.contact__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(6, 19, 36, 0.5) 2%, rgba(12, 32, 57, 0.44) 42%, rgba(10, 27, 48, 0.375) 71%, rgba(6, 19, 36, 0.31) 100%);
}

.contact__glow {
	position: absolute;
	left: -332px;
	top: -383px;
	width: 940px;
	height: 940px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(37, 38, 41, 0.5) 0%, rgba(37, 38, 41, 0) 70%);
	pointer-events: none;
}

.contact__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
}

.contact__title {
	font-family: var(--font-heading);
	text-transform: uppercase;
	font-size: 38px;
	line-height: 0.95;
	color: var(--color-light);
	text-align: center;
	max-width: 263px;
	margin-inline: auto;
	margin-bottom: 8px;
}

.contact__info {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
	color: var(--color-light);
}

.contact__block {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.contact__block p {
	color: #f9f9fa;
	opacity: 0.8;
	font-size: 16px;
}

.contact__block-title {
	font-family: var(--font-heading);
	text-transform: uppercase;
	font-size: 20px;
	color: var(--color-light);
}

@media (min-width: 1024px) {
	.contact__block p {
		font-size: 17px;
	}

	.contact__block-title {
		font-size: 22px;
	}
}

.contact__socials {
	display: flex;
	justify-content: flex-start;
	gap: 9px;
	margin-top: 8px;
}

.contact__social {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.6);
}

.contact-form {
	background: var(--color-light);
	border-radius: var(--radius-md);
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.contact-form__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.contact-form__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.contact-form__label {
	font-size: 14px;
	color: #354658;
}

.contact-form__label em {
	font-style: normal;
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	color: #4e87b8;
	margin-left: 2px;
}

.contact-form__input {
	height: 44px;
	border: 0.8px solid rgba(6, 19, 36, 0.24);
	border-radius: var(--radius-sm);
	background: rgba(248, 249, 251, 0.6);
	padding-inline: 16px;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-dark);
}

.contact-form__input::placeholder {
	color: rgba(53, 70, 88, 0.6);
}

.contact-form__textarea {
	height: 106px;
	padding-block: 10px;
	resize: vertical;
}

.contact-form__field--full {
	grid-column: 1 / -1;
}

.contact-form__file {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 56px;
	border: 0.8px solid rgba(6, 19, 36, 0.24);
	border-radius: var(--radius-sm);
	background: rgba(248, 249, 251, 0.6);
	padding-inline: 16px;
	font-size: 14px;
	color: rgba(53, 70, 88, 0.6);
	cursor: pointer;
}

.contact-form__file img {
	width: 17px;
	height: 17px;
}

.contact-form__file-input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.contact-form__checkbox {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14px;
	color: #354658;
}

.contact-form__checkbox input {
	margin-top: 4px;
	width: 16px;
	height: 16px;
	accent-color: var(--color-dark);
}

.contact-form__submit {
	width: 100%;
	padding-inline: 32px;
}

.contact-form__status {
	font-size: 14px;
	min-height: 20px;
}

.contact-form__status[data-state="success"] {
	color: #2f7a3d;
}

.contact-form__status[data-state="error"] {
	color: #b3261e;
}

@media (min-width: 640px) {
	.contact-form__row {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1024px) {
	.contact {
		padding-block: 120px;
	}

	.contact .container {
		padding-inline: var(--container-padding);
	}

	/* Title/info stack in the left column, form fills the right column —
	   grid keeps that grouping independent of the title→form→info source
	   order used for the mobile layout above. */
	.contact__inner {
		display: grid;
		grid-template-columns: 330px 655px;
		grid-template-areas:
			"title form"
			"info  form";
		justify-content: space-between;
		align-items: start;
		column-gap: 0;
		row-gap: 202px;
	}

	.contact__title {
		grid-area: title;
		font-size: 72px;
		line-height: 1.05;
		text-align: left;
		width: 389px;
		max-width: none;
		justify-self: start;
		margin-inline: 0;
	}

	.contact__info {
		grid-area: info;
	}

	.contact__socials {
		margin-top: 0;
	}

	.contact-form {
		grid-area: form;
		padding: 30px;
	}
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
	background: var(--color-light);
	padding-block: 56px;
}

.faq__inner {
	max-width: 1040px;
	display: flex;
	flex-direction: column;
	gap: 32px;
	align-items: center;
}

.faq__title {
	font-size: 32px;
	text-align: center;
}

.faq__accordion {
	width: 100%;
	border: 0.8px solid rgba(10, 10, 10, 0.1);
	border-radius: 8px;
	overflow: hidden;
}

.faq__item {
	background: #f3f4f5;
	border-top: 0.8px solid rgba(10, 10, 10, 0.1);
}

.faq__item:first-child {
	border-top: 0;
}

.faq__question {
	width: 100%;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	text-align: left;
	padding: 16px 20px;
	background: rgba(255, 255, 255, 0.6);
}

.faq__number {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 12px;
	color: var(--color-orange);
	flex-shrink: 0;
}

.faq__question-text {
	flex: 1;
	font-weight: 600;
	font-size: 16px;
	color: var(--color-dark);
}

.faq__icon {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	transition: transform 0.25s ease;
}

.faq__item.is-open .faq__icon {
	transform: rotate(45deg);
}

.faq__answer {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.3s ease;
}

.faq__answer>p {
	overflow: hidden;
	min-height: 0;
	padding: 0 20px;
	color: #6b6b6b;
	font-size: 15px;
	line-height: 1.4;
}

.faq__item.is-open .faq__answer {
	grid-template-rows: 1fr;
}

.faq__item.is-open .faq__answer>p {
	padding-top: 12px;
	padding-bottom: 20px;
}

@media (min-width: 768px) {
	.faq {
		padding-block: 100px;
	}

	.faq__title {
		font-size: 72px;
	}

	.faq__question {
		align-items: center;
		padding: 20px 32px;
	}

	.faq__question-text {
		font-size: 20px;
	}

	.faq__answer>p {
		padding-inline: 32px;
		font-size: 17px;
	}
}

/* ==========================================================================
   Areas
   ========================================================================== */

.areas {
	background: #f3f4f5;
	padding-block: 56px;
}

.areas .container {
	padding-inline: 16px;
}

.areas__inner {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.areas__intro {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 24px;
}

.areas__title {
	font-size: 32px;
}

.areas__text {
	font-size: 15px;
	color: var(--color-slate);
}

.areas__groups {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin-bottom: 24px;
}

.areas__group-head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

.areas__group-head img {
	width: 20px;
	height: 20px;
}

.areas__group-head h3 {
	font-family: var(--font-heading);
	text-transform: uppercase;
	font-size: 18px;
	color: var(--color-dark);
}

.areas__cities {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-left: 18px;
}

.areas__cities li {
	list-style: disc;
	font-size: 14px;
	color: var(--color-dark);
	opacity: 0.85;
}

.areas__cta {
	background: rgba(255, 255, 255, 0.6);
	border-radius: 6px;
	padding: 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

.areas__cta-row {
	display: contents;
}

.areas__cta-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--color-blue);
	flex-shrink: 0;
}

.areas__cta-icon img {
	width: 24px;
	height: 24px;
}

.areas__cta-text {
	flex: 1 1 180px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.areas__cta-title {
	font-weight: 500;
	font-size: 17px;
	color: var(--color-dark);
}

.areas__cta-sub {
	font-size: 14px;
	color: var(--color-dark);
	opacity: 0.8;
}

.areas__cta-btn {
	height: 48px;
	font-size: 14px;
}

.areas__cta-phone {
	width: 100%;
	font-weight: 500;
	font-size: 17px;
	color: var(--color-dark);
	text-align: center;
}

.areas__map-canvas {
	width: 100%;
	height: 260px;
	border-radius: 8px;
	background: #e5e9ef;
}

.areas-map__pin span {
	display: block;
	width: 18px;
	height: 18px;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	background: var(--color-blue);
	border: 2px solid var(--color-light);
	box-shadow: 0 1px 4px rgba(6, 19, 36, 0.4);
}

@media (min-width: 640px) {
	.areas__cta-phone {
		width: auto;
		margin-left: auto;
	}
}

/* Below 1024px: centered intro, map moved before the CTA card (matching
   source order in the mobile design), and the CTA card becomes two stacked
   rows instead of one wrapping row. */
@media (max-width: 1023px) {
	.areas {
		padding-block: 70px;
	}

	.areas__intro {
		align-items: center;
		text-align: center;
		gap: 24px;
		margin-bottom: 0;
	}

	.areas__title {
		font-size: 38px;
		line-height: 0.95;
	}

	.areas__text {
		font-size: 16px;
	}

	.areas__groups {
		margin-bottom: 0;
	}

	.areas__group-head {
		gap: 4px;
		margin-bottom: 16px;
	}

	.areas__group-head img {
		width: 24px;
		height: 24px;
	}

	.areas__group-head h3 {
		font-size: 20px;
		line-height: 1.2;
	}

	.areas__cities {
		gap: 8px;
		padding-left: 24px;
	}

	.areas__cities li {
		font-size: 16px;
		opacity: 0.82;
	}

	.areas__map-canvas {
		height: 412px;
	}

	.areas__cta {
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
		padding: 8px;
	}

	.areas__cta-row {
		display: flex;
		align-items: center;
		gap: 14px;
	}

	.areas__cta-row--actions {
		gap: 8px;
	}

	.areas__cta-title {
		font-size: 20px;
	}

	.areas__cta-btn {
		flex-shrink: 0;
		width: 196px;
		padding: 16px 16px 16px 20px;
		font-size: 16px;
	}

	.areas__cta-phone {
		width: auto;
		font-size: 16px;
		text-align: right;
	}
}

@media (min-width: 1024px) {
	.areas {
		padding-block: 100px;
	}

	.areas .container {
		padding-inline: var(--container-padding);
	}

	/* Intro/groups/CTA stack in the left column, map fills the right
	   column — grid keeps that grouping independent of the
	   intro→groups→map→cta source order used for the mobile layout. */
	.areas__inner {
		display: grid;
		grid-template-columns: 660px 1fr;
		grid-template-areas:
			"intro  map"
			"groups map"
			"cta    map";
		column-gap: 40px;
		row-gap: 0;
	}

	.areas__intro {
		grid-area: intro;
	}

	.areas__groups {
		grid-area: groups;
	}

	.areas__cta {
		grid-area: cta;
	}

	.areas__title {
		font-size: 72px;
	}

	.areas__text {
		font-size: 20px;
	}

	.areas__group-head h3 {
		font-size: 26px;
	}

	.areas__cities li {
		font-size: 17px;
	}

	.areas__cta-title {
		font-size: 20px;
	}

	.areas__map {
		grid-area: map;
		flex: 1;
	}

	.areas__map-canvas {
		height: 100%;
		min-height: 500px;
	}
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
	position: relative;
	background-size: cover;
	background-position: center;
	padding-block: 48px 24px;
	color: var(--color-light);
	overflow: hidden;
}

.footer__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(4, 14, 23, 0.55) 6%, rgba(4, 14, 23, 0.85) 85%);
}

.footer__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.footer__logo {
	display: inline-flex;
	align-self: flex-start;
}

.footer__logo img {
	width: 96px;
	height: auto;
}

.footer__divider {
	border: none;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	margin: 0;
}

.footer__body {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.footer__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.footer__description {
	max-width: 300px;
	font-size: 15px;
	color: #8d99a5;
}

@media (min-width: 1024px) {
	.footer__description {
		font-size: 17px;
	}
}

.footer__cta {
	height: 48px;
	font-size: 15px;
}

.footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
}

.footer__col-title {
	font-family: var(--font-heading);
	color: var(--color-blue);
	font-size: 20px;
	margin-bottom: 16px;
}

.footer__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer__list a,
.footer__list li {
	color: #b1becc;
	font-size: 15px;
}

.footer__list--contact li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.footer__list--contact a {
	display: flex;
	align-items: center;
	gap: 10px;
}

.footer__list--contact img {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.footer__widgets {
	display: grid;
	gap: 16px;
}

.footer__copyright {
	font-size: 12px;
	color: #8d99a5;
}

/* True mobile (< 640px) only — the 640px+ tablet tier below already has
   its own validated 3-column grid and is left untouched. */
@media (max-width: 639px) {
	.footer .container {
		padding-inline: 16px;
	}

	.footer__logo {
		align-self: center;
	}

	.footer__logo img {
		width: 174px;
	}

	.footer__intro {
		gap: 18px;
	}

	.footer__description {
		color: #b7c4d2;
		font-size: 16px;
	}

	.footer__cta {
		gap: 20px;
		padding: 16px 16px 16px 20px;
		font-size: 16px;
	}

	.footer__body {
		gap: 52px;
	}

	.footer__grid {
		display: flex;
		flex-wrap: wrap;
		gap: 32px;
	}

	.footer__col:nth-child(1) {
		width: 176px;
		flex-shrink: 0;
	}

	.footer__col:nth-child(2) {
		flex: 1;
		min-width: 0;
	}

	.footer__col:nth-child(3) {
		width: 100%;
	}

	.footer__col-title {
		margin-bottom: 24px;
	}

	.footer__list a,
	.footer__list li {
		font-size: 16px;
	}

	.footer__list--contact {
		gap: 16px;
	}
}

@media (min-width: 640px) {
	.footer__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1024px) {
	.footer {
		padding-block: 80px 32px;
	}

	.footer__logo img {
		width: 174px;
	}

	.footer__inner {
		gap: 40px;
	}

	.footer__body {
		flex-direction: row;
		align-items: flex-start;
		gap: 80px;
	}

	.footer__intro {
		flex: 0 0 300px;
	}

	.footer__grid {
		flex: 1;
		grid-template-columns: repeat(3, 1fr);
		max-width: 700px;
		margin-left: auto;
	}

	.footer__col-title {
		font-size: 22px;
	}

	.footer__list a,
	.footer__list li {
		font-size: 17px;
	}
}

/* ==========================================================================
   Scroll reveal (generic, [data-reveal]-driven)
   ========================================================================== */

[data-reveal] {
	transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s ease;
	transform: translateY(40px);
	opacity: 0;
}

[data-reveal='left'] {
	transform: translateX(-56px);
}

[data-reveal='right'] {
	transform: translateX(56px);
}

[data-reveal].is-visible {
	transform: none;
	opacity: 1;
}

.services__grid [data-reveal]:nth-child(2) {
	transition-delay: 0.08s;
}

.services__grid [data-reveal]:nth-child(3) {
	transition-delay: 0.16s;
}

.services__grid [data-reveal]:nth-child(4) {
	transition-delay: 0.24s;
}

.areas__groups [data-reveal]:nth-child(2) {
	transition-delay: 0.12s;
}

@media (prefers-reduced-motion: reduce) {
	[data-reveal] {
		transition: none !important;
		transform: none !important;
		opacity: 1 !important;
	}
}

/* ==========================================================================
   Hover interactions
   ========================================================================== */

.btn {
	transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(11, 24, 41, 0.16);
}

.service-card__image {
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-card__image {
	transform: scale(1.06);
}

.service-card__expand {
	transition: transform 0.3s ease, background 0.3s ease;
}

.service-card:hover .service-card__expand {
	transform: scale(1.08);
	background: rgba(255, 255, 255, 0.18);
}

.work__image {
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.work__slide:hover .work__image {
	transform: scale(1.08);
}

.review-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.review-card:hover {
	background: var(--color-white);
	box-shadow: 0 16px 32px rgba(11, 24, 41, 0.1);
	transform: translateY(-4px);
}

.site-header__nav-list a {
	position: relative;
	transition: color 0.2s ease;
}

.site-header__nav-list a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 0;
	height: 2px;
	background: currentColor;
	transition: width 0.25s ease;
}

.site-header__nav-list a:hover::after {
	width: 100%;
}

.site-header__social {
	transition: opacity 0.2s ease;
}

.site-header__social:hover {
	opacity: 0.7;
}

.contact__social {
	transition: background 0.25s ease, transform 0.25s ease;
}

.contact__social:hover {
	background: rgba(255, 255, 255, 0.85);
	transform: translateY(-2px);
}

.footer__list a {
	transition: color 0.2s ease;
}

.footer__list a:hover {
	color: var(--color-white);
}

.faq__question {
	transition: background 0.25s ease;
}

.faq__question:hover {
	background: rgba(255, 255, 255, 0.9);
}

/* SECTION-ANCHOR: append next section styles below this line */