/* ==========================================================================
   CSS VARIABLES & TEAL MUSTARD DESIGN (NEVUWIX.ONE)
   ========================================================================== */
:root {
    --c-teal-dark: #0f766e; /* Teal 700 */
    --c-teal: #14b8a6; /* Teal 500 */
    --c-mustard: #ca8a04; /* Yellow 600 */
    --c-mustard-light: #fef08a; /* Yellow 200 */
    --c-base: #f5f5f5; /* Neutral 100 */
    --c-dark: #27272a; /* Zinc 800 */
    --c-text: #52525b; /* Zinc 600 */
    --c-white: #ffffff;
    --c-line: #e4e4e7; /* Zinc 200 */

    --pad-x: clamp(15px, 5vw, 30px);
    --pad-y: clamp(70px, 9vw, 120px);
    
    --rad-sm: 8px;
    --rad-md: 20px;
    
    --shadow-card: 0 20px 40px rgba(15, 118, 110, 0.1);
    --shadow-solid: 6px 6px 0 rgba(20, 184, 166, 0.3);
    --trans: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Sen', system-ui, sans-serif;
    background-color: var(--c-base);
    color: var(--c-text);
    line-height: 1.7;
    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, 7vw, 4rem); letter-spacing: -1.5px; }
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-teal-dark); }
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); border-bottom: 2px solid var(--c-line); position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }

.mobile-nav-lock {
    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-lock { padding: 20px var(--pad-x); } }

.brand { font-size: 2rem; font-weight: 800; color: var(--c-teal-dark); text-transform: uppercase; letter-spacing: 2px; }
.brand span { color: var(--c-mustard); }

.burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.burger span { width: 30px; height: 3px; 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: 700; 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-teal-dark); }

.mob-nav {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--c-teal-dark); padding: 15px 20px 25px; border-top: 4px solid var(--c-mustard); box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.mob-nav a { display: block; font-weight: 700; 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-t { background: var(--c-teal-dark); color: var(--c-white); }
.btn-t:hover { background: var(--c-dark); color: var(--c-mustard); transform: translateY(-2px); box-shadow: var(--shadow-solid); }
.btn-m { background: var(--c-mustard); color: var(--c-dark); }
.btn-m:hover { background: var(--c-dark); 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: FLOATING OVERLAP HERO & DIAGONAL RIBBON
   ========================================================================== */
/* Floating Overlap Hero */
.hero-overlap { position: relative; padding: 40px 20px 80px; display: flex; flex-direction: column; align-items: center; }
.hero-overlap::before { content: ''; position: absolute; top: 0; right: 0; width: 100%; height: 100%; background: var(--c-mustard-light); z-index: 0; }
@media (min-width: 992px) {
    .hero-overlap { padding: 100px 20px; flex-direction: row; justify-content: flex-end; }
    .hero-overlap::before { width: 45%; border-radius: 40px 0 0 40px; }
}
.ho-card { background: var(--c-white); padding: clamp(40px, 6vw, 60px); border-radius: var(--rad-md); box-shadow: var(--shadow-card); position: relative; z-index: 2; max-width: 600px; border-left: 8px solid var(--c-teal); }
@media (min-width: 992px) { .ho-card { margin-right: -100px; } }
.ho-img { position: relative; z-index: 1; max-width: 600px; }
.ho-img img { border-radius: var(--rad-md); box-shadow: var(--shadow-solid); }

/* Diagonal Ribbon */
.ribbon-wrap { position: relative; padding: 100px 0; background: var(--c-teal-dark); color: var(--c-white); clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%); margin-top: 40px; }
.ribbon-grid { display: grid; grid-template-columns: 1fr; gap: 40px; max-width: 1000px; margin: 0 auto; padding: 0 var(--pad-x); }
@media (min-width: 768px) {
    .ribbon-grid { grid-template-columns: repeat(3, 1fr); align-items: center; }
    .rg-item:nth-child(2) { transform: translateY(40px); }
    .rg-item:nth-child(3) { transform: translateY(-20px); }
}
.rg-item { background: var(--c-white); padding: 40px; border-radius: var(--rad-md); text-align: center; color: var(--c-text); box-shadow: var(--shadow-card); }
.rg-item h3 { color: var(--c-teal-dark); }
.r-icon { font-size: 3rem; margin-bottom: 20px; display: block; color: var(--c-mustard); }

/* ==========================================================================
   PROGRAM: TREE TRUNK TIMELINE & MASONRY FAQ
   ========================================================================== */
/* Tree Trunk Timeline */
.tree-wrap { position: relative; max-width: 900px; margin: 0 auto; padding: 40px 0; }
.tree-wrap::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 6px; background: var(--c-line); transform: translateX(-50%); border-radius: 3px; display: none; }
@media (min-width: 768px) { .tree-wrap::before { display: block; } }

.tree-node { display: flex; flex-direction: column; position: relative; margin-bottom: 40px; }
.tree-content { background: var(--c-white); padding: 40px; border-radius: var(--rad-md); box-shadow: var(--shadow-card); border-top: 4px solid var(--c-teal); position: relative; z-index: 2; width: 100%; }
.tc-num { font-size: 1.5rem; font-weight: 900; color: var(--c-mustard); margin-bottom: 10px; display: block; }

