/* ==================== GOOGLE FONTS ==================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Manrope:wght@600;800&display=swap');

/* ==================== GLOBAL ==================== */
:root {
	/* Colors */
	--color-background: #f9fafb;
	--color-text: #111827;
	--color-text-secondary: #6b7280;
	--color-primary: #4f46e5;
	--color-primary-dark: #4338ca;
	--color-border: #e5e7eb;
	--color-white: #ffffff;

	/* Typography */
	--font-family-body: 'Inter', sans-serif;
	--font-family-heading: 'Manrope', sans-serif;

	/* Other */
	--header-height: 4rem;
	--transition-timing: 0.3s ease;
}

/* Base Reset */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-family-body);
	font-size: 16px;
	line-height: 1.6;
	background-color: var(--color-background);
	color: var(--color-text);
	-webkit-font-smoothing: antialiased;
}

ul {
	list-style: none;
}

a {
	text-decoration: none;
	color: var(--color-primary);
	transition: color var(--transition-timing);
}

a:hover {
	color: var(--color-primary-dark);
}

img {
	max-width: 100%;
	height: auto;
}

/* Utility */
.container {
	max-width: 1140px;
	margin-left: 1.5rem;
	margin-right: 1.5rem;
}

/* ==================== LOGO ==================== */
.logo {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-family-heading);
	font-weight: 800;
	font-size: 1.25rem;
	color: var(--color-text);
	transition: color var(--transition-timing);
}

.logo:hover {
	color: var(--color-primary);
}

.logo__svg {
	width: 2.25rem; /* 36px */
	height: 2.25rem; /* 36px */
	color: var(--color-primary);
	transition: transform var(--transition-timing);
}

.logo:hover .logo__svg {
	transform: rotate(15deg);
}

/* ==================== HEADER ==================== */
.header {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	background-color: var(--color-background);
	border-bottom: 1px solid var(--color-border);
	transition: box-shadow var(--transition-timing);
}

/* Add shadow on scroll (JS can add this) */
/* .header--scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
} */

.header__container {
	height: var(--header-height);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* ==================== NAVIGATION ==================== */
.nav {
	/* Mobile styles (hidden by default) */
	position: fixed;
	top: 0;
	right: -100%; /* Start off-screen */
	width: 70%;
	height: 100vh;
	background-color: var(--color-white);
	box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
	padding: 4rem 2rem 2rem;
	transition: right var(--transition-timing);
	z-index: 110;
}

/* Modifier to show menu */
.nav--open {
	right: 0;
}

.nav__list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.nav__link {
	font-family: var(--font-family-heading);
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--color-text);
}

.nav__link:hover {
	color: var(--color-primary);
}

/* Mobile Menu Toggle */
.nav__toggle {
	display: block; /* Show on mobile */
	font-size: 1.5rem; /* 24px */
	color: var(--color-text);
	background: none;
	border: none;
	cursor: pointer;
	z-index: 120;
	padding: 0.25rem;
}

/* ==================== FOOTER ==================== */
.footer {
	background-color: var(--color-white);
	border-top: 1px solid var(--color-border);
	padding: 4rem 0 0;
	color: var(--color-text-secondary);
}

.footer__container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}

.footer__column--logo .footer__logo {
	margin-bottom: 1rem;
}

.footer__tagline {
	font-size: 0.9rem;
}

.footer__title {
	font-family: var(--font-family-heading);
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--color-text);
	margin-bottom: 1rem;
}

.footer__list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer__link {
	color: var(--color-text-secondary);
	font-size: 0.95rem;
	transition: color var(--transition-timing),
		padding-left var(--transition-timing);
}

.footer__link:hover {
	color: var(--color-primary);
	padding-left: 0.25rem;
}

.footer__list--contacts {
	gap: 1rem;
}

.footer__list--contacts li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.footer__contact-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	margin-top: 0.15rem;
	color: var(--color-primary);
}

.footer__bottom {
	margin-top: 3rem;
	padding: 1.5rem 0;
	border-top: 1px solid var(--color-border);
	text-align: center;
}

.footer__copyright {
	font-size: 0.85rem;
	color: var(--color-text-secondary);
}

/* ==================== RESPONSIVE (Mobile-First) ==================== */

