/* ==========================================================================
   ServisMotorjev.si – styles
   Sections: 1 Variables · 2 Reset & base · 3 Layout helpers · 4 Buttons · 5 Cards
   6 Header & mobile menu · 7 Hero & trust bar · 8 Services · 9 Speed-limit feature
   10 Split sections (obnova, predelave) · 11 Gallery & lightbox · 12 Knowledge
   13 Experience · 14 Process · 15 FAQ · 16 Contact · 17 Footer & call bar
   18 Scroll reveal · 19 Responsive · 20 Reduced motion · 21 404 page
   ========================================================================== */

/* ---------- 1. Variables ---------- */
:root {
  --bg: #070809;
  --bg2: #0c0f11;
  --panel: #111417;
  --text: #f5f6f7;
  --muted: #9ba2a8;
  --line: #262b2f;
  --accent: #ff6500;
  --accent2: #ff8a32;
  --max: 1240px;
  --radius: 18px;
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

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

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

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, p, figure { margin: 0; }

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

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 3px;
}

h1, h2 {
  font-weight: 950;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(52px, 7vw, 88px);
  line-height: .92;
  letter-spacing: -.057em; /* ≈ -5px at 88px, scales down with the font */
}

h2 {
  font-size: clamp(35px, 4.5vw, 57px);
  line-height: 1.02;
  letter-spacing: -.053em; /* ≈ -3px at 57px */
}

h3 { font-weight: 900; }

.accent { color: var(--accent); }

.eyebrow {
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* ---------- 3. Layout helpers ---------- */
.wrap {
  width: min(var(--max), 92%);
  margin-inline: auto;
}

.section { padding: 96px 0; }

section[id] { scroll-margin-top: 80px; }

.darkband {
  background: #0a0d0f;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 48px;
  margin-bottom: 44px;
}

.section-sub {
  max-width: 480px;
  color: var(--muted);
}

.checklist {
  display: grid;
  gap: 10px;
  margin: 24px 0 32px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  font-weight: 650;
  color: #d0d5d9;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
  color: var(--accent);
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 28px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .4px;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(255, 101, 0, .3);
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

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

.btn-outline {
  background: transparent;
  border-color: #4b5156;
  color: var(--text);
  box-shadow: none;
}

.btn-outline:hover {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn-sm {
  padding: 13px 22px;
  font-size: 12px;
}

/* ---------- 5. Cards ---------- */
.card {
  position: relative;
  overflow: hidden;
  padding: 27px;
  background: linear-gradient(145deg, #14181b, #0c0f11);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s ease, border-color .25s ease;
}

.card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 155px;
  height: 155px;
  border-radius: 50%;
  background: rgba(255, 101, 0, .05);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #3b4248;
}

.card-label {
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 2px;
  color: var(--accent);
}

/* ---------- 6. Header & mobile menu ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: 72px;
  background: rgba(7, 8, 9, .78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* CSS-drawn gear: orange ring + solid dot, with a dotted outer ring */
.logo-icon {
  position: relative;
  width: 28px;
  height: 28px;
  border: 3px solid var(--accent);
  border-radius: 50%;
}

.logo-icon::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.logo-icon::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 3px dotted var(--accent);
  border-radius: 50%;
  opacity: .55;
}

.logo-text {
  font-size: 19px;
  font-weight: 950;
  letter-spacing: -1.2px;
  line-height: 1;
}

.logo-text span { color: var(--accent); }

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  font-size: 13px;
  font-weight: 850;
  color: #d0d5d9;
  white-space: nowrap;
  transition: color .2s ease;
}

.nav a:hover { color: #fff; }

.nav .nav-cta {
  padding: 11px 18px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: rgba(255, 101, 0, .1);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .3px;
  transition: background-color .2s ease;
}

.nav .nav-cta:hover { background: var(--accent); }

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid #333a3f;
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  cursor: pointer;
}

.menu-btn-bars,
.menu-btn-bars::before,
.menu-btn-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .25s ease, background-color .25s ease;
}

.menu-btn-bars { position: relative; }

.menu-btn-bars::before,
.menu-btn-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn-bars::before { top: -6px; }
.menu-btn-bars::after { top: 6px; }

.menu-btn[aria-expanded="true"] .menu-btn-bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Hidden by default; toggled with .open from js/main.js */
.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 79;
  display: none;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  padding: 8px 4% 22px;
  background: #0a0d0f;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55);
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.5px;
}

