/* ========================================================================== */
/*  Creative Management Consultants (CMC) - Home Page Styles                  */
/*  ------------------------------------------------------------------------  */
/*  This stylesheet is organised from global resets down to section-specific  */
/*  components. Update the CSS custom properties in :root to swap colours or  */
/*  spacing tokens quickly when the final design palette is confirmed.        */
/* ========================================================================== */

/* ============================== CSS RESET ================================= */
/* Opting for a light reset to provide consistent sizing and typography rules */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
	scroll-padding-top: 80px; /* Offset for sticky header */
}

body {
	margin: 0;
	font-family: "Lato", sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	color: #000000;
	background-color: #ffffff;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover,
a:focus-visible {
	text-decoration: underline;
}

ul,
li {
	margin: 0;
	padding: 0;
	list-style: none;
}

p {
	margin: 0 0 1rem;
}

/* ========================== DESIGN TOKENS ================================= */
:root {
	/* Colour palette - Updated to match design specifications */
	--color-primary: #3e6fd9;
	--color-primary-dark: #2d5bc7;
	--color-accent: #3e6fd9;
	--color-accent-light: #eef3ff;
	--color-heading: #000000;
	--color-body: #404040;
	--color-muted: #6e6e6e;
	--color-border: #e0e0e0;
	--color-surface: #ffffff;
	--color-surface-alt: #f8f9fa;
	--color-hero-bg: #f8f9fa;

	/* Shadows and radii */
	--shadow-card: 0 16px 48px rgba(29, 56, 104, 0.12);
	--radius-md: 20px;
	--radius-lg: 32px;

	/* Layout spacing scale */
	--space-xs: 0.5rem;
	--space-sm: 1rem;
	--space-md: 1.5rem;
	--space-lg: 2.5rem;
	--space-xl: 4rem;

	/* Layout width */
	--max-width: 1220px;
}

/* ============================= ACCESSIBILITY ============================== */
/* Screen reader only text helper */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* Skip link ensures keyboard users can jump straight to main content */
.skip-link {
	position: absolute;
	top: -100px;
	left: 1rem;
	padding: var(--space-xs) var(--space-sm);
	background-color: var(--color-primary);
	color: var(--color-surface);
	border-radius: 999px;
	transition: top 0.3s ease;
	z-index: 999;
}

.skip-link:focus {
	top: 1rem;
}

/* =============================== UTILITIES ================================ */
.container {
	width: min(100% - 6rem, 1220px);
	margin-inline: auto;
}

.section-eyebrow {
	display: inline-block;
	font-weight: 700;
	font-size: 0.9rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-primary);
	margin-bottom: var(--space-xs);
}

.section-title {
	font-size: clamp(2rem, 5vw, 2.75rem);
	line-height: 1.2;
	color: #000000;
	margin: 0 0 var(--space-sm);
}

.section-title span {
	color: var(--color-primary);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.9rem 2rem;
	border-radius: 8px;
	font-weight: 500;
	font-size: 1rem;
	transition: opacity 0.2s ease;
	border: none;
	cursor: pointer;
}

.btn:focus-visible {
	outline: 3px solid rgba(63, 181, 255, 0.65);
	outline-offset: 3px;
}

.btn--primary {
	background: var(--color-primary);
	color: #ffffff;
	border-radius: 8px;
	box-shadow: none;
}

.btn--primary:hover,
.btn--primary:focus-visible {
	transform: none;
	box-shadow: none;
	opacity: 0.9;
	text-decoration: none;
	transition: 200ms;
}

.btn--ghost {
	background-color: rgba(62, 111, 217, 0.12);
	color: var(--color-primary);
	border: none;
	border-radius: 8px;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
	opacity: 0.9;
	background-color: rgba(62, 111, 217, 0.18);
	text-decoration: none;
	transition: 200ms;
}

/* ================================ HEADER ================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: #ffffff;
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-md);
	padding: var(--space-md) 0;
}

.brand {
	display: inline-flex;
	align-items: center;
	padding: 0.2rem 0;
}

.brand img {
	display: block;
	height: 38px;
	width: auto;
}

.primary-nav__list {
	display: flex;
	align-items: center;
	gap: 2.25rem;
	font-weight: 600;
	color: #000000;
}

.primary-nav__list a {
	position: relative;
	padding: 0.35rem 0;
	text-decoration: none;
}

.primary-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -0.75rem;
	height: 3px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--color-primary), #4f80ff);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.2s ease;
}

.primary-nav__list a:hover::after,
.primary-nav__list a:focus-visible::after,
.primary-nav__list .is-active::after {
	transform: scaleX(1);
}

.primary-nav__list .is-active {
	color: var(--color-primary);
}

.primary-nav__list a:hover,
.primary-nav__list a:focus-visible {
	text-decoration: none;
}

/* Hide mobile footer links on desktop */
.primary-nav__footer {
	display: none;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	z-index: 1001;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 6px;
	width: 40px;
	height: 40px;
	position: relative;
	cursor: pointer;
}

