/* ============================================================
   Quinvello — Autolackiererei & Karosserie
   GLOBAL
   ============================================================ */
:root {
  --bg: #0c0f13;
  --bg-elevated: #12161c;
  --card: rgba(255, 255, 255, 0.03);
  --card-hover: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #d5dbe2;
  --heading: #f2f5f9;
  --muted: #98a4b2;
  --accent: #3b6ee0;
  --cta: #2f5fd0;
  --cta-hover: #4275ea;
  --accent-light: #7fa4f0;
  --success: #3d9a6a;
  --danger: #d45a5a;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 18px;
  --max: 1240px;
  --header-h: 74px;
  --font-display: "Space Grotesk", Helvetica, Arial, sans-serif;
  --font-body: "Barlow", Helvetica, Arial, sans-serif;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --transition: 280ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: #a8c3f8;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 600;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.75rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

p {
  overflow-wrap: anywhere;
}

ul, ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.85rem;
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section--tight {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section__head {
  max-width: 42rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section__head p {
  color: var(--muted);
  margin-top: 0.85rem;
  font-size: 1.08rem;
}

.muted {
  color: var(--muted);
}

.text-center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 550;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform 200ms ease;
  border: 1px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background: var(--cta);
  color: #fff;
}

.btn--primary:hover {
  background: var(--cta-hover);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--heading);
}

.btn--secondary:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.btn--ghost {
  background: var(--card);
  border-color: var(--border);
  color: var(--heading);
}

.btn--ghost:hover {
  background: var(--card-hover);
  border-color: var(--border-strong);
}

.btn--full {
  width: 100%;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition), background var(--transition);
}

.card:hover {
  border-color: var(--border-strong);
  background: var(--card-hover);
}

.price-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 1.25rem;
  max-width: 52rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(59, 110, 224, 0.1);
  color: var(--accent-light);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Image placeholders */
.img-ph {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, #161b24 0%, #0e1218 45%, #1a2230 100%);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
}

.img-ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(59, 110, 224, 0.18), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(127, 164, 240, 0.08), transparent 45%);
}

.img-ph__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1rem;
  text-align: center;
  z-index: 1;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.img-ph__label strong {
  color: var(--heading);
  font-size: 0.95rem;
  font-weight: 550;
}

.img-ph--tall {
  aspect-ratio: 4 / 5;
}

.img-ph--square {
  aspect-ratio: 1;
}

.img-ph--wide {
  aspect-ratio: 21 / 9;
}

.img-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.media-frame:hover .img-real {
  transform: scale(1.02);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .img-real,
  .btn,
  .card,
  .faq__answer,
  .cart-drawer,
  .mobile-nav {
    transition: none !important;
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .media-frame:hover .img-real {
    transform: none;
  }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(12, 15, 19, 0.72);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}

.site-header.is-scrolled {
  background: rgba(12, 15, 19, 0.88);
  border-bottom-color: var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--heading);
  flex-shrink: 0;
}

.logo:hover {
  color: var(--heading);
}

.logo__mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(145deg, rgba(59, 110, 224, 0.35), rgba(12, 15, 19, 0.9));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent-light);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__name {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.logo__tag {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav__link {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--heading);
  background: rgba(255, 255, 255, 0.04);
}

.header__cta {
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: transform 250ms ease, opacity 250ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(12, 15, 19, 0.97);
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  z-index: 999;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 300ms ease;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav a {
  display: block;
  padding: 0.9rem 0.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.mobile-nav .btn {
  margin-top: 1.25rem;
  width: 100%;
}

body.nav-open {
  overflow: hidden;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.hero__badge {
  margin-bottom: 1.25rem;
}

.hero h1 {
  margin-bottom: 1.15rem;
}

.hero__lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.hero__visual {
  position: relative;
}

.hero__visual .img-ph,
.hero__visual .media-frame {
  aspect-ratio: 5 / 4;
  min-height: 320px;
}

.hero__tech-card {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: auto;
  width: min(240px, calc(100% - 2rem));
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(12, 15, 19, 0.88);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  z-index: 2;
}

.hero__tech-card .label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.35rem;
}

.hero__tech-card .title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--heading);
  margin-bottom: 0.65rem;
}

.hero__tech-bars {
  display: grid;
  gap: 0.45rem;
}

.hero__tech-bars span {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero__tech-bars span i {
  display: block;
  height: 100%;
  width: var(--w, 70%);
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 4px;
}

/* ============================================================
   SECTIONS — Trust, Services, Process, etc.
   ============================================================ */
.trust-strip {
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
  padding: 1.75rem 0;
}

.trust-strip__title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
  text-align: center;
}

.trust-strip__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}

