/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   AlegeTop
 Template:     generatepress
 Version:      0.1
*/


/* =========================================================
   ALEGETOP CORE v1
   Global Design System
   ========================================================= */

:root {

	/* -----------------------------------------------------
	   Layout
	   ----------------------------------------------------- */

	--aletop-container: 1200px;
	--aletop-page-padding: 24px;


	/* -----------------------------------------------------
	   Typography
	   ----------------------------------------------------- */

	--aletop-font-family:
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		Roboto,
		Helvetica,
		Arial,
		sans-serif;

	--aletop-font-size: 16px;
	--aletop-line-height: 1.55;

	--aletop-h1-size: 40px;
	--aletop-h1-line: 1.15;

	--aletop-h2-size: 30px;
	--aletop-h2-line: 1.2;

	--aletop-h3-size: 20px;
	--aletop-h3-line: 1.3;


	/* -----------------------------------------------------
	   Colors
	   ----------------------------------------------------- */

	--aletop-bg: #ffffff;
	--aletop-surface: #f7f7f8;

	--aletop-text: #171717;
	--aletop-muted: #666666;

	--aletop-border: #e5e5e5;

	--aletop-accent: #111111;


	/* -----------------------------------------------------
	   UI
	   ----------------------------------------------------- */

	--aletop-radius: 12px;

	--aletop-space-1: 8px;
	--aletop-space-2: 12px;
	--aletop-space-3: 16px;
	--aletop-space-4: 24px;
	--aletop-space-5: 32px;
	--aletop-space-6: 48px;
	--aletop-space-7: 64px;
}


/* =========================================================
   BASE
   ========================================================= */

html {
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	margin: 0;
	background: var(--aletop-bg);
	color: var(--aletop-text);
	font-family: var(--aletop-font-family);
	font-size: var(--aletop-font-size);
	line-height: var(--aletop-line-height);
}


/* =========================================================
   IMAGES
   ========================================================= */

img {
	max-width: 100%;
	height: auto;
}


/* =========================================================
   LINKS
   ========================================================= */

a {
	color: inherit;
}


/* =========================================================
   ALEGETOP CONTAINER
   ========================================================= */

.aletop-container {
	width: min(
		var(--aletop-container),
		calc(100% - (var(--aletop-page-padding) * 2))
	);

	margin-inline: auto;
}


/* =========================================================
   ALEGETOP TYPOGRAPHY
   ========================================================= */

.aletop-h1 {
	margin: 0;
	font-size: var(--aletop-h1-size);
	line-height: var(--aletop-h1-line);
	font-weight: 700;
}

.aletop-h2 {
	margin: 0;
	font-size: var(--aletop-h2-size);
	line-height: var(--aletop-h2-line);
	font-weight: 700;
}

.aletop-h3 {
	margin: 0;
	font-size: var(--aletop-h3-size);
	line-height: var(--aletop-h3-line);
	font-weight: 700;
}


/* =========================================================
   ALEGETOP SECTION
   ========================================================= */

.aletop-section {
	width: 100%;
}


/* =========================================================
   ALEGETOP RESPONSIVE
   ========================================================= */

@media (max-width: 767px) {

	:root {

		--aletop-page-padding: 16px;

		--aletop-h1-size: 32px;
		--aletop-h2-size: 26px;
		--aletop-h3-size: 20px;
	}

}



/* =========================================================
   ALEGETOP CORE — HEADER
   =========================================================

   Собственный Header платформы AlegeTop.

   GeneratePress остаётся фундаментом WordPress,
   но стандартный Header GeneratePress заменён
   собственным Header AlegeTop.

   Header является частью общего AlegeTop CORE
   и не привязан к конкретному HUB.

   Основные элементы:

   - Logo;
   - Navigation;
   - Search;
   - Mobile Menu.

   ========================================================= */


/* =========================================================
   HEADER — ОСНОВНОЙ КОНТЕЙНЕР
   ========================================================= */

.aletop-header {
	position: sticky;
	top: 0;
	z-index: 1000;

	width: 100%;

	background: var(--aletop-bg);

	border-bottom: 1px solid var(--aletop-border);
}


/* =========================================================
   HEADER — ВНУТРЕННИЙ CONTAINER
   ========================================================= */

.aletop-header__inner {
	width: min(
		var(--aletop-container),
		calc(100% - (var(--aletop-page-padding) * 2))
	);

	min-height: 68px;

	margin-inline: auto;

	display: flex;

	align-items: center;
}


/* =========================================================
   HEADER — LOGO / BRAND
   ========================================================= */

.aletop-header__brand {
	display: flex;
	align-items: baseline;

	flex-shrink: 0;
}


/* =========================================================
   HEADER — LOGO
   ========================================================= */

.aletop-header__logo {
	display: inline-flex;
	align-items: baseline;

	color: var(--aletop-text);

	font-size: 22px;
	line-height: 1;
	font-weight: 700;

	text-decoration: none;

	white-space: nowrap;
}


/* =========================================================
   HEADER — DESKTOP NAVIGATION
   ========================================================= */

.aletop-header__nav {
	display: flex;
	align-items: baseline;

	gap: 28px;

	margin-left: auto;
}


/* =========================================================
   HEADER — NAVIGATION LINK
   ========================================================= */

.aletop-header__link {
	display: inline-flex;
	align-items: baseline;

	color: var(--aletop-text);

	font-size: 15px;
	line-height: 1.3;
	font-weight: 500;

	text-decoration: none;

	white-space: nowrap;

	transition: opacity 0.2s ease;
}


/* =========================================================
   HEADER — NAVIGATION LINK :HOVER
   ========================================================= */

.aletop-header__link:hover {
	opacity: 0.65;
}


/* =========================================================
   HEADER — SEARCH CONTAINER
   ========================================================= */

.aletop-header__search {
	margin-left: 28px;

	flex-shrink: 0;
}


/* =========================================================
   HEADER — SEARCH BUTTON
   ========================================================= */

.aletop-header__search-button {
	display: inline-flex;
	align-items: baseline;

	gap: 7px;

	padding: 0;

	border: 0;

	background: transparent;

	color: var(--aletop-text);

	font-family: inherit;
	font-size: 15px;
	line-height: 1.3;
	font-weight: 500;

	cursor: pointer;
}


/* =========================================================
   HEADER — SEARCH ICON
   ========================================================= */

.aletop-header__search-icon {
	display: inline-flex;
	align-items: baseline;
	justify-content: center;

	font-size: 21px;
	line-height: 1;
}


/* =========================================================
   HEADER — MOBILE MENU BUTTON
   ========================================================= */

.aletop-header__menu-toggle {
	display: none;

	width: 40px;
	height: 40px;

	padding: 8px;

	margin-left: auto;

	border: 0;

	background: transparent;

	cursor: pointer;
}


