/* ==========================================================================
   CSS VARIABLES & OLIVE RUST DESIGN (YOZOLOW.ICU)
   ========================================================================== */
:root {
    --c-olive: #4d7c0f; /* Green 700 */
    --c-olive-dark: #3f6212; /* Green 800 */
    --c-olive-light: #65a30d; /* Green 600 */
    --c-rust: #b45309; /* Amber 700 */
    --c-bg: #f4f4f5; /* Zinc 50 */
    --c-card: #ffffff;
    --c-text-main: #3f3f46; /* Zinc 700 */
    --c-text-head: #18181b; /* Zinc 900 */
    --c-line: #e4e4e7; /* Zinc 200 */

    --pad-safe: clamp(15px, 4vw, 30px);
    --pad-section: clamp(70px, 8vw, 110px);
    
    --rad-sm: 6px;
    --rad-md: 12px;
    --rad-lg: 20px;
    
    --shadow-soft: 0 4px 20px rgba(77, 124, 15, 0.08);
    --shadow-hover: 0 15px 35px rgba(77, 124, 15, 0.15);
    --trans: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Rubik', system-ui, -apple-system, sans-serif;
    background-color: var(--c-bg);
    color: var(--c-text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 { color: var(--c-text-head); font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); letter-spacing: -1px; margin-bottom: 1.5rem; }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); color: var(--c-olive); }
p { font-size: clamp(1.05rem, 1.5vw, 1.15rem); margin-bottom: 1.5rem; }

a { text-decoration: none; color: inherit; transition: var(--trans); }
img { width: 100%; height: auto; display: block; border-radius: var(--rad-md); }
ul { list-style: none; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--pad-safe); }
.sec-y { padding: var(--pad-section) 0; }
.text-c { text-align: center; }

/* ==========================================================================
   HEADER (STRICT 10PX MOBILE PADDING)
   ========================================================================== */
.site-hdr { background: var(--c-card); border-bottom: 1px solid var(--c-line); position: sticky; top: 0; z-index: 1000; }

.nav-box {
    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-box { padding: 20px var(--pad-safe); } }

.logo { font-size: 2.2rem; font-weight: 900; color: var(--c-text-head); letter-spacing: -1px; }
.logo span { color: var(--c-olive); }

.burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.burger span { width: 30px; height: 3px; background: var(--c-text-head); border-radius: 2px; transition: var(--trans); }
#menu-chk { display: none; }

.nav-desk { display: none; }
.nav-desk ul { display: flex; gap: 35px; align-items: center; }
.nav-desk a { font-weight: 700; color: var(--c-text-main); font-size: 1.05rem; }
.nav-desk a:hover { color: var(--c-olive); }

.nav-mob {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--c-card); padding: 10px 20px 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-top: 1px solid var(--c-line);
}
.nav-mob a { display: block; font-weight: 700; color: var(--c-text-head); padding: 15px 0; border-bottom: 1px solid var(--c-line); }
.nav-mob li:last-child a { border-bottom: none; }
#menu-chk:checked ~ .nav-mob { display: block; }

@media (min-width: 992px) {
    .burger { display: none; }
    .nav-desk { display: block; }
    .nav-mob { display: none !important; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 38px; font-weight: 800; font-size: 1.05rem; border-radius: var(--rad-sm); cursor: pointer; transition: var(--trans); text-align: center; border: 2px solid transparent; }
.btn-solid { background: var(--c-olive); color: #fff; box-shadow: var(--shadow-soft); }
.btn-solid:hover { background: var(--c-olive-dark); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.btn-ghost { background: transparent; border-color: var(--c-olive); color: var(--c-olive); }
.btn-ghost:hover { background: var(--c-olive); color: #fff; }

/* ==========================================================================
   LAYOUTS & GRIDS
   ========================================================================== */
.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; } }

.g-3 { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 768px) { .g-3 { grid-template-columns: repeat(3, 1fr); } }

.g-4 { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .g-4 { grid-template-columns: repeat(4, 1fr); } }

.box-card { background: var(--c-card); padding: 40px 30px; border-radius: var(--rad-lg); box-shadow: var(--shadow-soft); border: 1px solid var(--c-line); transition: var(--trans); }
.box-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--c-olive-light); }
.box-ico { font-size: 3.2rem; color: var(--c-rust); margin-bottom: 20px; }

/* ==========================================================================
   UNIQUE BLOCKS (INDEX: CLOCK, MISSION: VS TABLE, PROGRAM: Z-PATTERN)
   ========================================================================== */
