/* Цветовая палитра, близкая к obryad.by: темно-синий, золото, светло-серый */
:root {
  --bg: #067c60;            /* основной фон элементов (зелёный) */
  --muted: #f7f9f9;         /* светлый фон секций */
  --text: #0e1b16;          /* основной текст на светлом */
  --soft: #5a6e66;          /* вторичный текст */
  --brand: #067c60;         /* шапка/подвал */
  --accent: #d32830;        /* красный акцент */
  --accent-2: #b72027;      /* тёмный акцент */
  --white: #ffffff;
  --card: #ffffff;
  --shadow: rgba(6, 124, 96, 0.1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, "Noto Sans", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 8px; text-decoration: none; font-weight: 600; border: 1px solid transparent; transition: .2s ease; }
.btn--sm { padding: 8px 12px; font-size: 14px; }
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-2); }
.btn--outline { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn--outline:hover { background: rgba(211,40,48,.08); }
.btn--ghost { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.3); }

/* Topbar */
.topbar { background: var(--brand); color: var(--white); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 16px; }
.topbar__brand { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--accent); color: var(--white); font-weight: 800; border-radius: 8px; }
.brand__title { font-weight: 700; }
.brand__cert { opacity: .8; font-size: 14px; }
.topbar__contacts { display: flex; align-items: center; gap: 12px; }
.topbar .phone { color: var(--white); text-decoration: none; font-weight: 700; }
.topbar .hint { opacity: .8; font-size: 14px; }
.divider { opacity: .3; }

.burger { display: none; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: transparent; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px auto; transition: .2s; }

/* Navbar */
.navbar { background: #0a6a54; color: var(--white); border-top: 1px solid rgba(0,0,0,.06); border-bottom: 1px solid rgba(0,0,0,.06); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; gap: 16px; }
.nav { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--white); text-decoration: none; padding: 10px 6px; border-radius: 6px; }
.nav a:hover { background: rgba(255,255,255,.06); }

/* Hero */
.hero { background: linear-gradient(180deg, #067c60 0%, #075f4b 100%); color: var(--white); padding: 56px 0 40px; position: relative; overflow: hidden; }
.hero--image { background: url('./images/hero-minsk.jpg') center/cover no-repeat; }
.hero--image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.45)); }
.hero__content { max-width: 840px; }
.hero__inner { position: relative; z-index: 1; }
.hero h1 { font-size: 40px; line-height: 1.15; margin: 0 0 14px; letter-spacing: .2px; }
.hero p { font-size: 18px; opacity: .92; margin: 0 0 18px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0 12px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 12px 18px; opacity: .86; padding: 0; margin: 14px 0 0; list-style: none; }

/* Sections */
.section { padding: 56px 0; }
.section--muted { background: var(--muted); }
.section__header { margin-bottom: 20px; }

/* Cards and grids */
.grid { display: grid; gap: 16px; }
.grid--cards { grid-template-columns: repeat(4, 1fr); }
.grid--features { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.grid--catalog { grid-template-columns: repeat(5, 1fr); }
.grid--info { grid-template-columns: repeat(3, 1fr); }

.card { background: var(--card); border: 1px solid #e7e9ee; border-radius: 12px; padding: 18px; box-shadow: 0 6px 18px var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.card h3 { margin: 0 0 6px; }
.card .list { margin: 0; padding-left: 18px; color: var(--soft); }
.card__link { margin-top: auto; color: var(--accent-2); text-decoration: none; font-weight: 600; }
.card__link:hover { text-decoration: underline; }

.feature { background: var(--card); border: 1px solid #e7e9ee; border-radius: 12px; padding: 18px; text-align: center; box-shadow: 0 6px 18px var(--shadow); }
.feature__value { font-size: 28px; font-weight: 800; color: #075f4b; }
.feature__label { color: var(--soft); }

.cta-row { margin-top: 16px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Products */
.product { background: var(--card); border: 1px solid #e7e9ee; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 18px var(--shadow); display: flex; flex-direction: column; }
.product__img { background: linear-gradient(135deg, #ebf7f3, #d8efe7); height: 120px; }
.product__body { padding: 12px; display: flex; align-items: center; justify-content: space-between; }
.product__title { font-weight: 700; }
.product__link { color: var(--accent-2); text-decoration: none; font-weight: 600; }

/* Tabs */
.tabs { background: var(--card); border: 1px solid #e7e9ee; border-radius: 12px; box-shadow: 0 6px 18px var(--shadow); }
.tabs__controls { display: grid; grid-template-columns: repeat(4, 1fr); }
.tab { appearance: none; border: 0; background: transparent; padding: 14px 12px; font-weight: 700; border-bottom: 2px solid transparent; cursor: pointer; }
.tab.is-active { border-bottom-color: var(--accent); color: var(--brand); }
.tabs__panels { padding: 14px; }
.panel { display: none; }
.panel.is-active { display: block; }
.steps { margin: 0; padding-left: 18px; }

/* Reviews and news */
.reviews { display: grid; gap: 12px; }
.review { margin: 0; background: var(--card); border: 1px solid #e7e9ee; border-radius: 12px; padding: 16px; box-shadow: 0 6px 18px var(--shadow); }
.news { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.news__item { background: var(--card); border: 1px solid #e7e9ee; border-radius: 12px; padding: 12px; box-shadow: 0 6px 18px var(--shadow); }
.news__item time { color: var(--soft); margin-right: 8px; }

/* Partner */
.section--partner { background: #f9fbfb; }
.section--partner h2 { margin-top: 0; }
.partner__link { color: var(--accent); font-weight: 800; text-decoration: none; }
.partner__link:hover { text-decoration: underline; }

/* Footer */
.footer { background: #055e49; color: var(--white); }

/* Plans */
.plan { position: relative; }
.plan__badge { position: absolute; top: 12px; right: 12px; background: var(--accent); color: var(--white); padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .4px; }
.plan__subtitle { color: var(--soft); margin: 4px 0 8px; }
.plan__body { display: grid; gap: 8px; }
.plan__title { font-weight: 700; }
.plan__numbers { display: grid; gap: 8px; }
.plan__row { display: flex; align-items: baseline; justify-content: space-between; background: var(--muted); border: 1px solid #e7e9ee; border-radius: 8px; padding: 8px 10px; }
.plan__row--accent { border-color: var(--accent); }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; padding: 28px 0; }
.footer__title { font-weight: 800; margin-bottom: 10px; }
.footer .phone, .footer a { color: var(--white); text-decoration: none; }
.footer .messengers { display: flex; gap: 10px; margin-top: 8px; }
.footer__form { display: grid; gap: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 12px; }
.footer__form label { display: grid; gap: 6px; }
.footer__form input[type="tel"] { padding: 10px 12px; border-radius: 8px; border: 1px solid #d6dae3; }
.footer__form .agree { display: flex; align-items: center; gap: 8px; font-size: 14px; opacity: .9; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding: 12px 0 20px; border-top: 1px solid rgba(255,255,255,.12); opacity: .92; }

/* Responsive */
@media (max-width: 1024px) {
  .grid--cards { grid-template-columns: repeat(2, 1fr); }
  .grid--features { grid-template-columns: 1fr; }
  .grid--catalog { grid-template-columns: repeat(2, 1fr); }
  .grid--info { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .navbar__inner { flex-wrap: wrap; }
  .nav { display: none; flex-direction: column; width: 100%; }
  .nav.is-open { display: flex; }
  .burger { display: inline-block; }
}


