/* ==========================================================================
   СОЛКАР — стили
   ========================================================================== */

:root {
  --navy-950: #0b1229;
  --navy-900: #0f172a;
  --navy-800: #17307e;
  --blue-700: #1f3fb7;
  --blue-600: #2c4fd6;
  --blue-100: #e7ecfc;

  --bg: #ffffff;
  --bg-muted: #f5f7fc;
  --bg-dark: var(--navy-900);

  --text: #10162b;
  --text-muted: #5b6478;
  --text-inverse: #f6f8ff;

  --border: #e6e9f2;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.16);

  --container: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --font-head: 'Manrope', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  margin: 0;
  color: var(--text);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
}

p { margin: 0; }

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue-700);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--navy-900);
  color: #fff;
}
.btn--primary:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--navy-900);
  transform: translateY(-2px);
}
.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn--ghost-light:hover {
  border-color: #fff;
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn--outline:hover {
  background: var(--navy-900);
  color: #fff;
}
.btn--lg { padding: 16px 34px; font-size: 1rem; }
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }

/* ---------- Eyebrow / section head ---------- */
.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--blue-700);
  margin: 0 0 14px;
}
.section-head { max-width: 640px; margin: 0 0 56px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.section-head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

section { padding: 100px 0; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), padding .3s var(--ease), border-color .3s var(--ease);
}
.header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
  padding: 14px 0;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo img { height: 36px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--blue-700);
  transition: right .25s var(--ease);
}
.nav__link:hover::after { right: 0; }

.header__actions { display: flex; align-items: center; gap: 16px; }

.burger {
  position: relative;
  z-index: 96;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 41, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
  z-index: 90;
}
.nav-backdrop.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: #fff;
  padding: 150px 0 70px;
  overflow: hidden;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.hero__text {
  max-width: 720px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--text);
}
.hero .accent { color: var(--blue-700); }

.hero__subtitle {
  margin: 22px 0 36px;
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.hero__media {
  width: 100%;
  margin-top: 56px;
  display: flex;
  justify-content: center;
}
.hero__media img {
  width: 100%;
  max-width: 1100px;
  height: auto;
}

/* ---------- Brands ---------- */
.brands {
  background: var(--bg);
  padding: 8px 0 40px;
}
.brands__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.brands__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 56px;
  animation: brands-scroll 70s linear infinite;
  will-change: transform;
}
.brands__viewport:hover .brands__track {
  animation-play-state: paused;
}
.brands__item {
  flex: none;
  height: 34px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: opacity .25s var(--ease);
}
.brands__item:hover {
  opacity: 1;
}
@keyframes brands-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .brands__track { animation: none; }
}

/* ---------- Stats ---------- */
.stats {
  background: var(--bg);
  padding: 0 0 64px;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.stat {
  padding: 0 24px;
  text-align: left;
  border-left: 1px solid var(--border);
}
.stat:first-child {
  padding-left: 0;
  border-left: none;
}
.stat__value {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--text);
  margin-bottom: 8px;
}
.stat__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ---------- Why ---------- */
.why { background: var(--bg); }
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  background: #fff;
}
.why-card__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--blue-700);
  margin-bottom: 18px;
}
.why-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.why-card p { color: var(--text-muted); line-height: 1.6; font-size: 0.95rem; }

