/* =========================================================
   Sport Station — design system & layout
   ========================================================= */

:root {
	--bg: #ffffff;
	--bg-soft: #f5f4f0;
	--bg-soft-2: #efeee9;
	--ink: #14161a;
	--ink-soft: #5b5f66;
	--ink-faint: #93969c;
	--line: #e7e5e0;

	/* Neutral "emphasis" colour — black on light backgrounds, flipped to
	   white via --accent-on-dark wherever a rule sits on a dark section. */
	--accent: #14161a;
	--accent-dark: #000000;
	--accent-hover: #2a2d33;
	--accent-ink: #ffffff;
	--accent-on-dark: #ffffff;

	--navy: #0c0e12;
	--navy-soft: #15181e;
	--navy-line: rgba(255,255,255,.12);
	--on-navy: #f3f3f1;
	--on-navy-soft: #a9adb6;

	--radius-sm: 8px;
	--radius-md: 18px;
	--radius-lg: 30px;
	--radius-pill: 999px;

	--shadow-md: 0 24px 48px -24px rgba(15,16,20,.28);
	--shadow-sm: 0 10px 24px -14px rgba(15,16,20,.25);

	--ease: cubic-bezier(.22,1,.36,1);
	--dur-s: .35s;
	--dur-m: .6s;
	--dur-l: .9s;

	--container: 1240px;

	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- base ---------- */
body {
	font-family: var(--font);
	background: var(--bg);
	color: var(--ink);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px,1px,1px,1px);
}
.skip-link {
	position: fixed; top: -60px; left: 12px; z-index: 999;
	background: var(--ink); color: #fff; padding: 12px 18px;
	border-radius: var(--radius-sm); transition: top var(--dur-s) var(--ease);
}
.skip-link:focus { top: 12px; width: auto; height: auto; clip: auto; overflow: visible; }

h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0 0 1em; color: var(--ink-soft); }
ul { list-style: none; margin: 0; padding: 0; }

.section { padding: 120px 0; position: relative; }
@media (max-width: 900px) { .section { padding: 84px 0; } }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
	color: var(--accent); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); display: inline-block; }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: var(--accent-on-dark); }
.eyebrow--bare::before { content: none; }

.section-title { font-size: clamp(28px, 3.6vw, 46px); max-width: 780px; }
.section-title--light { color: #fff; }
.section-desc { max-width: 620px; font-size: 17px; margin-top: 16px; }
.section-head { margin-bottom: 56px; }
.section-head--light .section-desc { color: var(--on-navy-soft); }

.icon { width: 22px; height: 22px; }
.icon--sm { width: 16px; height: 16px; }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 28px; font-weight: 700; font-size: 15px;
	border: 1px solid transparent; cursor: pointer;
	transition: transform var(--dur-s) var(--ease), background var(--dur-s) var(--ease), color var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease);
	text-decoration: none; white-space: nowrap;
}
.btn--pill { border-radius: var(--radius-pill); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 14px 28px -12px rgba(20,22,26,.45); }
.btn--accent:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(20,22,26,.5); }
.btn--ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.btn--block { width: 100%; margin-top: 8px; position: relative; }
.btn__spinner { display: none; }
.btn.is-loading .btn__label { visibility: hidden; }
.btn.is-loading .btn__spinner {
	display: block; position: absolute; left: 50%; top: 50%; margin: -9px 0 0 -9px;
	width: 18px; height: 18px; border-radius: 50%;
	border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
	animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-l) var(--ease), transform var(--dur-l) var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-reveal-delay="1"] { transition-delay: .08s; }
.reveal[data-reveal-delay="2"] { transition-delay: .16s; }
.reveal[data-reveal-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
	transition: background var(--dur-m) var(--ease), box-shadow var(--dur-m) var(--ease), border-color var(--dur-m) var(--ease);
	border-bottom: 1px solid transparent;
	isolation: isolate;
}
/* Permanent scrim behind the transparent header so nav text stays readable
   over any hero photo, independent of the hero's own overlay/stacking. It
   fades out once the header goes solid on scroll. */
