/* ==========================================================================
   CSS VARIABLES & SARDINIAN PINE DESIGN (SONIJEL.ICU)
   ========================================================================== */
:root {
    --c-pine: #14532d; /* Green 900 */
    --c-pine-light: #166534; /* Green 800 */
    --c-pine-soft: #dcfce7; /* Green 100 */
    --c-copper: #b45309; /* Amber 700 */
    --c-copper-light: #f59e0b; /* Amber 500 */
    --c-dark: #0f172a; /* Slate 900 */
    --c-text: #334155; /* Slate 700 */
    --c-bg: #f8fafc; /* Slate 50 */
    --c-white: #ffffff;
    --c-line: #cbd5e1; /* Slate 300 */

    --p-safe: clamp(15px, 5vw, 30px);
    --p-sec: clamp(70px, 8vw, 110px);
    
    --rad-sm: 6px;
    --rad-md: 12px;
    --rad-lg: 24px;
    
    --shadow-sm: 0 5px 15px rgba(20, 83, 45, 0.08);
    --shadow-lg: 0 20px 40px rgba(20, 83, 45, 0.15);
    --trans: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Georgia', 'Times New Roman', serif; /* Serif for editorial elegant look */
    background-color: var(--c-bg);
    color: var(--c-text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, .sans-font { font-family: 'Inter', system-ui, sans-serif; }
h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); color: var(--c-dark); font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -1.5px; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); color: var(--c-dark); font-weight: 800; line-height: 1.2; margin-bottom: 1.2rem; letter-spacing: -1px; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); color: var(--c-pine); font-weight: 700; margin-bottom: 1rem; }
p { font-size: clamp(1.1rem, 1.5vw, 1.2rem); 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(--p-safe); }
.sec-p { padding: var(--p-sec) 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; }

.nav-pad {
    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-pad { padding: 20px var(--p-safe); } }

.brand { font-size: 2.2rem; font-weight: 900; color: var(--c-dark); font-family: 'Inter', sans-serif; letter-spacing: -1px; }
.brand span { color: var(--c-copper); }

.burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.burger span { width: 30px; height: 3px; background: var(--c-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); font-size: 1.05rem; font-family: 'Inter', sans-serif; }
.desk-nav a:hover, .desk-nav a.active { color: var(--c-copper); }

.mob-nav {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--c-white); padding: 10px 20px 20px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-top: 1px solid var(--c-line);
}
.mob-nav a { display: block; font-weight: 700; color: var(--c-dark); padding: 15px 0; border-bottom: 1px solid var(--c-bg); font-family: 'Inter', sans-serif; }
.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-family: 'Inter', sans-serif; font-weight: 800; font-size: 1.1rem; border-radius: var(--rad-sm); cursor: pointer; transition: var(--trans); border: 2px solid transparent; text-align: center; }
.btn-pine { background: var(--c-pine); color: #fff; box-shadow: var(--shadow-sm); }
.btn-pine:hover { background: var(--c-dark); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-copper { background: transparent; border-color: var(--c-copper); color: var(--c-copper); }
.btn-copper:hover { background: var(--c-copper); color: #fff; }

/* ==========================================================================
   INDEX: UNIQUE INTERLOCKING CARDS (SEC 4)
   ========================================================================== */
.interlock-grid { display: flex; flex-direction: column; gap: 20px; align-items: center; margin-top: 50px; }
.interlock-card { background: var(--c-white); padding: 40px; border-radius: var(--rad-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--c-line); width: 100%; max-width: 400px; transition: var(--trans); }
.interlock-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--c-copper); z-index: 10 !important; }

@media (min-width: 992px) { 
    .interlock-grid { flex-direction: row; justify-content: center; gap: 0; } 
    .interlock-card { margin-left: -40px; position: relative; box-shadow: -10px 0 30px rgba(0,0,0,0.08); } 
    .interlock-card:first-child { margin-left: 0; z-index: 1; } 
    .interlock-card:nth-child(2) { z-index: 2; transform: translateY(40px); background: var(--c-pine-soft); } 
    .interlock-card:nth-child(3) { z-index: 3; }
    .interlock-card:hover { transform: translateY(20px) scale(1.05); } /* Adjust hover for the middle one naturally */
}

/* ==========================================================================
   PROGRAM: FULL-WIDTH SPLITS & ACCORDION
   ========================================================================== */
.fw-split { display: flex; flex-direction: column; }
.fw-img { width: 100%; height: 300px; background-size: cover; background-position: center; }
.fw-txt { padding: 60px 20px; background: var(--c-white); }
@media (min-width: 992px) { 
    .fw-split { flex-direction: row; min-height: 50vh; } 
    .fw-split:nth-child(even) { flex-direction: row-reverse; } 
    .fw-img, .fw-txt { width: 50%; } 
    .fw-txt { padding: 80px 5%; display: flex; flex-direction: column; justify-content: center; }
    .fw-split:nth-child(even) .fw-txt { background: var(--c-pine-soft); }
}

/* Accordion FAQ */
details.faq-item { background: var(--c-white); border-radius: var(--rad-md); margin-bottom: 15px; padding: 20px 25px; box-shadow: var(--shadow-sm); border: 1px solid var(--c-line); transition: var(--trans); }
details.faq-item[open] { border-color: var(--c-pine); box-shadow: var(--shadow-lg); }
summary.faq-sum { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--c-dark); cursor: pointer; outline: none; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary.faq-sum::-webkit-details-marker { display: none; }
summary.faq-sum::after { content: '+'; color: var(--c-copper); font-size: 1.5rem; transition: var(--trans); }
details[open] summary.faq-sum::after { content: '-'; transform: rotate(180deg); }
.faq-ans { margin-top: 15px; padding-top: 15px; border-top: 1px dashed var(--c-line); color: var(--c-text); }

/* ==========================================================================
   MISSION: EDITORIAL ASYMMETRIC GRID
   ========================================================================== */
.ed-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 60px; align-items: center; }
.ed-num { font-size: clamp(6rem, 12vw, 10rem); color: var(--c-copper); font-weight: 900; line-height: 0.8; font-family: 'Inter', sans-serif; }
@media (min-width: 768px) { 
    .ed-grid { grid-template-columns: 1fr 2fr; gap: 60px; } 
    .ed-grid:nth-child(even) { grid-template-columns: 2fr 1fr; text-align: right; }
    .ed-grid:nth-child(even) .ed-num { order: 2; }
}