.mobile-menu a:last-child {
  border-bottom: 0;
  color: var(--accent);
}

/* ---------- 7. Hero & trust bar ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 740px;
  padding-top: 72px;
  overflow: hidden;
  background: #050607;
}

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

.hero-media img {
  position: absolute;
  top: 0;
  right: 0;
  width: 72%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 55% 50%;
}

/* Left blend + bottom fade: no hard seam between the dark side and the photo */
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #050607 0%, rgba(5, 6, 7, .98) 18%, rgba(5, 6, 7, .86) 37%, rgba(5, 6, 7, .35) 70%, transparent 100%);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, var(--bg) 0%, rgba(7, 8, 9, .6) 10%, transparent 30%);
}

.hero .wrap {
  position: relative;
  z-index: 2;
  padding: 64px 0;
}

.hero-content { max-width: 780px; }

.hero h1 { margin-bottom: 26px; }

.lead {
  max-width: 620px;
  font-size: 18px;
  color: #c5c9cd;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-note {
  max-width: 560px;
  margin-top: 26px;
  font-size: 14px;
  color: var(--muted);
}

.trust {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 24px;
  border-left: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  color: #d0d5d9;
}

.trust-list li:first-child {
  padding-left: 0;
  border-left: 0;
}

.trust-num {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 1px;
  color: var(--accent);
}

/* ---------- 8. Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.services-grid .card { grid-column: span 2; }
.services-grid .card-wide { grid-column: span 3; }

.services-grid .icon {
  display: block;
  margin-top: 18px;
  line-height: 0;
  color: var(--accent);
}

.services-grid h3 {
  margin: 14px 0 8px;
  font-size: 21px;
  letter-spacing: -.5px;
}

.services-grid .card p:not(.card-label) {
  font-size: 14px;
  color: var(--muted);
}

.card-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 900;
  color: var(--accent);
  transition: color .2s ease;
}

.card-more:hover { color: var(--accent2); }

/* ---------- 9. Speed-limit feature ---------- */
.title-long {
  max-width: 900px;
  font-size: clamp(28px, 3.6vw, 46px);
  letter-spacing: -.045em;
}

.feature {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  min-height: 520px;
  overflow: hidden;
  background: #0d1012;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.feature-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 52px 56px;
}

.speed-big {
  margin-bottom: 20px;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 950;
  line-height: .98;
  letter-spacing: -.055em;
}

.feature-text {
  max-width: 520px;
  color: #a7adb2;
}

.feature-media {
  position: relative;
  min-height: 320px;
}

.feature-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #0d1012 0%, rgba(13, 16, 18, .6) 22%, rgba(13, 16, 18, 0) 55%),
    linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, transparent 42%);
}

.badge {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  max-width: calc(100% - 40px);
  padding: 9px 14px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: rgba(7, 8, 9, .68);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.6px;
}

.media-caption {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 1;
  font-size: 13px;
  font-weight: 800;
}

.steps-strip {
  display: flex;
  margin-top: 18px;
  overflow: hidden;
  background: #0d1012;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.steps-strip li {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  font-size: 14px;
  font-weight: 800;
}

.steps-strip li + li { border-left: 1px solid var(--line); }

.steps-strip li:not(:last-child)::after {
  content: "→";
  margin-left: auto;
  font-weight: 900;
  color: var(--accent);
}

/* ---------- 10. Split sections (obnova, predelave) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split h2 {
  margin-bottom: 20px;
  font-size: clamp(32px, 4vw, 50px);
}

.split-text {
  max-width: 540px;
  color: var(--muted);
}

.photo {
  position: relative;
  overflow: hidden;
  background: #0c0f11;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.photo img {
  width: 100%;
  height: auto;
  transition: transform .5s ease;
}

.photo:hover img { transform: scale(1.04); }

.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .6) 0%, transparent 40%);
  pointer-events: none;
}

.photo figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  padding: 6px 11px;
  border-radius: 8px;
  background: rgba(7, 8, 9, .72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 12px;
  font-weight: 800;
}

/* Two-column masonry: every photo is shown whole, columns balance themselves */
.mosaic,
.pair,
.quad {
  columns: 2;
  column-gap: 12px;
}

.mosaic .photo,
.pair .photo,
.quad .photo {
  margin-bottom: 12px;
  break-inside: avoid;
}

.mosaic {
  padding: 10px 10px 0;
  background: #0d1012;
  border: 1px solid var(--line);
  border-radius: 20px;
}

