/* ==========================================================================
   AutoBello — Кузовний ремонт. Основні стилі сайту.
   ========================================================================== */

:root {
  --bg: #0b0c0f;
  --bg-soft: #121319;
  --surface: #171921;
  --surface-2: #1d202b;
  --border: #2a2d3a;
  --text: #f5f6f8;
  --text-muted: #a6a9b8;
  --text-dim: #767a8c;
  --accent: #ff5a1f;
  --accent-2: #ffb020;
  --accent-dark: #d94612;
  --success: #2ecc71;
  --danger: #ff5470;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

button {
  font-family: inherit;
}

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

section {
  padding: 88px 0;
}

@media (max-width: 768px) {
  section {
    padding: 56px 0;
  }
}

.section-head {
  max-width: 680px;
  margin: 0 0 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lead {
  font-size: 18px;
  color: var(--text-muted);
  margin-top: 16px;
}

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

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #17130d;
  box-shadow: 0 14px 30px -12px rgba(255, 90, 31, 0.65);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -12px rgba(255, 90, 31, 0.8);
}

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

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

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 18px 34px;
  font-size: 16px;
}

/* ---------- Header ---------- */

.topbar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  padding-bottom: 9px;
  gap: 16px;
}

.topbar-left {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar a:hover {
  color: var(--accent);
}

.topbar-social {
  display: flex;
  gap: 14px;
}

.topbar-social a {
  color: var(--text-dim);
}

.topbar-social svg {
  width: 16px;
  height: 16px;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 12, 15, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

header.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(11, 12, 15, 0.97);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: 0 8px 18px -8px rgba(255, 90, 31, 0.7);
}

.logo-mark svg {
  width: 22px;
  height: 22px;
  color: #16130d;
}

.logo small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--text);
}

.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

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

.nav-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.25;
}

.nav-phone a {
  font-weight: 800;
  font-size: 16px;
}

.nav-phone span {
  font-size: 11px;
  color: var(--text-dim);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  flex: none;
  cursor: pointer;
}

.burger span,
.burger span::before,
.burger span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: 0.2s;
}

.burger span::before {
  position: absolute;
  top: -6px;
}

.burger span::after {
  position: absolute;
  top: 6px;
}

body.nav-open .burger span {
  background: transparent;
}

body.nav-open .burger span::before {
  top: 0;
  transform: rotate(45deg);
  background: var(--accent);
}

body.nav-open .burger span::after {
  top: 0;
  transform: rotate(-45deg);
  background: var(--accent);
}

@media (max-width: 960px) {
  .main-nav {
    position: fixed;
    inset: 73px 0 0 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 24px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: 0.22s ease;
    overflow-y: auto;
  }

  .main-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 17px;
  }

  body.nav-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-phone {
    display: none;
  }

  .burger {
    display: flex;
  }
}

/* ---------- Hero (homepage) ---------- */

.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  background: #08090b;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 11, 0.55) 0%, rgba(8, 9, 11, 0.88) 62%, #08090b 100%),
    linear-gradient(90deg, rgba(8, 9, 11, 0.92) 8%, rgba(8, 9, 11, 0.35) 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(23, 25, 33, 0.75);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex: none;
}

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

.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 72px;
}

.hero-stats div {
  background: rgba(18, 19, 25, 0.9);
  padding: 26px 20px;
  text-align: center;
}

.hero-stats strong {
  display: block;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--accent-2);
}

.hero-stats span {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .hero {
    padding: 96px 0 64px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Page header (inner pages) ---------- */

.page-header {
  position: relative;
  padding: 74px 0 64px;
  overflow: hidden;
  background: #08090b;
}

.page-header .hero-media::after {
  background: linear-gradient(180deg, rgba(8, 9, 11, 0.72) 0%, rgba(8, 9, 11, 0.93) 100%);
}

.breadcrumbs {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.page-header h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(30px, 4.4vw, 46px);
}

.page-header .lead {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

/* ---------- Trust strip ---------- */

.trust-strip {
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.trust-strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}

.trust-strip li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-muted);
}

.trust-strip svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex: none;
}

/* ---------- Cards / grid ---------- */

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

@media (max-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 90, 31, 0.4);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: rgba(255, 90, 31, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 15px;
}

.card-price {
  margin-top: 18px;
  font-weight: 800;
  color: var(--accent-2);
  font-size: 15px;
}

.card-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
}

.card-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.18s ease;
}

.card:hover .card-link svg {
  transform: translateX(3px);
}

/* ---------- Service detail rows (services.html) ---------- */

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.service-row:last-child {
  border-bottom: none;
}

.service-row.reverse .service-row-media {
  order: 2;
}

.service-row-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
}

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

.service-row-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: block;
}

.service-row ul.checklist {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-muted);
}

.checklist svg {
  width: 19px;
  height: 19px;
  color: var(--success);
  flex: none;
  margin-top: 1px;
}

@media (max-width: 860px) {
  .service-row,
  .service-row.reverse {
    grid-template-columns: 1fr;
  }
  .service-row.reverse .service-row-media {
    order: 0;
  }
}

/* ---------- Process ---------- */

.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}

.process-item {
  position: relative;
  padding: 28px 20px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.process-item .num {
  font-size: 34px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  margin-bottom: 14px;
  display: block;
}

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

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

@media (max-width: 960px) {
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .process-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Gallery ---------- */

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.gallery-filter button {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: 0.18s ease;
}

.gallery-filter button:hover {
  border-color: var(--accent);
}

.gallery-filter button.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #17130d;
}

.gallery-grid {
  columns: 4 260px;
  column-gap: 20px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  transition: transform 0.35s ease;
}

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

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 16px 14px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent);
  font-size: 13px;
  font-weight: 700;
}

