/* =========================================================
   FIRST3D — Multi-page Corporate Site Styles
   Brand:    Red #ED1C24 | Dark bg #0d0f14 | Surface #161a24
   Theme:    Dark industrial — matching Verifeye/Clarifeye
   Font:     Outfit (sans) + Space Grotesk (display)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;900&family=Space+Grotesk:wght@400;600;700&display=swap');

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

:root {
  --red: #ED1C24;
  --red-light: #ED1C24;
  --red-glow: rgba(188, 21, 2, 0.549);
  --red-tint: rgba(237, 28, 36, 0.12);
  --bg: #0d0f14;
  --surface: #161a24;
  --surface-2: #1e2433;
  --border: rgba(255, 255, 255, 0.07);
  --grey: #bbb5b5;
  --white: #f0f0f4;
  --card-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  --card-shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.5);
  --font: 'Outfit', sans-serif;
  --display: 'Space Grotesk', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  min-width: 320px;
}

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

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

/* ── Utility ──────────────────────────────────────────── */
.accent {
  color: var(--red-light);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: none;
}

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 20px var(--red-glow);
}

.btn--primary:hover {
  background: #d5141c;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--red-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
  border-color: var(--red-light);
  color: var(--red-light);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--red-light);
  border: 1.5px solid var(--red-light);
}

.btn--outline:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--red-glow);
}

/* ── SVG Icons ────────────────────────────────────────── */
.icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  flex-shrink: 0;
  object-fit: contain;
}

/* ── Top contact bar ──────────────────────────────────── */
.top-bar {
  background: #000;
  padding: 0.4rem 0;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--border);
}

.top-bar__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: flex-end;
}

.top-bar__label {
  color: var(--grey);
  font-weight: 600;
  margin-right: 0.5rem;
}

.top-bar__link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--grey);
  transition: color 0.2s;
}

.top-bar__link:hover {
  color: var(--red-light);
}

/* ── Site header / nav ────────────────────────────────── */
.site-header {
  background: rgba(13, 15, 20, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.9rem 0;
}

.site-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand__logo {
  height: 48px;
  width: auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--display);
  font-size: 1.8rem;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.brand__name em {
  font-style: normal;
  color: var(--red-light);
}

.brand__tagline {
  font-size: 0.72rem;
  color: var(--grey);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav__link {
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey);
  transition: color 0.2s, background 0.2s;
}

.site-nav__link:hover,
.site-nav__link--active {
  color: var(--white);
  background: var(--surface-2);
}

.site-nav__link--cta {
  background: var(--red);
  color: #fff !important;
  padding: 0.45rem 1.1rem;
  margin-left: 0.5rem;
}

.site-nav__link--cta:hover {
  background: #d5141c;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 110;
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
}

.nav-toggle .nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open  { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* ── Back to top ──────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--red-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #d5141c;
}

.back-to-top.is-visible:hover {
  transform: translateY(-2px);
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0a0c10 0%, #12161f 60%, #1a0a0a 100%);
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero--short {
  min-height: 50vh;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.7;
  pointer-events: none;
}

.hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  flex: 1;
}

.hero__inner--center {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}

.hero__copy {
  z-index: 1;
}

.hero__badge {
  display: inline-block;
  background: rgba(237, 28, 36, 0.14);
  border: 1px solid rgba(237, 28, 36, 0.4);
  color: var(--red-light);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero__heading {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  font-weight: 900;
  color: #fff;
  text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.6);
  margin-bottom: 1.25rem;
}

.hero__heading--accent {
  color: var(--red-light);
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--grey);
  margin-bottom: 2rem;
  font-weight: 300;
  max-width: 600px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__inner--center .hero__actions {
  justify-content: center;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__glow {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.hero__machine {
  position: relative;
  max-height: 480px;
  width: auto;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.7));
  animation: float 5s ease-in-out infinite;
}

.hero__machine--photo {
  max-height: 420px;
  max-width: 100%;
  border-radius: 14px;
  object-fit: cover;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ── Page Hero (shorter) ──────────────────────────────── */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #0a0c10 0%, #12161f 60%, #1a0a0a 100%);
  overflow: hidden;
  padding: 6rem 0 4rem;
}

.page-hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
  pointer-events: none;
}

.page-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.page-hero__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 0.75rem;
}

.page-hero__heading {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.page-hero__sub {
  font-size: 1.05rem;
  color: var(--grey);
  max-width: 700px;
  line-height: 1.7;
}

/* ── Sections ─────────────────────────────────────────── */
.section {
  padding: 6rem 0;
}

.section--dark {
  background: var(--surface);
}

.section--alt {
  background: var(--surface-2);
}

.section__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 0.75rem;
}

