/* ==========================================================================
   CSS VARIABLES & INDIGO EMERALD DESIGN (GUPEVOH.ONL)
   ========================================================================== */
:root {
    --c-indigo: #312e81; /* Indigo 900 */
    --c-indigo-light: #4338ca; /* Indigo 700 */
    --c-emerald: #059669; /* Emerald 600 */
    --c-emerald-light: #34d399; /* Emerald 400 */
    --c-ivory: #fdfbf7; /* Warm off-white */
    --c-dark: #0f172a; /* Slate 900 */
    --c-text: #475569; /* Slate 600 */
    --c-white: #ffffff;
    --c-line: #cbd5e1; /* Slate 300 */

    --pad-x: clamp(15px, 5vw, 30px);
    --pad-y: clamp(70px, 9vw, 120px);
    
    --rad-sm: 8px;
    --rad-md: 24px;
    
    --shadow-base: 0 20px 40px rgba(49, 46, 129, 0.08);
    --shadow-emerald: 0 10px 25px rgba(5, 150, 105, 0.25);
    --trans: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--c-ivory);
    color: var(--c-text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 { color: var(--c-dark); font-weight: 900; line-height: 1.15; margin-bottom: 1rem; letter-spacing: -1px; }
h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); letter-spacing: -2px; }
h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); color: var(--c-indigo); }
p { font-size: clamp(1.05rem, 1.5vw, 1.15rem); 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); position: sticky; top: 0; z-index: 1000; border-bottom: 2px solid var(--c-line); box-shadow: 0 4px 20px rgba(0,0,0,0.03); }

.nav-indigo-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-indigo-box { padding: 20px var(--pad-x); } }

.brand { font-size: 2.2rem; font-weight: 900; color: var(--c-indigo); letter-spacing: -1px; text-transform: uppercase; }
.brand span { color: var(--c-emerald); }

.burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.burger span { width: 32px; height: 3px; background: var(--c-dark); transition: var(--trans); border-radius: 2px; }
#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: 0.95rem; text-transform: uppercase; letter-spacing: 1px; }
.desk-nav a:hover, .desk-nav a.active { color: var(--c-emerald); }

.mob-nav {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--c-indigo); padding: 15px 20px 25px; border-top: 4px solid var(--c-emerald); box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.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.05rem; border-radius: 50px; cursor: pointer; transition: var(--trans); border: 2px solid transparent; text-transform: uppercase; letter-spacing: 1px; }
.btn-e { background: var(--c-emerald); color: var(--c-white); box-shadow: var(--shadow-emerald); }
.btn-e:hover { background: var(--c-indigo); color: var(--c-white); transform: translateY(-4px); box-shadow: var(--shadow-base); }
.btn-i { background: var(--c-white); border-color: var(--c-indigo); color: var(--c-indigo); }
.btn-i:hover { background: var(--c-indigo); color: var(--c-white); }

/* ==========================================================================
   GENERAL 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; } }

/* ==========================================================================
   INDEX: OVERHANG TEXT BOX & ZIGZAG CONNECTOR & ANATOMICAL GAUGE
   ========================================================================== */
/* Overhang Text Box Hero */
.overhang-hero { position: relative; padding: 60px var(--pad-x); max-width: 1400px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.oh-img { width: 100%; height: 400px; border-radius: var(--rad-md); overflow: hidden; position: relative; z-index: 1; }
.oh-img img { width: 100%; height: 100%; object-fit: cover; }
.oh-txt { background: var(--c-white); padding: clamp(40px, 6vw, 70px); border-radius: var(--rad-md); box-shadow: var(--shadow-base); position: relative; z-index: 2; margin-top: -100px; width: 90%; border-top: 8px solid var(--c-emerald); }

@media (min-width: 992px) {
    .overhang-hero { flex-direction: row; justify-content: flex-end; padding: 100px var(--pad-x); }
    .oh-img { width: 70%; height: 500px; position: absolute; right: 20px; top: 80px; }
    .oh-txt { width: 50%; margin-top: 0; margin-left: 0; margin-right: auto; }
}

/* Zigzag Connector */
.zigzag-wrap { position: relative; max-width: 900px; margin: 60px auto 0; padding: 40px 0; }
.zigzag-wrap::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; border-left: 4px dashed var(--c-emerald); transform: translateX(-50%); display: none; }
@media (min-width: 768px) { .zigzag-wrap::before { display: block; } }

.zz-card { background: var(--c-white); padding: 40px; border-radius: var(--rad-md); box-shadow: var(--shadow-base); position: relative; z-index: 2; margin-bottom: 40px; border: 1px solid var(--c-line); transition: var(--trans); width: 100%; }
.zz-card:hover { border-color: var(--c-indigo); transform: translateY(-5px); }

