/* B2B page — /b2b/ + /en/b2b/.
 * Hero strip + standalone form. Visual language matches contact form
 * (light borders, big title, hover-tinted submit) but lives in a single
 * centered column instead of contact's sticky-rail two-pane layout.
 */

.gn-b2b {
	background: var(--bg, #000);
	color: var(--text, #fff);
}

/* ── HERO ─────────────────────────────────────────────────── */
.gn-b2b-hero {
	padding: clamp(140px, 18vh, 200px) var(--page) clamp(48px, 8vh, 80px);
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.gn-b2b-hero-inner {
	max-width: 880px;
	margin: 0 auto;
}
.gn-b2b-overline {
	display: block;
	font-family: var(--font-body);
	font-size: 11px; font-weight: 500;
	text-transform: uppercase; letter-spacing: 0.25em;
	color: rgba(255,255,255,0.5);
	margin-bottom: 24px;
}
.gn-b2b-title {
	font-family: var(--font-display);
	font-size: clamp(40px, 6.5vw, 96px);
	font-weight: 700; line-height: 0.95; letter-spacing: -0.005em;
	color: #fff;
	margin: 0 0 28px;
}
.gn-b2b-title .mask-line { display: block; }
.gn-b2b-title .sub-text .mask-line-inner { color: rgba(255,255,255,0.32); }
.gn-b2b-intro {
	font-family: var(--font-body); font-weight: 300;
	font-size: clamp(16px, 1.4vw, 20px);
	line-height: 1.6;
	color: rgba(255,255,255,0.7);
	max-width: 640px;
	margin: 0;
}

/* ── FORM ─────────────────────────────────────────────────── */
.gn-b2b-form-section {
	padding: clamp(56px, 8vh, 96px) var(--page) clamp(96px, 14vh, 160px);
	max-width: 880px;
	margin: 0 auto;
}
.gn-b2b-form {
	display: flex; flex-direction: column;
	gap: 32px;
}

/* Honeypot — visually hidden but technically rendered + reachable for bots. */
.gn-b2b-honeypot {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.gn-b2b-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}
.gn-b2b-field { display: flex; flex-direction: column; gap: 10px; }
.gn-b2b-field--full { grid-column: 1 / -1; }

.gn-b2b-label {
	font-family: var(--font-body);
	font-size: 11px; font-weight: 500;
	letter-spacing: 0.18em; text-transform: uppercase;
	color: rgba(255,255,255,0.5);
}

.gn-b2b-form input[type="text"],
.gn-b2b-form input[type="email"],
.gn-b2b-form input[type="tel"],
.gn-b2b-form select,
.gn-b2b-form textarea {
	width: 100%;
	background: transparent;
	border: 0;
	border-bottom: 1px solid rgba(255,255,255,0.18);
	padding: 12px 0;
	color: #fff;
	font-family: var(--font-body);
	font-size: 15px;
	transition: border-color 0.3s ease;
}
.gn-b2b-form input::placeholder,
.gn-b2b-form textarea::placeholder { color: rgba(255,255,255,0.3); }
.gn-b2b-form input:focus,
.gn-b2b-form select:focus,
.gn-b2b-form textarea:focus {
	outline: none;
	border-bottom-color: #fff;
}
.gn-b2b-form select {
	appearance: none; -webkit-appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.6) 50%),
	                  linear-gradient(135deg, rgba(255,255,255,0.6) 50%, transparent 50%);
	background-position: calc(100% - 14px) calc(50% - 2px), calc(100% - 8px) calc(50% - 2px);
	background-size: 6px 6px;
	background-repeat: no-repeat;
	padding-right: 28px;
}
.gn-b2b-form select option { background: #0a0a0a; color: #fff; }
.gn-b2b-form textarea {
	resize: vertical;
	min-height: 140px;
	line-height: 1.55;
}

/* Invalid state — only after the user actually interacts (focus+blur or
 * submit attempt). The earlier `:invalid:not(:placeholder-shown)` pattern
 * relied on a placeholder attribute being present; without one, every empty
 * required field paints red on first load. `:user-invalid` avoids that
 * entirely — it stays inert until the field has been touched. */
.gn-b2b-form input:user-invalid,
.gn-b2b-form textarea:user-invalid {
	border-bottom-color: rgba(255,120,120,0.6);
}

/* Consent */
.gn-b2b-consent {
	display: flex; align-items: flex-start; gap: 12px;
	font-family: var(--font-body); font-size: 13px; line-height: 1.5;
	color: rgba(255,255,255,0.6);
	cursor: pointer;
}
.gn-b2b-consent input[type="checkbox"] {
	margin-top: 2px;
	accent-color: #fff;
	flex-shrink: 0;
}
.gn-b2b-consent a {
	color: rgba(255,255,255,0.85);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.gn-b2b-consent a:hover { color: #fff; }

/* Foot — submit + status */
.gn-b2b-foot {
	display: flex; align-items: center;
	flex-wrap: wrap; gap: 24px;
	padding-top: 8px;
}
.gn-b2b-submit {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 16px 40px;
	background: #fff; color: #000;
	font-family: var(--font-body);
	font-size: 11px; font-weight: 600;
	letter-spacing: 0.22em; text-transform: uppercase;
	border: 1px solid #fff;
	cursor: pointer;
	transition: background 0.4s ease, color 0.4s ease, letter-spacing 0.4s ease;
	-webkit-tap-highlight-color: transparent;
}
.gn-b2b-submit:hover:not(:disabled) {
	background: transparent; color: #fff;
	letter-spacing: 0.28em;
}
.gn-b2b-submit:disabled { opacity: 0.5; cursor: progress; }
.gn-b2b-submit-arrow { transition: transform 0.3s ease; }
.gn-b2b-submit:hover:not(:disabled) .gn-b2b-submit-arrow { transform: translateX(4px); }

.gn-b2b-status {
	margin: 0;
	font-size: 13px; line-height: 1.4;
	color: rgba(255,255,255,0.6);
	min-height: 1em;
}
.gn-b2b-status.is-error { color: rgba(255,140,140,0.85); }

/* Success */
.gn-b2b-success {
	margin-top: 32px;
	padding: 32px 28px;
	border: 1px solid rgba(255,255,255,0.15);
	background: rgba(255,255,255,0.02);
}
.gn-b2b-success p {
	margin: 0;
	font-family: var(--font-body); font-size: 16px; line-height: 1.5;
	color: rgba(255,255,255,0.92);
}

/* Responsive */
@media (max-width: 767px) {
	.gn-b2b-hero { padding: 96px var(--page) 48px; }
	.gn-b2b-overline { margin-bottom: 18px; font-size: 10px; }
	.gn-b2b-title { font-size: clamp(34px, 11vw, 56px); margin-bottom: 20px; }
	.gn-b2b-intro { font-size: 14px; }
	.gn-b2b-form-section { padding: 48px var(--page) 80px; }
	.gn-b2b-grid { grid-template-columns: 1fr; gap: 22px; }
	.gn-b2b-submit { padding: 14px 32px; font-size: 10px; }
	.gn-b2b-foot { gap: 16px; }
	.gn-b2b-form input,
	.gn-b2b-form select,
	.gn-b2b-form textarea { font-size: 16px; /* prevents iOS zoom on focus */ }
}