.section__heading {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section__sub {
  font-size: 1.05rem;
  color: var(--grey);
  margin-bottom: 3rem;
  max-width: 700px;
  line-height: 1.7;
}

/* ── Services grid ────────────────────────────────────── */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  flex: 1 1 320px;
  max-width: calc((100% - 3rem) / 3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(237, 28, 36, 0.4);
  box-shadow: var(--card-shadow-hover);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--red-tint);
  border: 1px solid rgba(237, 28, 36, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--red-light);
}

.service-card__title {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.65;
  flex: 1;
}

.service-card__link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red-light);
  transition: color 0.2s, letter-spacing 0.2s;
}

.service-card:hover .service-card__link {
  color: var(--white);
  letter-spacing: 0.03em;
}

/* Photo-style service cards (Wix-aligned) */
.services-grid--photos .service-card {
  flex: 1 1 280px;
}

.service-card--photo {
  padding: 0;
  overflow: hidden;
}

.service-card--photo .service-card__body {
  padding: 1.5rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card__photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  border-radius: 13px 13px 0 0;
  isolation: isolate;
}

.service-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.service-card--photo:hover .service-card__photo img {
  transform: scale(1.05);
}

.service-card__photo img.photo-fit-contain,
.service-detail__image img.photo-fit-contain {
  object-fit: contain;
  object-position: center center;
}

.about-grid.about-grid--home {
  margin-top: 0;
  align-items: start;
}

.about-grid--home .about-grid__image {
  max-width: 540px;
  justify-self: end;
}

.about-grid--home .about-grid__image img {
  aspect-ratio: 4 / 5;
}

.about-grid.about-grid--story {
  align-items: start;
}

.about-grid--story .about-grid__image {
  max-width: 540px;
  justify-self: end;
}

.about-grid--story .about-grid__image img {
  aspect-ratio: 4 / 5;
}

/* In-the-field image strip */
.showcase-strip {
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.showcase-strip__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.showcase-strip__item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.showcase-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: brightness(0.85);
}

.showcase-strip__item:hover img {
  transform: scale(1.08);
  filter: brightness(1);
}

.showcase-strip__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 0.75rem 0.75rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

/* Split CTA with image */
.cta-section--split {
  text-align: left;
}

.cta-section__inner--split {
  max-width: 1280px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  text-align: left;
}

.cta-section__inner--split .cta-section__sub {
  margin-bottom: 2rem;
}

.cta-section__image {
  border-radius: 14px;
  overflow: hidden;
}

.cta-section__image img {
  width: 100%;
  display: block;
}

/* ── About section / content blocks ───────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.about-grid__image {
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.about-grid__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-grid__content p {
  font-size: 0.95rem;
  color: var(--grey);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.about-grid__content p strong {
  color: var(--white);
}

.about-grid--reverse .about-grid__image {
  order: 2;
}

.about-grid--reverse .about-grid__content {
  order: 1;
}

@media (max-width: 1024px) {
  .about-grid--reverse .about-grid__image,
  .about-grid--reverse .about-grid__content {
    order: unset;
  }
}

/* ── Product cards ────────────────────────────────────── */
.products-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.product-card {
  flex: 1 1 300px;
  max-width: calc((100% - 3rem) / 3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 1.75rem 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.product-card__accent {
  height: 4px;
  width: calc(100% + 3.5rem);
  margin: 0 -1.75rem 1.5rem;
  background: linear-gradient(90deg, var(--red), #ff6b6b);
}

.product-card__img {
  height: 220px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto 1.25rem;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
}

.product-card__img--on-dark {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  padding: 0.5rem;
}

.product-card__name {
  font-family: var(--display);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.product-card__desc {
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.product-card__desc strong {
  color: var(--white);
}

.product-card__link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red-light);
  transition: color 0.2s;
}

.product-card:hover .product-card__link {
  color: var(--white);
}

.product-card__price {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.product-card__price-note {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--grey);
}

/* ── Partners / logos ─────────────────────────────────── */
.partners {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.partners__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.partners__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 2rem;
}

.partners__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.partners__logo {
  height: 60px;
  width: auto;
  opacity: 0.7;
  filter: grayscale(0.3);
  transition: opacity 0.3s, filter 0.3s;
}

.partners__logo:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* ── Feature list ─────────────────────────────────────── */
.feature-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--grey);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
}

.feature-list__item::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-light);
  margin-top: 0.52rem;
}

