:root {
  --bg: #08111b;
  --bg-soft: #0f1b2b;
  --surface: #ffffff;
  --surface-soft: #f3f7fb;
  --text: #102033;
  --text-muted: #5a6878;
  --line: rgba(16, 32, 51, 0.1);
  --primary: #27a2f2;
  --primary-dark: #1b4b8d;
  --accent: #ef4b4f;
  --success: #35b36f;
  --shadow: 0 20px 55px rgba(8, 17, 27, 0.18);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --header-height: 88px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(39, 162, 242, 0.16), transparent 28%),
    linear-gradient(180deg, #eef5fb 0%, #fbfdff 100%);
}

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

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

button {
  font: inherit;
}

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

.section {
  padding: 6rem 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(39, 162, 242, 0.12);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-tag--light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section-head h2,
.split__content h2,
.cta-box h2 {
  margin: 1rem 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.section-head p,
.split__content p,
.cta-box p,
.service-card p,
.advantage p,
.stat-card span,
.feature-points p,
.hero__copy p,
.hero-card__commitment {
  color: var(--text-muted);
  line-height: 1.75;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.header.is-scrolled {
  background: rgba(8, 17, 27, 0.84);
  box-shadow: 0 10px 30px rgba(8, 17, 27, 0.28);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand span {
  color: #ee0605;
  letter-spacing: 0.03em;
  transition: color 0.25s ease;
}

.header.is-scrolled .brand span {
  color: #ee0605;
}

.brand img {
  width: 54px;
  height: 54px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: #fff;
}

.menu a {
  font-weight: 600;
  opacity: 0.92;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent), #ff6c55);
  color: #fff;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.gallery-item:hover,
.service-card:hover,
.advantage:hover,
.stat-card:hover {
  transform: translateY(-3px);
}

.button--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
}

.button--sm {
  min-height: 44px;
  padding-inline: 1rem;
}

.button--light {
  background: #fff;
  color: var(--primary-dark);
}

.button--ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: clip;
  background: var(--bg);
}

.hero__bg,
.hero__bg img,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(8, 17, 27, 0.92) 0%, rgba(8, 17, 27, 0.72) 46%, rgba(8, 17, 27, 0.55) 100%),
    linear-gradient(180deg, rgba(8, 17, 27, 0.22), rgba(8, 17, 27, 0.72));
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 380px);
  gap: 2rem;
  align-items: end;
  padding: calc(var(--header-height) + 3rem) 0 4.5rem;
}

.eyebrow {
  display: inline-flex;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__copy {
  color: #fff;
  max-width: 700px;
}

.hero__copy h1 {
  margin: 1.2rem 0 1rem;
  font-size: clamp(2.7rem, 6vw, 5.3rem);
  line-height: 0.98;
}

.hero__copy p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 62ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

.hero-card {
  padding: 1.7rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-card__logo {
  width: 112px;
  margin-bottom: 1rem;
}

.hero-card__list {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 0 0 1rem;
  list-style: none;
}

.hero-card__list li {
  position: relative;
  padding-left: 1.4rem;
  line-height: 1.6;
}

.hero-card__list li::before {
  content: "";
  position: absolute;
  top: 0.72rem;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success), var(--primary));
}

.stats {
  margin-top: -3rem;
  position: relative;
  z-index: 2;
}

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

.stat-card,
.service-card,
.advantage {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card {
  padding: 1.4rem;
  backdrop-filter: blur(14px);
}

.stat-card strong,
.service-card h3,
.advantage h3,
.feature-points h3 {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.feature-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.feature-points div,
.media-note {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  min-height: 420px;
  border-radius: 30px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.media-note {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
}

.service-grid,
.advantage-grid,
.gallery-grid {
  display: grid;
  gap: 1.2rem;
}

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

.service-card {
  padding: 1.5rem;
}

.service-card__icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(39, 162, 242, 0.18), rgba(239, 75, 79, 0.12));
  color: var(--primary-dark);
  font-weight: 800;
}

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

.advantage {
  padding: 1.6rem;
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 250px;
}

.gallery-item {
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #dfe7f0;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, filter 0.25s ease;
}

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

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

.gallery-item--wide {
  grid-column: span 2;
}

.cta {
  padding-top: 2rem;
}

.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(8, 17, 27, 0.96), rgba(27, 75, 141, 0.94)),
    linear-gradient(135deg, rgba(239, 75, 79, 0.18), transparent 45%);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-box p {
  color: rgba(255, 255, 255, 0.8);
}

.cta-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

.footer {
  padding: 2.5rem 0 3rem;
}

.footer__inner {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  text-align: center;
}

.brand--footer {
  color: var(--text);
}

.footer small,
.footer p {
  color: var(--text-muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
}

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

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 17, 27, 0.84);
}

.lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), 920px);
  margin: 0;
}

.lightbox__panel img {
  width: 100%;
  max-height: 78svh;
  object-fit: contain;
  border-radius: 24px;
  background: #0b1320;
}

.lightbox__panel figcaption {
  margin-top: 0.9rem;
  color: #fff;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 1080px) {
  .hero__content,
  .split,
  .cta-box,
  .service-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-box__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-block;
  }

  .menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(8, 17, 27, 0.96);
    box-shadow: var(--shadow);
  }

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

  .hero {
    min-height: auto;
  }

  .hero__content {
    padding-bottom: 3rem;
  }

  .feature-points,
  .stats__grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 220px;
  }

  .gallery-item--wide {
    grid-column: span 1;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 4.5rem 0;
  }

  .hero-card,
  .service-card,
  .advantage,
  .stat-card,
  .cta-box {
    padding: 1.25rem;
  }

  .stats__grid,
  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .hero__copy h1 {
    font-size: 2.4rem;
  }
}
