/* ==========================================================================
   CSS VARIABLES & MIDNIGHT GOLD DESIGN (SUGAPUM.ICU)
   ========================================================================== */
:root {
    --c-midnight: #0f172a; /* Navy Black */
    --c-gold: #a47e3c; /* Muted Gold */
    --c-gold-light: #d4af37; /* Bright Gold */
    --c-ash: #f8fafc; /* Near White */
    --c-text: #475569; /* Slate 600 */
    --c-white: #ffffff;
    --c-line: #e2e8f0; /* Slate 200 */

    --pad-x: clamp(15px, 5vw, 30px);
    --pad-y: clamp(80px, 10vw, 130px);
    
    --rad-sm: 4px;
    --rad-md: 12px;
    
    --shadow-gold: 0 10px 30px rgba(164, 126, 60, 0.15);
    --trans: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', system-ui, sans-serif;
    background-color: var(--c-ash);
    color: var(--c-text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 { color: var(--c-midnight); font-weight: 800; line-height: 1.1; margin-bottom: 1rem; }
h1 { font-size: clamp(2.8rem, 8vw, 5.5rem); letter-spacing: -2px; }
h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -1px; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); color: var(--c-gold); }

a { text-decoration: none; color: inherit; transition: var(--trans); }
img { max-width: 100%; height: auto; display: block; }
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: 1px solid var(--c-line); position: sticky; top: 0; z-index: 1000; }

.mobile-nav-frame {
    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) { .mobile-nav-frame { padding: 20px var(--pad-x); } }

.brand { font-size: 1.8rem; font-weight: 900; color: var(--c-midnight); letter-spacing: 2px; text-transform: uppercase; }
.brand span { color: var(--c-gold); }

.burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.burger span { width: 28px; height: 3px; background: var(--c-midnight); 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-midnight); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.desk-nav a:hover, .desk-nav a.active { color: var(--c-gold); }