/* ---------- Steps ---------- */
.steps {
  position: relative;
  background: var(--navy-950);
  overflow: hidden;
}
.steps::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(11, 18, 41, .68), rgba(11, 18, 41, .88)), url('../img/steps-bg.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.steps > .container { position: relative; z-index: 1; }
.steps .eyebrow { color: #9db4ff; }
.steps .section-head h2 { color: #fff; }
.steps .btn--primary { background: #fff; color: var(--blue-700); }
.steps .btn--primary:hover { background: var(--bg-muted); color: var(--blue-700); }

/* Winding path (desktop, horizontal & compact) */
.steps-path {
  position: relative;
  display: none;
  margin: 90px 0;
}
.steps-path__svg {
  display: block;
  width: 100%;
  height: auto;
}
.steps-path__svg path {
  fill: none;
  stroke: rgba(255, 255, 255, .4);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1 14;
}
.steps-path__list {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.step-node {
  position: absolute;
  transform: translate(-50%, -50%);
}
.step-node__dot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-700);
  color: #fff;
  border: 4px solid rgba(255, 255, 255, .9);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.step-node__dot:hover,
.step-node__dot:focus-visible {
  background: var(--navy-900);
  transform: scale(1.08);
}
.step-node.is-open .step-node__dot { background: var(--navy-900); }

.step-node__pop {
  position: absolute;
  left: 50%;
  width: 210px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-md);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 5;
}
.step-node__pop h3 { font-size: 0.94rem; margin-bottom: 4px; }
.step-node__pop p { margin: 0; font-size: 0.82rem; color: var(--text-muted); line-height: 1.45; }
.step-node__pop::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}

.step-node--up .step-node__pop {
  bottom: calc(100% + 18px);
  transform: translateX(-50%) translateY(8px);
}
.step-node--up .step-node__pop::after { bottom: -6px; }

.step-node--down .step-node__pop {
  top: calc(100% + 18px);
  transform: translateX(-50%) translateY(-8px);
}
.step-node--down .step-node__pop::after { top: -6px; }

.step-node--edge-start .step-node__pop { left: 0; }
.step-node--edge-start .step-node__pop::after { left: 22px; }
.step-node--edge-end .step-node__pop { left: auto; right: 0; }
.step-node--edge-end .step-node__pop::after { left: auto; right: 22px; }
.step-node--up.step-node--edge-start .step-node__pop { transform: translateY(8px); }
.step-node--down.step-node--edge-end .step-node__pop { transform: translateY(-8px); }

.step-node:hover .step-node__pop,
.step-node:focus-within .step-node__pop,
.step-node.is-open .step-node__pop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.step-node--edge-start:hover .step-node__pop,
.step-node--edge-start:focus-within .step-node__pop,
.step-node--edge-start.is-open .step-node__pop,
.step-node--edge-end:hover .step-node__pop,
.step-node--edge-end:focus-within .step-node__pop,
.step-node--edge-end.is-open .step-node__pop {
  transform: translateY(0);
}

/* Mobile fallback list */
.steps__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

@media (min-width: 901px) {
  .steps-path { display: block; }
  .steps__list { display: none; }
}
.step {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 26px;
  border: 1px solid var(--border);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative;
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.step__num {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  background: var(--navy-900);
  width: 34px; height: 34px;
  line-height: 34px;
  text-align: center;
  border-radius: 50%;
  margin-bottom: 18px;
}
.step:hover .step__num { background: var(--blue-700); }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.55; }

/* ---------- Reviews ---------- */
.reviews { background: var(--bg); }
.reviews__controls {
  display: flex;
  align-items: center;
  gap: 16px;
}
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-muted);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-family: var(--font-head);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.rating-badge:hover { background: var(--blue-100); transform: translateY(-2px); }
.rating-badge__stars { color: #f5a524; letter-spacing: 1px; font-size: 0.95rem; }
.rating-badge__value { font-weight: 800; font-size: 1rem; }
.rating-badge__count { color: var(--text-muted); font-size: 0.82rem; font-weight: 500; }

.reviews__nav { display: flex; gap: 10px; flex-shrink: 0; }
.reviews__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-900);
  color: #fff;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), opacity .25s var(--ease);
}
.reviews__arrow:hover { background: var(--blue-700); }
.reviews__arrow[disabled] {
  background: var(--bg-muted);
  color: var(--text-muted);
  cursor: default;
  opacity: .7;
}
.reviews__arrow[disabled]:hover { background: var(--bg-muted); }

