/* ==========================================================================
   XiangYu Container House — main stylesheet
   Design direction: "industrial blueprint" — deep navy + safety red from the
   brand mark, corrugated-container line textures, and corner-bracket card
   accents that echo real shipping-container corner castings. Numbers (specs,
   dimensions) are set in a monospace face like a dimension plate.

   Table of contents:
     1. CSS custom properties
     2. Reset
     3. Base typography
     4. Utility classes
     5. Buttons
     6. Forms
     7. Cards
     8. Header / navigation
     9. Floating action sidebar
    10. Footer
    11. Modal (Get a Quote)
    12. Hero
    13. Responsive
   ========================================================================== */

/* -----------------------------------------------------------------------
   1. CSS custom properties
   ----------------------------------------------------------------------- */
:root {
	/* Brand */
	--brand-primary: #1b3a6b;
	--brand-primary-600: #16305a;
	--brand-primary-700: #102446;
	--brand-primary-100: #e8edf5;
	--brand-primary-50: #f4f6fa;

	--brand-accent: #e53935;
	--brand-accent-600: #c62828;
	--brand-accent-100: #fdeaea;

	--brand-text: #1a1a1a;
	--brand-text-muted: #5c6773;
	--brand-bg: #ffffff;
	--brand-gray: #f5f5f7;
	--brand-gray-dark: #e8e9ed;
	--brand-border: #dee2e8;
	--brand-ink: #0e1f3a;

	--brand-success: #1e8e5a;

	/* Type */
	--font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-mono: 'JetBrains Mono', 'SFMono-Regular', Menlo, Consolas, monospace;

	/* Radii / shadow / motion */
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 18px;
	--radius-pill: 999px;

	--shadow-sm: 0 1px 3px rgba(14, 31, 58, 0.08);
	--shadow-md: 0 8px 24px rgba(14, 31, 58, 0.12);
	--shadow-lg: 0 20px 48px rgba(14, 31, 58, 0.18);

	--ease: cubic-bezier(0.4, 0, 0.2, 1);
	--transition: 0.25s var(--ease);

	/* Layout */
	--container-max: 1280px;
	--container-pad: 24px;
	--header-h: 84px;

	/* Stacking */
	--z-header: 100;
	--z-floating: 90;
	--z-modal: 1000;
}

/* -----------------------------------------------------------------------
   2. Reset
   ----------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--brand-bg);
	color: var(--brand-text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img,
picture,
svg {
	max-width: 100%;
	display: block;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
	background: none;
	border: 0;
	padding: 0;
}

table {
	border-collapse: collapse;
	width: 100%;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
	border: 0;
	padding: 0;
	margin: -1px;
}

.xy-skip-link {
	position: absolute;
	top: -48px;
	left: 12px;
	z-index: 10000;
	background: var(--brand-primary);
	color: #fff;
	padding: 10px 18px;
	border-radius: var(--radius-sm);
	transition: top var(--transition);
}

.xy-skip-link:focus {
	top: 12px;
}

/* -----------------------------------------------------------------------
   3. Base typography
   ----------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--brand-ink);
	margin: 0 0 0.5em;
}

h1 {
	font-size: clamp(2.1rem, 1.6rem + 2vw, 3.4rem);
}

h2 {
	font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.5rem);
}

h3 {
	font-size: 1.3rem;
}

p {
	margin: 0 0 1em;
	color: var(--brand-text-muted);
}

.xy-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--brand-accent);
	margin-bottom: 12px;
}

.xy-eyebrow::before {
	content: '';
	width: 20px;
	height: 2px;
	background: var(--brand-accent);
	display: inline-block;
}

/* -----------------------------------------------------------------------
   4. Utility classes
   ----------------------------------------------------------------------- */
.xy-container {
	width: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--container-pad);
}

.xy-section {
	padding-block: clamp(56px, 5vw + 24px, 112px);
}

.xy-section--tight {
	padding-block: clamp(40px, 3vw + 16px, 72px);
}

.xy-section--muted {
	background: var(--brand-gray);
}

.xy-section--ink {
	background: var(--brand-ink);
	color: #fff;
}

.xy-section--ink p {
	color: rgba(255, 255, 255, 0.72);
}

.xy-section-head {
	max-width: 720px;
	margin-bottom: 48px;
}

.xy-section-head--center {
	margin-inline: auto;
	text-align: center;
}

.xy-page-title {
	margin-bottom: 32px;
}

.xy-page-lede {
	max-width: 60ch;
	font-size: 1.05rem;
}

.xy-grid {
	display: grid;
	gap: 28px;
}