/* =========================================================
   HEADER — MOBILE MENU ICON
   ========================================================= */

.aletop-header__menu-toggle span {
	display: block;

	width: 100%;
	height: 2px;

	margin: 5px 0;

	background: var(--aletop-text);
}


/* =========================================================
   MOBILE MENU — ОСНОВНОЙ CONTAINER
   ========================================================= */

.aletop-mobile-menu {
	width: 100%;

	padding: 8px 0 16px;

	background: var(--aletop-bg);

	border-top: 1px solid var(--aletop-border);
}


/* =========================================================
   MOBILE MENU — HIDDEN
   ========================================================= */

.aletop-mobile-menu[hidden] {
	display: none;
}


/* =========================================================
   MOBILE MENU — LINKS
   ========================================================= */

.aletop-mobile-menu__link,
.aletop-mobile-menu__search {
	display: block;

	width: min(
		var(--aletop-container),
		calc(100% - (var(--aletop-page-padding) * 2))
	);

	margin-inline: auto;

	padding: 12px 0;

	border: 0;

	background: transparent;

	color: var(--aletop-text);

	font-family: inherit;
	font-size: 16px;
	line-height: 1.4;
	font-weight: 500;

	text-align: left;
	text-decoration: none;

	cursor: pointer;
}


/* =========================================================
   MOBILE MENU — HOVER
   ========================================================= */

.aletop-mobile-menu__link:hover,
.aletop-mobile-menu__search:hover {
	opacity: 0.65;
}


/* =========================================================
   MOBILE HEADER — RESPONSIVE
   ========================================================= */

@media (max-width: 767px) {

	.aletop-header__inner {
		min-height: 60px;

		align-items: center;
	}

	.aletop-header__nav {
		display: none;
	}

	.aletop-header__search {
		display: none;
	}

	.aletop-header__menu-toggle {
		display: block;
	}

}


/* =========================================================
   GLOBAL FOOTER — MAIN
   ========================================================= */

.aletop-footer {
    width: 100%;
    background: #fff;
    color: var(--aletop-text);
}

.aletop-footer__main {
    width: 100%;
}

.aletop-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
    gap: 80px;
    max-width: var(--aletop-container);
    margin: 0 auto;
    padding: 54px var(--aletop-page-padding) 52px;
}

.aletop-footer__logo {
    margin: 0 0 12px;
    color: var(--aletop-text);
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
}

.aletop-footer__description {
    max-width: 420px;
    margin: 0;
    color: var(--aletop-muted);
    font-size: 16px;
    line-height: 1.55;
}


/* =========================================================
   GLOBAL FOOTER — LEGAL NAVIGATION
   ========================================================= */

.aletop-footer__legal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.aletop-footer__title {
    margin: 0 0 16px;
    color: var(--aletop-text);
    font-size: 17px;
    line-height: 1.4;
    font-weight: 700;
}

.aletop-footer__link {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--aletop-muted);
    font-size: 15px;
    line-height: 1.45;
    text-decoration: none;
}

.aletop-footer__link:last-child {
    margin-bottom: 0;
}

.aletop-footer__link:hover {
    color: var(--aletop-text);
    text-decoration: underline;
}


/* =========================================================
   GLOBAL FOOTER — BOTTOM
   ========================================================= */

.aletop-footer__bottom {
    width: 100%;
    border-top: 1px solid var(--aletop-border);
}

.aletop-footer__bottom-inner {
    max-width: var(--aletop-container);
    margin: 0 auto;
    padding: 18px var(--aletop-page-padding);
}

.aletop-footer__copyright {
    margin: 0;
    color: var(--aletop-muted);
    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   GLOBAL FOOTER — MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .aletop-footer__inner {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-top: 44px;
        padding-bottom: 42px;
    }

    .aletop-footer__description {
        max-width: 520px;
    }

    .aletop-footer__legal {
        align-items: flex-start;
    }

    .aletop-footer__bottom-inner {
        padding-top: 16px;
        padding-bottom: 16px;
    }
}


/* =========================================================
   HOMEPAGE — HERO
   ========================================================= */

.aletop-home__hero {
    padding: 82px 20px 86px;
}

