/**
 * Арт-курьер — стили один в один с Тильдой (art-courier.ru).
 * Дочерняя тема Reboot.
 */

/* ========== Общие: контейнер, сброс под наш layout ========== */
.ac-container {
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

body.ac-site .site-content.fixed .site-content-inner {
	max-width: 100%;
}

/* ========== Шапка (как на Тильде) ========== */
.ac-header {
	background: #fff;
	border-bottom: 1px solid #e5e5e5;
	padding: 15px 0;
}

.ac-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 15px;
}

.ac-header__brand {
	flex-shrink: 0;
}

.ac-header__logo,
.ac-header__logo-link {
	font-size: 1.5rem;
	font-weight: 700;
	color: #1a1a1a;
	text-decoration: none;
	letter-spacing: 0.02em;
}

.ac-header__logo:hover,
.ac-header__logo-link:hover {
	color: #333;
	text-decoration: none;
}

.ac-header__logo-img {
	display: block;
	max-height: 50px;
	width: auto;
}

.ac-header__nav {
	flex: 1;
	display: flex;
	justify-content: flex-end;
}

.ac-header-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0 1.5em;
}

.ac-header-menu li {
	margin: 0;
}

.ac-header-menu a {
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #1a1a1a;
	text-decoration: none;
}

.ac-header-menu a:hover {
	text-decoration: underline;
}

.ac-header__burger {
	display: none;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
}

.ac-header__burger span {
	display: block;
	width: 24px;
	height: 2px;
	background: #1a1a1a;
}

.ac-nav-placeholder {
	display: none;
}

/* Мобильное меню: бургер виден, пункты скрыты или в выпадашке */
@media (max-width: 1024px) {
	.ac-header__burger {
		display: flex;
	}
	.ac-header__nav {
		display: none;
	}
	.ac-header__nav.is-open {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid #e5e5e5;
		padding: 15px 20px;
		z-index: 100;
	}
	.ac-header-menu {
		flex-direction: column;
		align-items: flex-start;
	}
	.ac-header-menu li {
		width: 100%;
	}
	.ac-header-menu a {
		display: block;
		padding: 8px 0;
	}
}

/* ========== Главная: секции 1:1 ========== */
.ac-front-page {
	padding: 0 0 3rem;
}

.ac-hero {
	padding: 4rem 0;
	text-align: center;
	background: #fafafa;
}

