/* Эпоха 2007—2009: небо с облаками, три колонки, деревья в подвале. */

.era08 {
    --wrap: 1060px;
    --accent: #0026ad;
    --accent2: #9c2c85;
    --line: #aad8fb;
    --panel: #ffffff;
    --panel-2: #eef7ff;
    --muted: #36638b;
    --radius: 12px;
    background: #ffffff;
}

.wrap08 { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 16px; }

/* --- шапка с облаками --- */
.top08 {
    background: url("../img/clouds.svg") center bottom / cover no-repeat, linear-gradient(#7dc2f8, #d4ecfe);
    border-bottom: 4px solid #fff;
    padding: 16px 0 20px;
}
.top08-inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; justify-content: space-between; }

.logo08 { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo08-mark {
    width: 72px; height: 72px; border-radius: 50%;
    background: #9c2c85; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 0 rgba(0, 0, 0, .12);
}
.logo08-txt b {
    display: block; font-size: 25px; color: #0026ad; letter-spacing: .5px;
    text-shadow: 0 1px 0 #fff, 0 -1px 0 #fff, 1px 0 0 #fff, -1px 0 0 #fff;
}
.logo08-txt i { display: block; font-style: normal; font-size: 12px; color: #2a5881; letter-spacing: .12em; }

.top08-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }

.search08 { display: flex; gap: 4px; }
.search08-txt {
    border: 2px solid #fff; border-radius: 14px; padding: 5px 12px;
    font: inherit; font-size: 13px; width: 190px; background: rgba(255, 255, 255, .85); color: #23303c;
}
.search08-txt:focus { outline: none; background: #fff; }
.search08-sub {
    border: 0; border-radius: 50%; width: 28px; height: 28px; cursor: pointer;
    background: #9c2c85; display: flex; align-items: center; justify-content: center;
}
.search08-sub:hover { background: #0026ad; }

.phone08 { text-align: right; line-height: 1.3; }
.phone08 a {
    display: inline-block; font-size: 19px; font-weight: bold; color: #9c2c85; text-decoration: none;
    background: rgba(255, 255, 255, .85); border-radius: 14px; padding: 2px 12px;
}
.phone08 a:hover { background: #fff; color: #0026ad; }
.phone08 span { display: block; font-size: 11px; color: #2a5881; margin-top: 2px; }

.menu08 { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.menu08 a {
    display: inline-block; padding: 6px 14px; border-radius: 16px;
    background: rgba(255, 255, 255, .9); color: #0026ad; text-decoration: none;
    font-size: 13px; font-weight: bold; border: 2px solid #fff;
    box-shadow: 0 2px 0 rgba(54, 99, 139, .25);
}
.menu08 a:hover { background: #ffe36a; color: #9c2c85; }
.menu08 a.is-active { background: #9c2c85; color: #fff; border-color: #9c2c85; }

/* --- три колонки --- */
.main08 {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 190px;
    gap: 24px;
    padding: 26px 16px 40px;
    align-items: start;
}

.col08-h { font-size: 16px; color: #9c2c85; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 2px dotted var(--line); }
.col08-left { font-size: 13px; }
.news08 { margin-bottom: 14px; }
.news08 a { font-weight: bold; font-size: 13px; }
.news08 p { margin: 3px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.col08-note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.col08-left .era-switch { margin-top: 4px; }

/* --- баннеры --- */
.bnr08 {
    display: block; text-decoration: none; color: #fff;
    border-radius: 12px; padding: 12px; margin-bottom: 12px; text-align: center;
    box-shadow: 0 3px 0 rgba(0, 0, 0, .1);
}
.bnr08-t { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; opacity: .9; }
.bnr08-n { display: block; font-size: 16px; font-weight: bold; margin: 4px 0 2px; }
.bnr08-s { display: block; font-size: 11px; opacity: .9; }
.bnr08-hot { background: linear-gradient(#e23620, #b62612); }
.bnr08-price { background: linear-gradient(#9c2c85, #6f1c5e); }
.bnr08-arch { background: linear-gradient(#04aa34, #037a26); }
.bnr08:hover { filter: brightness(1.08); color: #fff; }
.bnr08-cnt {
    border: 1px solid var(--line); border-radius: 10px; background: var(--panel-2);
    padding: 8px; text-align: center; font-size: 12px; color: var(--muted);
}

/* --- контент --- */
.col08-center .sec-h { color: #0026ad; }
.col08-center .card { box-shadow: 0 2px 0 rgba(122, 165, 196, .18); }

/* --- подвал --- */
.foot08 { margin-top: 10px; }
.foot08-trees { display: block; width: 100%; height: auto; margin-bottom: -4px; }
.foot08-bar { background: #04aa34; color: #eaffe9; padding: 14px 0 20px; font-size: 12.5px; }
.foot08-inner { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; line-height: 1.7; }
.foot08 a { color: #ffffff; }
.foot08 a:hover { color: #ffe36a; }
.foot08-r { text-align: right; }

@media (max-width: 980px) {
    /* на узком экране сначала оффер, потом баннеры, новости — в конец */
    .main08 { grid-template-columns: 1fr; display: flex; flex-direction: column; }
    .col08-center { order: 1; }
    .col08-right { order: 2; }
    .col08-left { order: 3; }
    .col08-right { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
    .col08-right .bnr08 { margin-bottom: 0; }
}
@media (max-width: 620px) {
    .top08-inner { flex-direction: column; align-items: stretch; }
    .top08-right { align-items: stretch; }
    .phone08, .menu08, .search08 { justify-content: flex-start; text-align: left; }
    .foot08-r { text-align: left; }
}