.mobile-menu-toggle span {
	display: block;
	width: 30px;
	height: 3px;
	background-color: var(--color-heading);
	border-radius: 2px;
	transition: all 0.3s ease;
	position: absolute;
}

.mobile-menu-toggle span:nth-child(1) {
	top: 12px;
}

.mobile-menu-toggle span:nth-child(2) {
	top: 50%;
	transform: translateY(-50%);
}

.mobile-menu-toggle span:nth-child(3) {
	bottom: 12px;
}

.mobile-menu-toggle.active span:nth-child(1) {
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
	opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
	bottom: 50%;
	transform: translateY(50%) rotate(-45deg);
}

/* ================================ HERO ==================================== */
.hero {
	position: relative;
	padding: var(--space-md) 0 var(--space-md);
}

.hero__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 600px;
	padding: 10rem 5rem;
	border-radius: 32px;
	box-shadow: none;
	border: none;
	background-color: var(--color-accent-light);
	overflow: hidden;
}

.hero__content {
	position: relative;
	z-index: 2;
	max-width: 520px;
}

.hero__eyebrow {
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-accent);
}

.hero__title {
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	line-height: 1.15;
	margin: 0 0 var(--space-sm);
	color: #000000;
	font-weight: 700;
}

.hero__title span {
	color: var(--color-primary);
	font-weight: 700;
}

.hero__quote {
	font-style: italic;
	color: var(--color-muted);
	margin-bottom: var(--space-md);
	font-size: 1rem;
	line-height: 2;
	text-transform: capitalize;
	letter-spacing: 0.03rem;
}

.hero__quote span {
	display: block;
	font-style: normal;
	/* font-weight: 600; */
	letter-spacing: 0.05em;
	text-transform: capitalize;
	color: var(--color-muted);
	font-size: 0.85rem;
	margin-top: 0.25rem;
}

.hero__summary {
	font-size: 1.05rem;
	color: var(--color-body);
	margin-bottom: var(--space-md);
}

.hero__cta-group {
	display: flex;
	gap: var(--space-sm);
	flex-wrap: wrap;
	margin-top: var(--space-lg);
}

.hero__visual {
	position: absolute;
	bottom: 0;
	right: 0;
	max-width: 50%;
	width: 100%;
	z-index: 1;
	opacity: 0.95;
}

.hero__visual img {
	border-radius: 0;
	box-shadow: none;
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: bottom right;
}

.hero__clients {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	transform: translateY(10%);
	z-index: 10;
}

.hero__clients-label {
	text-align: center;
	color: #404040;
	margin-bottom: var(--space-sm);
	font-size: 1rem;
}

/* Client Logos Container */
.client-logos-wrapper {
	background-color: #ffffff;
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
	margin: 0 auto;
	overflow: hidden;
	max-width: 100%;
	position: relative;
}

.client-logos {
	display: flex;
	align-items: center;
	gap: var(--space-xl);
	padding: var(--space-md) 0;
	width: max-content;
}

.client-logos li {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	padding: 0 var(--space-md);
}

.client-logos img {
	opacity: 0.9;
	transition: filter 0.3s ease, opacity 0.3s ease;
	max-height: 54px;
	width: auto;
}

.client-logos img:hover {
	filter: none;
	opacity: 1;
}

/* Static centered logos on larger screens */
@media (min-width: 1025px) {
	.client-logos-wrapper {
		width: fit-content;
	}

	.client-logos {
		justify-content: center;
		padding: var(--space-md) var(--space-xl);
		width: auto;
		gap: var(--space-md);
	}

	/* Hide duplicate logos on desktop (only show first 7) */
	.client-logos li:nth-child(n + 8) {
		display: none;
	}
}

/* Infinite scroll animation - only on screens 1024px and below */
@media (max-width: 1024px) {
	.client-logos {
		animation: scroll-logos 20s linear infinite;
	}

	/* Pause animation on hover */
	.client-logos-wrapper:hover .client-logos {
		animation-play-state: paused;
	}
}

