/* ==========================================================================
   Skylivin Plus Elevator — site styles
   Brand: red / ink / white, taken from the company signboard.
   ========================================================================== */

:root {
	--brand: #d7161f;
	--brand-600: #b40f17;
	--brand-700: #8f0b11;
	--brand-50: #fdeced;
	--ink: #0d1117;
	--ink-2: #161b22;
	--ink-3: #252c36;
	--body: #3c4554;
	--muted: #6b7482;
	--line: #e6e8ec;
	--surface: #f5f6f8;
	--white: #fff;

	--font-head: "Sora", system-ui, sans-serif;
	--font-body: "Manrope", system-ui, sans-serif;

	--radius-sm: 12px;
	--radius: 20px;
	--radius-lg: 28px;
	--shadow-sm: 0 1px 2px rgba(13, 17, 23, .06), 0 2px 8px rgba(13, 17, 23, .04);
	--shadow: 0 10px 30px -10px rgba(13, 17, 23, .16);
	--shadow-lg: 0 30px 60px -20px rgba(13, 17, 23, .25);
	--ease: cubic-bezier(.2, .7, .2, 1);

	--bs-body-font-family: var(--font-body);
	--bs-body-color: var(--body);
	--bs-link-color-rgb: 215, 22, 31;
	--bs-link-hover-color-rgb: 180, 15, 23;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--body);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: var(--font-head);
	color: var(--ink);
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.2;
}
img, video { max-width: 100%; }
a { text-decoration: none; transition: color .2s; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid rgba(215, 22, 31, .45); outline-offset: 2px; }

.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 2000;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.text-brand { color: var(--brand) !important; }
.flex-none { flex: none; }
.min-w-0 { min-width: 0; }
.bg-surface { background: var(--surface) !important; }

