/* Detail District — Car Detailing Studio Lublin */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #070707;
  --bg-2: #0e0e0e;
  --bg-3: #161616;
  --header-bg: #000000;
  --surface: #1a1a1a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f4;
  --muted: #9a9a9a;
  --orange: #f39200;
  --orange-hot: #ffaa22;
  --orange-dim: rgba(243, 146, 0, 0.14);
  --orange-glow: rgba(243, 146, 0, 0.35);
  --white: #ffffff;
  --radius: 4px;
  --header-h: 88px;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1180px;
}

*,
*::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);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 2rem, 1320px);
  margin-inline: auto;
}

/* ——— Typography ——— */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.eyebrow::before {
  content: '';
  width: 1.5rem;
  height: 2px;
  background: var(--orange);
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 { font-size: clamp(3.2rem, 10vw, 7.5rem); }
h2 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

.lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 36rem;
  font-weight: 300;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s var(--ease);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--orange);
  color: #0a0a0a;
  box-shadow: 0 0 0 0 var(--orange-glow);
}

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

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--white);
}

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

.btn-icon svg {
  width: 18px;
  height: 18px;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  display: flex;
  align-items: center;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  z-index: 110;
  justify-self: center;
  grid-column: 2;
  grid-row: 1;
}

.logo--image {
  flex-direction: row;
  align-items: center;
  transition: opacity 0.3s var(--ease);
}

.logo--image:hover {
  opacity: 0.88;
}

.logo--image img {
  display: block;
  width: auto;
  height: 52px;
  max-width: min(280px, 42vw);
  object-fit: contain;
  background: var(--header-bg);
}

.logo-mark {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  color: var(--white);
}

.logo-mark span {
  color: var(--orange);
}

.logo-sub {
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.15rem;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
  justify-self: start;
  grid-column: 1;
  grid-row: 1;
}

.nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.3s var(--ease);
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width 0.35s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--white);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  width: 100%;
}

.header-cta {
  display: none;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  justify-self: end;
  grid-column: 3;
  grid-row: 1;
}

.header-actions {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.header-phone {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.header-phone:hover {
  color: var(--orange);
}

.header-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.header-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--muted);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.header-social a:hover {
  color: var(--orange);
  border-color: var(--orange);
  background: var(--orange-dim);
}

.header-social svg {
  width: 18px;
  height: 18px;
}

.nav-toggle {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  cursor: pointer;
  z-index: 110;
  transition: border-color 0.3s;
}

.nav-toggle:hover {
  border-color: var(--orange);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  position: relative;
  transition: background 0.3s;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--header-bg);
  z-index: 105;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 8vw, 3.5rem);
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.3s, transform 0.3s;
  padding: 0.35rem 0;
}

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  color: var(--orange);
  transform: translateX(8px);
}

.mobile-nav-meta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.mobile-nav-meta a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--white);
}

@media (max-width: 899px) {
  :root {
    --header-h: 68px;
  }

  html {
    scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 0.5rem);
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    width: min(100% - 1.25rem, var(--max));
  }

  .nav {
    display: none;
  }

  .logo {
    grid-column: 1;
    justify-self: start;
    min-width: 0;
  }

  .logo--image img {
    height: 44px;
    max-width: min(220px, 52vw);
  }

  .header-right {
    grid-column: 2;
    flex-shrink: 0;
  }
}

@media (min-width: 900px) {
  .nav,
  .header-actions {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .logo--image img {
    height: 72px;
    max-width: 320px;
  }
}

@media (min-width: 1100px) {
  :root {
    --header-h: 100px;
  }
  .logo--image img {
    height: 84px;
    max-width: 360px;
  }
  .nav {
    gap: 2rem;
  }
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 18s var(--ease) forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.55) 0%, rgba(7, 7, 7, 0.2) 35%, rgba(7, 7, 7, 0.92) 100%),
    linear-gradient(90deg, rgba(7, 7, 7, 0.85) 0%, rgba(7, 7, 7, 0.35) 55%, transparent 100%);
  z-index: 1;
}

.hero-glow {
  position: absolute;
  width: 50vw;
  height: 50vw;
  right: -10%;
  bottom: -20%;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 65%);
  filter: blur(40px);
  opacity: 0.45;
  z-index: 1;
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from { opacity: 0.3; transform: scale(1); }
  to { opacity: 0.55; transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 14vw, 9rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  margin: 1rem 0 1.25rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.15s forwards;
}

