:root {
  --bg: #07090e;
  --surface: #11151f;
  --surface-2: #1a2131;
  --text: #f7f8fc;
  --muted: #b8c0d0;
  --accent: #ff2828;
  --accent-2: #ff9f2f;
  --line: #283247;
  --max: 1120px;
  --radius: 18px;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  --anchor-offset: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

section[id] {
  scroll-margin-top: var(--anchor-offset);
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 10%, #191f2d 0, #0d1119 38%, #07090e 100%);
  line-height: 1.6;
}

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

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

.bg-orb {
  position: fixed;
  z-index: -1;
  filter: blur(64px);
  opacity: 0.6;
  pointer-events: none;
}

.bg-orb-one {
  width: 300px;
  height: 300px;
  top: 120px;
  right: 4%;
  background: #ff2828;
}

.bg-orb-two {
  width: 240px;
  height: 240px;
  bottom: 12%;
  left: 6%;
  background: #ff9f2f;
}

.container {
  width: min(calc(100% - 2.4rem), var(--max));
  margin: 0 auto;
}

.section-padding {
  padding: 5rem 0;
}

.section-surface {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.eyebrow {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-size: 0.78rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 4.3rem);
  margin-bottom: 0.85rem;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  margin-bottom: 0.4rem;
}

p {
  margin-top: 0;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 22;
  backdrop-filter: blur(8px);
  background: rgba(8, 10, 16, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand img {
  width: min(290px, 46vw);
  aspect-ratio: 1600 / 420;
  object-fit: contain;
  border-radius: 0;
}

.brand {
  display: inline-flex;
  margin-left: -0.45rem;
}

.contact-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.95rem 1.4rem;
  padding: 0 0 0.65rem;
  font-size: 0.88rem;
  color: #c7cedc;
}

.contact-strip a {
  color: #e9edf8;
  font-weight: 700;
}

.contact-strip > a,
.contact-strip > span {
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.partner-strip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  color: #d7ddef;
  font-weight: 600;
  font-size: 0.78rem;
}

.partner-strip span {
  white-space: nowrap;
}

.partner-link {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.3rem;
  border: 1px solid rgba(58, 156, 255, 0.4);
  border-radius: 8px;
  background: rgba(8, 16, 28, 0.6);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.partner-link:hover {
  border-color: rgba(90, 182, 255, 0.75);
  transform: translateY(-1px);
}

.partner-link img {
  width: 108px;
  height: auto;
  display: block;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.social-icon {
  width: 1.12rem;
  height: 1.12rem;
  flex-shrink: 0;
}

.instagram-icon {
  border-radius: 0.3rem;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.35));
  transition: transform 0.2s ease;
}

.instagram-link:hover .instagram-icon {
  transform: translateY(-1px);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
}

.primary-nav a {
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.primary-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  font-weight: 700;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy p {
  font-size: 1.08rem;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  margin: 1.5rem 0 1.1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 0.72rem 1.05rem;
  font-weight: 800;
  background: linear-gradient(120deg, var(--accent), #ff4e2f);
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 40, 40, 0.35);
}

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

.btn-small {
  padding: 0.55rem 0.85rem;
  font-size: 0.92rem;
}

.hero-points {
  display: grid;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-points li {
  position: relative;
  padding-left: 1.45rem;
}

.hero-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background: var(--accent-2);
  position: absolute;
  left: 0;
  top: 0.58rem;
}

.hero-panel {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin: 1rem 0;
}

.hero-stat-grid article {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem;
}

.label {
  display: block;
  color: #dbe0eb;
  font-weight: 700;
}

.value {
  color: var(--accent-2);
  font-weight: 600;
  font-size: 0.92rem;
}

.micro-note {
  font-size: 0.9rem;
  color: #a8b1c1;
}

.section-intro {
  max-width: 58ch;
}

.service-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.22));
  padding: 1.25rem;
}

.gallery-scroll-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  margin: 0.6rem 0 0.7rem;
}

.gallery-scroll-btn {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #f1f5ff;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.gallery-scroll-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
}

.gallery-scroll-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.gallery-scroller {
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  padding-bottom: 0.2rem;
}

.gallery-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(340px, 360px);
  gap: 1rem;
  width: max-content;
}

.work-card {
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(17, 21, 31, 0.65));
  border: 1px solid var(--line);
  padding: 1rem;
  scroll-snap-align: start;
}

.work-card .split-photo figure,
.work-card .chip {
  cursor: pointer;
}

.gallery-open-btn {
  margin-top: 0.2rem;
  width: 100%;
}

.work-card .split-photo figure:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  margin-bottom: 0.7rem;
}

.split-frame {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 0.7rem;
}

.split-frame div {
  min-height: 160px;
  display: grid;
  place-items: center;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.split-frame div:first-child {
  background: linear-gradient(135deg, #31384a, #1d2330);
  color: #cad1dd;
}

.split-frame div:last-child {
  background: linear-gradient(135deg, #ff3c33, #be2020);
  color: #fff;
}

.split-photo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}

.split-photo figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #0b1018;
}

.split-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: #0b1017;
}

.split-photo figcaption {
  padding: 0.34rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d8deea;
  background: rgba(255, 255, 255, 0.04);
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: start;
}

