/* ==========================================================================
   CSS VARIABLES & GRAPHITE AMBER DESIGN (ZEYOREL.UNO)
   ========================================================================== */
:root {
    --c-graphite: #374151; /* Gray 700 */
    --c-graphite-dark: #1f2937; /* Gray 800 */
    --c-amber: #d97706; /* Amber 600 */
    --c-amber-light: #f59e0b; /* Amber 500 */
    --c-mint: #f3f4f6; /* Gray 100 - Background */
    --c-white: #ffffff;
    --c-text: #4b5563; /* Gray 600 */
    --c-dark: #111827; /* Gray 900 */
    --c-line: #e5e7eb; /* Gray 200 */

    --pad-x: clamp(15px, 5vw, 30px);
    --pad-y: clamp(70px, 9vw, 120px);
    
    --rad-sm: 6px;
    --rad-md: 16px;
    --rad-cylinder: 999px;
    
    --shadow-base: 0 10px 30px rgba(31, 41, 55, 0.1);
    --shadow-amber: 0 10px 25px rgba(217, 119, 6, 0.25);
    --trans: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

h1, h2, h3, h4 { color: var(--c-graphite-dark); font-weight: 800; line-height: 1.1; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: -0.5px; }
h1 { font-size: clamp(2.8rem, 8vw, 5.5rem); letter-spacing: -1px; line-height: 1; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); color: var(--c-amber); }
p { font-size: clamp(1.05rem, 1.5vw, 1.15rem); margin-bottom: 1.5rem; font-weight: 500; text-transform: none; }

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; border-bottom: 1px solid var(--c-line); }

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

.brand { font-size: 2rem; font-weight: 900; color: var(--c-graphite-dark); letter-spacing: 1px; text-transform: uppercase; }
.brand span { color: var(--c-amber); }

.burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.burger span { width: 30px; height: 3px; background: var(--c-graphite-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-amber); }