/* ==========================================================================
   GENERAL GRIDS & FORM
   ========================================================================== */
.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); } }

.frm-box { background: var(--c-white); padding: clamp(30px, 5vw, 50px); border-radius: var(--rad-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--c-line); border-top: 6px solid var(--c-pine); }
.f-row { margin-bottom: 25px; }
.f-row label { display: block; font-family: 'Inter', sans-serif; font-weight: 700; color: var(--c-dark); margin-bottom: 8px; }
.f-row input, .f-row textarea { width: 100%; padding: 16px; border: 2px solid var(--c-line); border-radius: var(--rad-sm); font-family: 'Inter', sans-serif; font-size: 1rem; background: var(--c-bg); transition: var(--trans); }
.f-row input:focus, .f-row textarea:focus { outline: none; border-color: var(--c-pine); background: var(--c-white); }
.f-row textarea { min-height: 140px; resize: vertical; }

/* ==========================================================================
   FOOTER (STRICT DATES)
   ========================================================================== */
.site-ftr { background: var(--c-dark); color: #cbd5e1; padding: 80px 0 30px; margin-top: 80px; }
.ftr-g { display: grid; grid-template-columns: 1fr; gap: 50px; margin-bottom: 50px; }
@media (min-width: 768px) { .ftr-g { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.ftr-logo { font-size: 2.2rem; font-family: 'Inter', sans-serif; font-weight: 900; color: #fff; margin-bottom: 15px; display: block; letter-spacing: -1px; }
.ftr-logo span { color: var(--c-copper); }
.ftr-desc { font-size: 1rem; line-height: 1.6; }
.ftr-h { font-family: 'Inter', sans-serif; color: #fff; font-size: 1.25rem; font-weight: 800; margin-bottom: 20px; }
.ftr-nav li { margin-bottom: 12px; }
.ftr-nav a { font-family: 'Inter', sans-serif; font-weight: 600; }
.ftr-nav a:hover { color: var(--c-copper); }
.ftr-copy { border-top: 1px solid #334155; padding-top: 30px; text-align: center; font-size: 0.95rem; color: #94a3b8; font-family: 'Inter', sans-serif; }

/* ==========================================================================
   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: 20px; transform: translateY(150%); transition: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); box-shadow: 0 20px 50px rgba(0,0,0,0.2); border: 2px solid var(--c-pine); max-width: 900px; margin: 0 auto; }
#ck-bnnr.show { transform: translateY(0); }
.ck-t p { font-family: 'Inter', sans-serif; margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--c-text); }
.ck-t a { color: var(--c-pine); font-weight: 800; text-decoration: underline; }
.ck-b { display: flex; gap: 10px; }
.b-ck { font-family: 'Inter', sans-serif; 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-pine); color: #fff; }
.b-ck.y:hover { background: var(--c-dark); }
.b-ck.n { background: transparent; border: 2px solid var(--c-text); color: var(--c-text); }
.b-ck.n:hover { background: var(--c-text); color: #fff; }
@media (min-width: 768px) { #ck-bnnr { flex-direction: row; align-items: center; justify-content: space-between; } .ck-b { width: auto; flex-shrink: 0; } .b-ck { flex: none; } }