:root {
  --ink: #0c2440;
  --muted: #5f7185;
  --blue-950: #07172c;
  --blue-900: #0b2344;
  --blue-700: #0d65b7;
  --blue-600: #1384df;
  --blue-500: #21a8ff;
  --blue-100: #e8f6ff;
  --blue-50: #f4fbff;
  --white: #ffffff;
  --line: rgba(18, 105, 183, .16);
  --shadow: 0 24px 70px rgba(8, 37, 75, .16);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f7fcff 0%, #ffffff 42%, #f7fcff 100%);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.topbar {
  background: var(--blue-950);
  color: rgba(255,255,255,.92);
  font-size: 14px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
}
.topbar a { transition: color .2s ease; }
.topbar a:hover { color: #95dcff; }
.top-phone { font-weight: 800; letter-spacing: .02em; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 24px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  box-shadow: 0 14px 30px rgba(19, 132, 223, .32);
}
.brand strong { display: block; line-height: 1.1; font-size: 18px; }
.brand small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 22px; color: #29415b; font-weight: 650; font-size: 14px; }
.nav-links a { position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--blue-500);
  transition: transform .2s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
  background:
    radial-gradient(circle at 18% 12%, rgba(33, 168, 255, .20), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(13, 101, 183, .18), transparent 30%),
    linear-gradient(135deg, #f4fbff 0%, #eaf7ff 48%, #ffffff 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -120px -160px auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(33, 168, 255, .12);
  filter: blur(8px);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) 410px; gap: 52px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--blue-700);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 900;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--blue-500);
  border-radius: 99px;
}
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.04em; }
h1 { font-size: clamp(42px, 7vw, 76px); max-width: 850px; }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 24px; }
.lead { max-width: 720px; font-size: 20px; color: #36536f; margin: 24px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary {
  color: white;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  box-shadow: 0 16px 34px rgba(19, 132, 223, .30);
}
.btn.secondary {
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
}
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.trust-row span {
  padding: 9px 14px;
  border: 1px solid rgba(13, 101, 183, .16);
  background: rgba(255,255,255,.74);
  border-radius: 999px;
  color: #24425f;
  font-weight: 750;
  font-size: 14px;
}
.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: var(--radius);
  padding: 34px;
  background: linear-gradient(155deg, rgba(255,255,255,.86), rgba(218, 242, 255, .88));
  box-shadow: var(--shadow);
}
.card-glow {
  position: absolute;
  width: 240px;
  height: 240px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  background: rgba(33, 168, 255, .28);
  filter: blur(2px);
}
.hero-card h2, .hero-card p { position: relative; }
.hero-card h2 { font-size: 28px; }
.card-phone { margin: 26px 0 12px; font-size: 30px; font-weight: 950; letter-spacing: -.04em; color: var(--blue-700); }
.card-address { margin: 0; font-weight: 800; color: #203a55; }
.note { margin-top: 24px; color: var(--muted); }

.section { padding: 88px 0; }
.section-heading { max-width: 760px; margin-bottom: 38px; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 18px; margin: 18px 0 0; }
.section-heading.narrow { max-width: 680px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  padding: 30px;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 45px rgba(7, 23, 44, .06);
}
.icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 18px;
  background: var(--blue-100);
  font-size: 26px;
}
.service-card p { color: var(--muted); margin-bottom: 0; }

.ozone {
  background:
    linear-gradient(135deg, rgba(7, 23, 44, .95), rgba(10, 53, 94, .96)),
    radial-gradient(circle at 80% 20%, rgba(33,168,255,.45), transparent 35%);
  color: white;
}
.ozone .eyebrow { color: #95dcff; }
.ozone-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
.ozone p { color: rgba(255,255,255,.78); font-size: 18px; }
.callout {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(149,220,255,.24);
  border-radius: 20px;
  background: rgba(255,255,255,.07);
}
.callout strong { display: block; margin-bottom: 6px; color: white; }
.callout span { color: rgba(255,255,255,.78); }
.ozone-panel {
  padding: 32px;
  border: 1px solid rgba(149,220,255,.28);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(255,255,255,.10), rgba(33,168,255,.10));
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}
.ozone-panel ul { margin: 22px 0 0; padding: 0; list-style: none; }
.ozone-panel li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  color: rgba(255,255,255,.82);
}
.ozone-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #95dcff;
  font-weight: 900;
}