.review-grid iframe {
  width: 100%;
  min-height: 380px;
  border: 0;
  border-radius: var(--radius);
}

.review-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
  padding: 1.25rem;
  min-height: 300px;
}

.review-panel h3 {
  margin-bottom: 0.6rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.5rem;
}

.checklist li {
  padding-left: 1.35rem;
  position: relative;
}

.checklist li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.steps article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.2));
  padding: 1rem;
}

.steps span {
  display: inline-block;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent-2);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.training-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: start;
}

.training-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.vote-board {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.26));
  padding: 1.2rem;
}

.vote-board h3 {
  margin-bottom: 0.5rem;
}

.vote-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin: 0.9rem 0 1rem;
}

.vote-stats {
  display: grid;
  gap: 0.25rem;
}

.vote-stats p {
  margin: 0;
  color: #e4eaf6;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  text-align: center;
  padding: 0.55rem 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.9rem 1rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: #f4f7ff;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.quote-grid form {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.24);
  border-radius: var(--radius);
  padding: 1.2rem;
  display: grid;
  gap: 0.72rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid #33405a;
  border-radius: 10px;
  background: #0c111a;
  color: var(--text);
  padding: 0.65rem 0.75rem;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(255, 40, 40, 0.4);
  border-color: var(--accent);
}

.text-link {
  color: var(--accent-2);
  font-weight: 700;
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0 1.3rem;
  background: #06080d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1rem;
}

.site-footer .footer-logo {
  width: min(250px, 60vw);
  aspect-ratio: 1600 / 420;
  object-fit: contain;
  border-radius: 0;
  margin-bottom: 0.7rem;
}

.footer-grid h3 {
  margin-bottom: 0.6rem;
}

.footer-grid a {
  color: #d7ddef;
}

.footer-grid > div:last-child > a {
  display: block;
  margin-bottom: 0.4rem;
}

.footer-grid a.social-link {
  display: inline-flex;
  align-items: center;
}

.copyright {
  margin-top: 1.8rem;
  text-align: center;
  font-size: 0.88rem;
}

.modal-open {
  overflow: hidden;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 4, 9, 0.82);
  backdrop-filter: blur(2px);
}

.gallery-modal-dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(175deg, #111722, #0a0f16);
  padding: 1rem 1rem 1.2rem;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.45);
}

.gallery-modal-close {
  position: absolute;
  top: 0.45rem;
  right: 0.5rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-modal-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.compare-stage {
  position: relative;
  margin: 0.9rem 0 0.8rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #080d14;
  min-height: min(62vw, 520px);
}

.compare-stage img {
  width: 100%;
  height: min(62vw, 520px);
  object-fit: contain;
  background: #0b1017;
  display: block;
}

.compare-before-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  overflow: hidden;
  -webkit-clip-path: inset(0 50% 0 0);
  clip-path: inset(0 50% 0 0);
}

.compare-before-layer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.95);
  pointer-events: none;
}

.compare-label {
  position: absolute;
  top: 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
}

.compare-label-before {
  left: 0.55rem;
}

.compare-label-after {
  right: 0.55rem;
}

.compare-control {
  display: grid;
  gap: 0.45rem;
  color: #dce3f1;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.compare-control input[type="range"] {
  width: 100%;
}

.gallery-modal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  :root {
    --anchor-offset: 68px;
  }

  .hero-grid,
  .service-grid,
  .review-grid,
  .training-grid,
  .steps,
  .quote-grid,
  .area-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .primary-nav {
    position: absolute;
    top: 76px;
    right: 1rem;
    min-width: 220px;
    flex-direction: column;
    align-items: stretch;
    background: #0a0e16;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.6rem;
    display: none;
  }

  .primary-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .contact-strip {
    font-size: 0.82rem;
    padding-bottom: 0.55rem;
  }

  .gallery-grid {
    grid-auto-columns: minmax(320px, 340px);
  }

  .partner-strip {
    flex-basis: 100%;
    margin-left: 0;
  }

  .partner-link img {
    width: 100px;
  }
}

@media (max-width: 680px) {
  :root {
    --anchor-offset: 64px;
  }

  .section-padding {
    padding: 4rem 0;
  }

  .hero-grid,
  .service-grid,
  .review-grid,
  .training-grid,
  .steps,
  .quote-grid,
  .area-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand img {
    width: min(210px, 60vw);
  }

  .brand {
    margin-left: -0.3rem;
  }

  .contact-strip {
    flex-direction: column;
    gap: 0.35rem;
  }

  .partner-strip {
    margin-left: 0;
    font-size: 0.74rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .split-photo {
    grid-template-columns: 1fr;
  }

  .gallery-scroll-controls {
    justify-content: flex-start;
  }

  .gallery-grid {
    grid-auto-columns: minmax(70vw, 70vw);
  }

  .split-photo img {
    height: auto;
    max-height: 240px;
    object-fit: contain;
  }

  .vote-actions {
    grid-template-columns: 1fr;
  }

  .gallery-modal-dialog {
    padding: 0.9rem 0.8rem 1rem;
  }

  .compare-stage {
    min-height: 320px;
  }

  .compare-stage img {
    height: 320px;
  }
}
