/* ===========================================================
   Page — Service / Architects-Designers / generic landing
   Responsive, RTL, scoped under .archi
   =========================================================== */

:root {
	--nzm-archi-font: "Ploni DL 1.1 AAA", "Heebo", "Assistant", system-ui, sans-serif;
	--nzm-archi-black: #0b0b0b;
	--nzm-archi-ink: #1a1a1a;
	--nzm-archi-mute: #4a4a4a;
	--nzm-archi-soft: #f3f4f5;
	--nzm-archi-field: #f6f6f6;
	--nzm-archi-placeholder: #858585;
	--nzm-archi-container: 1600px;
	--nzm-archi-container-pad: clamp(16px, 5vw, 100px);
	--nzm-archi-radius: 10px;
}

.archi,
.archi *,
.archi *::before,
.archi *::after {
	box-sizing: border-box;
}

.archi {
	width: 100%;
	overflow-x: clip;
	font-family: var(--nzm-archi-font);
	color: var(--nzm-archi-ink);
	direction: rtl;
	text-align: right;
}

.archi :where(img) {
	max-width: 100%;
	height: auto;
	display: block;
}

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

/* ===========================================================
   HERO — 100vh, transparent header overlay
   =========================================================== */
.archi-hero {
	position: relative;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	min-height: 600px;
	max-height: 100vh;
	max-height: 100dvh;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 var(--nzm-archi-container-pad);
}

.archi-hero .archi-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
	display: block;
}

.archi-hero::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 357px;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, #000 100%);
	z-index: 1;
	pointer-events: none;
}

.archi-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	z-index: 1;
	pointer-events: none;
}

.archi-hero__breadcrumb {
	position: absolute;
	/* Push breadcrumb below the site header (~106px desktop / ~70-80px mobile)
	   so it doesn't overlap when rendered inside the WP PHP template. */
	top: clamp(90px, 11vw, 185px);
	left: var(--nzm-archi-container-pad);
	right: var(--nzm-archi-container-pad);
	z-index: 3;
	display: flex;
	justify-content: flex-start;
	color: #fff;
	font-size: 17px;
	font-weight: 400;
}

.archi-hero__breadcrumb a,
.archi-hero__breadcrumb span {
	color: #fff;
}

.archi-hero__breadcrumb-inner {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.archi-hero__breadcrumb-current {
	font-weight: 500;
}

.archi-hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: #fff;
	max-width: 1600px;
	width: 100%;
}

.archi-hero__title {
	margin: 0 0 clamp(20px, 3vw, 40px);
	color: #fff;
	font-size: clamp(40px, 6vw, 80px);
	font-weight: 300;
	line-height: 0.95;
	text-align: center;
	text-shadow: 0 4px 40px rgba(0, 0, 0, 0.9);
}

.archi-hero__subtitle {
	margin: 0;
	color: #fff;
	font-size: clamp(18px, 2.2vw, 32px);
	font-weight: 300;
	line-height: 1.18;
	text-align: center;
	text-shadow: 0 4px 40px rgba(0, 0, 0, 0.9);
	max-width: 864px;
}

.archi-hero__subtitle span {
	display: block;
}

/* Animated scroll-down line */
.archi-hero .scroll-down-line {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 1px;
	height: 80px;
	background-color: rgba(255, 255, 255, 0.1);
	overflow: hidden;
	z-index: 4;
	pointer-events: none;
}

.archi-hero .scroll-down-line::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #fff;
	animation: nzm-scroll-line 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes nzm-scroll-line {
	0%   { transform: translateY(-100%); }
	50%  { transform: translateY(0); }
	100% { transform: translateY(100%); }
}

/* ===========================================================
   CLUB / Intro + 3 cards
   =========================================================== */
.archi-club {
	width: 100%;
	max-width: var(--nzm-archi-container);
	margin: 0 auto;
	padding: clamp(40px, 6vw, 80px) var(--nzm-archi-container-pad);
}

.archi-club__title {
	margin: 0 0 clamp(24px, 4vw, 56px);
	color: var(--nzm-archi-black);
	font-size: clamp(36px, 5vw, 56px);
	font-weight: 400;
	line-height: 1.07;
	text-align: center;
}

.archi-club__intro {
	margin: 0 auto clamp(32px, 4vw, 56px);
	max-width: 1206px;
	color: var(--nzm-archi-black);
	font-size: clamp(16px, 1.5vw, 21px);
	font-weight: 400;
	line-height: 1.43;
	text-align: center;
}

.archi-club__subtitle {
	margin: 0 0 clamp(24px, 3vw, 40px);
	color: var(--nzm-archi-black);
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 500;
	line-height: 1.18;
	text-align: center;
}

.archi-club__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 2vw, 24px);
}