.gallery-section { background: #ffffff; }
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.gallery a {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--blue-50);
  aspect-ratio: 4/3;
  box-shadow: 0 12px 32px rgba(7, 23, 44, .06);
  outline: 0;
}
.gallery a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 23, 44, .22));
  opacity: 0;
  transition: opacity .25s ease;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease, filter .25s ease;
}
.gallery a:hover img,
.gallery a:focus-visible img {
  transform: scale(1.05);
  filter: saturate(1.08);
}
.gallery a:hover::after,
.gallery a:focus-visible::after {
  opacity: 1;
}
.gallery a:focus-visible {
  box-shadow: 0 0 0 4px rgba(33, 168, 255, .24), 0 12px 32px rgba(7, 23, 44, .08);
}
.gallery-gombatlanitas {
  grid-template-columns: repeat(5, 1fr);
}

.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(44px, 76px) minmax(0, 1fr) minmax(44px, 76px);
  align-items: center;
  gap: 14px;
  padding: 28px;
  background: rgba(7, 23, 44, .9);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  justify-self: center;
  max-width: min(1120px, 100%);
  max-height: 86vh;
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .38);
}
.lightbox button {
  border: 1px solid rgba(255, 255, 255, .28);
  color: white;
  background: rgba(255, 255, 255, .13);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.lightbox button:hover {
  background: rgba(255, 255, 255, .22);
  transform: translateY(-1px);
}
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  font-size: 34px;
  line-height: 1;
}
.lightbox-prev,
.lightbox-next {
  width: 56px;
  height: 72px;
  border-radius: 18px;
  font-size: 54px;
  line-height: 1;
}
.lightbox-prev { justify-self: end; }
.lightbox-next { justify-self: start; }

.map-section { background: linear-gradient(180deg, #f4fbff, #ffffff); }
.map-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; align-items: center; }
.map-copy p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.map-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow);
}
.map-card iframe,
.map-card .map-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-card .map-fallback { object-fit: cover; z-index: 0; opacity: .95; }
.map-card iframe { z-index: 1; }
.map-card iframe[src=""] { display: none; }

.contact-section { padding-top: 40px; }
.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: white;
  box-shadow: var(--shadow);
}
.contact-card .eyebrow { color: #c4ecff; }
.contact-card p { color: rgba(255,255,255,.78); max-width: 680px; }
.contact-actions { display: grid; gap: 10px; justify-items: end; font-weight: 800; }
.big-phone {
  display: inline-flex;
  padding: 14px 20px;
  border-radius: 999px;
  background: white;
  color: var(--blue-700);
  font-size: 22px;
  font-weight: 950;
}

.footer { color: rgba(255,255,255,.78); background: var(--blue-950); }
.footer-inner { min-height: 82px; display: flex; justify-content: space-between; gap: 18px; align-items: center; }

@media (max-width: 920px) {
  .nav-inner { align-items: flex-start; padding: 16px 0; flex-direction: column; }
  .nav-links { flex-wrap: wrap; gap: 14px 18px; }
  .hero { padding-top: 70px; }
  .hero-grid, .ozone-grid, .map-grid, .contact-card { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery-gombatlanitas,
  .gallery-eletkepek {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-actions { justify-items: start; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 24px, 1160px); }
  .topbar-inner { align-items: flex-start; flex-direction: column; gap: 4px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-gombatlanitas,
  .gallery-eletkepek {
    grid-template-columns: repeat(2, 1fr);
  }
  .lightbox {
    grid-template-columns: 1fr 1fr;
    align-content: center;
    padding: 18px;
  }
  .lightbox img {
    grid-column: 1 / -1;
    grid-row: 1;
    max-height: 78vh;
    border-radius: 16px;
  }
  .lightbox-prev,
  .lightbox-next {
    grid-row: 2;
    width: 100%;
    height: 48px;
    margin-top: 10px;
    font-size: 34px;
  }
  .lightbox-prev { justify-self: stretch; }
  .lightbox-next { justify-self: stretch; }
  .hero-card, .service-card, .ozone-panel, .contact-card { padding: 24px; border-radius: 22px; }
  .map-card { min-height: 320px; }
  .footer-inner { flex-direction: column; align-items: flex-start; justify-content: center; padding: 22px 0; }
}
