/* ПСК Опалубка / Промстройконтракт-Липецк — партнёрский сайт союз.online */
/* Цветовая схема: deep blue-grey --accent: #2a4a7a */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── СВЕТЛАЯ ТЕМА ── */
:root {
  --accent:     #2a4a7a;
  --accent2:    #c45c06;
  --bg-deep:    #f4f7fc;
  --bg-page:    #edf1f8;
  --bg-card:    #ffffff;
  --bg-card2:   #eaf0fa;
  --border:     #c0cfe8;
  --border2:    #2a4a7a;
  --blue:       #2a4a7a;
  --blue2:      #2563eb;
  --text:       #0d1c38;
  --text-muted: #3a547a;
  --text-dim:   #6b80a8;
  --shadow:     0 2px 12px rgba(42,74,122,.09);
  --shadow-md:  0 4px 24px rgba(42,74,122,.15);
  --radius:     13px;
  --radius-sm:  8px;
}

/* ── ТЁМНАЯ ТЕМА ── */
[data-theme="dark"] {
  --accent:     #6b9be8;
  --accent2:    #fb923c;
  --bg-deep:    #060e20;
  --bg-page:    #060e20;
  --bg-card:    #0d1c38;
  --bg-card2:   #112244;
  --border:     #1c3060;
  --border2:    #3a5ac8;
  --blue:       #6b9be8;
  --blue2:      #93b0f8;
  --text:       #dde6ff;
  --text-muted: #8aaad6;
  --text-dim:   #4a6090;
  --shadow:     0 2px 12px rgba(0,0,0,.4);
  --shadow-md:  0 4px 28px rgba(0,0,0,.5);
}

