:root {
  --bg: #071316;
  --bg-2: #102327;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f4fbfc;
  --muted: #b5c7ca;
  --teal: #04a0ac;
  --teal-2: #8df4fb;
  --red: #ee3444;
  --white: #ffffff;
  --dark-text: #122126;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 15% 10%, rgba(0, 167, 181, 0.22), transparent 34%),
    radial-gradient(circle at 84% 12%, rgba(238, 52, 68, 0.1), transparent 30%),
    linear-gradient(135deg, var(--bg), var(--bg-2) 50%, #071014);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
}

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

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

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topline {
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 8px 20px;
  color: #d6fbff;
  font-size: 13px;
  font-weight: 600;
  background: rgba(0, 167, 181, 0.16);
  border-bottom: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(6, 17, 19, 0.86);
  border-bottom: 1px solid var(--line);
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
}

.brand img {
  width: 172px;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-menu a,
.nav-menu button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  color: rgba(244, 251, 252, 0.86);
  font-weight: 700;
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
}

.nav-menu a:hover,
.nav-menu a.is-active,
.nav-menu button:hover {
  color: var(--white);
  background: var(--panel);
}

.has-dropdown {
  position: relative;
}

.has-dropdown > button::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 120;
  display: grid;
  min-width: 230px;
  padding: 10px;
  margin: 0;
  list-style: none;
  background: rgba(9, 25, 29, 0.98);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: 160ms ease;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown a {
  width: 100%;
}

.nav-cta,
.button,
.floating-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  color: #031113;
  font-weight: 800;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--teal-2), var(--teal));
  box-shadow: 0 14px 34px rgba(0, 167, 181, 0.22);
}

.button.secondary {
  color: var(--white);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 46px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 122px);
  margin: 0 auto;
  padding: 72px 0;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: Outfit, Manrope, Arial, sans-serif;
  font-size: clamp(38px, 6.2vw, 74px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.hero-visual {
  position: relative;
  min-height: 520px;
  perspective: 1200px;
}

.glass-showcase,
.orbit-card,
.metric-card,
.image-panel,
.content-card,
.brand-tile,
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.glass-showcase {
  position: absolute;
  inset: 54px 18px 74px 42px;
  overflow: hidden;
  transform: rotateX(1deg) rotateY(-4deg);
}

.glass-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
}

.glass-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent, rgba(0, 167, 181, 0.22)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 34%);
}

.orbit-card {
  position: absolute;
  top: 0;
  left: 12px;
  z-index: 5;
  width: 205px;
  padding: 17px;
}

.orbit-card img {
  width: 160px;
  padding: 10px;
  background: var(--white);
  border-radius: 7px;
}

.metric-card {
  position: absolute;
  right: 8px;
  bottom: 64px;
  z-index: 5;
  width: 218px;
  padding: 16px;
  background: rgba(8, 27, 31, 0.68);
}

.metric-card strong {
  display: block;
  color: var(--white);
  font-size: 30px;
  font-family: Outfit, Manrope, Arial, sans-serif;
  font-weight: 700;
  line-height: 1;
}

.metric-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.animated-hero > * {
  will-change: transform;
}

.hero-frame {
  animation: heroFloat 8s ease-in-out infinite;
}

.hero-logo-card {
  animation: softRise 680ms ease both, cardDrift 7s ease-in-out 700ms infinite;
}

.hero-metric {
  animation: softRise 780ms ease 120ms both, cardDriftAlt 8s ease-in-out 700ms infinite;
}

