/* ==========================================================================
   CSS VARIABLES & INDIGO CLAY DESIGN (LEYOJIV.ICU)
   ========================================================================== */
:root {
    --c-indigo: #312e81; /* Violet 900 */
    --c-indigo-light: #4338ca; /* Violet 700 */
    --c-clay: #c2410c; /* Orange 700 */
    --c-clay-soft: #fdba74; /* Orange 200 */
    --c-sand: #f5f5f4; /* Stone 100 */
    --c-dark: #1c1917; /* Stone 900 */
    --c-text: #44403c; /* Stone 600 */
    --c-white: #ffffff;
    --c-line: #d6d3d1; /* Stone 300 */

    --pad-x: clamp(15px, 5vw, 30px);
    --pad-y: clamp(70px, 9vw, 120px);
    
    --rad-sm: 4px;
    --rad-md: 12px;
    --rad-lg: 24px;
    
    --shadow-base: 0 10px 30px rgba(49, 46, 129, 0.08);
    --shadow-clay: 8px 8px 0 rgba(194, 65, 12, 0.2);
    --trans: all 0.3s ease-out;
}

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

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

h1, h2, h3, h4 { color: var(--c-dark); font-weight: 900; line-height: 1.15; margin-bottom: 1rem; letter-spacing: -0.5px; }
h1 { font-size: clamp(2.8rem, 7vw, 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; }

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); border-bottom: 4px solid var(--c-indigo); position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }

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

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

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

.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-clay); box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.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: 16px 40px; font-weight: 800; font-size: 1.05rem; border-radius: var(--rad-sm); cursor: pointer; transition: var(--trans); border: 2px solid transparent; text-transform: uppercase; letter-spacing: 1px; }
.btn-i { background: var(--c-indigo); color: var(--c-white); box-shadow: var(--shadow-clay); }
.btn-i:hover { background: var(--c-clay); color: var(--c-white); transform: translate(4px, 4px); box-shadow: 0 0 0 rgba(0,0,0,0); }
.btn-o { background: transparent; border-color: var(--c-indigo); color: var(--c-indigo); }
.btn-o: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: CARD OVERLAP SPLIT & HEXAGON GRID
   ========================================================================== */
/* Split Hero */
.split-hero { position: relative; padding: 60px 0; background: linear-gradient(90deg, var(--c-indigo) 0%, var(--c-indigo) 50%, var(--c-sand) 50%, var(--c-sand) 100%); }
@media (max-width: 991px) { .split-hero { background: var(--c-indigo); } }

.sh-card { background: var(--c-white); padding: clamp(40px, 6vw, 60px); border-radius: var(--rad-md); box-shadow: var(--shadow-base); border-top: 8px solid var(--c-clay); position: relative; z-index: 10; margin: 0 auto; max-width: 900px; text-align: center; }
.sh-card h1 { color: var(--c-indigo); }
.sh-img-wrap { max-width: 1000px; margin: -60px auto 0; position: relative; z-index: 5; padding: 0 var(--pad-x); }
.sh-img-wrap img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--rad-lg); box-shadow: var(--shadow-base); border: 8px solid var(--c-white); }

/* Hexagon Grid */
.hex-wrap { padding: 80px 0; }
.hex-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; max-width: 1000px; margin: 0 auto; }
.hex-card { width: 100%; max-width: 300px; aspect-ratio: 1/1.1; 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: 30px; transition: var(--trans); }
.hex-card:hover { background: var(--c-indigo); color: white; transform: translateY(-10px); }
.hex-card:hover h3 { color: var(--c-clay-soft); }
.hex-card:hover p { color: var(--c-white); }
.h-ico { font-size: 3rem; margin-bottom: 10px; display: block; color: var(--c-clay); }

/* The Elasticity Slider */
.elastic-wrap { max-width: 700px; margin: 60px auto 0; background: var(--c-white); padding: 50px; border-radius: var(--rad-md); box-shadow: var(--shadow-base); border: 2px solid var(--c-line); }
.e-track { width: 100%; height: 16px; background: var(--c-clay-soft); border-radius: 8px; position: relative; margin: 40px 0; }
.e-progress { position: absolute; left: 0; top: 0; height: 100%; background: var(--c-clay); border-radius: 8px; width: 80%; transition: width 1s ease-in-out; }
.e-handle { position: absolute; right: -15px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; background: var(--c-indigo); border-radius: 50%; border: 4px solid var(--c-white); box-shadow: 0 0 10px rgba(0,0,0,0.2); }
.e-labels { display: flex; justify-content: space-between; font-weight: 800; font-size: 0.9rem; text-transform: uppercase; color: var(--c-text); }
.elastic-wrap:hover .e-progress { width: 95%; }

/* ==========================================================================
   PROGRAM: ZIG-ZAG TIMELINE & NATIVE ACCORDION
   ========================================================================== */
/* Zig-Zag Timeline */
.zigzag-line { max-width: 900px; margin: 0 auto; position: relative; padding: 40px 0; }
.zigzag-line::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: repeating-linear-gradient(to bottom, var(--c-line) 0, var(--c-line) 10px, transparent 10px, transparent 20px); transform: translateX(-50%); display: none; }
@media (min-width: 768px) { .zigzag-line::before { display: block; } }