@media (min-width: 768px) {
    .zz-card { width: 45%; margin-bottom: 60px; }
    .zz-card:nth-child(even) { margin-left: 55%; }
    .zz-card::after { content: ''; position: absolute; top: 50%; width: 30px; height: 30px; background: var(--c-emerald); border-radius: 50%; transform: translateY(-50%); box-shadow: 0 0 0 8px var(--c-ivory); }
    .zz-card:nth-child(odd)::after { right: -calc(11% + 19px); }
    .zz-card:nth-child(even)::after { left: -calc(11% + 19px); }
}

/* Anatomical Gauge */
.gauge-wrap { max-width: 600px; margin: 60px auto 0; position: relative; text-align: center; }
.gauge-bg { width: 100%; aspect-ratio: 2/1; background: conic-gradient(from 270deg, var(--c-indigo) 0%, var(--c-emerald-light) 50%); border-radius: 300px 300px 0 0; position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; box-shadow: inset 0 20px 40px rgba(0,0,0,0.1); border-bottom: 6px solid var(--c-dark); }
.gauge-bg::before { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 65%; height: 65%; background: var(--c-ivory); border-radius: 200px 200px 0 0; box-shadow: 0 -10px 20px rgba(0,0,0,0.05); }
.gauge-needle { position: absolute; bottom: -10px; left: 50%; width: 6px; height: 75%; background: var(--c-dark); transform-origin: bottom center; transform: rotate(45deg); border-radius: 6px; transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1); }
.gauge-wrap:hover .gauge-needle { transform: rotate(140deg); }
.gauge-labels { display: flex; justify-content: space-between; margin-top: 20px; font-weight: 800; font-size: 1rem; color: var(--c-text); text-transform: uppercase; letter-spacing: 1px; }

/* ==========================================================================
   PROGRAM: HEXAGON TIMELINE & SLIDE-DOWN ACCORDION
   ========================================================================== */
/* Hexagon Timeline */
.hex-tl { display: flex; flex-direction: column; gap: 40px; align-items: center; padding: 40px 0; }
.hex-item { width: 100%; max-width: 400px; aspect-ratio: 1/1.15; background: var(--c-white); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 43px; position: relative; transition: var(--trans); }
.hex-outer { width: 100%; max-width: 408px; aspect-ratio: 1/1.15; background: var(--c-emerald); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); display: flex; align-items: center; justify-content: center; transition: var(--trans); }
.hex-outer:nth-child(even) { background: var(--c-indigo); }
.hex-outer:hover { transform: scale(1.05); }
.h-num { font-size: 1.5rem; font-weight: 900; color: var(--c-emerald); margin-bottom: 10px; }
.hex-outer:nth-child(even) .h-num { color: var(--c-indigo); }

@media (min-width: 992px) {
    .hex-tl { flex-direction: row; justify-content: center; flex-wrap: wrap; }
    .hex-outer { width: 32%; max-width: none; }
}

/* Hexagon Breaker (REQUIRED bg-1.jpg) */
.hex-breaker { width: 100%; height: 450px; background: url('img/bg-1.jpg') center/cover fixed; margin: 60px auto; border-radius: var(--rad-md); box-shadow: var(--shadow-base); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hex-breaker::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(49, 46, 129, 0.8), rgba(5, 150, 105, 0.6)); }
.hb-txt { position: relative; z-index: 2; color: white; text-align: center; max-width: 800px; padding: 0 20px; }
.hb-txt h2 { color: var(--c-white); }

/* Slide-Down Accordion FAQ */
.acc-wrap { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.acc-item { background: var(--c-white); border: 2px solid var(--c-line); border-radius: var(--rad-sm); overflow: hidden; transition: var(--trans); }
.acc-head { padding: 25px 30px; font-weight: 800; font-size: 1.15rem; color: var(--c-dark); display: flex; justify-content: space-between; align-items: center; cursor: pointer; background: var(--c-white); }
.acc-head span { font-size: 1.8rem; color: var(--c-emerald); transition: transform 0.4s ease; font-weight: 400; line-height: 1; }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; background: var(--c-ivory); }
.acc-body p { margin: 0; font-size: 1.05rem; color: var(--c-text); }
.acc-item.active { border-color: var(--c-indigo); box-shadow: var(--shadow-base); }
.acc-item.active .acc-head span { transform: rotate(45deg); color: var(--c-indigo); }
.acc-item.active .acc-body { max-height: 300px; padding: 0 30px 30px; }

/* ==========================================================================
   MISSION: CINEMATIC SCROLL & FOLDED ORIGAMI CARDS
   ========================================================================== */
