/* =====================================================================
   Taqniyat — main stylesheet
   Tokens: see design-system.md
   ===================================================================== */

:root {
	--color-primary:     #01A982;
	--color-accent:      #14D5AA;
	--color-dark:        #1D1F27;
	--color-neutral-100: #F7F7F7;
	--color-neutral-300: #D5D5D5;
	--color-text:        #1D1F27;
	--color-white:       #FFFFFF;

	--font-family-base: "HPE Graphik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--section-padding-y: 100px;
	--container-max:     1320px;

	--fs-h1: 82px; --fs-h2: 56px; --fs-h3: 42px;
	--fs-h4: 32px; --fs-h5: 24px; --fs-p: 20px;

	--radius-sm: 6px;
	--radius-md: 12px;
	--radius-lg: 24px;

	--shadow-sm: 0 2px 8px rgba(0,0,0,.06);
	--shadow-md: 0 8px 24px rgba(0,0,0,.10);

	--ease: cubic-bezier(.2,.7,.2,1);
}

/* Responsive type scale */
@media (max-width: 1600px) {
	:root { --fs-h1:64px; --fs-h2:42px; --fs-h3:32px; --fs-h4:24px; --fs-h5:20px; --fs-p:16px; }
}
@media (max-width: 1440px) {
	:root { --fs-h1:52px; --fs-h2:42px; --fs-h3:28px; --fs-h4:24px; --fs-h5:16px; --fs-p:14px; }
}
@media (max-width: 768px) {
	:root { --fs-h1:36px; --fs-h2:28px; --fs-h3:24px; --fs-h4:22px; --fs-h5:18px; --fs-p:15px; --section-padding-y:40px; }
	/* Hide hero up/down arrows on mobile. */
	.hero-arrows { display: none !important; }
	/* Center-align hero heading with more line height on mobile.
	   Right padding clears the sticky social rail so larger text doesn't get cut off. */
	.hero-slide__inner { text-align: center; padding-right: 56px; padding-left: 24px; }
	.hero-slide__heading {
		text-align: center;
		line-height: 1.8 !important;
		max-width: none;
	}
	.hero-slide__sub { text-align: center; margin-inline: auto; }
	.hero-slide__cta { display: inline-flex; }
	/* Suppress hard line-breaks in storage heading on mobile so "with" doesn't dangle. */
	.section-storage__heading br { display: none; }
	/* Tighten heading→content spacing on every section. */
	.section-partnership h2,
	.section-videos h2,
	.section-benefits h2,
	.section-insights h2,
	.section-form h2 { margin-bottom: 24px !important; font-weight: 500 !important; }
	.section-storage__heading { margin-bottom: 16px; font-weight: 500; }
	/* Scroll-to-top — lift above mobile browser bottom UI. */
	.scroll-top { right: 16px !important; bottom: 80px !important; }
	/* Footer tighter on mobile. */
	.site-footer { padding: 12px 0; }
	/* Sticky social — hidden on mobile (covers content). Use footer social instead. */
	.sticky-social { display: none !important; }
	/* Footer social icons visible on mobile. */
	.site-footer__inner { flex-wrap: wrap; gap: 12px; justify-content: center; }
	.site-footer__social { display: flex !important; }
	/* Storage layout: single column with tight gap; trim image space. */
	.section-storage .layout { gap: 8px; align-items: start; }
	.section-storage .product { padding: 0; }
	.section-storage .product img { max-height: 220px; object-fit: contain; margin: 0 auto; }
	.section-storage { padding-bottom: 24px; }
	/* Form box: tighter inner padding + minimal gap to footer. */
	.section-form { padding-block: 24px 16px; }
	.section-form .form-wrap { padding: 32px 20px; }
	/* Benefit cards: tighter on mobile. */
	.benefit { padding: 24px 20px; }
	.benefit img { margin-bottom: 24px; height: 52px; }
}

/* Reset / base */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-family-base);
	font-size: var(--fs-p);
	line-height: 1.5;
	color: var(--color-text);
	background: var(--color-white);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }

