/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
	/* Colors */
	--color-nyab: #075e6f;
	--color-azvi: #205492;
	--color-white: #ffffff;
	--color-black: #000000;

	/* Typography */
	--font-family: Arial, Helvetica, sans-serif;
	--font-weight-regular: 400;
	--font-weight-bold: 700;

	/* Font sizes (1rem = 10px) */
	--font-size-xs: 1.4rem;
	--font-size-s: 1.6rem;
	--font-size-m: 2rem;
	--font-size-l: 2rem;
	--font-size-xl: 3.6rem;
	--font-size-xxl: 4.2rem;
	--font-size-hero: 6.2rem;

	/* Line heights */
	--line-height-text: 2.3rem;
	--line-height-text-l: 2.8rem;
	--line-height-text-xl: 4.5rem;

	/* Spacing scale */
	--space-3xs: 0.8rem;
	--space-2xs: 1.2rem;
	--space-xs: 1.6rem;
	--space-s: 2.4rem;
	--space-m: 3.2rem;
	--space-l: 4rem;
	--space-xl: 4.8rem;
	--space-2xl: 5.6rem;
	--space-3xl: 7.2rem;
	--space-4xl: 8.8rem;

	/* Layout */
	--container-max: 144rem;
	--container-padding: 8.8rem;
	--content-max: 126.4rem;

	/* Radius */
	--radius-pill: 5.3rem;
}

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

html {
	font-size: 62.5%; /* 1rem = 10px */
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-family);
	font-size: var(--font-size-s);
	line-height: var(--line-height-text);
	color: var(--color-black);
	background-color: var(--color-white);
	overflow-x: hidden;
}

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

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

/* Hide elements during animation prep */
[data-animate] {
	opacity: 0;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 10;
	padding-top: 1rem;
	padding-bottom: 1rem;
	background-color: var(--color-nyab);
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 var(--container-padding);
	max-width: var(--container-max);
	margin: 0 auto;
}

.header__logo img {
	width: 27.3rem;
	height: 7.4rem;
	object-fit: contain;
}

.header__lang {
	display: flex;
	align-items: center;
	gap: var(--space-3xs);
	color: var(--color-white);
}

.header__lang-icon {
	width: 2.1rem;
	height: 2.2rem;
}

.header__lang-options {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: var(--font-size-s);
}

.header__lang-link {
	font-weight: var(--font-weight-regular);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 3px;
	transition: text-decoration-color 0.2s ease;
}

.header__lang-link:hover {
	text-decoration-color: currentColor;
}

.header__lang-link.is-active {
	font-weight: var(--font-weight-bold);
	text-decoration-color: currentColor;
}

.header__lang-sep {
	font-weight: var(--font-weight-bold);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative;
}

.hero__top {
	background-color: var(--color-nyab);
	height: 35.7rem;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 9.9rem;
}

.hero__title {
	color: var(--color-white);
	font-size: var(--font-size-hero);
	font-weight: var(--font-weight-regular);
	line-height: 1.15;
	text-align: center;
}

.hero__image {
	height: 36.1rem;
	overflow: hidden;
}

.hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 100%;
}

.hero__caption {
	font-size: var(--font-size-xs);
	color: var(--color-black);
	padding: 0.9rem var(--container-padding) 0;
	max-width: var(--container-max);
	margin: 0 auto;
}

/* ==========================================================================
   Intro / Mission (centered text blocks)
   ========================================================================== */
.intro,
.mission {
	max-width: 62.2rem;
	margin: 0 auto;
	padding: 0 var(--space-s);
	text-align: center;
}

.intro {
	padding-top: 9.8rem;
	padding-bottom: 7.3rem;
}

.mission {
	padding-top: 12.1rem;
	padding-bottom: 5.5rem;
}

.intro__title,
.mission__title {
	font-size: var(--font-size-xxl);
	font-weight: var(--font-weight-bold);
	margin-bottom: var(--space-m);
}

.intro__text {
	font-size: var(--font-size-l);
	line-height: 2.7rem;
}

.mission__text {
	font-size: var(--font-size-m);
	line-height: var(--line-height-text-l);
}

/* ==========================================================================
   Companies (NYAB + Azvi cards)
   ========================================================================== */
.companies {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--container-padding);
}

.company {
	height: 40.1rem;
	padding: var(--space-xl) var(--space-2xl);
	color: var(--color-white);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.company--nyab {
	background-color: var(--color-nyab);
}

.company--azvi {
	background-color: var(--color-azvi);
}

.company__logo {
	object-fit: contain;
	object-position: left center;
}

.company__logo--nyab {
	width: 22.7rem;
	height: 4.5rem;
}

.company__logo--azvi {
	width: 16.5rem;
	height: 5rem;
	filter: brightness(0) invert(1);
}

.company__body {
	display: flex;
	flex-direction: column;
	gap: var(--space-s);
}

.company__text {
	font-size: var(--font-size-s);
	line-height: var(--line-height-text);
}

.company__link {
	text-decoration: underline;
	font-size: var(--font-size-s);
	transition: opacity 0.2s ease;
	text-underline-offset: 3px;
	width: fit-content;
}

/* ==========================================================================
   Values (three columns with icons)
   ========================================================================== */
.values {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-xl);
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0rem var(--container-padding) 15rem;
}