@media (min-width: 768px) {
    .tree-node { flex-direction: row; justify-content: flex-start; }
    .tree-node:nth-child(even) { justify-content: flex-end; }
    .tree-content { width: 45%; }
    /* Branches */
    .tree-content::before { content: ''; position: absolute; top: 50%; right: -11%; width: 11%; height: 4px; background: var(--c-teal); transform: translateY(-50%); z-index: 1; }
    .tree-node:nth-child(even) .tree-content::before { right: auto; left: -11%; }
    /* Dot on trunk */
    .tree-node::after { content: ''; position: absolute; top: 50%; left: 50%; width: 24px; height: 24px; background: var(--c-white); border: 6px solid var(--c-mustard); border-radius: 50%; transform: translate(-50%, -50%); z-index: 3; }
}

/* Masonry FAQ */
.masonry-faq { column-count: 1; column-gap: 30px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 768px) { .masonry-faq { column-count: 2; } }
.masonry-item { background: var(--c-white); padding: 30px; border-radius: var(--rad-sm); border: 1px solid var(--c-line); margin-bottom: 30px; break-inside: avoid; transition: var(--trans); border-left: 4px solid var(--c-mustard); }
.masonry-item:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.masonry-item h4 { font-size: 1.2rem; color: var(--c-teal-dark); margin-bottom: 15px; }

/* ==========================================================================
   MISSION: INTERLOCK GRID & CAROUSEL TRACK
   ========================================================================== */
/* Interlock Grid */
.interlock { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 768px) {
    .interlock { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(150px, auto); }
    .il-1 { grid-column: 1 / 3; grid-row: 1 / 3; background: var(--c-teal-dark); color: var(--c-white); padding: 40px; display: flex; flex-direction: column; justify-content: center; border-radius: var(--rad-sm); }
    .il-1 h2 { color: var(--c-mustard); }
    .il-2 { grid-column: 3 / 5; grid-row: 1 / 2; background: var(--c-white); padding: 40px; border: 1px solid var(--c-line); border-radius: var(--rad-sm); display: flex; align-items: center; }
    .il-3 { grid-column: 3 / 5; grid-row: 2 / 4; background: url('img/bg-1.jpg') center/cover; border-radius: var(--rad-sm); min-height: 250px; }
    .il-4 { grid-column: 1 / 3; grid-row: 3 / 4; background: var(--c-mustard); color: var(--c-dark); padding: 40px; border-radius: var(--rad-sm); display: flex; align-items: center; font-weight: 700; font-size: 1.1rem; }
}

/* Carousel Track (Values) */
.carousel-track { display: flex; overflow-x: auto; gap: 20px; padding: 20px 0 40px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.ct-card { flex: 0 0 80%; scroll-snap-align: center; background: var(--c-white); padding: 40px; border-radius: var(--rad-md); box-shadow: var(--shadow-card); border-top: 4px solid var(--c-teal); }
@media (min-width: 768px) { .ct-card { flex: 0 0 40%; } }
@media (min-width: 1024px) { .ct-card { flex: 0 0 30%; } }
.ct-card h3 { font-size: 1.5rem; margin-bottom: 15px; }

/* ==========================================================================
   FORM (4 FIELDS)
   ========================================================================== */
.frm-wrap { background: var(--c-white); padding: clamp(30px, 5vw, 60px); border-radius: var(--rad-md); box-shadow: var(--shadow-card); max-width: 700px; margin: 0 auto; border: 1px solid var(--c-line); border-top: 6px solid var(--c-teal-dark); }
.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: 16px; border: 2px solid var(--c-line); border-radius: var(--rad-sm); font-family: inherit; font-size: 1rem; background: var(--c-base); transition: var(--trans); }
.f-row input:focus, .f-row textarea:focus { outline: none; border-color: var(--c-teal); background: var(--c-white); }
.f-row textarea { min-height: 140px; resize: vertical; }

/* ==========================================================================
   FOOTER (STRICT DATES)
   ========================================================================== */
.site-ftr { background: var(--c-white); border-top: 1px solid var(--c-line); 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: var(--c-teal-dark); margin-bottom: 15px; display: block; letter-spacing: 1px; text-transform: uppercase; }
.f-logo span { color: var(--c-mustard); }
.f-desc { font-size: 0.95rem; line-height: 1.7; color: var(--c-text); }
.f-h { color: var(--c-dark); font-size: 1.2rem; font-weight: 800; margin-bottom: 20px; text-transform: uppercase; }
.f-links li { margin-bottom: 12px; }
.f-links a { font-weight: 600; transition: var(--trans); color: var(--c-text); }
.f-links a:hover { color: var(--c-teal); padding-left: 5px; }
.f-copy { border-top: 1px solid var(--c-line); padding-top: 30px; text-align: center; font-size: 0.95rem; color: #a1a1aa; }

/* ==========================================================================
   COOKIE BANNER (2 BUTTONS, LINK IN TEXT)
   ========================================================================== */
#ck-bnnr { position: fixed; bottom: 20px; left: 20px; right: 20px; background: var(--c-dark); 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-card); max-width: 900px; margin: 0 auto; color: white; }
#ck-bnnr.show { transform: translateY(0); }
.ck-txt p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: #d4d4d8; }
.ck-txt a { color: var(--c-mustard); 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: 700; cursor: pointer; flex: 1; transition: var(--trans); font-size: 0.95rem; text-align: center; font-family: inherit; }
.b-ck.y { background: var(--c-teal); color: #fff; }
.b-ck.y:hover { background: var(--c-teal-dark); }
.b-ck.n { background: transparent; border: 2px solid var(--c-line); color: var(--c-white); }
.b-ck.n:hover { background: var(--c-white); 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; } }