/* RedX theme. Mobile first; breakpoints 600, 900, 1100 px. */

:root {
	--red: #dd183b;
	--red-dark: #b8102e;
	--ink: #0f172a;
	--text: #334155;
	--muted: #64748b;
	--line: #e2e8f0;
	--tint: #fff4ef;
	--white: #fff;
	--radius: 14px;
	--radius-small: 8px;
	--shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .08);
	--font-head: 'Lexend', system-ui, sans-serif;
	--font-body: 'DM Sans', system-ui, sans-serif;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(56px, 8vw, 104px);
	--header: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
	margin: 0;
	font: 400 17px/1.65 var(--font-body);
	color: var(--text);
	background: var(--white);
	overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 8px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 46em; }
.eyebrow { font: 600 .8rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .12em; color: var(--red); margin-bottom: 1.2em; }
.eyebrow--light { color: #fff; opacity: .9; }
.count { display: inline-grid; place-items: center; min-width: 1.8em; height: 1.8em; padding: 0 .5em; border-radius: 99px; background: var(--tint); color: var(--red); font: 600 .75rem/1 var(--font-body); vertical-align: middle; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: .75em 1.4em; border-radius: 99px; border: 2px solid transparent;
	font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .8); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--tint); color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--small { min-height: 42px; padding: .55em 1.1em; font-size: .95rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header); gap: 24px; }