.hero-brand span {
  display: block;
  color: var(--orange);
}

.hero-logo {
  margin: 1rem 0 1.25rem;
  max-width: min(100%, 28rem);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.15s forwards;
}

.hero-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-tagline {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 28rem;
  margin-bottom: 2rem;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.35s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.5s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ——— Sections ——— */
.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  position: relative;
}

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 40rem;
}

.section-head p {
  margin-top: 1rem;
  color: var(--muted);
  font-weight: 300;
}

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

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

/* ——— Services grid ——— */
.services-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

@media (min-width: 700px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-item {
  background: var(--bg);
  padding: 2rem 1.75rem;
  transition: background 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--orange);
  transition: height 0.45s var(--ease);
}

.service-item:hover {
  background: var(--bg-2);
}

.service-item:hover::before {
  height: 100%;
}

.service-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--orange-dim);
  color: rgba(243, 146, 0, 0.25);
  line-height: 1;
  margin-bottom: 1.25rem;
  transition: color 0.35s;
}

.service-item:hover .service-num {
  color: var(--orange);
}

.service-item h3 {
  margin-bottom: 0.75rem;
}

.service-item p {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 300;
}

/* ——— Feature split ——— */
.feature-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .feature-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }
}

.feature-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface);
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.feature-visual:hover img {
  transform: scale(1.04);
}

.feature-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  pointer-events: none;
}

.feature-copy h2 {
  margin: 0.75rem 0 1.25rem;
}

.feature-list {
  margin: 1.75rem 0 2rem;
  display: grid;
  gap: 0.85rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  background: var(--orange);
  border-radius: 1px;
}

/* ——— Configurator (innovative) ——— */
.configurator {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.config-steps {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .config-steps {
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.config-group {
  margin-bottom: 1.75rem;
}

.config-group:last-child {
  margin-bottom: 0;
}

.config-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.config-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.config-option {
  appearance: none;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  padding: 0.7rem 1rem;
  min-height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.3s var(--ease);
}

.config-option:hover {
  border-color: var(--orange);
  color: var(--white);
}

.config-option.active {
  background: var(--orange-dim);
  border-color: var(--orange);
  color: var(--orange-hot);
}

.config-result {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1.75rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.config-result h3 {
  margin-bottom: 0.5rem;
}

.config-package-name {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--orange);
  margin: 0.75rem 0 0.5rem;
}

.config-desc {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 300;
  margin-bottom: 1.25rem;
}

.config-meta {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.config-meta div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.config-meta span:first-child {
  color: var(--muted);
}

.config-meta strong {
  color: var(--white);
  font-weight: 600;
}

/* ——— Before / After ——— */
.ba-slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface);
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
}

.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-after {
  clip-path: inset(0 0 0 50%);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--white);
  transform: translateX(-50%);
  z-index: 3;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.ba-handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.ba-handle::after {
  content: '◀ ▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.55rem;
  color: #0a0a0a;
  font-weight: 700;
  letter-spacing: -0.05em;
  z-index: 1;
}

.ba-label {
  position: absolute;
  top: 1rem;
  z-index: 4;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(7, 7, 7, 0.75);
  backdrop-filter: blur(8px);
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--border);
}

.ba-label-before { left: 1rem; }
.ba-label-after { right: 1rem; }

/* ——— Process ——— */
.process-track {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

@media (min-width: 800px) {
  .process-track {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.process-step {
  position: relative;
  padding-top: 1rem;
  counter-increment: step;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--orange);
  display: block;
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.process-step h3 {
  margin-bottom: 0.65rem;
  font-size: 1.4rem;
}

.process-step p {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 300;
}

/* ——— Quiz (innovative) ——— */
.quiz-panel {
  border: 1px solid var(--border);
  background: var(--bg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.quiz-question {
  display: none;
}

.quiz-question.active {
  display: block;
  animation: fadeUp 0.45s var(--ease);
}

.quiz-question h3 {
  margin: 0.5rem 0 1.5rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.quiz-answers {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 600px) {
  .quiz-answers {
    grid-template-columns: 1fr 1fr;
  }
}

.quiz-answer {
  text-align: left;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  padding: 1.15rem 1.25rem;
  min-height: 56px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  font-weight: 500;
}

.quiz-answer:hover {
  border-color: var(--orange);
  background: var(--orange-dim);
}

.quiz-progress {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.quiz-progress i {
  height: 3px;
  flex: 1;
  background: var(--border-strong);
  transition: background 0.3s;
}

.quiz-progress i.done {
  background: var(--orange);
}

.quiz-result {
  display: none;
  text-align: center;
  padding: 1rem 0;
}

.quiz-result.visible {
  display: block;
  animation: fadeUp 0.5s var(--ease);
}

.quiz-result .badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.quiz-result h3 {
  margin-bottom: 1rem;
}

.quiz-result p {
  color: var(--muted);
  max-width: 32rem;
  margin: 0 auto 1.75rem;
  font-weight: 300;
}

/* ——— Gallery ——— */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

@media (min-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
  }
}

@media (min-width: 1000px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--surface);
}

.gallery-item.tall {
  grid-row: span 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s;
  filter: saturate(0.92);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.05);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 7, 7, 0.55));
  opacity: 0;
  transition: opacity 0.4s;
}

.gallery-item:hover::after {
  opacity: 1;
}

.ig-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.3s;
}

.ig-badge:hover {
  color: var(--orange);
}

.ig-badge svg {
  width: 18px;
  height: 18px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(100%, 960px);
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: var(--radius);
}

/* ——— CTA band ——— */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 6.5rem) 0;
  text-align: center;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, var(--orange-glow) 0%, transparent 55%),
    var(--bg-2);
  z-index: 0;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  margin: 0.75rem auto 1rem;
  max-width: 16ch;
}