h1,h2,h3,h4,h5,h6 { color: var(--color-dark); margin: 0 0 .5em; line-height: 1.15; font-weight: 600; }
h1 { font-size: var(--fs-h1); font-weight: 500; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }
p  { margin: 0 0 1em; }

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

.section {
	padding-block: var(--section-padding-y);
	scroll-margin-top: 100px; /* clears sticky header on anchor jumps */
}

.section--dark {
	background: var(--color-dark);
	color: #d6d6db;
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 {
	color: #fff;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border-radius: 999px;
	border: 2px solid transparent;
	font-weight: 600;
	font-size: 15px;
	transition: all .25s var(--ease);
	text-decoration: none;
	cursor: pointer;
	background: var(--color-primary);
	color: #fff;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); text-decoration: none; }
.btn--outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--outline:hover { background: var(--color-primary); color:#fff; }
.btn--white   { background: #fff; color: var(--color-dark); }

.screen-reader-text {
	clip: rect(1px,1px,1px,1px);
	position: absolute !important;
	height: 1px; width: 1px; overflow: hidden; word-wrap: normal !important;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; background: #fff; padding: 8px 12px;
	clip: auto; height: auto; width: auto; z-index: 1000;
}

/* ====== Scroll reveal ====== */
.reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity .8s var(--ease), transform .8s var(--ease);
	will-change: opacity, transform;
}
.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
	will-change: auto;
}
/* Mobile: snappier reveal — short distance + shorter duration so multiple
   sections coming in together don't feel sluggish. */
@media (max-width: 768px) {
	.reveal {
		transform: translateY(16px);
		transition: opacity .45s var(--ease), transform .45s var(--ease);
	}
}
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
}

/* ====== Image hover (scale-in on cards + section media) ====== */
.video-card .thumb,
.insight-card .img,
.section-partnership .media,
.section-storage .product {
	overflow: hidden;
}
.video-card .thumb img,
.insight-card .img img,
.section-partnership .media > img,
.section-storage .product img {
	transition: transform .6s var(--ease);
}
.video-card:hover .thumb img,
.insight-card:hover .img img,
.section-partnership .media:hover > img,
.section-storage .product:hover img {
	transform: scale(1.06);
}

/* Watch thumbnails: the source PNGs (Video 1/2/3.png) have ~10px rounded
   transparent corners baked in. CSS .thumb has no border-radius, so the
   transparency reveals the page background as a rounded corner. Scaling
   the image ~6% crops those rounded edges off-frame. Hover scale matches
   the bump in the rule above so the visible delta stays consistent. */
.video-card .thumb img { transform: scale(1.06); }
.video-card:hover .thumb img { transform: scale(1.12); }

/* ====== HEADER ====== */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--color-white);
	border-bottom: 1px solid var(--color-neutral-100);
}
.site-header__inner {
	display: flex; align-items: center; gap: 24px;
	padding-block: 14px;
}
.site-header__brand { margin-right: auto; display: inline-flex; align-items: center; }
.site-header__logo { height: 60px; width: auto; }
@media (max-width: 900px) { .site-header__logo { height: 44px; } }
.site-header__nav { margin-left: auto; }
.site-header__nav .menu {
	display: flex; gap: 36px;
}
.site-header__nav a {
	color: var(--color-dark); font-weight: 500; font-size: 16px;
}
.site-header__nav a:hover { color: var(--color-primary); text-decoration: none; }
.site-header__nav .current-menu-item > a,
.site-header__nav a[aria-current="page"] { color: var(--color-primary); }
/* Hamburger button (desktop: hidden) */
.site-header__toggle {
	display: none;
	position: relative;
	width: 44px; height: 44px;
	background: transparent;
	border: 0;
	padding: 0;
	cursor: pointer;
}
.site-header__toggle .hamburger,
.site-header__toggle .hamburger::before,
.site-header__toggle .hamburger::after {
	position: absolute;
	left: 50%;
	width: 26px; height: 2px;
	background: var(--color-dark);
	border-radius: 2px;
	transform: translateX(-50%);
	transition: transform .3s var(--ease), top .3s var(--ease), bottom .3s var(--ease), opacity .15s linear;
}
.site-header__toggle .hamburger { top: 50%; }
.site-header__toggle .hamburger::before { content: ""; top: -8px; }
.site-header__toggle .hamburger::after { content: ""; top: 8px; }
/* Open state: morph to X */
.site-header__toggle[aria-expanded="true"] .hamburger { background: transparent; }
.site-header__toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.site-header__toggle[aria-expanded="true"] .hamburger::after  { top: 0; transform: translateX(-50%) rotate(-45deg); }