.values__item {
	display: flex;
	flex-direction: column;
	gap: var(--space-m);
}
@media screen and (min-width: 1026px) {
	.values-item {
		max-width: 37rem;
	}
}
.values__icon {
	width: auto;
	height: 4rem;
	max-width: 5.1rem;
	object-fit: contain;
	object-position: left;
}

.values__text {
	font-size: var(--font-size-s);
	line-height: var(--line-height-text);
}

/* ==========================================================================
   Gallery (three image cards)
   ========================================================================== */
.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--container-padding);
}

.gallery__item {
	display: flex;
	flex-direction: column;
	gap: var(--space-2xs);
}

.gallery__item img {
	width: 100%;
	height: 43.8rem;
	object-fit: cover;
}

.gallery__item figcaption {
	font-size: var(--font-size-xs);
	color: var(--color-black);
}

/* ==========================================================================
   CTA (HandyDay)
   ========================================================================== */
.cta {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 7.4rem var(--container-padding) 7.9rem;
}

.cta__inner {
	background-color: var(--color-nyab);
	padding: var(--space-3xl) var(--container-padding);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-l);
}

.cta__text {
	font-size: 3.6rem;
	line-height: var(--line-height-text-xl);
	font-weight: var(--font-weight-bold);
	color: var(--color-white);
	max-width: 58.5rem;
}

.cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-white);
	color: var(--color-nyab);
	font-size: var(--font-size-m);
	font-weight: var(--font-weight-bold);
	padding: var(--space-xs) var(--space-s);
	border-radius: var(--radius-pill);
	transition: text-decoration-color 0.2s ease;
	white-space: nowrap;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 3px;
}

.cta__button:hover {
	text-decoration-color: var(--color-nyab);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 0 4.4rem;
}

.footer__line {
	height: 1px;
	background-color: rgba(0, 0, 0, 0.15);
	margin: 0 0 var(--space-l);
}

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

.footer__logo img {
	width: 28.5rem;
	height: 5.2rem;
	object-fit: contain;
}

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

.footer__link {
	font-size: var(--font-size-s);
	font-weight: var(--font-weight-bold);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 3px;
	transition: text-decoration-color 0.2s ease;
}

.footer__link:hover {
	text-decoration-color: currentColor;
}

.footer__link--social {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2xs);
}

.footer__link--social img {
	width: 2.3rem;
	height: 2.3rem;
}

.footer__link--email {
	color: var(--color-nyab);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	:root {
		--container-padding: 4rem;
	}

	.hero__title {
		font-size: 4.4rem;
	}

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

	.company {
		height: auto;
		min-height: 36rem;
	}

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

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

	.gallery__item img {
		height: auto;
		max-height: 50rem;
	}
	.cta {
		margin-top: 1rem;
	}
	.cta__inner {
		flex-direction: column;
		align-items: flex-start;
		padding: var(--space-xl);
	}

	.cta__text {
		font-size: 2.6rem;
		line-height: 3.4rem;
	}

	.footer__inner {
		flex-direction: column;
		gap: var(--space-m);
		align-items: flex-start;
	}

	.footer__nav {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--space-s);
	}
}

@media (max-width: 600px) {
	:root {
		--container-padding: 2rem;
	}

	.header__logo img {
		width: 19.1rem;
		height: 5.2rem;
	}

	.footer__logo img {
		width: 20rem;
		height: 3.6rem;
	}

	.company__logo--nyab {
		width: 15.9rem;
		height: 3.2rem;
	}

	.company__logo--azvi {
		width: 11.6rem;
		height: 3.5rem;
	}

	.hero__top {
		height: 24rem;
		padding-top: 9rem;
	}

	.hero__title {
		font-size: 3.2rem;
	}

	.hero__image {
		height: 22rem;
	}

	.intro,
	.mission {
		padding-top: 6rem;
		text-align: left;
	}

	.mission {
		margin-top: 5rem;
	}

	.intro__title,
	.mission__title {
		font-size: 3rem;
	}

	.intro__text,
	.mission__text {
		font-size: 1.8rem;
		line-height: 2.6rem;
	}

	.cta__inner {
		padding: 3.4rem 3.9rem;
	}

	.company {
		padding: 3.4rem 3.9rem;
		justify-content: flex-start;
		gap: 2rem;
	}
}
