/*
Theme Name: AQUARIUM TEAM
Version: 3.1.1
Description: Заглушка v3.1.1 — исправленный WhatsApp-линк, иконка WhatsApp (app-style), шапка с контактами, каталог без кнопок, строка преимуществ над футером.
Author: AQUARIUM TEAM
*/
:root{--brand:#0c4a6e;--ink:#0d1b2a;--light:#f2f8fc}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:#000;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Ubuntu,'Helvetica Neue',Arial,sans-serif}
a{color:inherit;text-decoration:none}
.container{max-width:1200px;margin:0 auto;padding:0 16px}
.topbar{position:fixed;left:0;right:0;top:0;height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;color:#fff;z-index:20;background:linear-gradient(180deg,rgba(0,0,0,.55),rgba(0,0,0,.15))}
.brand{font-weight:800;letter-spacing:.5px}
.contacts{display:flex;gap:18px;font-weight:700;align-items:center}
.contacts a{display:flex;align-items:center;gap:8px;color:#fff}
.contacts img{width:18px;height:18px;border-radius:4px;display:inline-block}
.hero{min-height:72vh;display:grid;place-items:center;text-align:center;color:#fff;background:url('assets/img/bg.jpg') center/cover no-repeat fixed;position:relative;padding-top:68px;overflow:hidden}
.hero__overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.45),rgba(0,0,0,.6))}
.hero__inner{position:relative;z-index:1;max-width:940px;padding:26px;margin:26px;border-radius:18px;background:rgba(255,255,255,.75);backdrop-filter:blur(6px)}
.hero__title{margin:6px 0 8px;font-size:40px;color:var(--brand)}
.hero__subtitle{margin:0 0 6px;color:#1d3a50}
.bubbles{position:absolute;inset:0;overflow:hidden;z-index:0}
.bubbles span{position:absolute;bottom:-60px;width:12px;height:12px;border-radius:50%;border:2px solid rgba(210,235,255,.9);animation:rise linear infinite;opacity:.8}
@keyframes rise{0%{transform:translateY(0) scale(1)}100%{transform:translateY(-110vh) scale(.6);opacity:.1}}
.catalog{background:var(--light);padding:40px 16px}
.catalog h2{text-align:center;margin:0 0 16px;color:var(--brand)}
.grid{max-width:1600px;margin:0 auto;display:grid;grid-template-columns:repeat(7,1fr);gap:16px}
.card{background:#fff;border-radius:16px;box-shadow:0 10px 30px rgba(12,74,110,.1);padding:12px;text-align:center;border:1px solid #e6eef6;transition:.2s}
.card:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(12,74,110,.18)}
.card img{width:100%;height:auto;border-radius:12px}
.card h3{margin:10px 0 8px;font-size:18px}
.notice-line{background:#fff;padding:16px 0;border-top:1px solid #e8eef5;border-bottom:1px solid #e8eef5;font-weight:700}
.notice-line .row{display:flex;gap:24px;justify-content:center;align-items:center}
.footer{background:#fff;color:#335;padding:20px 0;text-align:center}
@media (max-width:1200px){ .grid{grid-template-columns:repeat(3,1fr)} }
@media (max-width:760px){ .grid{grid-template-columns:repeat(2,1fr)} .contacts{display:none} }
@media (max-width:520px){ .grid{grid-template-columns:1fr} }
/* === Выровнять карточки каталога === */
.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* картинка сверху, текст внизу */
  align-items: center;
  height: 380px;                  /* ОДИНАКОВАЯ высота всех карточек */
  padding: 10px;
  text-align: center;
  border: 1px solid #e6e6e6;      /* можно убрать */
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.card img {
  width: 100%;
  height: 250px;       /* одинаковая высота картинок */
  object-fit: contain; /* картинка сохраняет пропорции, не обрезается */
  display: block;
  margin: 0 auto;
}

.card h3 {
  margin-top: auto;   /* «прижимает» заголовок к низу карточки */
  font-size: 16px;
  line-height: 1.3;
}
/* 🎨 Hover-эффекты для карточек */
.card {
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px); /* приподнимается */
  box-shadow: 0 8px 20px rgba(0,0,0,0.2); /* мягкая тень */
}

/* плавное увеличение картинки */
.card img {
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.05); /* картинка слегка увеличивается */
}
/* ===== Всегда показываем контакты, в т.ч. на мобильных ===== */

/* Базовая раскладка шапки */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:8px 12px;
}

/* Контакты — в одну строку, можно переносить */
.topbar .contacts{
  display:flex !important;          /* на случай, если где-то был display:none */
  align-items:center;
  gap:14px;
  flex-wrap:wrap;                   /* разрешаем перенос на вторую строку */
}

/* Ссылки контактов — компактные и в одну линию с иконкой */
.topbar .contacts a{
  display:flex;
  align-items:center;
  gap:6px;
  color:#fff;
  font-weight:600;
  text-decoration:none;
  white-space:nowrap;               /* не ломаем номер посередине */
}

/* Иконки внутри контактов */
.topbar .contacts img{
  width:18px;
  height:18px;
  border-radius:4px;
  vertical-align:middle;
}

/* ===== Адаптив: мобильные ===== */
@media (max-width: 640px){
  .topbar{
    flex-direction:column;          /* бренд сверху, контакты ниже */
    align-items:flex-start;
    gap:6px;
  }
  .topbar .contacts{
    gap:10px;
  }
  .topbar .contacts a{
    font-size:15px;                 /* чуть меньше */
  }
}

/* Очень узкие экраны */
@media (max-width: 380px){
  .topbar .contacts a{
    font-size:14px;
  }
  .topbar .contacts img{
    width:16px;
    height:16px;
  }
}