.signal-card {
  position: absolute;
  z-index: 5;
  width: 214px;
  padding: 13px 15px;
  background: rgba(8, 27, 31, 0.7);
  border: 1px solid rgba(141, 244, 251, 0.24);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.signal-card span {
  display: block;
  color: var(--teal-2);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-card strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-weight: 700;
  line-height: 1.3;
}

.signal-one {
  left: 10px;
  bottom: 154px;
  animation: softRise 760ms ease 240ms both, cardDriftAlt 8.5s ease-in-out 900ms infinite;
}

.brand-orbit {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  padding: 8px;
  color: var(--teal);
  font-family: Outfit, Manrope, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.brand-orbit img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-orbit span {
  line-height: 1;
}

.orbit-one {
  right: 18px;
  top: 18px;
  animation: orbitPulse 6.4s ease-in-out infinite;
}

.orbit-two {
  left: 28px;
  bottom: 70px;
  animation: orbitPulse 6.8s ease-in-out 700ms infinite;
}

.orbit-three {
  right: 10px;
  top: 168px;
  animation: orbitPulse 6.2s ease-in-out 1100ms infinite;
}

.orbit-four {
  left: 8px;
  top: 212px;
  animation: orbitPulse 7s ease-in-out 400ms infinite;
}

.hero-brand-strip {
  position: absolute;
  left: 116px;
  right: 116px;
  bottom: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  background: rgba(8, 27, 31, 0.66);
  border: 1px solid rgba(141, 244, 251, 0.2);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
  animation: softRise 760ms ease 500ms both;
}

.hero-brand-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  color: rgba(244, 251, 252, 0.88);
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
}

.hero-brand-strip img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  background: var(--white);
  border-radius: 4px;
}

.hero > div:first-child {
  animation: softRise 680ms ease both;
}

@keyframes softRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFloat {
  0%,
  100% {
    transform: rotateX(1deg) rotateY(-4deg) translate3d(0, 0, 0);
  }
  50% {
    transform: rotateX(1deg) rotateY(-2deg) translate3d(0, -10px, 0);
  }
}

@keyframes cardDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes cardDriftAlt {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(8px, -6px, 0);
  }
}

@keyframes orbitPulse {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -10px, 0) scale(1.04);
  }
}

.section,
.page-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0;
}

.page-hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: center;
  min-height: 420px;
}

.page-logo {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
}

.page-logo img {
  max-height: 180px;
  object-fit: contain;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-heading h2,
.content-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--white);
  font-family: Outfit, Manrope, Arial, sans-serif;
  font-size: clamp(27px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p,
.content-copy p,
.content-card p,
.brand-tile p,
.contact-copy p {
  color: var(--muted);
}

.brand-grid,
.range-grid,
.gallery-grid,
.contact-grid,
.values-grid {
  display: grid;
  gap: 18px;
}

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

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

.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.brand-tile,
.content-card,
.contact-card {
  padding: 24px;
}

.brand-tile {
  min-height: 275px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.brand-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(106, 242, 255, 0.5);
}

.brand-tile img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  padding: 10px;
  margin-bottom: 22px;
  background: var(--white);
  border-radius: 8px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  margin-bottom: 22px;
  color: var(--teal-2);
  font-size: 24px;
  font-weight: 800;
  border: 1px solid rgba(106, 242, 255, 0.5);
  border-radius: 8px;
}

.brand-tile h3,
.content-card h3,
.contact-card h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-family: Outfit, Manrope, Arial, sans-serif;
  font-weight: 650;
  line-height: 1.2;
}

.content-band {
  width: 100%;
  padding: 78px max(20px, calc((100% - 1180px) / 2));
  background: rgba(255, 255, 255, 0.055);
  border-block: 1px solid var(--line);
}

.content-split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: center;
}

.image-panel {
  overflow: hidden;
}

.image-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

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

.gallery-grid button {
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: transparent;
  border: 0;
  border-radius: 8px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 220ms ease;
}

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

.contact-card a {
  display: block;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.contact-card a:last-child {
  border-bottom: 0;
}

.contact-card span {
  display: block;
  color: var(--teal-2);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  margin-top: 5px;
  overflow-wrap: anywhere;
}

.contact-form-map {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
}

.inquiry-form {
  display: grid;
  gap: 14px;
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
}

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

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  border-color: rgba(141, 244, 251, 0.62);
  box-shadow: 0 0 0 3px rgba(141, 244, 251, 0.12);
}