.mob-nav {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--c-midnight); padding: 15px 20px 25px; box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.mob-nav a { display: block; font-weight: 700; color: var(--c-white); padding: 15px 0; border-bottom: 1px solid #1e293b; text-transform: uppercase; }
#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: 1rem; border-radius: var(--rad-sm); cursor: pointer; transition: var(--trans); border: 1px solid transparent; text-transform: uppercase; letter-spacing: 1px; }
.btn-g { background: var(--c-gold); color: var(--c-white); }
.btn-g:hover { background: var(--c-midnight); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.btn-w { background: transparent; border-color: var(--c-midnight); color: var(--c-midnight); }
.btn-w:hover { background: var(--c-midnight); color: var(--c-white); }

/* ==========================================================================
   INDEX: BENTO STACK HERO & PULSE WAVE
   ========================================================================== */
.bento-grid { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 40px 0; }
.bg-text { background: var(--c-white); padding: 50px; border-left: 10px solid var(--c-gold); }
.bg-img { min-height: 300px; background: url('img/bg.jpg') center/cover; }
.bg-cta { background: var(--c-midnight); color: white; padding: 40px; display: flex; align-items: center; justify-content: center; text-align: center; }

@media (min-width: 992px) {
    .bento-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: 400px 200px; }
    .bg-text { grid-column: 1 / 3; grid-row: 1 / 2; }
    .bg-img { grid-column: 3 / 4; grid-row: 1 / 3; }
    .bg-cta { grid-column: 1 / 3; grid-row: 2 / 3; }
}

/* Pulse Wave Visualization */
.pulse-wrap { background: var(--c-white); padding: 60px; border-radius: var(--rad-md); position: relative; overflow: hidden; margin-top: 40px; }
.wave-svg { width: 100%; height: 100px; }
.wave-path { fill: none; stroke: var(--c-gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 4s linear infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ==========================================================================
   PROGRAM: VERTICAL SPLIT & MINIMAL CARDS
   ========================================================================== */
.v-split { display: flex; flex-direction: column; margin-bottom: 80px; }
@media (min-width: 768px) {
    .v-split { flex-direction: row; }
    .vs-left { width: 35%; position: sticky; top: 120px; height: fit-content; padding-right: 40px; }
    .vs-right { width: 65%; border-left: 1px solid var(--c-line); padding-left: 40px; }
}

/* Required image on Program */
.prog-img-sec { width: 100%; height: 600px; background: url('img/bg-1.jpg') center/cover; attachment: fixed; position: relative; margin: 60px 0; display: flex; align-items: center; justify-content: center; }
.prog-img-sec::after { content: ''; position: absolute; inset: 0; background: rgba(15, 23, 42, 0.7); }
.pi-content { position: relative; z-index: 2; color: white; text-align: center; max-width: 700px; padding: 0 20px; }

/* ==========================================================================
   MISSION: TIMELINE GRID & FLOATING BUBBLES
   ========================================================================== */
.mission-hero-img { width: 100%; height: 500px; object-fit: cover; margin: 60px 0; border-radius: var(--rad-md); }

.bubble-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; padding: 40px 0; }
.bubble { background: var(--c-white); border: 2px solid var(--c-gold); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; transition: var(--trans); }
.b-1 { width: 300px; height: 300px; border-radius: 50%; }
.b-2 { width: 260px; height: 260px; border-radius: 50%; margin-top: 40px; background: var(--c-midnight); color: white; border-color: var(--c-midnight); }
.b-2 h3 { color: var(--c-gold-light); }
.b-3 { width: 280px; height: 280px; border-radius: 50%; }

/* ==========================================================================
   FORM (4 FIELDS)
   ========================================================================== */
.frm-ui { background: var(--c-white); padding: clamp(30px, 5vw, 60px); border-radius: var(--rad-sm); box-shadow: var(--shadow-gold); max-width: 700px; margin: 0 auto; border: 1px solid var(--c-line); }
.f-row { margin-bottom: 25px; }
.f-row label { display: block; font-weight: 700; color: var(--c-midnight); margin-bottom: 8px; font-size: 0.9rem; text-transform: uppercase; }
.f-row input, .f-row textarea { width: 100%; padding: 16px; border: 1px solid var(--c-line); font-family: inherit; font-size: 1rem; transition: var(--trans); }
.f-row input:focus, .f-row textarea:focus { outline: none; border-color: var(--c-gold); background: var(--c-ash); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-ftr { background: var(--c-midnight); color: #94a3b8; 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: 2rem; font-weight: 900; color: #fff; margin-bottom: 15px; display: block; letter-spacing: 2px; }
.f-logo span { color: var(--c-gold); }
.f-copy { border-top: 1px solid #1e293b; padding-top: 30px; text-align: center; font-size: 0.9rem; }

/* COOKIE BANNER */
#ck-bnnr { position: fixed; bottom: 20px; left: 20px; right: 20px; background: var(--c-white); padding: 25px; border-radius: var(--rad-sm); z-index: 9999; display: flex; flex-direction: column; gap: 15px; transform: translateY(150%); transition: 0.5s ease; border: 1px solid var(--c-midnight); max-width: 800px; margin: 0 auto; }
#ck-bnnr.show { transform: translateY(0); }
.ck-txt { font-size: 0.95rem; color: var(--c-text); }
.ck-txt a { color: var(--c-gold); font-weight: 700; text-decoration: underline; }
.ck-acts { display: flex; gap: 10px; }
.b-ck { padding: 12px 25px; border: none; font-weight: 700; cursor: pointer; flex: 1; transition: var(--trans); font-size: 0.9rem; text-transform: uppercase; }
.b-ck.y { background: var(--c-gold); color: #fff; }
.b-ck.n { background: var(--c-ash); color: var(--c-midnight); }
@media (min-width: 768px) { #ck-bnnr { flex-direction: row; align-items: center; } .ck-acts { width: auto; } }

.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; } }