/* ==========================================================================
   CSS VARIABLES & MACA EARTH DESIGN (POMUBUN.ICU)
   ========================================================================== */
:root {
    --c-maca: #78350f; /* Amber 900 - Deep Brown */
    --c-maca-light: #92400e; /* Amber 800 */
    --c-sun: #ea580c; /* Orange 600 */
    --c-sun-light: #f97316; /* Orange 500 */
    --c-dark: #1c1917; /* Stone 900 */
    --c-text: #57534e; /* Stone 600 */
    --c-bg: #fffbeb; /* Yellow 50 - Ivory */
    --c-white: #ffffff;
    --c-line: #e7e5e4; /* Stone 200 */

    --p-safe: clamp(15px, 5vw, 30px);
    --p-sec: clamp(70px, 9vw, 110px);
    
    --rad-sm: 4px;
    --rad-md: 12px;
    --rad-lg: 24px;
    
    --shadow-subtle: 0 5px 20px rgba(120, 53, 15, 0.05);
    --shadow-bold: 0 15px 35px rgba(234, 88, 12, 0.15);
    --trans: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Sen', system-ui, sans-serif;
    background-color: var(--c-bg);
    color: var(--c-text);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4 { color: var(--c-dark); font-weight: 800; line-height: 1.1; margin-bottom: 1rem; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -1.5px; margin-bottom: 1.5rem; text-transform: capitalize; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); letter-spacing: -1px; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); color: var(--c-maca); }
p { font-size: clamp(1.05rem, 1.5vw, 1.15rem); margin-bottom: 1.5rem; font-family: 'DM Sans', sans-serif; }

a { text-decoration: none; color: inherit; transition: var(--trans); }
img { max-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(--p-safe); }
.sec-p { padding: var(--p-sec) 0; }
.txt-c { text-align: center; }

/* ==========================================================================
   HEADER (STRICT 10PX MOBILE PADDING)
   ========================================================================== */
.site-hdr { background: var(--c-white); border-bottom: 4px solid var(--c-sun); position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-subtle); }

.nav-mob-pad {
    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-pad { padding: 20px var(--p-safe); } }

.brand { font-size: 2.2rem; font-weight: 900; color: var(--c-maca); letter-spacing: -1px; }
.brand span { color: var(--c-sun); }

.burger { display: flex; flex-direction: column; gap: 6px; cursor: pointer; padding: 5px; }
.burger span { width: 30px; height: 3px; background: var(--c-dark); border-radius: 2px; transition: var(--trans); }
#menu-tog { display: none; }

.desk-nav { display: none; }
.desk-nav ul { display: flex; gap: 35px; align-items: center; }
.desk-nav a { font-weight: 800; color: var(--c-text); font-size: 1.05rem; }
.desk-nav a:hover, .desk-nav a.active { color: var(--c-sun); }

.mob-nav {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--c-white); padding: 15px 20px 25px; box-shadow: 0 15px 25px rgba(0,0,0,0.1); border-top: 1px solid var(--c-line);
}
.mob-nav a { display: block; font-weight: 800; color: var(--c-dark); padding: 15px 0; border-bottom: 1px solid var(--c-bg); }
.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 40px; font-family: 'DM Sans', sans-serif; font-weight: 800; font-size: 1.1rem; border-radius: var(--rad-sm); cursor: pointer; transition: var(--trans); border: 2px solid transparent; text-align: center; }
.btn-m { background: var(--c-maca); color: #fff; box-shadow: var(--shadow-subtle); }
.btn-m:hover { background: var(--c-sun); color: var(--c-white); transform: translateY(-3px); box-shadow: var(--shadow-bold); }
.btn-o { background: transparent; border-color: var(--c-sun); color: var(--c-sun-light); }
.btn-o:hover { background: var(--c-sun); color: var(--c-white); }

/* ==========================================================================
   INDEX: GRIDS & UNIQUE INDICATOR
   ========================================================================== */
.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); } }