.xy-grid--2 {
	grid-template-columns: repeat(2, 1fr);
}

.xy-grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.xy-grid--4 {
	grid-template-columns: repeat(4, 1fr);
}

.xy-text-center {
	text-align: center;
}

.xy-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: var(--brand-primary);
	font-family: var(--font-heading);
	font-size: 0.95rem;
}

.xy-link-arrow .xy-icon {
	width: 16px;
	height: 16px;
	transition: transform var(--transition);
}

.xy-link-arrow:hover .xy-icon {
	transform: translateX(4px);
}

.xy-icon {
	display: inline-flex;
	width: 20px;
	height: 20px;
	flex: none;
}

.xy-icon svg {
	width: 100%;
	height: 100%;
}

.xy-icon--sm {
	width: 14px;
	height: 14px;
}

/* Corrugated-container texture strip — a nod to the actual shipping
   container wall profile, used as a thin divider between sections. */
.xy-corrugated {
	height: 10px;
	background-image: repeating-linear-gradient(
		90deg,
		var(--brand-primary-100) 0px,
		var(--brand-primary-100) 6px,
		transparent 6px,
		transparent 12px
	);
	opacity: 0.7;
}

/* -----------------------------------------------------------------------
   5. Buttons
   ----------------------------------------------------------------------- */
.xy-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 0.95rem;
	padding: 14px 28px;
	border-radius: var(--radius-sm);
	border: 2px solid transparent;
	transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
	white-space: nowrap;
	/* Notched corner — a small industrial flourish on the primary CTA shape. */
	clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.xy-btn--primary {
	background: var(--brand-accent);
	color: #fff;
}

.xy-btn--primary:hover {
	background: var(--brand-accent-600);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.xy-btn--accent {
	background: #fff;
	color: var(--brand-primary);
}

.xy-btn--accent:hover {
	background: var(--brand-primary-100);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.xy-btn--outline {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.5);
	color: #fff;
}

.xy-btn--outline:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
}

.xy-btn--ghost {
	background: transparent;
	border-color: var(--brand-border);
	color: var(--brand-primary);
	clip-path: none;
	border-radius: var(--radius-pill);
}

.xy-btn--ghost:hover {
	border-color: var(--brand-primary);
	background: var(--brand-primary-50);
}

.xy-btn--sm {
	padding: 10px 18px;
	font-size: 0.85rem;
}

.xy-btn--block {
	width: 100%;
}

/* -----------------------------------------------------------------------
   6. Forms
   ----------------------------------------------------------------------- */
.xy-inquiry-panel {
	max-width: 640px;
	margin-inline: auto;
	background: #fff;
	border: 1px solid var(--brand-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	padding: clamp(24px, 4vw, 40px);
}

.xy-inquiry-form__intro {
	font-size: 0.92rem;
	margin-bottom: 20px;
}

.xy-form-row {
	margin-bottom: 16px;
}

.xy-form-row label {
	display: block;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 0.85rem;
	color: var(--brand-ink);
	margin-bottom: 6px;
}

.xy-required {
	color: var(--brand-accent);
}

.xy-form-row input,
.xy-form-row select,
.xy-form-row textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--brand-border);
	border-radius: var(--radius-sm);
	background: var(--brand-gray);
	transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.xy-form-row input:focus,
.xy-form-row select:focus,
.xy-form-row textarea:focus {
	outline: none;
	border-color: var(--brand-primary);
	background: #fff;
}

.xy-form-row.is-error input,
.xy-form-row.is-error select,
.xy-form-row.is-error textarea {
	border-color: var(--brand-accent);
	background: var(--brand-accent-100);
}

.xy-form-row.is-error input:focus,
.xy-form-row.is-error select:focus,
.xy-form-row.is-error textarea:focus {
	box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15);
}

.xy-form-row__error {
	display: block;
	min-height: 1.2em;
	margin-top: 6px;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--brand-accent-600);
}

.xy-form-row textarea {
	resize: vertical;
	min-height: 96px;
}

.xy-form-row--honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.xy-inquiry-form__status {
	margin-top: 12px;
	font-size: 0.88rem;
	font-weight: 600;
	min-height: 1.2em;
}

.xy-inquiry-form__status.is-success {
	color: var(--brand-success);
}

.xy-inquiry-form__status.is-error {
	color: var(--brand-accent-600);
}

.xy-btn[disabled] {
	opacity: 0.65;
	pointer-events: none;
}

.xy-btn:active {
	transform: scale(0.98);
}

.xy-btn__spinner {
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: xy-spin 0.7s linear infinite;
}

