/* ==========================================================================
   CSS VARIABLES & AMETHYST LIME DESIGN (BIYEWUX.ONE)
   ========================================================================== */
:root {
    --c-amethyst: #4c1d95; /* Violet 900 */
    --c-amethyst-light: #6d28d9; /* Violet 700 */
    --c-lime: #84cc16; /* Lime 500 */
    --c-lime-dark: #4d7c0f; /* Lime 700 */
    --c-mint: #f0fdf4; /* Green 50 - Very light background */
    --c-dark: #171717; /* Neutral 900 */
    --c-text: #525252; /* Neutral 600 */
    --c-white: #ffffff;
    --c-line: #d4d4d8; /* Neutral 300 */

    --pad-x: clamp(15px, 5vw, 30px);
    --pad-y: clamp(80px, 10vw, 130px);
    
    --rad-sm: 4px;
    --rad-md: 16px;
    --rad-full: 50%;
    
    --shadow-bold: 8px 8px 0 rgba(76, 29, 149, 0.15);
    --shadow-lime: 6px 6px 0 rgba(132, 204, 22, 1);
    --trans: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Outfit', system-ui, sans-serif;
    background-color: var(--c-mint);
    color: var(--c-text);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4 { color: var(--c-dark); font-weight: 900; line-height: 1.1; margin-bottom: 1rem; }
h1 { font-size: clamp(2.8rem, 8vw, 6rem); letter-spacing: -2px; }
h2 { font-size: clamp(2.2rem, 5vw, 4.5rem); letter-spacing: -1px; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); color: var(--c-amethyst); }
p { font-size: clamp(1.05rem, 1.5vw, 1.2rem); margin-bottom: 1.5rem; font-weight: 500; }

a { text-decoration: none; color: inherit; transition: var(--trans); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--rad-sm); }
ul { list-style: none; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--pad-x); }
.sec-p { padding: var(--pad-y) 0; }
.txt-c { text-align: center; }

/* ==========================================================================
   HEADER (STRICT 10PX MOBILE PADDING)
   ========================================================================== */
.site-hdr { background: var(--c-white); border-bottom: 3px solid var(--c-dark); position: sticky; top: 0; z-index: 1000; }

.nav-mob-safe {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 10px; /* СТРОГО 10PX НА МОБИЛЬНОМ */
    max-width: 1200px; margin: 0 auto; position: relative;
}

@media (min-width: 768px) { .nav-mob-safe { padding: 20px var(--pad-x); } }

.brand { font-size: 2.2rem; font-weight: 900; color: var(--c-amethyst); letter-spacing: -1px; text-transform: uppercase; }
.brand span { color: var(--c-lime-dark); }

.burger { display: flex; flex-direction: column; gap: 6px; cursor: pointer; padding: 5px; }
.burger span { width: 32px; height: 3px; background: var(--c-dark); transition: var(--trans); }
#menu-tog { display: none; }

.desk-nav { display: none; }
.desk-nav ul { display: flex; gap: 40px; align-items: center; }
.desk-nav a { font-weight: 800; color: var(--c-dark); font-size: 1.05rem; text-transform: uppercase; letter-spacing: 1px; }
.desk-nav a:hover, .desk-nav a.active { color: var(--c-lime-dark); }

.mob-nav {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--c-amethyst); padding: 15px 20px 25px; border-top: 4px solid var(--c-lime); box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.mob-nav a { display: block; font-weight: 800; color: var(--c-white); padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.1); text-transform: uppercase; }
.mob-nav li:last-child a { border-bottom: none; }
#menu-tog:checked ~ .mob-nav { display: block; }

@media (min-width: 992px) {
    .burger { display: none; }
    .desk-nav { display: block; }
    .mob-nav { display: none !important; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 18px 45px; font-weight: 800; font-size: 1.1rem; border-radius: var(--rad-sm); cursor: pointer; transition: var(--trans); border: 2px solid transparent; text-transform: uppercase; letter-spacing: 1px; }
.btn-v { background: var(--c-amethyst); color: var(--c-white); border-color: var(--c-dark); box-shadow: var(--shadow-lime); }
.btn-v:hover { transform: translate(4px, 4px); box-shadow: 0 0 0 rgba(132, 204, 22, 0); background: var(--c-dark); color: var(--c-lime); }
.btn-o { background: transparent; border-color: var(--c-dark); color: var(--c-dark); }
.btn-o:hover { background: var(--c-dark); color: var(--c-white); }

/* ==========================================================================
   INDEX: BENTO BOX HERO & WIREFRAME SCROLL
   ========================================================================== */
/* Bento Box Hero (РАЗРЫВ ШАБЛОНА) */
.bento-hero { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 40px 10px; }
.bh-main { background: var(--c-white); padding: clamp(30px, 5vw, 60px); border: 3px solid var(--c-dark); border-radius: var(--rad-md); box-shadow: var(--shadow-bold); }
.bh-img { border: 3px solid var(--c-dark); border-radius: var(--rad-md); overflow: hidden; aspect-ratio: 4/3; }
.bh-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.bh-accent { background: var(--c-lime); padding: 30px; border: 3px solid var(--c-dark); border-radius: var(--rad-md); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--c-dark); font-weight: 900; font-size: 1.5rem; text-transform: uppercase; line-height: 1.2; box-shadow: var(--shadow-bold); }
.bh-actions { background: var(--c-dark); padding: 30px; border-radius: var(--rad-md); display: flex; gap: 15px; flex-wrap: wrap; align-items: center; justify-content: center; }