@keyframes scroll-logos {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* =============================== STORY ==================================== */
.story {
	padding: calc(var(--space-xl) * 2) 0 var(--space-xl);
}

.story__inner {
	display: grid;
	gap: calc(var(--space-xl) * 2);
	grid-template-columns: 200px 1fr;
	align-items: start;
}

.story__heading-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: #000000;
	margin: 0;
	position: relative;
	padding-left: 1.7rem;
}

.story__heading-title::before {
	content: "—";
	position: absolute;
	left: 0;
	color: var(--color-primary);
}

.story__body {
	background-color: #ffffff;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
	max-width: 900px;
}

.story__intro {
	font-size: 1.1rem;
	color: #404040;
	line-height: 1.8;
	margin-bottom: var(--space-lg);
}

.story__body p {
	color: #404040;
	font-size: 1.05rem;
	line-height: 1.8;
	margin-bottom: var(--space-md);
}

.story__metrics {
	display: flex;
	gap: calc(var(--space-xl) * 1.5);
	margin-top: var(--space-lg);
}

.metric {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.metric__value {
	font-size: 3rem;
	font-weight: 700;
	color: var(--color-primary);
	line-height: 1;
}

.metric__label {
	display: block;
	font-weight: 400;
	color: #404040;
	font-size: 1rem;
	text-transform: lowercase;
}

/* ============================== SERVICES ================================== */
.services {
	padding: var(--space-xl) 0;
}

.services__inner {
	background: var(--color-accent-light);
	border-radius: 32px;
	padding: var(--space-xl) calc(var(--space-xl) * 1.5);
	box-shadow: none;
}

/* Row 1: Two-column header */
.services__header {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: calc(var(--space-xl) * 2);
	align-items: start;
	margin-bottom: calc(var(--space-lg) * 1.5);
}

.services__heading-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #000000;
	margin: 0 0 var(--space-xs);
	position: relative;
	padding-left: 1.7rem;
}

.services__heading-title::before {
	content: "—";
	position: absolute;
	left: 0;
	color: var(--color-primary);
}

.services__title {
	font-size: 1.5rem;
	line-height: 1.2;
	color: var(--color-body);
	margin: 0;
	font-weight: 500;
	padding-left: 1.7rem;
}

.services__title span {
	color: var(--color-primary);
}

.services__description {
	max-width: 900px;
}

.services__description p {
	color: #404040;
	font-size: 1.05rem;
	line-height: 1.8;
	margin: 0;
}

/* Row 2: Cards */
.card-grid {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
	margin-bottom: calc(var(--space-lg) * 1.5);
	justify-content: space-between;
}

.card {
	background-color: var(--color-surface);
	border-radius: 20px;
	padding: var(--space-md) calc(var(--space-md) * 1.5);
	text-align: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 220px;
	cursor: pointer;
}

.card:hover,
.card:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card__icon {
	margin-bottom: var(--space-md);
	width: 50px;
	height: 50px;
	object-fit: contain;
}

.card__title {
	font-size: 1.15rem;
	font-weight: 500;
	color: #000000;
	margin: 0;
}

.card__text {
	color: #404040;
	margin: 0;
}

/* Row 3: CTA button */
.services__cta-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
}

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

/* ============================== PRODUCTS ================================== */
.products {
	padding: var(--space-xl) 0;
	background-color: #ffffff;
}

.products__container {
	max-width: 1220px;
}

/* Header - Single column, center aligned */
.products__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-bottom: calc(var(--space-lg) * 1.5);
	max-width: 1024px;
	margin-left: auto;
	margin-right: auto;
}

.products__heading {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 100%;
}

.products__heading-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #000000;
	margin: 0 0 var(--space-xs);
	position: relative;
	padding-left: 1.7rem;
}

.products__heading-title::before {
	content: "—";
	position: absolute;
	left: 0;
	color: var(--color-primary);
}

.products__title {
	font-size: clamp(1.5rem, 5vw, 1.75rem);
	line-height: 1.2;
	color: var(--color-body);
	margin: 0 0 var(--space-md);
	font-weight: 500;
}

.products__title span {
	color: var(--color-primary);
}

.products__description {
	width: 100%;
}

.products__description p {
	color: #404040;
	font-size: 1.05rem;
	line-height: 1.8;
	margin: 0;
}

/* Products grid with custom spans */
.product-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-md);
}

.product-card {
	display: flex;
	flex-direction: column;
	/* background-color: var(--color-surface-alt); */
	border-radius: 20px;
	padding: var(--space-lg);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	position: relative;
}

