:root {
  --bg: #090d12;
  --bg-soft: #101821;
  --surface: rgba(17, 26, 36, 0.82);
  --surface-strong: #111923;
  --surface-metal: #1a232d;
  --text: #ebf3f7;
  --muted: #9db1bf;
  --line: rgba(173, 198, 214, 0.16);
  --accent: #65d4ff;
  --accent-strong: #1eb8f2;
  --accent-dark: #0c6d92;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
  --radius: 24px;
  --container: 1180px;
}

* {
  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 left, rgba(101, 212, 255, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(101, 212, 255, 0.1), transparent 26%),
    linear-gradient(135deg, #0a0f14 0%, #111821 52%, #090d12 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 86%);
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.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;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  background: #fff;
  color: #000;
  padding: 0.75rem 1rem;
  border-radius: 12px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px) saturate(1.15);
  background:
    linear-gradient(180deg, rgba(8, 12, 17, 0.78), rgba(8, 12, 17, 0.44) 72%, rgba(8, 12, 17, 0));
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(101, 212, 255, 0.2), transparent);
  opacity: 0.8;
}

.nav {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 92px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0;
}

.brand-center {
  justify-self: center;
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 62px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: hidden;
}

.brand-logo {
  width: 112%;
  max-width: none;
  height: auto;
  object-fit: cover;
  filter: none;
  transform: translateX(0);
  transform-origin: center;
  clip-path: inset(14% 2% 14% 2%);
}

.hero h1,
.section h2 {
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.04em;
}

.header-call {
  justify-self: start;
  min-width: 112px;
}

.header-call-icon {
  flex: 0 0 auto;
}

.header-call-text {
  white-space: nowrap;
}

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-button {
  min-width: 46px;
  min-height: 38px;
  padding: 0 0.8rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-button.is-active {
  color: #071118;
  background: linear-gradient(135deg, var(--accent), #d0f5ff);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  min-width: 220px;
  display: grid;
  gap: 0.4rem;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(9, 13, 18, 0.88);
  backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
  transform: translateY(-4px) scale(0.98);
  transform-origin: top right;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.nav-menu a {
  display: flex;
  align-items: center;
  color: var(--muted);
  min-height: 46px;
  padding: 0.5rem 0.85rem;
  border-radius: 14px;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

body[data-page="home"] .nav-menu a[href="index.html"],
body[data-page="services"] .nav-menu a[href="services.html"],
body[data-page="contact"] .nav-menu a[href="contact.html"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(101, 212, 255, 0.14);
}

.nav-menu-footer {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.35rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-menu-lang-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, #1d2731 0%, #10171f 100%);
  color: var(--text);
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 20px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  transform: translateY(-1px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, #212d39 0%, #121a23 100%);
  border-color: rgba(101, 212, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 12px 24px rgba(0, 0, 0, 0.2);
}

.nav-toggle-gear {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 10px rgba(101, 212, 255, 0.18));
  z-index: 1;
}

.gear-ring,
.gear-core {
  position: absolute;
  border-radius: 999px;
}

.gear-ring {
  inset: 0;
  background:
    radial-gradient(circle, transparent 34%, #cfd9df 35%, #cfd9df 56%, transparent 57%),
    conic-gradient(
      from 0deg,
      #65d4ff 0deg 18deg,
      transparent 18deg 45deg,
      #65d4ff 45deg 63deg,
      transparent 63deg 90deg,
      #65d4ff 90deg 108deg,
      transparent 108deg 135deg,
      #65d4ff 135deg 153deg,
      transparent 153deg 180deg,
      #65d4ff 180deg 198deg,
      transparent 198deg 225deg,
      #65d4ff 225deg 243deg,
      transparent 243deg 270deg,
      #65d4ff 270deg 288deg,
      transparent 288deg 315deg,
      #65d4ff 315deg 333deg,
      transparent 333deg 360deg
    );
}

.gear-core {
  inset: 6px;
  background: linear-gradient(180deg, #f0f6fa 0%, #8ea4b0 100%);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.35);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-gear {
  transform: rotate(30deg);
}

.hero {
  padding: 6rem 0 4.5rem;
  position: relative;
}

.page-hero {
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: center;
}

.hero-grid,
.about-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.9rem, 7vw, 5.7rem);
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-text,
.section-heading h2,
.about-copy,
.service-card p,
.gallery-card p,
.contact-list,
.footer-content {
  color: var(--muted);
}

.hero-text {
  max-width: 56ch;
  margin: 1.4rem 0 0;
  font-size: 1.05rem;
}

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.6rem;
}

.hero-strip span {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d7e7ef;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #071118;
  box-shadow: 0 10px 24px rgba(30, 184, 242, 0.24);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-stats article {
  padding: 1rem 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    rgba(255, 255, 255, 0.02);
}

.hero-stats strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "Oswald", sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-stats p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-card,
.service-card,
.gallery-card,
.contact-panel,
.map-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 24%),
    rgba(17, 26, 36, 0.82);
}

.logo-frame {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: calc(var(--radius) - 6px);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), transparent 36%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 9px,
      transparent 9px,
      transparent 18px
    ),
    linear-gradient(180deg, #2a343d 0%, #141c24 100%);
  display: grid;
  place-items: center;
}

.logo-frame::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: min(96%, 470px);
  max-width: none;
  height: auto;
  object-fit: cover;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.45));
  clip-path: inset(15% 4% 15% 4%);
}

