/* ==========================================================================
   CSS VARIABLES & TUSCAN SUN DESIGN (YOVOBEC.ICU)
   ========================================================================== */
:root {
    --c-olive: #3f6212; /* Green 800 */
    --c-olive-light: #65a30d; /* Green 600 */
    --c-sun: #ca8a04; /* Yellow 600 */
    --c-sun-light: #fef08a; /* Yellow 200 */
    --c-terra: #ea580c; /* Orange 600 */
    --c-dark: #292524; /* Stone 800 */
    --c-text: #57534e; /* Stone 600 */
    --c-bg: #fefce8; /* Yellow 50 - Cream */
    --c-white: #ffffff;
    --c-line: #e7e5e4; /* Stone 200 */

    --pad-safe: clamp(15px, 5vw, 30px);
    --pad-y: clamp(70px, 9vw, 110px);
    
    --rad-sm: 8px;
    --rad-md: 20px;
    --rad-lg: 40px;
    
    --shadow-soft: 0 10px 25px rgba(63, 98, 18, 0.08);
    --shadow-hover: 0 20px 40px rgba(63, 98, 18, 0.15);
    --trans: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Merriweather', 'Georgia', serif;
    background-color: var(--c-bg);
    color: var(--c-text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, .sans { font-family: 'Lato', system-ui, sans-serif; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); color: var(--c-dark); font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -1px; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: var(--c-dark); font-weight: 800; line-height: 1.2; margin-bottom: 1.2rem; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); color: var(--c-olive); font-weight: 700; margin-bottom: 1rem; }
p { font-size: clamp(1.1rem, 1.5vw, 1.2rem); margin-bottom: 1.5rem; }

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(--pad-safe); }
.sec-pad { padding: var(--pad-y) 0; }
.txt-c { text-align: center; }

/* ==========================================================================
   HEADER (STRICT 10PX MOBILE PADDING)
   ========================================================================== */
.site-hdr { background-color: var(--c-white); border-bottom: 2px solid var(--c-sun); position: sticky; top: 0; z-index: 1000; }

.nav-bar {
    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-bar { padding: 20px var(--pad-safe); } }

.brand { font-size: 2.2rem; font-weight: 900; color: var(--c-dark); letter-spacing: -1px; }
.brand span { color: var(--c-sun); }

.burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.burger span { width: 30px; height: 3px; background-color: 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: 700; color: var(--c-text); font-size: 1.05rem; text-transform: uppercase; letter-spacing: 1px; }
.desk-nav a:hover, .desk-nav a.active { color: var(--c-olive); }

