/* Стили для veselyaschiy-gaz.ru */
:root {
    --dark: #17262c;
    --dark2: #24383e;
    --accent: #66cbb7;
    --accent-dark: #268d7d;
    --bg: #f4f7f6;
    --text: #26373c;
    --muted: #728087;
    --white: #fff;
    --border: #e1e9e7;
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}
.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 15px;
    white-space: nowrap;
}
.logo-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    background: var(--dark);
    color: var(--accent);
    border-radius: 12px;
    font-weight: 900;
}
.logo small {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: var(--muted);
}
.nav {
    display: flex;
    align-items: center;
    gap: 15px;
}
.nav a {
    font-size: 12px;
    font-weight: 600;
    color: #536267;
    padding: 6px 2px;
    transition: color .2s;
}
.nav a:hover, .nav a.active {
    color: var(--accent-dark);
    font-weight: 700;
    border-bottom: 2px solid var(--accent);
}
.phone {
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    color: var(--dark);
}
.phone:hover { color: var(--accent-dark); }
.menu-toggle {
    display: none;
    border: 0;
    border-radius: 10px;
    background: var(--bg);
    padding: 10px 13px;
    font-size: 21px;
    cursor: pointer;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 14px 0;
    font-size: 12px;
    color: var(--muted);
    background: #fafcfb;
    border-bottom: 1px solid var(--border);
}
.breadcrumbs a { color: var(--accent-dark); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 6px; }

