/* =========================================================
   ВозимНегабарит — main stylesheet
   Built from Figma node 109:327 ("Главная")
   ========================================================= */

:root {
	--text: #41535d;
	--accent: #ec6608;
	--accent-soft: rgba(236, 102, 8, 0.08);
	--bg-light: #f3f3f3;
	--white: #fff;
	--footer-start: #424242;
	--footer-end: #0b0d0f;

	--radius-lg: 30px;
	--radius-md: 22px;
	--radius-pill: 100px;

	--shadow-card: 2px 4px 16px rgba(0, 0, 0, 0.06);
	--shadow-btn: 2px 4px 5px rgba(0, 0, 0, 0.12);
	--shadow-panel: 2px 4px 32px rgba(0, 0, 0, 0.06);

	--container: 1440px;
	--gutter: 24px;

	--font: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	color: var(--text);
	background: var(--white);
	line-height: 1.4;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
h1, h2, h3, p { margin: 0; }
.icon { width: 24px; height: 24px; flex-shrink: 0; }

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

.accent { color: var(--accent); }
.dim { opacity: 0.4; }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 20px 40px;
	border-radius: var(--radius-pill);
	font-weight: 600;
	font-size: 16px;
	white-space: nowrap;
	transition: opacity 0.15s ease, transform 0.15s ease;
}
.btn:hover { opacity: 0.9; }
.btn--accent { background: var(--accent); color: var(--white); box-shadow: var(--shadow-btn); }
.btn--outline { border: 2px solid var(--accent); color: var(--accent); padding: 18px 40px; }
.btn--white { background: var(--white); color: var(--text); box-shadow: var(--shadow-btn); padding: 14px 24px; }
.btn--ghost { color: var(--accent); font-weight: 600; }
.btn--block { width: 100%; }

/* ---------- section titles ---------- */
.section-title { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; margin-bottom: 64px; }
.section-title h2 { font-size: 48px; font-weight: 800; line-height: 1.2; max-width: 968px; }
.section-title p { font-size: 16px; }
.section-title--left { align-items: flex-start; text-align: left; }
.section-title--left h2 { max-width: none; }
.section-title__center { text-align: center; font-size: 48px; font-weight: 800; line-height: 1.2; margin-bottom: 64px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header { background: var(--text); }
.site-header__inner { padding: 10px var(--gutter) 16px; }
.site-header__top,
.site-header__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.site-header__top { padding-bottom: 8px; }
.site-header__brand { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.site-header__logo { font-size: 20px; font-weight: 800; color: var(--white); padding: 12px 16px 12px 0; }
.site-header__address { font-size: 16px; color: var(--white); opacity: 0.4; padding: 14px 0; }
.site-header__phones { display: flex; gap: 24px; }
.site-header__phones a { color: var(--white); font-weight: 600; font-size: 16px; }

.site-header__bottom { padding-top: 8px; }
.city-select {
	display: flex; align-items: center; gap: 8px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--white);
	border-radius: var(--radius-pill);
	padding: 14px 12px;
}
.city-select span { font-weight: 600; font-size: 16px; }

.primary-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.primary-nav a { color: var(--white); font-size: 16px; padding: 14px 24px; border-radius: var(--radius-pill); }
.primary-nav a:hover { background: rgba(255, 255, 255, 0.08); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
	position: relative;
	background-color: #d9d9d9;
	background-size: cover;
	background-position: center;
	padding: 120px 0;
	overflow: hidden;
}
.hero__dimmer {
	position: absolute; inset: 0;
	background: linear-gradient(rgba(9, 13, 15, 0.7), rgba(9, 13, 15, 0.8));
}
.hero__inner { position: relative; display: flex; flex-direction: column; gap: 48px; max-width: 935px; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; color: var(--white); max-width: 710px; }
.hero__copy h1 { font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: 0.02em; }
.hero__copy p { font-size: 16px; }

.hero__form,
.consultation__form { display: flex; flex-direction: column; gap: 16px; }
.hero__form-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.input-pill {
	display: flex; align-items: center; gap: 18px;
	width: 345px; max-width: 100%;
	padding: 18px 40px 18px 18px;
	border-radius: var(--radius-pill);
	border: 2px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.08);
}
.input-pill--dark { color: var(--white); }
.input-pill input {
	border: none; background: transparent; outline: none;
	font-family: inherit; font-size: 16px; font-weight: 600; width: 100%;
	color: inherit;
}
.input-pill--dark input::placeholder { color: var(--white); opacity: 0.4; }
.input-pill:not(.input-pill--dark) { background: var(--bg-light); border: none; color: var(--text); }
.input-pill:not(.input-pill--dark) input::placeholder { color: var(--text); opacity: 0.4; }

