/* ==========================================================================
   CSS VARIABLES & AMALFI AQUA DESIGN (NUPEYOL.ICU)
   ========================================================================== */
:root {
    --c-aqua: #0f766e; /* Teal 700 */
    --c-aqua-dark: #115e59; /* Teal 800 */
    --c-lemon: #eab308; /* Yellow 500 */
    --c-lemon-light: #fef08a; /* Yellow 200 */
    --c-bg: #f0fdfa; /* Teal 50 */
    --c-surface: #ffffff;
    --c-text-dark: #0f172a; /* Slate 900 */
    --c-text-mut: #475569; /* Slate 600 */
    --c-border: #ccfbf1; /* Sky 100 */

    --pad-safe: clamp(15px, 5vw, 30px);
    --pad-y: clamp(70px, 8vw, 110px);
    
    --rad-sm: 8px;
    --rad-md: 16px;
    --rad-lg: 24px;
    
    --shadow-soft: 0 10px 30px rgba(15, 118, 110, 0.08);
    --shadow-hover: 0 15px 40px rgba(15, 118, 110, 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: 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--c-bg);
    color: var(--c-text-mut);
    line-height: 1.7;
    overflow-x: hidden;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); color: var(--c-text-dark); font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -1px; }
h2 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); color: var(--c-text-dark); font-weight: 700; line-height: 1.2; margin-bottom: 1.2rem; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); color: var(--c-aqua); font-weight: 700; margin-bottom: 1rem; }
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-md); }
ul { list-style: none; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--pad-safe); }
.sec-p { padding: var(--pad-y) 0; }
.txt-c { text-align: center; }

/* ==========================================================================
   HEADER (STRICT 10PX MOBILE PADDING)
   ========================================================================== */
.site-hdr { background: var(--c-surface); border-bottom: 1px solid var(--c-border); position: sticky; top: 0; z-index: 1000; }

.nav-wrap {
    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-wrap { padding: 20px var(--pad-safe); } }

.brand { font-size: 2rem; font-weight: 900; color: var(--c-text-dark); letter-spacing: -1px; }
.brand span { color: var(--c-aqua); }

.burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.burger span { width: 28px; height: 3px; background: var(--c-text-dark); border-radius: 2px; transition: var(--trans); }
#menu-chk { 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-mut); font-size: 1.05rem; }
.desk-nav a:hover { color: var(--c-aqua); }

.mob-nav {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--c-surface); padding: 10px 20px 20px; box-shadow: 0 15px 25px rgba(0,0,0,0.05); border-top: 1px solid var(--c-border);
}
.mob-nav a { display: block; font-weight: 700; color: var(--c-text-dark); padding: 15px 0; border-bottom: 1px solid var(--c-bg); }
.mob-nav li:last-child a { border-bottom: none; }
#menu-chk: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: 700; font-size: 1.05rem; border-radius: var(--rad-md); cursor: pointer; transition: var(--trans); border: 2px solid transparent; text-align: center; }
.btn-a { background: var(--c-aqua); color: #fff; box-shadow: var(--shadow-soft); }
.btn-a:hover { background: var(--c-aqua-dark); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.btn-l { background: transparent; border-color: var(--c-lemon); color: var(--c-text-dark); }
.btn-l:hover { background: var(--c-lemon); color: var(--c-text-dark); border-color: var(--c-lemon); }

/* ==========================================================================
   GRIDS & CARDS
   ========================================================================== */
.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); } }

.card { background: var(--c-surface); padding: 40px 30px; border-radius: var(--rad-lg); box-shadow: var(--shadow-soft); border: 1px solid var(--c-border); transition: var(--trans); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--c-aqua); }
.c-icon { font-size: 3rem; margin-bottom: 20px; color: var(--c-lemon); display: inline-block; }

/* ==========================================================================
   UNIQUE BLOCKS
   ========================================================================== */
