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

:root {
    --text: #ffffff;
    --accent: rgba(255, 140, 0, 0.4);
}

html {
    min-height: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-x: hidden;
}
html::-webkit-scrollbar { display: none; }

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: url("../images/fon.dbc524fa72e1.webp") center/cover no-repeat fixed, #000;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 18px;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
body::-webkit-scrollbar { display: none; }

a { text-decoration: none; }
img { max-width: 100%; }
a, a:visited { color: #ffffff; }
a:hover, a:focus { color: #e6e6e6; outline: none; box-shadow: none; }

.reveal { opacity: 0; transition: opacity 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.wrapper {
    flex: 1 0 auto;
    background: radial-gradient(circle at 92% 40%, rgba(255, 140, 0, 0.28) 0%, rgba(255, 140, 0, 0) 35%), url("../images/fon.dbc524fa72e1.webp") center/cover no-repeat fixed, #000;
    max-width: 100%;
}

.container {
    max-width: 1900px;
    width: 94%;
    margin: 0 auto;
    box-sizing: border-box;
}

header { padding: 50px 0; }
header.container { margin: 50px auto !important; }
header nav { float: right; width: 50%; }
header nav ul {
    list-style: none; display: flex; flex-wrap: wrap;
    justify-content: flex-end; align-items: center; gap: 20px;
    z-index: 2; position: relative;
}
@media (min-width: 1300px) {
    header nav ul {
        gap: 80px;
    }
}
header nav ul li { display: inline-block; }
header nav ul li a { color: #fff; font-size: 18px; }
.logo { font-size: 56px; font-weight: 700; letter-spacing: 1px; color: #ffffff; }
.subtitle { margin-top: 5px; font-size: 14px; font-weight: 300; color: #cfcfcf; text-transform: lowercase; }

/* ===== СТРАНИЦА О НАС ===== */
.onas {
    font-family: "Akt", sans-serif;
    padding: 0 0 100px;
    margin-top: -80px;
    max-width: 1600px;
}

.onas__layout {
    position: relative;
    border: 2px solid #ff8c00;
    border-radius: 24px;
    overflow: hidden;
    min-height: 720px;
    display: flex;
    align-items: center;
}

.onas__photo {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.onas__photo {
    background: #050505;
}

.onas__photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: left top;
}

.onas__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 380px at 76% 12%, rgba(255,150,70,0.22), transparent 65%),
        radial-gradient(ellipse 500px 420px at 90% 50%, rgba(255,140,60,0.18), transparent 65%),
        radial-gradient(ellipse 650px 460px at 70% 90%, rgba(255,160,80,0.16), transparent 65%),
        radial-gradient(ellipse 450px 350px at 98% 28%, rgba(255,120,40,0.15), transparent 65%),
        linear-gradient(90deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.75) 55%, rgba(0,0,0,0.92) 100%);
}

.onas__content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: right;
    padding: 60px 60px 60px 20%;
}

.onas__layout {
    min-height: 900px;
}
.onas__photo img {
    object-fit: contain;
    object-position: left top;
}
.onas__photo::after {
    background:
        radial-gradient(ellipse 320px 220px at 50% 20%, rgba(255,150,70,0.20), transparent 65%),
        radial-gradient(ellipse 300px 260px at 50% 55%, rgba(255,140,60,0.16), transparent 65%),
        linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.82) 62%, rgba(0,0,0,0.95) 100%);
}
.onas__content {
    text-align: center;
    padding: 30px 24px 40px;
}

.onas__subtitle {
    font-family: "Alumni Sans SC", sans-serif;
    font-size: clamp(18px, 3vw, 26px);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
}