.gallery-caption span {
  display: block;
  font-weight: 500;
  color: var(--text-muted);
  font-size: 12px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 6, 8, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 84vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
}

/* ---------- Pricing ---------- */

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.price-table caption {
  text-align: left;
  padding: 22px 26px 4px;
  font-weight: 800;
  font-size: 18px;
  caption-side: top;
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 16px 26px;
  border-top: 1px solid var(--border);
  font-size: 15px;
}

.price-table thead th {
  border-top: none;
  color: var(--text-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: 0;
}

.price-table tr td:last-child,
.price-table tr th:last-child {
  text-align: right;
  font-weight: 800;
  color: var(--accent-2);
  white-space: nowrap;
}

.price-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-dim);
}

.price-tables {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

/* ---------- Pricing plan cards (calculator CTA) ---------- */

.price-cta {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.price-cta-media {
  position: relative;
  min-height: 260px;
}

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

.price-cta-body {
  padding: 44px;
}

@media (max-width: 860px) {
  .price-cta {
    grid-template-columns: 1fr;
  }
  .price-cta-media {
    min-height: 200px;
  }
}

/* ---------- Testimonials ---------- */

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--accent-2);
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
}

.testimonial p.quote {
  font-size: 15px;
  color: var(--text-muted);
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testimonial-person img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-person strong {
  display: block;
  font-size: 14px;
}

.testimonial-person span {
  font-size: 12px;
  color: var(--text-dim);
}

/* ---------- CTA banner ---------- */

.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 64px;
  text-align: center;
}

.cta-banner .hero-media::after {
  background: linear-gradient(135deg, rgba(10, 8, 6, 0.9), rgba(217, 70, 18, 0.55));
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}

.cta-banner .btn {
  margin-top: 30px;
}

@media (max-width: 640px) {
  .cta-banner {
    padding: 44px 24px;
  }
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  gap: 16px;
}

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

.faq-item summary .plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  position: relative;
}

.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: "";
  position: absolute;
  background: var(--text-muted);
  transition: 0.2s;
}

.faq-item summary .plus::before {
  width: 10px;
  height: 2px;
}

.faq-item summary .plus::after {
  width: 2px;
  height: 10px;
}

.faq-item[open] summary .plus::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item[open] summary .plus {
  border-color: var(--accent);
}

.faq-item .faq-body {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 15px;
}

/* ---------- Forms ---------- */

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

@media (max-width: 640px) {
  .form-card {
    padding: 26px;
  }
}

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

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #191b24;
}

.field-hint {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 6px;
}

.field-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.field-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex: none;
}

.field-check a {
  color: var(--accent);
  text-decoration: underline;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.form-msg {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.form-msg.is-visible {
  display: flex;
}

.form-msg.error {
  background: rgba(255, 84, 112, 0.12);
  color: #ff8398;
  border: 1px solid rgba(255, 84, 112, 0.35);
}

.form-msg svg {
  width: 20px;
  height: 20px;
  flex: none;
}

/* ---------- Contact / map ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
}

.contact-info-item .card-icon {
  margin-bottom: 0;
}

.contact-info-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 14px;
  color: var(--text-muted);
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/10;
}

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

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-grid h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text);
}

.footer-grid ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-grid a {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-grid a:hover {
  color: var(--accent);
}

.footer-about p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 16px 0 20px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social svg {
  width: 17px;
  height: 17px;
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-bottom a:hover {
  color: var(--accent);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------- Mobile sticky CTA ---------- */

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: none;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(11, 12, 15, 0.96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

@media (max-width: 720px) {
  .mobile-cta {
    display: flex;
  }
  body {
    padding-bottom: 70px;
  }
}

.mobile-cta a {
  flex: 1;
}

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  display: none;
  gap: 16px;
  flex-direction: column;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  font-size: 13px;
  color: var(--text-muted);
}

.cookie-banner p a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions .btn {
  padding: 11px 18px;
  font-size: 13px;
}

@media (max-width: 720px) {
  .cookie-banner {
    bottom: 84px;
  }
}

/* ---------- Reveal on scroll ---------- */

/* За замовчуванням увесь контент видимий (без JS чи для пошукових ботів).
   Анімація появи вмикається лише тоді, коли JS підтвердив підтримку. */
.reveal {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js-anim .reveal {
  opacity: 0;
  transform: translateY(22px);
}

html.js-anim .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Alt sections ---------- */

.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(11, 12, 15, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.media-badge strong {
  display: block;
  font-size: 22px;
  color: var(--accent-2);
}

.media-badge span {
  font-size: 12px;
  color: var(--text-muted);
}

.about-list {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 560px) {
  .about-list {
    grid-template-columns: 1fr;
  }
}

.about-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.about-list svg {
  width: 19px;
  height: 19px;
  color: var(--success);
  flex: none;
  margin-top: 1px;
}

/* ---------- Team ---------- */

.team-card {
  text-align: center;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.team-card strong {
  display: block;
  font-size: 16px;
}

.team-card span {
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------- Misc pages (privacy / thanks) ---------- */

.prose h2 {
  font-size: 22px;
  margin: 40px 0 14px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 12px;
}

.prose ul {
  padding-left: 20px;
  list-style: disc;
  margin-bottom: 12px;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
}

.thanks-box {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.thanks-icon {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 26px;
}

.thanks-icon svg {
  width: 46px;
  height: 46px;
  color: var(--success);
}

.thanks-box .btn {
  margin-top: 30px;
}

/* ---------- 404 style block reused for privacy header spacing ---------- */

.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
}