/* Matrix (Index Sec 4) */
.matrix-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
@media (min-width: 768px) { .matrix-grid { grid-template-columns: 1fr 1fr; } }
.mx-box { padding: 40px; border-radius: var(--rad-lg); color: var(--c-text-dark); transition: var(--trans); }
.mx-box:hover { transform: scale(1.02); }
.mx-1 { background: #e0f2fe; } /* Sky */
.mx-2 { background: #fef08a; } /* Lemon */
.mx-3 { background: #dcfce7; } /* Green */
.mx-4 { background: #ffedd5; } /* Orange */

/* Stepped Path (Program Sec 2) */
.step-path { display: flex; flex-direction: column; gap: 30px; max-width: 900px; margin: 0 auto; }
.step-card { background: var(--c-surface); padding: 40px; border-radius: var(--rad-lg); box-shadow: var(--shadow-soft); border-left: 6px solid var(--c-aqua); position: relative; }
@media (min-width: 768px) {
    .step-card:nth-child(even) { margin-left: 50px; border-left: none; border-right: 6px solid var(--c-lemon); }
    .step-card:nth-child(odd) { margin-right: 50px; }
}

/* Open Letter (Mission Sec 2) */
.letter-box { background: var(--c-surface); padding: clamp(40px, 6vw, 80px); border-radius: var(--rad-lg); box-shadow: var(--shadow-soft); max-width: 800px; margin: 0 auto; }
.letter-box p::first-letter { font-size: 3.5rem; float: left; margin-right: 15px; line-height: 1; color: var(--c-aqua); font-weight: 900; }

/* ==========================================================================
   FORM (4 FIELDS)
   ========================================================================== */
.f-wrap { background: var(--c-surface); padding: 45px; border-radius: var(--rad-lg); box-shadow: var(--shadow-hover); border: 1px solid var(--c-border); }
.f-row { margin-bottom: 20px; }
.f-row label { display: block; font-weight: 700; color: var(--c-text-dark); margin-bottom: 8px; }
.f-row input, .f-row textarea { width: 100%; padding: 16px; border: 2px solid var(--c-border); border-radius: var(--rad-sm); font-family: inherit; font-size: 1rem; background: var(--c-bg); transition: var(--trans); }
.f-row input:focus, .f-row textarea:focus { outline: none; border-color: var(--c-aqua); background: var(--c-surface); }
.f-row textarea { min-height: 140px; resize: vertical; }

/* ==========================================================================
   FOOTER (STRICT DATES)
   ========================================================================== */
.site-ftr { background: var(--c-text-dark); color: #cbd5e1; 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: 2.2rem; font-weight: 900; color: #fff; margin-bottom: 15px; display: block; letter-spacing: -1px; }
.f-logo span { color: var(--c-aqua); }
.f-desc { font-size: 0.95rem; line-height: 1.7; }
.f-h { color: #fff; font-size: 1.25rem; font-weight: 800; margin-bottom: 20px; }
.f-links li { margin-bottom: 12px; }
.f-links a:hover { color: var(--c-lemon); }
.f-copy { border-top: 1px solid #334155; padding-top: 30px; text-align: center; font-size: 0.95rem; color: #94a3b8; }

/* ==========================================================================
   COOKIE BANNER (2 BUTTONS, LINK IN TEXT)
   ========================================================================== */
#ck-bnnr { position: fixed; bottom: 20px; left: 20px; right: 20px; background: var(--c-surface); padding: 25px 30px; border-radius: var(--rad-lg); 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-aqua); 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-mut); }
.ck-txt a { color: var(--c-aqua); font-weight: 800; text-decoration: underline; }
.ck-acts { display: flex; gap: 15px; }
.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; }
.b-ck.y { background: var(--c-aqua); color: #fff; }
.b-ck.y:hover { background: var(--c-aqua-dark); }
.b-ck.n { background: transparent; border: 2px solid var(--c-text-mut); color: var(--c-text-mut); }
.b-ck.n:hover { background: var(--c-text-dark); color: #fff; border-color: var(--c-text-dark); }
@media (min-width: 768px) { #ck-bnnr { flex-direction: row; align-items: center; justify-content: space-between; } .ck-acts { flex-shrink: 0; width: auto; } .b-ck { flex: none; } }