.aletop-home__hero-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.aletop-home__title {
    margin: 0 0 20px;
    color: var(--aletop-text);
    font-size: 48px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.aletop-home__tagline {
    max-width: 700px;
    margin: 0 auto 36px;
    color: var(--aletop-muted);
    font-size: 20px;
    line-height: 1.55;
}

.aletop-home__search {
    display: flex;
    align-items: stretch;
    max-width: 720px;
    margin: 0 auto;
}

.aletop-home__search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.aletop-home__search-input {
    flex: 1;
    min-width: 0;
    height: 54px;
    padding: 0 18px;
    border: 1px solid var(--aletop-border);
    border-right: 0;
    border-radius: var(--aletop-radius) 0 0 var(--aletop-radius);
    background: #fff;
    color: var(--aletop-text);
    font-family: inherit;
    font-size: 16px;
    line-height: 1;
    box-shadow: none;
}

.aletop-home__search-input::placeholder {
    color: var(--aletop-muted);
    opacity: 1;
}

.aletop-home__search-input:focus {
    border-color: var(--aletop-accent);
    outline: none;
    box-shadow: 0 0 0 1px var(--aletop-accent);
}

.aletop-home__search-button {
    height: 54px;
    padding: 0 28px;
    border: 1px solid var(--aletop-accent);
    border-radius: 0 var(--aletop-radius) var(--aletop-radius) 0;
    background: var(--aletop-accent);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.aletop-home__search-button:hover {
    opacity: 0.88;
}

.aletop-home__search-button:focus-visible {
    outline: 2px solid var(--aletop-accent);
    outline-offset: 3px;
}


/* =========================================================
   HOMEPAGE — CATEGORIES
   ========================================================= */

.aletop-home__categories {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 76px 20px 82px;
    background: var(--aletop-surface);
    border-top: 1px solid #e3e3e5;
    border-bottom: 1px solid #e3e3e5;
}

.aletop-home__section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.aletop-home__section-header {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.aletop-home__section-title {
    margin: 0 0 14px;
    color: var(--aletop-text);
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.aletop-home__section-intro {
    margin: 0;
    color: var(--aletop-muted);
    font-size: 17px;
    line-height: 1.55;
}

.aletop-home__categories-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
	gap: 20px;
    max-width: 760px;
    margin: 0 auto;
}

.aletop-home__category {
    display: block;
    padding: 30px;
    border: 1px solid var(--aletop-border);
    border-radius: var(--aletop-radius);
    background: #fff;
    color: var(--aletop-text);
    text-align: center;
    text-decoration: none;
}

.aletop-home__category-title {
    margin: 0 0 12px;
    color: var(--aletop-text);
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
}

.aletop-home__category-text {
    max-width: 600px;
    margin: 0 auto 20px;
    color: var(--aletop-muted);
    font-size: 16px;
    line-height: 1.55;
}

.aletop-home__category-link {
    display: inline-block;
    color: var(--aletop-text);
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
    text-decoration: none;
}

.aletop-home__category-link:hover {
    text-decoration: underline;
}


/* =========================================================
   HOMEPAGE — HOW IT WORKS
   ========================================================= */

.aletop-home__how-it-works {
    padding: 78px 20px 84px;
    background: #fff;
}

.aletop-home__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px;
}

.aletop-home__step {
    text-align: center;
}

.aletop-home__step-title {
    margin: 0 0 12px;
    color: var(--aletop-text);
    font-size: 21px;
    line-height: 1.3;
    font-weight: 700;
}

.aletop-home__step-text {
    max-width: 280px;
    margin: 0 auto;
    color: var(--aletop-muted);
    font-size: 16px;
    line-height: 1.55;
}


/* =========================================================
   HOMEPAGE — WHAT YOU CAN FIND
   ========================================================= */

.aletop-home__what-you-can-find {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 78px 20px 84px;
    background: var(--aletop-surface);
    border-top: 1px solid #e3e3e5;
    border-bottom: 1px solid #e3e3e5;
}

.aletop-home__features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.aletop-home__feature {
    padding: 28px 26px;
    border: 1px solid var(--aletop-border);
    border-radius: var(--aletop-radius);
    background: #fff;
}

.aletop-home__feature-title {
    margin: 0 0 12px;
    color: var(--aletop-text);
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
}

.aletop-home__feature-text {
    margin: 0;
    color: var(--aletop-muted);
    font-size: 16px;
    line-height: 1.55;
}


/* =========================================================
   HOMEPAGE — CLOSING
   ========================================================= */

.aletop-home__closing {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 64px 20px 70px;
    background: #fff;
    border-bottom: 1px solid var(--aletop-border);
}

.aletop-home__closing-text {
    max-width: 760px;
    margin: 0 auto;
    color: var(--aletop-text);
    font-size: 21px;
    line-height: 1.5;
    font-weight: 600;
    text-align: center;
}


/* =========================================================
   HOMEPAGE — MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .aletop-home__hero {
        padding: 60px 20px 68px;
    }

    .aletop-home__title {
        margin-bottom: 18px;
        font-size: 38px;
        line-height: 1.12;
    }

    .aletop-home__tagline {
        margin-bottom: 30px;
        font-size: 18px;
        line-height: 1.5;
    }

    .aletop-home__search {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .aletop-home__search-input {
        width: 100%;
        height: 52px;
        border-right: 1px solid var(--aletop-border);
        border-radius: var(--aletop-radius);
    }

    .aletop-home__search-button {
        width: 100%;
        height: 52px;
        border-radius: var(--aletop-radius);
    }

    .aletop-home__categories {
        padding: 58px 20px 64px;
    }

    .aletop-home__section-header {
        margin-bottom: 32px;
    }

    .aletop-home__section-title {
        font-size: 27px;
    }

    .aletop-home__section-intro {
        font-size: 16px;
    }

    .aletop-home__category {
        padding: 26px 22px;
    }

    .aletop-home__how-it-works {
        padding: 60px 20px 68px;
    }

    .aletop-home__steps {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .aletop-home__what-you-can-find {
        padding: 60px 20px 68px;
    }

    .aletop-home__features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .aletop-home__feature {
        padding: 24px 22px;
    }

    .aletop-home__closing {
        padding: 52px 20px 60px;
    }

    .aletop-home__closing-text {
        font-size: 19px;
    }
}


/* =========================================================
   SECTION — ВНУТРЕННИЙ КОНТЕЙНЕР
   ========================================================= */

.aletop-home__section-inner {
	max-width: 1100px;
	margin: 0 auto;
}


/* =========================================================
   SECTION — ЗАГОЛОВОК
   ========================================================= */

.aletop-home__section-header {
	margin-bottom: 45px;
	text-align: center;
}


.aletop-home__section-title {
	margin: 0;
	font-size: 30px;
	line-height: 1.2;
	font-weight: 700;
}


/* =========================================================
   STEPS — КОНТЕЙНЕР
   ========================================================= */

.aletop-home__steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 50px;
}


/* =========================================================
   STEP — ОТДЕЛЬНЫЙ ЭЛЕМЕНТ
   ========================================================= */

.aletop-home__step {
	text-align: center;
}


/* =========================================================
   STEP — ЗАГОЛОВОК
   ========================================================= */

.aletop-home__step-title {
	margin: 0 0 12px;
	font-size: 22px;
	line-height: 1.3;
	font-weight: 700;
}


/* =========================================================
   STEP — ОПИСАНИЕ
   ========================================================= */

.aletop-home__step-text {
	max-width: 250px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.5;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

	.aletop-home__how-it-works {
		padding: 55px 20px 65px;
	}

	.aletop-home__section-header {
		margin-bottom: 35px;
	}

	.aletop-home__section-title {
		font-size: 26px;
	}

	.aletop-home__steps {
		grid-template-columns: 1fr;
		gap: 35px;
	}

	.aletop-home__step-title {
		font-size: 21px;
	}

}


 /* =========================================================
    HUB — SECTION DIVIDERS
    ========================================================= */

.aletop-hub__decision-surface,
.entry-content > section {
	position: relative;
}

.aletop-hub__decision-surface::after,
.entry-content > section::after {
	content: "";
	position: absolute;
	left: calc(50% - 50vw);
	bottom: 0;
	width: 100vw;
	border-bottom: 1px solid #e2e8f0;
}


/* =========================================================
   ALEGETOP — HUB INTRO
   ========================================================= */

.aletop-hub__intro {
	width: min(
		var(--aletop-container),
		calc(100% - (var(--aletop-page-padding) * 2))
	);

	margin-inline: auto;
	padding: 60px 0 70px;
}


/* ---------------------------------------------------------
   INTRO HEADER
   --------------------------------------------------------- */

.aletop-hub__intro-header {
	max-width: 800px;
	margin: 0 auto 42px;
	text-align: center;
}

.aletop-hub__title {
	margin: 0 0 18px;
	font-size: 42px;
	line-height: 1.15;
	font-weight: 700;
}

.aletop-hub__description {
	margin: 0;
	font-size: 18px;
	line-height: 1.6;
}


/* ---------------------------------------------------------
   QUICK NAV
   --------------------------------------------------------- */

.aletop-hub__quick-nav {
	display: flex;
	gap: 16px;

	width: 100%;
	max-width: 1200px;

	margin: 0 auto;
}


/* ---------------------------------------------------------
   QUICK CARD
   --------------------------------------------------------- */

.aletop-hub__quick-card {
	display: block;

	flex: 1 1 0;
	min-width: 0;

	padding: 24px 20px 22px;

	border: 2px solid #e5e5e5;

	background: transparent;

	color: var(--aletop-text);

	text-decoration: none;

	transition: border-color 0.2s ease;
}

.aletop-hub__quick-card--primary:hover {
	border-color: #1a73e8;
}

.aletop-hub__quick-card--secondary:hover {
	border-color: #34a853;
}

.aletop-hub__quick-card--tertiary:hover {
	border-color: #e67e22;
}

.aletop-hub__quick-card--quaternary:hover {
    border-color: #8e44ad;
}

/* ---------------------------------------------------------
   QUICK CARD HEADING
   --------------------------------------------------------- */

.aletop-hub__quick-heading {
	display: flex;
	align-items: center;
	gap: 12px;

	margin: 0 0 12px;
}

.aletop-hub__quick-title {
	margin: 0;

	font-size: 20px;
	line-height: 1.2;
	font-weight: 600;
}


/* ---------------------------------------------------------
   QUICK CARD NUMBER
   --------------------------------------------------------- */

.aletop-hub__quick-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: 34px;
	height: 34px;

	flex: 0 0 34px;

	color: #ffffff;

	font-size: 16px;
	line-height: 1;
	font-weight: 700;
}