@media (max-width: 900px) {
	.site-header__toggle { display: block; }
	.site-header__nav {
		position: fixed;
		top: 76px;
		left: 0; right: 0;
		background: #fff;
		padding: 0;
		border-top: 0;
		max-height: 0;
		min-height: 0;
		overflow: hidden;
		transition: max-height .35s var(--ease), padding .35s var(--ease), border-top-width .25s var(--ease);
		margin-left: 0;
		box-sizing: border-box;
	}
	.site-header__nav.is-open {
		max-height: 80vh;
		padding: 24px 24px 32px;
		border-top: 1px solid var(--color-neutral-100);
		overflow-y: auto;
	}
	.site-header__nav .menu {
		flex-direction: column;
		gap: 18px;
	}
	.site-header__nav .menu a {
		display: block;
		padding: 8px 0;
		font-size: 18px;
	}
}

/* ====== STICKY SOCIAL ====== */
.sticky-social {
	position: fixed;
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 40;
}
.sticky-social ul {
	display: flex; flex-direction: column; gap: 18px;
}
.sticky-social a {
	display: grid; place-items: center;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 4px 12px rgba(0,0,0,.18);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.sticky-social a:hover {
	transform: translateY(-3px) scale(1.08);
	box-shadow: 0 8px 22px rgba(0,0,0,.28);
}
.sticky-social img {
	width: 22px; height: 22px;
	display: block;
	transition: transform .35s var(--ease);
}
.sticky-social a:hover img { transform: rotate(-8deg); }

/* ====== SECTIONS ====== */

/* Hero */
.section-hero {
	position: relative; min-height: 600px;
	background: var(--color-dark);
	color: #fff;
	padding: 0;
	overflow: hidden;
}
.hero-slider { position: relative; min-height: 600px; display: grid; }
.hero-slide {
	grid-area: 1/1; position: relative;
	display: grid; align-items: center;
	min-height: 600px;
	background-position: center; background-size: cover; background-repeat: no-repeat;
	opacity: 0; pointer-events: none;
	transition: opacity .8s var(--ease);
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 70%);
}
.hero-slide__inner { position: relative; padding-block: 80px; }
.hero-slide__heading {
	color: #fff;
	font-weight: 400;
	line-height: 1.3;
}
.hero-slide__sub { max-width: 50ch; opacity: .9; margin-top: 12px; }
.hero-slide__cta { margin-top: 28px; }
/* Right offset matches the header container's right edge: max-width centered with 24px inner padding. */
.hero-arrows {
	position: absolute;
	right: max(24px, calc((100vw - var(--container-max)) / 2 + 24px));
	top: 50%; transform: translateY(-50%);
	display: flex; flex-direction: column; align-items: center; gap: 14px;
	z-index: 2;
}
.hero-arrows__line {
	position: relative;
	width: 1px; height: 280px;
	background: rgba(255,255,255,.25);
}
.hero-arrows__progress {
	position: absolute; left: 0; right: 0;
	width: 1px;
	background: #fff;
	top: 0; height: 33.333%;
	transition: top .45s var(--ease), height .45s var(--ease);
}
.hero-arrows button {
	width: 44px; height: 44px;
	border: 1px solid rgba(255,255,255,.6);
	background: transparent;
	border-radius: 50%;
	display: grid; place-items: center;
	color: #fff;
	cursor: pointer;
	transition: background .2s var(--ease), border-color .2s var(--ease);
}
.hero-arrows button:hover {
	background: var(--color-primary);
	border-color: var(--color-primary);
}
.hero-arrows button svg { width: 18px; height: 18px; }
@media (max-width: 768px) {
	.hero-arrows { right: 16px; gap: 10px; }
	.hero-arrows__line { height: 120px; }
	.hero-arrows button { width: 36px; height: 36px; }
}
@media (max-width: 768px) {
	.section-hero, .hero-slider, .hero-slide { min-height: 460px; }
}