@media (min-width: 992px) {
    .bento-hero { grid-template-columns: 2fr 1fr; grid-template-rows: auto auto auto; }
    .bh-main { grid-column: 1 / 2; grid-row: 1 / 3; }
    .bh-img { grid-column: 2 / 3; grid-row: 1 / 2; }
    .bh-accent { grid-column: 2 / 3; grid-row: 2 / 3; }
    .bh-actions { grid-column: 1 / 3; grid-row: 3 / 4; }
}

/* Wireframe Scroll */
.wireframe-scroll { display: flex; overflow-x: auto; gap: 30px; padding: 20px 0 60px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.wireframe-scroll::-webkit-scrollbar { display: none; }
.wf-card { flex: 0 0 85%; scroll-snap-align: center; padding: 40px; border: 3px solid var(--c-dark); border-radius: var(--rad-md); background: transparent; transition: var(--trans); position: relative; }
.wf-card::before { content: ''; position: absolute; top: 10px; left: 10px; width: 100%; height: 100%; background: var(--c-line); z-index: -1; border-radius: var(--rad-md); transition: var(--trans); }
.wf-card:hover { background: var(--c-white); border-color: var(--c-amethyst); }
.wf-card:hover::before { background: var(--c-lime); top: 15px; left: 15px; }
@media (min-width: 768px) { .wf-card { flex: 0 0 40%; } }
@media (min-width: 1024px) { .wf-card { flex: 0 0 30%; } }
.wf-icon { font-size: 3rem; margin-bottom: 20px; display: block; }

/* General Split */
.g-2 { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 992px) { .g-2 { grid-template-columns: 1fr 1fr; gap: 60px; } }

/* ==========================================================================
   PROGRAM: STAIRCASE GRID & BRUTALIST TABLE
   ========================================================================== */
/* Staircase Grid */
.staircase-wrap { display: flex; flex-direction: column; gap: 30px; padding: 40px 0; max-width: 1000px; margin: 0 auto; }
.sc-step { background: var(--c-white); border: 3px solid var(--c-dark); padding: 40px; border-radius: var(--rad-md); box-shadow: var(--shadow-bold); position: relative; }
.sc-num { position: absolute; top: -20px; left: -20px; background: var(--c-lime); color: var(--c-dark); width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 900; border: 3px solid var(--c-dark); border-radius: var(--rad-full); z-index: 2; }
@media (min-width: 768px) {
    .sc-step { width: 70%; }
    .sc-step:nth-child(2) { align-self: center; }
    .sc-step:nth-child(3) { align-self: flex-end; background: var(--c-amethyst); color: white; }
    .sc-step:nth-child(3) h3, .sc-step:nth-child(3) p { color: white; }
}

/* Brutalist Table FAQ */
.brut-table { width: 100%; border-collapse: collapse; border: 4px solid var(--c-dark); background: var(--c-white); margin-top: 40px; }
.brut-table th, .brut-table td { border: 2px solid var(--c-dark); padding: 25px; text-align: left; }
.brut-table th { background: var(--c-dark); color: var(--c-white); width: 35%; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1px; }
.brut-table tr { transition: var(--trans); }
.brut-table tbody tr:hover { background: var(--c-mint); }
.brut-table tbody tr:hover td { color: var(--c-amethyst); font-weight: 700; }
@media (max-width: 768px) {
    .brut-table th, .brut-table td { display: block; width: 100%; }
    .brut-table th { background: var(--c-amethyst); border-bottom: none; }
    .brut-table td { border-bottom: 4px solid var(--c-dark); }
}

/* ==========================================================================
   MISSION: TYPOGRAPHIC POSTER & ORBITAL OVERLAP
   ========================================================================== */
/* Typographic Poster */
.typo-poster { position: relative; padding: 100px 20px; background: var(--c-white); border: 3px solid var(--c-dark); border-radius: var(--rad-md); overflow: hidden; margin-top: 40px; box-shadow: var(--shadow-bold); }
.tp-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 30vw; font-weight: 900; color: var(--c-mint); z-index: 1; pointer-events: none; user-select: none; line-height: 0.8; opacity: 0.7; }
.tp-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; text-align: center; }
.tp-content p { font-size: 1.3rem; color: var(--c-dark); font-weight: 600; line-height: 1.8; }

