:root {
  --ink: #17202a;
  --muted: #667085;
  --line: #e6e9ee;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --accent: #f59e0b;
  --shadow: 0 18px 48px rgba(16, 24, 40, .12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  background-size: cover;
  background-attachment: fixed;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

img,
video,
iframe {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.topbar {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  color: #fff;
  background: #111827;
  font-size: 14px;
  flex-wrap: wrap;
}

.topbar__social,
.powered,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

.topbar__social {
  min-height: 30px;
  background: #1877f2;
  color: #fff;
  padding: 5px 12px;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 900;
  color: var(--brand-dark);
}

.brand img {
  max-height: 58px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.main-nav a {
  display: block;
  border-radius: 8px;
  padding: 10px 13px;
  color: #253044;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active {
  background: #e7f7f5;
  color: var(--brand-dark);
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.has-submenu:hover .submenu {
  display: block;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 5px auto;
  background: var(--ink);
}

.hero-slider {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img,
.hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.62);
}

.hero-copy {
  position: absolute;
  left: max(24px, calc((100vw - 1180px) / 2));
  bottom: 78px;
  max-width: 720px;
  color: #fff;
}

.hero-copy p,
.page-hero p {
  margin: 0 0 12px;
  color: #dbeafe;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0 0 24px;
  font-size: clamp(40px, 8vw, 78px);
  line-height: 1;
  letter-spacing: 0;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.page-hero {
  display: grid;
  align-items: end;
  min-height: 300px;
  padding: 54px 24px;
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #111827);
}

.page-hero > div,
.content-shell,
.footer-grid,
.copyright {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.content-shell {
  padding: 56px 0;
}

.page-content {
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 52px);
  box-shadow: 0 10px 30px rgba(16, 24, 40, .07);
}

.page-content h2,
.page-content h3 {
  line-height: 1.2;
}

.feature-grid,
.price-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature,
.price-card,
.gallery-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
}

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

.video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
}

.site-footer {
  color: #eef2ff;
  background: #111827;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 28px;
  padding: 46px 0;
}

.site-footer h2 {
  margin-top: 0;
  font-size: 20px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #d1d5db;
}

.map-embed iframe,
.map-placeholder {
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: 8px;
}

.map-placeholder {
  display: grid;
  place-items: center;
  background: #1f2937;
  color: #cbd5e1;
  padding: 20px;
}

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

.contact-form input,
.contact-form textarea,
.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
}

.copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 18px 0;
  color: #cbd5e1;
  flex-wrap: wrap;
}

.powered {
  min-height: 36px;
  background: var(--accent);
  color: #111827;
  padding: 7px 12px;
}

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

  .main-nav {
    display: none;
    position: absolute;
    left: 24px;
    right: 24px;
    top: 100%;
    align-items: stretch;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .submenu {
    position: static;
    display: block;
    box-shadow: none;
    border: 0;
    padding-left: 16px;
  }

  .hero-slider {
    min-height: 460px;
  }

  .feature-grid,
  .price-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
