/* ==========================================================================
   OCEANICA — ТОО «Аквариум Сервис»
   Палитра и логотип взяты из фирменных материалов oceanica.kz
   ========================================================================== */

:root {
  /* фирменные цвета */
  --deep:      #123331;   /* основной тёмный бирюзовый фона */
  --deep-2:    #0a2321;
  --deep-3:    #0e4c4a;
  --aqua:      #4d9694;   /* фирменный акцент */
  --aqua-br:   #5fc9c0;   /* осветлённый акцент для тёмного фона */
  --coral:     #e07a2b;   /* оранжевый из логотипа */
  --coral-d:   #c46017;

  --paper:     #ffffff;
  --sand:      #f2f7f6;
  --sand-2:    #e6efee;

  --ink:       #17302e;
  --text:      #405957;
  --muted:     #6c8583;

  --line:      #d9e6e4;
  --line-dark: rgba(255, 255, 255, .14);

  --radius:    18px;
  --radius-s:  12px;
  --shadow:    0 18px 44px -22px rgba(9, 40, 38, .45);
  --shadow-lg: 0 30px 70px -30px rgba(9, 40, 38, .6);

  --wrap:      1220px;
  --gut:       clamp(16px, 4vw, 40px);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;

  --hdr-h: 72px;
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--hdr-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -.018em;
  font-weight: 800;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--aqua-br);
  outline-offset: 3px;
  border-radius: 6px;
}

/* -------------------------------------------------------------- layout -- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section { padding: clamp(58px, 8vw, 104px) 0; }
.section--tight { padding: clamp(46px, 6vw, 78px) 0; }

.section--sand { background: var(--sand); }
.section--dark {
  background:
    radial-gradient(120% 90% at 78% 0%, #17504c 0%, rgba(23,80,76,0) 62%),
    var(--deep);
  color: #cfe2e0;
}
.section--dark h2,
.section--dark h3 { color: #fff; }

/* заголовок секции */
.shead { max-width: 760px; margin-bottom: clamp(30px, 4vw, 50px); }
.shead--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.section--dark .eyebrow { color: var(--aqua-br); }

.shead h2 { font-size: clamp(28px, 4.3vw, 45px); }
.shead p {
  margin-top: 16px;
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: var(--muted);
  max-width: 62ch;
}
.section--dark .shead p { color: #a9c6c3; }
.shead--center p { margin-inline: auto; }

/* ---------------------------------------------------------------- btns -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  text-align: center;
  transition: transform .18s ease, background-color .18s ease,
              border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 14px 28px -14px rgba(224, 122, 43, .85);
}
.btn--primary:hover { background: var(--coral-d); }

.btn--aqua {
  background: var(--aqua);
  color: #fff;
  box-shadow: 0 14px 28px -14px rgba(77, 150, 148, .9);
}
.btn--aqua:hover { background: #3d807e; }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .38);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .6);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--outline:hover { border-color: var(--aqua); color: var(--aqua); }

.btn--wide { width: 100%; }
.btn--lg { padding: 17px 32px; font-size: 16.5px; }

/* -------------------------------------------------------------- header -- */
.topline {
  background: var(--deep-2);
  color: #9fbdba;
  font-size: 13.5px;
}
.topline__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 40px;
  padding-block: 7px;
}
.topline__geo { display: inline-flex; align-items: center; gap: 8px; }
.topline__geo svg { flex: none; opacity: .8; }
.topline__links { display: flex; align-items: center; gap: 22px; }
.topline a:hover { color: var(--aqua-br); }