.site-logo img { width: auto; height: 44px; }
.nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.nav-toggle .icon--close,
.nav-toggle[aria-expanded="true"] .icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }
.site-nav { display: none; }
.site-nav.is-open { display: flex; flex-direction: column; gap: 8px; position: absolute; top: var(--header); left: 0; right: 0; padding: 12px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__list a { display: block; padding: 12px 0; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.site-nav__list .current-menu-item > a { color: var(--red); }
.site-nav .btn { margin-top: 12px; }

@media (min-width: 1000px) {
	.nav-toggle { display: none; }
	.site-nav,
	.site-nav.is-open { display: flex; flex-direction: row; align-items: center; gap: 28px; position: static; padding: 0; box-shadow: none; border: 0; background: none; }
	.site-nav__list { display: flex; gap: 26px; }
	.site-nav__list a { padding: 8px 0; border: 0; font-size: .97rem; }
	.site-nav__list a:hover { color: var(--red); }
	.site-nav .btn { margin: 0; }
}

/* Home hero */
.hero { position: relative; display: grid; align-items: end; min-height: min(86vh, 760px); color: #fff; isolation: isolate; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 23, 42, .85) 0%, rgba(15, 23, 42, .55) 55%, rgba(15, 23, 42, .15) 100%), linear-gradient(0deg, rgba(15, 23, 42, .5), transparent 50%); }
@media (max-width: 699px) {
	.hero__bg { object-position: 35% center; }
	.hero::after { background: linear-gradient(0deg, rgba(15, 23, 42, .92) 0%, rgba(15, 23, 42, .7) 55%, rgba(15, 23, 42, .25) 100%); }
}
.hero__inner { padding-top: 96px; padding-bottom: clamp(56px, 9vw, 120px); }
.hero h1 { color: #fff; max-width: 15em; }
.hero .lead { color: rgba(255, 255, 255, .92); }
.hero__actions, .cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Inner page hero */
.page-hero { position: relative; isolation: isolate; color: #fff; padding: clamp(64px, 10vw, 128px) 0 clamp(48px, 7vw, 88px); background: var(--ink) var(--hero-image, none) center / cover no-repeat; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 23, 42, .9), rgba(15, 23, 42, .55)); }
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero .lead { color: rgba(255, 255, 255, .9); margin: 0; }
.page-hero--plain { background: var(--ink); }
.page-hero--plain::after { display: none; }

/* Sections */
.section { padding: var(--section) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: rgba(255, 255, 255, .82); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__title { text-align: center; margin-bottom: 1.4em; }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 32px; }
.section__head h2 { margin: 0; }

/* USPs */
.usps { position: relative; z-index: 2; margin-top: -48px; }
.usps__grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.usps .usp { background: #fff; box-shadow: var(--shadow); }
.usp { padding: 24px; border-radius: var(--radius); background: var(--tint); }
.usp p { margin: 0; color: var(--muted); font-size: .97rem; }
.usp__title { font-size: 1.08rem; margin: 14px 0 6px; }
.usp__icon, .step__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--red); color: #fff; }
@media (min-width: 600px) { .usps__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .usps__grid { grid-template-columns: repeat(4, 1fr); } }

/* Text + photo */
.split { display: grid; gap: 40px; align-items: center; }
.split__media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.ticks .icon { flex: none; width: 22px; height: 22px; color: var(--red); margin-top: 2px; }

/* Cards */
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform .2s; }
.card:hover { transform: translateY(-4px); color: var(--text); }
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.card__title { font: 600 1.15rem/1.3 var(--font-head); color: var(--ink); margin-bottom: 8px; }
.card__text { font-size: .95rem; color: var(--muted); flex: 1; }
.card__more { display: inline-flex; gap: 6px; align-items: center; margin-top: 16px; color: var(--red); font-weight: 600; font-size: .95rem; }
.card__more .icon { width: 18px; height: 18px; }

/* Steps */
.steps { display: grid; gap: 32px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step h3 { margin: 18px 0 8px; }
.step p { margin: 0; }

/* Photo mosaic and gallery */
.mosaic, .gallery { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .mosaic, .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.mosaic__item { margin: 0; }
.mosaic__item img, .gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-small); }
.gallery__item { display: block; overflow: hidden; border-radius: var(--radius-small); }
.gallery__item img { transition: transform .3s; }
.gallery__item:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: none; max-width: min(1200px, 94vw); max-height: 90vh; overflow: visible; }
.lightbox::backdrop { background: rgba(15, 23, 42, .9); }
.lightbox img { max-height: 90vh; width: auto; border-radius: var(--radius-small); }
.lightbox__close { position: absolute; top: -48px; right: 0; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; }

/* Reviews */
.reviews { display: grid; gap: 20px; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); } }
.review { margin: 0; padding: 28px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.review__stars { display: flex; gap: 2px; color: #f59e0b; margin-bottom: 12px; }
.review__stars .icon { width: 18px; height: 18px; fill: currentColor; }
.review blockquote { margin: 0 0 20px; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.review__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* CTA */
.cta { padding: var(--section) 0; background: var(--red); color: #fff; }
.cta h2 { color: #fff; }
.cta__inner { display: grid; gap: 16px; align-items: center; }
.cta p { margin: 0; max-width: 40em; }
.cta__actions { margin-top: 8px; }
@media (min-width: 900px) { .cta__inner { grid-template-columns: 1.3fr 1fr; } .cta__actions { justify-content: flex-end; margin: 0; } }

/* Catalogue */
.cat-tiles { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin: 0 0 48px; }
@media (min-width: 600px) { .cat-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .cat-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .cat-tiles { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
.cat-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 16px 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.cat-tile:hover { color: var(--ink); border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-tile.is-active { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.cat-tile__media { display: grid; place-items: center; width: 88px; height: 88px; margin-bottom: 8px; border-radius: 50%; background: #f8fafc; overflow: hidden; }
.cat-tile__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transform: scale(1.15); transform-origin: center top; }
.cat-tile--all .cat-tile__media { background: var(--tint); color: var(--red); }
.cat-tile--all .icon { width: 36px; height: 36px; }
.cat-tile__name { font: 600 .95rem/1.3 var(--font-head); }
.cat-tile__count { font-size: .82rem; color: var(--muted); }
.catalogue__group { margin-bottom: 56px; }
.catalogue__group[hidden] { display: none; }
.catalogue__group h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.products { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (min-width: 700px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .products { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.product a { display: flex; flex-direction: column; height: 100%; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.product a:hover { border-color: transparent; box-shadow: var(--shadow); color: var(--text); }
.product__media { display: block; aspect-ratio: 1; border-radius: var(--radius-small); overflow: hidden; background: #f8fafc; margin-bottom: 12px; }
.product__media img { width: 100%; height: 100%; object-fit: contain; }
.product__name { font: 600 .98rem/1.35 var(--font-head); color: var(--ink); margin-bottom: 6px; }
.product__summary { font-size: .85rem; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 10px; }
.product__foot { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px; padding-top: 8px; }
.product__price { font-weight: 700; color: var(--ink); }
.product__price--none { font-weight: 500; color: var(--muted); font-size: .9rem; }
.product__more { display: inline-flex; align-items: center; gap: 4px; font-size: .88rem; font-weight: 600; color: var(--red); }
.product__more .icon { width: 15px; height: 15px; }
@media (max-width: 480px) { .product__summary { display: none; } .product__name { font-size: .9rem; } }
.note { padding: 16px 20px; border-radius: var(--radius-small); background: var(--tint); font-size: .9rem; }
.note p { margin: 0; }

/* Dealers */
.dealers__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .dealers__grid { grid-template-columns: 1.15fr 1fr; } .dealers__map { position: sticky; top: calc(var(--header) + 24px); } }
.eu-map { width: 100%; height: auto; }
.eu-map path { fill: #e8edf3; stroke: #fff; stroke-width: .8; transition: fill .15s; }
.eu-map path.has-dealer { fill: #f6a3b0; cursor: pointer; }
.eu-map path.has-dealer:hover,
.eu-map path.has-dealer:focus-visible,
.eu-map path.is-active { fill: var(--red); outline: none; }
.dealers__legend { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); margin-top: 8px; }
.swatch { width: 14px; height: 14px; border-radius: 3px; background: #f6a3b0; }
.country { border: 1px solid var(--line); border-radius: var(--radius-small); margin-bottom: 10px; background: #fff; }
.country[open] { border-color: var(--ink); }
.country summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; font: 600 1.05rem/1.3 var(--font-head); color: var(--ink); }
.country summary::-webkit-details-marker { display: none; }
.country summary::after { content: "+"; font: 400 1.5rem/1 var(--font-body); color: var(--red); margin-left: auto; }
.country[open] summary::after { content: "−"; }
.country__body { padding: 0 18px 8px; }
.dealer { padding: 16px 0; border-top: 1px solid var(--line); }
.dealer h3 { font-size: 1rem; margin-bottom: 4px; }
.dealer__person { color: var(--muted); font-size: .93rem; margin-bottom: 8px; }
.dealers__none { margin-top: 32px; padding: 28px; border-radius: var(--radius); background: var(--tint); }
.dealers__none h2 { font-size: 1.35rem; }

/* Contact lists */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .95rem; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.contact-list .icon { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--red); }
.contact-list a { color: inherit; }
.contact-list a:hover { color: var(--red); }
.contact-list--big { font-size: 1.1rem; margin: 24px 0 32px; }

/* About */
.facts { display: grid; gap: 24px; text-align: center; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { display: grid; gap: 4px; }
.fact__number { font: 700 clamp(2.4rem, 5vw, 3.4rem)/1 var(--font-head); color: #fff; }
.locations { display: grid; gap: 24px; }
@media (min-width: 700px) { .locations { grid-template-columns: 1fr 1fr; } }
.locations--stack { grid-template-columns: 1fr; }
@media (min-width: 600px) { .locations--stack { grid-template-columns: 1fr 1fr; } }
.location { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); }
.location h2 { font-size: 1.15rem; }
.location p { margin: 0; }

/* Forms */
.form-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .form-layout { grid-template-columns: 1fr 1.25fr; gap: 64px; } }
.redx-form-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 36px); }
.redx-form { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .redx-form { grid-template-columns: 1fr 1fr; } .redx-field--wide, .redx-form-note, .redx-form button { grid-column: 1 / -1; } }
.redx-field { display: grid; gap: 6px; }
.redx-field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.redx-field .req { color: var(--red); }
.redx-field input,
.redx-field select,
.redx-field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #cbd5e1; border-radius: var(--radius-small); font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.redx-field textarea { resize: vertical; }
.redx-field input:focus,
.redx-field select:focus,
.redx-field textarea:focus { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 0; }
.redx-field small { color: var(--muted); font-size: .85rem; }
.redx-field.has-error input,
.redx-field.has-error select,
.redx-field.has-error textarea { border-color: var(--red); }
.redx-field .redx-field-error { color: var(--red); font-weight: 600; }
.redx-form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.redx-form button { justify-self: start; }
.redx-form-done, .redx-form-error { padding: 14px 18px; border-radius: var(--radius-small); margin-bottom: 20px; }
.redx-form-done { background: #ecfdf5; color: #065f46; }
.redx-form-error { background: #fef2f2; color: #991b1b; }
.redx-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Prose (privacy policy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }

.empty, .notice-inline { padding: 24px; border-radius: var(--radius); background: var(--tint); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 64px 0 0; font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer__brand img { width: 120px; height: auto; background: #fff; padding: 8px 12px; border-radius: 10px; margin-bottom: 16px; }
.site-footer__title { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 14px; }
.site-footer .contact-list .icon { color: #fff; opacity: .7; }
.site-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; }
.site-footer__bottom p { margin: 0; }