.aletop-hub__quick-number--primary {
	background: #1a73e8;
}

.aletop-hub__quick-number--secondary {
	background: #34a853;
}

.aletop-hub__quick-number--tertiary {
	background: #e67e22;
}

.aletop-hub__quick-number--quaternary {
    background: #8e44ad;
}

/* ---------------------------------------------------------
   QUICK CARD TEXT
   --------------------------------------------------------- */

.aletop-hub__quick-text {
	margin: 0 0 12px;

	font-size: 15px;
	line-height: 1.5;
}


/* ---------------------------------------------------------
   QUICK CARD LINK
   --------------------------------------------------------- */

.aletop-hub__quick-link {
	display: inline-block;

	margin: 0;

	font-size: 15px;
	line-height: 1.4;
	font-weight: 600;

	transition: transform 0.2s ease;
}

.aletop-hub__quick-card--primary .aletop-hub__quick-link {
	color: #1a73e8;
}

.aletop-hub__quick-card--secondary .aletop-hub__quick-link {
	color: #34a853;
}

.aletop-hub__quick-card--tertiary .aletop-hub__quick-link {
	color: #e67e22;
}

.aletop-hub__quick-card--quaternary .aletop-hub__quick-link {
    color: #8e44ad;
}

.aletop-hub__quick-card:hover .aletop-hub__quick-link {
	transform: translateX(4px);
}


/* =========================================================
   AlegeTop — PRODUCT SECTION
   ========================================================= */


/* ---------------------------------------------------------
   SECTION
--------------------------------------------------------- */

.aletop-hub__products {
	padding: 80px 0;
	background: #f8fafc;
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

.aletop-hub__products-container {
	width: min(calc(100% - 32px), 1200px);
	margin: 0 auto;
}


/* ---------------------------------------------------------
   SECTION HEADER
--------------------------------------------------------- */

.aletop-hub__section-header {
	margin-bottom: 40px;
}

.aletop-hub__section-heading {
	--section-accent: #1A73E8;

	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}

.aletop-hub__section-heading::before {
	content: "";
	display: block;
	width: 5px;
	height: 30px;
	flex: 0 0 5px;
	background: var(--section-accent);
}

.aletop-hub__section-title {
	margin: 0;
	font-size: 30px;
	line-height: 1.2;
	font-weight: 700;
	color: #111827;
}

.aletop-hub__section-description {
	margin: 0 0 0 16px;
	font-size: 16px;
	line-height: 1.5;
	color: #64748b;
}

/* ---------------------------------------------------------
   SECTION ACCENT — QUATERNARY
--------------------------------------------------------- */

.aletop-hub__products--quaternary .aletop-hub__section-heading {
	--section-accent: #8e44ad;
}


/* ---------------------------------------------------------
   PRODUCT GRID
--------------------------------------------------------- */

.aletop-hub__product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	align-items: start;
}


/* ---------------------------------------------------------
   PRODUCT CARD
--------------------------------------------------------- */

.aletop-product-card {
	position: relative;
	min-width: 0;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	overflow: hidden;
	transition:
		border-color 0.3s ease,
		box-shadow 0.3s ease;
}

.aletop-product-card:hover {
	border-color: #cbd5e1;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}


/* ---------------------------------------------------------
   RANK
--------------------------------------------------------- */

.aletop-product-card__rank {
	position: absolute;
	top: 16px;
	left: 16px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #0f172a;
	color: #ffffff;
	font-size: 14px;
	line-height: 1;
	font-weight: 700;
	z-index: 10;
}


/* ---------------------------------------------------------
   CARD CONTENT
--------------------------------------------------------- */

.aletop-product-card__content {
	padding: 24px;
}


/* ---------------------------------------------------------
   IMAGE — CLOSED
--------------------------------------------------------- */

.aletop-product-card__image {
	width: 100%;
	min-height: 240px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 24px;
	padding: 32px;
	background: #ffffff;
}

.aletop-product-card:not(.is-open) .aletop-product-card__image {
	margin-bottom: 40px;
}

.aletop-product-card__image {
	position: relative;
}

.aletop-product-card__image::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -24px;
	height: 1px;
	background: #e2e8f0;
}


/* ---------------------------------------------------------
   IMAGE PLACEHOLDER
--------------------------------------------------------- */

.aletop-product-card__image-placeholder {
	width: 180px;
	height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f1f5f9;
	color: #94a3b8;
	font-size: 14px;
	line-height: 1;
}


/* ---------------------------------------------------------
   IMAGE
--------------------------------------------------------- */

.aletop-product-card__image img {
	display: block;
	max-width: 100%;
	height: auto;
	transition: transform 0.3s ease;
}

.aletop-product-card:hover
.aletop-product-card__image img {
	transform: scale(1.05);
}


/* ---------------------------------------------------------
   TITLE — CLOSED
--------------------------------------------------------- */

.aletop-product-card__title {
	margin: 0 0 16px;
	padding: 0;
	font-size: 24px;
	line-height: 1.25;
	font-weight: 700;
	color: #1A73E8;
}


/* ---------------------------------------------------------
   SPECS
--------------------------------------------------------- */