/* Medium devices (tablets) */
@media (min-width: 576px) {
	.container {
		margin-left: auto;
		margin-right: auto;
	}

	.footer__container {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Large devices (desktops) */
@media (min-width: 992px) {
	.nav {
		/* Reset mobile styles */
		position: static;
		right: auto;
		width: auto;
		height: auto;
		background-color: transparent;
		box-shadow: none;
		padding: 0;
	}

	.nav__list {
		flex-direction: row;
		gap: 2rem;
	}

	.nav__toggle {
		display: none; /* Hide burger on desktop */
	}

	.footer__container {
		/* 4 columns: auto width for logo, 3 equal for rest */
		grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
	}
}

/* ==================== BUTTONS ==================== */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	font-family: var(--font-family-body);
	font-weight: 500;
	font-size: 1rem;
	cursor: pointer;
	border: 2px solid transparent;
	transition: all var(--transition-timing);
	text-align: center;
}

.button--primary {
	background-color: var(--color-primary);
	color: var(--color-white);
}

.button--primary:hover {
	background-color: var(--color-primary-dark);
	color: var(--color-white);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.button--secondary {
	background-color: transparent;
	color: var(--color-primary);
	border-color: var(--color-border);
}

.button--secondary:hover {
	background-color: var(--color-background);
	color: var(--color-primary-dark);
	border-color: var(--color-primary-dark);
}

.button__icon {
	width: 18px;
	height: 18px;
}

/* ==================== HERO ==================== */
.hero {
	padding-top: calc(var(--header-height) + 4rem); /* Отступ от хедера + 4rem */
	padding-bottom: 4rem;
	overflow: hidden; /* Для AOS */
}

.hero__container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: center;
}

.hero__content {
	text-align: center; /* Mobile-first */
}

.hero__subtitle {
	display: inline-block;
	font-family: var(--font-family-body);
	font-weight: 500;
	color: var(--color-primary);
	margin-bottom: 1rem;
	font-size: 0.9rem;
	background-color: #eef2ff; /* Light indigo background */
	padding: 0.25rem 0.75rem;
	border-radius: 99px;
}

.hero__title {
	font-family: var(--font-family-heading);
	font-size: 2.5rem; /* 40px */
	font-weight: 800;
	color: var(--color-text);
	line-height: 1.2;
	margin-bottom: 1.5rem;
}

.hero__description {
	font-size: 1.1rem;
	color: var(--color-text-secondary);
	margin-bottom: 2rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.hero__buttons {
	display: flex;
	flex-direction: column; /* Mobile */
	justify-content: center;
	gap: 1rem;
}

.hero__image-wrapper {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1),
		0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hero__image {
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* ==================== HERO RESPONSIVE ==================== */

/* Small devices (phones landscape) */
@media (min-width: 576px) {
	.hero__buttons {
		flex-direction: row; /* Horizontal buttons */
	}
}

/* Medium devices (tablets) */
@media (min-width: 768px) {
	.hero__title {
		font-size: 3rem; /* 48px */
	}

	.hero__description {
		font-size: 1.15rem;
	}
}

/* Large devices (desktops) */
@media (min-width: 992px) {
	.hero {
		padding-top: calc(var(--header-height) + 6rem);
		padding-bottom: 6rem;
	}

	.hero__container {
		grid-template-columns: 1fr 1fr; /* 2 columns */
		gap: 4rem;
	}

	.hero__content {
		text-align: left; /* Align text left */
	}

	.hero__description {
		margin-left: 0;
		margin-right: 0;
	}

	.hero__buttons {
		justify-content: flex-start;
	}
}

/* ==================== SECTION HEADER (Reusable) ==================== */
.section-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 3rem auto; /* 3rem bottom margin */
}

.section-header__subtitle {
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--color-primary);
	margin-bottom: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.section-header__title {
	font-family: var(--font-family-heading);
	font-size: 2.25rem; /* 36px */
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 1rem;
}

.section-header__description {
	font-size: 1.1rem;
	color: var(--color-text-secondary);
}

/* ==================== BASICS (Features Section) ==================== */
.basics {
	padding: 4rem 0;
	background-color: var(--color-white); /* White background to alternate */
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
}

.basics__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

/* ==================== CARD (Reusable) ==================== */
.card {
	background-color: var(--color-background); /* Light bg */
	border: 1px solid var(--color-border);
	border-radius: 12px;
	padding: 2rem;
	text-align: center;
	transition: all var(--transition-timing);
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.07);
}

.card__icon-wrapper {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background-color: var(--color-primary);
	color: var(--color-white);
	margin-bottom: 1.5rem;
}

.card__icon {
	width: 28px;
	height: 28px;
}

.card__title {
	font-family: var(--font-family-heading);
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
}

.card__description {
	font-size: 0.95rem;
	color: var(--color-text-secondary);
	line-height: 1.6;
}

/* ==================== BASICS RESPONSIVE ==================== */

/* Medium devices (tablets) */
@media (min-width: 768px) {
	.basics__grid {
		grid-template-columns: repeat(3, 1fr); /* 3 columns grid */
		gap: 1.5rem;
	}

	.section-header__title {
		font-size: 2.5rem; /* 40px */
	}
}

/* Large devices (desktops) */
@media (min-width: 992px) {
	.basics {
		padding: 6rem 0;
	}

	.section-header {
		margin-bottom: 4rem;
	}

	.basics__grid {
		gap: 2rem;
	}
}



/* ==================== PRACTICE (Accordion) ==================== */
.practice {
    padding: 4rem 0;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--color-white);
}

