:root {
  --bg: #f4f8fb;
  --text: #1f2937;
  --accent: #0c6b9e;
  --accent-2: #0a4f74;
  --card: #ffffff;
  --muted: #5b6877;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #d9e3ea;
  z-index: 10;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand__logo {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid #d6e5ef;
  background: #fff;
}

.brand__logo--transparent {
  object-fit: contain;
  background: transparent;
  border: 0;
}

.brand__title {
  font-weight: 700;
  font-size: 1.05rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--accent);
}

.menu-btn {
  display: none;
  border: 1px solid #ccd9e2;
  background: #fff;
  color: var(--text);
  border-radius: 8px;
  padding: 8px 11px;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  padding: 20px 0 4px;
}

.hero + section {
  padding-top: 8px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.12;
}

.hero p {
  color: var(--muted);
  max-width: 58ch;
  margin: 0 0 24px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  border: 0;
  border-radius: 10px;
  padding: 11px 18px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-2);
}

.btn--light {
  background: #fff;
  color: var(--accent-2);
  border: 1px solid #cddae4;
}

.hero__photo {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #dbe8f1;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.hero__photo--transparent {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.hero__photo--transparent img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

section {
  padding: 34px 0;
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.about__box {
  background: var(--card);
  padding: 22px;
  border-radius: 14px;
  border: 1px solid #dbe6ee;
}

.about__box p {
  margin: 0;
  color: #3f4b59;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  background: var(--card);
  border: 1px solid #dae5ee;
  border-radius: 12px;
  padding: 18px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: #4a5665;
  font-size: 0.95rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery__item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dae5ee;
  min-height: 180px;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact__card {
  background: #fff;
  border: 1px solid #d9e4ec;
  border-radius: 12px;
  padding: 16px;
}

.page-hero {
  padding: 44px 0 20px;
}

.page-hero p {
  color: var(--muted);
  margin: 0;
}

.footer {
  border-top: 1px solid #d7e3ec;
  margin-top: 28px;
  padding: 22px 0;
  color: #4d5a68;
  font-size: 0.92rem;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.footer a {
  color: inherit;
}

.footer__facebook {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  overflow: hidden;
  line-height: 0;
  text-decoration: none;
}

.footer__facebook svg {
  display: block;
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
}

.footer__facebook:hover {
  opacity: 0.85;
}

@media (max-width: 900px) {
  .hero__grid,
  .cards,
  .gallery,
  .contact {
    grid-template-columns: 1fr 1fr;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .menu-btn {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #d8e4ed;
    padding: 10px 4%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav.is-open {
    display: flex;
  }

  .cards,
  .gallery,
  .contact {
    grid-template-columns: 1fr;
  }
}