.hdr {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(18, 51, 49, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.hdr__in {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--hdr-h);
}

.logo { flex: none; display: block; }
.logo img { width: 156px; height: 20px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list a {
  display: block;
  white-space: nowrap;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: #d6e7e5;
  transition: background-color .18s ease, color .18s ease;
}
.nav__list a:hover { background: rgba(255, 255, 255, .1); color: #fff; }

.hdr__phone {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
  font-size: 16px;
  white-space: nowrap;
}
.hdr__phone-ico { display: none; }
.hdr__phone-txt { display: flex; flex-direction: column; }
.hdr__phone-txt span {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--aqua-br);
}
.hdr__cta { padding: 12px 22px; font-size: 14.5px; }

.burger {
  display: none;
  flex: none;
  width: 46px; height: 46px;
  margin-left: auto;
  background: rgba(255, 255, 255, .1);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 13px;
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* мобильное меню */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--deep);
  padding: 90px var(--gut) 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  visibility: hidden;
}
body.menu-open .drawer { transform: none; visibility: visible; }
.drawer__list { display: grid; gap: 2px; margin-bottom: 26px; }
.drawer__list a {
  display: block;
  padding: 14px 4px;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid var(--line-dark);
}
.drawer__contacts { display: grid; gap: 12px; margin-top: 24px; }
.drawer__contacts a { color: #cfe2e0; font-weight: 600; }
.drawer__contacts a strong { color: #fff; display: block; font-size: 18px; }

/* ---------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  color: #fff;
  background: var(--deep-2);
  isolation: isolate;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(102deg, rgba(8, 33, 32, .95) 0%, rgba(8, 33, 32, .82) 38%,
                    rgba(9, 45, 43, .5) 68%, rgba(9, 45, 43, .38) 100%),
    linear-gradient(180deg, rgba(8, 33, 32, .5) 0%, rgba(8, 33, 32, 0) 30%);
}
.hero__in {
  padding: clamp(56px, 8vw, 108px) 0 clamp(48px, 6vw, 84px);
  max-width: 720px;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 12px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  font-size: 13px;
  font-weight: 600;
  color: #d8ecea;
}
.hero__tag b { color: var(--aqua-br); font-weight: 700; }

.hero h1 {
  color: #fff;
  font-size: clamp(31px, 5.4vw, 58px);
  letter-spacing: -.028em;
}
.hero h1 em {
  font-style: normal;
  color: var(--aqua-br);
}
.hero__lead {
  margin-top: 20px;
  font-size: clamp(16.5px, 1.8vw, 19.5px);
  color: #c6dedb;
  max-width: 58ch;
}
.hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero__note {
  margin-top: 18px;
  font-size: 14px;
  color: #93b4b1;
}

/* показатели */
.stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border-top: 1px solid var(--line-dark);
}
.stats__i {
  background: rgba(8, 33, 32, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 26px var(--gut) 30px;
}
.stats__n {
  display: block;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.stats__n small { font-size: .55em; color: var(--aqua-br); font-weight: 700; }
.stats__t {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: #a4c3c0;
}

/* --------------------------------------------------- направления (grid) -- */
.dirs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 16px;
}
.dir {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px 26px;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.dir:hover,
.dir:focus-within {
  transform: translateY(-4px);
  border-color: var(--aqua);
  box-shadow: var(--shadow);
}
.dir__ico {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--sand-2);
  color: var(--deep-3);
  flex: none;
}
.dir:hover .dir__ico, .dir:focus-within .dir__ico { background: var(--aqua); color: #fff; }
.dir h3 { font-size: 17.5px; letter-spacing: -.01em; }
.dir p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.dir__more {
  margin-top: auto;
  padding: 6px 0 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--aqua);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
}
/* кнопка растянута на всю карточку — кликается любая её часть */
.dir__more::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.dir__more::after { content: "→"; transition: transform .2s ease; }
.dir:hover .dir__more::after, .dir:focus-within .dir__more::after { transform: translateX(4px); }

/* ------------------------------------------------------------ проекты -- */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.proj {
  position: relative;
  display: block;
  background: var(--deep-2);
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  box-shadow: var(--shadow);
}
/* прозрачная кнопка поверх карточки: доступна с клавиатуры, не ломает вёрстку */
.proj__open {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  font-size: 0;
  color: transparent;
}
.proj__body { z-index: 1; }
.proj img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .8, .3, 1), opacity .3s ease;
}
.proj:hover img, .proj:focus-within img { transform: scale(1.06); opacity: .85; }
.proj__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 60px 20px 20px;
  background: linear-gradient(180deg, rgba(8, 33, 32, 0) 0%,
              rgba(8, 33, 32, .82) 48%, rgba(8, 33, 32, .96) 100%);
}
.proj__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--aqua-br);
  margin-bottom: 8px;
}
.proj h3 { color: #fff; font-size: 18.5px; letter-spacing: -.012em; }
.proj p {
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.45;
  color: #b9d3d0;
}

/* ------------------------------------------------------------- цитата -- */
.quote {
  margin: 0;                 /* сброс дефолтных полей <figure> */
  position: relative;
  isolation: isolate;
  color: #fff;
  text-align: center;
  padding: clamp(64px, 9vw, 118px) 0;
  overflow: hidden;
  background: var(--deep-2);
}
.quote__bg { position: absolute; inset: 0; z-index: -2; }
.quote__bg img { width: 100%; height: 100%; object-fit: cover; }
.quote::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 33, 32, .8), rgba(8, 33, 32, .62));
}
.quote blockquote {
  margin: 0 auto;
  max-width: 20ch;
  font-size: clamp(26px, 4.4vw, 46px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.025em;
}
.quote figcaption {
  margin-top: 20px;
  font-size: 14.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--aqua-br);
  font-weight: 600;
}