.cta-band p {
  color: var(--muted);
  margin: 0 auto 2rem;
  max-width: 32rem;
  font-weight: 300;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.contact-card {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-card:first-child {
  padding-top: 0;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.contact-card a,
.contact-card p {
  font-size: 1.25rem;
  font-weight: 500;
}

.contact-card a:hover {
  color: var(--orange);
}

.contact-social-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contact-social-links a {
  display: block;
  line-height: 1.4;
}

.map-embed {
  aspect-ratio: 4 / 3;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.1) brightness(0.8);
  transition: filter 0.5s;
}

.map-embed:hover iframe {
  filter: grayscale(0.3) contrast(1.05) brightness(0.9);
}

.contact-note {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--orange-dim);
  border-left: 3px solid var(--orange);
  color: var(--muted);
  font-size: 0.95rem;
}

/* ——— Page hero (inner) ——— */
.page-hero {
  padding: calc(var(--header-h) + 3.5rem) 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, var(--orange-glow) 0%, transparent 45%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 0.75rem 0 1rem;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
}

/* ——— Offer list ——— */
.offer-list {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.offer-row {
  display: grid;
  gap: 1rem;
  padding: 2rem 1.5rem;
  background: var(--bg);
  transition: background 0.35s;
}

.offer-row:hover {
  background: var(--bg-2);
}

@media (min-width: 700px) {
  .offer-row {
    grid-template-columns: 140px 1fr;
    gap: 2rem;
    align-items: start;
    padding: 2.25rem 2rem;
  }
}

.offer-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--orange);
  color: var(--orange);
  border-radius: var(--radius);
}

.offer-icon svg {
  width: 24px;
  height: 24px;
}

.offer-row h3 {
  margin-bottom: 0.5rem;
}

.offer-row p {
  color: var(--muted);
  font-weight: 300;
  font-size: 0.95rem;
}

.price-intro {
  max-width: 42rem;
  margin-bottom: 2.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.price-list {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem 2rem;
  padding: 1.5rem 1.75rem;
  background: var(--bg);
  transition: background 0.35s;
}

.price-row:hover {
  background: var(--bg-2);
}

.price-row span {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
}

.price-row strong {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--orange);
  white-space: nowrap;
  text-align: right;
}

.price-note {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

@media (max-width: 600px) {
  .price-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .price-row strong {
    white-space: normal;
    text-align: left;
    font-size: 1.25rem;
  }

  .price-row span {
    font-size: 1rem;
  }
}

/* ——— About ——— */
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3rem;
}