.product-card:hover,
.product-card:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* First card spans 2 columns */
.product-card--large {
	grid-column: span 2;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-lg);
	align-items: start;
}

.product-card--large .product-card__icon {
	grid-column: 1 / -1;
}

.product-card--large .product-card__body {
	grid-column: 1;
	padding: 0;
}

.product-card--large .product-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px;
}

.product-card__icon {
	width: 48px;
	height: 48px;
	padding: 0.7rem;
	margin-bottom: var(--space-sm);
	background-color: var(--color-surface);
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary);
}

.product-card__body {
	display: flex;
	flex-direction: column;
	gap: var(--space-sm);
	flex: 1;
}

.product-card__title {
	font-size: 1.15rem;
	font-weight: 600;
	color: #000000;
	margin: 0;
}

.product-card__text {
	color: #404040;
	font-size: 0.95rem;
	line-height: 1.6;
	margin: 0;
	flex: 1;
}

.product-card__features {
	list-style: none;
	padding: 0;
	margin: var(--space-sm) 0;
	display: flex;
	gap: var(--space-sm);
}

.product-card__features li {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	color: #404040;
}

.product-card__features li::before {
	content: "○";
	color: var(--color-primary);
	font-size: 0.7rem;
}

.product-card__image {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 12px;
	margin-top: auto;
}

.product-card__link {
	color: var(--color-primary);
	font-weight: 600;
	font-size: 0.95rem;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin-top: var(--space-sm);
	margin-bottom: var(--space-sm);
}

.product-card__link:hover {
	text-decoration: underline;
}

/* Highlight card (All Products) */
.product-card--highlight {
	background: var(--color-accent-light);
	justify-content: center;
	align-items: center;
	text-align: center;
}

.product-card--highlight .product-card__body {
	align-items: center;
	max-width: 280px;
}

.product-card--highlight .product-card__title {
	font-size: 1.5rem;
	color: var(--color-primary);
}

.product-card--highlight .product-card__text {
	text-align: center;
}

.product-card__cta {
	margin-top: var(--space-md);
}

/* =============================== CONTACT ================================== */
.contact {
	padding: var(--space-xl) 0;
}

.contact__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: calc(var(--space-md) * 2);
	padding: calc(var(--space-lg) * 1.5);
	background: var(--color-accent-light);
	border-radius: 32px;
}

/* Left column - Contact Info */
.contact__info {
	max-width: 540px;
}

.contact__title {
	font-size: 1.5rem;
	line-height: 1.3;
	color: var(--color-body);
	margin: 0 0 calc(var(--space-lg) * 1.5);
	font-weight: 500;
}

.contact__title span {
	color: var(--color-primary);
	font-weight: 700;
}

.contact-list {
	display: flex;
	flex-direction: column;
	gap: var(--space-lg);
}

.contact-list__item {
	display: flex;
	gap: var(--space-md);
	align-items: flex-start;
}

.contact-icon {
	width: 48px;
	height: 48px;
	padding: 0.7rem;
	background-color: var(--color-surface);
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.contact-icon img {
	width: 24px;
	height: 24px;
	object-fit: contain;
}

.contact-list__content {
	flex: 1;
}

.contact-list__label {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--color-body);
	margin: 0 0 0.25rem;
}

.contact-list__subtitle {
	font-size: 0.95rem;
	font-weight: 300;
	color: var(--color-body);
	margin: 0 0 0.5rem;
}

.contact-list__content a {
	color: var(--color-body);
	font-weight: 300;
	font-size: 0.95rem;
}

.contact-list__content a:hover {
	color: var(--color-primary);
}

.contact-list__links {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.contact-list__address {
	font-style: normal;
	color: var(--color-body);
	font-size: 0.95rem;
	line-height: 1.8;
}

.contact-list__address-link {
	color: var(--color-primary) !important;
	font-weight: 600;
	font-size: 0.95rem;
}

/* Right column - Form */
.contact-form {
	background: var(--color-surface);
	border-radius: 20px;
	padding: var(--space-xl);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.contact-form__title {
	font-size: 1.75rem;
	font-weight: 700;
	color: #000000;
	margin: 0 0 var(--space-lg);
	text-align: center;
}

.contact-form fieldset {
	border: none;
	padding: 0;
	margin: 0;
}

.form__row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-sm);
	margin-bottom: var(--space-sm);
}

.form__field {
	display: flex;
	flex-direction: column;
	margin-bottom: var(--space-sm);
}

/* International Telephone Input Styling */
.iti {
	width: 100%;
	display: block;
}

