/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Montserrat:wght@600;700&display=swap');

/* --- CSS Variables --- */
:root {
	--primary-color: #2a3d45;
	--accent-color: #ddb96e;
	--bg-color: #f4f4f4;
	--text-color: #1e1e1e;
	--white-color: #ffffff;
	--footer-bg-color: #1e1e1e;
	--footer-text-color: #a9a9a9;

	--font-heading: 'Montserrat', sans-serif;
	--font-body: 'Inter', sans-serif;
}

/* --- Global Styles & Reset --- */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text-color);
	background-color: var(--bg-color);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	color: var(--primary-color);
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s ease;
}

ul {
	list-style: none;
}

img,
svg {
	max-width: 100%;
	display: block;
	height: auto;
}

/* Prevent text overflow */
p,
span,
div {
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* Prevent long URLs or text from breaking layout */
a {
	overflow-wrap: break-word;
	word-break: break-all;
}

.container {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
	width: 100%;
	box-sizing: border-box;
}

@media (max-width: 480px) {
	.container {
		padding-left: 12px;
		padding-right: 12px;
	}
}

/* --- Logo --- */
.logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 24px;
	color: var(--primary-color);
}
.logo__icon {
	transition: transform 0.3s ease;
}
.logo:hover .logo__icon {
	transform: rotate(15deg);
}

/* --- Header --- */
.header {
	background-color: var(--white-color);
	padding: 1rem 0;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header__container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.header__menu {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.header__menu-link {
	font-weight: 500;
	padding: 0.5rem 0;
	position: relative;
	color: var(--text-color);
}

.header__menu-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--accent-color);
	transition: width 0.3s ease;
}

.header__menu-link:hover::after {
	width: 100%;
}

.header__menu-link--cta {
	background-color: var(--primary-color);
	color: var(--white-color);
	padding: 0.5rem 1.25rem;
	border-radius: 5px;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.header__menu-link--cta:hover {
	background-color: #1e2c33;
	transform: translateY(-2px);
}
.header__menu-link--cta::after {
	display: none;
}

.header__burger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--primary-color);
}

/* --- Footer --- */
.footer {
	background-color: var(--footer-bg-color);
	color: var(--footer-text-color);
	padding: 4rem 0 2rem;
}

.footer .logo {
	color: var(--white-color);
}

.footer__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	margin-bottom: 3rem;
}

.footer__tagline {
	margin-top: 1rem;
	font-size: 0.9rem;
}

.footer__title {
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--white-color);
	margin-bottom: 1rem;
}

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

.footer__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.footer__link:hover {
	color: var(--accent-color);
}

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

.footer__address {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
}

.footer__bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid #333;
	font-size: 0.9rem;
}

/* --- Mobile Styles (Mobile-First) --- */
@media (max-width: 768px) {
	.header__nav {
		display: none; /* Will be toggled by JS */
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background-color: var(--white-color);
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
		opacity: 0;
		transform: translateY(-10px);
		transition: opacity 0.3s ease, transform 0.3s ease;
	}

	.header__nav.is-active {
		display: block;
		opacity: 1;
		transform: translateY(0);
	}

	.header__menu {
		flex-direction: column;
		padding: 1rem 0;
		gap: 0;
	}

	.header__menu-item {
		width: 100%;
		text-align: center;
		opacity: 0;
		transform: translateY(10px);
		animation: slideInMenu 0.3s ease forwards;
	}

	.header__menu-item:nth-child(1) {
		animation-delay: 0.1s;
	}
	.header__menu-item:nth-child(2) {
		animation-delay: 0.2s;
	}
	.header__menu-item:nth-child(3) {
		animation-delay: 0.3s;
	}
	.header__menu-item:nth-child(4) {
		animation-delay: 0.4s;
	}
	.header__menu-item:nth-child(5) {
		animation-delay: 0.5s;
	}
	.header__menu-item:nth-child(6) {
		animation-delay: 0.6s;
	}

	.header__menu-link {
		display: block;
		padding: 1rem;
		border-radius: 5px;
		margin: 0 1rem;
		transition: background-color 0.2s ease;
	}

	.header__menu-link:hover {
		background-color: var(--bg-color);
	}

	.header__menu-link--cta {
		margin: 1rem 1rem 0;
		display: inline-block;
		width: calc(100% - 2rem);
	}

	.header__menu-link--cta:hover {
		background-color: var(--primary-color);
	}

	.header__burger {
		display: block;
		padding: 0.5rem;
		border-radius: 5px;
		transition: background-color 0.2s ease;
	}

	.header__burger:hover {
		background-color: var(--bg-color);
	}

	.footer__grid {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 3rem;
	}

	.footer__column {
		align-items: center;
	}

	.footer__column--brand,
	.footer__list--contacts li {
		justify-content: center;
	}
}