.xy-btn.is-loading .xy-btn__spinner {
	display: inline-block;
}

.xy-btn.is-loading .xy-btn__label {
	opacity: 0.85;
}

@keyframes xy-spin {
	to {
		transform: rotate(360deg);
	}
}

.xy-inquiry-form__recaptcha-note {
	margin: 10px 0 0;
	font-size: 0.75rem;
	color: var(--brand-text-muted);
	text-align: center;
}

.xy-inquiry-form__success {
	text-align: center;
	padding: 24px 8px 8px;
}

.xy-inquiry-form__success-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #e8f7ee;
	color: var(--brand-success);
	margin-bottom: 16px;
}

.xy-inquiry-form__success-icon svg {
	width: 28px;
	height: 28px;
}

.xy-inquiry-form__success h3 {
	margin-bottom: 8px;
}

.xy-inquiry-form__success p {
	margin: 0;
}

/* -----------------------------------------------------------------------
   7. Cards
   ----------------------------------------------------------------------- */
.xy-card {
	position: relative;
	background: #fff;
	border-radius: var(--radius-md);
	border: 1px solid var(--brand-border);
	overflow: hidden;
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.xy-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: transparent;
}

.xy-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--brand-primary-100);
	overflow: hidden;
}

.xy-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--ease);
}

.xy-card:hover .xy-card__media img {
	transform: scale(1.05);
}

.xy-card__media-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--brand-primary-100), var(--brand-gray));
}

.xy-card__body {
	padding: 22px;
}

.xy-card__title {
	font-size: 1.1rem;
	margin-bottom: 8px;
}

.xy-card__title a {
	transition: color var(--transition);
}

.xy-card__title a:hover {
	color: var(--brand-accent);
}

.xy-card__excerpt {
	font-size: 0.92rem;
	margin-bottom: 12px;
}

/* Corner brackets — echoes the corner-casting fittings on a real shipping
   container. Fades in on hover/focus as a small "engineering" flourish. */
.xy-card--bracket::before,
.xy-card--bracket::after {
	content: '';
	position: absolute;
	width: 22px;
	height: 22px;
	border: 2px solid var(--brand-accent);
	opacity: 0;
	transition: opacity var(--transition), transform var(--transition);
	pointer-events: none;
	z-index: 2;
}

.xy-card--bracket::before {
	top: 10px;
	left: 10px;
	border-right: 0;
	border-bottom: 0;
	transform: translate(-6px, -6px);
}

.xy-card--bracket::after {
	bottom: 10px;
	right: 10px;
	border-left: 0;
	border-top: 0;
	transform: translate(6px, 6px);
}

.xy-card--bracket:hover::before,
.xy-card--bracket:hover::after {
	opacity: 1;
	transform: translate(0, 0);
}

.xy-spec-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	background: var(--brand-ink);
	color: #fff;
	padding: 5px 10px;
	border-radius: var(--radius-sm);
}

/* -----------------------------------------------------------------------
   8. Header / navigation
   ----------------------------------------------------------------------- */
.xy-header {
	position: fixed;
	inset-inline: 0;
	top: 0;
	z-index: var(--z-header);
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--brand-border);
	transition: box-shadow var(--transition);
}

.xy-header.is-scrolled {
	box-shadow: var(--shadow-sm);
}

.xy-header-spacer {
	height: var(--header-h);
}

.xy-header__inner {
	display: flex;
	align-items: center;
	gap: 32px;
	height: var(--header-h);
}

.xy-logo {
	display: flex;
	align-items: center;
	flex: none;
	margin-right: auto;
}

.xy-logo img {
	max-height: 52px;
	width: auto;
}

.xy-logo--text {
	gap: 10px;
	color: var(--brand-ink);
}

.xy-logo__mark {
	width: 34px;
	height: 34px;
	color: var(--brand-accent);
}

.xy-logo__word {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
	font-family: var(--font-heading);
}

.xy-logo__word strong {
	font-size: 1.15rem;
	color: var(--brand-ink);
}

.xy-logo__word small {
	font-size: 0.65rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--brand-text-muted);
}

.xy-nav__menu {
	display: flex;
	align-items: center;
	gap: 6px;
}

.xy-nav__menu > .menu-item > a {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 10px 14px;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 0.94rem;
	border-radius: var(--radius-sm);
	transition: color var(--transition), background var(--transition);
}

.xy-nav__menu > .menu-item > a:hover {
	color: var(--brand-accent);
	background: var(--brand-primary-50);
}

.xy-nav__menu > .menu-item-has-children > a::after {
	content: '';
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	margin-left: 2px;
	opacity: 0.6;
	transition: transform var(--transition);
}