.consent { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.consent .icon { width: 24px; height: 24px; }
.consent span { font-size: 14px; opacity: 0.4; }
.hero .consent span,
.consultation .consent span { color: inherit; }

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: -100px;
	position: relative;
	z-index: 2;
}
.benefit-card {
	background: var(--white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.benefit-card__icon { width: 64px; height: 64px; }
.benefit-card h3 { font-size: 24px; font-weight: 600; line-height: 1.2; }
.benefit-card p { font-size: 16px; }

/* ============================================================
   SERVICES CATALOG
   ============================================================ */
.services { padding-top: 160px; padding-bottom: 96px; }
.tabs-row { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.tabs-row__arrow { flex-shrink: 0; color: var(--text); }
.tabs-row__items { display: flex; flex-wrap: wrap; gap: 4px; flex: 1; }
.tab-pill {
	padding: 14px 24px; border-radius: var(--radius-pill); font-size: 16px; color: var(--text);
}
.tab-pill.is-active { background: var(--accent-soft); color: var(--accent); }
.tab-pill--static { background: var(--bg-light); cursor: default; }

.thickness-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.thickness-pill {
	padding: 20px 40px; border-radius: var(--radius-pill); font-weight: 600; font-size: 16px;
	background: var(--bg-light); color: var(--text);
}
.thickness-pill.is-active { border: 2px solid var(--accent); background: transparent; color: var(--accent); padding: 18px 38px; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.service-card {
	background: var(--bg-light); border-radius: var(--radius-lg); padding: 8px;
	display: flex; flex-direction: column; gap: 24px;
}
.service-card__photo { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 451 / 240; }
.service-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.service-card h3 { font-size: 24px; font-weight: 600; line-height: 1.2; padding: 0 16px; }
.service-card p { font-size: 16px; padding: 0 16px; }
.service-card .btn { margin-top: auto; }

.services__more { display: flex; justify-content: center; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 96px 0; }
.faq__row { display: flex; align-items: stretch; gap: 24px; margin-bottom: 24px; }
.faq__items { flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.faq-card { background: var(--bg-light); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.faq-card h3 { font-size: 24px; font-weight: 600; line-height: 1.2; }
.faq-card p { font-size: 16px; }

.round-arrow {
	flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
	background: var(--bg-light); display: flex; align-items: center; justify-content: center;
	color: var(--text);
}
.round-arrow--sm { width: 32px; height: 32px; }
.plain-arrow { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.slider-dots { width: 224px; height: 8px; background: var(--bg-light); border-radius: var(--radius-pill); margin: 0 auto; overflow: hidden; }
.slider-dots__fill { display: block; width: 64px; height: 8px; background: var(--text); border-radius: var(--radius-pill); }

/* ============================================================
   CONSULTATION CTA
   ============================================================ */
.consultation { padding: 96px 0; }
.consultation__panel {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	padding: 64px;
	background-color: var(--accent);
	background-size: cover;
	background-position: center;
	box-shadow: var(--shadow-panel);
}
.consultation__panel::before {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(115deg, #fff 10%, #fff 62%, rgba(255,255,255,0.5) 92%, rgba(255,255,255,0.2) 105%, rgba(255,255,255,0) 112%);
}
.consultation__copy,
.consultation__form { position: relative; z-index: 1; }
.consultation__copy { display: flex; flex-direction: column; gap: 24px; max-width: 1250px; margin-bottom: 32px; }
.consultation__copy h2 { font-size: 48px; font-weight: 800; line-height: 1.2; }
.consultation__copy p { font-size: 16px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { display: flex; gap: 64px; padding: 96px var(--gutter); align-items: flex-start; }
.about__photo { flex: 0 0 788px; border-radius: var(--radius-lg); overflow: hidden; }
.about__photo img { width: 100%; height: 520px; object-fit: cover; }
.about__copy { flex: 1; display: flex; flex-direction: column; gap: 32px; }
.about__copy h2 { font-size: 24px; font-weight: 600; line-height: 1.2; }
.about__text { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.about__text-more { display: none; }
.about.is-expanded .about__text-more { display: block; }
.about__toggle { align-self: flex-start; }

/* ============================================================
   PRODUCTION
   ============================================================ */
.production { padding: 96px var(--gutter); }
.production .section-title p { max-width: 922px; }
.production__wrap { max-width: 1196px; margin: 0 auto; display: flex; flex-direction: column; gap: 64px; }
.production__main-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1196 / 560; }
.production__main-photo img { width: 100%; height: 100%; object-fit: cover; }
.play-button {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 80px; height: 80px;
	display: flex; align-items: center; justify-content: center;
}
.play-button .icon { width: 80px; height: 80px; }

.production__body { display: flex; gap: 64px; align-items: flex-start; }
.production__media { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.production__second-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 787 / 519; }
.production__second-photo img { width: 100%; height: 100%; object-fit: cover; }
.production__thumbs { display: flex; align-items: center; gap: 12px; }
.production__thumb { flex: 1; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 230 / 160; }
.production__thumb:first-of-type { border: 2px solid var(--accent); }
.production__thumb img { width: 100%; height: 100%; object-fit: cover; }

.production__items { flex: 0 0 345px; display: flex; flex-direction: column; gap: 20px; }
.production-item { border: 2px solid var(--bg-light); border-radius: var(--radius-lg); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 32px; }
.production-item__icon { width: 64px; height: 64px; }
.production-item h3 { font-size: 24px; font-weight: 600; }
.production-item p { font-size: 16px; }

/* ============================================================
   OBJECTS
   ============================================================ */
.objects { padding: 96px var(--gutter) 64px; }
.objects__body { display: flex; gap: 64px; margin-bottom: 96px; }
.objects__copy { flex: 0 0 581px; max-width: 100%; display: flex; flex-direction: column; gap: 64px; }
.objects__copy .section-title { margin-bottom: 0; }
.objects__copy .section-title h2 { font-size: 48px; }
.objects__points { display: flex; flex-direction: column; gap: 32px; }
.objects__points p { font-size: 16px; padding-right: 20px; }
.objects__copy .btn { align-self: flex-start; }
.objects__map { flex: 1; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; box-shadow: var(--shadow-panel); }
.objects__map iframe { width: 100%; height: 100%; border: 0; display: block; }

.objects__list-title { font-size: 24px; font-weight: 800; margin-bottom: 24px; }
.objects__pills { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews { padding: 96px var(--gutter); }
.reviews__row { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
.reviews__items { flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review-card { background: var(--bg-light); border-radius: var(--radius-lg); padding: 8px 8px 32px; }
.review-card__head { background: var(--white); border-radius: var(--radius-md); padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.review-card__who { display: flex; gap: 20px; align-items: center; }
.review-card__who .icon { width: 32px; height: 32px; }
.review-card__company { font-size: 24px; font-weight: 600; }
.review-card__author { font-size: 16px; }
.review-card__stars { display: flex; gap: 4px; }
.review-card__stars .icon { width: 24px; height: 24px; }
.review-card__body { padding: 20px 16px 0; display: flex; flex-direction: column; gap: 20px; font-size: 16px; }
.review-card__body > div { display: flex; flex-direction: column; gap: 8px; }

/* ============================================================
   CONTACT MAP CTA
   ============================================================ */
.contact-map { padding: 96px var(--gutter); }
.contact-map__actions { display: flex; justify-content: center; gap: 8px; margin: -32px 0 64px; flex-wrap: wrap; }
.contact-map__frame {
	position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 682px;
	box-shadow: var(--shadow-panel); background: var(--bg-light);
}
.contact-map__frame iframe { width: 100%; height: 100%; border: 0; }
.contact-card {
	position: absolute; top: 50%; right: 64px; transform: translateY(-50%);
	background: var(--white); border-radius: var(--radius-md);
	padding: 48px 48px 48px 32px;
	display: flex; flex-direction: column; gap: 24px;
	box-shadow: 2px 4px 16px rgba(0, 0, 0, 0.06);
	max-width: 340px;
}
.contact-card__row { display: flex; gap: 16px; }
.contact-card__row .icon { width: 24px; height: 24px; flex-shrink: 0; }
.contact-card__label { font-weight: 700; margin-bottom: 8px; }
.contact-card__phones { display: flex; align-items: center; gap: 12px; }
.contact-card__phones .icon { width: 1px; height: 20px; }
.accent-link { color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: linear-gradient(to bottom, var(--footer-start), var(--footer-end)); color: var(--white); box-shadow: inset 0 4px 24px rgba(0, 0, 0, 0.12); }
.site-footer__top { padding: 64px 0; }
.footer-columns { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-col { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 24px; }
.footer-col__title { font-size: 24px; font-weight: 600; }
.footer-links { display: flex; flex-direction: column; }
.footer-links a { padding: 14px 0; font-size: 16px; }
.footer-links a:hover { opacity: 0.7; }
.footer-phones { display: flex; gap: 16px; align-items: center; font-weight: 600; font-size: 16px; }
.footer-phones .icon { width: 2px; height: 22px; }
.social-row { display: flex; gap: 8px; }
.social-icon { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; display: block; }
.social-icon img { width: 100%; height: 100%; object-fit: cover; }
.site-footer__bottom { text-align: center; padding: 24px 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
	.benefits { grid-template-columns: repeat(2, 1fr); }
	.service-grid { grid-template-columns: repeat(2, 1fr); }
	.production__body,
	.objects__body,
	.about { flex-direction: column; }
	.about__photo { flex-basis: auto; width: 100%; }
	.about__photo img { height: auto; }
	.production__media { flex-basis: auto; width: 100%; }
	.objects__copy { flex-basis: auto; }
	.objects__map { min-height: 320px; }
	.contact-card { position: static; transform: none; margin: 24px; max-width: none; }
	.contact-map__frame { height: auto; display: flex; flex-direction: column; }
	.contact-map__frame iframe { height: 420px; }
}

@media (max-width: 900px) {
	.primary-nav {
		display: none;
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--text);
		flex-direction: column; align-items: stretch;
		padding: 8px var(--gutter) 16px;
	}
	.primary-nav.is-open { display: flex; }
	.site-header__bottom { position: relative; }
	.nav-toggle { display: flex; }
	.hero__copy h1 { font-size: 40px; }
	.section-title h2, .section-title__center, .consultation__copy h2 { font-size: 32px; }
	.reviews__items, .faq__items { grid-template-columns: 1fr; }
	.contact-map__actions { margin-top: 0; }
}

@media (max-width: 640px) {
	.benefits, .service-grid { grid-template-columns: 1fr; }
	.hero { padding: 64px 0; }
	.hero__form-row { flex-direction: column; align-items: stretch; }
	.input-pill { width: 100%; }
	.consultation__panel { padding: 32px; }
}