.zz-step { display: flex; flex-direction: column; margin-bottom: 50px; position: relative; }
@media (min-width: 768px) {
    .zz-step { flex-direction: row; justify-content: flex-start; align-items: center; }
    .zz-step:nth-child(even) { justify-content: flex-end; }
}
.zz-box { background: var(--c-white); padding: 40px; border-radius: var(--rad-md); box-shadow: var(--shadow-base); border-top: 6px solid var(--c-indigo); position: relative; z-index: 2; width: 100%; }
@media (min-width: 768px) {
    .zz-box { width: 45%; }
    .zz-step:nth-child(even) .zz-box { border-top-color: var(--c-clay); }
    /* Connecting dots */
    .zz-step::after { content: ''; position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; background: var(--c-indigo); border-radius: 50%; transform: translate(-50%, -50%); z-index: 3; box-shadow: 0 0 0 6px var(--c-sand); }
    .zz-step:nth-child(even)::after { background: var(--c-clay); }
}

/* Image Divider Rule */
.prog-insert-img { width: 100%; margin-top: 20px; border-radius: var(--rad-sm); box-shadow: var(--shadow-base); border: 2px solid var(--c-line); }

/* Native Accordion (HTML details/summary) */
.acc-native { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.acc-native details { background: var(--c-white); border: 2px solid var(--c-line); border-radius: var(--rad-sm); overflow: hidden; transition: var(--trans); }
.acc-native details[open] { border-color: var(--c-indigo); box-shadow: var(--shadow-base); }
.acc-native summary { padding: 25px 30px; font-size: 1.15rem; font-weight: 800; color: var(--c-dark); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; background: var(--c-white); }
.acc-native summary::-webkit-details-marker { display: none; }
.acc-native summary::after { content: '+'; font-size: 1.5rem; color: var(--c-clay); }
.acc-native details[open] summary::after { content: '−'; }
.acc-native .details-content { padding: 0 30px 30px; color: var(--c-text); font-size: 1.05rem; }

/* ==========================================================================
   MISSION: FULL-BLEED HERO & TICKET STUBS
   ========================================================================== */
/* Mission Hero with bg.jpg */
.mission-hero { height: 60vh; min-height: 400px; background: url('img/bg.jpg') center/cover; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; margin-bottom: 60px; }
.mission-hero::before { content: ''; position: absolute; inset: 0; background: rgba(28, 25, 23, 0.6); }
.mh-txt { position: relative; z-index: 2; color: white; max-width: 900px; padding: 0 20px; }
.mh-txt h1 { color: white; }

/* Typewriter Columns */
.type-cols { column-count: 1; column-gap: 40px; font-size: 1.2rem; line-height: 1.8; color: var(--c-dark); text-align: justify; }
@media (min-width: 768px) { .type-cols { column-count: 2; } }

/* Ticket Stubs (Values) */
.tickets-wrap { display: flex; flex-direction: column; gap: 30px; max-width: 900px; margin: 60px auto 0; }
@media (min-width: 768px) { .tickets-wrap { flex-direction: row; } }
.ticket { background: var(--c-white); padding: 40px; border: 2px dashed var(--c-indigo-light); flex: 1; position: relative; box-shadow: var(--shadow-base); text-align: center; }
/* Perforated edges using radial-gradient mask */
.ticket::before, .ticket::after { content: ''; position: absolute; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; background: var(--c-sand); border-radius: 50%; border: 2px solid var(--c-indigo-light); }
.ticket::before { left: -12px; border-right-color: transparent; border-top-color: transparent; transform: translateY(-50%) rotate(45deg); }
.ticket::after { right: -12px; border-left-color: transparent; border-bottom-color: transparent; transform: translateY(-50%) rotate(45deg); }

/* ==========================================================================
   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-indigo); }
.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; }
.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-sand); transition: var(--trans); }
.f-row input:focus, .f-row textarea:focus { outline: none; border-color: var(--c-indigo); background: var(--c-white); box-shadow: inset 4px 0 0 var(--c-clay); }
.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: 50px; 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: #fff; margin-bottom: 15px; display: block; letter-spacing: -1px; text-transform: lowercase; }
.f-logo span { color: var(--c-clay); }
.f-desc { font-size: 0.95rem; line-height: 1.7; }
.f-h { color: #fff; font-size: 1.2rem; 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: #d6d3d1; }
.f-links a:hover { color: var(--c-clay-soft); padding-left: 5px; }
.f-copy { border-top: 1px solid #44403c; padding-top: 30px; text-align: center; font-size: 0.95rem; color: #a8a29e; }

/* ==========================================================================
   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: 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-clay); font-weight: 800; text-decoration: underline; }
.ck-acts { display: flex; gap: 10px; }
.b-ck { 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; font-family: inherit; text-transform: uppercase; letter-spacing: 0.5px; }
.b-ck.y { background: var(--c-indigo); color: #fff; }
.b-ck.y:hover { background: var(--c-clay); }
.b-ck.n { background: var(--c-sand); color: var(--c-dark); }
.b-ck.n:hover { background: var(--c-line); }
@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; } }