@keyframes slideInMenu {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Tablet landscape and small desktop */
@media (min-width: 769px) and (max-width: 1024px) {
	.hero {
		padding: 5rem 0;
	}

	.hero__title {
		font-size: 2.75rem;
	}

	.section-header__title {
		font-size: 2rem;
	}

	.strategy,
	.skills,
	.cases,
	.blog,
	.contact {
		padding: 5rem 0;
	}

	.footer__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2.5rem;
	}

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

/* Extra small devices */
@media (max-width: 360px) {
	.container {
		padding-left: 10px;
		padding-right: 10px;
	}

	.hero__title {
		font-size: 1.6rem;
	}

	.section-header__title {
		font-size: 1.4rem;
	}

	.strategy-card {
		padding: 1.25rem 0.75rem;
	}

	.case-card {
		padding: 1rem;
	}

	.blog-card__content {
		padding: 0.75rem;
	}

	.contact__form-container {
		padding: 1rem;
	}

	.button {
		padding: 0.7rem 1.5rem;
		font-size: 0.9rem;
	}
}

/* --- Button --- */
.button {
	display: inline-block;
	padding: 0.8rem 2rem;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 1rem;
	color: var(--white-color);
	background-color: var(--primary-color);
	border: 2px solid var(--primary-color);
	border-radius: 5px;
	cursor: pointer;
	text-align: center;
	transition: all 0.3s ease;
	min-height: 44px; /* Touch-friendly minimum */
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.button:hover {
	background-color: transparent;
	color: var(--primary-color);
	transform: translateY(-3px);
}

@media (max-width: 768px) {
	.button {
		min-height: 48px; /* Larger touch target on mobile */
		padding: 0.9rem 1.8rem;
	}
}

/* --- Hero Section --- */
.hero {
	padding: 6rem 0;
	background-color: var(--white-color);
	overflow: hidden; /* Важливо для анімації */
}

.hero__container {
	display: flex;
	align-items: center;
	gap: 3rem;
}

.hero__content {
	flex: 1;
	animation: fadeIn 1s 0.2s backwards;
}

.hero__title {
	font-size: 3rem;
	line-height: 1.2;
	margin-bottom: 1.5rem;
}

/* Анімація заголовку */
.animate-title .word-wrapper {
	display: inline-block;
	overflow: hidden;
	vertical-align: bottom;
}

.animate-title .word {
	display: block;
	transform: translateY(110%);
	transition: transform 0.7s cubic-bezier(0.2, 1, 0.3, 1);
}

.animate-title.is-visible .word {
	transform: translateY(0);
}

.hero__subtitle {
	font-size: 1.1rem;
	margin-bottom: 2.5rem;
	max-width: 500px;
	animation: fadeIn 1s 0.8s backwards;
}

.hero__cta {
	animation: fadeIn 1s 1.1s backwards;
}

.hero__image-wrapper {
	flex: 1;
	animation: slideInRight 1s 0.2s backwards;
}

.hero__image {
	width: 100%;
	height: auto;
	border-radius: 10px;
	object-fit: cover;
}

/* Адаптивність для Hero */
@media (max-width: 992px) {
	.hero__title {
		font-size: 2.5rem;
	}
}

@media (max-width: 768px) {
	.hero {
		padding: 3rem 0;
		text-align: center;
	}
	.hero__container {
		flex-direction: column;
		gap: 2rem;
	}
	.hero__title {
		font-size: 2rem;
		line-height: 1.3;
		margin-bottom: 1rem;
	}
	.hero__subtitle {
		margin-left: auto;
		margin-right: auto;
		font-size: 1rem;
		margin-bottom: 2rem;
	}
}

@media (max-width: 480px) {
	.hero {
		padding: 2rem 0;
	}
	.hero__title {
		font-size: 1.8rem;
	}
	.hero__subtitle {
		font-size: 0.95rem;
		margin-bottom: 1.5rem;
	}
}

/* --- Анімації Keyframes --- */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(50px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* --- Section Header --- */
.section-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 4rem;
}

.section-header__title {
	font-size: 2.25rem;
	margin-bottom: 1rem;
}

.section-header__subtitle {
	font-size: 1.1rem;
	color: #555;
	line-height: 1.7;
}

/* --- Strategy Section --- */
.strategy {
	padding: 6rem 0;
	background-color: var(--bg-color);
}

.strategy__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.strategy-card {
	background-color: var(--white-color);
	padding: 2.5rem 2rem;
	border-radius: 8px;
	box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strategy-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

.strategy-card__icon i {
	width: 30px;
	height: 30px;
}

.strategy-card__title {
	font-size: 1.4rem;
	margin-bottom: 1rem;
}

.strategy-card__description {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #333;
}

/* Адаптивність для Strategy Section */
@media (max-width: 992px) {
	.strategy__grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

@media (max-width: 768px) {
	.strategy {
		padding: 3rem 0;
	}
	.section-header__title {
		font-size: 1.8rem;
	}
	.section-header {
		margin-bottom: 2.5rem;
	}
	.strategy-card {
		padding: 2rem 1.5rem;
	}
}

@media (max-width: 480px) {
	.strategy {
		padding: 2.5rem 0;
	}
	.section-header__title {
		font-size: 1.6rem;
		margin-bottom: 0.75rem;
	}
	.section-header__subtitle {
		font-size: 1rem;
	}
	.strategy-card {
		padding: 1.5rem 1rem;
	}
	.strategy-card__title {
		font-size: 1.2rem;
	}
	.strategy-card__description {
		font-size: 0.9rem;
	}
}

/* Анімація появи при скролі */
.fade-in-element {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-element.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* --- Skills Section --- */
.skills {
	padding: 6rem 0;
	background-color: var(--white-color);
}

.skills__content {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 4rem;
	align-items: center;
}

.skills__image-wrapper {
	margin-bottom: 2rem;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.skills__image {
	width: 100%;
}

.skills__info-title {
	font-size: 1.8rem;
	margin-bottom: 1rem;
}

.skills__info-text {
	line-height: 1.7;
	color: #333;
}

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

.skills-list__item {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 1.1rem;
	font-weight: 500;
}

.skills-list__item i {
	color: var(--accent-color);
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

/* Адаптивність для Skills Section */
@media (max-width: 992px) {
	.skills__content {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
}

@media (max-width: 768px) {
	.skills {
		padding: 3rem 0;
	}
	.skills__info-title {
		font-size: 1.6rem;
	}
	.skills__info-text {
		font-size: 0.95rem;
	}
	.skills-list__item {
		font-size: 1rem;
	}
}

@media (max-width: 480px) {
	.skills {
		padding: 2.5rem 0;
	}
	.skills__content {
		gap: 2rem;
	}
	.skills__info-title {
		font-size: 1.4rem;
		margin-bottom: 0.75rem;
	}
	.skills__info-text {
		font-size: 0.9rem;
	}
	.skills-list__item {
		font-size: 0.95rem;
		gap: 0.75rem;
	}
	.skills-list {
		gap: 1.25rem;
	}
}

/* Нові анімації */
.slide-in-left {
	opacity: 0;
	transform: translateX(-40px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-in-left.is-visible {
	opacity: 1;
	transform: translateX(0);
}

.slide-in-right {
	opacity: 0;
	transform: translateX(40px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-in-right.is-visible {
	opacity: 1;
	transform: translateX(0);
}

/* --- Cases Section --- */
.cases {
	padding: 6rem 0;
	background-color: var(--bg-color);
}

.cases__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	gap: 2rem;
}

.case-card {
	background-color: var(--white-color);
	border-radius: 8px;
	box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
	padding: 2rem;
	border-top: 4px solid var(--accent-color);
	display: flex;
	flex-direction: column;
}

.case-card__header {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
	margin-bottom: 1.5rem;
}

.case-card__avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--bg-color);
	flex-shrink: 0;
}

.case-card__title {
	font-size: 1.3rem;
	line-height: 1.4;
	color: var(--primary-color);
	margin-bottom: 0.5rem;
}

.case-card__quote {
	font-style: italic;
	color: #555;
	font-size: 0.9rem;
}

.case-card__body {
	flex-grow: 1;
}

.case-card__subtitle {
	font-family: var(--font-heading);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--primary-color);
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
}

.case-card__text {
	font-size: 0.95rem;
	line-height: 1.6;
}

.case-card__results-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-top: 1rem;
}

.case-card__results-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 0.95rem;
}

.case-card__results-list i {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	color: var(--primary-color);
	margin-top: 2px;
}

/* Адаптивність для Cases Section */
@media (max-width: 768px) {
	.cases {
		padding: 3rem 0;
	}
	.cases__grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	.case-card {
		padding: 1.5rem;
	}
	.case-card__title {
		font-size: 1.2rem;
	}
}

@media (max-width: 480px) {
	.cases {
		padding: 2.5rem 0;
	}
	.case-card {
		padding: 1.25rem;
	}
	.case-card__header {
		gap: 1rem;
		margin-bottom: 1.25rem;
	}
	.case-card__avatar {
		width: 50px;
		height: 50px;
	}
	.case-card__title {
		font-size: 1.1rem;
		line-height: 1.3;
	}
	.case-card__quote {
		font-size: 0.85rem;
	}
	.case-card__text {
		font-size: 0.9rem;
	}
	.case-card__subtitle {
		font-size: 0.75rem;
		margin-top: 1.25rem;
	}
	.case-card__results-list li {
		font-size: 0.9rem;
	}
}

/* --- Blog Section --- */
.blog {
	padding: 6rem 0;
	background-color: var(--white-color);
}

.blog__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.blog-card {
	background: var(--white-color);
	border-radius: 8px;
	box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.blog-card__image-link {
	display: block;
}

.blog-card__image {
	width: 100%;
	height: 200px;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__image {
	transform: scale(1.05);
}

.blog-card__content {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.blog-card__meta {
	margin-bottom: 0.75rem;
}

.blog-card__category {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--accent-color);
	background-color: rgba(221, 185, 110, 0.1);
	padding: 0.25rem 0.75rem;
	border-radius: 20px;
	text-transform: uppercase;
}

.blog-card__title {
	font-size: 1.25rem;
	line-height: 1.4;
	margin-bottom: 0.75rem;
	flex-grow: 1;
}

.blog-card__title a {
	background-image: linear-gradient(var(--accent-color), var(--accent-color));
	background-size: 0% 2px;
	background-repeat: no-repeat;
	background-position: left bottom;
	transition: background-size 0.3s ease;
}

.blog-card:hover .blog-card__title a {
	color: var(--primary-color);
	background-size: 100% 2px;
}

.blog-card__excerpt {
	font-size: 0.95rem;
	color: #555;
	margin-bottom: 1.5rem;
}

.blog-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	color: var(--primary-color);
	margin-top: auto; /* Притискає посилання до низу */
}

.blog-card__link i {
	width: 18px;
	height: 18px;
	transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__link i {
	transform: translateX(4px);
}

.blog__footer {
	text-align: center;
	margin-top: 4rem;
}

/* Адаптивність для Blog Section */
@media (max-width: 992px) {
	.blog__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}
}
@media (max-width: 768px) {
	.blog {
		padding: 3rem 0;
	}
	.blog__grid {
		grid-template-columns: 1fr;
	}
	.blog-card__content {
		padding: 1.25rem;
	}
	.blog-card__title {
		font-size: 1.15rem;
	}
}

@media (max-width: 480px) {
	.blog {
		padding: 2.5rem 0;
	}
	.blog__grid {
		gap: 1.5rem;
	}
	.blog-card__content {
		padding: 1rem;
	}
	.blog-card__title {
		font-size: 1.1rem;
		margin-bottom: 0.5rem;
	}
	.blog-card__excerpt {
		font-size: 0.9rem;
		margin-bottom: 1.25rem;
	}
	.blog-card__category {
		font-size: 0.7rem;
		padding: 0.2rem 0.6rem;
	}
	.blog__footer {
		margin-top: 3rem;
	}
}

/* --- Contact Section --- */
.contact {
	padding: 6rem 0;
	background-color: var(--primary-color);
	color: var(--white-color);
}

.section-header--light .section-header__title,
.section-header--light .section-header__subtitle {
	color: var(--white-color);
}

.section-header--light .section-header__subtitle {
	color: rgba(255, 255, 255, 0.8);
}

.contact__wrapper {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 4rem;
	align-items: center;
}

.contact__info-title {
	font-size: 1.8rem;
	margin-bottom: 1rem;
	font-family: var(--font-heading);
}

.contact__info-text {
	line-height: 1.7;
	margin-bottom: 2rem;
	color: rgba(255, 255, 255, 0.8);
}

.contact__info-details {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.contact__info-link {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	font-weight: 500;
}

.contact__info-link:hover {
	color: var(--accent-color);
}

.contact__form-container {
	background: var(--white-color);
	color: var(--text-color);
	padding: 2.5rem;
	border-radius: 8px;
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
}

.form-input {
	width: 100%;
	padding: 0.8rem 1rem;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 1rem;
	font-family: var(--font-body);
	transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(42, 61, 69, 0.2);
}

.form-group--checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 0.9rem;
}

.form-group--checkbox input[type='checkbox'] {
	margin-top: 4px;
	flex-shrink: 0;
}

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

.button--accent {
	background-color: var(--accent-color);
	color: var(--primary-color);
	border-color: var(--accent-color);
	width: 100%;
}
.button--accent:hover {
	background-color: transparent;
	color: var(--primary-color);
	border-color: var(--primary-color);
}

.form-success {
	display: none; /* Initially hidden */
	text-align: center;
	padding: 2rem;
}
.form-success.is-visible {
	display: block;
}
.form-success i {
	color: var(--accent-color);
	width: 50px;
	height: 50px;
	margin-bottom: 1rem;
}

/* Адаптивність для Contact Section */
@media (max-width: 992px) {
	.contact__wrapper {
		grid-template-columns: 1fr;
		gap: 3rem;
	}
}

@media (max-width: 768px) {
	.contact {
		padding: 3rem 0;
	}
	.contact__wrapper {
		gap: 2.5rem;
	}
	.contact__form-container {
		padding: 1.5rem;
	}
	.contact__info-title {
		font-size: 1.6rem;
	}
	.contact__info-text {
		font-size: 0.95rem;
	}
}

@media (max-width: 480px) {
	.contact {
		padding: 2.5rem 0;
	}
	.contact__wrapper {
		gap: 2rem;
	}
	.contact__form-container {
		padding: 1.25rem;
	}
	.contact__info-title {
		font-size: 1.4rem;
		margin-bottom: 0.75rem;
	}
	.contact__info-text {
		font-size: 0.9rem;
		margin-bottom: 1.5rem;
	}
	.form-input {
		padding: 0.7rem 0.85rem;
		font-size: 0.95rem;
	}
	.form-label {
		font-size: 0.85rem;
	}
	.form-group--checkbox {
		font-size: 0.85rem;
	}
}

/* --- Cookie Pop-up --- */
.cookie-popup {
	position: fixed;
	bottom: 20px;
	left: 20px;
	right: 20px;
	width: 100%;
	max-width: 600px;
	background-color: var(--white-color);
	color: var(--text-color);
	padding: 1.5rem;
	border-radius: 8px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
	z-index: 1000;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	transform: translateY(200%);
	transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.cookie-popup.is-visible {
	transform: translateY(0);
}

.cookie-popup__text {
	font-size: 0.9rem;
}

.cookie-popup__text a {
	color: var(--primary-color);
	font-weight: 600;
	text-decoration: underline;
}

.cookie-popup__btn {
	flex-shrink: 0;
	padding: 0.6rem 1.2rem;
}

@media (max-width: 768px) {
	.cookie-popup {
		flex-direction: column;
		text-align: center;
		left: 10px;
		right: 10px;
		bottom: 10px;
		padding: 1.25rem;
		gap: 1.25rem;
	}
	.cookie-popup__text {
		font-size: 0.85rem;
	}
	.cookie-popup__btn {
		padding: 0.7rem 1.5rem;
		font-size: 0.9rem;
		width: 100%;
	}
}

@media (max-width: 480px) {
	.cookie-popup {
		left: 8px;
		right: 8px;
		bottom: 8px;
		padding: 1rem;
		gap: 1rem;
	}
	.cookie-popup__text {
		font-size: 0.8rem;
		line-height: 1.5;
	}
	.cookie-popup__btn {
		padding: 0.75rem 1.25rem;
		font-size: 0.85rem;
	}
}

/* --- Policy & Standard Pages --- */
.pages {
	padding: 5rem 0;
	background-color: var(--white-color);
}

.pages .container {
	max-width: 800px;
}

.pages h1,
.pages h2 {
	font-family: var(--font-heading);
	color: var(--primary-color);
	margin-bottom: 1.5rem;
}

.pages h1 {
	font-size: 1.5rem;
	border-bottom: 2px solid var(--bg-color);
	padding-bottom: 1rem;
}

.pages h2 {
	font-size: 1.5rem;
	margin-top: 2.5rem;
}

.pages p {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.8;
	margin-bottom: 1.5rem;
}

.pages ul {
	list-style: disc;
	padding-left: 20px;
	margin-bottom: 1.5rem;
}

.pages li {
	margin-bottom: 0.75rem;
	line-height: 1.8;
}

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

.pages a:hover {
	color: var(--accent-color);
}

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