/* Заглушка luchski.ru — в стиле старой главной RAY (Луч Спорт): белая шапка, красно-синий градиент, Montserrat, тёмный подвал */
:root {
    --red: #d40d2d;
    --red-dark: #b00a25;
    --grad: linear-gradient(90deg, #ed0613 0%, #143eeb 100%);
    --ink: #222;
    --muted: #5d5d66;
    --line: #e8e8e8;
    --bg-soft: #f4f5f9;
    --wrap: 1200px;
}

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

body {
    font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.5;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 16px;
}

/* ---- Шапка ---- */
.top { border-bottom: 1px solid var(--line); }
.top__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 104px;
}
.top__logo img { width: 360px; height: auto; }
.top__note {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    text-align: right;
    line-height: 1.4;
}

/* ---- Градиентная полоса (как строка каталога на старом сайте) ---- */
.bar {
    background: var(--grad);
    color: #fff;
}
.bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-align: center;
}
.bar__icon {
    width: 22px;
    height: 22px;
    flex: none;
    fill: currentColor;
    animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bar__icon { animation: none; } }

main { flex: 1; padding-bottom: 48px; }

/* ---- Баннер: текстом, в стиле баннера «Производство» со старой главной ---- */
.hero {
    margin-top: 24px;
    padding: clamp(32px, 6vw, 64px) clamp(20px, 5vw, 64px);
    background: linear-gradient(90deg, #143eeb 0%, #ed0613 100%);
    color: #fff;
    text-transform: uppercase;
    font-style: italic;
}
.hero__eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    font-size: clamp(24px, 3.9vw, 46px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.01em;
}
/* Акцент баннера — «RAY — российский производитель» */
.hero__logo {
    height: clamp(44px, 5.4vw, 66px);
    width: auto;
}
.hero__title {
    max-width: 34ch;
    margin-top: 16px;
    font-size: clamp(16px, 2.1vw, 26px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .02em;
    opacity: .92;
    text-wrap: balance;
}
.hero__since {
    margin-top: 18px;
    font-size: clamp(16px, 2.2vw, 26px);
    font-weight: 800;
    letter-spacing: .04em;
}

/* ---- Текст ---- */
.intro {
    max-width: 760px;
    margin: 36px auto 0;
    text-align: center;
}
.intro h1 {
    font-size: clamp(22px, 3.2vw, 30px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.01em;
    text-wrap: balance;
}
.intro__icon {
    width: 34px;
    height: 34px;
    margin: 0 auto 10px;
    fill: var(--red);
    animation: spin 8s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .intro__icon { animation: none; } }
.intro p {
    margin-top: 12px;
    font-size: 16px;
    color: var(--muted);
    text-wrap: pretty;
}

/* Заголовок раздела с линиями по бокам — как «НОВОСТИ» на старой главной */
.section-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 40px 0 20px;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.section-title::before,
.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--ink));
}
.section-title::after { background: linear-gradient(to left, transparent, var(--ink)); }

/* ---- Контакты ---- */
.contacts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 28px 28px 30px;
    border: 1px solid var(--line);
    border-top: 4px solid var(--red);
    background: #fff;
}
.contact__topic {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
}
.contact__name {
    font-size: 22px;
    font-weight: 700;
}
.contact__phone {
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 800;
    color: var(--red);
    text-decoration: none;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.contact__phone:hover { color: var(--red-dark); }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 12px 26px;
    border-radius: 4px;
    background: var(--red);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background-color .2s, transform .1s;
}
.contact .btn { margin-top: 14px; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { background: var(--red-dark); }
.btn:active { transform: translateY(1px); }

a:focus-visible {
    outline: 3px solid #143eeb;
    outline-offset: 3px;
}

/* ---- Баннеры ---- */
.banners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

/* ---- Подвал ---- */
.footer {
    background: #222;
    color: #d6d6d6;
    font-size: 15px;
    padding: 36px 0 24px;
}
.footer__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 48px;
}
.footer__title {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #fff;
}
.footer p + p { margin-top: 4px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__copy {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #3a3a3a;
    font-size: 13px;
    color: #9a9a9a;
}

/* ---- 404 ---- */
.notfound { text-align: center; }
.notfound .code {
    font-size: clamp(64px, 12vw, 120px);
    font-weight: 800;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.notfound .btn { margin-top: 20px; }

/* ---- Мобильная версия ---- */
@media (max-width: 760px) {
    .top__inner { min-height: 80px; }
    .top__logo img { width: 260px; }
    .top__note { font-size: 11px; }
    .bar__inner { font-size: 14px; min-height: 50px; }
    .contacts, .banners, .footer__inner { grid-template-columns: 1fr; }
    .contact { padding: 22px 20px 24px; }
}
@media (max-width: 420px) {
    .top__note { display: none; }
}