/* ---------- Buttons ---------- */
.btn {
	--bs-btn-font-weight: 600;
	border-radius: 14px;
	padding: .8rem 1.35rem;
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn-lg { padding: 1rem 1.7rem; font-size: 1.02rem; border-radius: 16px; }
.btn-sm { padding: .5rem .9rem; border-radius: 10px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-brand { background: var(--brand); color: #fff; border: 1px solid var(--brand); }
.btn-brand:hover, .btn-brand:focus-visible { background: var(--brand-600); border-color: var(--brand-600); color: #fff; box-shadow: 0 12px 24px -10px rgba(215, 22, 31, .65); }
.btn-ink { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn-ink:hover { background: var(--ink-3); color: #fff; box-shadow: var(--shadow); }
.btn-outline-ink { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn-outline-ink:hover { border-color: var(--ink); color: var(--ink); }
.btn-glass { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .35); color: #fff; backdrop-filter: blur(8px); }
.btn-glass:hover { background: #fff; color: var(--ink); }
.btn-white { background: #fff; color: var(--brand); border: 1px solid #fff; }
.btn-white:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-icon { width: 48px; height: 48px; padding: 0; border-radius: 50%; }

.link-arrow { font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow i { transition: transform .2s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink); color: #aab2bf; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 1rem; }
.topbar a { color: #dfe3e8; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--brand); margin-right: .35rem; }
.topbar__group { display: flex; gap: 1.5rem; align-items: center; }

.site-header {
	position: sticky; top: 0; z-index: 1030;
	background: rgba(255, 255, 255, .88);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(13, 17, 23, .25); }
.site-header .navbar { padding: .7rem 0; }
.brand-logo { height: 54px; width: auto; transition: height .3s; }
.site-header.is-scrolled .brand-logo { height: 46px; }

.main-nav { gap: .15rem; }
.main-nav .nav-link {
	position: relative;
	font-weight: 600; font-size: .95rem; color: var(--ink);
	padding: .55rem .95rem !important; border-radius: 999px;
	transition: background-color .2s, color .2s;
}
.main-nav .nav-link:hover { background: var(--surface); color: var(--ink); }
.main-nav .nav-link.active { color: var(--brand); }
.main-nav .nav-link.active::after {
	content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px;
	border-radius: 50%; background: var(--brand); transform: translateX(-50%);
}
.header-call { display: flex; align-items: center; gap: .65rem; color: var(--ink); font-weight: 700; line-height: 1.2; }
.header-call small { display: block; font-weight: 500; color: var(--muted); font-size: .75rem; }
.header-call__icon {
	width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
	background: var(--brand-50); color: var(--brand); font-size: 1.05rem;
}
.nav-toggle { width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; font-size: 1.5rem; color: var(--ink); }

.mobile-nav { --bs-offcanvas-width: min(360px, 88vw); }
.mobile-nav .offcanvas-header { border-bottom: 1px solid var(--line); }
.mobile-nav .nav-link {
	display: flex; justify-content: space-between; align-items: center;
	padding: .95rem .25rem; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem;
	color: var(--ink); border-bottom: 1px solid var(--line);
}
.mobile-nav .nav-link.active { color: var(--brand); }
.mobile-nav .nav-link i { color: var(--muted); font-size: .9rem; }
.mobile-nav__contact { font-size: .92rem; }
.mobile-nav__contact a { color: var(--ink); font-weight: 600; }

/* ---------- Typography helpers ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: .6rem;
	font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
	color: var(--brand); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: var(--brand); }

.section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--surface { background: var(--surface); }
.section--ink { background: var(--ink); color: #aab2bf; }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.text-center { margin-inline: auto; }
.section-title { font-size: clamp(1.85rem, 1.2rem + 2.2vw, 3rem); margin-bottom: 1rem; }
.section-lead { font-size: 1.08rem; color: var(--muted); }
.section--ink .section-lead { color: #9aa3b0; }

/* ---------- Home hero slider ---------- */
.hero {
	position: relative; overflow: hidden; isolation: isolate;
	margin: 0 12px; border-radius: var(--radius-lg);
	min-height: 600px; height: min(86vh, 820px);
	background: var(--ink); color: #fff;
}
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); }
.hero__slide.is-active .hero__bg { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.0); } }
.hero__slide::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(8, 10, 14, .88) 0%, rgba(8, 10, 14, .62) 45%, rgba(8, 10, 14, .15) 100%),
		linear-gradient(0deg, rgba(8, 10, 14, .7) 0%, transparent 40%);
}
.hero__content {
	position: relative; z-index: 2; height: 100%;
	display: flex; flex-direction: column; justify-content: center;
	padding-bottom: 150px;
}
.hero__content > * { max-width: 700px; }
.hero__chip {
	display: inline-flex; align-self: flex-start; align-items: center; gap: .5rem;
	padding: .45rem .9rem; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px);
}
.hero__chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(215, 22, 31, .3); }
.hero__title { color: #fff; font-size: clamp(2.2rem, 1.1rem + 4.2vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; margin: 1.25rem 0 1.1rem; }
.hero__text { font-size: clamp(1rem, .95rem + .35vw, 1.2rem); color: rgba(255, 255, 255, .8); max-width: 560px; margin-bottom: 2rem; }
.hero__slide .hero__chip, .hero__slide .hero__title, .hero__slide .hero__text, .hero__slide .hero__actions {
	opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.hero__slide.is-active .hero__chip { opacity: 1; transform: none; transition-delay: .25s; }
.hero__slide.is-active .hero__title { opacity: 1; transform: none; transition-delay: .4s; }
.hero__slide.is-active .hero__text { opacity: 1; transform: none; transition-delay: .55s; }
.hero__slide.is-active .hero__actions { opacity: 1; transform: none; transition-delay: .7s; }

.hero__controls {
	position: absolute; z-index: 3; left: 0; right: 0; bottom: 88px; /* clears the overlapping stats card */
	display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.hero__progress { display: flex; align-items: center; gap: 1rem; font-family: var(--font-head); font-weight: 600; font-size: .9rem; }
.hero__bars { display: flex; gap: 8px; }
.hero__bar { width: 44px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(255, 255, 255, .25); overflow: hidden; cursor: pointer; }
.hero__bar span { display: block; height: 100%; width: 0; background: #fff; }
.hero__bar.is-active span { animation: heroBar var(--hero-delay, 6s) linear forwards; }
.hero.is-paused .hero__bar.is-active span { animation-play-state: paused; }
@keyframes heroBar { to { width: 100%; } }
.hero__arrows { display: flex; gap: .5rem; }
.hero__arrows .btn-icon { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); color: #fff; backdrop-filter: blur(8px); }
.hero__arrows .btn-icon:hover { background: #fff; color: var(--ink); }

.hero__card {
	position: absolute; z-index: 3; right: 32px; top: 50%; transform: translateY(-50%);
	width: 280px; padding: 1.4rem; border-radius: var(--radius);
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
	backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #fff;
}
.hero__card-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--brand); display: grid; place-items: center; font-size: 1.25rem; margin-bottom: 1rem; }
.hero__card strong { font-family: var(--font-head); font-size: 1.1rem; display: block; }
.hero__card a { color: #fff; font-weight: 700; font-size: 1.2rem; }

/* ---------- Stats ---------- */
.stats {
	position: relative; z-index: 5; margin-top: -56px;
	background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
	display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat { padding: 1.9rem 1.6rem; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: var(--line); }
.stat__value { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem); color: var(--ink); line-height: 1; letter-spacing: -.03em; }
.stat__value span { color: var(--brand); }
.stat__label { color: var(--muted); font-size: .92rem; margin-top: .5rem; line-height: 1.45; }
.stats--flat { margin-top: 0; box-shadow: none; border: 1px solid var(--line); }

/* ---------- Split media ---------- */
.media-frame { position: relative; }
.media-frame__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.media-frame::before {
	content: ""; position: absolute; z-index: -1; inset: 28px -18px -18px 28px; border-radius: var(--radius-lg);
	background: repeating-linear-gradient(-45deg, var(--brand) 0 14px, transparent 14px 28px);
	opacity: .14;
}
.media-badge {
	position: absolute; left: -20px; bottom: 32px;
	background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
	padding: 1rem 1.2rem; display: flex; gap: .9rem; align-items: center; max-width: 280px;
}
.media-badge__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1.3rem; }
.media-badge strong { display: block; font-family: var(--font-head); color: var(--ink); line-height: 1.25; }
.media-badge small { color: var(--muted); }

.check-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; font-weight: 600; color: var(--ink); }
.check-list li::before {
	content: "\F26E"; font-family: "bootstrap-icons"; flex: none;
	width: 24px; height: 24px; border-radius: 50%; background: var(--brand-50); color: var(--brand);
	display: grid; place-items: center; font-size: .95rem; margin-top: .15rem;
}
.section--ink .check-list li { color: #e8ebef; }
.section--ink .check-list li::before { background: rgba(215, 22, 31, .18); }

/* ---------- Cards ---------- */
.icon-tile {
	width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
	background: var(--brand-50); color: var(--brand); font-size: 1.5rem;
	transition: background-color .3s, color .3s, transform .3s var(--ease);
}
.feature-card {
	height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 2rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feature-card h3 { font-size: 1.2rem; margin: 1.35rem 0 .6rem; }
.feature-card p { color: var(--muted); margin: 0; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card:hover .icon-tile { background: var(--brand); color: #fff; transform: rotate(-6deg); }

.service-card { position: relative; overflow: hidden; }
.service-card__num {
	position: absolute; right: 1.5rem; top: 1rem;
	font-family: var(--font-head); font-weight: 800; font-size: 3.2rem; line-height: 1;
	color: transparent; -webkit-text-stroke: 1px var(--line);
}

/* Product overlay card (home) */
.product-card {
	position: relative; display: block; overflow: hidden; border-radius: var(--radius);
	aspect-ratio: 4 / 5; background: var(--ink); color: #fff; isolation: isolate;
}
.product-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); z-index: -2; }
.product-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 10, 14, 0) 35%, rgba(8, 10, 14, .9) 100%); }
.product-card:hover img { transform: scale(1.07); }
.product-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.product-card__cat { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .7); }
.product-card h3 { color: #fff; font-size: 1.3rem; margin: .35rem 0 0; }
.product-card__go {
	flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
	background: #fff; color: var(--ink); transition: background-color .3s, color .3s, transform .3s var(--ease);
}
.product-card:hover .product-card__go { background: var(--brand); color: #fff; transform: rotate(-45deg); }

/* Product tile (listing) */
.product-tile {
	height: 100%; display: flex; flex-direction: column; overflow: hidden;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-tile__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.product-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-tile:hover .product-tile__media img { transform: scale(1.06); }
.product-tile__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-tile__cat { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.product-tile h3 { font-size: 1.25rem; margin: .45rem 0 .6rem; }
.product-tile h3 a { color: inherit; }
.product-tile h3 a::after { content: ""; position: absolute; inset: 0; }
.product-tile { position: relative; }
.product-tile p { color: var(--muted); flex: 1; }

/* Solution cards (dark) */
.solution-card {
	position: relative; height: 100%; display: flex; flex-direction: column;
	background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius);
	padding: 2rem; transition: border-color .3s, transform .3s var(--ease), background-color .3s;
}
.solution-card:hover { border-color: rgba(215, 22, 31, .6); transform: translateY(-6px); background: #1b212a; }
.solution-card .icon-tile { background: rgba(215, 22, 31, .15); }
.solution-card h3 { color: #fff; font-size: 1.3rem; margin: 1.4rem 0 .7rem; }
.solution-card p { color: #9aa3b0; flex: 1; }
.solution-card .link-arrow { color: #fff; }

/* Solution rows (listing) */
.solution-row + .solution-row { margin-top: clamp(56px, 7vw, 96px); }
.solution-row__img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); }
.solution-row__index { font-family: var(--font-head); font-weight: 800; color: var(--brand); font-size: .9rem; letter-spacing: .12em; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; left: 12%; right: 12%; top: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); }
.process__step { position: relative; text-align: center; padding: 0 .5rem; }
.process__num {
	width: 58px; height: 58px; margin: 0 auto 1.25rem; border-radius: 50%; position: relative;
	display: grid; place-items: center; background: #fff; border: 2px solid var(--brand); color: var(--brand);
	font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; box-shadow: 0 0 0 8px #fff;
}
.section--surface .process__num { box-shadow: 0 0 0 8px var(--surface); }
.process__step h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.process__step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Video cards */
.video-card {
	position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden;
	border-radius: var(--radius); background: var(--ink); aspect-ratio: 4 / 5; cursor: pointer; text-align: left;
}
.video-card video, .video-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 10, 14, .05) 40%, rgba(8, 10, 14, .85)); }
.video-card:hover video, .video-card:hover img { transform: scale(1.05); }
.video-card__play {
	position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
	background: rgba(255, 255, 255, .92); color: var(--brand); font-size: 1.9rem; padding-left: 4px;
	box-shadow: 0 0 0 10px rgba(255, 255, 255, .18); transition: transform .3s var(--ease), background-color .3s, color .3s;
}
.video-card:hover .video-card__play { transform: translate(-50%, -50%) scale(1.08); background: var(--brand); color: #fff; }
.video-card__meta { position: absolute; z-index: 2; left: 1.25rem; right: 1.25rem; bottom: 1.1rem; color: #fff; }
.video-card__meta strong { font-family: var(--font-head); display: block; font-size: 1.05rem; }
.video-card__meta small { color: rgba(255, 255, 255, .75); }
.video-modal .modal-content { background: #000; border: 0; border-radius: var(--radius); overflow: hidden; }
.video-modal video { display: block; width: 100%; max-height: 82vh; background: #000; }
.video-modal .btn-close { position: absolute; z-index: 5; right: 12px; top: 12px; background-color: #fff; border-radius: 50%; padding: .6rem; opacity: 1; }

/* Testimonials */
.quote-card { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; }
.quote-card__stars { color: #f5a524; letter-spacing: 2px; }
.quote-card blockquote { font-size: 1.05rem; color: var(--ink); margin: 1rem 0 1.5rem; flex: 1; }
.quote-card__who { display: flex; gap: .8rem; align-items: center; }
.quote-card__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.quote-card__who strong { display: block; color: var(--ink); }
.quote-card__who small { color: var(--muted); }

/* Gallery collage (about) */
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.collage img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.collage__col { display: grid; gap: 1rem; align-content: start; }
.collage__col:nth-child(2) { margin-top: 3rem; }
.collage__col img:nth-child(1) { aspect-ratio: 3 / 4; }
.collage__col img:nth-child(2) { aspect-ratio: 1 / 1; }

/* Credentials */
.credentials { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.credential { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; min-width: 0; }
.credential__icon { flex: none; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(145deg, #ef3b43, var(--brand-600)); color: #fff; display: grid; place-items: center; font-size: 1.2rem; }
.credential small { display: block; font-weight: 700; color: var(--ink); font-family: var(--font-head); }
.credential span, .credential a { color: var(--body); font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Inner page hero ---------- */
.page-hero {
	position: relative; overflow: hidden; isolation: isolate;
	margin: 0 12px; border-radius: var(--radius-lg);
	background: var(--ink); color: #fff;
	padding: clamp(72px, 10vw, 140px) 0 clamp(56px, 7vw, 96px);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.page-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(8, 10, 14, .9) 0%, rgba(8, 10, 14, .65) 55%, rgba(8, 10, 14, .35) 100%);
}
.page-hero::after {
	content: ""; position: absolute; right: -40px; bottom: -40px; width: 240px; height: 240px; z-index: -1;
	background: repeating-linear-gradient(-45deg, var(--brand) 0 16px, transparent 16px 34px);
	opacity: .55; clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 1.2rem + 3.4vw, 4rem); font-weight: 800; letter-spacing: -.035em; max-width: 820px; margin-bottom: 1rem; }
.page-hero p { color: rgba(255, 255, 255, .8); font-size: clamp(1rem, .95rem + .3vw, 1.18rem); max-width: 640px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: .88rem; color: rgba(255, 255, 255, .6); }
.crumbs a { color: rgba(255, 255, 255, .85); }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: rgba(255, 255, 255, .35); }

/* ---------- Rich content ---------- */
.prose { color: var(--body); font-size: 1.04rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.3rem; margin: 2rem 0 .8rem; }
.prose p { margin-bottom: 1.1rem; }
.prose a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding-left: 1.9rem; margin-bottom: .65rem; }
.prose ul li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .05rem; color: var(--brand); font-size: 1.15rem; }
.prose ol { padding-left: 1.3rem; }
.prose ol li { margin-bottom: .65rem; padding-left: .3rem; }
.prose ol li::marker { color: var(--brand); font-weight: 800; font-family: var(--font-head); }
.prose strong { color: var(--ink); }
.prose img { border-radius: var(--radius); height: auto; }
.prose blockquote { border-left: 4px solid var(--brand); padding: .5rem 0 .5rem 1.25rem; font-size: 1.15rem; color: var(--ink); }
.prose table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .95rem; margin: 0; }
.prose th { background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.prose th, .prose td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.prose tbody tr:nth-child(even) td { background: var(--surface); }
.prose tbody tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 1.5rem 0; }

/* Sidebar */
.side-card { background: var(--surface); border-radius: var(--radius); padding: 1.75rem; }
.side-card--ink { background: var(--ink); color: #aab2bf; }
.side-card--ink h3 { color: #fff; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list a { display: flex; justify-content: space-between; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.side-list li:last-child a { border-bottom: 0; }
.side-list a:hover, .side-list a.active { color: var(--brand); }
.sticky-side { position: sticky; top: 110px; }

/* ---------- Contact ---------- */
.contact-card { display: flex; gap: 1rem; padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); height: 100%; transition: box-shadow .3s, transform .3s var(--ease); }
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-card small { display: block; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .72rem; color: var(--muted); margin-bottom: .3rem; }
.contact-card a, .contact-card span { color: var(--ink); font-weight: 700; word-break: break-word; }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.75rem); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-label { font-weight: 700; color: var(--ink); font-size: .9rem; margin-bottom: .4rem; }
.form-control, .form-select {
	background-color: var(--surface); border: 1px solid transparent; border-radius: 14px;
	padding: .85rem 1rem; font-size: 1rem; color: var(--ink);
	transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.form-control:focus, .form-select:focus { background-color: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(215, 22, 31, .12); }
.form-control.is-invalid { border-color: #dc3545; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.map-embed { width: 100%; height: 100%; min-height: 380px; border: 0; border-radius: var(--radius-lg); filter: grayscale(.25); display: block; }
.alert { border-radius: var(--radius-sm); border: 0; }

/* ---------- CTA band ---------- */
.cta-band {
	position: relative; overflow: hidden; isolation: isolate;
	border-radius: var(--radius-lg); padding: clamp(2.5rem, 5vw, 4rem);
	background: linear-gradient(120deg, var(--brand) 0%, var(--brand-600) 60%, var(--brand-700) 100%); color: #fff;
}
.cta-band::after {
	content: ""; position: absolute; z-index: -1; right: -60px; top: -60px; bottom: -60px; width: 45%;
	background: repeating-linear-gradient(-60deg, rgba(13, 17, 23, .55) 0 22px, transparent 22px 44px);
	clip-path: polygon(35% 0, 100% 0, 100% 100%, 0 100%);
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem); margin-bottom: .75rem; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0; max-width: 560px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9aa3b0; margin-top: clamp(64px, 8vw, 112px); position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--ink-3) 0 38%, var(--brand) 38% 62%, var(--ink-3) 62%); }
.site-footer.has-cta { margin-top: 0; }
.footer-cta-wrap { position: relative; z-index: 2; margin-bottom: -90px; }
.site-footer.has-cta .footer-main { padding-top: calc(90px + clamp(48px, 6vw, 80px)); }
.footer-main { padding: clamp(48px, 6vw, 80px) 0 2.5rem; }
.footer-logo { display: inline-block; background: #fff; padding: .7rem 1rem; border-radius: 16px; }
.footer-logo img { height: 52px; width: auto; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-links a { color: #aab2bf; }
.footer-links a:hover { color: #fff; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.footer-contact li { display: flex; gap: .8rem; }
.footer-contact i { color: var(--brand); font-size: 1.1rem; margin-top: .1rem; }
.footer-contact a { color: #dfe3e8; }
.footer-contact a:hover { color: #fff; }
.social { display: flex; gap: .5rem; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: #fff; transition: background-color .2s, transform .2s var(--ease); }
.social a:hover { background: var(--brand); transform: translateY(-3px); }
.footer-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.footer-badge { font-size: .8rem; padding: .4rem .75rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); color: #cfd4db; }
.footer-badge b { color: #fff; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.4rem 0; font-size: .88rem; }
.footer-bottom a { color: #cfd4db; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Floating actions ---------- */
.fab-stack { position: fixed; right: 18px; bottom: 18px; z-index: 1040; display: grid; gap: .6rem; }
.fab {
	width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.45rem; color: #fff;
	box-shadow: 0 12px 26px -8px rgba(0, 0, 0, .4); transition: transform .2s var(--ease), opacity .3s, visibility .3s;
}
.fab:hover { transform: scale(1.08); color: #fff; }
.fab--wa { background: #25d366; }
.fab--call { background: var(--brand); }
.fab--top { background: var(--ink); font-size: 1.1rem; border: 0; opacity: 0; visibility: hidden; }
.fab--top.is-visible { opacity: 1; visibility: visible; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
	.hero, .page-hero { margin: 0 20px; }
}
@media (max-width: 1199.98px) {
	.hero__card { display: none; }
}
@media (max-width: 991.98px) {
	.brand-logo { height: 46px; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(3)::before { display: none; }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
	.process { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
	.process::before { display: none; }
	.media-badge { left: 16px; }
	.sticky-side { position: static; }
	.footer-cta-wrap { margin-bottom: -70px; }
	.site-footer.has-cta .footer-main { padding-top: calc(70px + 48px); }
	.cta-band::after { width: 60%; opacity: .5; }
}
@media (max-width: 575.98px) {
	.brand-logo { height: 40px; }
	.site-header.is-scrolled .brand-logo { height: 38px; }
	.hero { min-height: 560px; height: 88svh; }
	.hero__content { justify-content: flex-end; padding-bottom: 150px; }
	.hero__actions .btn { flex: 1 1 auto; }
	.hero__controls { bottom: 76px; }
	.hero__bar { width: 28px; }
	.stat { padding: 1.4rem 1.1rem; }
	.process { grid-template-columns: 1fr; }
	.collage__col:nth-child(2) { margin-top: 1.5rem; }
	.feature-card, .solution-card, .quote-card { padding: 1.5rem; }
	.fab { width: 50px; height: 50px; font-size: 1.3rem; }
	.cta-band .btn { width: 100%; }
}