@media (min-width: 700px) {
  .about-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  background: var(--bg);
  padding: 1.75rem 1.25rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat span {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ——— Privacy ——— */
.prose {
  max-width: 42rem;
}

.prose h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
}

.prose p,
.prose li {
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 1rem;
}

.prose ul {
  padding-left: 1.25rem;
  list-style: disc;
  margin-bottom: 1.5rem;
}

.prose a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  background: var(--bg);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand .logo-mark {
  font-size: 1.8rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 0.25rem;
  transition: opacity 0.3s var(--ease);
}

.footer-logo:hover {
  opacity: 0.88;
}

.footer-logo img {
  display: block;
  width: auto;
  height: 64px;
  max-width: 240px;
  object-fit: contain;
}

.footer-brand p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 300;
  max-width: 22rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-col a,
.footer-col p {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--orange);
  transition: opacity 0.3s;
}

.footer-bottom a:hover {
  opacity: 0.8;
}

/* ——— Reveal on scroll ——— */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ——— Hex accent pattern ——— */
.hex-bg {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg width='56' height='100' viewBox='0 0 56 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 66L0 50V18L28 2l28 16v32L28 66zM28 100L0 84V52l28 16 28-16v32L28 100z' fill='%23f39200' fill-opacity='1' fill-rule='evenodd'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ——— Utility ——— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-orange { color: var(--orange); }

/* ——— Mobile polish ——— */
@media (max-width: 899px) {
  .container,
  .container-wide {
    width: min(100% - 1.5rem, var(--max));
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    align-items: flex-end;
    padding:
      calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1.25rem)
      0
      max(2rem, env(safe-area-inset-bottom, 0px));
  }

  .hero-content {
    width: min(100% - 1.5rem, var(--max));
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 7, 7, 0.65) 0%, rgba(7, 7, 7, 0.25) 40%, rgba(7, 7, 7, 0.94) 100%),
      linear-gradient(90deg, rgba(7, 7, 7, 0.5) 0%, transparent 100%);
  }

  .hero-brand {
    font-size: clamp(2.75rem, 13vw, 4.5rem);
    margin: 0.65rem 0 1rem;
    line-height: 0.92;
  }

  .hero-tagline {
    font-size: 0.95rem;
    max-width: none;
    margin-bottom: 1.5rem;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 52px;
    padding: 0.95rem 1.25rem;
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .eyebrow::before {
    width: 1.1rem;
  }

  .section {
    padding: clamp(3.25rem, 8vw, 5rem) 0;
  }

  .section-head {
    margin-bottom: 2rem;
  }

  .section-head h2 {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .service-item {
    padding: 1.5rem 1.25rem;
  }

  .service-num {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .configurator {
    padding: 1.25rem;
  }

  .config-option {
    flex: 1 1 calc(50% - 0.55rem);
    min-width: 0;
    text-align: center;
    padding: 0.75rem 0.65rem;
    font-size: 0.8rem;
    min-height: 48px;
  }

  .config-result {
    position: static;
    margin-top: 0.5rem;
  }

  .config-package-name {
    font-size: 2rem;
  }

  .config-meta div {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .feature-visual {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
  }

  .ba-handle::before {
    width: 52px;
    height: 52px;
  }

  .process-step::before {
    font-size: 2.25rem;
  }

  .quiz-panel {
    padding: 1.25rem;
  }

  .quiz-answer {
    min-height: 52px;
    padding: 1rem 1.1rem;
  }

  .gallery-grid {
    gap: 0.4rem;
  }

  .cta-band {
    padding: clamp(3rem, 8vw, 4.5rem) 0;
  }

  .cta-band h2 {
    max-width: none;
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
  }

  .cta-actions .btn {
    width: 100%;
    min-height: 52px;
  }

  .mobile-nav {
    padding:
      calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1.5rem)
      max(1.25rem, env(safe-area-inset-right))
      max(1.5rem, env(safe-area-inset-bottom))
      max(1.25rem, env(safe-area-inset-left));
  }

  .mobile-nav a {
    font-size: clamp(1.35rem, 5vw, 1.65rem);
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .footer-grid {
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .page-hero {
    padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 2rem) 0 2rem;
  }

  .page-hero h1 {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
  }
}

@media (max-width: 480px) {
  :root {
    --header-h: 64px;
  }

  .logo--image img {
    height: 40px;
    max-width: min(190px, 48vw);
  }

  .hero-brand {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

  .config-option {
    flex: 1 1 100%;
  }

  .offer-row {
    padding: 1.5rem 1.15rem;
  }

  .contact-grid {
    gap: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-media img {
    transform: none;
  }
}
