/* ==========================================================================
   CSS VARIABLES & OBSIDIAN RUBY DESIGN (LUBOROH.ICU)
   ========================================================================== */
:root {
    --c-obsidian: #0f172a; /* Slate 900 */
    --c-obsidian-light: #334155; /* Slate 700 */
    --c-ruby: #e11d48; /* Rose 600 */
    --c-ruby-dark: #be123c; /* Rose 700 */
    --c-alabaster: #fafaf9; /* Stone 50 */
    --c-text: #52525b; /* Zinc 600 */
    --c-line: #e4e4e7; /* Zinc 200 */
    --c-white: #ffffff;

    --pad-x: clamp(15px, 5vw, 30px);
    --pad-y: clamp(70px, 9vw, 130px);
    
    --rad-sm: 6px;
    --rad-md: 16px;
    --rad-lg: 30px;
    
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-ruby: 0 15px 35px rgba(225, 29, 72, 0.2);
    --trans: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Public Sans', system-ui, sans-serif;
    background-color: var(--c-alabaster);
    color: var(--c-text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 { color: var(--c-obsidian); font-weight: 800; line-height: 1.15; margin-bottom: 1rem; }
h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); letter-spacing: -1.5px; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -1px; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); color: var(--c-ruby); }
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); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 15px rgba(0,0,0,0.04); }

.mobile-top-bar {
    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-top-bar { padding: 20px var(--pad-x); } }

.brand { font-size: 2.2rem; font-weight: 900; color: var(--c-obsidian); letter-spacing: -1px; }
.brand span { color: var(--c-ruby); }

.burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.burger span { width: 30px; height: 3px; background: var(--c-obsidian); 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: 700; color: var(--c-text); font-size: 1.05rem; }
.desk-nav a:hover, .desk-nav a.active { color: var(--c-ruby); }