/* Partnership */
.section-partnership h2 {
	font-weight: 400;
	line-height: 1.3;
	margin-bottom: 60px;
}
.section-partnership .layout {
	display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.section-partnership .media {
	overflow: hidden; position: relative;
	background: #0e1530;
	aspect-ratio: 16 / 9;
}
.section-partnership .media img,
.section-partnership .media video { width: 100%; height: 100%; object-fit: cover; display: block; }

.section-partnership .media .play-btn {
	position: absolute;
	right: 24px; bottom: 24px;
	display: inline-flex; align-items: center; gap: 14px;
	padding: 0;
	background: transparent;
	border: 0;
	color: #fff;
	font-size: 20px; font-weight: 500;
	cursor: pointer;
	transition: transform .25s var(--ease);
}
.section-partnership .media .play-btn:hover { transform: scale(1.04); transform-origin: right bottom; }

.section-partnership .media .play-btn__icon {
	width: 64px; height: 64px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: transparent;
	position: relative; flex: 0 0 auto;
	transition: background .25s var(--ease);
}
.section-partnership .media .play-btn:hover .play-btn__icon { background: rgba(255,255,255,.12); }

/* CSS-drawn play triangle. */
.section-partnership .media .play-btn__icon::before {
	content: "";
	position: absolute;
	left: 56%; top: 50%;
	transform: translate(-50%, -50%);
	width: 0; height: 0;
	border-left: 16px solid #fff;
	border-top: 11px solid transparent;
	border-bottom: 11px solid transparent;
}

/* Pause variant (shown while video plays) — two vertical bars, centered. */
.section-partnership .media .play-btn.play-btn--pause .play-btn__icon::before {
	border: 0;
	width: 4px;
	height: 22px;
	background: #fff;
	border-radius: 2px;
	left: 50%;
	top: 50%;
	transform: translate(calc(-50% - 5px), -50%);
}
.section-partnership .media .play-btn.play-btn--pause .play-btn__icon::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(calc(-50% + 5px), -50%);
	width: 4px;
	height: 22px;
	background: #fff;
	border-radius: 2px;
}

/* Click-catcher overlay covers the iframe area so YouTube hover overlays never appear. */
.section-partnership .media .video-cover {
	position: absolute;
	inset: 0;
	z-index: 1;
	cursor: pointer;
}
/* Keep the pause button above the cover. */
.section-partnership .media .play-btn--pause { z-index: 2; }

