/* =====================================================================
   ASTEK ADRIATIC — Dark Luxury Automotive Theme
   Sections: tokens · base · layout · header · hero · components ·
             homepage · catalog · product · pages · forms · footer ·
             motion · responsive
   ===================================================================== */

/* ----------------------------------------------------------- tokens */
:root {
	--astek-bg: #0a0a0a;
	--astek-surface: #121212;
	--astek-surface-2: #181818;
	--astek-text: #f2f2f0;
	--astek-muted: #9a9a96;
	--astek-line: rgba(255, 255, 255, .10);
	--astek-accent: #c8a04a;          /* warm titanium gold */
	--astek-green: #1f8a4c;
	--astek-red: #c0392b;

	--font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, sans-serif;

	--maxw: 1320px;
	--gut: clamp(1.25rem, 4vw, 3rem);
	--radius: 4px;
	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* ----------------------------------------------------------- base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--astek-bg);
	color: var(--astek-text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	font-weight: 300;
	letter-spacing: .005em;
	-webkit-font-smoothing: antialiased;
	/* subtle light-grey texture */
	background-image:
		radial-gradient(rgba(255,255,255,.018) 1px, transparent 1px);
	background-size: 4px 4px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1.2em; }
::selection { background: var(--astek-accent); color: #0a0a0a; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.container.narrow { max-width: 820px; }
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.muted { color: var(--astek-muted); }
.display { font-weight: 600; letter-spacing: -.02em; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #d9d9d4; font-weight: 300; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 999; background: var(--astek-accent); color: #000; padding: .6rem 1rem; }

/* ----------------------------------------------------------- eyebrow / dividers */
.eyebrow {
	font-family: var(--font-head);
	text-transform: uppercase;
	letter-spacing: .28em;
	font-size: .72rem;
	font-weight: 500;
	color: var(--astek-muted);
	margin: 0 0 1.1rem;
}
.eyebrow--accent { color: var(--astek-accent); }

/* Italian tricolore accents */
.tricolore-bar { display: flex; height: 3px; }
.tricolore-bar span { flex: 1; }
.tricolore-bar span:nth-child(1) { background: var(--astek-green); }
.tricolore-bar span:nth-child(2) { background: #f4f4f0; }
.tricolore-bar span:nth-child(3) { background: var(--astek-red); }

.tricolore-divider {
	height: 2px;
	background: linear-gradient(90deg,
		var(--astek-green) 0 33.33%,
		#f4f4f0 33.33% 66.66%,
		var(--astek-red) 66.66% 100%);
	opacity: .55;
	max-width: 120px;
	margin: 0 auto;
}

/* ----------------------------------------------------------- buttons / links */
.astek-btn {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: .82rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	padding: 1rem 1.9rem;
	border-radius: var(--radius);
	border: 1px solid transparent;
	cursor: pointer;
	transition: all .3s var(--ease);
	white-space: nowrap;
}
.astek-btn--primary {
	background: var(--astek-accent);
	color: #0a0a0a;
	border-color: var(--astek-accent);
}
.astek-btn--primary:hover { background: #d9b669; border-color: #d9b669; transform: translateY(-2px); }
.astek-btn--ghost {
	background: transparent;
	color: var(--astek-text);
	border-color: var(--astek-line);
}
.astek-btn--ghost:hover { border-color: var(--astek-accent); color: var(--astek-accent); }

.astek-link {
	font-family: var(--font-head);
	text-transform: uppercase;
	letter-spacing: .14em;
	font-size: .78rem;
	color: var(--astek-accent);
	position: relative;
}
.astek-link::after { content: " →"; }

.astek-badge {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-family: var(--font-head);
	text-transform: uppercase;
	letter-spacing: .14em;
	font-size: .68rem;
	color: var(--astek-text);
	border: 1px solid var(--astek-line);
	padding: .55rem 1rem;
	border-radius: 100px;
	background: rgba(255,255,255,.02);
}
.astek-badge::before {
	content: "";
	width: 18px; height: 9px;
	background: linear-gradient(90deg, var(--astek-green) 0 33.3%, #f4f4f0 33.3% 66.6%, var(--astek-red) 66.6% 100%);
	border-radius: 1px;
}
.astek-badge--sm { font-size: .62rem; padding: .4rem .8rem; }

/* ----------------------------------------------------------- header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(10,10,10,.72);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--astek-line);
	transition: background .3s var(--ease);
}
.site-header__inner {
	max-width: var(--maxw);
	margin-inline: auto;
	padding: 1.1rem var(--gut);
	display: flex;
	align-items: center;
	gap: 2rem;
}
.site-branding { margin-right: auto; }
.site-branding img { max-height: 46px; width: auto; }
.site-branding__text { display: flex; flex-direction: column; line-height: 1.1; }
.site-branding__name { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; letter-spacing: .06em; }
.site-branding__tag { font-size: .64rem; text-transform: uppercase; letter-spacing: .22em; color: var(--astek-muted); margin-top: 3px; }

.site-nav__menu, .site-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.site-nav__menu a {
	font-family: var(--font-head);
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: .14em;
	color: #d4d4d0;
	position: relative;
	padding-block: .4rem;
}
.site-nav__menu a:hover { color: var(--astek-accent); }
.site-nav__menu .current-menu-item > a,
.site-nav__menu .current_page_item > a { color: var(--astek-accent); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--astek-text); transition: .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { border-top: 1px solid var(--astek-line); padding: 1.2rem var(--gut) 2rem; background: var(--astek-bg); }
.mobile-nav__menu { list-style: none; margin: 0 0 1.2rem; padding: 0; display: flex; flex-direction: column; gap: .2rem; }
.mobile-nav__menu a { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em; font-size: .95rem; padding: .7rem 0; display: block; border-bottom: 1px solid var(--astek-line); }

/* ----------------------------------------------------------- hero */
.hero {
	position: relative;
	min-height: clamp(560px, 88vh, 920px);
	display: flex;
	align-items: flex-end;
	background: #060606 center/cover no-repeat;
	padding: 0 var(--gut) clamp(4rem, 8vh, 7rem);
	overflow: hidden;
}
.hero__inner { max-width: 880px; }
.hero__title {
	font-size: clamp(2.8rem, 7vw, 6rem);
	line-height: .98;
	margin: 0 0 1.4rem;
	font-weight: 600;
}
.hero__subtitle { font-size: clamp(1.05rem, 2vw, 1.4rem); color: #e2e2dd; max-width: 620px; font-weight: 300; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero__scroll {
	position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
	width: 1px; height: 46px;
	background: linear-gradient(var(--astek-accent), transparent);
	animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.3;transform:translateX(-50%) scaleY(.6)} 50%{opacity:1;transform:translateX(-50%) scaleY(1)} }

/* ----------------------------------------------------------- trust bar */
.trust-bar { border-block: 1px solid var(--astek-line); background: var(--astek-surface); }
.trust-bar__inner {
	display: flex; flex-wrap: wrap; justify-content: center;
	gap: clamp(1.5rem, 5vw, 4.5rem);
	padding-block: 1.4rem;
}
.trust-bar__item {
	font-family: var(--font-head);
	text-transform: uppercase;
	letter-spacing: .2em;
	font-size: .72rem;
	color: #c9c9c4;
	display: flex; align-items: center; gap: .7rem;
}
.trust-bar__item::before { content: ""; width: 6px; height: 6px; background: var(--astek-accent); border-radius: 50%; }

/* ----------------------------------------------------------- section heads */
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; max-width: none; }
.section-head--row > div { max-width: 640px; }
.section-head__title { font-size: clamp(1.9rem, 4vw, 3rem); }
.section-head__text { color: var(--astek-muted); }

/* ----------------------------------------------------------- authority */
.authority__inner { max-width: 940px; }
.authority__title { font-size: clamp(2rem, 4.6vw, 3.6rem); margin-bottom: 1.4rem; }
.authority__text { max-width: 760px; margin-bottom: 2rem; }

/* ----------------------------------------------------------- editorial blocks */
.editorial__grid {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: clamp(2rem, 6vw, 5.5rem);
	align-items: center;
}
.editorial__grid--reverse .editorial__media { order: 2; }
.editorial__media { position: relative; }
.editorial__media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; }
.editorial__rule {
	position: absolute; left: -1px; top: 12%; bottom: 12%; width: 3px;
	background: linear-gradient(var(--astek-green), #f4f4f0, var(--astek-red));
	opacity: .8;
}
.editorial__title { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1.2rem; }
.editorial__text { color: #cfcfca; margin-bottom: 1.8rem; }

.media-placeholder {
	display: block; width: 100%; border-radius: var(--radius);
	background:
		repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 14px),
		linear-gradient(160deg, #1c1c1c, #0e0e0e);
	border: 1px solid var(--astek-line);
}
.media-placeholder--tall { aspect-ratio: 4/5; }
.media-placeholder--square { aspect-ratio: 1/1; }

/* ----------------------------------------------------------- why pillars */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.why__grid--page { gap: 1.6rem; }
.why-card {
	background: var(--astek-surface);
	border: 1px solid var(--astek-line);
	border-radius: var(--radius);
	padding: 2rem 1.6rem;
	transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.why-card:hover { border-color: var(--astek-accent); transform: translateY(-4px); }
.why-card__num { font-family: var(--font-head); color: var(--astek-accent); font-size: .9rem; letter-spacing: .1em; }
.why-card__title { font-size: 1.2rem; margin: .8rem 0 .5rem; }
.why-card__text { color: var(--astek-muted); font-size: .95rem; margin: 0; }

/* ----------------------------------------------------------- product grid / cards */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.product-grid--catalog { gap: 1.6rem; }
.product-card {
	background: var(--astek-surface);
	border: 1px solid var(--astek-line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.product-card:hover { border-color: var(--astek-accent); transform: translateY(-5px); }
.product-card__link { display: block; }
.product-card__media { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; background: #0d0d0d; }
.product-card__img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.product-card:hover .product-card__img { transform: scale(1.06); }
.product-card__placeholder {
	position: absolute; inset: 0;
	background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 16px), linear-gradient(160deg,#1c1c1c,#0d0d0d);
}
.product-card__overlay {
	position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1.2rem;
	background: linear-gradient(transparent 55%, rgba(8,8,8,.85));
	opacity: 0; transition: opacity .35s var(--ease);
}
.product-card:hover .product-card__overlay { opacity: 1; }
.product-card__body { display: block; padding: 1.3rem 1.4rem 1.6rem; }
.product-card__cat { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .18em; font-size: .64rem; color: var(--astek-accent); margin-bottom: .5rem; }
.product-card__title { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.18rem; }
.product-card__subtitle { display: block; color: var(--astek-muted); font-size: .9rem; margin-top: .3rem; }

/* ----------------------------------------------------------- catalog filter */
.catalog-filter { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.6rem; }
.catalog-filter__btn {
	font-family: var(--font-head);
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: .74rem;
	color: var(--astek-muted);
	background: transparent;
	border: 1px solid var(--astek-line);
	padding: .7rem 1.3rem;
	border-radius: 100px;
	cursor: pointer;
	transition: all .25s var(--ease);
}
.catalog-filter__btn:hover { color: var(--astek-text); border-color: var(--astek-muted); }
.catalog-filter__btn.is-active { background: var(--astek-accent); color: #0a0a0a; border-color: var(--astek-accent); }
.catalog-empty { text-align: center; color: var(--astek-muted); padding: 3rem 0; }
.product-card.is-hidden { display: none; }

/* ----------------------------------------------------------- page head */
.page-head { padding: clamp(3rem, 9vw, 7rem) 0 clamp(2rem,5vw,4rem); border-bottom: 1px solid var(--astek-line); }
.page-head--banner { background: #0a0a0a center/cover no-repeat; padding-block: clamp(5rem, 14vw, 10rem); border-bottom: 0; }
.page-head__title { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.page-head__text, .page-head__lede { max-width: 640px; color: #cfcfca; }
.page-head--catalog .page-head__text { color: var(--astek-muted); }

/* ----------------------------------------------------------- product single */
.breadcrumbs { display: flex; gap: .6rem; font-size: .78rem; color: var(--astek-muted); padding-top: 2rem; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--astek-accent); }
.breadcrumbs .current { color: #cfcfca; }

.product-single__grid {
	display: grid; grid-template-columns: 1.1fr .9fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	padding-block: 3rem clamp(3rem,7vw,6rem);
	align-items: start;
}
.product-gallery__main { position: relative; display: block; width: 100%; padding: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--astek-line); background: #0d0d0d; cursor: zoom-in; }
.product-gallery__img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #0d0d0d; }
.product-gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; margin-top: .8rem; }
.product-gallery__thumb { padding: 0; border: 1px solid var(--astek-line); border-radius: var(--radius); overflow: hidden; cursor: pointer; background: none; aspect-ratio: 1; }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumb.is-active { border-color: var(--astek-accent); }

.product-info__title { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: .4rem; }
.product-info__subtitle { color: var(--astek-accent); font-family: var(--font-head); letter-spacing: .04em; margin-bottom: 1.6rem; }
.product-info__desc { color: #cfcfca; }
.product-specs { margin: 2rem 0; border-top: 1px solid var(--astek-line); }
.product-specs__title { font-size: 1rem; text-transform: uppercase; letter-spacing: .16em; color: var(--astek-muted); margin: 1.4rem 0 1rem; }
.product-specs dl { margin: 0; }
.product-specs__row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--astek-line); }
.product-specs__row dt { color: var(--astek-muted); margin: 0; }
.product-specs__row dd { margin: 0; text-align: right; font-weight: 400; }
.product-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0; }
.product-tag { font-family: var(--font-head); font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; border: 1px solid var(--astek-line); padding: .35rem .8rem; border-radius: 100px; color: #c9c9c4; }
.product-info__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }
.product-info__note { color: var(--astek-muted); font-size: .82rem; margin-top: 1rem; }

/* ----------------------------------------------------------- stats / tech page */
.stats__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; text-align: center; }
.stat { border: 1px solid var(--astek-line); border-radius: var(--radius); padding: 2.4rem 1rem; background: var(--astek-surface); }
.stat__num { display: block; font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--astek-accent); }
.stat__label { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; color: var(--astek-muted); }

.tech-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.6rem; }
.tech-feature { display: flex; gap: 1.4rem; background: var(--astek-surface); border: 1px solid var(--astek-line); border-radius: var(--radius); padding: 2rem; }
.tech-feature__index { font-family: var(--font-head); color: var(--astek-accent); font-size: 1.1rem; }
.tech-feature__title { font-size: 1.25rem; margin-bottom: .5rem; }
.tech-feature__text { color: var(--astek-muted); margin: 0; }

/* ----------------------------------------------------------- bands */
.band { padding-block: clamp(3rem, 7vw, 5.5rem); border-block: 1px solid var(--astek-line); }
.band--partner { background: var(--astek-surface); }
.band--quote { background: var(--astek-surface-2); }
.band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.band__title { font-size: clamp(1.6rem, 3.5vw, 2.6rem); margin-bottom: .4rem; }
.band__text { color: var(--astek-muted); max-width: 560px; margin: 0; }

/* ----------------------------------------------------------- forms */
.quote-section__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem,5vw,4.5rem); align-items: start; }
.quote-section__intro h2 { font-size: clamp(1.8rem,4vw,3rem); }
.quote-form {
	background: var(--astek-surface);
	border: 1px solid var(--astek-line);
	border-radius: var(--radius);
	padding: clamp(1.6rem, 3vw, 2.6rem);
}
.quote-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.quote-form__field { margin: 0 0 1.1rem; }
.quote-form__field--full { grid-column: 1 / -1; }
.quote-form label { display: block; font-family: var(--font-head); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--astek-muted); margin-bottom: .5rem; }
.quote-form label span { color: var(--astek-red); }
.quote-form input, .quote-form textarea {
	width: 100%;
	background: #0c0c0c;
	border: 1px solid var(--astek-line);
	border-radius: var(--radius);
	color: var(--astek-text);
	font-family: var(--font-body);
	font-size: .98rem;
	padding: .85rem 1rem;
	transition: border-color .25s var(--ease);
}
.quote-form input:focus, .quote-form textarea:focus { outline: none; border-color: var(--astek-accent); }
.quote-form__consent { font-size: .82rem; color: var(--astek-muted); }
.quote-form__consent label { display: inline; text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: .85rem; }
.quote-form__consent input { width: auto; margin-right: .5rem; }
.quote-form__submit { margin: 1rem 0 0; }
.astek-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-form__notice { padding: .9rem 1.1rem; border-radius: var(--radius); margin-bottom: 1.4rem; font-size: .92rem; }
.quote-form__notice--ok { background: rgba(31,138,76,.14); border: 1px solid var(--astek-green); }
.quote-form__notice--err { background: rgba(192,57,43,.14); border: 1px solid var(--astek-red); }

/* contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.contact-details__item { padding: 1.2rem 0; border-bottom: 1px solid var(--astek-line); }
.contact-details__item h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--astek-muted); margin: 0 0 .4rem; }
.contact-details__item a:hover { color: var(--astek-accent); }
.contact-form-wrap__title { font-size: 1.6rem; margin-bottom: 1.4rem; }
.contact-map { margin-top: 0; }

/* prose */
.prose { color: #d2d2cd; }
.prose h2 { font-size: clamp(1.5rem,3vw,2.2rem); margin-top: 2rem; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6rem; }
.prose a { color: var(--astek-accent); }
.prose a:hover { text-decoration: underline; }

/* empty state */
.empty-state { text-align: center; padding: 5rem 1rem; border: 1px dashed var(--astek-line); border-radius: var(--radius); }
.empty-state h2 { font-size: 1.6rem; }
.empty-state p { color: var(--astek-muted); }

/* ----------------------------------------------------------- footer */
.site-footer { background: #070707; border-top: 1px solid var(--astek-line); margin-top: 0; }
.tricolore-divider { margin-top: -1px; }
.site-footer__inner {
	max-width: var(--maxw); margin-inline: auto; padding: clamp(3rem,6vw,5rem) var(--gut) 2rem;
	display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem;
}
.site-footer__name { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; letter-spacing: .05em; display: block; margin-bottom: .8rem; }
.site-footer__blurb { color: var(--astek-muted); max-width: 380px; font-size: .95rem; }
.footer-widget__title { font-family: var(--font-head); font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; color: #c9c9c4; margin-bottom: 1.1rem; }
.site-footer__menu { flex-direction: column; gap: .7rem; }
.site-footer__menu a, .site-footer__contact a { color: var(--astek-muted); font-size: .95rem; }
.site-footer__menu a:hover, .site-footer__contact a:hover { color: var(--astek-accent); }
.site-footer__contact ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; color: var(--astek-muted); font-size: .95rem; }
.site-footer__bottom {
	max-width: var(--maxw); margin-inline: auto; padding: 1.4rem var(--gut);
	border-top: 1px solid var(--astek-line);
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
	font-size: .78rem; color: var(--astek-muted);
}

/* ----------------------------------------------------------- pagination / posts */
.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.pagination a, .pagination .current { padding: .6rem 1rem; border: 1px solid var(--astek-line); border-radius: var(--radius); font-family: var(--font-head); font-size: .85rem; }
.pagination .current { background: var(--astek-accent); color: #0a0a0a; border-color: var(--astek-accent); }
.post-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; }
.post-card { background: var(--astek-surface); border: 1px solid var(--astek-line); border-radius: var(--radius); overflow: hidden; }
.post-card__media img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.post-card__body { padding: 1.4rem; }
.post-card__title { font-size: 1.2rem; }

/* ----------------------------------------------------------- motion
   Fail-safe: content is visible by default. The hidden/animated state is
   only applied once JS adds the `.astek-js` class to <html>, so if the
   theme JavaScript is ever blocked the site still shows all its content. */
.reveal { opacity: 1; transform: none; }
.astek-js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.astek-js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal, .astek-js .reveal { opacity: 1; transform: none; transition: none; }
	.hero__scroll { animation: none; }
	html { scroll-behavior: auto; }
}

/* ----------------------------------------------------------- responsive */
@media (max-width: 1024px) {
	.why__grid { grid-template-columns: repeat(2,1fr); }
	.product-grid { grid-template-columns: repeat(2,1fr); }
	.tech-grid { grid-template-columns: 1fr; }
	.post-list { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
	.site-nav, .site-header__cta { display: none; }
	.nav-toggle { display: flex; }
	.editorial__grid, .editorial__grid--reverse .editorial__media { grid-template-columns: 1fr; order: 0; }
	.editorial__grid { grid-template-columns: 1fr; }
	.editorial__media { order: 0 !important; }
	.product-single__grid { grid-template-columns: 1fr; }
	.quote-section__inner { grid-template-columns: 1fr; }
	.contact-grid { grid-template-columns: 1fr; }
	.section-head--row { flex-direction: column; align-items: flex-start; }
	.site-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	body { font-size: 16px; }
	.why__grid, .product-grid, .product-grid--catalog
/* ----------------------------------------------------------- gallery zoom hint + fullscreen lightbox */
.product-gallery__zoom {
	position: absolute;
	right: .8rem;
	bottom: .8rem;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(10,10,10,.7);
	border: 1px solid var(--astek-line);
	pointer-events: none;
	opacity: .85;
	transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.product-gallery__zoom::before,
.product-gallery__zoom::after { content: ""; position: absolute; background: var(--astek-text); }
.product-gallery__zoom::before { width: 13px; height: 13px; border: 2px solid var(--astek-text); border-radius: 50%; background: transparent; top: 10px; left: 10px; }
.product-gallery__zoom::after { width: 7px; height: 2px; transform: rotate(45deg); bottom: 12px; right: 9px; }
.product-gallery__main:hover .product-gallery__zoom { opacity: 1; transform: scale(1.08); }

.astek-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
}
.astek-lightbox.is-open { display: flex; }
.astek-lightbox__backdrop { position: absolute; inset: 0; background: rgba(6,6,6,.94); backdrop-filter: blur(4px); cursor: zoom-out; }
.astek-lightbox__stage {
	position: relative;
	z-index: 1;
	margin: 0;
	max-width: 92vw;
	max-height: 88vh;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: astekZoomIn .28s var(--ease);
}
.astek-lightbox__img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; object-fit: contain; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
@keyframes astekZoomIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

.astek-lightbox__close,
.astek-lightbox__nav {
	position: absolute;
	z-index: 2;
	background: rgba(255,255,255,.06);
	border: 1px solid var(--astek-line);
	color: var(--astek-text);
	cursor: pointer;
	border-radius: 50%;
	transition: background .25s var(--ease), border-color .25s var(--ease);
	line-height: 1;
}
.astek-lightbox__close:hover,
.astek-lightbox__nav:hover { background: var(--astek-accent); color: #0a0a0a; border-color: var(--astek-accent); }
.astek-lightbox__close { top: 1.3rem; right: 1.3rem; width: 48px; height: 48px; font-size: 1.8rem; }
.astek-lightbox__nav { top: 50%; transform: translateY(-50%); width: 56px; height: 56px; font-size: 2rem; }
.astek-lightbox__nav--prev { left: 1.3rem; }
.astek-lightbox__nav--next { right: 1.3rem; }
.astek-lightbox__count {
	position: absolute;
	z-index: 2;
	bottom: 1.4rem;
	left: 50%;
	transform: translateX(-50%);
	font-family: var(--font-head);
	letter-spacing: .18em;
	font-size: .8rem;
	color: var(--astek-muted);
}
@media (max-width: 560px) {
	.astek-lightbox__nav { width: 44px; height: 44px; font-size: 1.5rem; }
	.astek-lightbox__nav--prev { left: .5rem; }
	.astek-lightbox__nav--next { right: .5rem; }
	.astek-lightbox__close { top: .6rem; right: .6rem; }
}