.xy-nav__menu .menu-item-has-children:hover > a::after,
.xy-nav__menu .menu-item-has-children.is-open > a::after {
	transform: rotate(225deg);
}

.xy-nav__menu .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	min-width: 260px;
	background: #fff;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--brand-border);
	padding: 10px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.xy-nav__menu .menu-item-has-children {
	position: relative;
}

.xy-nav__menu .menu-item-has-children:hover > .sub-menu,
.xy-nav__menu .menu-item-has-children:focus-within > .sub-menu,
.xy-nav__menu .menu-item-has-children.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.xy-nav__menu .sub-menu .menu-item a {
	display: block;
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	font-size: 0.92rem;
	font-weight: 500;
}

.xy-nav__menu .sub-menu .menu-item a:hover {
	background: var(--brand-primary-50);
	color: var(--brand-accent);
}

.xy-header__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: none;
}

.xy-lang-switch {
	position: relative;
}

.xy-lang-switch__toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 0.86rem;
	padding: 8px 10px;
	border-radius: var(--radius-sm);
	color: var(--brand-ink);
	transition: background var(--transition);
}

.xy-lang-switch__toggle:hover {
	background: var(--brand-primary-50);
}

.xy-lang-switch__menu {
	position: absolute;
	right: 0;
	top: calc(100% + 10px);
	min-width: 180px;
	background: #fff;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--brand-border);
	padding: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.xy-lang-switch:hover .xy-lang-switch__menu,
.xy-lang-switch:focus-within .xy-lang-switch__menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.xy-lang-switch__menu li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 9px 10px;
	border-radius: var(--radius-sm);
	font-size: 0.88rem;
}

.xy-lang-switch__menu li a {
	font-weight: 600;
	color: var(--brand-primary);
}

.xy-lang-switch__menu li.is-disabled {
	color: var(--brand-text-muted);
	cursor: not-allowed;
}

.xy-lang-switch__menu li.is-disabled em {
	font-style: normal;
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	background: var(--brand-gray-dark);
	padding: 2px 6px;
	border-radius: var(--radius-pill);
}

.xy-nav__toggle {
	display: none;
	position: relative;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	color: var(--brand-ink);
}

.xy-nav__toggle-icon {
	position: absolute;
	width: 22px;
	height: 22px;
	transition: opacity var(--transition), transform var(--transition);
}

.xy-nav__toggle-icon--close {
	opacity: 0;
	transform: rotate(-90deg);
}

.xy-nav__toggle[aria-expanded='true'] .xy-nav__toggle-icon--open {
	opacity: 0;
	transform: rotate(90deg);
}

.xy-nav__toggle[aria-expanded='true'] .xy-nav__toggle-icon--close {
	opacity: 1;
	transform: rotate(0);
}

/* -----------------------------------------------------------------------
   9. Floating action sidebar
   ----------------------------------------------------------------------- */
.xy-floating-bar {
	position: fixed;
	right: 22px;
	top: 50%;
	transform: translateY(-50%);
	z-index: var(--z-floating);
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.xy-floating-bar__items {
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: #fff;
	border-radius: var(--radius-lg);
	padding: 10px;
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--brand-border);
}

.xy-fab {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	color: var(--brand-primary);
	background: var(--brand-gray);
	transition: transform var(--transition), background var(--transition), color var(--transition);
}

.xy-fab .xy-fab__icon {
	width: 22px;
	height: 22px;
}

.xy-fab:hover {
	transform: scale(1.08);
}

.xy-fab--whatsapp {
	background: #e9f9f0;
	color: #1ea952;
}

.xy-fab--whatsapp:hover {
	background: #1ea952;
	color: #fff;
}

.xy-fab--quote {
	background: var(--brand-accent-100);
	color: var(--brand-accent);
}

.xy-fab--quote:hover {
	background: var(--brand-accent);
	color: #fff;
}

.xy-fab--social:hover {
	background: var(--brand-primary);
	color: #fff;
}

.xy-fab--top {
	background: var(--brand-ink);
	color: #fff;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--transition), transform var(--transition), visibility var(--transition), background var(--transition);
}

.xy-fab--top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.xy-fab--top:hover {
	background: var(--brand-accent);
}

.xy-fab__tooltip {
	position: absolute;
	right: calc(100% + 12px);
	top: 50%;
	transform: translateY(-50%) translateX(6px);
	background: var(--brand-ink);
	color: #fff;
	font-family: var(--font-heading);
	font-size: 0.78rem;
	font-weight: 600;
	white-space: nowrap;
	padding: 6px 12px;
	border-radius: var(--radius-sm);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
	pointer-events: none;
}