.iti__flag-container {
	border-radius: 8px 0 0 8px;
}

.iti__selected-flag {
	background-color: var(--color-surface);
	border-right: none;
	border-radius: 8px 0 0 8px;
	padding: 0 0 0 0.75rem;
	outline: none !important;
}

.iti__selected-flag:hover,
.iti__selected-flag:focus {
	background-color: var(--color-surface);
	outline: none !important;
}

.iti__arrow {
	border: none;
}

.iti__country-list {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
	margin-top: 4px;
	max-height: 250px;
	overflow: hidden;
	box-sizing: border-box;
}

/* Search input in dropdown */
.iti__search-input {
	width: calc(100% - 24px) !important;
	margin: 8px 12px !important;
	padding: 0.75rem 1rem !important;
	border: 1px solid #e0e0e0 !important;
	border-radius: 8px !important;
	font-family: inherit !important;
	font-size: 0.95rem !important;
	color: #404040 !important;
	background-color: var(--color-surface) !important;
	outline: none !important;
	transition: border-color 0.2s ease !important;
	box-sizing: border-box !important;
}

.iti__search-input::placeholder {
	color: #9e9e9e !important;
	font-style: italic !important;
}

.iti__search-input:focus {
	border-color: var(--color-primary) !important;
	outline: none !important;
}

.iti__country {
	padding: 10px 12px;
	transition: background-color 0.15s ease;
}

.iti__country:hover {
	background-color: var(--color-accent-light);
}

.iti__country.iti__highlight {
	background-color: var(--color-accent-light);
}

.iti__dial-code {
	color: #6e6e6e;
}

.iti__divider {
	border-bottom: 1px solid #e0e0e0;
	margin: 4px 0;
}

.iti input#phone {
	width: 100%;
	padding-left: 52px;
	border-radius: 8px;
}

.form__field input,
.form__field textarea {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 0.875rem 1rem;
	font-family: inherit;
	font-size: 1rem;
	color: #404040;
	background-color: var(--color-surface);
	transition: border-color 0.2s ease;
	width: 100%;
}

.form__field input::placeholder,
.form__field textarea::placeholder {
	color: #9e9e9e;
	font-style: italic;
}

.form__field input:focus,
.form__field textarea:focus {
	outline: none;
	border-color: var(--color-primary);
}

.form__field textarea {
	resize: vertical;
	min-height: 120px;
}

.form__submit {
	width: 100%;
	margin: var(--space-sm) 0;
	padding: 1rem 2rem;
	font-size: 1.05rem;
}

.form__note {
	font-size: 0.8rem;
	color: #6e6e6e;
	text-align: center;
	margin: var(--space-sm) 0 0;
	line-height: 1.6;
}

.form__note a {
	color: #6e6e6e;
	text-decoration: underline;
}

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

.form__status {
	min-height: 1.5rem;
	margin-top: var(--space-sm);
	font-size: 0.95rem;
	font-weight: 600;
	text-align: center;
}

.form__status.is-success {
	color: #1a8754;
}

.form__status.is-error {
	color: #c53030;
}

/* ================================ FOOTER ================================== */
.site-footer {
	background-color: #ffffff;
	color: #000000;
	position: relative;
}

.site-footer::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: var(--color-primary);
}

/* Top section - emails and social icons */
.site-footer__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: var(--space-lg) 0;
	border-bottom: 1px solid #e0e0e0;
}

.site-footer__emails {
	display: flex;
	gap: calc(var(--space-lg) * 1.5);
	align-items: center;
}

.site-footer__emails a {
	color: #000000;
	font-size: 1rem;
	font-weight: 400;
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-footer__emails a:hover {
	color: var(--color-primary);
}

.site-footer__social {
	display: flex;
	gap: var(--space-md);
	align-items: center;
}

.site-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background-color: transparent;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.site-footer__social a:hover {
	background-color: #f5f5f5;
	transform: translateY(-2px);
}

.site-footer__social img {
	width: 24px;
	height: 24px;
	object-fit: contain;
}

/* Bottom section - copyright and links */
.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: var(--space-lg) 0;
}

.site-footer__copyright {
	margin: 0;
	font-size: 0.95rem;
	color: #6e6e6e;
}

.site-footer__nav {
	display: flex;
	gap: var(--space-lg);
	align-items: center;
}