/* ---------- 11. Gallery & lightbox ---------- */
.gallery {
  columns: 3;
  column-gap: 12px;
}

.tile {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  overflow: hidden;
  break-inside: avoid;
  background: #0c0f11;
  border: 1px solid #202428;
  border-radius: 13px;
  text-align: left;
  cursor: zoom-in;
}

.tile img {
  width: 100%;
  height: auto;
  filter: saturate(.94) contrast(1.02);
  transition: transform .5s ease;
}

.tile:hover img { transform: scale(1.04); }

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .25) 34%, transparent 58%);
  pointer-events: none;
}

.tile-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  display: block;
}

.tile-caption strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.tile-caption small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #b4bbc0;
}

.gallery-note {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px 20px 72px;
  background: rgba(0, 0, 0, .93);
}

.lightbox-figure {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  max-width: 1100px;
}

.lightbox.zoomed .lightbox-figure { max-width: 100%; }

.lightbox-stage {
  display: flex;
  max-width: 100%;
  max-height: 82vh;
  overflow: auto;
}

.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  margin: auto;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox.can-zoom .lightbox-img { cursor: zoom-in; }

.lightbox.zoomed .lightbox-img {
  width: 1200px;
  max-width: none;
  max-height: none;
  cursor: zoom-out;
}

.lightbox-title {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 26px;
  padding: 0 70px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  pointer-events: none;
}

.lightbox-close,
.lightbox-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0 0 3px;
  border: 1px solid #3a4046;
  border-radius: 50%;
  background: rgba(20, 24, 27, .9);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2;
}

.lightbox-nav { flex-shrink: 0; }

/* ---------- 12. Knowledge ---------- */
.knowledge {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.k-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
}

.k-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  overflow: hidden;
  background: #e9ecef;
  border: 1px solid #cdd3d8;
  border-radius: 12px;
  cursor: zoom-in;
}

.k-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.k-zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 11px;
  border-radius: 8px;
  background: rgba(7, 8, 9, .82);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .5px;
}

.k-body { padding: 0 6px 6px; }

.k-body h3 {
  margin: 6px 0 6px;
  font-size: 18px;
  line-height: 1.25;
}

.k-body p:not(.card-label) {
  font-size: 14px;
  color: var(--muted);
}

.k-big {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, .8fr) 1.2fr;
  align-items: center;
  gap: 40px;
  padding: 22px;
}

.k-big .k-frame {
  aspect-ratio: auto;
  height: 520px;
}

.k-big .k-body h3 {
  margin: 10px 0 12px;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -.03em;
}

.k-big .k-body p:not(.card-label) { font-size: 16px; }

.k-big .k-body .k-hint {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.knowledge-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 28px;
  padding: 22px 28px;
  background: #0d1012;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.knowledge-cta p {
  font-size: 17px;
  font-weight: 800;
}

/* ---------- 13. Experience ---------- */
.experience {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  overflow: hidden;
  background: #0d1012;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.experience-media {
  position: relative;
  min-height: 320px;
}

.experience-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, #0d1012 0%, rgba(13, 16, 18, .55) 22%, rgba(13, 16, 18, 0) 60%);
}

.experience-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 52px 55px;
}

