/* ============================================================
   AQUATORIA DESIGN SYSTEM — единый каркас для группы брендов
   220232.ru · артаксия.рф · aratay.ru · альберис.рф
   Цвет бренда задаётся на странице через переменные:
   --accent, --accent-dark, --accent-light, --accent-rgb
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* дефолт — фирменный синий Акватории (переопределяется на странице) */
    --accent: #0077cc;
    --accent-dark: #005ba3;
    --accent-light: #e8f4fd;
    --accent-rgb: 0, 119, 204;

    --ink: #14202b;
    --ink-soft: #3d4b57;
    --gray: #6b7a86;
    --line: #e7ecef;
    --bg-soft: #f6f9fb;
    --white: #ffffff;
    --wa: #25d366;
    --wa-dark: #1da851;
    --tg: #29a9eb;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 10px 40px rgba(var(--accent-rgb), 0.10);
    --shadow-hover: 0 16px 48px rgba(var(--accent-rgb), 0.18);
    --maxw: 1160px;
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }

/* ---------- Семейная плашка (общая для всех сайтов) ---------- */
.family-bar {
    background: var(--ink);
    color: #b9c6d0;
    font-size: 0.82rem;
    padding: 7px 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px 18px;
    flex-wrap: wrap;
    letter-spacing: 0.2px;
}
.family-bar .fam-label { color: #7f909c; text-transform: uppercase; letter-spacing: 1px; font-size: 0.72rem; }
.family-bar a { color: #c9d6df; text-decoration: none; font-weight: 500; transition: color 0.15s; }
.family-bar a:hover { color: #fff; }
.family-bar a.active { color: #fff; border-bottom: 2px solid var(--accent); padding-bottom: 1px; }
.family-bar .dot { color: #46545f; }

/* ---------- Шапка ---------- */
header.site-header {
    padding: 16px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(180%) blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}
.brand-logo { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-logo .mark {
    width: 52px; height: 52px; border-radius: 50%;
    overflow: hidden; flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.35);
}
.brand-logo .mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-logo .mark .drop { font-size: 1.5rem; }
.brand-logo .name {
    font-size: 1.45rem; font-weight: 800; color: var(--accent);
    letter-spacing: 1.5px; line-height: 1; text-transform: uppercase;
}
.brand-logo .name .sub {
    display: block; font-size: 0.62rem; font-weight: 500; color: var(--gray);
    letter-spacing: 1.5px; margin-top: 4px; text-transform: uppercase;
}
.header-right { display: flex; align-items: center; gap: 18px; }
.header-contacts { text-align: right; font-size: 0.82rem; color: var(--gray); line-height: 1.4; }
.header-contacts .city { display: block; }
.header-contacts .phone { font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.header-contacts .phone a { color: inherit; text-decoration: none; }
.header-order-btn {
    display: inline-block; padding: 11px 22px; background: var(--accent); color: #fff;
    border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; font-size: 0.95rem;
    white-space: nowrap; transition: background 0.2s, transform 0.2s;
}
.header-order-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* ---------- Навигация ---------- */
nav.site-nav {
    background: var(--accent);
    padding: 11px 5%;
    text-align: center;
    position: sticky;
    top: 84px;
    z-index: 99;
}
nav.site-nav a {
    color: rgba(255,255,255,0.92); text-decoration: none;
    margin: 0 13px; font-size: 0.92rem; font-weight: 500;
    display: inline-block; padding: 3px 0; transition: color 0.15s;
}
nav.site-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Кнопки ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 34px; text-decoration: none; border-radius: var(--radius-sm);
    font-size: 1.02rem; font-weight: 700; transition: all 0.2s; border: 2px solid transparent;
    cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(var(--accent-rgb),0.35); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-2px); }
.btn-tg { background: var(--tg); color: #fff; }
.btn-tg:hover { filter: brightness(0.93); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
    position: relative; text-align: center; overflow: hidden;
    padding: 84px 5% 68px;
    background:
        radial-gradient(1200px 420px at 50% -10%, var(--accent-light) 0%, transparent 70%),
        linear-gradient(180deg, var(--accent-light) 0%, var(--white) 62%);
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background-size: cover; background-position: center; opacity: 0.10;
    background-image: var(--hero-img, none);
}
.hero > * { position: relative; z-index: 1; }
.hero .eyebrow {
    display: inline-block; background: rgba(var(--accent-rgb), 0.10);
    border: 1px solid rgba(var(--accent-rgb), 0.35); color: var(--accent-dark);
    padding: 8px 20px; border-radius: 999px; font-size: 0.88rem; font-weight: 600; margin-bottom: 22px;
}
.hero h1 { font-size: 2.7rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 18px; color: var(--ink); }
.hero .lead { font-size: 1.22rem; color: var(--ink-soft); max-width: 720px; margin: 0 auto 30px; }
.hero .badges {
    display: flex; justify-content: center; gap: 12px 26px; flex-wrap: wrap;
    margin-bottom: 34px; font-size: 0.95rem; color: var(--ink-soft);
}
.hero .badges span { display: inline-flex; align-items: center; gap: 7px; }
.cta-group { display: flex; justify-content: center; gap: 13px; flex-wrap: wrap; }

/* ---------- Секции ---------- */
section { padding: 66px 5%; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.section-head h2 { font-size: 2.05rem; font-weight: 800; letter-spacing: -0.4px; color: var(--ink); }
.section-head p { color: var(--gray); margin-top: 12px; font-size: 1.06rem; }
h2.center { text-align: center; font-size: 2.05rem; font-weight: 800; margin-bottom: 12px; color: var(--ink); }

.wrap { max-width: var(--maxw); margin: 0 auto; }

/* карточки-иконки */
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px; max-width: var(--maxw); margin: 0 auto;
}
.feature-card {
    background: var(--white); padding: 30px 26px; border-radius: var(--radius);
    border: 1px solid var(--line); text-align: center;
    transition: box-shadow 0.25s, transform 0.25s;
}
.feature-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.feature-card .ic {
    width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center; font-size: 1.9rem;
    background: var(--accent-light); color: var(--accent);
}
.feature-card h3 { font-size: 1.16rem; margin-bottom: 9px; }
.feature-card p { color: var(--gray); font-size: 0.96rem; }

/* split-секция (текст + изображение) */
.split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 52px;
    max-width: var(--maxw); margin: 0 auto; align-items: center;
}
.split.narrow { gap: 46px; }
.split .s-text h2 { text-align: left; font-size: 1.9rem; font-weight: 800; margin-bottom: 18px; color: var(--ink); }
.split .s-text p { color: var(--ink-soft); margin-bottom: 15px; font-size: 1.05rem; }
.split .s-text ul { list-style: none; margin-top: 18px; }
.split .s-text ul li { padding: 8px 0 8px 30px; position: relative; color: var(--ink-soft); }
.split .s-text ul li::before {
    content: "✓"; color: var(--accent); position: absolute; left: 0; top: 8px;
    font-weight: 800;
}
.split .s-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.media-frame {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px; box-shadow: var(--shadow); text-align: center;
}
.media-frame img { border-radius: var(--radius-sm); margin: 0 auto; }
.media-frame .caption { margin-top: 14px; font-size: 0.9rem; color: var(--gray); }

/* placeholder-заглушка под фото */
.ph {
    width: 100%; aspect-ratio: 4/3; border-radius: var(--radius);
    background:
        repeating-linear-gradient(45deg, rgba(var(--accent-rgb),0.05) 0 12px, rgba(var(--accent-rgb),0.09) 12px 24px),
        var(--accent-light);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; color: var(--accent-dark); border: 1px dashed rgba(var(--accent-rgb),0.4);
}
.ph .ph-ic { font-size: 2.4rem; opacity: 0.7; }
.ph .ph-txt { font-size: 0.82rem; letter-spacing: 0.5px; opacity: 0.8; }

/* мини-статистика */
.stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
    margin-top: 28px; padding: 24px; background: var(--white);
    border-radius: var(--radius); border: 1px solid var(--line);
}
.stats .stat { text-align: center; }
.stats .stat .num { display: block; font-size: 1.75rem; font-weight: 800; color: var(--accent); line-height: 1.1; }
.stats .stat .lbl { font-size: 0.78rem; color: var(--gray); margin-top: 5px; }

/* soft-фон */
.bg-soft { background: var(--bg-soft); }
.bg-tint { background: linear-gradient(135deg, var(--accent-light) 0%, #fff 100%); }

/* каталог воды (карточки-товары) */
.catalog {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px; max-width: var(--maxw); margin: 0 auto;
}
.product-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; text-decoration: none; color: inherit;
    display: flex; flex-direction: column; transition: box-shadow 0.25s, transform 0.2s;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.product-card .pc-img { aspect-ratio: 4/3; background: var(--accent-light); overflow: hidden; }
.product-card .pc-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card .pc-body { padding: 20px 22px; flex-grow: 1; display: flex; flex-direction: column; }
.product-card .pc-tag { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); font-weight: 700; margin-bottom: 6px; }
.product-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.product-card p { color: var(--gray); font-size: 0.94rem; flex-grow: 1; }
.product-card .pc-more { margin-top: 14px; color: var(--accent); font-weight: 700; font-size: 0.9rem; }

/* доставка */
.delivery-grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 34px;
    max-width: 1000px; margin: 0 auto;
}
.delivery-item { max-width: 240px; text-align: center; }
.delivery-item .ic { font-size: 2.2rem; margin-bottom: 12px; }
.delivery-item h4 { font-size: 1.06rem; margin-bottom: 8px; }
.delivery-item p { color: var(--gray); font-size: 0.94rem; }

/* бренды-семья (карточки) */
.brands-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px; max-width: var(--maxw); margin: 0 auto;
}
.brand-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 22px; text-align: center; text-decoration: none; color: inherit;
    transition: box-shadow 0.25s, transform 0.2s; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.brand-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.brand-card .bc-mark {
    width: 66px; height: 66px; border-radius: 50%;
    background: linear-gradient(135deg, var(--bc-a, var(--accent)), var(--bc-b, var(--accent-dark)));
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.5rem;
}
.brand-card h3 { font-size: 1.14rem; color: var(--ink); }
.brand-card p { color: var(--gray); font-size: 0.9rem; line-height: 1.5; }
.brand-card .bc-link { color: var(--accent); font-size: 0.85rem; font-weight: 700; margin-top: 2px; }
.brand-card.current { border: 2px solid var(--accent); background: var(--accent-light); }

/* дистрибьюторы / где купить */
.buy-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 22px; max-width: var(--maxw); margin: 0 auto;
}
.buy-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 24px; transition: box-shadow 0.25s, transform 0.2s;
}
.buy-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.buy-card .city-ic { font-size: 1.9rem; margin-bottom: 8px; }
.buy-card h3 { font-size: 1.18rem; margin-bottom: 4px; color: var(--accent); }
.buy-card .company { font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.buy-card .phone { color: var(--gray); font-size: 0.95rem; line-height: 1.8; }
.buy-card .phone a { color: var(--accent); text-decoration: none; }

/* тёмная акцентная секция (опт) */
.accent-section {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff; text-align: center;
}
.accent-section h2 { color: #fff; }
.accent-section .section-head p { color: rgba(255,255,255,0.9); }
.accent-features {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px; max-width: 1000px; margin: 0 auto 36px;
}
.accent-features .item {
    background: rgba(255,255,255,0.12); padding: 24px 20px; border-radius: var(--radius);
    backdrop-filter: blur(4px);
}
.accent-features .item .ic { font-size: 2rem; margin-bottom: 10px; }
.accent-features .item h4 { font-size: 1.04rem; margin-bottom: 6px; }
.accent-features .item p { font-size: 0.92rem; opacity: 0.95; }
.accent-section .big-phone { font-size: 1.5rem; font-weight: 800; margin-top: 14px; display: inline-block; }
.accent-section .big-phone a { color: #fff; text-decoration: none; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 20px 24px; margin-bottom: 13px;
}
.faq-item h3 { color: var(--accent); margin-bottom: 8px; font-size: 1.06rem; }
.faq-item p { color: var(--ink-soft); font-size: 0.98rem; }
.faq-item p a { color: var(--accent); }

/* контакты */
.contacts-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px; max-width: var(--maxw); margin: 0 auto;
}
.contact-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 24px; text-align: center; transition: box-shadow 0.25s;
}
.contact-card:hover { box-shadow: var(--shadow-hover); }
.contact-card .ic { font-size: 2.1rem; margin-bottom: 12px; }
.contact-card h4 { font-size: 1.1rem; margin-bottom: 8px; }
.contact-card p, .contact-card a { color: var(--gray); font-size: 0.98rem; text-decoration: none; line-height: 1.7; }
.contact-card a:hover { color: var(--accent); }