/* Cinematic Scroll Story (REQUIRED bg.jpg) */
.cinematic-sec { width: 100%; min-height: 100vh; background: url('img/bg.jpg') center/cover fixed; position: relative; padding: 100px 0; display: flex; align-items: center; }
.cinematic-sec::before { content: ''; position: absolute; inset: 0; background: rgba(15, 23, 42, 0.7); }
.cine-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; padding: 0 var(--pad-x); display: flex; flex-direction: column; gap: 40px; }
.cine-box { background: rgba(255, 255, 255, 0.95); padding: 40px; border-radius: var(--rad-sm); border-left: 8px solid var(--c-emerald); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }

/* Folded Origami Cards (Values) */
.origami-wrap { display: grid; grid-template-columns: 1fr; gap: 40px; max-width: 1000px; margin: 60px auto 0; }
@media (min-width: 768px) { .origami-wrap { grid-template-columns: repeat(3, 1fr); } }
.ori-card { background: var(--c-white); padding: 40px 30px; position: relative; box-shadow: var(--shadow-base); transition: var(--trans); border: 1px solid var(--c-line); }
/* Fold effect top right */
.ori-card::before { content: ''; position: absolute; top: 0; right: 0; border-width: 0 40px 40px 0; border-style: solid; border-color: var(--c-ivory) var(--c-ivory) var(--c-indigo-light) var(--c-indigo-light); box-shadow: -4px 4px 10px rgba(0,0,0,0.1); transition: var(--trans); }
.ori-card:hover { transform: translateY(-8px); border-color: var(--c-indigo); }
.ori-card:hover::before { border-color: var(--c-ivory) var(--c-ivory) var(--c-emerald) var(--c-emerald); }

/* ==========================================================================
   FORM (4 FIELDS)
   ========================================================================== */
.frm-ui { background: var(--c-white); padding: clamp(40px, 6vw, 60px); border-radius: var(--rad-md); box-shadow: var(--shadow-base); max-width: 700px; margin: 0 auto; border-top: 8px solid var(--c-emerald); }
.f-row { margin-bottom: 25px; }
.f-row label { display: block; font-weight: 800; color: var(--c-dark); margin-bottom: 8px; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; }
.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: 1rem; background: var(--c-ivory); transition: var(--trans); }
.f-row input:focus, .f-row textarea:focus { outline: none; border-color: var(--c-indigo); background: var(--c-white); box-shadow: 0 0 0 4px rgba(49, 46, 129, 0.1); }
.f-row textarea { min-height: 140px; resize: vertical; }

/* ==========================================================================
   FOOTER (HARDCODED COLORS & !IMPORTANT)
   ========================================================================== */
.site-ftr { background-color: #0f172a !important; color: #cbd5e1 !important; padding: 80px 0 30px; margin-top: 80px; }
.ftr-g { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 60px; }
@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: #ffffff !important; margin-bottom: 15px; display: block; letter-spacing: -1px; text-transform: uppercase; }
.f-logo span { color: #059669 !important; } /* Emerald */
.f-desc { font-size: 0.95rem; line-height: 1.7; font-weight: 400; color: #cbd5e1 !important; text-transform: none; }
.f-h { color: #ffffff !important; font-size: 1.1rem; font-weight: 800; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.f-links li { margin-bottom: 12px; }
.f-links a { font-weight: 600; transition: var(--trans); color: #cbd5e1 !important; text-transform: none; }
.f-links a:hover { color: #34d399 !important; padding-left: 5px; } /* Emerald Light */
.f-copy { border-top: 1px solid #1e293b !important; padding-top: 30px; text-align: center; font-size: 0.95rem; color: #94a3b8 !important; }

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
#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: 15px; transform: translateY(150%); transition: 0.5s ease; box-shadow: var(--shadow-base); border: 2px solid var(--c-indigo); 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-weight: 500; }
.ck-txt a { color: var(--c-emerald); font-weight: 800; text-decoration: underline; }
.ck-acts { display: flex; gap: 10px; }
.b-ck { padding: 12px 25px; border: 2px solid transparent; border-radius: var(--rad-sm); font-weight: 800; cursor: pointer; flex: 1; transition: var(--trans); font-size: 0.95rem; text-align: center; font-family: inherit; text-transform: uppercase; letter-spacing: 0.5px; }
.b-ck.y { background: var(--c-emerald); color: #fff; }
.b-ck.y:hover { background: var(--c-dark); }
.b-ck.n { background: var(--c-white); color: var(--c-indigo); border-color: var(--c-indigo); }
.b-ck.n:hover { background: var(--c-ivory); }
@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; } }