.trust-strip__item {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--heading);
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.service-card__num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  margin-bottom: 0.85rem;
}

.service-card h3 {
  margin-bottom: 0.65rem;
}

.service-card p {
  color: var(--muted);
  flex: 1;
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
}

.service-card__price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--heading);
  font-weight: 600;
}

.service-card__link {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
}

/* PROCESS */
.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
}

.process-card {
  padding: 1.25rem 1rem;
}

.process-card__num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--accent-light);
  letter-spacing: 0.06em;
  margin-bottom: 0.7rem;
}

.process-card h3 {
  font-size: 1rem;
  margin-bottom: 0.55rem;
}

.process-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* BEFORE AFTER */
.ba {
  display: grid;
  gap: 1.5rem;
}

.ba__slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  user-select: none;
  touch-action: none;
  background: var(--bg-elevated);
  cursor: ew-resize;
  container-type: inline-size;
}

.ba__layer {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
}

.ba__layer--after {
  z-index: 1;
}

.ba__layer--before {
  z-index: 2;
  width: 50%;
  overflow: hidden;
  border-right: none;
}

.ba__layer img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  border: none;
  aspect-ratio: auto;
  max-width: none;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Keep before-image locked to full slider frame so body lines stay aligned */
.ba__layer--before img {
  width: 100cqi;
  height: 100%;
  max-width: none;
}

.ba__label {
  position: absolute;
  top: 1rem;
  z-index: 5;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  background: rgba(12, 15, 19, 0.82);
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--heading);
  pointer-events: none;
}

.ba__label--before { left: 1rem; }
.ba__label--after { right: 1rem; }

.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 56px;
  margin-left: -28px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  touch-action: none;
}

.ba__handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.35);
}

.ba__handle-knob {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: #0c0f13;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.95);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ba__handle:hover .ba__handle-knob,
.ba__handle:focus-visible .ba__handle-knob,
.ba__slider.is-dragging .ba__handle-knob {
  transform: scale(1.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.ba__handle-knob svg {
  display: block;
  width: 22px;
  height: 22px;
}

.ba__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
}

.ba__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ba__chips span {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 0.88rem;
  color: var(--muted);
}

.ba__note {
  font-size: 0.88rem;
  color: var(--muted);
  font-style: italic;
}

/* PRODUCTS */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.product-card__media {
  aspect-ratio: 4 / 3;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border);
  width: 100%;
  object-fit: cover;
  display: block;
  background: #12161c;
}

.product-card__body {
  padding: 1.25rem 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__cat {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  font-family: var(--font-display);
  margin-bottom: 0.4rem;
}

.product-card h3 {
  margin-bottom: 0.5rem;
}

.product-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex: 1;
}

.product-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.product-card__avail {
  font-size: 0.85rem;
  color: var(--success);
}

.product-card__price {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--heading);
  font-size: 1.15rem;
}

/* TYPICAL WORKS */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.work-card h3 {
  margin-bottom: 0.65rem;
}

.work-card p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.blog-card__media {
  aspect-ratio: 16 / 10;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.about-photos .media-frame {
  aspect-ratio: 1;
}

.about-photos .media-frame .img-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item .img-real {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.article__hero .img-real {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card__body {
  padding: 1.25rem 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.blog-card__cat {
  color: var(--accent-light);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
}

.blog-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex: 1;
}

.article {
  max-width: 760px;
  margin: 0 auto;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 1rem 0 1.75rem;
}

.article__hero {
  margin-bottom: 2rem;
}

.article h2 {
  margin: 2rem 0 0.85rem;
  font-size: 1.55rem;
}

.article h3 {
  margin: 1.5rem 0 0.65rem;
}

.article p,
.article ul,
.article ol {
  margin-bottom: 1rem;
  color: var(--text);
}

.article ul,
.article ol {
  padding-left: 1.25rem;
}

.article ul { list-style: disc; }
.article ol { list-style: decimal; }

.article li {
  margin-bottom: 0.4rem;
}

.article__faq details {
  margin-bottom: 0.65rem;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  display: grid;
  gap: 0.65rem;
  max-width: 820px;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  overflow: hidden;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--heading);
  font-weight: 550;
}

.faq__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent-light);
  transition: transform 250ms ease;
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms ease;
}