.card-box { background: var(--c-white); padding: 40px; border-radius: var(--rad-lg); box-shadow: var(--shadow-subtle); border-top: 6px solid var(--c-maca); transition: var(--trans); }
.card-box:hover { transform: translateY(-5px); border-color: var(--c-sun); box-shadow: var(--shadow-bold); }
.c-icon { font-size: 3rem; margin-bottom: 20px; display: block; }

/* Mobility Indicator (Index Sec 4) */
.indicator-wrap { background: var(--c-white); padding: 50px; border-radius: var(--rad-lg); box-shadow: var(--shadow-subtle); border: 1px solid var(--c-line); }
.ind-bar { margin-bottom: 30px; }
.ind-bar:last-child { margin-bottom: 0; }
.ind-label { display: flex; justify-content: space-between; font-weight: 800; margin-bottom: 10px; color: var(--c-dark); font-family: 'DM Sans', sans-serif; }
.ind-track { width: 100%; height: 24px; background: var(--c-bg); border-radius: 12px; overflow: hidden; border: 1px solid var(--c-line); }
.ind-fill { height: 100%; display: flex; align-items: center; justify-content: flex-end; padding-right: 10px; color: white; font-size: 0.8rem; font-weight: bold; border-radius: 12px; }
.fill-1 { width: 35%; background: #ef4444; }
.fill-2 { width: 65%; background: var(--c-sun); }
.fill-3 { width: 95%; background: var(--c-maca-light); }

/* ==========================================================================
   PROGRAM: CHECKERBOARD LAYOUT
   ========================================================================== */
.checker-wrap { display: flex; flex-direction: column; }
.chk-row { display: flex; flex-direction: column; width: 100%; }
@media (min-width: 992px) { 
    .chk-row { flex-direction: row; }
    .chk-row:nth-child(even) { flex-direction: row-reverse; }
}
.chk-box { padding: 60px 20px; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 992px) { .chk-box { width: 50%; padding: 80px 10%; } }
.chk-txt { background: var(--c-white); }
.chk-solid { background: var(--c-maca); color: white; }
.chk-solid h2, .chk-solid h3, .chk-solid p { color: white; }
.chk-solid p { font-family: 'DM Sans', sans-serif; opacity: 0.9; }

/* Custom List for FAQ (Program Sec 4) */
.custom-list { max-width: 800px; margin: 0 auto; }
.cl-item { border-bottom: 1px solid var(--c-line); padding: 25px 0; }
.cl-item:last-child { border-bottom: none; }
.cl-item h4 { font-size: 1.3rem; color: var(--c-sun-light); margin-bottom: 10px; }
.cl-item h4 { color: var(--c-maca); }

/* ==========================================================================
   MISSION: TIMELINE TREE
   ========================================================================== */
.tree-wrap { position: relative; max-width: 900px; margin: 0 auto; padding: 40px 0; }
.tree-trunk { position: absolute; left: 20px; top: 0; bottom: 0; width: 6px; background: var(--c-sun); border-radius: 3px; }
@media (min-width: 768px) { .tree-trunk { left: 50%; transform: translateX(-3px); } }

.tree-branch { position: relative; margin-bottom: 60px; padding-left: 60px; width: 100%; }
@media (min-width: 768px) {
    .tree-branch { width: 50%; padding-left: 0; padding-right: 50px; text-align: right; }
    .tree-branch:nth-child(even) { margin-left: auto; padding-right: 0; padding-left: 50px; text-align: left; }
}
.tree-dot { position: absolute; left: 9px; top: 0; width: 28px; height: 28px; background: var(--c-maca); border-radius: 50%; border: 5px solid var(--c-white); box-shadow: 0 0 0 4px var(--c-sun); z-index: 2; }
@media (min-width: 768px) {
    .tree-dot { left: auto; right: -14px; }
    .tree-branch:nth-child(even) .tree-dot { right: auto; left: -14px; }
}
.tree-card { background: var(--c-white); padding: 40px; border-radius: var(--rad-lg); box-shadow: var(--shadow-subtle); position: relative; overflow: hidden; border: 1px solid var(--c-line); }
.tree-bg-num { position: absolute; bottom: -20px; right: 10px; font-size: 8rem; color: var(--c-bg); font-weight: 900; line-height: 1; z-index: 0; user-select: none; }
@media (min-width: 768px) { .tree-branch:nth-child(even) .tree-bg-num { right: auto; left: 10px; } }
.tree-content { position: relative; z-index: 1; }

/* ==========================================================================
   FORM (4 FIELDS)
   ========================================================================== */
.frm-ui { background: var(--c-white); padding: clamp(30px, 5vw, 60px); border-radius: var(--rad-lg); box-shadow: var(--shadow-bold); border-top: 8px solid var(--c-maca); }
.f-row { margin-bottom: 25px; }
.f-row label { display: block; font-weight: 800; color: var(--c-dark); margin-bottom: 8px; font-family: 'DM Sans', sans-serif; }
.f-row input, .f-row textarea { width: 100%; padding: 18px; border: 2px solid var(--c-line); border-radius: var(--rad-sm); font-family: 'DM Sans', sans-serif; font-size: 1rem; background: var(--c-bg); transition: var(--trans); }
.f-row input:focus, .f-row textarea:focus { outline: none; border-color: var(--c-sun); background: var(--c-white); }
.f-row textarea { min-height: 150px; resize: vertical; }

/* ==========================================================================
   FOOTER (STRICT DATES)
   ========================================================================== */
.site-ftr { background: var(--c-dark); color: #d6d3d1; 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)); } }
.f-logo { font-size: 2.2rem; font-weight: 900; color: #fff; margin-bottom: 15px; display: block; letter-spacing: -1px; }
.f-logo span { color: var(--c-sun); }
.f-desc { font-size: 1rem; line-height: 1.7; font-family: 'DM Sans', sans-serif; }
.f-h { color: #fff; font-size: 1.25rem; font-weight: 800; margin-bottom: 20px; }
.f-links li { margin-bottom: 12px; }
.f-links a { font-family: 'DM Sans', sans-serif; font-weight: 600; transition: var(--trans); }
.f-links a:hover { color: var(--c-sun); padding-left: 5px; }
.f-copy { border-top: 1px solid #44403c; padding-top: 30px; text-align: center; font-size: 0.95rem; color: #a8a29e; font-family: 'DM Sans', sans-serif; }

/* ==========================================================================
   COOKIE BANNER (2 BUTTONS, LINK IN TEXT)
   ========================================================================== */
#ck-bnnr { position: fixed; bottom: 20px; left: 20px; right: 20px; background: var(--c-white); padding: 25px 30px; border-radius: var(--rad-lg); z-index: 9999; display: flex; flex-direction: column; gap: 20px; transform: translateY(150%); transition: 0.5s ease; box-shadow: 0 20px 50px rgba(0,0,0,0.3); border: 2px solid var(--c-maca); max-width: 900px; margin: 0 auto; }
#ck-bnnr.show { transform: translateY(0); }
.ck-txt p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--c-text); font-family: 'DM Sans', sans-serif; }
.ck-txt a { color: var(--c-maca); font-weight: 800; text-decoration: underline; }
.ck-acts { display: flex; gap: 10px; }
.b-ck { font-family: 'DM Sans', sans-serif; padding: 12px 25px; border: none; border-radius: var(--rad-sm); font-weight: 800; cursor: pointer; flex: 1; transition: var(--trans); font-size: 0.95rem; text-align: center; text-transform: uppercase; }
.b-ck.y { background: var(--c-maca); color: #fff; }
.b-ck.y:hover { background: var(--c-dark); }
.b-ck.n { background: transparent; border: 2px solid var(--c-dark); 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; } }