.accordion__item {
    border-bottom: 1px solid var(--color-border);
}

.accordion__item:last-child {
    border-bottom: none;
}

.accordion__header {
    width: 100%;
}

.accordion__button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-family-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    transition: color var(--transition-timing);
}

.accordion__button:hover {
    color: var(--color-primary);
}

.accordion__icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    margin-right: 1rem;
    flex-shrink: 0;
}

.accordion__title {
    flex-grow: 1;
}

/* Add an icon for open/close state */
.accordion__button::after {
    content: '\2B'; /* Plus icon */
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--color-primary);
    transition: transform var(--transition-timing);
    margin-left: 1rem;
}

/* Styles for the open item */
.accordion__item--open .accordion__button {
    color: var(--color-primary);
}

.accordion__item--open .accordion__button::after {
    transform: rotate(45deg); /* Rotates Plus to a 'X' (or 'close') */
}

/* Accordion Content */
.accordion__content {
    max-height: 0; /* Hidden by default */
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.accordion__body {
    padding: 0 1.5rem 1.5rem 3.5rem; /* Aligns with text, after icon */
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* ==================== PRACTICE RESPONSIVE ==================== */

/* Medium devices (tablets) */
@media (min-width: 768px) {
    .accordion__button {
        font-size: 1.2rem;
    }
}

/* Large devices (desktops) */
@media (min-width: 992px) {
    .practice {
        padding: 6rem 0;
    }
}

/* ==================== TOOLS (Split Section) ==================== */
.tools {
    padding: 4rem 0;
    background-color: var(--color-white); /* White bg */
}

.tools__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

/* Адаптируем .section-header для выравнивания по левому краю 
   внутри секции .tools 
*/
.tools .section-header {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 2rem;
}

.tools__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tools__list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    color: var(--color-text-secondary);
}

.tools__list-icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.tools__image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
}

.tools__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tools__button {
    width: 100%; /* Mobile full width */
}

/* ==================== TOOLS RESPONSIVE ==================== */

/* Medium devices (tablets) */
@media (min-width: 576px) {
    .tools__button {
        width: auto; /* Auto width on larger screens */
    }
}

/* Large devices (desktops) */
@media (min-width: 992px) {
    .tools {
        padding: 6rem 0;
    }

    .tools__container {
        grid-template-columns: 1fr 1fr; /* 2 columns */
        gap: 5rem;
    }

    /* Меняем порядок колонок, чтобы изображение было слева */
    .tools__image-wrapper {
        order: -1; /* Image first */
    }
}

/* ==================== BUTTONS (Add new modifier) ==================== */
.button--white {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.button--white:hover {
    background-color: #F9FAFB; /* Slightly off-white */
    color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ==================== FUTURE (CTA Section) ==================== */
.future {
    padding: 4rem 0;
}

.cta__box {
    padding: 3rem 2rem;
    border-radius: 16px;
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.3);
}

/* Add subtle decorative elements */
.cta__box::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    opacity: 0.5;
}

.cta__subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    margin-bottom: 1rem;
}