.site-header::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(6,7,9,.65) 0%, rgba(6,7,9,.32) 70%, rgba(6,7,9,0) 100%);
	opacity: 1; transition: opacity var(--dur-m) var(--ease);
	pointer-events: none;
}
.site-header.is-scrolled::before { opacity: 0; }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
.site-header__inner { display: flex; align-items: center; gap: 32px; height: 88px; transition: height var(--dur-m) var(--ease); }
.site-header.is-scrolled .site-header__inner { height: 72px; }
.site-header.is-scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); box-shadow: var(--shadow-sm); border-color: var(--line); }

.site-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 32px; width: auto; transition: opacity var(--dur-s) var(--ease); }
.logo-img--dark { display: none; }
.site-header.is-scrolled .logo-img--light { display: none; }
.site-header.is-scrolled .logo-img--dark { display: block; }

.site-nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: 30px; }
.nav__link,
.nav__list > li > a {
	font-size: 14px; font-weight: 700; text-decoration: none; color: rgba(255,255,255,.92);
	letter-spacing: .01em; position: relative; padding: 6px 0; transition: color var(--dur-s) var(--ease);
}
.nav__link::after,
.nav__list > li > a::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--accent-on-dark);
	transition: width var(--dur-s) var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after,
.nav__list > li > a:hover::after, .nav__list > li > a.is-active::after { width: 100%; }
.site-header.is-scrolled .nav__link::after,
.site-header.is-scrolled .nav__list > li > a::after { background: var(--accent); }
.site-header.is-scrolled .nav__link,
.site-header.is-scrolled .nav__list > li > a { color: var(--ink); }

.site-header__actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.site-header__phone { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.92); text-decoration: none; font-weight: 700; font-size: 14px; }
.site-header.is-scrolled .site-header__phone { color: var(--ink); }
.site-header__actions .btn { padding: 11px 22px; font-size: 13.5px; }