.xy-fab:hover .xy-fab__tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateY(-50%) translateX(0);
}

.xy-fab--toggle {
	display: none;
	width: 54px;
	height: 54px;
	background: var(--brand-accent);
	color: #fff;
	box-shadow: var(--shadow-lg);
	margin-top: 10px;
}

.xy-fab__icon--close {
	position: absolute;
	opacity: 0;
	transform: rotate(-90deg);
}

.xy-fab__icon--plus {
	transition: opacity var(--transition), transform var(--transition);
}

.xy-fab--toggle[aria-expanded='true'] .xy-fab__icon--plus {
	opacity: 0;
	transform: rotate(90deg);
}

.xy-fab--toggle[aria-expanded='true'] .xy-fab__icon--close {
	opacity: 1;
	transform: rotate(0);
}

/* -----------------------------------------------------------------------
   10. Footer
   ----------------------------------------------------------------------- */
.xy-footer {
	background: var(--brand-ink);
	color: rgba(255, 255, 255, 0.78);
	padding-top: 72px;
	background-image: repeating-linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.025) 0px,
		rgba(255, 255, 255, 0.025) 2px,
		transparent 2px,
		transparent 14px
	);
}

.xy-footer p {
	color: rgba(255, 255, 255, 0.72);
}

.xy-footer__grid {
	display: grid;
	grid-template-columns: 1.1fr 1.3fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.xy-footer__heading {
	color: #fff;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 18px;
}

.xy-footer__links li {
	margin-bottom: 10px;
}

.xy-footer__links a {
	transition: color var(--transition), padding-left var(--transition);
}

.xy-footer__links a:hover {
	color: var(--brand-accent);
	padding-left: 4px;
}

.xy-footer__col--brand .xy-logo {
	margin-bottom: 16px;
}

.xy-footer__col--brand .xy-logo__word strong,
.xy-footer__col--brand .xy-logo__word small {
	color: #fff;
}

.xy-footer__tagline {
	font-size: 0.9rem;
	max-width: 32ch;
}

.xy-footer__slogan {
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.05em;
	color: var(--brand-accent);
	text-transform: uppercase;
}

.xy-footer__contact li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	font-size: 0.9rem;
}

.xy-footer__contact .xy-icon {
	color: var(--brand-accent);
	flex: none;
}

.xy-footer__contact a:hover {
	color: #fff;
}

.xy-footer__cta-text {
	font-size: 0.88rem;
	margin-bottom: 16px;
}

.xy-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding-block: 24px;
	font-size: 0.82rem;
}

.xy-footer__copyright {
	margin: 0;
}

.xy-footer__legal-menu {
	display: flex;
	gap: 20px;
}

.xy-footer__legal-menu a:hover {
	color: #fff;
}

/* -----------------------------------------------------------------------
   11. Modal (Get a Quote)
   ----------------------------------------------------------------------- */
.xy-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: var(--z-modal);
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.xy-modal.is-active,
.xy-modal:target {
	display: flex;
}

.xy-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(14, 31, 58, 0.6);
	backdrop-filter: blur(2px);
}

.xy-modal__panel {
	position: relative;
	background: #fff;
	border-radius: var(--radius-lg);
	max-width: 560px;
	width: 100%;
	max-height: min(88vh, 780px);
	overflow-y: auto;
	padding: 40px;
	box-shadow: var(--shadow-lg);
}

.xy-modal__close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--brand-gray);
	color: var(--brand-ink);
	transition: background var(--transition), color var(--transition);
}

.xy-modal__close svg {
	width: 16px;
	height: 16px;
}

.xy-modal__close:hover {
	background: var(--brand-accent);
	color: #fff;
}

.xy-modal__title {
	margin-bottom: 4px;
}

body.xy-modal-open {
	overflow: hidden;
}

/* -----------------------------------------------------------------------
   12. Hero
   ----------------------------------------------------------------------- */
.xy-hero {
	position: relative;
	background: linear-gradient(160deg, var(--brand-ink) 0%, var(--brand-primary) 100%);
	color: #fff;
	overflow: hidden;
}

.xy-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.045) 0px,
		rgba(255, 255, 255, 0.045) 2px,
		transparent 2px,
		transparent 26px
	);
	pointer-events: none;
}

.xy-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	align-items: center;
	gap: 56px;
	padding-block: clamp(64px, 8vw, 120px);
}

.xy-hero__eyebrow {
	color: #ffb199;
}

.xy-hero__eyebrow::before {
	background: #ffb199;
}