.cta__title {
    font-family: var(--font-family-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta__description {
    font-size: 1.1rem;
    color: #E0E7FF; /* Lighter than white for contrast */
    margin-bottom: 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.cta__break {
    display: none; /* Hide break on mobile */
}

/* ==================== FUTURE (CTA) RESPONSIVE ==================== */

/* Medium devices (tablets) */
@media (min-width: 768px) {
    .cta__box {
        padding: 4rem 3rem;
    }
    .cta__title {
        font-size: 2.25rem;
    }
    .cta__break {
        display: block; /* Show break on desktop */
    }
}

/* ==================== CONTACT ==================== */
.contact {
    padding: 4rem 0;
    background-color: var(--color-white);
}

.contact__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

/* Выравниваем .section-header по левому краю */
.contact .section-header {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.contact__form-wrapper {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
}

/* ==================== FORM GROUP (Reusable) ==================== */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group__label {
    display: block;
    font-size: 0.875rem; /* 14px */
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.form-group__input {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-left: 2.5rem; /* Space for icon */
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-family-body);
    transition: border-color var(--transition-timing), box-shadow var(--transition-timing);
}

.form-group__input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

.form-group__input::placeholder {
    color: var(--color-text-secondary);
    opacity: 0.8;
}

.form-group__icon {
    position: absolute;
    left: 1rem;
    top: 55%;
    /* transform: translateY(-50%); */
    width: 18px;
    height: 18px;
    color: var(--color-text-secondary);
    pointer-events: none; /* Allows click-through */
}

.form-group__input:focus + .form-group__icon {
    color: var(--color-primary);
}

/* Checkbox styles */
.form-group--checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.form-group__checkbox {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: var(--color-primary); /* Modern way to color checkbox */
}

.form-group__checkbox-label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin: 0;
}

.form-group__checkbox-label a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Contact Form Specifics */
.contact-form__submit {
    width: 100%;
    min-height: 50px; /* Фиксированная высота для спиннера */
}

/* Loading (Spinner) State */
.button__icon--loading {
    display: none; /* Hide spinner by default */
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.contact-form__submit--loading .button__text {
    display: none; /* Hide text when loading */
}

.contact-form__submit--loading .button__icon--loading {
    display: block; /* Show spinner */
}

/* Success Message */
.contact-form__success {
    text-align: center;
    padding: 2rem;
    border: 1px solid #34D399; /* Green border */
    background-color: #F0FDF4; /* Green background */
    border-radius: 8px;
}
.contact-form__success-icon {
    width: 48px;
    height: 48px;
    color: #10B981; /* Green icon */
    margin-bottom: 1rem;
}
.contact-form__success-title {
    font-family: var(--font-family-heading);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}
.contact-form__success-text {
    color: var(--color-text-secondary);
}


/* ==================== CONTACT RESPONSIVE ==================== */

/* Medium devices (tablets) */
@media (min-width: 768px) {
    .contact-form__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 1.5rem; /* row-gap is 0, column-gap is 1.5rem */
    }

    .form-group--full {
        grid-column: 1 / -1; /* Span full width */
    }
}

/* Large devices (desktops) */
@media (min-width: 992px) {
    .contact {
        padding: 6rem 0;
    }

    .contact__container {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    z-index: 1000;
    
    /* Сховано за замовчуванням, JS покаже */
    transform: translateY(100%);
    transition: transform 0.5s ease-out;
}

/* Модифікатор для показу */
.cookie-popup--visible {
    transform: translateY(0);
}

.cookie-popup__container {
    display: flex;
    flex-direction: column; /* Mobile */
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    max-width: 1140px;
    margin: 0 auto;
}

.cookie-popup__text {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    text-align: center;
}

.cookie-popup__link {
    color: var(--color-primary);
    text-decoration: underline;
}

.cookie-popup__button {
    flex-shrink: 0;
    width: 100%; /* Mobile */
    padding: 0.5rem 1.5rem; /* Smaller button */
}

/* ==================== COOKIE POPUP RESPONSIVE ==================== */

/* Medium devices (tablets) */
@media (min-width: 768px) {
    .cookie-popup__container {
        flex-direction: row; /* Desktop */
        gap: 2rem;
    }
    
    .cookie-popup__text {
        text-align: left;
    }

    .cookie-popup__button {
        width: auto; /* Auto width */
    }
}

/* ==================== PAGES (Static Policy Pages) ==================== */
.pages {
    padding-top: calc(var(--header-height) + 4rem); /* Отступ от хедера */
    padding-bottom: 4rem;
    background-color: var(--color-white); /* Белый фон */
}

/* Стили для контейнера .pages .container.
   Мы ограничиваем ширину, чтобы текст было удобно читать.
*/
.pages .container {
    max-width: 800px; /* Оптимальная ширина для чтения текста */
}

.pages h1 {
    font-family: var(--font-family-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.pages h2 {
    font-family: var(--font-family-heading);
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.pages p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.pages ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
}

.pages li {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.pages a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 500;
}

.pages a:hover {
    text-decoration: none;
    color: var(--color-primary-dark);
}

.pages strong {
    font-weight: 700;
    color: var(--color-text);
}

/* ==================== PAGES RESPONSIVE ==================== */
@media (min-width: 992px) {
    .pages {
        padding-top: calc(var(--header-height) + 6rem);
        padding-bottom: 6rem;
    }

    .pages h1 {
        font-size: 3rem;
    }

    .pages h2 {
        font-size: 2rem;
    }

    .pages p,
    .pages li {
        font-size: 1.05rem;
    }
}