/* Orbital Overlap (Values) */
.orbital-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; padding: 60px 0; max-width: 900px; margin: 0 auto; }
.orb-box { width: 280px; height: 280px; border-radius: var(--rad-full); border: 4px solid var(--c-dark); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; transition: var(--trans); position: relative; }
.orb-box h3 { font-size: 1.5rem; margin-bottom: 10px; }
.orb-box p { font-size: 0.95rem; margin: 0; line-height: 1.4; }
.ob-1 { background: var(--c-lime); color: var(--c-dark); z-index: 3; }
.ob-2 { background: var(--c-amethyst); color: white; z-index: 2; }
.ob-2 h3, .ob-2 p { color: white; }
.ob-3 { background: var(--c-white); color: var(--c-dark); z-index: 1; }
@media (min-width: 992px) {
    .orb-box { width: 320px; height: 320px; }
    .ob-1 { transform: translateX(40px); }
    .ob-3 { transform: translateX(-40px); }
    .orb-box:hover { transform: scale(1.05) translateY(-10px); z-index: 10; box-shadow: var(--shadow-bold); }
}

/* ==========================================================================
   FORM (4 FIELDS)
   ========================================================================== */
.frm-ui { background: var(--c-white); padding: clamp(40px, 6vw, 60px); border-radius: var(--rad-md); box-shadow: var(--shadow-bold); max-width: 700px; margin: 0 auto; border: 3px solid var(--c-dark); }
.f-row { margin-bottom: 25px; }
.f-row label { display: block; font-weight: 800; color: var(--c-dark); margin-bottom: 10px; text-transform: uppercase; font-size: 0.9rem; }
.f-row input, .f-row textarea { width: 100%; padding: 18px; border: 2px solid var(--c-line); border-radius: var(--rad-sm); font-family: inherit; font-size: 1.05rem; background: var(--c-mint); transition: var(--trans); }
.f-row input:focus, .f-row textarea:focus { outline: none; border-color: var(--c-amethyst); background: var(--c-white); box-shadow: 4px 4px 0 var(--c-lime); }
.f-row textarea { min-height: 150px; resize: vertical; }

/* ==========================================================================
   FOOTER (STRICT DATES)
   ========================================================================== */
.site-ftr { background: var(--c-dark); color: #d4d4d8; padding: 80px 0 30px; margin-top: 80px; border-top: 6px solid var(--c-lime); }
.ftr-g { display: grid; grid-template-columns: 1fr; gap: 50px; margin-bottom: 60px; }
@media (min-width: 768px) { .ftr-g { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.f-logo { font-size: 2.5rem; font-weight: 900; color: #fff; margin-bottom: 15px; display: block; text-transform: uppercase; letter-spacing: -2px; }
.f-logo span { color: var(--c-lime); }
.f-desc { font-size: 1rem; line-height: 1.7; font-weight: 500; }
.f-h { color: #fff; font-size: 1.3rem; font-weight: 800; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.f-links li { margin-bottom: 15px; }
.f-links a { font-weight: 700; transition: var(--trans); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }
.f-links a:hover { color: var(--c-lime); padding-left: 8px; }
.f-copy { border-top: 2px solid #404040; padding-top: 30px; text-align: center; font-size: 0.95rem; color: #a3a3a3; font-weight: 600; }

/* ==========================================================================
   COOKIE BANNER (2 BUTTONS, LINK IN TEXT)
   ========================================================================== */
#ck-bnnr { position: fixed; bottom: 20px; left: 20px; right: 20px; background: var(--c-white); padding: 30px; border-radius: var(--rad-md); z-index: 9999; display: flex; flex-direction: column; gap: 20px; transform: translateY(150%); transition: 0.5s ease; border: 3px solid var(--c-dark); box-shadow: var(--shadow-bold); max-width: 900px; margin: 0 auto; }
#ck-bnnr.show { transform: translateY(0); }
.ck-t { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--c-dark); font-weight: 600; }
.ck-t a { color: var(--c-amethyst); font-weight: 900; text-decoration: underline; text-transform: uppercase; font-size: 0.9rem; }
.ck-acts { display: flex; gap: 15px; }
.b-ck { padding: 15px 30px; border: 3px solid var(--c-dark); font-weight: 800; cursor: pointer; flex: 1; transition: var(--trans); font-size: 1rem; text-align: center; text-transform: uppercase; background: var(--c-white); color: var(--c-dark); border-radius: var(--rad-sm); }
.b-ck.y { background: var(--c-amethyst); color: #fff; border-color: var(--c-dark); }
.b-ck.y:hover { background: var(--c-lime); color: var(--c-dark); }
.b-ck.n:hover { background: var(--c-dark); color: #fff; }
@media (min-width: 768px) { #ck-bnnr { flex-direction: row; align-items: center; justify-content: space-between; } .ck-acts { width: auto; flex-shrink: 0; } .b-ck { flex: none; } }