.experience-body h2 {
  margin-bottom: 20px;
  font-size: clamp(28px, 3.3vw, 44px);
  letter-spacing: -.045em;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.principles h3 {
  margin: 8px 0 6px;
  font-size: 19px;
}

.principles .card p:not(.card-label) {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- 14. Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step {
  padding: 34px 26px;
  border-left: 1px solid var(--line);
}

.step:first-child {
  padding-left: 0;
  border-left: 0;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  color: var(--accent);
}

.step h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.step p {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- 15. FAQ ---------- */
.faq { max-width: 900px; }

.faq details {
  margin-bottom: 10px;
  background: linear-gradient(145deg, #14181b, #0c0f11);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .2s ease;
}

.faq details[open],
.faq details:hover { border-color: #3b4248; }

.faq summary {
  position: relative;
  padding: 20px 60px 20px 24px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 24px;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  transform: translateY(-50%);
}

.faq details[open] summary::after { content: "–"; }

.faq details p {
  padding: 0 24px 22px;
  color: var(--muted);
}

/* ---------- 16. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 18px;
}

.contact-grid .card { padding: 40px; }

.contact-grid h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 50px);
}

.card-static:hover {
  transform: none;
  border-color: var(--line);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: #d0d5d9;
}

.contact-list svg {
  flex-shrink: 0;
  color: var(--accent);
}

.contact-list a[href^="tel"] {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
}

.contact-list a { transition: color .2s ease; }
.contact-list a:hover { color: var(--accent2); }

.contact-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3px;
  color: #d0d5d9;
}

.field label span { color: var(--accent); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 15px;
  background: #090b0d;
  border: 1px solid #2a2f33;
  border-radius: 10px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field select { cursor: pointer; }

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder { color: #7d858b; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 101, 0, .18);
}

.form-note {
  font-size: 13px;
  color: var(--muted);
}

.form-error {
  margin: 0;
  padding: 12px 14px;
  background: rgba(220, 38, 38, .12);
  border: 1px solid rgba(220, 38, 38, .5);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #ff8f8f;
}

.btn:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  background: rgba(255, 101, 0, .09);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
}

.form-success svg {
  flex-shrink: 0;
  color: var(--accent);
}

.form-success p {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}

/* ---------- 17. Footer & call bar ---------- */
.site-footer {
  padding-top: 64px;
  background: #060708;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr .8fr .8fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-logo {
  margin-bottom: 14px;
  font-size: 19px;
  font-weight: 950;
  letter-spacing: -1.2px;
}

.footer-logo span { color: var(--accent); }

.footer-brand p:not(.footer-logo) {
  max-width: 320px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer h3 {
  margin-bottom: 16px;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text);
}

.site-footer li {
  margin-bottom: 9px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer li a { transition: color .2s ease; }
.site-footer li a:hover { color: var(--accent2); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.call-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 70;
  display: none;
  gap: 10px;
  padding: 10px 4% calc(10px + env(safe-area-inset-bottom));
  background: rgba(7, 8, 9, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transition: transform .3s ease;
}

.call-bar .btn {
  flex: 1;
  padding: 14px 10px;
  font-size: 12px;
}

#call-toggle { flex: .6; }

.call-bar.is-hidden { transform: translateY(110%); }

/* ---------- 18. Scroll reveal ---------- */
.reveal { transition: opacity .7s ease, transform .7s ease; }

.js .reveal:not(.in) {
  opacity: 0;
  transform: translateY(26px);
}

/* ---------- 19. Responsive ---------- */
@media (max-width: 1240px) {
  .nav { gap: 20px; }
}

@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}

@media (min-width: 1101px) {
  .mobile-menu { display: none !important; }
}

@media (max-width: 900px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-media img {
    width: 100%;
    object-position: 60% 50%;
  }

  .hero-media::before {
    background: linear-gradient(180deg, rgba(5, 6, 7, .72) 0%, rgba(5, 6, 7, .86) 55%, rgba(5, 6, 7, .96) 100%);
  }

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

  .trust-list li,
  .trust-list li:first-child {
    padding: 22px 20px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .trust-list li:nth-child(-n+2) { border-top: 0; }
  .trust-list li:nth-child(even) { border-left: 1px solid var(--line); }
  .trust-list li:nth-child(odd) { padding-left: 0; }

  .trust-list li:nth-child(5) {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
  }

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

  .services-grid .card,
  .services-grid .card-wide { grid-column: auto; }

  .feature,
  .experience { grid-template-columns: 1fr; }

  .feature-media,
  .experience-media {
    order: -1;
    min-height: 320px;
  }

  .feature-media::after,
  .experience-media::after {
    background: linear-gradient(0deg, #0d1012 0%, rgba(13, 16, 18, .45) 30%, rgba(13, 16, 18, 0) 60%);
  }

  .feature-body,
  .experience-body { padding: 40px 36px 44px; }

  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }


  .gallery { columns: 2; }

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

  .k-big {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .k-big .k-frame { height: 480px; }

  .principles { grid-template-columns: 1fr; }

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

  .step,
  .step:first-child {
    padding: 28px 24px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .step:nth-child(-n+2) { border-top: 0; }
  .step:nth-child(even) { border-left: 1px solid var(--line); }
  .step:last-child { grid-column: 1 / -1; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .call-bar { display: flex; }

  .site-footer { padding-bottom: 72px; }
}

@media (max-width: 620px) {
  .section { padding: 72px 0; }

  .hero { min-height: 0; }

  .hero .wrap { padding: 44px 0 56px; }

  .hero-actions .btn { width: 100%; }

  .trust-list { grid-template-columns: 1fr; }

  .trust-list li,
  .trust-list li:first-child,
  .trust-list li:nth-child(even),
  .trust-list li:nth-child(odd) {
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .trust-list li:first-child { border-top: 0; }

  .services-grid { grid-template-columns: 1fr; }

  .steps-strip { flex-direction: column; }

  .steps-strip li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .steps-strip li:not(:last-child)::after { content: "↓"; }

  .feature-body,
  .experience-body { padding: 32px 24px 36px; }


  .gallery { column-gap: 10px; }

  .tile { margin-bottom: 10px; }

  .tile-caption {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .tile-caption strong { font-size: 13px; }

  .knowledge { grid-template-columns: 1fr; }

  .k-big .k-frame { height: 420px; }

  .knowledge-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .process { grid-template-columns: 1fr; }

  .step,
  .step:first-child,
  .step:nth-child(even) {
    padding: 26px 0;
    border-left: 0;
  }

  .step:nth-child(2) { border-top: 1px solid var(--line); }

  .contact-grid .card { padding: 28px 22px; }

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

  .footer-grid { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; }

  .lightbox {
    gap: 8px;
    padding: 64px 8px 72px;
  }

  .lightbox-nav {
    width: 38px;
    height: 38px;
    font-size: 26px;
  }

  .lightbox-title { padding: 0 20px; }
}

/* ---------- 20. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }

  .js .reveal:not(.in) {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 21. 404 page ---------- */
.error-page {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: 72px;
  background:
    radial-gradient(ellipse at 80% 42%, rgba(255, 101, 0, .24), transparent 52%),
    linear-gradient(135deg, #171b1f, #0a0c0e);
}

.error-content { padding: 64px 0; }

.error-content h1 { margin-bottom: 26px; }

/* ---------- 22. Hero chip, on-site band ---------- */
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 15px 22px;
  border: 1px solid var(--accent);
  border-radius: 14px;
  background: rgba(255, 101, 0, .13);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  transition: background-color .2s ease, border-color .2s ease;
}

.hero-chip:hover {
  background: rgba(255, 101, 0, .22);
  border-color: var(--accent2);
}

.hero-chip svg {
  flex-shrink: 0;
  color: var(--accent2);
}

.hero-chip strong {
  font-weight: 900;
  color: var(--accent2);
}

.onsite {
  padding: 64px 0;
  background: linear-gradient(90deg, rgba(255, 101, 0, .16), rgba(255, 101, 0, .03) 65%), #0a0d0f;
  border-bottom: 1px solid rgba(255, 101, 0, .4);
}

.onsite-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 48px;
  margin-bottom: 32px;
}

.onsite-head h2 {
  max-width: 720px;
  font-size: clamp(32px, 4.2vw, 54px);
}

.onsite-lead {
  max-width: 500px;
  font-size: 20px;
  line-height: 1.5;
  color: #d0d5d9;
}

.onsite-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.05fr;
  gap: 16px;
}

.onsite-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: rgba(7, 8, 9, .62);
  border: 1px solid rgba(255, 101, 0, .45);
  border-radius: var(--radius);
}

.onsite-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: rgba(255, 101, 0, .14);
  color: var(--accent);
}

.onsite-item h3 {
  margin-bottom: 8px;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.onsite-item p {
  font-size: 18px;
  line-height: 1.5;
  color: #c5c9cd;
}

.onsite-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.onsite-cta p {
  font-size: 18px;
  font-weight: 800;
}

/* ---------- 23. Price list ---------- */
.free-banner {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 28px;
  padding: 28px 32px;
  background: rgba(255, 101, 0, .09);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
}

.free-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 101, 0, .16);
  color: var(--accent);
}

.free-title {
  margin-bottom: 6px;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.free-text {
  max-width: 860px;
  font-size: 16px;
  color: #d0d5d9;
}

.price-list {
  columns: 2;
  column-gap: 14px;
}

.price-group {
  margin-bottom: 14px;
  padding: 4px 26px 8px;
  break-inside: avoid;
  background: linear-gradient(145deg, #14181b, #0c0f11);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.price-group h3 {
  padding: 20px 0 12px;
  border-bottom: 1px solid #333a3f;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
}

.price-group li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.price-group li:last-child { border-bottom: 0; }

.p-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.p-name small {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.p-price {
  flex-shrink: 0;
  font-size: 21px;
  font-weight: 950;
  white-space: nowrap;
  color: var(--accent);
}

.p-price em {
  margin-right: 3px;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  color: var(--muted);
}

.price-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}

.fine-print {
  max-width: 760px;
  margin: 26px 0 0 auto;
  font-size: 11.5px;
  line-height: 1.55;
  text-align: right;
  color: var(--muted);
}

/* ---------- 24. Process emphasis, speed spec panel, split extras ---------- */
.step-hot { background: rgba(255, 101, 0, .08); }

.step-hot .step-num {
  background: var(--accent);
  color: #070809;
}

.step-hot h3 { font-size: 19px; }

.step-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 11px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: rgba(255, 101, 0, .16);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent2);
}

.feature-duo {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: center;
  align-content: center;
  padding: 16px;
  background: #0d1012;
  border-left: 1px solid var(--line);
}

.feature-duo .photo { margin: 0; }

.feature-duo .badge {
  top: 12px;
  right: auto;
  left: 12px;
  max-width: calc(100% - 24px);
  font-size: 10px;
  letter-spacing: 1.2px;
}

.split-links {
  margin: -8px 0 26px;
  max-width: 560px;
  font-size: 14px;
  color: var(--muted);
}

.split-links a {
  color: var(--accent2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.split-links a:hover { color: var(--text); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.boat-art {
  display: grid;
  place-items: center;
  padding: 36px;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(255, 101, 0, .14), transparent 60%),
    #0d1012;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: #5b646b;
}

.boat-art svg {
  width: 100%;
  max-width: 480px;
  height: auto;
}

.boat-accent { color: var(--accent); }

/* ---------- 25. Brands ---------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.brand-grid li {
  display: grid;
  place-items: center;
  min-height: 80px;
  padding: 14px;
  background: linear-gradient(145deg, #14181b, #0c0f11);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .2s ease;
}

.brand-grid li:hover { border-color: #3b4248; }

.wordmark {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--muted);
  transition: color .2s ease;
}

.brand-grid li:hover .wordmark { color: var(--text); }

.wordmark-soft {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-grid img {
  width: auto;
  max-width: 100%;
  height: 34px;
  filter: grayscale(1) brightness(1.7);
  opacity: .75;
  transition: opacity .2s ease, filter .2s ease;
}

.brand-grid li:hover img {
  filter: none;
  opacity: 1;
}

.brand-note {
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- 26. Contact extras, map, call choice ---------- */
.contact-onsite {
  padding: 13px 16px;
  background: rgba(255, 101, 0, .09);
  border: 1px solid rgba(255, 101, 0, .5);
  border-radius: 12px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.map-wrap { margin-top: 18px; }

.map-frame {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: #0d1012;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-address {
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
}

.map-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 800;
  color: var(--accent2);
}

.map-link:hover { color: var(--text); }

.call-choice {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 4%;
  display: grid;
  gap: 8px;
  padding: 10px;
  background: #0d1012;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .6);
}

.call-choice a {
  padding: 14px 26px;
  border-radius: 10px;
  background: var(--accent);
  font-size: 19px;
  font-weight: 900;
  text-align: center;
}

/* ---------- 27. Responsive additions ---------- */
@media (max-width: 900px) {
  .onsite-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-duo {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .onsite-grid { grid-template-columns: 1fr 1fr; }

  .onsite-cta {
    flex-flow: row wrap;
    grid-column: 1 / -1;
    align-items: center;
  }

  .onsite-cta p { flex-basis: 100%; }

  .price-list { columns: 1; }

  .fine-print {
    margin-left: 0;
    text-align: left;
  }

}

@media (max-width: 620px) {
  .hero-chip {
    padding: 14px 16px;
    font-size: 18px;
  }

  .onsite { padding: 52px 0; }

  .feature-duo .photo figcaption {
    right: 8px;
    left: 8px;
    bottom: 8px;
    font-size: 11px;
  }
  .onsite-grid { grid-template-columns: 1fr; }
  .onsite-item { padding: 22px; }
  .onsite-item h3 { font-size: 24px; }
  .onsite-cta .btn { flex: 1 1 100%; }

  .free-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 22px;
  }

  .price-group { padding: 4px 20px 8px; }

  .price-group li {
    flex-direction: column;
    gap: 6px;
  }

  .boat-art { padding: 22px; }

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

  .map-frame { height: 280px; }

  .contact-list a[href^="tel"] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* ---------- 28. Hero claim (2T / 4T, all brands) ---------- */
.hero-claim {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

.hero-claim svg {
  flex-shrink: 0;
  color: var(--accent);
}

.hero-claim strong {
  font-weight: 900;
  color: var(--accent2);
}

@media (max-width: 620px) {
  .hero-claim { font-size: 18px; }
}
