/* ==========================================================================
   Homepage sections: hero, clients card, services band, about + numbers,
   why-us cards.
   ========================================================================== */

/* Hero ------------------------------------------------------------------ */
.hero { position: relative; min-height: max(640px, 100svh); display: flex; overflow: hidden; isolation: isolate; background: var(--black); color: var(--white); }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; animation: dh-zoom 2.4s var(--ease) both; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s; }
.hero__video.is-playing { opacity: 1; }
.hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .55) 100%); }
/* Overlay layer: empty by default, set in Elementor → Style → Image overlay. */
.hero__shade { position: absolute; inset: 0; pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto; gap: 24px; padding-top: calc(var(--header-h) + 8px); padding-bottom: 16px; }
.hero__title { grid-column: 1; grid-row: 1; min-width: 0; font-size: clamp(56px, 9.2vw, 164px); line-height: .9; letter-spacing: -.055em; text-transform: uppercase; }
.hero__title em { color: rgba(255, 255, 255, .55); }
.hero__card { grid-column: 2; grid-row: 1; align-self: start; margin-top: 12px; }
.hero__foot { grid-column: 1 / -1; grid-row: 3; display: grid; gap: 22px; }
.hero__eyebrow { max-width: 320px; margin: 0; font-size: 14px; font-weight: 700; line-height: 1.35; text-transform: uppercase; }
.hero__socials { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.hero__socials a { display: flex; justify-content: center; padding: 12px; border-radius: var(--radius-sm); background: rgba(40, 40, 40, .6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 13px; font-weight: 700; text-transform: uppercase; transition: background .3s; }
.hero__socials a:hover { background: var(--blue); }

/* Clients card ---------------------------------------------------------- */
.clients { padding: 20px 0 clamp(48px, 6vw, 80px); background: var(--black); }
.clients__card { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--white); }
.statement { margin: 0; font-weight: 800; letter-spacing: -.03em; }
.statement--card { max-width: 1100px; font-size: clamp(30px, 4vw, 60px); line-height: 1.12; }
.clients__since { margin: clamp(56px, 8vw, 120px) 0 24px; font-size: clamp(40px, 5vw, 72px); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.clients__logos { --speed: 40s; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.clients__logos li { display: grid; place-items: center; min-width: 200px; height: 84px; margin-right: 10px; padding: 0 28px; border-radius: 10px; background: var(--gray); font-size: 22px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.clients__logos img { max-height: 44px; width: auto; filter: grayscale(1); }
.clients__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.clients__groups .label { color: var(--black); margin-bottom: 8px; }

/* Services band --------------------------------------------------------- */
.services { position: relative; background: var(--gray); color: var(--black); }
.services__curve { display: block; width: 100%; height: clamp(28px, 4vw, 60px); fill: var(--gray); }
.services__curve--top { margin-top: -1px; margin-bottom: -1px; background: var(--white); }
.services__curve--bottom { margin-top: -1px; background: var(--black); }
.services__inner { padding-block: clamp(40px, 6vw, 88px); }
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.services__head .label { margin: 0; order: 2; color: var(--muted); }
.services__title { font-size: clamp(48px, 8vw, 132px); line-height: .95; letter-spacing: -.045em; text-transform: uppercase; }
.services__title em { color: var(--blue); }
.services__cta { margin-top: clamp(32px, 4vw, 56px); text-align: center; }

/* Bento grid: 6 columns; rows of three cards then two wider cards (repeats). */
.bento-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bento-card { grid-column: span 2; display: flex; flex-direction: column; padding: 8px; border-radius: 16px; background: var(--white); box-shadow: 0 1px 2px rgba(11, 11, 11, .04), 0 0 0 1px rgba(11, 11, 11, .05); color: var(--black); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.bento-card:nth-child(5n+4), .bento-card:nth-child(5n) { grid-column: span 3; }
.bento-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(11, 11, 11, .25), 0 0 0 1px rgba(11, 11, 11, .06); }
.bento-card__media { position: relative; display: grid; place-items: center; height: clamp(190px, 17vw, 250px); overflow: hidden; border-radius: 10px; background-color: #f6f7f9; background-image: linear-gradient(rgba(11, 11, 11, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 11, 11, .045) 1px, transparent 1px); background-size: 28px 28px; box-shadow: inset 0 0 0 1px rgba(11, 11, 11, .05); }
.bento-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bento-card:hover .bento-card__media img { transform: scale(1.04); }
.bento-card__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; } /* overlay layer (Elementor → Style → Image overlay) */
.bento-card__icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 22px; background: linear-gradient(160deg, color-mix(in srgb, var(--blue) 75%, #fff), var(--blue)); color: var(--white); box-shadow: 0 18px 30px -12px color-mix(in srgb, var(--blue) 60%, transparent), inset 0 1px 0 rgba(255, 255, 255, .4); transition: transform .7s var(--ease); }
.bento-card__icon svg { width: 38px; height: 38px; }
.bento-card:hover .bento-card__icon { transform: translateY(-6px) rotate(-6deg); }
.bento-card__body { display: grid; gap: 6px; padding: 18px 12px 12px; }
.bento-card__title { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.bento-card__arrow { flex: none; width: 18px; height: 18px; margin-top: 2px; opacity: 0; transform: translate(-6px, 6px); transition: opacity .4s, transform .5s var(--ease); }
.bento-card:hover .bento-card__arrow { opacity: 1; transform: none; color: var(--blue); }
.bento-card__text { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* About + numbers ------------------------------------------------------- */
.intro { padding-block: clamp(72px, 9vw, 140px); background: var(--black); color: var(--white); }
.intro .label { color: rgba(255, 255, 255, .7); }
.statement--dark { max-width: 1150px; font-size: clamp(26px, 3.2vw, 48px); line-height: 1.2; letter-spacing: -.025em; }
.statement--dark span { color: rgba(255, 255, 255, .22); }
.statement--dark span.is-lit { color: var(--white); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: clamp(64px, 8vw, 120px) 0 0; }
.stats__item { display: flex; flex-direction: column; }
.stats__mark { width: 10px; height: 10px; margin-bottom: 20px; background: rgba(255, 255, 255, .25); }
.stats__item:nth-child(odd) .stats__mark { background: var(--blue); }
.stats dd { margin: 0; font-size: clamp(48px, 6.4vw, 104px); font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.stats dt { margin-top: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .18); font-size: 14px; color: rgba(255, 255, 255, .7); }
.stats__item:nth-child(odd) dt { border-color: var(--blue); }
/* Odometer digits */
.odometer { display: inline-flex; }
.odometer > span { display: inline-flex; }
.odo { display: inline-block; width: .64em; height: 1em; overflow: hidden; line-height: 1; text-align: center; }
.odo__col { display: block; transform: translate3d(0, calc(var(--n) * -1em), 0); transition: transform 1.8s var(--ease); transition-delay: calc(var(--i) * 90ms + 200ms); }
.dh-js .stats__item:not(.is-in) .odo__col { transform: none; }
.odo__sym { color: var(--blue); }

/* Why us: sticky title, cards scroll over it ---------------------------- */
.reasons { padding-block: clamp(80px, 10vw, 150px); }
.reasons__sticky { position: sticky; top: calc(50svh - 140px); z-index: 0; }
.reasons__sticky .head { margin: 0; }
.reasons__cards { position: relative; z-index: 1; display: grid; gap: clamp(40px, 8vw, 120px); margin-top: 18vh; }
.reason-card { display: flex; flex-direction: column; gap: 28px; width: min(560px, 100%); min-height: 340px; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--radius); background: var(--gray); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .25); }
.reason-card:nth-child(even) { justify-self: end; }
.reason-card--1 { background: var(--sun-soft); }
.reason-card--2 { background: var(--blue); color: var(--white); }
.reason-card--3 { background: var(--black); color: var(--white); }
.reason-card__tag { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .7; }
.reason-card__text { margin: 0; font-size: clamp(22px, 2vw, 30px); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.reason-card__foot { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.reason-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: var(--white); }
.reason-card--3 .reason-card__icon, .reason-card--2 .reason-card__icon { background: var(--white); color: var(--black); }
.reason-card__icon svg { width: 20px; height: 20px; }
.reason-card__foot strong { display: block; font-size: 15px; }
.reason-card__foot small { display: block; font-size: 12px; opacity: .6; }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 900px) {
	.hero__inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; }
	.hero__card { grid-column: 1; grid-row: 2; }
	.hero__foot { grid-row: 4; }
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
	.bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bento-card, .bento-card:nth-child(5n+4), .bento-card:nth-child(5n) { grid-column: auto; }
	.bento-card:nth-child(5n) { grid-column: 1 / -1; }
	.clients__groups { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.hero__socials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bento-grid { grid-template-columns: minmax(0, 1fr); }
	.bento-card, .bento-card:nth-child(5n) { grid-column: auto; }
	.services__head { flex-direction: column; align-items: flex-start; }
	.services__head .label { order: 0; }
	.reason-card { min-height: 280px; }
	.reasons__sticky { top: calc(var(--header-h) + 24px); }
	.reasons__cards { margin-top: 48px; }
}