.xy-hero h1 {
	color: #fff;
	margin-bottom: 20px;
}

.xy-hero__lede {
	color: rgba(255, 255, 255, 0.78);
	font-size: 1.08rem;
	max-width: 52ch;
	margin-bottom: 32px;
}

.xy-hero__actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 40px;
}

.xy-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 32px;
}

.xy-hero__trust-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 0.86rem;
	color: rgba(255, 255, 255, 0.85);
}

.xy-hero__trust-item .xy-icon {
	color: var(--brand-accent);
}

.xy-hero__media {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	aspect-ratio: 4 / 3;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.xy-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.xy-hero__media-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 100%;
	height: 100%;
	color: rgba(255, 255, 255, 0.5);
	text-align: center;
	padding: 32px;
}

.xy-hero__media-placeholder .xy-icon {
	width: 48px;
	height: 48px;
}

.xy-hero__media-placeholder-text {
	color: inherit;
	margin: 0;
}

.xy-hero__badge {
	position: absolute;
	left: 24px;
	bottom: 24px;
	background: #fff;
	color: var(--brand-ink);
	padding: 12px 16px;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
	font-family: var(--font-mono);
	font-size: 0.78rem;
	display: flex;
	align-items: center;
	gap: 8px;
}

.xy-hero__badge .xy-icon {
	color: var(--brand-success);
}

/* Simple page hero — used on interior pages (products archive, taxonomy,
   contact) that don't need the two-column hero layout. */
.xy-hero--page {
	padding-block: clamp(48px, 6vw, 88px);
}

.xy-hero--page h1 {
	max-width: 20ch;
}

.xy-hero--page .xy-hero__lede {
	max-width: 60ch;
	margin-bottom: 0;
}

/* Advantage strip */
.xy-advantages {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.xy-advantage {
	text-align: center;
	padding: 28px 20px;
}

.xy-advantage .xy-spec-chip {
	margin-bottom: 12px;
}

.xy-advantage__icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--brand-primary-100);
	color: var(--brand-primary);
}

.xy-advantage__icon .xy-icon {
	width: 26px;
	height: 26px;
}

.xy-advantage h3 {
	font-size: 1.02rem;
	margin-bottom: 6px;
}

.xy-advantage p {
	font-size: 0.88rem;
	margin: 0;
}

/* Product line teaser cards */
.xy-product-card__body {
	padding: 24px;
}

.xy-product-card__specs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0;
}

/* CTA banner */
.xy-cta-banner {
	position: relative;
	background: var(--brand-accent);
	border-radius: var(--radius-lg);
	padding: 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
	overflow: hidden;
}

.xy-cta-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(
		45deg,
		rgba(255, 255, 255, 0.08) 0px,
		rgba(255, 255, 255, 0.08) 2px,
		transparent 2px,
		transparent 22px
	);
}

.xy-cta-banner__text {
	position: relative;
	color: #fff;
	max-width: 560px;
}

.xy-cta-banner h2 {
	color: #fff;
	margin-bottom: 10px;
}

.xy-cta-banner p {
	color: rgba(255, 255, 255, 0.88);
	margin: 0;
}

.xy-cta-banner__actions {
	position: relative;
	display: flex;
	gap: 14px;
}

.xy-cta-banner .xy-btn--accent {
	color: var(--brand-accent);
}

/* -----------------------------------------------------------------------
   12b. Product detail page
   ----------------------------------------------------------------------- */
.xy-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 0.85rem;
	color: var(--brand-text-muted);
}

.xy-breadcrumb a {
	color: var(--brand-primary);
	font-weight: 600;
}

.xy-breadcrumb a:hover {
	color: var(--brand-accent);
}

.xy-product-detail {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: start;
}

.xy-product-detail--center {
	align-items: center;
}

.xy-product-detail--reverse .xy-solution__media {
	order: 2;
}

.xy-product-detail--reverse .xy-solution__text {
	order: 1;
}

.xy-product-gallery__main {
	border-radius: var(--radius-lg);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--brand-gray);
	border: 1px solid var(--brand-border);
}

.xy-product-gallery__main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.xy-product-gallery__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.xy-product-gallery__thumb {
	width: 76px;
	height: 76px;
	border-radius: var(--radius-sm);
	overflow: hidden;
	border: 2px solid transparent;
	opacity: 0.7;
	transition: opacity var(--transition), border-color var(--transition);
}

.xy-product-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.xy-product-gallery__thumb:hover {
	opacity: 1;
}

.xy-product-gallery__thumb.is-active {
	opacity: 1;
	border-color: var(--brand-accent);
}