.site-footer__nav a {
	color: #000000;
	font-size: 0.95rem;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-footer__nav a:hover {
	color: var(--color-primary);
}

/* ============================== RESPONSIVE ================================ */
@media (max-width: 1024px) {
	.hero__inner {
		padding: var(--space-lg);
	}

	.services__inner {
		padding: var(--space-lg);
	}

	.card-grid {
		justify-content: center;
	}

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

	.product-card--large {
		grid-column: span 2;
	}

	.contact__inner {
		grid-template-columns: 1fr;
		gap: var(--space-xl);
		padding: var(--space-lg);
	}

	.contact__info {
		max-width: 100%;
	}

	.contact-form {
		padding: var(--space-lg);
	}
}

@media (max-width: 900px) {
	.header__inner {
		flex-wrap: wrap;
		justify-content: space-between;
		gap: var(--space-sm);
	}

	.hero__inner {
		text-align: center;
		min-height: 500px;
	}

	.hero__content {
		margin: 0 auto;
	}

	.hero__visual {
		max-width: 70%;
		opacity: 0.8;
	}

	.story__inner {
		grid-template-columns: 1fr;
		gap: var(--space-lg);
	}

	.story__heading-title {
		padding-left: 0;
	}

	.story__heading-title::before {
		position: static;
		margin-right: 0.5rem;
	}

	.services__header {
		grid-template-columns: 1fr;
		gap: var(--space-lg);
	}

	.services__heading-title {
		padding-left: 0;
	}

	.services__heading-title::before {
		position: static;
		margin-right: 0.5rem;
	}

	.product-grid {
		grid-template-columns: 1fr;
	}

	.product-card--large {
		grid-column: span 1;
		grid-template-columns: 1fr;
	}

	.product-card--large .product-card__image {
		grid-column: 1;
		grid-row: auto;
		height: 200px;
	}
}

@media (max-width: 600px) {
	.container {
		width: min(100% - 2rem, var(--max-width));
	}

	.hero__inner {
		padding: var(--space-md);
		min-height: 400px;
	}

	.hero__visual {
		max-width: 85%;
		opacity: 0.7;
	}

	.client-logos {
		flex-wrap: wrap;
		gap: var(--space-sm);
	}

	.story__body {
		padding: 0;
	}

	.story__metrics {
		gap: var(--space-lg);
	}

	.services__inner {
		padding: var(--space-md);
	}

	.card-grid {
		justify-content: center;
	}

	.card {
		width: 100%;
		max-width: 300px;
	}

	.contact__inner {
		padding: var(--space-md);
		gap: var(--space-lg);
	}

	.contact-form {
		padding: var(--space-md);
	}

	.form__row {
		grid-template-columns: 1fr;
	}

	.site-footer__top {
		flex-direction: column;
		gap: var(--space-lg);
		text-align: center;
	}

	.site-footer__emails {
		flex-direction: column;
		gap: var(--space-sm);
	}

	.site-footer__bottom {
		flex-direction: column;
		gap: var(--space-md);
		text-align: center;
	}

	.site-footer__nav {
		flex-direction: column;
		gap: var(--space-sm);
	}
}

/* ======================= LEGAL PAGES STYLES ======================= */
/* Styles for Terms of Service and Privacy Policy pages */

.legal-page {
	padding: var(--space-xl) 0;
	background-color: var(--color-surface);
}

.legal-page__inner {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 var(--space-md);
}

.legal-page__title {
	font-size: 3rem;
	font-weight: 700;
	color: var(--color-heading);
	margin: 0 0 var(--space-sm);
	line-height: 1.2;
}

.legal-page__updated {
	font-size: 0.875rem;
	color: var(--color-muted);
	margin-bottom: var(--space-xl);
	font-style: italic;
}

.legal-page__content {
	font-size: 1rem;
	line-height: 1.8;
	color: var(--color-body);
}

.legal-section {
	margin-bottom: var(--space-xl);
}

.legal-section h2 {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--color-heading);
	margin: 0 0 var(--space-md);
	line-height: 1.3;
	padding-top: var(--space-sm);
}

.legal-section h3 {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--color-heading);
	margin: var(--space-md) 0 var(--space-sm);
	line-height: 1.4;
}

.legal-section p {
	margin-bottom: var(--space-md);
}

.legal-section ul,
.legal-section ol {
	margin: var(--space-md) 0;
	padding-left: var(--space-lg);
}

.legal-section ul {
	list-style-type: disc;
}

.legal-section ol {
	list-style-type: decimal;
}

.legal-section li {
	margin-bottom: var(--space-sm);
	line-height: 1.8;
	padding-left: var(--space-xs);
}