.reviews__viewport {
  margin-top: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.reviews__viewport::-webkit-scrollbar { display: none; }
.reviews__track {
  display: flex;
  gap: 22px;
}
.review-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.review-card__quote {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--border);
}
.review-card p { font-size: 0.9rem; line-height: 1.6; color: var(--text); flex-grow: 1; }
.review-card__meta { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
}
.review-card__info { display: flex; flex-direction: column; gap: 2px; }
.review-card__name { font-family: var(--font-head); font-weight: 700; font-size: 0.88rem; }
.review-card__date { font-size: 0.78rem; color: var(--text-muted); }
.reviews__cta { text-align: center; margin-top: 48px; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg); }
.faq__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
}
.faq__head { margin: 0; max-width: none; }
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--bg-muted);
  color: var(--text);
  border-radius: var(--radius-md);
  padding: 4px 26px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.faq-item[open] {
  background: var(--navy-900);
  color: #fff;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  gap: 20px;
  color: inherit;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}
.faq-item__icon::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 2px;
  width: 8px;
  height: 8px;
  margin: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq-item[open] .faq-item__icon::before {
  top: 6px;
  transform: rotate(225deg);
}
.faq-item__body {
  padding: 0 0 22px;
  color: inherit;
  opacity: .72;
  font-size: 0.95rem;
  line-height: 1.65;
}
.faq-item[open] .faq-item__link { color: #9db4ff; }
.faq-item__link { color: var(--blue-700); font-weight: 600; opacity: 1; }

/* ---------- Delivered gallery ---------- */
.delivered { background: var(--bg-muted); }
.delivered__viewport {
  overflow: hidden;
  margin-top: 48px;
  border-radius: var(--radius-md);
}
.delivered__track {
  display: flex;
  transition: transform .5s var(--ease);
}
.delivered__page {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.delivered__item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  background: #fff;
}
.delivered__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s var(--ease);
}
.delivered__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,18,41,0) 55%, rgba(11,18,41,.55) 100%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.delivered__item:hover::after { opacity: 1; }
.delivered__item:hover img { transform: scale(1.08); }

.delivered__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.delivered__pagenav {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-900);
  color: #fff;
  cursor: pointer;
  transition: background .25s var(--ease), opacity .25s var(--ease);
}
.delivered__pagenav:hover { background: var(--blue-700); }
.delivered__pagenav[disabled] {
  background: #fff;
  color: var(--text-muted);
  opacity: .6;
  cursor: default;
}
.delivered__dots { display: flex; align-items: center; gap: 8px; }
.delivered__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: var(--border);
  cursor: pointer;
  transition: background .25s var(--ease), width .25s var(--ease);
}
.delivered__dot.is-active { width: 22px; background: var(--navy-900); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 90px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 41, .88);
}
.lightbox__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  width: 100%;
  transform: scale(.96);
  transition: transform .3s var(--ease);
}
.lightbox.is-open .lightbox__dialog { transform: scale(1); }
.lightbox__img {
  max-width: 100%;
  max-height: 74vh;
  border-radius: var(--radius-md);
  object-fit: contain;
  box-shadow: var(--shadow-lg);
}
.lightbox__caption {
  color: #fff;
  margin: 16px 0 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, .24); }
.lightbox__close {
  top: -54px;
  right: 0;
  width: 40px;
  height: 40px;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
}
.lightbox__nav--prev { left: -66px; }
.lightbox__nav--next { right: -66px; }

/* ---------- Team ---------- */
.team { background: var(--bg); }
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.team-card {
  text-align: center;
}
.team-card__photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 10 / 9;
  margin-bottom: 18px;
  background: var(--bg-muted);
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.team-card:hover .team-card__photo img { transform: scale(1.06); }
.team-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-card__role { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 12px; }
.team-card__actions { display: flex; justify-content: center; gap: 10px; }
.icon-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--navy-900);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.icon-btn:hover { background: var(--blue-700); color: #fff; transform: translateY(-2px); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: radial-gradient(ellipse 100% 140% at 80% 20%, #1c2c63 0%, var(--navy-950) 60%);
  color: #fff;
  text-align: center;
}
.cta-banner__inner { max-width: 640px; margin: 0 auto; }
.cta-banner h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: #fff; margin-bottom: 18px; }
.cta-banner p { color: rgba(255,255,255,0.65); font-size: 1.02rem; margin-bottom: 36px; }
.cta-banner__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-banner .btn--primary { background: var(--blue-700); }
.cta-banner .btn--primary:hover { background: var(--blue-600); }