.onas__title {
    font-size: clamp(64px, 12vw, 160px);
    font-weight: 900;
    letter-spacing: 3px;
    margin: 10px 0;
    text-align: center;
    background: linear-gradient(135deg, #fff 40%, #ff8c00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.onas__founder {
    font-size: clamp(16px, 2.5vw, 22px);
    font-weight: 300;
    color: #ffb347;
    letter-spacing: 1px;
    margin-bottom: 50px;
}

.onas__text {
    font-family: "Poppins", sans-serif;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.onas__text p {
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.6;
    color: #ffffff;
}

.onas__accent {
    color: #ff8c00;
    font-weight: 700;
}

.onas__greeting {
    font-size: clamp(22px, 3vw, 30px) !important;
    font-weight: 600;
    color: #fff !important;
    margin-top: 10px;
}

.onas__signature {
    margin-top: 60px;
    font-family: "Iosevka Charon", monospace;
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 700;
    color: #ffb347;
    border-top: 2px solid #ff8c00;
    padding-top: 30px;
    display: inline-block;
}

/* ===== SOCIAL ICONS ===== */
.social-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%;
    background: #424452; color: #fff;
    transition: background 300ms ease, color 300ms ease;
}
.social-icon:hover { background: #565866; }

/* ===== МЕДИА ЗАПРОСЫ ===== */
@media (max-width: 992px) {
    header { padding: 30px 0; }
    .logo { font-size: 40px; }
    header nav { float: none; width: 100%; margin-top: 10px; }
    header nav ul { flex-wrap: wrap; justify-content: center; gap: 24px; }
}
@media (max-width: 1299px) {
    header nav ul {
        gap: 20px !important;
    }
    .onas {
        margin-top: 0 !important;
    }
}

@media (max-width: 768px) {
    header nav ul { flex-wrap: nowrap; gap: clamp(6px, 2vw, 20px); }
    header nav ul li a { font-size: clamp(11px, 3.2vw, 16px); white-space: nowrap; }
    .onas { padding: 40px 0 70px; }
}

@media (max-width: 600px) {
    html, body { font-size: 16px; }
    .container { width: 95%; }
    header { padding: 18px 0; }
    .logo { font-size: 36px; }
    .subtitle { font-size: 12px; }
}

/* ===== FOOTER (ПОДВАЛ) ===== */
footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    column-gap: 40px;
    row-gap: 8px;
    max-width: 1900px;
    width: 94%;
    margin: 100px auto 0;
}
.footer.container {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    max-width: none;
    margin: 0;
}

.footer-logo {
    font-family: "Akt", sans-serif;
    font-weight: 900;
    font-size: 30px;
    color: var(--text);
}

.footer-subtitle {
    font-family: "Akt", sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: var(--text);
}

.footer-info {
    display: inline-block;
    vertical-align: middle;
}

.footer-social {
    display: inline-block;
    vertical-align: middle;
    margin: 0 0 0 50px;
    padding: 0;
}

.footer-social li {
    list-style: none;
    margin-right: 10px;
    font-weight: 800;
    font-size: 15px;
}

.footer-social li a {
    transition: all 500ms ease;
}

.footer-social li a:hover {
    color: #ff9b2d;
}

.footer-social ul {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.footer-email,
.footer-time,
.footer-inn,
.footer-oferta,
.footer-nav {
    min-width: 0;
}

.footer-email {
    grid-column: 1;
    grid-row: 2;
    text-decoration: underline;
    text-decoration-color: var(--text);
    text-decoration-thickness: 1px;
    font-family: "Akt", sans-serif;
    font-weight: 500;
}

.footer-time {
    grid-column: 1;
    grid-row: 3;
    font-family: "Akt", sans-serif;
    font-weight: 300;
    font-size: 14px;
}

.footer-inn {
    grid-column: 1;
    grid-row: 4;
    margin-top: 20px;
}

.footer-inn span {
    display: block;
    opacity: 0.5;
    font-family: "Akt", sans-serif;
    font-weight: 300;
    margin-top: 5px;
    font-size: 12px;
}

.footer-oferta {
    grid-column: 2;
    grid-row: 4;
    margin-top: 20px;
    font-family: "Akt", sans-serif;
    font-weight: 300;
    font-size: 14px;
    opacity: 0.5;
    max-width: 360px;
}

.footer-nav {
    grid-column: 2;
    grid-row: 2 / 4;
    align-self: start;
    opacity: 0.5;
}

.footer-nav a {
    font-family: "Akt", sans-serif;
    white-space: nowrap;
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(16px, 3vw, 100px);
}

.footer-nav li {
    list-style: none;
}

@media (max-width: 700px) {
    footer {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto auto auto auto;
    }
    .footer.container { grid-row: 1; }
    .footer-email     { grid-column: 1; grid-row: 2; }
    .footer-time      { grid-column: 1; grid-row: 3; }
    .footer-inn       { grid-column: 1; grid-row: 4; }
    .footer-oferta {
        grid-column: 1;
        grid-row: 5;
        max-width: 100%;
    }
    .footer-nav {
        grid-column: 1;
        grid-row: 6;
        align-self: start;
    }
    .footer-nav ul {
        flex-wrap: wrap;
        gap: 16px;
    }
}