.xy-product-info__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 28px 0 16px;
}

.xy-product-info__note {
	font-size: 0.85rem;
	color: var(--brand-text-muted);
	border-top: 1px solid var(--brand-border);
	padding-top: 16px;
}

.xy-spec-table {
	margin-top: 8px;
}

.xy-spec-table th,
.xy-spec-table td {
	text-align: left;
	padding: 12px 0;
	border-bottom: 1px solid var(--brand-border);
	font-size: 0.92rem;
}

.xy-spec-table th {
	width: 40%;
	color: var(--brand-text-muted);
	font-weight: 600;
	padding-right: 16px;
}

.xy-spec-table td {
	font-family: var(--font-mono);
	color: var(--brand-ink);
}

.xy-rounded-media {
	width: 100%;
	height: auto;
	border-radius: var(--radius-lg);
	display: block;
}

.xy-rounded-media--placeholder {
	aspect-ratio: 4 / 3;
}

.xy-about-statement {
	text-align: center;
}

.xy-about-statement__text {
	font-family: var(--font-mono);
	font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem);
	color: #fff;
	max-width: 20ch;
	margin: 0 auto 14px;
	letter-spacing: 0.01em;
}

.xy-product-description {
	max-width: 70ch;
	margin: 48px auto 0;
}

/* -----------------------------------------------------------------------
   12c. Contact page
   ----------------------------------------------------------------------- */
.xy-contact-layout {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 40px;
	align-items: start;
}

.xy-contact-card {
	background: var(--brand-ink);
	color: rgba(255, 255, 255, 0.85);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
}

.xy-contact-card__photo {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

.xy-contact-card__body {
	padding: 28px;
}

.xy-contact-card__body h2 {
	color: #fff;
	margin-bottom: 4px;
}

.xy-contact-card__body > p {
	color: rgba(255, 255, 255, 0.65);
	margin-bottom: 24px;
}

.xy-contact-card__list {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-bottom: 24px;
}

.xy-contact-card__list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.xy-contact-card__list .xy-icon {
	color: var(--brand-accent);
	margin-top: 2px;
}

.xy-contact-card__list strong {
	display: block;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 2px;
}

.xy-contact-card__list a,
.xy-contact-card__list span {
	color: #fff;
	font-weight: 600;
}

.xy-contact-card__quote {
	font-family: var(--font-mono);
	font-size: 0.82rem;
	color: var(--brand-accent);
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	padding-top: 20px;
	margin: 0;
}

/* -----------------------------------------------------------------------
   12d. 404 page
   ----------------------------------------------------------------------- */
.xy-404 {
	padding-block: clamp(64px, 10vw, 140px);
}

.xy-404__code {
	display: block;
	font-family: var(--font-mono);
	font-weight: 600;
	font-size: clamp(5rem, 6vw + 3rem, 9rem);
	line-height: 1;
	color: var(--brand-primary-100);
	-webkit-text-stroke: 2px var(--brand-accent);
	margin-bottom: 8px;
}

.xy-legal-content {
	max-width: 76ch;
	margin-inline: auto;
}

.xy-legal-content h2 {
	font-size: 1.3rem;
	margin-top: 2.2em;
}

.xy-legal-content ul {
	list-style: disc;
	padding-left: 1.4em;
	margin-bottom: 1em;
}

.xy-legal-content li {
	color: var(--brand-text-muted);
	margin-bottom: 0.5em;
}

.xy-faq__container {
	max-width: 860px;
	margin-inline: auto;
}

.xy-faq-group {
	margin-bottom: 40px;
}

.xy-faq-group__title {
	font-size: 1.05rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--brand-primary);
	margin-bottom: 14px;
}

.xy-faq-item {
	background: #fff;
	border: 1px solid var(--brand-border);
	border-radius: var(--radius-md);
	margin-bottom: 10px;
	overflow: hidden;
}

.xy-faq-item[open] {
	border-color: var(--brand-primary);
}

.xy-faq-item__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px;
	cursor: pointer;
	font-family: var(--font-heading);
	font-weight: 600;
	list-style: none;
}

.xy-faq-item__question::-webkit-details-marker {
	display: none;
}

.xy-faq-item__icon {
	flex: none;
	color: var(--brand-accent);
	transition: transform var(--transition);
}

.xy-faq-item[open] .xy-faq-item__icon {
	transform: rotate(180deg);
}

.xy-faq-item__answer {
	padding: 0 20px 20px;
	animation: xy-faq-reveal 0.25s ease;
}

.xy-faq-item__answer p {
	margin: 0;
}