.nav-toggle {
	display: none; position: relative; width: 40px; height: 40px; border-radius: 50%;
	border: 1px solid rgba(255,255,255,.4); background: transparent; cursor: pointer; color: #fff;
	align-items: center; justify-content: center;
}
.site-header.is-scrolled .nav-toggle { color: var(--ink); border-color: var(--line); }
.nav-toggle__icon { position: absolute; transition: opacity var(--dur-s) var(--ease), transform var(--dur-s) var(--ease); }
.nav-toggle__icon--close { opacity: 0; transform: rotate(-90deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--menu { opacity: 0; transform: rotate(90deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--close { opacity: 1; transform: rotate(0); }

.mobile-nav {
	position: fixed; inset: 0; top: 0; z-index: 99;
	background: var(--bg); padding: 110px 28px 40px;
	display: flex; flex-direction: column; gap: 40px;
	transform: translateY(-100%); opacity: 0;
	transition: transform var(--dur-m) var(--ease), opacity var(--dur-m) var(--ease);
	pointer-events: none;
}
.mobile-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav__list li { border-bottom: 1px solid var(--line); }
.mobile-nav__list a { display: block; padding: 18px 4px; font-size: 22px; font-weight: 800; text-decoration: none; color: var(--ink); }
.mobile-nav__contacts { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.mobile-nav__contacts a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }

@media (max-width: 980px) {
	.site-nav, .site-header__phone { display: none; }
	.nav-toggle { display: inline-flex; }
	.site-header__actions .btn { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
	position: relative; min-height: 100vh; overflow: hidden;
	display: flex; align-items: flex-end; color: #fff;
	/* min-height (not a fixed height/max-height) so the section grows to fit
	   its content instead of clipping it — a fixed 100vh box was cutting the
	   top of the title off right behind the header whenever the stats row
	   made the content taller than one screen (this was the real bug).
	   overflow:hidden here only contains the slide zoom transform, it no
	   longer risks clipping content because height is no longer capped. */
	padding-top: 140px;
}
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
	position: absolute; inset: 0; background-size: cover; background-position: center;
	opacity: 0; transform: scale(1.08);
	transition: opacity 1.6s var(--ease), transform 7s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.hero__overlay {
	position: absolute; inset: 0; z-index: 2;
	background:
		linear-gradient(0deg, rgba(6,7,9,.92) 0%, rgba(6,7,9,.55) 42%, rgba(6,7,9,.25) 68%, rgba(6,7,9,.55) 100%);
}
.hero__content { position: relative; z-index: 3; padding-bottom: 108px; }
.hero__title { font-size: clamp(34px, 5.4vw, 68px); max-width: 900px; color: #fff; text-transform: none; }
.hero__subtitle { max-width: 560px; color: rgba(255,255,255,.82); font-size: 18px; margin-top: 22px; }
.hero__cta { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }

.hero__stats {
	display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; max-width: 640px;
	margin-top: 72px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.2);
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat__value { font-size: clamp(28px, 3vw, 40px); font-weight: 800; display: inline; color: #fff; }
.hero-stat__suffix { font-size: clamp(28px, 3vw, 40px); font-weight: 800; color: var(--accent-on-dark); }
.hero-stat__label { font-size: 13.5px; color: rgba(255,255,255,.72); margin-top: 6px; max-width: 180px; }

.hero__scroll { position: absolute; right: 34px; bottom: 42px; z-index: 3; }
.hero__scroll span {
	display: block; width: 1px; height: 60px; background: rgba(255,255,255,.35); position: relative; overflow: hidden;
}
.hero__scroll span::after {
	content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: #fff;
	animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }

.hero__progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 3px; background: rgba(255,255,255,.15); }
.hero__progress-bar { display: block; height: 100%; width: 0%; background: var(--accent-on-dark); transition: width .2s linear; }

@media (max-width: 900px) {
	.hero { min-height: 100vh; align-items: flex-end; padding-top: 110px; }
	.hero__content { padding-bottom: 64px; }
	.hero__stats { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 30px; }
	.hero__scroll { display: none; }
}

/* =========================================================
   About + partners marquee
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about__text p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; gap: 24px; } }

.partners { margin-top: 96px; }
.partners__label { text-align: center; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 28px; }
.partners__track {
	position: relative; overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partners__marquee {
	display: flex; gap: 64px; width: max-content;
	animation: marquee 28s linear infinite;
}
.partners__marquee span { font-size: 20px; font-weight: 800; color: var(--ink-faint); white-space: nowrap; letter-spacing: .01em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   Process / services timeline
   ========================================================= */
.process { position: relative; margin-top: 12px; }
.process__line { display: none; }
.process__list {
	display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2px;
	background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.process__item {
	background: var(--bg); padding: 40px 32px; position: relative;
	transition: background var(--dur-m) var(--ease), transform var(--dur-m) var(--ease);
}
.process__item:hover { background: var(--bg-soft); }
.process__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--bg-soft-2); display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 26px; transition: background var(--dur-s) var(--ease), transform var(--dur-s) var(--ease); }
.process__item:hover .process__icon { background: var(--accent); color: #fff; transform: translateY(-3px); }
.process__index { position: absolute; top: 34px; right: 32px; font-size: 13px; font-weight: 800; color: var(--ink-faint); }
.process__title { font-size: 19px; margin-bottom: 10px; }
.process__text { font-size: 14.5px; margin: 0; }

@media (max-width: 900px) {
	.process__list { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1200px) {
	.process__list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* =========================================================
   Technologies (dark)
   ========================================================= */
.technologies--dark { background: var(--navy); color: var(--on-navy); }
.tech-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.tech-card {
	background: var(--navy-soft); border: 1px solid var(--navy-line); border-radius: var(--radius-lg);
	padding: 34px 28px; transition: transform var(--dur-m) var(--ease), border-color var(--dur-m) var(--ease);
}
.tech-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.4); }
.tech-card__icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.1); color: var(--accent-on-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.tech-card__title { color: #fff; font-size: 18px; margin-bottom: 10px; }
.tech-card__text { color: var(--on-navy-soft); font-size: 14.5px; margin: 0; }

@media (max-width: 1100px) { .tech-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .tech-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Projects
   ========================================================= */
.projects { background: var(--bg-soft); }
.projects__filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.chip {
	border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
	padding: 10px 20px; border-radius: var(--radius-pill); font-size: 13.5px; font-weight: 700; cursor: pointer;
	transition: all var(--dur-s) var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.projects__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; }
.project-card {
	background: #fff; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line);
	transition: transform var(--dur-m) var(--ease), box-shadow var(--dur-m) var(--ease), opacity var(--dur-s) var(--ease);
}
.project-card--has-image { cursor: pointer; }
.project-card--has-image:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.project-card.is-hidden { display: none; }

.project-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft-2); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-l) var(--ease); }
.project-card--has-image:hover .project-card__media img { transform: scale(1.08); }
.project-card__zoom {
	position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%;
	background: rgba(12,14,18,.55); color: #fff; display: flex; align-items: center; justify-content: center;
	opacity: 0; transform: translateY(-6px); transition: all var(--dur-s) var(--ease); backdrop-filter: blur(4px);
}
.project-card--has-image:hover .project-card__zoom { opacity: 1; transform: translateY(0); }
.project-card__placeholder {
	width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #efeee9, #e2e0d8);
	color: var(--ink-faint);
}
.project-card__placeholder-icon { width: 40px; height: 40px; }

.project-card__body { padding: 22px 24px 26px; }
.project-card__tag { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.project-card__title { font-size: 17px; margin-top: 10px; line-height: 1.3; }

@media (max-width: 1100px) { .projects__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .projects__grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox {
	position: fixed; inset: 0; z-index: 200; background: rgba(6,7,9,.94);
	display: flex; align-items: center; justify-content: center; padding: 40px;
	opacity: 0; visibility: hidden; transition: opacity var(--dur-m) var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { max-width: 1100px; width: 100%; margin: 0; text-align: center; transform: scale(.96); transition: transform var(--dur-m) var(--ease); }
.lightbox.is-open .lightbox__figure { transform: scale(1); }
.lightbox__figure img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: var(--radius-md); }
.lightbox__figure figcaption { margin-top: 20px; color: #fff; }
.lightbox__tag { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-on-dark); margin-bottom: 6px; }
.lightbox__title { font-size: 19px; font-weight: 700; }
.lightbox__close {
	position: absolute; top: 28px; right: 28px; width: 46px; height: 46px; border-radius: 50%;
	background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); color: #fff; cursor: pointer;
	display: flex; align-items: center; justify-content: center; transition: background var(--dur-s) var(--ease);
}
.lightbox__close:hover { background: rgba(255,255,255,.2); }

/* =========================================================
   Team
   ========================================================= */
.team__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 28px; }
.team-card { text-align: left; }
.team-card__photo { position: relative; aspect-ratio: 3/4; border-radius: var(--radius-md); overflow: hidden; background: var(--bg-soft-2); margin-bottom: 18px; }
.team-card__img {
	width: 100%; height: 100%; object-fit: cover;
	transition: opacity var(--dur-m) var(--ease), transform var(--dur-l) var(--ease);
}
.team-card__img--base { filter: grayscale(100%); }
.team-card__img--hover {
	position: absolute; inset: 0; opacity: 0; transform: scale(1.04);
}
.team-card:hover .team-card__img--base, .team-card:focus-within .team-card__img--base { opacity: 0; }
.team-card:hover .team-card__img--hover, .team-card:focus-within .team-card__img--hover { opacity: 1; transform: scale(1); }
.team-card__name { font-size: 17px; }
.team-card__role { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }

@media (max-width: 1100px) { .team__grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 720px) { .team__grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; } }

/* =========================================================
   Investors
   ========================================================= */
.investors { background: var(--bg-soft); }
.investors__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.investors__lead .btn { margin-top: 26px; }
.investors__points { display: grid; gap: 22px; }
.investor-point { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; transition: transform var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease); }
.investor-point:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.investor-point__check { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: rgba(20,22,26,.08); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.investor-point h3 { font-size: 16.5px; margin-bottom: 6px; }
.investor-point p { font-size: 14.5px; margin: 0; }

@media (max-width: 900px) { .investors__grid { grid-template-columns: 1fr; gap: 32px; } }

/* =========================================================
   Contact
   ========================================================= */
.contact__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.contact__details { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.contact__detail { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px; }
.contact__detail .icon { color: var(--accent); }
.contact__messengers { display: flex; gap: 12px; margin-top: 32px; }

.messenger-icon {
	width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: var(--bg-soft-2); color: var(--ink); text-decoration: none; transition: all var(--dur-s) var(--ease);
}
.messenger-icon:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 8px; }
.field input, .field select, .field textarea {
	width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 16px;
	font-family: var(--font); font-size: 15px; color: var(--ink); background: var(--bg-soft);
	transition: border-color var(--dur-s) var(--ease), background var(--dur-s) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.field textarea { resize: vertical; min-height: 100px; }
.field__error { display: block; font-size: 12.5px; color: var(--accent-dark); margin-top: 6px; min-height: 1em; }
.field--honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; }

.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; cursor: pointer; }
.checkbox input { margin-top: 3px; flex-shrink: 0; }
.checkbox a { color: var(--accent); text-decoration: underline; }

.contact-form__status { margin-top: 16px; font-size: 14px; font-weight: 700; min-height: 1.4em; }
.contact-form__status.is-success { color: #1f9d55; }
.contact-form__status.is-error { color: var(--accent-dark); }

@media (max-width: 900px) {
	.contact__grid { grid-template-columns: 1fr; gap: 40px; }
	.contact-form { padding: 26px; }
	.contact-form__row { grid-template-columns: 1fr; gap: 0; }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--navy); color: var(--on-navy-soft); padding: 88px 0 28px; }
.site-footer__top { display: grid; grid-template-columns: 1.3fr .9fr .9fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--navy-line); }
.site-footer__logo { height: 34px; width: auto; margin-bottom: 16px; }
.site-footer__brand p { color: var(--on-navy-soft); margin-bottom: 24px; }
.site-footer__messengers { display: flex; gap: 12px; }
.site-footer__messengers .messenger-icon { background: rgba(255,255,255,.06); color: #fff; }
.site-footer__messengers .messenger-icon:hover { background: #fff; color: var(--ink); }

.site-footer__nav { display: flex; gap: 48px; }
.site-footer__nav h4, .site-footer__contacts h4 { color: #fff; font-size: 14px; margin-bottom: 18px; }
.site-footer__nav ul { display: flex; flex-direction: column; gap: 12px; }
.site-footer__nav a, .site-footer__contacts a { color: var(--on-navy-soft); text-decoration: none; font-size: 14.5px; transition: color var(--dur-s) var(--ease); display: block; }
.site-footer__nav a:hover, .site-footer__contacts a:hover { color: #fff; }
.site-footer__contacts { display: flex; flex-direction: column; }
.site-footer__contacts a { margin-bottom: 10px; }

.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 13px; flex-wrap: wrap; gap: 12px; }
.site-footer__bottom a { color: var(--on-navy-soft); text-decoration: none; }
.site-footer__bottom a:hover { color: #fff; }

@media (max-width: 900px) {
	.site-footer__top { grid-template-columns: 1fr; gap: 36px; }
	.site-footer__nav { gap: 32px; }
}

/* Back to top */
.back-to-top {
	position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 48px; height: 48px; border-radius: 50%;
	background: var(--ink); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: all var(--dur-s) var(--ease);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #fff; color: var(--ink); }
.back-to-top__icon { transform: rotate(180deg); width: 18px; height: 18px; }

/* Simple content pages (index/page/single fallback) */
.simple-post { max-width: 780px; margin: 140px auto 0; }
.simple-post__content { color: var(--ink-soft); }
.simple-post__content a { color: var(--accent); text-decoration: underline; }