.mob-nav {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--c-graphite-dark); padding: 15px 20px 25px; box-shadow: 0 15px 30px rgba(0,0,0,0.2); border-top: 4px solid var(--c-amber);
}
.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; letter-spacing: 1px; }
.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: 18px 45px; 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-a { background: var(--c-amber); color: var(--c-white); box-shadow: var(--shadow-amber); }
.btn-a:hover { background: var(--c-graphite-dark); color: var(--c-white); transform: translateY(-3px); box-shadow: var(--shadow-base); }
.btn-g { background: var(--c-white); border-color: var(--c-graphite-dark); color: var(--c-graphite-dark); }
.btn-g:hover { background: var(--c-graphite-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 CYLINDER HERO & PULSE TRACK & VESSEL GAUGE
   ========================================================================== */
/* Floating Cylinder Hero */
.cyl-hero { padding: 60px 0; background: linear-gradient(135deg, var(--c-white) 0%, var(--c-mint) 100%); border-bottom: 1px solid var(--c-line); }
.cyl-img-wrap { padding: 20px; display: flex; justify-content: center; }
.cyl-img { width: 100%; max-width: 400px; aspect-ratio: 1/1.5; object-fit: cover; border-radius: var(--rad-cylinder); box-shadow: var(--shadow-base); border: 8px solid var(--c-white); }

/* Pulse Track */
.pulse-track { display: grid; grid-template-columns: 1fr; gap: 30px; position: relative; padding: 40px 0; max-width: 1000px; margin: 0 auto; }
@media (min-width: 768px) {
    .pulse-track { grid-template-columns: repeat(3, 1fr); }
    .pulse-track::before { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 2px; background: var(--c-amber); z-index: 0; border-top: 2px dashed var(--c-white); }
}
.pt-card { background: var(--c-white); padding: 40px 30px; border-radius: var(--rad-md); text-align: center; position: relative; z-index: 2; box-shadow: var(--shadow-base); border: 2px solid var(--c-line); transition: var(--trans); }
.pt-card:hover { border-color: var(--c-amber); transform: translateY(-10px); }
.pt-ico { font-size: 2.5rem; margin-bottom: 15px; display: block; }

/* Vessel Flow UI */
.vessel-ui { max-width: 800px; margin: 60px auto 0; background: var(--c-white); padding: 40px; border-radius: var(--rad-md); box-shadow: var(--shadow-base); border-top: 6px solid var(--c-graphite-dark); }
.ves-row { display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px; }
.ves-label { font-weight: 800; color: var(--c-graphite-dark); text-transform: uppercase; font-size: 0.95rem; }
.ves-pipe { width: 100%; height: 40px; border-radius: 20px; position: relative; overflow: hidden; }
.vp-stress { background: linear-gradient(90deg, #ef4444 0%, #fca5a5 100%); }
.vp-clear { background: linear-gradient(90deg, var(--c-amber) 0%, #fde68a 100%); }
.ves-pipe::after { content: 'Flujo'; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: white; font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; }
.ves-desc { font-size: 0.95rem; color: var(--c-text); margin: 0; }

/* ==========================================================================
   PROGRAM: DIAGONAL ZIG-ZAG & GRID FLIP-DOWN FAQ
   ========================================================================== */
/* Diagonal Zig-Zag Steps */
.diag-wrap { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 30px; }
.diag-step { background: var(--c-white); padding: 40px; border-radius: var(--rad-md); box-shadow: var(--shadow-base); border-left: 6px solid var(--c-graphite); position: relative; }
.ds-num { position: absolute; top: -15px; right: -15px; width: 50px; height: 50px; background: var(--c-amber); color: white; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.5rem; border-radius: 50%; box-shadow: var(--shadow-amber); }
@media (min-width: 768px) {
    .diag-step { width: 60%; transition: var(--trans); }
    .diag-step:nth-child(even) { align-self: flex-end; border-left: none; border-right: 6px solid var(--c-amber); text-align: right; }
    .diag-step:nth-child(even) .ds-num { right: auto; left: -15px; }
    .diag-step:hover { transform: scale(1.02); z-index: 10; }
}

/* Image Divider Rule (REQUIRED bg-1.jpg) */
.prog-img-divider { width: 100%; height: 350px; background: url('img/bg-1.jpg') center/cover fixed; margin: 60px 0; border-radius: var(--rad-md); box-shadow: var(--shadow-base); display: flex; align-items: center; justify-content: center; position: relative; }
.prog-img-divider::before { content: ''; position: absolute; inset: 0; background: rgba(31, 41, 55, 0.7); border-radius: inherit; }
.pid-txt { position: relative; z-index: 2; color: white; text-align: center; max-width: 700px; padding: 0 20px; }
.pid-txt h2 { color: var(--c-amber); }

/* Grid Flip-Down FAQ */
.flip-down-faq { display: flex; flex-direction: column; gap: 15px; max-width: 800px; margin: 0 auto; }
.fd-card { background: var(--c-white); border: 2px solid var(--c-line); border-radius: var(--rad-sm); overflow: hidden; cursor: pointer; transition: var(--trans); }
.fd-header { padding: 25px 30px; display: flex; justify-content: space-between; align-items: center; font-weight: 800; color: var(--c-graphite-dark); font-size: 1.15rem; }
.fd-icon { color: var(--c-amber); font-size: 1.5rem; transition: var(--trans); font-weight: 900; }
.fd-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s ease; }
.fd-body-inner { overflow: hidden; padding: 0 30px; color: var(--c-text); font-size: 1.05rem; }
.fd-card:hover { border-color: var(--c-graphite); box-shadow: var(--shadow-base); }
.fd-card:hover .fd-body { grid-template-rows: 1fr; }
.fd-card:hover .fd-body-inner { padding: 0 30px 25px; }
.fd-card:hover .fd-icon { transform: rotate(45deg); color: var(--c-graphite-dark); }

/* ==========================================================================
   MISSION: GLASS HISTORY & VERTICAL PILLARS
   ========================================================================== */
/* Glass History (REQUIRED bg.jpg as background) */
.glass-history { background: url('img/bg.jpg') center/cover fixed; padding: 100px 20px; position: relative; display: flex; align-items: center; justify-content: center; margin-bottom: 60px; }
.glass-history::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.3); }
.gh-content { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: clamp(40px, 6vw, 60px); border-radius: var(--rad-md); max-width: 900px; position: relative; z-index: 2; box-shadow: var(--shadow-base); border-top: 8px solid var(--c-amber); }

/* Vertical Pillars (Values) */
.pillars-wrap { display: flex; flex-direction: column; gap: 30px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 768px) {
    .pillars-wrap { flex-direction: row; height: 450px; }
}
.pillar { flex: 1; background: var(--c-white); border: 2px solid var(--c-line); border-radius: var(--rad-sm); padding: 40px 30px; display: flex; flex-direction: column; justify-content: center; transition: flex 0.4s ease, background 0.4s ease; box-shadow: var(--shadow-base); overflow: hidden; }
.pillar h3 { color: var(--c-graphite-dark); transition: var(--trans); border-bottom: 2px solid var(--c-amber); padding-bottom: 10px; }
@media (min-width: 768px) {
    .pillar p { opacity: 0; transition: opacity 0.3s; }
    .pillar:hover { flex: 2; background: var(--c-graphite-dark); border-color: var(--c-graphite-dark); }
    .pillar:hover h3 { color: var(--c-amber); }
    .pillar:hover p { opacity: 1; color: var(--c-mint); transition-delay: 0.2s; }
}

/* ==========================================================================
   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-graphite-dark); }
.f-row { margin-bottom: 25px; }
.f-row label { display: block; font-weight: 800; color: var(--c-graphite-dark); 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-mint); transition: var(--trans); }
.f-row input:focus, .f-row textarea:focus { outline: none; border-color: var(--c-amber); background: var(--c-white); box-shadow: inset 4px 0 0 var(--c-amber); }
.f-row textarea { min-height: 140px; resize: vertical; }

/* ==========================================================================
   FOOTER (HARDCODED COLORS)
   ========================================================================== */
.site-ftr { background-color: #111827 !important; color: #d1d5db !important; 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.5rem; font-weight: 900; color: #ffffff !important; margin-bottom: 15px; display: block; letter-spacing: -1px; text-transform: uppercase; }
.f-logo span { color: #f59e0b !important; }
.f-desc { font-size: 0.95rem; line-height: 1.7; color: #d1d5db !important; text-transform: none; font-weight: 400; }
.f-h { color: #ffffff !important; font-size: 1.1rem; font-weight: 900; 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: #d1d5db !important; text-transform: none; }
.f-links a:hover { color: #f59e0b !important; padding-left: 5px; }
.f-copy { border-top: 1px solid #374151; padding-top: 30px; text-align: center; font-size: 0.95rem; color: #9ca3af !important; }

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
#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-graphite-dark); 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-amber); font-weight: 800; text-decoration: underline; }
.ck-acts { display: flex; gap: 10px; }
.b-ck { padding: 14px 25px; border: none; border-radius: var(--rad-sm); font-weight: 900; 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-amber); color: #fff; }
.b-ck.y:hover { background: var(--c-graphite-dark); color: var(--c-white); }
.b-ck.n { background: var(--c-line); color: var(--c-graphite-dark); }
.b-ck.n:hover { background: var(--c-graphite-dark); 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; } }