.aletop-product-card__specs {
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.aletop-product-card__specs li {
    display:block;
    margin:0 0 6px;
    padding:0;
    font-size:14px;
    line-height:1.5;
    color:#334155;
    position:relative;
    padding-left:14px;
}

.aletop-product-card__specs li::before {
    content:"•";
    position:absolute;
    left:0;
    top:0;
}

.aletop-product-card__specs li:last-child {
	margin-bottom: 0;
}


/* =========================================================
   OPEN CARD — DESKTOP
   ========================================================= */

@media (min-width: 768px) {

	/* One open product occupies the full grid width */

	.aletop-hub__product-grid:has(.aletop-product-card.is-open) {
		grid-template-columns: 1fr;
	}

	.aletop-hub__product-grid:has(.aletop-product-card.is-open)
	.aletop-product-card.is-open {
		display: block;
		grid-column: 1 / -1;
	}

	/* Hide the other products */

	.aletop-hub__product-grid:has(.aletop-product-card.is-open)
	.aletop-product-card:not(.is-open) {
		display: none;
	}


	/* -----------------------------------------------------
	   RANK — HIDE IN OPEN CARD
	----------------------------------------------------- */

	.aletop-product-card.is-open
	.aletop-product-card__rank {
		display: none;
	}


	/* -----------------------------------------------------
	   OPEN CARD CONTENT
	----------------------------------------------------- */

	.aletop-product-card.is-open
	.aletop-product-card__content {
		display: flow-root;
		padding: 32px;
	}


	/* -----------------------------------------------------
	   IMAGE BLOCK — OPEN ONLY

	   No left shift.
	   Left edge aligns with the lower content blocks.
	----------------------------------------------------- */

	.aletop-product-card.is-open
	.aletop-product-card__image {
		float: left;
		width: 360px;
		height: 360px;
		min-height: 360px;

		margin: 0 32px 24px 0;

		padding: 32px;
		box-sizing: border-box;

		display: flex;
		align-items: center;
		justify-content: center;

		background: #ffffff;
		border: 1px solid #e2e8f0;
	}

	.aletop-product-card.is-open
	.aletop-product-card__image::after {
		display: none;
	}
	
	
	/* -----------------------------------------------------
	   REAL PRODUCT IMAGE — NO BORDER
	----------------------------------------------------- */

	.aletop-product-card.is-open
	.aletop-product-card__image img {
		border: none;
		display: block;
		max-width: 100%;
		height: auto;
	}


	/* -----------------------------------------------------
	   TITLE — DO NOT CHANGE
	----------------------------------------------------- */

	.aletop-product-card.is-open
	.aletop-product-card__title {
		display: block;
		margin: 0 0 16px;
		padding: 0;

		font-size: 24px;
		line-height: 1.25;
		font-weight: 700;
		color: #1A73E8;
	}


	/* -----------------------------------------------------
	   SPECS — DO NOT CHANGE
	----------------------------------------------------- */
	
	/* 7 характеристик, заметных на закрытой карте */
	.aletop-product-card:not(.is-open) .aletop-product-card__specs li:nth-child(n+8) {
		display: none;
	}

	.aletop-product-card.is-open
	.aletop-product-card__specs {
		margin: 0 0 24px;
		padding: 0;
	}
	

	.aletop-product-card.is-open
	.aletop-product-card__specs li {
		margin: 0 0 7px;
		padding: 0;
		font-size: 14px;
		line-height: 1.55;
	}

	.aletop-product-card.is-open
	.aletop-product-card__specs li::before {
		position: static;
		display: inline;
		margin-right: 6px;
	}


	/* -----------------------------------------------------
	   EVERYTHING AFTER IMAGE
	----------------------------------------------------- */

	.aletop-product-card.is-open
	.aletop-product-card__details {
		clear: both;
	}

	.aletop-product-card.is-open
	.aletop-product-card__toggle {
		clear: both;
	}

	.aletop-product-card.is-open
	.aletop-product-card__actions {
		clear: both;
	}

}

/* =========================================================
   DETAILS
   ========================================================= */

.aletop-product-card__details {
	display: none;
	margin: 0 0 16px;
}

.aletop-product-card.is-open
.aletop-product-card__details {
	display: block;
}


/* =========================================================
   REVIEW
   ========================================================= */

.aletop-product-card__review {
	padding: 24px;
	margin-bottom: 24px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
}

.aletop-product-card__review h4,
.aletop-product-card__pros h4,
.aletop-product-card__cons h4 {
	margin: 0 0 12px;
	padding: 0;
	font-size: 14px;
	line-height: 1.4;
	font-weight: 600;
}

.aletop-product-card__review p {
    margin: 0 0 16px;
    padding: 0;
    font-size: 14px;
    line-height: 1.7;
}

.aletop-product-card__review p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   PROS / CONS
   ========================================================= */

.aletop-product-card__pros-cons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.aletop-product-card__pros,
.aletop-product-card__cons {
	padding: 24px;
}

.aletop-product-card__pros {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
}

.aletop-product-card__cons {
	background: #fef2f2;
	border: 1px solid #fecaca;
}

.aletop-product-card__pros ul,
.aletop-product-card__cons ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.aletop-product-card__pros li,
.aletop-product-card__cons li {
	position: relative;

	margin: 0 0 8px;
	padding: 0 0 0 22px;

	font-size: 14px;
	line-height: 1.5;
}

.aletop-product-card__pros li::before {
	content: "✓";

	position: absolute;
	left: 0;
	top: 0;

	color: #22c55e;
	font-weight: 700;
}

.aletop-product-card__cons li::before {
	content: "✗";

	position: absolute;
	left: 0;
	top: 0;

	color: #ef4444;
	font-weight: 700;
}

.aletop-product-card__pros li:last-child,
.aletop-product-card__cons li:last-child {
	margin-bottom: 0;
}


/* =========================================================
   TOGGLE
   ========================================================= */

.aletop-product-card__toggle {
	width: 100%;
	margin: 0 0 12px;
	padding: 12px 16px;
	background: #ffffff;
	border: 1px solid #d1d5db;
	color: #222222;
	font-size: 14px;
	line-height: 1.4;
	font-weight: 500;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease;
}

.aletop-product-card__toggle:hover,
.aletop-product-card__toggle:focus {
	background: #222222;
	border-color: #222222;
	color: #ffffff;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.aletop-product-card__actions {
	display: flex;
	gap: 8px;
}

.aletop-product-card__price {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 16px;
	background: #dc2626;
	color: #ffffff;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.4;
	font-weight: 600;
	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}

.aletop-product-card__price:hover,
.aletop-product-card__price:focus {
	background: #b91c1c;
	color: #ffffff;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1023px) and (min-width: 768px) {

	.aletop-hub__product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.aletop-product-card.is-open
	.aletop-product-card__image {
		width: 320px;
		height: 320px;
		min-height: 320px;
	}

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.aletop-hub__products {
		padding: 56px 0;
	}

	.aletop-hub__products-container {
		width: min(calc(100% - 24px), 1280px);
	}

	.aletop-hub__product-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.aletop-product-card__content {
		padding: 20px;
	}

	.aletop-product-card__image {
		min-height: 220px;
		padding: 24px;
	}
	
	
	/* -----------------------------------------------------
	   OPEN CARD MOBILE

	   Float is completely disabled.
	----------------------------------------------------- */

	.aletop-product-card.is-open
	.aletop-product-card__content {
		display: block;
		padding: 20px;
	}

	.aletop-product-card.is-open
	.aletop-product-card__image {
		float: none;
		width: 100%;
		height: auto;
		min-height: 220px;
		margin: 0 0 40px;
		padding: 24px;
	}

	.aletop-product-card.is-open
	.aletop-product-card__title {
		margin: 0 0 16px;
		padding: 0;
		font-size: 24px;
		line-height: 1.25;
	}

	.aletop-product-card.is-open
	.aletop-product-card__specs {
		margin: 0 0 20px;
		padding: 0;
	}

	.aletop-product-card__specs li {
	font-size: 15px;
	line-height: 1.55;
	}	
	
	.aletop-product-card__pros-cons {
		grid-template-columns: 1fr;
	}

 /* 7 caracteristici vizibile în cardul închis — mobil */
    .aletop-product-card:not(.is-open) .aletop-product-card__specs li:nth-child(n+8) {
        display: none;
    }	
	
	/* -----------------------------------------------------
	   QUICK NAV — MOBILE
	----------------------------------------------------- */

	.aletop-hub__quick-nav {
		display: flex;
		flex-direction: column;
		gap: 16px;
		width: 100%;
		max-width: none;
	}

	.aletop-hub__quick-card {
		width: 100%;
		flex: none;
	}	
		
}


/* =========================================================
   ALEGETOP HUB — BUDGET SECTION
   =========================================================

   Budget использует всю существующую систему
   PRODUCT SECTION без дублирования CSS.

   Единственное отличие от Premium:
   - цвет вертикального accent-bar;
   - цвет соответствует Budget в Quick Navigation.

   Основной цвет Budget:
   #34a853
   ========================================================= */


/* ---------------------------------------------------------
   BUDGET — SECTION ACCENT
   ---------------------------------------------------------

   Перезаписываем только локальную CSS-переменную
   --section-accent.

   Базовая секция использует:
   --section-accent: #1A73E8;

   Budget получает:
   --section-accent: #34a853;

   Никакие остальные параметры секции не меняются.
   --------------------------------------------------------- */

.aletop-hub__products--budget
.aletop-hub__section-heading {
	--section-accent: #34a853;
}


/* =========================================================
   AlegeTop — CHEAP SECTION ACCENT
   =========================================================

   Секция Ieftine использует отдельный оранжевый акцент.

   Сама вертикальная линия НЕ создаётся здесь заново.
   Она уже создаётся глобальным pseudo-element
   .aletop-hub__section-heading::before.

   Здесь мы только меняем CSS-переменную
   --section-accent для конкретной секции.

   Поэтому общая система заголовков всех секций
   остаётся единой:

   Premium — синий;
   Buget — зелёный;
   Ieftine — оранжевый.

   ========================================================= */

.aletop-hub__products--cheap
.aletop-hub__section-heading {
	--section-accent: #e67e22;
}


/* ---------------------------------------------------------
   HUB SECTION — UNIVERSAL SECONDARY ACCENT
   --------------------------------------------------------- */

.aletop-hub__products--secondary
.aletop-hub__section-heading {
	--section-accent: #34a853;
}


/* ---------------------------------------------------------
   HUB SECTION — UNIVERSAL TERTIARY ACCENT
   --------------------------------------------------------- */

.aletop-hub__products--tertiary
.aletop-hub__section-heading {
	--section-accent: #e67e22;
}


/* =========================================================
   AlegeTop — CUM SĂ ALEGI
   =========================================================

   Информационная секция HUB с основными критериями
   выбора ciocan rotopercutor.

   В отличие от товарных секций здесь используются
   обычные информационные блоки.

   Блоки НЕ являются ссылками и НЕ имеют поведения
   раскрытия.

   Desktop:
   3 блока в ряд × 2 ряда.

   Mobile:
   1 блок в ряд.

   ========================================================= */


/* =========================================================
   CRITERIA — SECTION
   ========================================================= */

.aletop-hub__criteria {
    width:100vw;
    padding:80px 0;
    margin-left:calc(50% - 50vw);
    background:#fff;
}


/* =========================================================
   CRITERIA — CONTAINER
   ========================================================= */

.aletop-hub__criteria-container {
	width: min(calc(100% - 32px), 1200px);
	margin: 0 auto;
}


/* =========================================================
   CRITERIA — HEADER
   ========================================================= */

.aletop-hub__criteria-header {
	margin-bottom: 40px;
}


/* =========================================================
   CRITERIA — INTRO
   ========================================================= */

.aletop-hub__criteria-intro {
	max-width: 850px;
	margin: 0 0 0 16px;

	font-size: 16px;
	line-height: 1.6;
	color: #64748b;
}


/* =========================================================
   CRITERIA — GRID
   ========================================================= */

.aletop-hub__criteria-grid {
	display: grid;

	grid-template-columns: repeat(3, minmax(0, 1fr));

	gap: 24px;
}


/* =========================================================
   CRITERIA — CARD
   =========================================================

   Это информационный блок, а не кликабельная карточка.

   Поэтому здесь нет hover-эффектов, ссылок или
   поведения product-card.

   ========================================================= */

.aletop-hub__criteria-card {
	min-width: 0;

	padding: 28px;

	background: #f8fafc;

	border: 1px solid #e2e8f0;
}


/* =========================================================
   CRITERIA — TITLE
   =========================================================

   Заголовок каждого критерия состоит из двух частей:

   - иконка;
   - название критерия.

   Иконки являются декоративными SVG и не несут
   отдельного смыслового контента для screen reader.

   ========================================================= */

.aletop-hub__criteria-title {
	display: flex;
	align-items: center;
	gap: 12px;

	margin: 0 0 14px;

	font-size: 20px;
	line-height: 1.3;
	font-weight: 700;

	color: #111827;
}


/* =========================================================
   CRITERIA — ICON
   =========================================================

   Все шесть иконок имеют одинаковый размер и визуальный
   вес, чтобы сетка выглядела единой системой.

   ========================================================= */

.aletop-hub__criteria-icon {
	width: 34px;
	height: 34px;

	flex: 0 0 34px;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	color: #1A73E8;
}


/* =========================================================
   CRITERIA — SVG
   ========================================================= */

.aletop-hub__criteria-icon svg {
	width: 25px;
	height: 25px;

	display: block;

	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}


/* =========================================================
   CRITERIA — MOBILE TITLE
   =========================================================

   На мобильных иконка остаётся фиксированного размера,
   поэтому заголовки всех шести блоков сохраняют одинаковое
   выравнивание.

   ========================================================= */

@media (max-width: 767px) {

	.aletop-hub__criteria-icon {
		width: 32px;
		height: 32px;

		flex-basis: 32px;
	}

	.aletop-hub__criteria-icon svg {
		width: 24px;
		height: 24px;
	}

}


/* =========================================================
   CRITERIA — MAIN TEXT
   ========================================================= */

.aletop-hub__criteria-text {
	margin: 0 0 16px;

	font-size: 15px;
	line-height: 1.65;

	color: #334155;
}


/* =========================================================
   CRITERIA — PRACTICAL NOTE
   =========================================================

   Последний абзац визуально отделяет практический
   ориентир от основного объяснения критерия.

   ========================================================= */

.aletop-hub__criteria-note {
	margin: 0;
	padding-top: 14px;

	border-top: 1px solid #e2e8f0;

	font-size: 14px;
	line-height: 1.55;
	font-weight: 600;

	color: #475569;
}


/* =========================================================
   CRITERIA — TABLET
   ========================================================= */

@media (max-width: 1023px) and (min-width: 768px) {

	.aletop-hub__criteria-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}


/* =========================================================
   CRITERIA — MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.aletop-hub__criteria {
		padding: 56px 0;
	}

	.aletop-hub__criteria-container {
		width: min(calc(100% - 24px), 1280px);
	}

	.aletop-hub__criteria-header {
		margin-bottom: 32px;
	}

	.aletop-hub__criteria-intro {
		margin-left: 0;
	}

	.aletop-hub__criteria-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.aletop-hub__criteria-card {
		padding: 24px;
	}

}


/* =========================================================
BRANDURI POPULARE
Compact brand layer inside HUB
========================================================= */

.aletop-hub__brands {
    width: 100vw;
    padding: 80px 0;
    margin-left: calc(50% - 50vw);
    background: #f8fafc;
}

.aletop-hub__brands-container {
width: min(calc(100% - 32px), 1200px);
margin: 0 auto;
}

.aletop-hub__brands-header {
margin-bottom: 40px;
}

.aletop-hub__brands-intro {
max-width: 850px;
margin: 0 0 0 16px;
font-size: 16px;
line-height: 1.6;
color: #64748b;
}

.aletop-hub__brands-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 20px;
}