html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-page);
  color: var(--text);
  line-height: 1.6;
  transition: background .25s, color .25s;
}
a { color: var(--blue2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ── NAV ── */
.topnav {
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center; gap: .75rem;
  padding: .7rem 1.5rem;
  background: rgba(244,247,252,.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  transition: background .25s, border-color .25s;
}
[data-theme="dark"] .topnav { background: rgba(6,14,32,.94); }
.topnav__brand {
  display: flex; align-items: center; gap: .45rem;
  font-weight: 700; font-size: .95rem; color: var(--text);
}
.topnav__brand:hover { text-decoration: none; opacity: .85; }
.topnav__logo { font-size: 1.2rem; }
.topnav__links { display: flex; align-items: center; gap: .25rem; margin-left: auto; flex-wrap: wrap; }
.topnav__link {
  font-size: .82rem; color: var(--text-muted); padding: .3rem .65rem;
  border-radius: 6px; transition: background .15s, color .15s;
}
.topnav__link:hover { background: var(--bg-card2); color: var(--accent); text-decoration: none; }
.topnav__link--accent { color: var(--accent); font-weight: 600; }
.theme-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--border2); background: var(--bg-card);
  cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; margin-left: .25rem; flex-shrink: 0;
}
.theme-btn:hover { background: var(--bg-card2); transform: rotate(20deg); }

/* ── HERO ── */
.hero {
  padding: 5.5rem 1.5rem 4.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 100% 80% at 50% -10%, rgba(42,74,122,.14) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 85% 110%, rgba(196,92,6,.08) 0%, transparent 55%),
    var(--bg-deep);
  border-bottom: 1px solid var(--border);
}
[data-theme="dark"] .hero {
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(107,155,232,.14) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(251,146,60,.07) 0%, transparent 60%),
    var(--bg-deep);
}
.hero__badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem 1.1rem; border-radius: 999px;
  background: rgba(42,74,122,.1); border: 1px solid rgba(42,74,122,.28);
  color: var(--accent); font-size: .8rem; font-weight: 600;
  letter-spacing: .04em; margin-bottom: 1.75rem;
}
[data-theme="dark"] .hero__badge { background: rgba(107,155,232,.12); border-color: rgba(107,155,232,.3); }
.hero__title {
  font-size: clamp(2.8rem, 10vw, 6.5rem);
  font-weight: 900; line-height: .96; letter-spacing: -.03em; margin-bottom: 1rem;
}
.hero__accent { color: var(--accent); }
.hero__accent2 { color: var(--accent2); }
.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted); margin-bottom: 2rem; max-width: 600px; margin-inline: auto;
}
.hero__stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2rem;
  margin-bottom: 2.5rem;
}
.hero__stat { text-align: center; }
.hero__stat-val { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.hero__stat-lbl { font-size: .72rem; color: var(--text-dim); letter-spacing: .04em; text-transform: uppercase; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-bottom: 1.75rem; }
.hero__geo { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.geo-tag {
  padding: .25rem .7rem; border-radius: 999px;
  background: var(--bg-card2); border: 1px solid var(--border);
  font-size: .75rem; color: var(--text-muted);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .65rem 1.4rem; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 600; cursor: pointer;
  transition: all .18s; text-decoration: none; border: none;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { opacity: .88; text-decoration: none; transform: translateY(-1px); }
.btn--ghost { background: var(--bg-card); color: var(--text); border: 1.5px solid var(--border); }
.btn--ghost:hover { background: var(--bg-card2); text-decoration: none; }
.btn--outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn--outline:hover { background: rgba(42,74,122,.08); text-decoration: none; }
.btn--tg { background: #229ed9; color: #fff; }
.btn--tg:hover { opacity: .88; text-decoration: none; }
.btn-group { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ── VERIFIED BAND ── */
.verified-band {
  background: var(--accent); color: #fff;
  padding: .55rem 1.5rem; overflow: hidden;
}
.verified-band__inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2rem;
  max-width: 1100px; margin: 0 auto;
}
.verified-item { display: flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 500; }
.verified-item__label { opacity: .92; }

/* ── STATS BAND ── */
.stats-band {
  background: linear-gradient(135deg, var(--accent) 0%, #1a3060 100%);
  padding: 3rem 1.5rem; color: #fff;
}
.stats-band__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  max-width: 900px; margin: 0 auto; text-align: center;
}
.stat-big__num { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 900; line-height: 1.1; }
.stat-big__lbl { font-size: .75rem; opacity: .8; margin-top: .3rem; letter-spacing: .04em; text-transform: uppercase; }

/* ── SECTION COMMON ── */
.section-wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .5rem;
}
.section-title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; line-height: 1.15; margin-bottom: .5rem; }
.section-sub { color: var(--text-muted); font-size: .95rem; max-width: 540px; margin-inline: auto; }

/* ── CATALOG ── */
.catalog { padding: 4.5rem 0; }
.catalog__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.prod-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow); position: relative;
  display: flex; flex-direction: column; gap: .6rem;
  transition: transform .18s, box-shadow .18s;
}
.prod-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.prod-card--featured { border-color: var(--accent); }
.prod-card--orange { border-color: var(--accent2); }
.prod-card__icon { font-size: 2rem; }
.prod-card__badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--accent); color: #fff;
  font-size: .7rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px;
}
.prod-card__title { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.prod-card__desc { font-size: .88rem; color: var(--text-muted); line-height: 1.5; flex: 1; }
.prod-card__meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .4rem; }
.prod-card__price { font-weight: 700; color: var(--accent); font-size: .9rem; }
.prod-card__geo { font-size: .75rem; color: var(--text-dim); }
.prod-card__btn {
  display: inline-block; padding: .5rem 1rem; border-radius: var(--radius-sm);
  background: var(--accent); color: #fff; font-size: .82rem; font-weight: 600;
  text-align: center; transition: opacity .15s;
  text-decoration: none;
}
.prod-card__btn:hover { opacity: .85; text-decoration: none; }
.prod-card__btn--orange { background: var(--accent2); }

/* ── CHANNELS ── */
.channels { padding: 4rem 0; background: var(--bg-deep); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.channels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.channel-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: .5rem;
  padding: 1.5rem; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
  box-shadow: var(--shadow); text-decoration: none; color: var(--text);
  transition: transform .18s, box-shadow .18s;
}
.channel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; }
.channel-card--primary { border-color: var(--accent); }
.channel-card--union { border-color: var(--accent2); }
.channel-card__icon { font-size: 1.8rem; }
.channel-card__name { font-size: 1rem; font-weight: 700; color: var(--accent); }
.channel-card__desc { font-size: .85rem; color: var(--text-muted); flex: 1; }
.channel-card__btn {
  font-size: .8rem; font-weight: 600; color: var(--accent); margin-top: auto;
}

