/* ============================================================
   Home — homepage sections
   ============================================================ */

/* shared full-bleed left gutter that lines up with .container */
:root { --gutter-l: max(var(--pad), calc((100vw - var(--container)) / 2)); }

/* ============================== HERO ============================== */
.hero {
	text-align: center;
	padding: clamp(48px, 8vw, 120px) var(--pad) clamp(32px, 4vw, 40px);
	overflow: hidden;
}
.hero__title { position: relative; display: inline-block; max-width: 100%; }
.hero__big { display: flex; flex-direction: column; }
.hero__word {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: var(--fs-giant);
	line-height: 0.85;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--cream);
}
.hero__overlay {
	position: absolute;
	left: 50%; top: 50%;
	transform: translate(-50%, -50%);
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(1.5rem, 6vw, 5rem);
	line-height: 1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--rose);
	white-space: nowrap;
	margin: 0;
}
.hero__sub {
	font-size: var(--fs-lead);
	line-height: 1.25;
	max-width: 30ch;
	margin: clamp(16px, 2vw, 24px) auto 0;
}
.hero__cta { margin-top: clamp(24px, 3vw, 32px); display: flex; justify-content: center; }

/* ============================== STATEMENTS ============================== */
.statements__inner { padding-top: 40px; padding-bottom: var(--section-y); }
.statements__row { display: flex; align-items: stretch; gap: 24px; }
.statement {
	flex: 1 1 0;
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	text-align: center;
	padding: 16px;
}
.statement:not(:first-child) { border-left: 1px solid var(--line); }
.statement .icon { width: 24px; height: 24px; color: var(--sage); }
.statement__text { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.4; }

/* ============================== BAND + MARQUEE ============================== */
.home-band {
	position: relative;
	background: var(--placeholder);
	min-height: clamp(360px, 42vw, 720px);
	display: flex;
	align-items: flex-end;
	overflow: hidden;
}
.home-band__img { position: absolute; inset: 0; }
.home-band__img img { width: 100%; height: 100%; object-fit: cover; }
.home-band__marquee { position: relative; width: 100%; padding-block: clamp(20px, 3vw, 40px); }

/* ============================== SOLUTIONS ============================== */
.solutions { background: var(--rose); position: relative; overflow: hidden; }
.solutions__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	min-height: clamp(420px, 40vw, 640px);
}
.solutions__text {
	display: flex; flex-direction: column; justify-content: center; gap: 24px;
	padding-block: clamp(40px, 5vw, 64px);
	padding-inline: var(--gutter-l) clamp(24px, 4vw, 64px);
}
.solutions__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--fs-h2);
	line-height: 1.1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--cream);
}
.solutions__text p { font-size: var(--fs-body-lg); line-height: 1.35; color: var(--ink); }
.solutions__text > .btn { align-self: flex-start; margin-top: 24px; }
.solutions__media { position: relative; min-height: 320px; background: #f5f5f5; }
.solutions__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============================== TRETMANI (carousel) ============================== */
.tretmani { padding-block: var(--section-y); }
.tretmani__head { margin-bottom: 40px; }
.tretmani__track {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 8px var(--gutter-l) 24px;
}
.tretmani__track::-webkit-scrollbar { display: none; }
.t-card {
	flex: 0 0 clamp(280px, 30vw, 448px);
	scroll-snap-align: center;
	display: flex; flex-direction: column; gap: 16px;
	padding: 16px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	transition: box-shadow 0.3s var(--ease);
}
.t-card__img { border-radius: var(--radius-img); overflow: hidden; background: var(--placeholder); aspect-ratio: 416 / 368; }
.t-card__img img { width: 100%; height: 100%; object-fit: cover; }
.t-card__title {
	font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h4);
	letter-spacing: 0.04em; text-transform: uppercase; color: var(--rose);
}
.t-card__extra { display: none; flex-direction: column; gap: 16px; padding: 0 16px 12px; }
.t-card__extra p { font-size: var(--fs-body); line-height: 1.45; }
.t-card__cta { border-top: 1px solid var(--line); padding-top: 12px; }
.t-card.is-active { box-shadow: var(--shadow-card); }
.t-card.is-active .t-card__extra { display: flex; }
.t-card:not(.is-active) { cursor: pointer; }

/* ============================== TIM ============================== */
.tim { background: var(--tan); padding-block: var(--section-y); }
.tim__head { margin-bottom: 40px; }
.tim__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.tim-card {
	background: var(--cream);
	border-radius: var(--radius-card);
	padding: 48px 32px;
	display: flex; flex-direction: column; gap: 16px;
}
.tim-card__avatar {
	width: 240px; max-width: 100%;
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	background: var(--placeholder);
	margin: 0 auto 8px;
}
.tim-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.tim-card__name {
	font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h3);
	line-height: 1.15; letter-spacing: 0.04em; text-transform: uppercase; color: var(--rose);
}
.tim-card__role { font-size: var(--fs-body); color: var(--ink); }
.tim__cta { margin-top: 40px; }

/* ============================== CTA BAND ============================== */
.cta-band {
	position: relative;
	background: var(--rose);
	color: var(--white);
	text-align: center;
	padding-block: clamp(72px, 12vw, 160px);
	overflow: hidden;
}
.cta-band__img { position: absolute; inset: 0; }
.cta-band__img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.cta-band__inner {
	position: relative;
	max-width: 960px; margin-inline: auto;
	padding-inline: var(--pad);
	display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.cta-band__title {
	font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2);
	line-height: 1.1; letter-spacing: 0.04em; text-transform: uppercase; color: var(--white);
}
.cta-band__text { font-size: var(--fs-lead); line-height: 1.25; }
.cta-band .btn--outline { margin-top: 8px; }

/* ============================== REVIEWS ============================== */
.reviews { padding-block: var(--section-y); }
.reviews__inner { display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.reviews__head { width: 100%; }
.reviews__viewport { width: 100%; max-width: 960px; }
.review__quote { font-size: var(--fs-lead); line-height: 1.25; }
.review__name { font-weight: 600; font-size: var(--fs-body-lg); margin-top: 24px; }
.reviews__slide { display: none; }
.reviews__slide.is-active { display: block; }

/* ============================== RESPONSIVE ============================== */
@media (max-width: 1024px) {
	.solutions__inner { grid-template-columns: 1fr; }
	.solutions__text { padding-inline: var(--pad); order: 2; }
	.solutions__media { order: 1; min-height: 320px; }
	.tim__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
	.statements__row { flex-wrap: wrap; gap: 8px; }
	.statement { flex: 1 1 calc(50% - 8px); min-width: 0; padding: 16px 8px; }
	.statement__text { overflow-wrap: anywhere; }
	.statement:not(:first-child) { border-left: 0; }
	.tim__grid { grid-template-columns: 1fr; }
	.tim-card { padding: 32px 24px; }
	.tim-card__avatar { width: 200px; }
}