.aletop-hub__brand-card {
min-width: 0;
padding: 24px;
background: #fff;
border: 1px solid #e2e8f0;
transition: border-color .2s ease, box-shadow .2s ease;
}

.aletop-hub__brand-card {
border-color: #cbd5e1;
box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.aletop-hub__brand-title {
margin: 0 0 10px;
padding: 0;
font-size: 20px;
line-height: 1.3;
font-weight: 700;
color: #111827;
}

.aletop-hub__brand-text {
margin: 0;
padding: 0;
font-size: 14px;
line-height: 1.6;
color: #475569;
}

@media (max-width: 1023px) and (min-width: 768px) {

.aletop-hub__brands-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

}

@media (max-width: 767px) {

.aletop-hub__brands {
    padding: 56px 0;
}

.aletop-hub__brands-container {
    width: min(calc(100% - 24px), 1280px);
}

.aletop-hub__brands-header {
    margin-bottom: 32px;
}

.aletop-hub__brands-intro {
    margin-left: 0;
}

.aletop-hub__brands-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

.aletop-hub__brand-card {
    padding: 22px 24px;
}

}


/* =========================================================
   HUB — INFO SECTIONS
   ========================================================= */

.aletop-hub__info {
	width: 100vw;
	padding: 80px 0;
	margin-left: calc(50% - 50vw);
	background: #fff;
}


/* =========================================================
   INFO — CONTAINER
   ========================================================= */

.aletop-hub__info-container {
	width: min(calc(100% - 32px), 1200px);
	margin: 0 auto;
}


/* =========================================================
   INFO — HEADER
   ========================================================= */

.aletop-hub__info-header {
	margin-bottom: 40px;
}


/* =========================================================
   INFO — INTRO
   ========================================================= */

.aletop-hub__info-intro {
	max-width: 850px;
	margin: 0 0 0 16px;

	font-size: 16px;
	line-height: 1.6;
	color: #64748b;
}


/* =========================================================
   INFO — SURFACE
   ========================================================= */

.aletop-hub__info--surface-gray {
	background: #f8fafc;
}


/* =========================================================
   INFO — GRID
   ========================================================= */

.aletop-hub__info-grid {
	display: grid;

	grid-template-columns: repeat(3, minmax(0, 1fr));

	gap: 24px;
}


/* =========================================================
   INFO — CARD
   ========================================================= */

.aletop-hub__info-card {
	min-width: 0;

	padding: 28px;

	background: #fff;

	border: 1px solid #e2e8f0;
}


/* =========================================================
   INFO — CARD TITLE
   ========================================================= */

.aletop-hub__info-card-title {
	margin: 0 0 14px;

	font-size: 20px;
	line-height: 1.3;
	font-weight: 700;

	color: #111827;
}


/* =========================================================
   INFO — CARD TEXT
   ========================================================= */

.aletop-hub__info-card-text {
	margin: 0;

	font-size: 15px;
	line-height: 1.65;

	color: #334155;
}


/* =========================================================
   INFO — TABLET
   ========================================================= */

@media (max-width: 1023px) and (min-width: 768px) {

	.aletop-hub__info-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}


/* =========================================================
   INFO — MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.aletop-hub__info {
		padding: 56px 0;
	}

	.aletop-hub__info-container {
		width: min(calc(100% - 24px), 1280px);
	}

	.aletop-hub__info-header {
		margin-bottom: 32px;
	}

	.aletop-hub__info-intro {
		margin-left: 0;
	}

	.aletop-hub__info-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.aletop-hub__info-card {
		padding: 24px;
	}

}


/* =========================================================
   HUB — INFO TEXT
   ========================================================= */

.aletop-hub__info--text {
	width: 100vw;
	padding: 56px 0;
	margin-left: calc(50% - 50vw);
	background: #fff;
}


/* =========================================================
   INFO TEXT — HEADER
   ========================================================= */

.aletop-hub__info--text .aletop-hub__info-header {
	margin-bottom: 0;
}


/* =========================================================
   INFO TEXT — CONTENT
   ========================================================= */

.aletop-hub__info-text {
	max-width: 850px;
	margin: 0 0 0 16px;

	font-size: 15px;
	line-height: 1.65;
	color: #334155;
}

.aletop-hub__info-text p {
	margin: 0 0 14px;
}

.aletop-hub__info-text p:last-child {
	margin-bottom: 0;
}


/* =========================================================
   INFO TEXT — MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.aletop-hub__info--text {
		padding: 48px 0;
	}

	.aletop-hub__info-text {
		margin-left: 0;
	}

}


/* =========================================================
FAQ ACCORDION
========================================================= */

.aletop-hub__faq {
width: 100vw;
padding: 80px 0;
margin-left: calc(50% - 50vw);
background: #fff;
}

.aletop-hub__faq-container {
width: min(calc(100% - 32px), 1200px);
margin: 0 auto;
}

.aletop-hub__faq-header {
margin-bottom: 40px;
}

.aletop-hub__faq-intro {
max-width: 850px;
margin: 0 0 0 16px;
font-size: 16px;
line-height: 1.6;
color: #64748b;
}

.aletop-hub__faq-list {
max-width: 1000px;
margin: 0 auto;
border-top: 1px solid #e2e8f0;
}

.aletop-hub__faq-item {
margin: 0;
padding: 0;
border-bottom: 1px solid #e2e8f0;
}

.aletop-hub__faq-question {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
width: 100%;
margin: 0;
padding: 22px 0;
color: #111827;
font-size: 18px;
line-height: 1.4;
font-weight: 600;
cursor: pointer;
list-style: none;
}

.aletop-hub__faq-question::-webkit-details-marker {
display: none;
}

.aletop-hub__faq-question::marker {
display: none;
}

.aletop-hub__faq-question span {
min-width: 0;
}

.aletop-hub__faq-icon {
position: relative;
width: 20px;
height: 20px;
flex: 0 0 20px;
}

.aletop-hub__faq-icon::before,
.aletop-hub__faq-icon::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 16px;
height: 1.5px;
background: #334155;
transform: translate(-50%, -50%);
transition: transform .2s ease;
}