.hero-badge {
  position: absolute;
  z-index: 1;
  padding: 0.7rem 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #dff7ff;
  background: rgba(9, 13, 18, 0.88);
  border: 1px solid rgba(101, 212, 255, 0.3);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.hero-badge-top {
  top: 1.2rem;
  right: 1.2rem;
}

.hero-badge-bottom {
  left: 1.2rem;
  bottom: 1.2rem;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1rem;
}

.quick-info article,
.gallery-card span {
  font-weight: 700;
}

.quick-info article {
  padding: 1rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.quick-info p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.section {
  padding: 4.5rem 0;
}

.page-section {
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: center;
}

.page-intro {
  max-width: 760px;
  margin-bottom: 2rem;
}

.page-title {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-text {
  max-width: 60ch;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-page .page-title {
  max-width: 8.5ch;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  line-height: 1.08;
}

.page-cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.page-cta-panel p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  margin-bottom: 1.75rem;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  max-width: 12ch;
}

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

.service-card,
.gallery-card {
  padding: 1.5rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 28%),
    linear-gradient(180deg, rgba(101, 212, 255, 0.06), transparent 80%),
    var(--surface);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  width: 68px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.service-card h3,
.gallery-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
}

.service-index {
  display: inline-flex;
  margin-bottom: 0.9rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.gallery-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 14px;
  color: #071118;
  background: linear-gradient(135deg, var(--accent), #d1f6ff);
  box-shadow: 0 10px 24px rgba(30, 184, 242, 0.2);
}

.about-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.about-copy p:first-child {
  margin-top: 0;
}

.contact-panel {
  padding: 1.8rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 24%),
    var(--surface);
}

.contact-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.4rem;
  font-size: 1.05rem;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--text);
}

.map-card {
  overflow: hidden;
  min-height: 420px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(0.2) contrast(1.1);
}

.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .service-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .section h2 {
    max-width: none;
  }

  .quick-info {
    grid-template-columns: 1fr;
  }

  .nav {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    min-height: 84px;
  }
}

@media (max-width: 760px) {
  .nav {
    display: block;
    width: 100%;
    min-height: 74px;
    padding: 0.7rem 1rem;
  }

  .brand-center {
    position: absolute;
    top: 50%;
    left: calc(50% + 14px);
    transform: translate(-50%, -50%);
    z-index: 1;
  }

  .brand-logo-wrap {
    width: 88px;
    height: 48px;
  }

  .header-call {
    position: absolute;
    top: 50%;
    left: 1rem;
    min-width: 0;
    min-height: 42px;
    padding: 0 0.8rem;
    font-size: 0.86rem;
    transform: translateY(-50%);
    z-index: 2;
  }

  .header-call-text {
    display: none;
  }

  .header-actions {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    justify-self: auto;
    gap: 0.45rem;
    z-index: 2;
  }

  .header-call:hover,
  .header-call:focus-visible {
    transform: translateY(calc(-50% - 1px));
  }

  .lang-button {
    min-width: 40px;
    min-height: 34px;
    padding: 0 0.55rem;
    font-size: 0.82rem;
  }

  .nav-toggle {
    min-height: 42px;
    width: 42px;
  }

  .nav-toggle-gear {
    width: 20px;
    height: 20px;
  }

  .nav-menu {
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    min-width: 0;
  }

  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .hero {
    padding-top: 3rem;
  }

  .page-hero,
  .page-section {
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 13vw, 3.8rem);
    line-height: 0.94;
  }

  .page-title {
    font-size: clamp(2.1rem, 12vw, 3.6rem);
  }

  .page-cta-panel {
    padding: 1.2rem;
  }

  .hero-strip {
    gap: 0.5rem;
  }

  .hero-strip span {
    font-size: 0.8rem;
    padding: 0.45rem 0.75rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .hero-actions .button:first-child {
    grid-column: 1 / -1;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-stats article,
  .service-card,
  .contact-panel {
    border-radius: 18px;
  }

  .logo-frame {
    min-height: 250px;
  }

  .hero-logo {
    width: min(100%, 360px);
  }

  .hero-badge {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .quick-info article {
    padding: 0.9rem;
  }

  .section {
    padding: 3.75rem 0;
  }
}
