:root {
  --primary: #000ba6;
  --secondary: #00e3ff;
  --white: #ffffff;
  --black: #000000;
  --muted: #f4f6fb;
  --text: #1b1f2a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 0;
  gap: 16px;
}

.brand img {
  height: 34px;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-weight: 500;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  position: relative;
  transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}

.nav-toggle-label span::before {
  position: absolute;
  top: -7px;
}

.nav-toggle-label span::after {
  position: absolute;
  top: 7px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 16px 5%;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-mobile a {
  font-weight: 600;
}

.nav-mobile .cta {
  padding: 10px 18px;
  background: var(--primary);
  color: var(--white);
  border-radius: 999px;
  width: fit-content;
}

.mobile-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.nav a {
  position: relative;
  padding-bottom: 4px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.nav .cta {
  padding: 10px 18px;
  background: var(--primary);
  color: var(--white);
  border-radius: 999px;
}

.nav .cta::after {
  display: none;
}

.nav .cta:hover {
  background: var(--secondary);
  color: var(--black);
}

.header-social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(0, 11, 166, 0.08);
  color: var(--primary);
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.social-link:hover {
  background: var(--secondary);
  color: var(--black);
}

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 11, 166, 0.85), rgba(0, 0, 0, 0.55));
}

.hero-content {
  position: relative;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 650px;
}

.hero .eyebrow {
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--secondary);
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.1;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn.primary {
  background: var(--secondary);
  color: var(--black);
  box-shadow: 0 10px 25px rgba(0, 227, 255, 0.3);
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.btn:hover {
  transform: translateY(-2px);
}

.section {
  padding: 80px 0;
}

.section.muted {
  background: var(--muted);
}

.section-title {
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.two-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: start;
}

.highlight-card {
  background: var(--primary);
  color: var(--white);
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.highlight-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.highlight-card .link {
  display: inline-block;
  margin-top: 18px;
  color: var(--secondary);
  font-weight: 600;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  padding: 28px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(10, 22, 70, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0, 227, 255, 0.15);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  gap: 20px;
  justify-content: flex-start;
}

.product-group,
.service-group {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.product-group h3,
.service-group h3 {
  font-size: 1.2rem;
  color: var(--primary);
}

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(10, 22, 70, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lightbox-item {
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-info {
  padding: 18px;
}

.gallery-info h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(10, 22, 70, 0.12);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 20px;
  justify-content: flex-start;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 22, 70, 0.08);
  position: relative;
  cursor: pointer;
}

.service-card img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.service-card::before {
  content: "🔍";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 32px;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: scale(0.9);
  pointer-events: none;
}

.service-card:hover img {
  transform: scale(1.06);
}

.service-card:hover::after,
.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::before {
  transform: scale(1);
}

.service-card h3 {
  padding: 14px 16px 16px;
  font-size: 1rem;
  color: var(--primary);
}

.service-card.is-hidden {
  display: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 18px;
}

.contact-item {
  display: flex;
  gap: 14px;
  background: var(--muted);
  padding: 16px;
  border-radius: 16px;
}

.contact-item i {
  font-size: 20px;
  color: var(--primary);
}

.contact-card {
  background: var(--primary);
  color: var(--white);
  padding: 32px;
  border-radius: 24px;
  display: grid;
  gap: 16px;
  align-content: start;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.85rem;
  font-weight: 500;
}

.field input,
.field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 12px 14px;
  font-family: inherit;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid rgba(0, 227, 255, 0.6);
}

.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 32px 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: right;
}

.footer-content img {
  height: 40px;
}

@media (max-width: 900px) {
  .header-content {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav {
    display: none;
  }

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

  .nav-toggle:checked + .nav-toggle-label span {
    background: transparent;
  }

  .nav-toggle:checked + .nav-toggle-label span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-label span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .nav-toggle:checked ~ .nav-mobile {
    display: flex;
  }

  .nav-mobile {
    width: 100%;
  }

  .footer-break {
    display: block;
  }

  .footer-content {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }
}

@media (max-width: 800px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media (max-width: 700px) {
  .gallery,
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  background: transparent;
  border-radius: 20px;
  padding: 20px 20px 28px;
  max-width: 900px;
  width: 100%;
  display: grid;
  gap: 12px;
  justify-items: center;
  color: var(--white);
}

.lightbox-title {
  font-weight: 600;
  color: var(--white);
}

.lightbox-image {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 16px;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 26px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--white);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgb(0 0 0 / 71%);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lightbox-nav.prev {
  left: -12px;
}

.lightbox-nav.next {
  right: -12px;
}

@media (max-width: 700px) {
  .lightbox-nav.prev {
    left: 8px;
  }

  .lightbox-nav.next {
    right: 8px;
  }
}