.aletop-hub__faq-icon::after {
transform: translate(-50%, -50%) rotate(90deg);
}

.aletop-hub__faq-item[open] .aletop-hub__faq-icon::after {
transform: translate(-50%, -50%) rotate(0deg);
}

.aletop-hub__faq-answer {
max-width: 900px;
padding: 0 44px 24px 0;
}

.aletop-hub__faq-answer p {
margin: 0;
padding: 0;
font-size: 15px;
line-height: 1.7;
color: #334155;
}

@media (max-width: 767px) {

.aletop-hub__faq {
    padding: 56px 0;
}

.aletop-hub__faq-container {
    width: min(calc(100% - 24px), 1280px);
}

.aletop-hub__faq-header {
    margin-bottom: 32px;
}

.aletop-hub__faq-intro {
    margin-left: 0;
}

.aletop-hub__faq-question {
    gap: 16px;
    padding: 20px 0;
    font-size: 17px;
    line-height: 1.4;
}

.aletop-hub__faq-answer {
    padding: 0 36px 22px 0;
}

.aletop-hub__faq-answer p {
    font-size: 15px;
    line-height: 1.65;
}

}


/* =========================================================
   CONCLUZIE — финальный блок HUB
   ========================================================= */

/* Внешняя секция:
   - растягивается на всю ширину экрана;
   - имеет светло-серый фон;
   - получает нижний разделитель перед Footer. */