.legal-section a {
	color: var(--color-primary);
	text-decoration: underline;
	font-weight: 500;
	transition: color 0.2s ease;
}

.legal-section a:hover,
.legal-section a:focus {
	color: var(--color-primary-dark);
}

.legal-section strong {
	font-weight: 600;
	color: var(--color-heading);
}

.contact-details {
	background-color: var(--color-surface-alt);
	padding: var(--space-md);
	border-radius: var(--radius-md);
	margin: var(--space-md) 0;
}

.contact-details p {
	margin-bottom: var(--space-sm);
}

.contact-details p:last-child {
	margin-bottom: 0;
}

/* Responsive adjustments for legal pages */
@media (max-width: 768px) {
	.legal-page {
		padding: var(--space-lg) 0;
	}

	.legal-page__title {
		font-size: 2rem;
	}

	.legal-section h2 {
		font-size: 1.5rem;
	}

	.legal-section h3 {
		font-size: 1.125rem;
	}

	.legal-section ul,
	.legal-section ol {
		padding-left: var(--space-md);
	}
}

/* ======================= RESPONSIVE STYLES ======================= */

/* Tablet and Mobile Styles */
@media (max-width: 1024px) {
	.container {
		width: min(100% - 3rem, 1220px);
	}

	.hero__inner {
		padding: 8rem 3rem;
	}

	.hero__visual {
		max-width: 45%;
	}
}

@media (max-width: 768px) {
	/* Mobile Navigation */
	.mobile-menu-toggle {
		display: flex;
	}

	.primary-nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 280px;
		height: 100vh;
		background-color: #ffffff;
		box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
		transition: right 0.3s ease;
		z-index: 1000;
		padding-top: 80px;
	}

	.primary-nav.active {
		right: 0;
	}

	.primary-nav__list {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 0 var(--space-lg);
	}

	.primary-nav__list li {
		width: 100%;
		border-bottom: 1px solid var(--color-border);
	}

	.primary-nav__list a {
		display: block;
		padding: var(--space-md) 0;
		font-size: 1.1rem;
	}

	.primary-nav__list a::after {
		display: none;
	}

	/* Mobile Navigation Footer Links - Show on mobile */
	.primary-nav__footer {
		display: flex !important;
		flex-direction: column;
		gap: 0;
		padding: var(--space-lg) var(--space-lg) var(--space-md);
		margin-top: var(--space-lg);
		border-top: 1px solid var(--color-border);
	}

	.primary-nav__footer a {
		display: block;
		padding: var(--space-sm) 0;
		font-size: 0.95rem;
		color: var(--color-muted);
		text-decoration: none;
		transition: color 0.2s ease;
	}

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

	/* Mobile Overlay */
	.mobile-overlay {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.5);
		z-index: 999;
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.3s ease;
	}

	/* Hero Section Mobile */
	.hero__inner {
		padding: 4rem 2rem;
		min-height: 500px;
	}

	.hero__content {
		max-width: 100%;
	}

	.hero__title {
		font-size: 2rem;
	}

	.hero__cta-group {
		justify-content: center;
		width: 100%;
	}

	.hero__cta-group .btn {
		width: 100%;
		max-width: 280px;
	}

	.hero__visual {
		max-width: 80%;
		right: 50%;
		transform: translateX(50%);
		bottom: -20px;
	}

	.hero__clients {
		transform: translateY(20%);
	}

	/* Client Logos Mobile */
	.client-logos li {
		padding: 0 var(--space-sm);
	}

	.client-logos img {
		max-height: 40px;
	}

	/* Story Section Mobile */
	.story__inner {
		grid-template-columns: 1fr;
		gap: var(--space-lg);
	}

	.story__heading-title {
		font-size: 1.5rem;
	}
}

@media (max-width: 480px) {
	.container {
		width: min(100% - 2rem, 1220px);
	}
}

@media (max-width: 425px) {
	/* Hero Section - Increase client logos offset */
	.hero__clients {
		transform: translateY(50%);
	}

	.header__inner {
		padding: var(--space-sm) 0;
	}

	.hero__inner {
		padding: 3rem 1.5rem;
		min-height: 450px;
	}

	.hero__title {
		font-size: 1.75rem;
	}

	.hero__quote {
		font-size: 0.9rem;
	}

	.hero__cta-group {
		margin-top: var(--space-md);
		gap: var(--space-sm);
	}

	.hero__cta-group .btn {
		font-size: 0.95rem;
		padding: 0.8rem 1.5rem;
	}

	.hero__visual {
		max-width: 90%;
		bottom: -10px;
	}

	.hero__clients-label {
		font-size: 0.9rem;
		padding: 0 1rem;
	}

	.client-logos {
		padding: var(--space-sm) 0;
	}

	.client-logos img {
		max-height: 35px;
	}
}