@keyframes xy-faq-reveal {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.xy-faq__cta {
	margin-top: 24px;
}

.xy-news-empty {
	max-width: 480px;
	margin-inline: auto;
	padding-block: 40px;
}

.xy-news-empty__icon {
	width: 48px;
	height: 48px;
	color: var(--brand-primary-100);
	margin-bottom: 16px;
}

.xy-news-empty h2 {
	margin-bottom: 12px;
}

.xy-news-empty .xy-btn {
	margin-top: 24px;
}

.xy-404__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 28px;
}

/* -----------------------------------------------------------------------
   12e. Lazy image reveal
   ----------------------------------------------------------------------- */
.xy-lazy-img {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.xy-lazy-img.is-revealed {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.xy-lazy-img {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* -----------------------------------------------------------------------
   12f. Cookie consent banner
   ----------------------------------------------------------------------- */
.xy-cookie-banner {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 900;
	background: var(--brand-ink);
	color: rgba(255, 255, 255, 0.85);
	box-shadow: 0 -8px 24px rgba(14, 31, 58, 0.2);
	transform: translateY(0);
	opacity: 1;
	transition: opacity var(--transition), transform var(--transition);
}

.xy-cookie-banner.is-hiding {
	opacity: 0;
	transform: translateY(16px);
	pointer-events: none;
}

.xy-cookie-banner__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 18px;
}

.xy-cookie-banner__inner p {
	margin: 0;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.78);
	max-width: 60ch;
}

.xy-cookie-banner__inner a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.xy-cookie-banner__actions {
	display: flex;
	gap: 10px;
	flex: none;
}

.xy-cookie-banner .xy-btn--ghost {
	border-color: rgba(255, 255, 255, 0.35);
	color: #fff;
}

.xy-cookie-banner .xy-btn--ghost:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

/* -----------------------------------------------------------------------
   13. Responsive
   ----------------------------------------------------------------------- */
@media (max-width: 1080px) {
	.xy-grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.xy-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.xy-advantages {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 960px) {
	.xy-nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		background: #fff;
		padding: 20px var(--container-pad) 32px;
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform var(--transition);
		z-index: var(--z-header);
	}

	.xy-nav.is-open {
		transform: translateX(0);
	}

	.xy-nav__menu {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.xy-nav__menu > .menu-item {
		border-bottom: 1px solid var(--brand-gray-dark);
	}

	.xy-nav__menu > .menu-item > a {
		padding: 16px 4px;
		font-size: 1.05rem;
	}

	.xy-nav__menu .sub-menu {
		position: static;
		box-shadow: none;
		border: 0;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: none;
		padding: 0 0 10px 14px;
		background: transparent;
	}

	.xy-nav__menu .menu-item-has-children.is-open .sub-menu {
		display: block;
	}

	.xy-header__actions {
		gap: 8px;
	}

	.xy-lang-switch {
		display: none;
	}

	.xy-nav__toggle {
		display: flex;
	}

	.xy-hero__inner {
		grid-template-columns: 1fr;
	}

	.xy-hero__media {
		order: -1;
	}

	.xy-product-detail {
		grid-template-columns: 1fr;
	}

	.xy-contact-layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 780px) {
	.xy-grid--3,
	.xy-grid--4 {
		grid-template-columns: 1fr 1fr;
	}

	.xy-footer__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.xy-advantages {
		grid-template-columns: 1fr 1fr;
	}

	.xy-cta-banner {
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
	}
}

@media (max-width: 560px) {
	:root {
		--header-h: 68px;
		--container-pad: 18px;
	}

	.xy-grid--2,
	.xy-grid--3,
	.xy-grid--4 {
		grid-template-columns: 1fr;
	}

	.xy-advantages {
		grid-template-columns: 1fr;
	}

	.xy-btn--sm.js-open-quote-modal {
		display: none;
	}

	.xy-modal__panel {
		padding: 28px 22px;
	}

	/* Floating bar collapses to a single expandable FAB stack, bottom-right. */
	.xy-floating-bar {
		right: 16px;
		top: auto;
		bottom: 16px;
		transform: none;
		align-items: flex-end;
	}

	.xy-floating-bar__items {
		flex-direction: column-reverse;
		position: absolute;
		bottom: calc(100% + 12px);
		right: 0;
		opacity: 0;
		visibility: hidden;
		transform: translateY(12px);
		transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
	}

	.xy-floating-bar.is-expanded .xy-floating-bar__items {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.xy-fab--toggle {
		display: flex;
		order: 2;
	}

	.xy-fab__tooltip {
		display: none;
	}
}