/* -------------------------------------------------------------- услуги -- */
.svc {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 14px;
}
.svc__i {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 20px 22px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-s);
  transition: background-color .2s ease, border-color .2s ease;
}
.svc__i:hover { background: rgba(255, 255, 255, .09); border-color: rgba(95, 201, 192, .5); }
.svc__i svg { flex: none; color: var(--aqua-br); margin-top: 2px; }
.svc__i h3 { font-size: 16.5px; margin-bottom: 5px; }
.svc__i p { font-size: 14px; line-height: 1.5; color: #a4c3c0; }

/* ------------------------------------------------------------- каталог -- */
.catalog {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 8px; }
.chips li {
  padding: 9px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.catalog__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.catalog__media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ---------------------------------------------------------- о компании -- */
.about {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
}
.about__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: calc(var(--hdr-h) + 24px);
}
.about__media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.about__text p { color: #b3cecb; }
.about__text p + p { margin-top: 0; }

.facts { display: grid; gap: 10px; margin-top: 26px; }
.facts li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.5;
  color: #cfe2e0;
}
.facts svg { flex: none; color: var(--aqua-br); margin-top: 4px; }

.partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 34px;
}
.partner {
  padding: 18px 20px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, .04);
}
.partner b { display: block; color: #fff; font-size: 16px; margin-bottom: 5px; }
.partner span { font-size: 13.5px; line-height: 1.45; color: #9fbdba; }

/* --------------------------------------------------------------- этапы -- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 22px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--sand-2);
  margin-bottom: 12px;
  letter-spacing: -.03em;
}
.step h3 { font-size: 17px; margin-bottom: 7px; }
.step p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }

/* --------------------------------------------------------------- форма -- */
.cta {
  display: grid;
  grid-template-columns: 1fr minmax(340px, 460px);
  gap: clamp(28px, 4.5vw, 60px);
  align-items: center;
}
.cta__text h2 { font-size: clamp(27px, 3.9vw, 42px); }
.cta__text p { margin-top: 16px; color: #b3cecb; font-size: 17px; }
.cta__ways { display: grid; gap: 12px; margin-top: 26px; }
.cta__ways a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: #fff;
  font-size: 17px;
}
.cta__ways svg { color: var(--aqua-br); flex: none; }
.cta__ways a:hover { color: var(--aqua-br); }

.form {
  background: var(--paper);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-lg);
}
.form h3 { font-size: 21px; margin-bottom: 6px; }
.form__sub { font-size: 14.5px; color: var(--muted); margin-bottom: 20px; }

.field { margin-bottom: 15px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  transition: border-color .18s ease, background-color .18s ease;
}
.field textarea { min-height: 92px; resize: vertical; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%236c8583' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--aqua);
  box-shadow: 0 0 0 4px rgba(77, 150, 148, .16);
}
.field input[aria-invalid="true"] {
  border-color: #d4553d;
  box-shadow: 0 0 0 4px rgba(212, 85, 61, .14);
}
.field__err {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  color: #c0432b;
  font-weight: 600;
}
.field input[aria-invalid="true"] ~ .field__err { display: block; }

.form__note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

/* ------------------------------------------------------------ контакты -- */
.contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.contact {
  padding: 26px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact h3 {
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 14px;
}
.contact ul { display: grid; gap: 10px; }
.contact a { font-weight: 700; color: var(--ink); }
.contact a:hover { color: var(--aqua); }
.contact small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.contact address { font-style: normal; line-height: 1.6; }

.map {
  margin-top: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sand-2);
  line-height: 0;
}
.map iframe { width: 100%; height: 380px; border: 0; display: block; }

/* -------------------------------------------------------------- подвал -- */
.foot {
  background: var(--deep-2);
  color: #9fbdba;
  padding: clamp(44px, 5vw, 66px) 0 28px;
  font-size: 14.5px;
}
.foot__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-dark);
}
.foot__logo img { width: 172px; height: 22px; margin-bottom: 16px; }
.foot__about { max-width: 40ch; line-height: 1.6; }
.foot h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.foot__nav { display: grid; gap: 9px; }
.foot a:hover { color: var(--aqua-br); }
.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13.5px;
}
.foot__dev { color: #7fa19e; }
.foot__dev a { color: var(--aqua-br); font-weight: 700; }

/* --------------------------------------------------- WhatsApp-виджет -- */
.wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;               /* фирменный зелёный WhatsApp */
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7);
  transition: transform .2s ease;
}
.wa:hover { transform: scale(1.07); }
.wa svg { width: 33px; height: 33px; }
.wa::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPulse 2.6s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: .65; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ------------------------------------------------------------ лайтбокс -- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(6, 26, 25, .94);
  backdrop-filter: blur(4px);
}
.lb[open] { display: grid; }
.lb__fig { margin: 0; max-width: 1020px; width: 100%; text-align: center; }
.lb__fig img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: var(--radius-s);
}
.lb__cap { margin-top: 16px; color: #cfe2e0; font-size: 15px; }
.lb__cap b { display: block; color: #fff; font-size: 18px; margin-bottom: 5px; }
.lb__x, .lb__nav {
  position: absolute;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  border-radius: 50%;
  width: 46px; height: 46px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
}
.lb__x { top: 16px; right: 16px; }
.lb__nav--prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb__nav--next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb__x:hover, .lb__nav:hover { background: rgba(255, 255, 255, .24); }

/* ------------------------------------------------------------ анимация -- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .3, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================== адаптив === */
@media (max-width: 1100px) {
  .nav, .hdr__cta { display: none; }
  .burger { display: block; }
  .hdr__phone { margin-left: auto; }
  .about, .catalog { grid-template-columns: 1fr; }
  .about__media { position: static; order: -1; }
  .cta { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__logo { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .topline__geo { display: none; }
  .topline__in { justify-content: center; }
  .hero__acts .btn { flex: 1 1 100%; }
  .map iframe { height: 300px; }
  .projects { grid-template-columns: 1fr; }
  .lb__nav { width: 40px; height: 40px; }
  .lb__nav--prev { left: 6px; }
  .lb__nav--next { right: 6px; }
}

@media (max-width: 560px) {
  :root { --hdr-h: 62px; }
  .hdr__in { gap: 10px; }
  .logo img { width: 128px; height: 16.5px; }
  /* телефон сворачивается в иконку — иначе строка не помещается в 360px */
  .hdr__phone {
    width: 42px; height: 42px;
    margin-left: auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 1px solid var(--line-dark);
  }
  .hdr__phone-ico { display: block; color: var(--aqua-br); }
  .hdr__phone-txt { display: none; }
  .burger { margin-left: 0; }
  .stats { grid-template-columns: 1fr; }
  .stats__i { padding-block: 20px 22px; }
  .dirs { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr; gap: 26px; }
  .wa { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .wa svg { width: 29px; height: 29px; }
}