/* ── HIGHLIGHTS ── */
.highlights { padding: 4.5rem 0; }
.highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.hl-item {
  padding: 1.5rem; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.hl-item__icon { font-size: 2rem; margin-bottom: .5rem; }
.hl-item__title { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.hl-item__desc { font-size: .85rem; color: var(--text-muted); line-height: 1.5; }

/* ── REVIEWS ── */
.reviews { padding: 4.5rem 0; background: var(--bg-deep); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.review-card {
  padding: 1.5rem; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .5rem;
}
.review-card__platform { font-size: .72rem; font-weight: 700; color: var(--accent); letter-spacing: .04em; text-transform: uppercase; }
.review-card__stars { color: #f59e0b; font-size: 1rem; }
.review-card__text { font-size: .9rem; color: var(--text-muted); line-height: 1.55; flex: 1; font-style: italic; }
.review-card__author { font-size: .85rem; font-weight: 600; color: var(--text); }
.review-card__date { font-size: .75rem; color: var(--text-dim); }

/* ── ABOUT ── */
.about { padding: 4.5rem 0; }
.about__inner { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; }
.about__text { display: flex; flex-direction: column; gap: 1rem; }
.about__text p { color: var(--text-muted); font-size: .95rem; line-height: 1.7; }
.about__list { margin-top: .5rem; padding-left: 1.2rem; display: flex; flex-direction: column; gap: .35rem; }
.about__list li { font-size: .9rem; color: var(--text-muted); }
.company-card {
  background: var(--bg-card); border: 1.5px solid var(--accent);
  border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: .5rem;
  position: relative;
}
.company-card__icon { font-size: 2rem; }
.company-card__name { font-size: 1.1rem; font-weight: 800; }
.company-card__status {
  display: inline-block; padding: .15rem .6rem; border-radius: 999px;
  background: rgba(34,197,94,.15); color: #16a34a;
  font-size: .7rem; font-weight: 700; letter-spacing: .04em;
}
.company-row { display: flex; gap: .5rem; font-size: .85rem; }
.company-row__key { color: var(--text-dim); min-width: 70px; flex-shrink: 0; }
.company-row__val { color: var(--text); }

/* ── CONTACTS ── */
.contacts { padding: 4.5rem 0; background: var(--bg-deep); border-top: 1px solid var(--border); }
.contacts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2.5rem; }
.contact-card {
  padding: 1.25rem; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .4rem;
}
.contact-card__icon { font-size: 1.5rem; }
.contact-card__label { font-size: .75rem; font-weight: 700; color: var(--text-dim); letter-spacing: .04em; text-transform: uppercase; }
.contact-card__val { font-size: .9rem; color: var(--text); }
.contact-card__val a { color: var(--blue2); }
.contacts-cta { text-align: center; padding: 2rem; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border); }
.contacts-cta p { color: var(--text-muted); margin-bottom: 1.25rem; max-width: 520px; margin-inline: auto; }
.contacts-cta .btn-group { justify-content: center; }

/* ── FOOTER ── */
.footer {
  background: var(--accent); color: rgba(255,255,255,.9);
  padding: 2.5rem 1.5rem 1.5rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: start; }
.footer-brand__name { font-size: 1.2rem; font-weight: 800; color: #fff; }
.footer-brand__sub { font-size: .8rem; opacity: .75; }
.footer-brand__sub a { color: #fff; opacity: .9; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .4rem .75rem; }
.footer-nav a { font-size: .8rem; color: rgba(255,255,255,.75); }
.footer-nav a:hover { color: #fff; text-decoration: none; }
.footer-legal__copy { font-size: .75rem; opacity: .65; line-height: 1.6; text-align: right; }
.footer-legal__copy a { color: rgba(255,255,255,.8); }

/* ── RESPONSIVE 768px ── */
@media (max-width: 768px) {
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); }
  .catalog__grid { grid-template-columns: repeat(2, 1fr); }
  .channels-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .about__inner { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-legal__copy { text-align: center; }
}

/* ── RESPONSIVE 480px ── */
@media (max-width: 480px) {
  .catalog__grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .topnav { padding: .6rem 1rem; }
  .hero { padding: 4rem 1rem 3.5rem; }
  .section-wrap { padding: 0 1rem; }
  .topnav__link--accent { display: none; }
}