/* ---------- Map ---------- */
.map { background: var(--bg-muted); }
.map__embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  box-shadow: var(--shadow-md);
}

/* ---------- Legal (privacy policy page) ---------- */
.legal { padding-top: 160px; background: var(--bg); }
.legal__updated { color: var(--text-muted); font-size: 0.85rem; margin-top: 10px; }
.legal__content {
  max-width: 760px;
  color: var(--text);
}
.legal__content p { margin: 0 0 18px; line-height: 1.7; color: var(--text-muted); }
.legal__content h3 {
  font-size: 1.15rem;
  color: var(--text);
  margin: 40px 0 14px;
}
.legal__content ul {
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--text-muted);
}
.legal__content li { line-height: 1.7; margin-bottom: 8px; }
.legal__content a { color: var(--blue-700); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255,255,255,0.55); padding: 80px 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.logo--footer img { filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer__brand p { font-size: 0.9rem; line-height: 1.6; max-width: 320px; margin-bottom: 22px; }
.footer__socials { display: flex; gap: 12px; }
.footer__socials a {
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.footer__socials a:hover { border-color: #fff; color: #fff; }

.footer__col h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 0.9rem; }
.footer__col a:hover { color: #fff; }
.footer__cta p { font-size: 0.88rem; margin-bottom: 16px; line-height: 1.5; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 26px 0;
  font-size: 0.8rem;
}
.footer__bottom a {
  color: rgba(255, 255, 255, 0.55);
  transition: color .2s var(--ease);
}
.footer__bottom a:hover { color: #fff; }

/* ---------- Floating buttons ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
  z-index: 80;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--blue-700); }

.fixed-cta {
  display: none;
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  background: var(--blue-700);
  color: #fff;
  text-align: center;
  padding: 15px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  z-index: 80;
}

/* ---------- Cookie consent ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px;
  z-index: 110;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner p {
  flex: 1 1 320px;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.cookie-banner a { color: var(--blue-700); font-weight: 600; }
.cookie-banner__actions { flex-shrink: 0; }

body.cookie-open .to-top,
body.cookie-open .fixed-cta,
body.lightbox-open .to-top,
body.lightbox-open .fixed-cta { opacity: 0; pointer-events: none; }
body.lightbox-open { overflow: hidden; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .steps__list { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .faq__inner { grid-template-columns: 240px 1fr; gap: 36px; }
  .delivered__page { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    z-index: 95;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__link { font-size: 1.1rem; }
  .header__actions .btn--primary { display: none; }
  .burger { display: flex; }

  .hero { padding-top: 120px; }
  .hero__media { margin-top: 36px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat:nth-child(2n+1) { border-left: none; padding-left: 0; }
  .stat:nth-child(n+3) { padding-top: 24px; border-top: 1px solid var(--border); }

  .why__grid { grid-template-columns: 1fr; }
  .steps__list { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .review-card { flex-basis: 280px; }
  .faq__inner { grid-template-columns: 1fr; gap: 20px; }
  .faq__head { margin-bottom: 8px; }

  section { padding: 70px 0; }

  .fixed-cta { display: block; }
  .to-top { bottom: 84px; }
  .footer { padding-bottom: 90px; }

  .lightbox { padding: 60px 16px; }
  .lightbox__nav--prev { left: 4px; }
  .lightbox__nav--next { right: 4px; }
  .lightbox__close { top: -46px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .section-head--split { align-items: flex-start; }
  .team__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .delivered__page { grid-template-columns: repeat(4, 1fr); gap: 8px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