.section-partnership .media .play-btn__label { color: #fff; }

/* Video lightbox */
.tq-video-modal {
	position: fixed; inset: 0; z-index: 100;
	display: none; align-items: center; justify-content: center;
	background: rgba(0,0,0,.85);
	padding: 24px;
}
.tq-video-modal.is-open { display: flex; }
.tq-video-modal__inner {
	position: relative;
	width: min(960px, 100%);
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.tq-video-modal iframe,
.tq-video-modal video { width: 100%; height: 100%; border: 0; display: block; }
.tq-video-modal__close {
	position: absolute; top: -42px; right: -2px;
	width: 36px; height: 36px;
	background: transparent; border: 0;
	color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
}
.tq-video-modal__close:hover { color: var(--color-primary); }
.section-partnership ul.enables {
	display: grid; gap: 10px; margin-block: 14px;
}
.section-partnership ul.enables li {
	display: flex; gap: 10px; align-items: flex-start;
}
.section-partnership ul.enables li::before {
	content: "✓"; color: var(--color-accent); font-weight: 700; line-height: 1.4;
}
@media (max-width: 900px) {
	.section-partnership .layout { grid-template-columns: 1fr; gap: 24px; }
}

/* Storage */
.section-storage {
	background-color: #0d1224;
	color: #fff;
}
.section-storage__heading {
	color: #fff;
	line-height: 1.3;
	margin-bottom: 60px;
}
.section-storage .layout {
	display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center;
}
.section-storage .product { text-align: right; }
.section-storage .product img { max-width: 100%; height: auto; margin-left: auto; display: block; }
.section-storage .body { color: rgba(255,255,255,.85); }
.section-storage .body h5 {
	color: rgba(255,255,255,.85);
	font-weight: 400;
	line-height: 1.5;
	margin: 0 0 1em;
}
.section-storage .body h5:last-child { margin-bottom: 0; }
.section-storage .product { text-align: right; }
@media (max-width: 900px) {
	.section-storage .layout { grid-template-columns: 1fr; }
	.section-storage .product { text-align: center; }
}

/* Videos */
.section-videos h2 {
	font-weight: 400;
	line-height: 1.3;
	margin-bottom: 60px;
}
.section-videos .grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.video-card { display: block; }
.video-card .thumb { position: relative; overflow: hidden; }
.video-card .thumb::after {
	content: "▶"; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
	width: 56px; height: 56px; border-radius: 50%;
	background: rgba(1,169,130,.85); color: #fff;
	display: grid; place-items: center; font-size: 18px;
}
.video-card .title { margin: 14px 0 6px; font-weight: 500; color: var(--color-dark); line-height: 1.3; }
.video-card .more  {
	color: var(--color-accent);
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 6px 0 0;
	line-height: 1.2;
	transition: gap .25s var(--ease);
}
.video-card .more::after { content: "→"; font-weight: 400; }
.video-card:hover .more { gap: 14px; }
/* Mobile: peek slider — each card is 92% of the viewport row width so the
   next card peeks 8% from the right. Title and card 1's left edge stay
   aligned (both inside .container, slider has no horizontal padding).
   No `scroll-behavior: smooth` here — it would fight the JS teleport
   used by the forward-infinite loop. */
@media (max-width: 900px) {
	.section-videos .grid {
		display: flex !important;
		grid-template-columns: none;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		-ms-overflow-style: none;
		gap: 16px;
		margin: 0;
		padding: 4px 0 16px;
	}
	.section-videos .grid::-webkit-scrollbar { display: none; }
	.section-videos .video-card {
		flex: 0 0 92%;
		min-width: 0;
		scroll-snap-align: start;
		padding: 0 0 8px;
		box-sizing: border-box;
	}
	/* Cloned cards (JS appends a duplicate set to enable forward loop). */
	.section-videos .video-card.is-clone { /* identical layout to real card */ }
	/* Hide pagination dots if any leftover. */
	.section-videos .videos-dots { display: none; }
}

/* Benefits */
.section-benefits {
	background: #1D1F27;
}
.section-benefits h2 {
	font-weight: 400;
	line-height: 1.3;
	margin-bottom: 50px;
}
.section-benefits .grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.benefit {
	background: #292D3A;
	padding: 30px 25px;
}
.benefit img { height: 64px; width: auto; margin-bottom: 40px; }
.benefit .stat {
	color: var(--color-accent);
	font-weight: 400;
	line-height: 1.2;
	margin: 0 0 20px;
}
.benefit .desc p {
	color: rgba(255,255,255,.75);
	line-height: 1.6;
	margin: 0 0 1em;
}
.benefit .desc p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .section-benefits .grid { grid-template-columns: 1fr; } }

/* Insights */
.section-insights h2 {
	font-weight: 400;
	line-height: 1.3;
	margin-bottom: 50px;
}
.section-insights .grid {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px;
}
.insight-card { display: block; color: var(--color-text); }
.insight-card:hover { text-decoration: none; }
.insight-card .img { border-radius: var(--radius-sm); overflow: hidden; }
.insight-card .title {
	margin: 28px 0 16px;
	font-weight: 600;
	color: var(--color-dark);
	line-height: 1.3;
}
.insight-card .desc {
	color: rgba(29, 31, 39, .7);
	line-height: 1.6;
	margin: 0 0 20px;
}
.insight-card .more {
	color: var(--color-accent);
	font-weight: 600;
	line-height: 1.2;
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	transition: gap .25s var(--ease);
}
.insight-card .more::after { content: "→"; font-weight: 400; }
.insight-card:hover .more { gap: 18px; }
@media (max-width: 900px) { .section-insights .grid { grid-template-columns: 1fr; } }

/* Form */
.section-form {
	background: #ffffff;
	color: #fff;
	padding-block: 40px 80px;
}
.section-form .form-wrap {
	background-color: #0d1224;
	padding: 80px 100px;
	color: #fff;
}
.section-form h2 { color: #fff; text-align: center; font-weight: 600; margin-bottom: 56px; }
@media (max-width: 900px) {
	.section-form .form-wrap { padding: 50px 32px; }
}
.tq-form {
	display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px;
}
.tq-form .field { display: block; position: relative; }
.tq-form .full { grid-column: 1 / -1; }

.tq-form .field-label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: #fff;
	margin-bottom: 10px;
}
.tq-form .req { color: #fff; }

.tq-form input[type="text"],
.tq-form input[type="email"],
.tq-form input[type="tel"],
.tq-form textarea {
	width: 100%;
	padding: 16px 20px;
	border: 0;
	background: #ffffff;
	color: #1D1F27;
	border-radius: 0;
	font: inherit;
	transition: box-shadow .2s var(--ease);
}
.tq-form input:focus, .tq-form textarea:focus, .tq-form .ts-control:focus {
	outline: none;
	box-shadow: 0 0 0 2px var(--color-accent);
}
.tq-form input::placeholder, .tq-form textarea::placeholder { color: rgba(29, 31, 39, .45); }
.tq-form textarea { min-height: 140px; resize: vertical; }

.tq-form .submit-row { display: flex; justify-content: flex-start; }
.tq-form button[type="submit"] {
	background: var(--color-primary);
	color: #fff;
	border: 0;
	padding: 14px 44px;
	border-radius: 999px;
	font-weight: 500;
	cursor: pointer;
	transition: background .2s var(--ease);
}
.tq-form button[type="submit"]:hover { background: var(--color-accent); }
.tq-form button[type="submit"]:disabled { opacity: .6; cursor: not-allowed; }
.tq-form .field-error {
	color: #ffd5d5; font-size: 12px; margin-top: 4px; display: none;
}
.tq-form .has-error .field-error { display: block; }
.tq-form .has-error input,
.tq-form .has-error textarea,
.tq-form .has-error .ts-control {
	border-color: #ff8a8a !important;
}
.tq-form .form-message { grid-column: 1 / -1; padding: 12px 14px; border-radius: 6px; display: none; }
.tq-form .form-message.is-success { display: block; background: rgba(255,255,255,.15); color: #fff; }
.tq-form .form-message.is-error   { display: block; background: rgba(255,80,80,.2); color: #ffd; }
.tq-form .honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
@media (max-width: 700px) { .tq-form { grid-template-columns: 1fr; } }

/* intl-tel-input integration */
.iti { width: 100%; }
.iti__country-list { color: #1D1F27; }

/* ====== FOOTER ====== */
.site-footer {
	background: #ffffff; color: var(--color-dark);
	padding: 24px 0;
}
.site-footer__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-footer__brand img { height: 50px; width: auto; }
.site-footer__copy { margin: 0; font-size: 16px; color: var(--color-dark); }
/* Footer social icons — desktop hides them; mobile shows them. */
.site-footer__social { display: none; list-style: none; padding: 0; margin: 0; gap: 16px; }
.site-footer__social a { display: inline-grid; place-items: center; width: 36px; height: 36px; }
.site-footer__social img { width: 22px; height: 22px; }
@media (max-width: 900px) { .site-footer__brand img { height: 40px; } }
@media (max-width: 700px) {
	.site-footer__inner { flex-direction: column; text-align: center; }
}

/* ====== SCROLL TOP ====== */
.scroll-top {
	position: fixed; right: 18px; bottom: 18px; z-index: 50;
	width: 44px; height: 44px;
	border-radius: 50%; border: 0;
	background: var(--color-primary); color: #fff;
	display: none; align-items: center; justify-content: center;
	box-shadow: var(--shadow-md);
	transition: transform .2s var(--ease);
}
.scroll-top.is-visible { display: inline-flex; }
.scroll-top.is-near-footer { display: none !important; }
.scroll-top:hover { transform: translateY(-2px); }

/* ====== 404 PAGE ====== */
.error-404 {
	position: relative;
	background-color: #0d1224;
	color: #fff;
	min-height: calc(100vh - 200px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding-block: 100px;
	background-repeat: no-repeat;
	overflow: hidden;
}
.error-404::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, rgba(13,18,36,.92), rgba(13,18,36,.55));
	pointer-events: none;
}
.error-404__inner {
	position: relative;
	text-align: center;
	max-width: 720px;
}
.error-404__code {
	font-size: clamp(120px, 20vw, 220px);
	font-weight: 600;
	line-height: 1;
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 24px;
	letter-spacing: -0.02em;
}
.error-404__title {
	color: #fff;
	font-weight: 400;
	margin: 0 0 16px;
	line-height: 1.2;
}
.error-404__msg {
	color: rgba(255,255,255,.75);
	font-size: 16px;
	line-height: 1.6;
	margin: 0 auto 36px;
	max-width: 540px;
}
.error-404__actions {
	display: inline-flex;
	gap: 16px;
	flex-wrap: wrap;
	justify-content: center;
}
.btn--ghost {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255,255,255,.4);
}
.btn--ghost:hover {
	background: rgba(255,255,255,.08);
	border-color: rgba(255,255,255,.7);
	color: #fff;
}
@media (max-width: 768px) {
	.error-404 { min-height: 70vh; padding-block: 60px; }
	.error-404__msg { font-size: 14px; }
	.error-404__actions { gap: 12px; }
	.error-404__actions .btn { padding: 12px 24px; font-size: 14px; }
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-banner {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 100;
	background: #0d1224;
	color: #fff;
	border-top: 1px solid rgba(255, 255, 255, .08);
	box-shadow: 0 -8px 28px rgba(0, 0, 0, .25);
	padding: 20px 24px;
	transform: translateY(100%);
	transition: transform .45s var(--ease);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__inner {
	max-width: var(--container-max);
	margin-inline: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.cookie-banner__msg {
	flex: 1 1 280px;
	font-size: 14px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .9);
}
.cookie-banner__msg p { margin: 0; }
.cookie-banner__msg a { color: var(--color-accent); text-decoration: underline; }
.cookie-banner__actions {
	display: flex; gap: 12px; flex-shrink: 0;
}
.cookie-banner__btn {
	padding: 10px 26px;
	border-radius: 999px;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.cookie-banner__btn--reject {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .4);
}
.cookie-banner__btn--reject:hover {
	background: rgba(255, 255, 255, .08);
	border-color: rgba(255, 255, 255, .7);
}
.cookie-banner__btn--accept {
	background: var(--color-primary);
	color: #fff;
	border: 1px solid var(--color-primary);
}
.cookie-banner__btn--accept:hover {
	background: var(--color-accent);
	border-color: var(--color-accent);
}
@media (max-width: 700px) {
	.cookie-banner { padding: 14px 16px; }
	.cookie-banner__inner {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 12px;
	}
	/* Desktop sets flex: 1 1 280px on the message — that basis is fine on a
	   row layout, but in column-direction the 280px applies vertically and
	   forces a tall empty gap above the buttons. Reset it on mobile. */
	.cookie-banner__msg { flex: 0 0 auto; font-size: 13px; line-height: 1.5; }
	.cookie-banner__actions { justify-content: stretch; gap: 10px; }
	.cookie-banner__btn { flex: 1; padding: 11px 20px; font-size: 14px; }
}