/* Index: Reloj Biológico */
.schedule { display: flex; flex-direction: column; gap: 20px; max-width: 800px; margin: 0 auto; }
.time-block { display: flex; flex-direction: column; background: var(--c-card); border-radius: var(--rad-md); box-shadow: var(--shadow-soft); overflow: hidden; border-left: 6px solid var(--c-line); }
.time-block.morning { border-left-color: #eab308; }
.time-block.day { border-left-color: var(--c-rust); }
.time-block.night { border-left-color: #3b82f6; }
.time-hdr { padding: 20px; background: var(--c-bg); border-bottom: 1px solid var(--c-line); font-weight: 800; font-size: 1.2rem; color: var(--c-text-head); }
.time-body { padding: 20px; font-size: 1.05rem; }
@media (min-width: 600px) {
    .time-block { flex-direction: row; }
    .time-hdr { width: 150px; border-bottom: none; border-right: 1px solid var(--c-line); display: flex; align-items: center; justify-content: center; }
    .time-body { flex: 1; }
}

/* Mission: VS Table */
.vs-table { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
@media (min-width: 768px) { .vs-table { grid-template-columns: 1fr 1fr; } }
.vs-col { padding: 40px; border-radius: var(--rad-lg); }
.vs-old { background: #fee2e2; border: 1px solid #fca5a5; }
.vs-new { background: #dcfce7; border: 1px solid #86efac; }
.vs-col h3 { font-size: 1.5rem; margin-bottom: 20px; }
.vs-old h3 { color: #991b1b; }
.vs-new h3 { color: #166534; }
.vs-col ul li { margin-bottom: 15px; padding-left: 25px; position: relative; font-size: 1.1rem; }
.vs-col ul li::before { content: '✖'; position: absolute; left: 0; color: #dc2626; font-weight: bold; }
.vs-new ul li::before { content: '✔'; color: #16a34a; }

/* Program: Highlight Quote */
.quote-box { background: var(--c-olive); color: white; padding: 60px 40px; border-radius: var(--rad-lg); text-align: center; max-width: 900px; margin: 0 auto; box-shadow: var(--shadow-hover); }
.quote-box p { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 800; line-height: 1.5; margin: 0; color: #ecfccb; }

/* ==========================================================================
   FORM (4 FIELDS)
   ========================================================================== */
.form-ui { background: var(--c-card); padding: 45px; border-radius: var(--rad-lg); box-shadow: var(--shadow-hover); border: 1px solid var(--c-line); }
.form-grp { margin-bottom: 20px; }
.form-grp label { display: block; font-weight: 700; color: var(--c-text-head); margin-bottom: 8px; }
.form-grp input, .form-grp textarea { width: 100%; padding: 16px; border: 2px solid var(--c-line); border-radius: var(--rad-sm); font-family: inherit; font-size: 1rem; background: var(--c-bg); transition: var(--trans); }
.form-grp input:focus, .form-grp textarea:focus { outline: none; border-color: var(--c-olive); background: var(--c-card); }
.form-grp textarea { min-height: 140px; resize: vertical; }

/* ==========================================================================
   FOOTER (STRICT RULES)
   ========================================================================== */
.site-ftr { background: var(--c-text-head); color: #d4d4d8; padding: 80px 0 30px; margin-top: 80px; }
.ftr-g { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 50px; }
@media (min-width: 768px) { .ftr-g { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.ftr-logo { font-size: 2.2rem; font-weight: 900; color: #fff; display: block; margin-bottom: 15px; letter-spacing: -1px; }
.ftr-logo span { color: var(--c-olive-light); }
.ftr-desc { font-size: 0.95rem; line-height: 1.6; }
.ftr-h { color: #fff; font-size: 1.25rem; font-weight: 800; margin-bottom: 20px; }
.ftr-nav li { margin-bottom: 12px; }
.ftr-nav a:hover { color: var(--c-olive-light); }
.ftr-copy { border-top: 1px solid #3f3f46; padding-top: 30px; text-align: center; font-size: 0.95rem; color: #a1a1aa; }

/* ==========================================================================
   COOKIE BANNER (2 BUTTONS, TEXT LINK)
   ========================================================================== */
#ck-bnnr { position: fixed; bottom: 20px; left: 20px; right: 20px; background: var(--c-card); padding: 25px 30px; border-radius: var(--rad-lg); z-index: 9999; display: flex; flex-direction: column; gap: 20px; transform: translateY(150%); transition: transform 0.5s ease; box-shadow: 0 20px 50px rgba(0,0,0,0.2); border: 2px solid var(--c-olive); max-width: 900px; margin: 0 auto; }
#ck-bnnr.show { transform: translateY(0); }
.ck-txt { font-size: 0.95rem; line-height: 1.6; color: var(--c-text-main); margin: 0; }
.ck-txt a { color: var(--c-olive); font-weight: 800; text-decoration: underline; }
.ck-acts { display: flex; gap: 15px; }
.btn-ck { padding: 12px 24px; border: none; border-radius: var(--rad-sm); font-weight: 800; cursor: pointer; transition: 0.2s; font-size: 1rem; flex: 1; }
.btn-ck.acc { background: var(--c-olive); color: #fff; }
.btn-ck.acc:hover { background: var(--c-olive-dark); }
.btn-ck.dec { background: transparent; border: 2px solid var(--c-text-main); color: var(--c-text-main); }
.btn-ck.dec:hover { background: var(--c-text-main); color: #fff; }
@media (min-width: 768px) { #ck-bnnr { flex-direction: row; align-items: center; justify-content: space-between; } .ck-acts { flex-shrink: 0; width: auto; } .btn-ck { flex: none; } }