/* order CTA (единый блок заказа) */
.order-cta {
    text-align: center; padding: 76px 5%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
}
.order-cta h2 { color: #fff; margin-bottom: 16px; font-size: 2.05rem; font-weight: 800; }
.order-cta p { font-size: 1.14rem; margin: 0 auto 30px; opacity: 0.95; max-width: 600px; }
.order-cta .btn-primary { background: #fff; color: var(--accent-dark); }
.order-cta .btn-primary:hover { background: #eaf4ff; }

/* footer */
footer.site-footer { background: var(--ink); color: #9fb0bc; padding: 54px 5% 28px; font-size: 0.9rem; }
.footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 38px; max-width: var(--maxw); margin: 0 auto 30px;
}
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-col p, .footer-col a { color: #9fb0bc; text-decoration: none; line-height: 1.9; font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-fam { display: flex; flex-direction: column; gap: 5px; }
.footer-fam a { font-weight: 500; }
.footer-bottom {
    text-align: center; border-top: 1px solid rgba(255,255,255,0.09);
    padding-top: 22px; color: #6e808c; font-size: 0.84rem; max-width: var(--maxw); margin: 0 auto;
}
.footer-counter { text-align: center; color: #6e808c; font-size: 0.82rem; margin-top: 10px; }

/* плавающие кнопки */
.floats { position: fixed; right: 18px; bottom: 18px; z-index: 1000; display: flex; flex-direction: column; gap: 12px; }
.floats a {
    width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.5rem; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,0.22);
    transition: transform 0.2s;
}
.floats a:hover { transform: scale(1.1); }
.floats .f-call { background: var(--accent); }
.floats .f-wa { background: var(--wa); }
.floats .f-tg { background: var(--tg); }

/* хлебные крошки */
.crumbs { max-width: var(--maxw); margin: 0 auto; padding: 18px 5% 0; font-size: 0.86rem; color: var(--gray); }
.crumbs a { color: var(--accent); text-decoration: none; }
.crumbs span { color: var(--gray); }

/* адаптив */
@media (max-width: 900px) {
    .split, .split.narrow { grid-template-columns: 1fr; gap: 32px; }
    .split .s-text h2 { text-align: center; }
    .split .s-media { order: -1; }
    .stats { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
    header.site-header { flex-wrap: wrap; padding: 12px 5%; gap: 10px; }
    .header-right { gap: 12px; }
    .header-order-btn { display: none; }
    nav.site-nav { top: 76px; padding: 9px 4%; white-space: nowrap; overflow-x: auto; text-align: left; }
    nav.site-nav a { margin: 0 10px; font-size: 0.86rem; }
    .hero { padding: 58px 5% 48px; }
    .hero h1 { font-size: 1.95rem; }
    .hero .lead { font-size: 1.05rem; }
    section { padding: 46px 5%; }
    .section-head h2, h2.center, .order-cta h2 { font-size: 1.6rem; }
    .stats { grid-template-columns: 1fr; }
    .brand-logo .name { font-size: 1.2rem; }
    .header-contacts .city { display: none; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.7rem; }
    .cta-group .btn { width: 100%; justify-content: center; }
}