/* Page Hero */
.page-hero {
    background: linear-gradient(120deg, #142329, #243b42);
    color: white;
    padding: 55px 0 45px;
}
.page-hero h1 {
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -1.2px;
    margin-bottom: 14px;
    line-height: 1.15;
}
.page-hero p {
    max-width: 760px;
    color: #d0dcde;
    font-size: 16px;
    margin-bottom: 0;
}

/* Hero Section (Index) */
.hero {
    color: white;
    background:
        radial-gradient(circle at 80% 20%, #355158 0, transparent 36%),
        linear-gradient(120deg, #142329, #243b42);
    overflow: hidden;
}
.hero-inner {
    min-height: 510px;
    padding-top: 55px;
    padding-bottom: 55px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center;
}
.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.hero .eyebrow, .page-hero .eyebrow { color: var(--accent); }

h1, h2, h3, h4, p { margin-top: 0; }
h1 {
    max-width: 670px;
    margin-bottom: 22px;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.07;
    letter-spacing: -2px;
}
h1 em {
    color: var(--accent);
    font-style: normal;
}
.hero-text {
    max-width: 570px;
    color: #d0dcde;
    font-size: 17px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 21px;
    border: 1px solid var(--accent);
    border-radius: 11px;
    background: var(--accent);
    color: #173136;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    transition: .2s;
}
.btn:hover {
    background: #82ddcc;
    transform: translateY(-2px);
}
.btn-outline {
    color: white;
    background: transparent;
    border-color: #6b8589;
}
.btn-outline:hover {
    background: rgba(255,255,255,.1);
    color: white;
}
.btn-dark {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
}
.btn-dark:hover { background: var(--dark2); }
.hero-note {
    margin-top: 18px;
    color: #aebfc1;
    font-size: 11px;
}
.hero-art {
    position: relative;
    min-height: 350px;
    display: grid;
    place-items: center;
}
.ring {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(102,203,183,.25);
    border-radius: 50%;
}
.ring-inner { width: 225px; height: 225px; }
.cylinder {
    position: relative;
    width: 115px;
    height: 260px;
    border-radius: 28px 28px 19px 19px;
    background: linear-gradient(
        90deg, #9fadaa, #f7faf9 25%, #c7d1cf 52%, #f4f7f6 74%, #899c9d
    );
    box-shadow: 20px 25px 40px rgba(0,0,0,.3);
    transform: rotate(-5deg);
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 75px;
    color: var(--dark);
}
.cylinder::before {
    content: "";
    position: absolute;
    top: -28px;
    width: 44px;
    height: 35px;
    border-radius: 7px 7px 2px 2px;
    background: linear-gradient(90deg, #94a5a4, #eaf0ef, #879b9b);
}
.cylinder strong {
    font-size: 29px;
    letter-spacing: -2px;
}
.cylinder span {
    margin-top: 6px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 2px;
}
.cylinder i {
    width: 60px;
    height: 3px;
    margin-top: 20px;
    background: var(--accent-dark);
}
.hero-label {
    position: absolute;
    right: 0;
    bottom: 25px;
    padding: 12px 16px;
    background: #30484e;
    border-radius: 12px;
    font-size: 11px;
}

/* Trust blocks */
.trust { border-bottom: 1px solid var(--border); }
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-top: 24px;
    padding-bottom: 24px;
}
.trust-item {
    display: flex;
    gap: 12px;
    align-items: center;
}
.trust-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: #e5f6f1;
    color: var(--accent-dark);
    border-radius: 12px;
    font-weight: 900;
    font-size: 18px;
}
.trust-item strong { display: block; font-size: 12px; }
.trust-item small { color: var(--muted); font-size: 10px; }

/* Sections */
.section { padding: 75px 0; }
.section-soft { background: var(--bg); }
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 30px;
}
h2 {
    margin-bottom: 12px;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.2;
    letter-spacing: -1.2px;
}
h3 { font-size: 19px; margin-bottom: 10px; }
.section-heading p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.text-link {
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}
.text-link:hover { text-decoration: underline; }

/* Products Grid */
.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.product {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
    transition: .2s;
    display: flex;
    flex-direction: column;
}
.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(20,40,45,.09);
}
.product-tag {
    position: absolute;
    z-index: 2;
    top: 13px;
    left: 13px;
    padding: 5px 9px;
    border-radius: 7px;
    background: var(--accent);
    color: #173136;
    font-size: 10px;
    font-weight: 900;
}
.product-image {
    height: 400px;
    display: grid;
    place-items: center;
    padding: 18px;
    background: linear-gradient(145deg, #f3f7f6, #e6eeeb);
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-content {
    padding: 17px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product h3 {
    margin-bottom: 12px;
    font-size: 17px;
}
.product h3 a:hover { color: var(--accent-dark); }
.price-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid #edf1f0;
    font-size: 12px;
}
.price-row span { color: var(--muted); }
.price-row strong { white-space: nowrap; }
.product .btn {
    width: 100%;
    margin-top: 17px;
    padding: 11px 7px;
    font-size: 12px;
}

/* Accessories */
.accessories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.accessory {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: white;
}
.accessory img {
    width: 105px;
    height: 100px;
    object-fit: contain;
    background: var(--bg);
    border-radius: 12px;
}
.accessory h3 { font-size: 16px; margin-bottom: 4px; }
.accessory strong { display: block; margin-bottom: 8px; }

/* Delivery Banner */
.delivery-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    padding: 38px;
    border-radius: 22px;
    background: var(--dark);
    color: white;
}
.delivery-banner h2 { max-width: 630px; margin-bottom: 8px; }
.delivery-banner p { max-width: 600px; margin-bottom: 0; color: #c0ced0; }

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.step {
    padding: 23px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: white;
}
.step-number {
    display: block;
    margin-bottom: 20px;
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 900;
}
.step h3 { font-size: 16px; }
.step p { margin-bottom: 0; color: var(--muted); font-size: 13px; }

/* Detail Product View */
.product-detail-view {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    background: white;
    padding: 35px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 45px;
}
.product-detail-image {
    background: linear-gradient(145deg, #f3f7f6, #e6eeeb);
    border-radius: 14px;
    display: grid;
    place-items: center;
    padding: 30px;
    min-height: 380px;
}
.product-detail-image img {
    max-height: 320px;
    object-fit: contain;
}
.product-detail-info h1 {
    font-size: 32px;
    margin-bottom: 12px;
}
.product-price-box {
    background: #f7faf9;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}
.product-price-box .price-row {
    font-size: 15px;
    padding: 10px 0;
}
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 13px;
}
.specs-table td {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.specs-table td:first-child { color: var(--muted); }
.specs-table td:last-child { font-weight: 700; text-align: right; }

/* FAQ */
.faq-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 55px;
}
.faq-intro p { color: var(--muted); font-size: 14px; }
.faq-item {
    padding: 18px 0;
    border-bottom: 1px solid #dfe7e5;
}
.faq-item summary {
    position: relative;
    padding-right: 30px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: -5px;
    color: var(--accent-dark);
    font-size: 23px;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 12px 20px 0 0; color: var(--muted); font-size: 13px; }

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.article-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    background: white;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(0,0,0,.06);
}
.article-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 6px;
    background: #eef8f5;
    color: var(--accent-dark);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.article-card h3 {
    font-size: 17px;
    margin-bottom: 12px;
    line-height: 1.35;
}
.article-card h3 a:hover { color: var(--accent-dark); }
.article-card p {
    color: var(--muted);
    font-size: 13px;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Contacts Layout */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}
.contact-card {
    padding: 32px;
    border-radius: var(--radius);
    background: white;
    border: 1px solid var(--border);
}
.contact-item { margin-bottom: 22px; }
.contact-item strong {
    display: block;
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.contact-item span, .contact-item a {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}
.contact-item p { margin-top: 6px; color: var(--muted); font-size: 13px; }

/* SEO Content & Article Detail */
.seo-text {
    max-width: 920px;
    margin: auto;
    color: #495a60;
    font-size: 14px;
    line-height: 1.9;
}
.seo-text h2, .seo-text h3, .seo-text h4 { color: var(--dark); }
.seo-text h2 {
    margin-top: 40px;
    margin-bottom: 16px;
    font-size: 26px;
    border-left: 4px solid var(--accent);
    padding-left: 14px;
}
.seo-text h3 {
    margin-top: 26px;
    margin-bottom: 12px;
    font-size: 19px;
}
.seo-text p { margin-bottom: 18px; }
.seo-text ul, .seo-text ol {
    margin-top: 0;
    margin-bottom: 22px;
    padding-left: 22px;
}
.seo-text li { margin-bottom: 8px; }

.info-box {
    background: #edf7f5;
    border: 1px solid #bce6dc;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 25px 0;
    color: #1a4f46;
}
.warning-box {
    background: #fff8ec;
    border: 1px solid #f0dfc1;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 25px 0;
    color: #765f3f;
}
.table-responsive {
    overflow-x: auto;
    margin: 25px 0;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}
.data-table th, .data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}
.data-table th {
    background: #f7faf9;
    font-weight: 800;
    color: var(--dark);
}

/* Safety banner */
.safety {
    padding: 27px 0;
    border-top: 1px solid #f0dfc1;
    border-bottom: 1px solid #f0dfc1;
    background: #fff8ec;
}
.safety h2 { font-size: 20px; color: #523f25; }
.safety p { margin-bottom: 0; color: #765f3f; font-size: 13px; }

/* Footer */
.footer {
    padding: 45px 0 22px;
    background: #142329;
    color: white;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr 1fr;
    gap: 40px;
}
.footer h3 { font-size: 14px; margin-bottom: 14px; }
.footer p, .footer a { color: #aebfc2; font-size: 12px; }
.footer a:hover { color: var(--accent); }
.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid #304147;
    color: #91a4a8;
    font-size: 10px;
}

.mobile-call { display: none; }

/* Media Queries */
@media (max-width: 1080px) {
    .nav { gap: 9px; }
    .nav a { font-size: 11px; }
    .header-inner { gap: 12px; }
    .phone { font-size: 12px; }
    .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .product-detail-view { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
    .container { width: calc(100% - 32px); }
    .header-inner {
        min-height: 68px;
        flex-wrap: wrap;
        gap: 10px;
        padding: 8px 0;
    }
    .logo { font-size: 12px; }
    .logo-icon { width: 36px; height: 36px; }
    .phone { margin-left: auto; font-size: 11px; }
    .menu-toggle { display: block; }
    .nav {
        display: none;
        order: 5;
        width: 100%;
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        padding: 8px 0;
    }
    .nav.open { display: grid; }
    .nav a { padding: 10px 4px; font-size: 12px; }
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 48px;
        padding-bottom: 25px;
    }
    h1 { font-size: clamp(30px, 8vw, 42px); }
    .hero-text { font-size: 15px; }
    .hero-art { min-height: 290px; }
    .ring { width: 260px; height: 260px; }
    .ring-inner { width: 200px; height: 200px; }
    .cylinder { transform: scale(.85) rotate(-5deg); }
    .hero-label { right: 0; bottom: 12px; }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 17px 10px;
    }
    .section { padding: 48px 0; }
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
    .products { gap: 12px; }
    .product-image { height: 160px; padding: 12px; }
    .product-content { padding: 12px; }
    .product h3 { font-size: 15px; }
    .price-row { font-size: 11px; }
    .price-row strong { font-size: 11px; }
    .product .btn { font-size: 11px; }
    .accessories { grid-template-columns: 1fr; }
    .accessory img { width: 85px; height: 85px; }
    .delivery-banner {
        align-items: flex-start;
        flex-direction: column;
        padding: 27px 22px;
    }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step { padding: 17px; }
    .step-number { margin-bottom: 12px; }
    .faq-layout { grid-template-columns: 1fr; gap: 15px; }
    .articles-grid { grid-template-columns: 1fr; }
    .contacts-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; }
    .mobile-call {
        position: fixed;
        z-index: 200;
        display: block;
        right: 12px;
        bottom: 12px;
        left: 12px;
        padding: 14px;
        border-radius: 12px;
        background: var(--accent);
        color: #173136;
        box-shadow: 0 8px 25px #17262c30;
        text-align: center;
        font-size: 13px;
        font-weight: 900;
    }
    .footer { padding-bottom: 85px; }
}

@media (max-width: 390px) {
    .phone { font-size: 10px; }
    .trust-item strong { font-size: 11px; }
    .product-image { height: 130px; }
    .price-row { gap: 3px; }
    .steps { gap: 10px; }
    .step h3 { font-size: 14px; }
}