.mob-nav {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background-color: var(--c-white); padding: 10px 20px 20px; box-shadow: 0 15px 25px rgba(0,0,0,0.05); border-top: 1px solid var(--c-line);
}
.mob-nav a { display: block; font-weight: 700; color: var(--c-dark); padding: 15px 0; border-bottom: 1px solid var(--c-bg); 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: 16px 36px; 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-o { background-color: var(--c-olive); color: #fff; box-shadow: var(--shadow-soft); }
.btn-o:hover { background-color: var(--c-dark); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.btn-s { background-color: var(--c-sun); color: var(--c-dark); }
.btn-s:hover { background-color: var(--c-dark); color: #fff; }

/* ==========================================================================
   INDEX: UNIQUE HERO & BAROMETER
   ========================================================================== */
.hero-img-mask { border-radius: 50% 0 50% 0; overflow: hidden; box-shadow: var(--shadow-hover); }
.hero-img-mask img { border-radius: 0; }

.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); } }

.feature-box { background: var(--c-white); padding: 40px; border-radius: var(--rad-lg); box-shadow: var(--shadow-soft); border-bottom: 6px solid var(--c-sun); transition: var(--trans); }
.feature-box:hover { transform: translateY(-5px); border-color: var(--c-olive); }

/* Barometer Visual (Index Sec 4) */
.baro-wrap { background: var(--c-white); padding: 50px; border-radius: var(--rad-lg); box-shadow: var(--shadow-hover); }
.baro-track { display: flex; height: 30px; border-radius: 15px; overflow: hidden; margin-bottom: 40px; }
.b-zone { flex: 1; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.bz-1 { background: var(--c-olive-light); }
.bz-2 { background: var(--c-sun); }
.bz-3 { background: var(--c-terra); }
.baro-info { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .baro-info { grid-template-columns: repeat(3, 1fr); } }
.b-detail h4 { color: var(--c-dark); margin-bottom: 10px; font-size: 1.2rem; }
.b-detail p { font-size: 0.95rem; margin: 0; }

/* ==========================================================================
   PROGRAM: STICKY STACKING CARDS
   ========================================================================== */
.stack-wrap { display: flex; flex-direction: column; gap: 40px; max-width: 900px; margin: 0 auto; position: relative; padding-bottom: 50px; }
.stack-card { background: var(--c-white); padding: 50px; border-radius: var(--rad-lg); box-shadow: var(--shadow-hover); border: 1px solid var(--c-line); position: sticky; top: 120px; transition: var(--trans); display: flex; flex-direction: column; gap: 20px; }
.stack-card:nth-child(1) { top: 120px; z-index: 1; }
.stack-card:nth-child(2) { top: 140px; z-index: 2; background: var(--c-sun-light); }
.stack-card:nth-child(3) { top: 160px; z-index: 3; }
.stack-num { font-size: 4rem; font-weight: 900; color: var(--c-olive); line-height: 1; opacity: 0.2; }
@media (min-width: 768px) { .stack-card { flex-direction: row; align-items: flex-start; } .stack-num { font-size: 6rem; width: 120px; } }

/* ==========================================================================
   MISSION: VERTICAL PILLARS
   ========================================================================== */
.pillars { display: flex; flex-direction: column; gap: 30px; }
@media (min-width: 992px) { .pillars { flex-direction: row; align-items: stretch; } }
.pillar { flex: 1; background: var(--c-white); padding: 50px 30px; border-radius: var(--rad-md); text-align: center; border-top: 10px solid var(--c-olive); box-shadow: var(--shadow-soft); display: flex; flex-direction: column; justify-content: flex-start; }
.pillar:nth-child(2) { border-color: var(--c-sun); transform: translateY(20px); }
.pillar:nth-child(3) { border-color: var(--c-terra); }
.p-ico { font-size: 3.5rem; margin-bottom: 20px; }

/* ==========================================================================
   FORM (4 FIELDS)
   ========================================================================== */
.frm-ui { background: var(--c-white); padding: clamp(30px, 5vw, 50px); border-radius: var(--rad-lg); box-shadow: var(--shadow-hover); }
.f-row { margin-bottom: 25px; }
.f-row label { display: block; font-weight: 700; color: var(--c-dark); margin-bottom: 8px; font-family: 'Lato', sans-serif; }
.f-row input, .f-row textarea { width: 100%; padding: 16px; border: 2px solid var(--c-line); border-radius: var(--rad-sm); font-family: 'Lato', 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-olive); background: var(--c-white); }
.f-row textarea { min-height: 140px; 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)); } }
.ftr-logo { font-size: 2.2rem; font-weight: 900; color: #fff; margin-bottom: 15px; display: block; letter-spacing: -1px; }
.ftr-logo span { color: var(--c-sun); }
.ftr-desc { font-size: 1rem; 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 { font-family: 'Lato', sans-serif; font-weight: 600; }
.ftr-nav a:hover { color: var(--c-sun); }
.ftr-copy { border-top: 1px solid #44403c; padding-top: 30px; text-align: center; font-size: 0.95rem; color: #a8a29e; font-family: 'Lato', 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-md); 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.2); border: 2px solid var(--c-olive); max-width: 900px; margin: 0 auto; }
#ck-bnnr.show { transform: translateY(0); }
.ck-txt { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--c-text); font-family: 'Lato', sans-serif; }
.ck-txt a { color: var(--c-olive); font-weight: 800; text-decoration: underline; }
.ck-acts { display: flex; gap: 10px; }
.b-ck { font-family: 'Lato', 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-olive); color: #fff; }
.b-ck.y:hover { background: var(--c-dark); }
.b-ck.n { background: transparent; border: 2px solid var(--c-text); color: var(--c-text); }
.b-ck.n:hover { background: var(--c-dark); color: #fff; border-color: var(--c-dark); }
@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; } }