.faq__answer-inner {
  padding: 0 1.2rem 1.15rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.faq-cta {
  margin-top: 2.5rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(59, 110, 224, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.faq-cta h3 {
  margin-bottom: 0.35rem;
}

.faq-cta p {
  color: var(--muted);
  max-width: 32rem;
}

/* FINAL CTA */
.final-cta {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.final-cta__box {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(ellipse at 20% 30%, rgba(59, 110, 224, 0.18), transparent 50%),
    var(--card);
  padding: clamp(2rem, 5vw, 3.25rem);
  text-align: center;
}

.final-cta__box h2 {
  max-width: 28ch;
  margin: 0 auto 1rem;
}

.final-cta__box p {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 auto 1.75rem;
}

.final-cta__box .btn-group {
  justify-content: center;
}

/* PAGE HERO (inner pages) */
.page-hero {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 1rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 40rem;
  margin-top: 0.9rem;
  font-size: 1.08rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--accent-light);
}

.breadcrumb span[aria-hidden="true"] {
  opacity: 0.5;
}

/* ============================================================
   FORMS
   ============================================================ */
.form {
  display: grid;
  gap: 1rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form__field {
  display: grid;
  gap: 0.4rem;
}

.form__field label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--heading);
}

.form__field input,
.form__field textarea,
.form__field select {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--heading);
  transition: border-color var(--transition);
}

.form__field textarea {
  min-height: 140px;
  resize: vertical;
}

.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus {
  border-color: var(--accent);
}

.form__field .error {
  color: var(--danger);
  font-size: 0.85rem;
  display: none;
}

.form__field.is-invalid input,
.form__field.is-invalid textarea {
  border-color: var(--danger);
}

.form__field.is-invalid .error {
  display: block;
}

.form__check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--muted);
}

.form__check input {
  margin-top: 0.3rem;
  width: 18px;
  height: 18px;
  accent-color: var(--cta);
  flex-shrink: 0;
}

.form__success {
  display: none;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(61, 154, 106, 0.4);
  background: rgba(61, 154, 106, 0.1);
  color: #9fd4b6;
}

.form__success.is-visible {
  display: block;
}

.form__note {
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.company-card h2 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.company-card dl {
  display: grid;
  gap: 1rem;
}

.company-card dt {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.company-card dd {
  color: var(--heading);
}

.placeholder-tag {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: var(--accent-light);
  font-family: var(--font-display);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 1.5rem;
  margin-top: 2rem;
  background: #0a0d11;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h3 {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.footer-col p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0.85rem 0;
}

.footer-col ul {
  display: grid;
  gap: 0.55rem;
}

.footer-col a {
  color: var(--text);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ============================================================
   CART
   ============================================================ */
.cart-fab {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 1100;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--cta);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cart-fab:hover {
  background: var(--cta-hover);
}

.cart-fab__count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff;
  color: #0c0f13;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 280ms ease, visibility 280ms ease;
}

.cart-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(400px, 100%);
  height: 100%;
  background: #10141a;
  border-left: 1px solid var(--border);
  z-index: 1210;
  transform: translateX(100%);
  transition: transform 300ms ease;
  display: flex;
  flex-direction: column;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.cart-drawer__head h2 {
  font-size: 1.15rem;
}

.cart-drawer__close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--heading);
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.15rem;
}

.cart-empty {
  color: var(--muted);
  text-align: center;
  padding: 2rem 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-item__title {
  font-family: var(--font-display);
  color: var(--heading);
  font-size: 0.98rem;
}

.cart-item__price {
  color: var(--muted);
  font-size: 0.9rem;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.cart-item__controls button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--heading);
}

.cart-item__remove {
  color: var(--danger) !important;
  border-color: rgba(212, 90, 90, 0.35) !important;
}

.cart-drawer__foot {
  padding: 1.15rem 1.25rem;
  border-top: 1px solid var(--border);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  color: var(--heading);
}

.cart-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1300;
  max-width: 520px;
  margin-left: auto;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: rgba(16, 20, 26, 0.97);
  box-shadow: var(--shadow);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner h2 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