.ac-hero__title {
	font-size: clamp(1.5rem, 4vw, 2.25rem);
	line-height: 1.3;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 1rem;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.ac-hero__subtitle {
	font-size: clamp(1rem, 2vw, 1.2rem);
	line-height: 1.5;
	color: #444;
	margin: 0 0 1.5rem;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.ac-hero__cta {
	margin: 0;
}

.ac-btn {
	display: inline-block;
	padding: 12px 28px;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.ac-btn--primary {
	background: #1a1a1a;
	color: #fff;
}

.ac-btn--primary:hover {
	background: #333;
	color: #fff;
	text-decoration: none;
}

.ac-btn--secondary {
	background: transparent;
	color: #1a1a1a;
	border: 2px solid #1a1a1a;
}

.ac-btn--secondary:hover {
	background: #1a1a1a;
	color: #fff;
	text-decoration: none;
}

/* Секция: главные направления */
.ac-directions {
	padding: 4rem 0;
	text-align: center;
}

.ac-directions__lead {
	font-size: 1rem;
	color: #666;
	margin: 0 0 0.5rem;
}

.ac-directions__title {
	font-size: clamp(1.25rem, 3vw, 1.75rem);
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 1.5rem;
}

.ac-directions__cta {
	margin: 0;
}

/* Секция: наши проекты */
.ac-projects {
	padding: 4rem 0;
	background: #f5f5f5;
}

.ac-projects__title {
	font-size: clamp(1.25rem, 3vw, 1.75rem);
	font-weight: 700;
	color: #1a1a1a;
	text-align: center;
	margin: 0 0 2rem;
}

.ac-projects__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
	max-width: 900px;
	margin: 0 auto;
}

.ac-projects__item {
	font-size: 1rem;
	line-height: 1.5;
	color: #333;
	padding-left: 1.2em;
	position: relative;
}

.ac-projects__item::before {
	content: "—";
	position: absolute;
	left: 0;
	color: #888;
}

/* Секция: хранение + форма */
.ac-storage-form {
	padding: 4rem 0;
	text-align: center;
}

.ac-storage-form__title {
	font-size: clamp(1.25rem, 3vw, 1.75rem);
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 0.5rem;
}

.ac-storage-form__intro {
	font-size: 1rem;
	color: #555;
	margin: 0 0 0.5rem;
}

.ac-storage-form__link {
	margin: 0 0 2rem;
}

.ac-storage-form__link a {
	color: #1a1a1a;
	font-weight: 600;
	text-decoration: underline;
}

.ac-storage-form__link a:hover {
	text-decoration: none;
}

.ac-storage-form__form {
	max-width: 480px;
	margin: 0 auto;
	text-align: left;
}

/* ========== Форма заявки ========== */
.art-courier-request-form-wrapper {
	max-width: 100%;
	margin: 1.5em 0;
}

.art-courier-request-form .art-courier-form-row {
	margin-bottom: 1em;
}

.art-courier-request-form label {
	display: block;
	margin-bottom: 0.25em;
	font-weight: 600;
	font-size: 0.95rem;
}

.art-courier-request-form input[type="text"],
.art-courier-request-form input[type="tel"],
.art-courier-request-form input[type="email"],
.art-courier-request-form textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.6em 0.75em;
	border: 1px solid #ccc;
	box-sizing: border-box;
	font-size: 1rem;
}

.art-courier-form-row--honeypot {
	position: absolute;
	left: -9999px;
	opacity: 0;
	pointer-events: none;
}

.art-courier-form-submit {
	padding: 12px 28px;
	background: #1a1a1a;
	color: #fff;
	border: none;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 600;
}

.art-courier-form-submit:hover {
	background: #333;
}

.art-courier-form-agreement {
	font-size: 0.9em;
	color: #666;
	margin-top: 1em;
}

.art-courier-form-agreement a {
	color: inherit;
	text-decoration: underline;
}

.art-courier-form-message--success {
	padding: 1em;
	background: #e8f5e9;
	border-left: 4px solid #4caf50;
}

.required {
	color: #c00;
}

/* ========== Подвал (как на Тильде) ========== */
.ac-footer-wrap {
	margin-top: auto;
}

.ac-footer {
	background: #2d2d2d;
	color: #bbb;
	padding: 2.5rem 0;
}

.ac-footer__inner {
	text-align: center;
}

.ac-footer__credits {
	margin: 0 0 0.5rem;
	font-size: 0.9rem;
}

.ac-footer__credits a {
	color: #bbb;
	text-decoration: none;
}

.ac-footer__credits a:hover {
	text-decoration: underline;
	color: #fff;
}

.ac-footer__contacts {
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
	line-height: 1.6;
}

.ac-footer__contacts a {
	color: #bbb;
	text-decoration: none;
}

.ac-footer__contacts a:hover {
	color: #fff;
	text-decoration: underline;
}

.ac-footer__copy {
	margin: 1rem 0 0;
	font-size: 0.9rem;
	color: #999;
}

.ac-footer__copy a,
.ac-footer__privacy {
	color: #999;
	text-decoration: none;
}

.ac-footer__copy a:hover,
.ac-footer__privacy:hover {
	color: #fff;
	text-decoration: underline;
}

.ac-footer__sep {
	margin: 0 0.25em;
}

.ac-footer__counters {
	margin-top: 1rem;
}

/* ========== Внутренние страницы (company, contacts): общий контент ========== */
body.ac-site .entry-content {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

body.ac-site .entry-title {
	text-align: center;
	margin-bottom: 1.5rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Скрыть лишнее из Reboot на внутренних (при необходимости) */
body.ac-site.page .site-main .article-post .entry-content h2 {
	margin-top: 1.5em;
	margin-bottom: 0.5em;
	font-size: 1.25rem;
}

/* ========== Адаптив: планшеты и телефоны ========== */
@media (max-width: 768px) {
	.ac-container {
		padding-left: 15px;
		padding-right: 15px;
	}

	.ac-hero,
	.ac-directions,
	.ac-projects,
	.ac-storage-form {
		padding: 2.5rem 0;
	}

	.ac-projects__list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.ac-hero__title {
		font-size: 1.35rem;
	}

	.ac-btn {
		padding: 10px 20px;
		font-size: 0.95rem;
	}
}