.mob-nav {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--c-obsidian); padding: 15px 20px 25px; border-top: 4px solid var(--c-ruby); box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.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); }
.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 42px; font-weight: 800; font-size: 1.05rem; border-radius: 50px; cursor: pointer; transition: var(--trans); border: 2px solid transparent; letter-spacing: 0.5px; }
.btn-r { background: var(--c-ruby); color: var(--c-white); box-shadow: var(--shadow-ruby); }
.btn-r:hover { background: var(--c-obsidian); color: var(--c-white); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.btn-o { background: transparent; border-color: var(--c-obsidian); color: var(--c-obsidian); }
.btn-o:hover { background: var(--c-obsidian); 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: SEAM SPLIT HERO & RADAR PILLARS
   ========================================================================== */
/* Seam Split Hero */
.seam-hero { position: relative; min-height: 85vh; display: flex; align-items: center; padding: 60px 20px; }
.seam-bg-left { position: absolute; top: 0; left: 0; width: 100%; height: 50%; background: var(--c-obsidian); z-index: 0; }
.seam-bg-right { position: absolute; bottom: 0; left: 0; width: 100%; height: 50%; background: url('img/bg.jpg') center/cover; z-index: 0; }
.seam-bg-right::after { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.3); }

@media (min-width: 992px) {
    .seam-bg-left { width: 50%; height: 100%; }
    .seam-bg-right { left: 50%; width: 50%; height: 100%; bottom: auto; top: 0; }
}

.seam-content { background: var(--c-white); padding: clamp(40px, 6vw, 70px); border-radius: var(--rad-md); box-shadow: 0 30px 60px rgba(0,0,0,0.2); position: relative; z-index: 10; max-width: 800px; margin: 0 auto; text-align: center; border-top: 8px solid var(--c-ruby); }

/* Radar Pillars */
.radar-wrap { position: relative; max-width: 800px; margin: 60px auto 0; aspect-ratio: 1/1; display: flex; justify-content: center; align-items: center; }
.radar-core { width: 150px; height: 150px; background: var(--c-ruby); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 900; font-size: 1.2rem; text-align: center; box-shadow: var(--shadow-ruby); z-index: 5; line-height: 1.2; }
.radar-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; border: 2px dashed var(--c-line); }
.rr-1 { width: 60%; height: 60%; z-index: 1; }
.rr-2 { width: 100%; height: 100%; z-index: 1; }
.radar-node { position: absolute; background: var(--c-obsidian); color: white; padding: 20px; border-radius: var(--rad-sm); width: 220px; text-align: center; box-shadow: var(--shadow-soft); z-index: 10; transition: var(--trans); }
.radar-node:hover { background: var(--c-ruby); transform: scale(1.05); }
.radar-node h4 { color: var(--c-white); margin-bottom: 8px; font-size: 1.1rem; }
.radar-node p { font-size: 0.9rem; margin: 0; color: #e4e4e7; line-height: 1.4; }

/* Positioning Nodes on the Radar */
.rn-top { top: -20px; left: 50%; transform: translateX(-50%); }
.rn-bottom { bottom: -20px; left: 50%; transform: translateX(-50%); }
.rn-left { left: -20px; top: 50%; transform: translateY(-50%); }
.rn-right { right: -20px; top: 50%; transform: translateY(-50%); }

@media (max-width: 768px) {
    .radar-wrap { aspect-ratio: auto; display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
    .radar-core, .radar-ring { display: none; }
    .radar-node { position: static; width: 100%; transform: none !important; }
}

/* ==========================================================================
   PROGRAM: ACCORDION FLEX & 3D FLIP CARDS
   ========================================================================== */
/* Accordion Flex */
.acc-flex-wrap { display: flex; flex-direction: column; gap: 20px; max-width: 1000px; margin: 0 auto; height: auto; }
@media (min-width: 992px) { .acc-flex-wrap { flex-direction: row; height: 500px; gap: 15px; } }
.acc-panel { flex: 1; background: var(--c-white); border-radius: var(--rad-md); padding: 30px; box-shadow: var(--shadow-soft); border-left: 6px solid var(--c-obsidian); overflow: hidden; transition: flex 0.5s cubic-bezier(0.25, 1, 0.5, 1); display: flex; flex-direction: column; }
@media (min-width: 992px) {
    .acc-panel { flex: 1; cursor: pointer; }
    .acc-panel:hover { flex: 3; background: var(--c-obsidian); color: white; border-color: var(--c-ruby); }
    .acc-panel:hover h3, .acc-panel:hover .ap-num { color: var(--c-ruby); }
    .acc-panel p { opacity: 0; transition: opacity 0.3s; max-height: 0; }
    .acc-panel:hover p { opacity: 1; max-height: 500px; margin-top: 20px; color: #e4e4e7; }
}
.ap-num { font-size: 3rem; font-weight: 900; color: var(--c-obsidian-light); line-height: 1; margin-bottom: 10px; transition: var(--trans); }

/* Full Width Banner (REQUIRED IMAGE) */
.full-banner { width: 100%; height: 650px; background: url('img/bg-1.jpg') center/cover fixed; position: relative; margin: 80px 0; display: flex; align-items: center; justify-content: center; }
.full-banner::before { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(15, 23, 42, 0.7); }
.banner-txt { position: relative; z-index: 2; color: white; text-align: center; padding: 0 20px; max-width: 800px; }
.banner-txt h2 { color: white; }

/* 3D Flip Cards (FAQ) */
.flip-grid { display: grid; grid-template-columns: 1fr; gap: 30px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 768px) { .flip-grid { grid-template-columns: repeat(2, 1fr); } }
.flip-card { perspective: 1000px; height: 220px; }
.fc-inner { width: 100%; height: 100%; position: relative; transition: transform 0.6s; transform-style: preserve-3d; }
.flip-card:hover .fc-inner { transform: rotateY(180deg); }
.fc-front, .fc-back { width: 100%; height: 100%; position: absolute; backface-visibility: hidden; border-radius: var(--rad-md); padding: 30px; display: flex; align-items: center; justify-content: center; text-align: center; box-shadow: var(--shadow-soft); }
.fc-front { background: var(--c-white); border: 2px solid var(--c-line); }
.fc-front h4 { margin: 0; color: var(--c-obsidian); font-size: 1.2rem; }
.fc-back { background: var(--c-ruby); color: white; transform: rotateY(180deg); flex-direction: column; }
.fc-back p { margin: 0; font-size: 1rem; color: #fff; }

/* ==========================================================================
   MISSION: NEWSPAPER LAYOUT & DIAMOND GRID
   ========================================================================== */
/* Newspaper Layout */
.newspaper-wrap { max-width: 1000px; margin: 0 auto; background: var(--c-white); padding: clamp(30px, 5vw, 60px); border-radius: var(--rad-md); box-shadow: var(--shadow-soft); position: relative; }
.newspaper-wrap::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px; background: var(--c-obsidian); border-radius: var(--rad-md) var(--rad-md) 0 0; }
.news-columns { column-count: 1; column-gap: 40px; text-align: justify; }
@media (min-width: 768px) { .news-columns { column-count: 2; } }
/* REQUIRED IMAGE IN TEXT */
.news-img-inline { float: left; width: 100%; max-width: 350px; margin: 10px 30px 20px 0; border-radius: var(--rad-sm); box-shadow: var(--shadow-soft); }
@media (max-width: 768px) { .news-img-inline { float: none; max-width: 100%; margin: 20px 0; } }

/* Diamond Grid */
.diamond-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; max-width: 900px; margin: 60px auto 0; padding: 40px 0; }
.diamond-card { width: 220px; height: 220px; background: var(--c-obsidian); transform: rotate(45deg); display: flex; align-items: center; justify-content: center; transition: var(--trans); border: 4px solid var(--c-ruby); box-shadow: var(--shadow-soft); }
.dc-inner { transform: rotate(-45deg); text-align: center; padding: 20px; color: white; }
.diamond-card:hover { background: var(--c-ruby); border-color: var(--c-obsidian); transform: rotate(45deg) scale(1.05); }
.dc-inner h3 { color: var(--c-white); font-size: 1.3rem; margin-bottom: 5px; }
.dc-inner p { font-size: 0.9rem; margin: 0; color: #e4e4e7; line-height: 1.4; }

/* ==========================================================================
   FORM (4 FIELDS)
   ========================================================================== */
.frm-ui { background: var(--c-white); padding: clamp(40px, 6vw, 60px); border-radius: var(--rad-md); box-shadow: var(--shadow-soft); max-width: 700px; margin: 0 auto; border: 1px solid var(--c-line); }
.f-row { margin-bottom: 25px; }
.f-row label { display: block; font-weight: 800; color: var(--c-obsidian); 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-alabaster); transition: var(--trans); }
.f-row input:focus, .f-row textarea:focus { outline: none; border-color: var(--c-ruby); background: var(--c-white); box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1); }
.f-row textarea { min-height: 140px; resize: vertical; }

/* ==========================================================================
   FOOTER (STRICT DATES)
   ========================================================================== */
.site-ftr { background: var(--c-obsidian); color: #d4d4d8; 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: #fff; margin-bottom: 15px; display: block; letter-spacing: -1px; }
.f-logo span { color: var(--c-ruby); }
.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: #d4d4d8; }
.f-links a:hover { color: var(--c-ruby); padding-left: 5px; }
.f-copy { border-top: 1px solid var(--c-obsidian-light); 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-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-soft); border: 2px solid var(--c-obsidian); 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-ruby); font-weight: 800; text-decoration: underline; }
.ck-acts { display: flex; gap: 10px; }
.b-ck { padding: 12px 25px; border: none; border-radius: 50px; font-weight: 800; cursor: pointer; flex: 1; transition: var(--trans); font-size: 0.95rem; text-align: center; font-family: inherit; text-transform: uppercase; }
.b-ck.y { background: var(--c-obsidian); color: #fff; }
.b-ck.y:hover { background: var(--c-ruby); }
.b-ck.n { background: transparent; border: 2px solid var(--c-obsidian); color: var(--c-obsidian); }
.b-ck.n:hover { background: var(--c-obsidian); color: #fff; }
@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; } }