/* Home page template sections (page-templates/home.php). Mobile at max-width 768px. */

/* Hero */
.hero .container { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; padding-block: 56px 40px; }
.hero__text { flex: 1 1 480px; min-width: 0; }
.badge { display: inline-block; background: var(--red-tint); color: var(--red-dark); font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; }
.ak-main .hero h1 { font-size: 44px; line-height: 1.35; font-weight: 800; margin: 16px 0 12px; }
.hero__lead { font-size: 18px; color: var(--muted); margin: 0 0 28px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; min-height: 44px; }
.chip:hover, .chip:focus { border-color: var(--red); color: var(--ink); }
.chip .icon { color: var(--red); width: 16px; height: 16px; stroke-width: 2.4; }
.hero__label { font-size: 14px; color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.hero__media { flex: 1 1 420px; min-width: 0; position: relative; }
.hero__media img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius-xl); }
.price-badge { position: absolute; bottom: 20px; right: 20px; background: var(--white); border-radius: var(--radius); padding: 14px 18px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.price-badge small { display: block; font-size: 13px; color: var(--muted); }
.price-badge strong { font-size: 22px; font-weight: 800; }
.price-badge span { font-size: 14px; font-weight: 500; }

/* Prices */
.prices { background: var(--soft); border-top: 1px solid var(--line); }
.prices .container { padding-block: 56px; }
.price-tabs { display: none; }
.price-grid { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.price-card { flex: 1 1 340px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; scroll-margin-top: 96px; }
.price-card__head { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.price-card__head img { width: 72px; height: 72px; object-fit: contain; flex: none; }
.ak-main .price-card__head h3 { font-size: 20px; font-weight: 800; }
.price-card__head p { margin: 0; font-size: 13px; color: var(--muted); }
.price-card__foot { display: flex; gap: 8px; padding: 16px 20px; border-top: 1px solid var(--line); }
.price-card__foot .btn--primary { flex: 1; min-height: 44px; padding: 11px; }
.icon-btn { display: flex; align-items: center; justify-content: center; width: 48px; min-height: 44px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); }
.icon-btn .icon-svg { width: 20px; height: 20px; }
.price-note { display: none; }

/* Steps */
.steps .container { padding-block: 64px; }
.ak-main .steps h2 { font-size: 28px; font-weight: 800; text-align: center; margin-bottom: 28px; }
.ak-main .steps__media { display: none; }
.steps ol { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.steps li { flex: 1 1 260px; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.steps__num { width: 40px; height: 40px; border-radius: 50%; background: var(--red-tint); color: var(--red-dark); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.ak-main .steps h3 { margin: 14px 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); }

/* FAQ */
.faq .container { max-width: 860px; padding-block: 64px; }
.ak-main .faq h2 { font-size: 28px; font-weight: 800; text-align: center; margin-bottom: 24px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--red); font-weight: 500; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Blog */
.blog { background: var(--soft); border-top: 1px solid var(--line); }
.blog .container { padding-block: 56px; }
.blog .section-head { align-items: center; margin-bottom: 24px; }
.ak-main .blog .section-head h2 { font-size: 26px; }
.blog__list { display: flex; gap: 20px; flex-wrap: wrap; }
.post { flex: 1 1 300px; background: var(--white); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); color: var(--ink); }
.post:hover, .post:focus { color: var(--ink); border-color: #CFCFD4; }
.post img { width: 100%; height: 190px; object-fit: cover; }
.ak-main .post h3 { font-size: 17px; padding: 16px 18px 20px; }

@media (max-width: 768px) {
	.hero .container { padding-block: 20px 8px; gap: 0; }
	.badge { font-size: 13px; padding: 4px 10px; }
	.ak-main .hero h1 { font-size: 26px; line-height: 1.45; margin: 10px 0 6px; }
	.hero h1 br { display: none; }
	.hero__lead { font-size: 15px; margin: 0; }
	.chips, .hero__label, .hero .order-buttons, .hero__media { display: none; }

	.prices { background: var(--white); border-top: 0; }
	.prices .container { padding-block: 12px 20px; }
	.price-tabs { display: flex; gap: 6px; background: #F3F3F5; padding: 4px; border-radius: 12px; margin-bottom: 14px; }
	.price-tabs button, .price-tabs button:hover, .price-tabs button:focus { flex: 1; min-height: 44px; padding: 0 4px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); font-family: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
	.price-tabs button[aria-selected="true"] { background: var(--red); color: var(--white); }
	.price-grid { display: block; }
	.price-card { border: 0; border-radius: 0; background: transparent; }
	.price-card[hidden] { display: none; }
	.price-card__head { padding: 0 0 8px; border: 0; gap: 12px; }
	.price-card__head img { width: 56px; height: 56px; }
	.ak-main .price-card__head h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.price-card__foot { display: none; }
	.price-note { display: block; font-size: 12px; color: var(--muted); margin: 8px 0 0; }

	.steps .container { padding-block: 4px 24px; }
	.ak-main .steps__media { display: block; width: 100%; height: 170px; object-fit: cover; border-radius: var(--radius); margin-bottom: 18px; }
	.ak-main .steps h2 { font-size: 18px; text-align: right; margin-bottom: 8px; }
	.steps ol { display: block; font-size: 14px; color: var(--muted); }
	.steps li { border: 0; padding: 0; display: flex; gap: 6px; }
	.steps__num { all: unset; }
	.steps__num::after { content: "."; }
	.ak-main .steps h3 { all: unset; }
	.steps p { display: none; }

	.order-band { display: none; }

	.faq .container { padding-block: 8px 24px; }
	.ak-main .faq h2 { font-size: 18px; text-align: right; margin-bottom: 10px; }
	.faq details { border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; }
	.faq summary { font-size: 15px; }
	.faq details p { font-size: 14px; margin-top: 8px; }

	.blog .container { padding-block: 20px 28px; }
	.ak-main .blog .section-head h2 { font-size: 18px; }
	.blog .section-head__link { display: flex; min-height: 44px; align-items: center; font-size: 14px; }
	.blog__list { flex-direction: column; gap: 8px; }
	.post { flex: none; display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: var(--radius); }
	.post img { width: 88px; height: 72px; border-radius: 10px; flex: none; }
	.ak-main .post h3 { font-size: 14px; padding: 0; line-height: 1.6; }
}