.map-card {
  min-height: 430px;
  padding: 0;
  overflow: hidden;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
  filter: saturate(0.9) contrast(1.03);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 24px;
  align-items: center;
  padding: 42px max(20px, calc((100% - 1180px) / 2));
  background: rgba(0, 0, 0, 0.38);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 168px;
  padding: 8px;
  background: var(--white);
  border-radius: 7px;
}

.site-footer p {
  max-width: 560px;
  color: var(--muted);
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-weight: 700;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
}

.dspak-credit {
  display: inline-block;
  margin-left: 8px;
}

.dspak-credit a {
  color: var(--teal-2);
  font-weight: 800;
}

.dspak-credit a:hover {
  color: var(--white);
}

.floating-action {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
}

.lightbox {
  width: min(1000px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(2, 17, 20, 0.82);
}

.lightbox img {
  width: 100%;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  min-height: 38px;
  padding: 0 14px;
  color: #031113;
  font-weight: 800;
  background: var(--teal-2);
  border: 0;
  border-radius: 7px;
  cursor: pointer;
}

@media (max-width: 980px) {
  .topline {
    flex-wrap: wrap;
    gap: 7px 16px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu,
  .nav-cta {
    display: none;
  }

  .nav-menu.is-open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 4px;
    padding: 12px;
    background: rgba(9, 25, 29, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-menu a,
  .nav-menu button {
    justify-content: space-between;
    width: 100%;
  }

  .dropdown {
    position: static;
    display: none;
    min-width: 0;
    margin: 4px 0 6px 10px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .has-dropdown.is-open .dropdown {
    display: grid;
  }

  .hero,
  .page-hero,
  .content-split,
  .contact-grid,
  .contact-form-map {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero > div:first-child {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

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

@media (max-width: 620px) {
  .topline {
    justify-content: center;
  }

  .topline span,
  .topline a:last-child {
    display: none;
  }

  .navbar,
  .hero,
  .section,
  .page-hero {
    width: min(100% - 28px, 1180px);
  }

  .brand img {
    width: 146px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.08;
  }

  .section-heading h2,
  .content-copy h2,
  .contact-copy h2 {
    font-size: clamp(26px, 8vw, 36px);
  }

  .hero,
  .section,
  .page-hero,
  .content-band {
    padding-block: 54px;
  }

  .hero {
    gap: 28px;
    padding-top: 30px;
  }

  .hero > div:first-child {
    padding-top: 6px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .glass-showcase {
    inset: 28px 0 92px 0;
    transform: none;
  }

  .metric-card {
    right: 10px;
    bottom: 78px;
    width: 190px;
  }

  .orbit-card {
    display: none;
  }

  .orbit-card img {
    width: 142px;
  }

  .signal-card {
    width: min(220px, calc(100% - 28px));
  }

  .signal-one {
    left: 8px;
    bottom: 178px;
  }

  .brand-orbit {
    width: 58px;
    height: 58px;
  }

  .orbit-one {
    left: 8px;
    right: auto;
    top: 104px;
  }

  .orbit-two {
    left: 14px;
    bottom: 96px;
  }

  .orbit-three {
    right: 12px;
    top: 166px;
  }

  .orbit-four {
    left: calc(50% - 29px);
    top: 42px;
  }

  .hero-brand-strip {
    left: 0;
    right: 0;
    bottom: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .button {
    width: 100%;
  }

  .brand-grid,
  .range-grid,
  .values-grid,
  .gallery-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .brand-tile {
    min-height: 210px;
    padding: 18px;
    text-align: center;
  }

  .brand-tile img,
  .brand-mark {
    width: 96px;
    height: 96px;
    margin-bottom: 16px;
    margin-left: auto;
    margin-right: auto;
  }

  .brand-mark {
    font-size: 18px;
  }

  .brand-tile h3 {
    font-size: 17px;
  }

  .brand-tile p {
    font-size: 14px;
    line-height: 1.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