/* ── Industry Assist / CTA section ────────────────────── */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(237, 28, 36, 0.08) 0%, rgba(237, 28, 36, 0.02) 100%);
  border-top: 1px solid rgba(237, 28, 36, 0.2);
  border-bottom: 1px solid rgba(237, 28, 36, 0.2);
}

.cta-section__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.cta-section__heading {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section__sub {
  font-size: 1rem;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ── Service detail sections ──────────────────────────── */
.service-detail {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:nth-child(even) {
  background: var(--surface);
}

.service-detail__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-detail__inner--reverse {
  direction: rtl;
}

.service-detail__inner--reverse > * {
  direction: ltr;
}

.service-detail__image {
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail__image--square {
  aspect-ratio: 1;
}

.service-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--grey);
  font-size: 0.85rem;
}

.service-detail__placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
}

.service-detail__content h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.service-detail__content p {
  font-size: 0.95rem;
  color: var(--grey);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.service-detail__content ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-detail__content ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--grey);
  padding: 0.4rem 0;
}

.service-detail__content ul li::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-light);
  margin-top: 0.5rem;
}

/* ── Contact form ─────────────────────────────────────── */
.contact-section {
  padding: 6rem 0;
  scroll-margin-top: 5.5rem;
}

.contact-section__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.contact-section__copy .section__sub {
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-details__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--grey);
  transition: color 0.2s;
}

.contact-details__item:hover {
  color: var(--red-light);
}

.contact-details__item .icon {
  width: 20px;
  height: 20px;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  scroll-margin-top: 5.5rem;
  scroll-margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
}

.form-input {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-input::placeholder {
  color: rgba(187, 181, 181, 0.4);
}

.form-input:focus {
  border-color: var(--red-light);
  box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.15);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23bbb5b5' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.form-select option {
  background: var(--surface-2);
  color: var(--white);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form__submit {
  width: 100%;
  text-align: center;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  margin-top: 0.25rem;
}

/* ── Map section ──────────────────────────────────────── */
.map-section {
  padding: 0;
  border-top: 1px solid var(--border);
}

.map-section__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.map-section__info {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-section__info h3 {
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.map-section__info p {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.7;
}

.map-section__embed {
  min-height: 350px;
  background: var(--surface-2);
}

.map-section__embed iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: none;
  filter: grayscale(0.6) invert(0.9) contrast(0.9);
}

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  background: #080a0e;
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}

.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}

.brand__name--footer {
  font-family: var(--display);
  font-size: 2.2rem;
  color: #fff;
  display: block;
  margin-bottom: 0.75rem;
}

.brand__name--footer em {
  font-style: normal;
  color: var(--red-light);
}

.site-footer__strapline {
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.7;
}

.footer-nav__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 1rem;
}

.footer-nav__link {
  display: block;
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer-nav__link:hover {
  color: var(--white);
}

.footer-contact__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 1rem;
}

.footer-contact__link {
  display: block;
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer-contact__link:hover {
  color: var(--white);
}

.site-footer__logo {
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
  display: block;
  filter: brightness(0.9);
}

.site-footer__made-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
}

.site-footer__flag {
  width: 36px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.site-footer__made-in-text {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__bottom {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 1.25rem 2rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 4rem;
  }

  .hero__visual {
    order: -1;
  }

  .hero__machine {
    max-height: 300px;
  }

  .hero__actions {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-grid--home .about-grid__image {
    max-width: 100%;
    justify-self: stretch;
  }

  .about-grid--story .about-grid__image {
    max-width: 100%;
    justify-self: stretch;
  }

  .service-detail__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-detail__inner--reverse {
    direction: ltr;
  }

  .contact-section__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .map-section__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .showcase-strip__inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-section__inner--split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 15, 20, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 0.75rem 1.5rem 1rem;
  }

  .site-nav--open {
    display: flex;
  }

  .site-nav__link {
    width: 100%;
    padding: 0.7rem 0.5rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .site-nav__link--cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
    border-bottom: none;
  }

  .brand__tagline {
    display: none;
  }

  .top-bar__link--web {
    display: none;
  }

  .service-card,
  .product-card {
    flex-basis: 100%;
    max-width: 100%;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero__glow {
    width: 220px;
    height: 220px;
  }

  .showcase-strip__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .top-bar__label {
    display: none;
  }

  .top-bar__link:nth-child(3) {
    display: none;
  }

  .brand__name {
    font-size: 1.4rem;
  }

  .brand__logo {
    height: 36px;
  }

  .hero__inner {
    padding: 3rem 1.25rem 2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .page-hero {
    padding: 4rem 0 3rem;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }
}