.cookie-banner p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cookie-settings {
  display: none;
  margin: 0.85rem 0 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.cookie-settings.is-open {
  display: grid;
  gap: 0.65rem;
}

.cookie-cat {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-size: 0.92rem;
}

.cookie-cat label {
  color: var(--heading);
}

.cookie-cat span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.15rem;
}

/* ============================================================
   GALLERY / LIGHTBOX
   ============================================================ */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  min-height: 42px;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.filter-btn.is-active,
.filter-btn:hover {
  color: var(--heading);
  border-color: var(--border-strong);
  background: rgba(59, 110, 224, 0.12);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  text-align: left;
  color: inherit;
}

.gallery-item .img-ph,
.gallery-item .img-real {
  aspect-ratio: 4 / 3;
  border: none;
  border-radius: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.gallery-item__cap {
  padding: 0.9rem 1rem 1.1rem;
}

.gallery-item__cap strong {
  display: block;
  font-family: var(--font-display);
  color: var(--heading);
  margin-bottom: 0.25rem;
}

.gallery-item__cap span {
  font-size: 0.85rem;
  color: var(--muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__inner {
  width: min(900px, 100%);
  position: relative;
}

.lightbox__close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  color: #fff;
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
}

.lightbox__content {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.lightbox__caption {
  margin-top: 0.85rem;
  text-align: center;
  color: var(--muted);
}

/* ============================================================
   PRICES / TABLES / INNER LAYOUTS
   ============================================================ */
.notice {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(127, 164, 240, 0.35);
  background: rgba(59, 110, 224, 0.1);
  color: var(--text);
  margin-bottom: 1.75rem;
}

.notice strong {
  color: var(--heading);
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
}

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.price-table th,
.price-table td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.price-table th {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table td:last-child {
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 600;
  white-space: nowrap;
}

.price-cat {
  margin: 2.5rem 0 1rem;
  font-size: 1.25rem;
}

.layout-sidebar {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.75rem;
  align-items: start;
}

.side-nav {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  padding: 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.side-nav h2 {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.side-nav a {
  display: block;
  padding: 0.55rem 0.4rem;
  color: var(--text);
  border-radius: 8px;
  font-size: 0.95rem;
}

.side-nav a:hover,
.side-nav a.is-active {
  color: var(--heading);
  background: rgba(255, 255, 255, 0.04);
}

.service-detail {
  scroll-margin-top: calc(var(--header-h) + 1rem);
  margin-bottom: 2rem;
}

.service-detail h2 {
  margin-bottom: 0.75rem;
}

.service-detail .meta-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.service-detail .meta-list li {
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.service-detail .meta-list strong {
  display: block;
  font-family: var(--font-display);
  color: var(--heading);
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.service-detail .meta-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.legal-content {
  max-width: 820px;
}

.legal-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
}

.legal-content h3 {
  margin: 1.35rem 0 0.55rem;
}

.legal-content p,
.legal-content ul {
  margin-bottom: 0.9rem;
  color: var(--text);
}

.legal-content ul {
  padding-left: 1.2rem;
  list-style: disc;
}

.legal-content .todo-box {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  border: 1px dashed rgba(127, 164, 240, 0.45);
  border-radius: var(--radius-sm);
  background: rgba(59, 110, 224, 0.06);
  font-size: 0.92rem;
  color: var(--muted);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav__link {
    padding: 0.4rem 0.4rem;
    font-size: 0.86rem;
  }
}

@media (max-width: 980px) {
  .nav,
  .header__cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    display: block;
  }

  .hero__grid,
  .contact-grid,
  .about-grid,
  .layout-sidebar,
  .footer-grid,
  .form__row,
  .two-col {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .products-grid,
  .works-grid,
  .blog-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .side-nav {
    position: static;
  }

  .side-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .side-nav a {
    border: 1px solid var(--border);
    padding: 0.45rem 0.7rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .services-grid,
  .products-grid,
  .works-grid,
  .blog-grid,
  .gallery-grid,
  .process-grid,
  .about-photos {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .btn-group {
    width: 100%;
  }

  .btn-group .btn {
    flex: 1 1 100%;
  }

  .hero__tech-card {
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    margin-top: 0.85rem;
  }

  .faq-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-strip__item {
    font-size: 0.85rem;
  }

  .logo__tag {
    display: none;
  }

  .ba__slider {
    aspect-ratio: 5 / 4;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 1.85rem;
  }

  .site-header__inner {
    width: min(100% - 1rem, var(--max));
  }
}