/* ========================================================================== */
/*  Industries Page Styles                                                    */
/* ========================================================================== */

.industries-section {
	min-height: 100vh;
	color: var(--color-body);
	margin-top: 2rem;
}

.industries__container {
	padding: 3rem;
	background-color: var(--color-accent-light);
	border-radius: var(--radius-lg);
	backdrop-filter: blur(10px);
}

.industries__header {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 4rem;
	align-items: start;
	margin-bottom: 4rem;
}

.industries__header-left {
	display: flex;
	flex-direction: column;
}

.industries__header-right {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.industries__title {
	color: #000000;
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 0;
}

.industries__title span {
	opacity: 0.6;
}

.industries__title-main {
	font-weight: 400;
}

.industries__description {
	font-size: 1.125rem;
	line-height: 1.8;
	opacity: 0.95;
	margin: 0;
}

.industries__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
	gap: 2.5rem;
	margin-bottom: 2rem;
}

.industry-card {
	background: #ffffff;
	color: #000000;
	border-radius: var(--radius-lg);
	padding: 2.5rem;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
	display: flex;
	flex-direction: column;
}

.industry-card__icon-wrapper {
	width: 72px;
	height: 72px;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
}

.industry-card__icon {
	color: var(--color-primary);
	width: 48px;
	height: 48px;
	padding: 0.25rem;
}

.industry-card__title {
	font-size: 1.75rem;
	font-weight: 500;
	margin-bottom: 1.5rem;
	color: #000000;
}

.industry-card__content {
	margin-bottom: 2rem;
}

.industry-card__description {
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.75;
	color: #404040;
	margin-bottom: 1rem;
}

.industry-card__description:last-child {
	margin-bottom: 0;
}

.industry-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: auto;
}

.industry-tag {
	display: inline-block;
	padding: 0.5rem 1rem;
	background-color: var(--color-accent-light);
	border: 1px solid #e0e4e9;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 500;
	color: #404040;
	transition: all 0.2s ease;
	color: var(--color-primary);
}

.industry-tag:hover {
	background: #eef3ff;
	border-color: var(--color-primary);
}

/* ===== Responsive Styles ===== */

@media (max-width: 1024px) {
	.industries__container {
		width: min(100% - 4rem, 1220px);
		margin: 2.5rem auto;
		padding: 2.5rem;
	}

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

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

	.industries__title {
		font-size: 2.25rem;
	}

	.industries__description {
		font-size: 1.0625rem;
	}
}

@media (max-width: 768px) {
	.industries-section {
		padding: 2rem 0 2rem;
	}

	.industries__container {
		margin: 2rem auto;
		padding: 2rem;
	}

	.industries__header {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		margin-bottom: 3rem;
	}

	.industries__title {
		font-size: 2rem;
	}

	.industries__description {
		font-size: 1rem;
	}

	.industry-card {
		padding: 2rem;
	}

	.industry-card__title {
		font-size: 1.5rem;
	}

	.industry-card__description {
		font-size: 0.9375rem;
	}
}

@media (max-width: 425px) {
	.industries-section {
		padding: 3rem 0 3rem;
	}

	.industries__container {
		width: min(100% - 2rem, 1220px);
		margin: 1.5rem auto;
		padding: 1.5rem;
	}

	.industries__header {
		grid-template-columns: 1fr;
		gap: 1.25rem;
		margin-bottom: 2.5rem;
	}

	.industries__title {
		font-size: 1.75rem;
	}

	.industries__description {
		font-size: 0.9375rem;
	}

	.industries__grid {
		gap: 1.5rem;
	}

	.industry-card {
		padding: 1.5rem;
	}

	.industry-card__icon-wrapper {
		width: 60px;
		height: 60px;
	}

	.industry-card__icon {
		width: 40px;
		height: 40px;
	}

	.industry-card__title {
		font-size: 1.375rem;
		margin-bottom: 1.25rem;
	}

	.industry-card__content {
		margin-bottom: 1.5rem;
	}

	.industry-card__description {
		font-size: 0.875rem;
		line-height: 1.65;
	}

	.industry-tags {
		gap: 0.5rem;
	}

	.industry-tag {
		padding: 0.4rem 0.75rem;
		font-size: 0.8125rem;
	}
}
