:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --surface-alt: #eef2ff;
  --text: #1e2433;
  --muted: #5a6278;
  --primary: #2154ff;
  --primary-dark: #1639b4;
  --radius: 18px;
  --shadow: 0 12px 30px rgba(19, 34, 87, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2.2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(247, 248, 252, 0.86);
  border-bottom: 1px solid rgba(33, 84, 255, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 12px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 600;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.8rem;
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(120deg, rgba(9, 16, 40, 0.76), rgba(22, 57, 180, 0.44));
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  padding-block: 6rem 5rem;
}

.eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 0.84rem;
  opacity: 0.88;
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  line-height: 1.2;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  max-width: 900px;
}

.lead {
  max-width: 760px;
  font-size: 1.1rem;
  color: #e9eeff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.76rem 1.2rem;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section p {
  color: var(--muted);
  max-width: 900px;
}

.cards,
.services-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.service {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.gallery {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  touch-action: manipulation;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 28, 0.86);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(96vw, 1100px);
}

.lightbox-content img {
  max-height: 88vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.lightbox-close,
.lightbox-nav {
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: -0.75rem;
  right: -0.25rem;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  font-size: 1.7rem;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  font-size: 1.6rem;
  display: grid;
  place-items: center;
}

.lightbox-prev {
  left: 0.65rem;
}

.lightbox-next {
  right: 0.65rem;
}

.contact-layout {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr 1.15fr;
  align-items: stretch;
}

.contact-info {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.contact-info ul {
  list-style: none;
  margin: 1rem 0 1.4rem;
  padding: 0;
}

.contact-info li {
  margin-bottom: 0.5rem;
}

.map-wrapper {
  min-height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
}

@media (max-width: 980px) {
  .cards,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(247, 248, 252, 0.98);
    border-bottom: 1px solid rgba(33, 84, 255, 0.12);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.2s ease;
  }

  .nav-links.open {
    transform: scaleY(1);
  }

  .lightbox-content {
    width: 100%;
  }

  .lightbox-nav {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.3rem;
  }

  .lightbox-prev {
    left: 0.3rem;
  }

  .lightbox-next {
    right: 0.3rem;
  }
}