.aletop-hub__conclusion {
    width: 100vw;
    padding: 80px 0;
    margin-left: calc(50% - 50vw);
    background: #f8fafc;
}

/* Внутренний контейнер:
   - сохраняет общую ширину HUB 1200px;
   - центрирует содержимое;
   - использует стандартные боковые отступы. */
.aletop-hub__conclusion-container {
    width: min(calc(100% - 32px), 1200px);
    margin: 0 auto;
}

/* Контент заключения:
   - ограничиваем ширину текста, чтобы строки не были слишком длинными;
   - центрируем сам текстовый блок внутри контейнера. */
.aletop-hub__conclusion-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Заголовок Concluzie:
   - используем тот же компонент заголовка, что и в остальных секциях;
   - увеличиваем расстояние до первого абзаца. */
.aletop-hub__conclusion .aletop-hub__section-heading {
    margin-bottom: 28px;
}

/* Основной текст заключения:
   - комфортная ширина строки;
   - увеличенный межстрочный интервал для читаемости;
   - нейтральный темно-синий цвет текста. */
.aletop-hub__conclusion-text {
    margin: 0 0 18px;
    padding: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #334155;
}

/* У последнего абзаца убираем нижний отступ,
   чтобы он не создавал лишнее пустое пространство
   перед нижней границей секции. */
.aletop-hub__conclusion-text:last-child {
    margin-bottom: 0;
}


/* =========================================================
   CONCLUZIE — MOBILE
   ========================================================= */

/* На мобильных уменьшаем вертикальные отступы,
   чтобы финальный блок не занимал слишком много места. */
@media (max-width: 767px) {

    .aletop-hub__conclusion {
        padding: 56px 0;
    }

    /* На мобильном используем стандартный ширинный
       контейнер HUB с отступами по 12px. */
    .aletop-hub__conclusion-container {
        width: min(calc(100% - 24px), 1280px);
    }

    /* На мобильном снимаем ограничение ширины,
       так как контейнер уже задаёт нужную ширину. */
    .aletop-hub__conclusion-content {
        max-width: none;
    }

    /* Немного уменьшаем расстояние между заголовком
       и первым абзацем. */
    .aletop-hub__conclusion .aletop-hub__section-heading {
        margin-bottom: 24px;
    }

    /* На небольшом экране уменьшаем размер текста
       и немного уплотняем межстрочный интервал. */
    .aletop-hub__conclusion-text {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 16px;
    }

}


/* =========================================================
   AlegeTop — Closed Product Cards
   Uniform Height / Image Area
   ========================================================= */

.aletop-hub__product-grid {
	align-items: stretch;
}

.aletop-product-card {
	display: flex;
	flex-direction: column;
}

.aletop-product-card:not(.is-open) .aletop-product-card__content {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.aletop-product-card:not(.is-open) .aletop-product-card__image {
	width: 100%;
	height: 240px;
	min-height: 240px;
	flex: 0 0 240px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.aletop-product-card:not(.is-open) .aletop-product-card__image img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.aletop-product-card:not(.is-open) .aletop-product-card__toggle {
	margin-top: auto;
}