.archi-card {
	position: relative;
	width: 100%;
	aspect-ratio: 520 / 633;
	overflow: hidden;
	border-radius: var(--nzm-archi-radius);
	display: block;
}

.archi-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	transition: transform 0.6s ease;
}

.archi-card:hover .archi-card__img {
	transform: scale(1.04);
}

.archi-card::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 68%;
	background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0) 100%);
	z-index: 1;
	pointer-events: none;
}

.archi-card__body {
	position: absolute;
	inset: auto 0 0 0;
	z-index: 2;
	padding: clamp(20px, 2.4vw, 32px);
	text-align: center;
	color: #fff;
}

.archi-card__title {
	margin: 0 0 12px;
	color: #fff;
	font-size: clamp(22px, 2.6vw, 36px);
	font-weight: 400;
	line-height: 1.17;
	text-align: center;
}

.archi-card__text {
	margin: 0;
	color: var(--nzm-archi-soft);
	font-size: clamp(15px, 1.4vw, 21px);
	font-weight: 400;
	line-height: 1.43;
	text-align: center;
}

/* ===========================================================
   JOIN FORM (CTA)
   =========================================================== */
.archi-form {
	width: 100%;
	max-width: 1206px;
	margin: 0 auto;
	padding: clamp(40px, 6vw, 80px) var(--nzm-archi-container-pad);
}

.archi-form__title {
	margin: 0 0 clamp(20px, 3vw, 40px);
	color: var(--nzm-archi-black);
	font-size: clamp(32px, 5vw, 56px);
	font-weight: 400;
	line-height: 1.07;
	text-align: center;
}

.archi-form__subtitle {
	margin: 0 0 clamp(24px, 3vw, 40px);
	color: var(--nzm-archi-black);
	font-size: clamp(17px, 1.8vw, 22px);
	font-weight: 500;
	line-height: 1;
	text-align: center;
}

.archi-form__form {
	display: flex;
	flex-direction: column;
	gap: clamp(12px, 1.4vw, 18px);
}

.archi-form__row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(12px, 1.4vw, 18px);
}

.archi-form__row--double-last :nth-child(2) {
	grid-column: span 2;
}

.archi-form__field {
	display: block;
	width: 100%;
}

.archi-form__input,
.archi-form__textarea {
	width: 100%;
	height: 50px;
	padding: 0 16px;
	background: var(--nzm-archi-field);
	border: 1px solid transparent;
	border-radius: 4px;
	color: var(--nzm-archi-ink);
	font-family: inherit;
	font-size: clamp(16px, 1.4vw, 20px);
	font-weight: 400;
	line-height: 1.3;
	text-align: right;
	direction: rtl;
	transition: border-color 0.2s ease;
}

.archi-form__textarea {
	height: auto;
	min-height: 50px;
	padding: 12px 16px;
	resize: vertical;
	line-height: 1.3;
}

.archi-form__input:focus,
.archi-form__textarea:focus {
	outline: none;
	border-color: #000;
}

.archi-form__input::placeholder,
.archi-form__textarea::placeholder {
	color: var(--nzm-archi-placeholder);
	opacity: 1;
}

.archi-form__notice {
	margin: 0 0 clamp(16px, 2vw, 24px);
	padding: 12px 18px;
	border-radius: 6px;
	background: #ecfdf5;
	border: 1px solid #10b981;
	color: #065f46;
	font-size: 17px;
	font-weight: 500;
	text-align: center;
}

.archi-form__notice--error {
	background: #fef2f2;
	border-color: #ef4444;
	color: #991b1b;
}

.archi-form__actions {
	display: flex;
	justify-content: center;
	margin-top: clamp(20px, 3vw, 36px);
}

.archi-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 150px;
	height: 56px;
	padding: 0 22px;
	background: #000;
	color: #fff;
	border: 1px solid #fff;
	border-radius: 60px;
	font-family: inherit;
	font-size: 20px;
	font-weight: 500;
	line-height: 22px;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.archi-form__submit:hover {
	background: #fff;
	color: #000;
	border-color: #000;
}

.archi-form__submit svg {
	flex-shrink: 0;
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 1024px) {
	.archi-club__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.archi-club__grid > :last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

@media (max-width: 768px) {
	.archi-hero {
		min-height: 480px;
	}

	.archi-club__grid {
		grid-template-columns: 1fr;
	}

	.archi-club__grid > :last-child:nth-child(odd) {
		grid-column: auto;
	}

	.archi-card {
		aspect-ratio: 4 / 5;
		max-width: 420px;
		margin-inline: auto;
	}

	.archi-form__row,
	.archi-form__row--double-last {
		grid-template-columns: 1fr;
	}

	.archi-form__row--double-last :nth-child(2) {
		grid-column: auto;
	}
}

@media (max-width: 640px) {
	.archi-hero .scroll-down-line {
		height: 60px;
	}
}
