/* ==========================================================================
   CSS VARIABLES & ONYX COPPER DESIGN (JAVORIH.ICU)
   ========================================================================== */
:root {
    --c-onyx: #18181b; /* Zinc 900 - Almost Black */
    --c-onyx-light: #27272a; /* Zinc 800 */
    --c-copper: #b45309; /* Amber 700 - Copper/Bronze */
    --c-copper-light: #d97706; /* Amber 600 */
    --c-white: #ffffff;
    --c-bg: #fafafa; /* Neutral 50 */
    --c-text: #52525b; /* Zinc 600 */
    --c-line: #e4e4e7; /* Zinc 200 */

    --pad-x: clamp(15px, 5vw, 30px);
    --pad-y: clamp(60px, 8vw, 100px);
    
    --rad-sm: 4px;
    --rad-md: 12px;
    
    --shadow-base: 0 10px 30px rgba(24, 24, 27, 0.1);
    --shadow-copper: 0 10px 25px rgba(180, 83, 9, 0.3);
    --trans: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

h1, h2, h3, h4 { color: var(--c-onyx); font-weight: 800; line-height: 1.15; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -1px; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); color: var(--c-copper); }
p { font-size: clamp(1rem, 1.5vw, 1.1rem); margin-bottom: 1.5rem; font-weight: 400; text-transform: none; letter-spacing: normal; font-family: 'Inter', sans-serif; }

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-onyx); position: sticky; top: 0; z-index: 1000; border-bottom: 3px solid var(--c-copper); }

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

.brand { font-size: 2rem; font-weight: 900; color: var(--c-white); letter-spacing: 2px; text-transform: uppercase; }
.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-white); transition: var(--trans); border-radius: 2px; }
#menu-tog { display: none; }

.desk-nav { display: none; }
.desk-nav ul { display: flex; gap: 30px; align-items: center; }
.desk-nav a { font-weight: 600; color: var(--c-line); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; }
.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-onyx); padding: 15px 20px 25px; box-shadow: 0 15px 30px rgba(0,0,0,0.5); border-top: 1px solid rgba(255,255,255,0.1);
}
.mob-nav a { display: block; font-weight: 600; color: var(--c-white); padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.05); 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: 1rem; border-radius: 2px; cursor: pointer; transition: var(--trans); border: 2px solid transparent; text-transform: uppercase; letter-spacing: 1px; }
.btn-c { background: var(--c-copper); color: var(--c-white); box-shadow: var(--shadow-copper); }
.btn-c:hover { background: var(--c-white); color: var(--c-onyx); transform: translateY(-3px); box-shadow: var(--shadow-base); }
.btn-o { background: transparent; border-color: var(--c-onyx); color: var(--c-onyx); }
.btn-o:hover { background: var(--c-onyx); 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: RAZOR EDGE SPLIT HERO & BARBER POLE BANNER
   ========================================================================== */
/* Razor Edge Split Hero */
.razor-hero { position: relative; background: var(--c-onyx); color: white; overflow: hidden; display: flex; flex-direction: column; }
.rz-txt { padding: 80px var(--pad-x); position: relative; z-index: 2; }
.rz-txt h1, .rz-txt p { color: var(--c-white); }
.rz-img { width: 100%; height: 400px; position: relative; z-index: 1; }
.rz-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }

@media (min-width: 992px) {
    .razor-hero { flex-direction: row; align-items: center; min-height: 85vh; }
    .rz-txt { width: 55%; padding: 0 5% 0 calc((100vw - 1200px)/2 + 30px); }
    .rz-img { width: 55%; height: 100%; position: absolute; right: 0; top: 0; clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%); }
}

/* Feature Cards */
.feat-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: -40px; position: relative; z-index: 10; padding: 0 var(--pad-x); max-width: 1200px; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .feat-grid { grid-template-columns: repeat(3, 1fr); margin-top: -60px; } }
.feat-card { background: var(--c-white); padding: 40px 30px; border-top: 6px solid var(--c-copper); box-shadow: var(--shadow-base); text-align: center; transition: var(--trans); border-radius: var(--rad-sm); }
.feat-card:hover { transform: translateY(-10px); border-top-color: var(--c-onyx); }
.f-ico { font-size: 2.5rem; margin-bottom: 15px; display: block; }

/* Barber Pole Banner */
.pole-banner { width: 100%; padding: 60px 20px; text-align: center; color: white; position: relative; margin: 60px 0; background: repeating-linear-gradient( 45deg, var(--c-onyx), var(--c-onyx) 20px, var(--c-onyx-light) 20px, var(--c-onyx-light) 40px ); box-shadow: inset 0 0 30px rgba(0,0,0,0.8); border-top: 4px solid var(--c-copper); border-bottom: 4px solid var(--c-copper); }
.pb-content { position: relative; z-index: 2; background: rgba(24, 24, 27, 0.9); padding: 40px; max-width: 700px; margin: 0 auto; border: 2px solid var(--c-copper); }
.pb-content h2 { color: var(--c-white); margin-bottom: 10px; }
.pb-content p { color: var(--c-line); margin-bottom: 0; }

/* ==========================================================================
   PROGRAM: CLASSIC MENU BOARD & WALL MIRROR
   ========================================================================== */
/* Classic Menu Board */
.menu-board-wrap { background: var(--c-white); padding: clamp(30px, 5vw, 60px); border-radius: var(--rad-sm); box-shadow: var(--shadow-base); border: 12px solid var(--c-onyx); outline: 2px solid var(--c-copper); outline-offset: -8px; }
.menu-category { margin-bottom: 40px; }
.menu-category:last-child { margin-bottom: 0; }
.mc-title { text-align: center; border-bottom: 2px solid var(--c-copper); padding-bottom: 10px; margin-bottom: 30px; color: var(--c-onyx); }
.menu-item { display: flex; align-items: baseline; margin-bottom: 15px; font-family: 'Oswald', sans-serif; font-size: 1.15rem; color: var(--c-onyx); font-weight: 600; }
.mi-name { white-space: nowrap; }
.mi-dots { flex-grow: 1; border-bottom: 2px dotted var(--c-line); margin: 0 15px; position: relative; top: -5px; }
.mi-price { white-space: nowrap; color: var(--c-copper); font-weight: 800; }

/* Wall Mirror Image (REQUIRED bg-1.jpg) */
.wall-mirror { width: 100%; max-width: 400px; margin: 0 auto; padding: 10px; background: var(--c-copper); border-radius: 200px 200px 10px 10px; box-shadow: 0 20px 40px rgba(0,0,0,0.3); position: relative; }
.wall-mirror::before { content: ''; position: absolute; top: -30px; left: 50%; transform: translateX(-50%); width: 60px; height: 30px; border: 4px solid var(--c-copper); border-bottom: none; border-radius: 30px 30px 0 0; } /* Hanger loop */
.wm-inner { width: 100%; aspect-ratio: 2/3; border-radius: 190px 190px 5px 5px; overflow: hidden; position: relative; border: 4px solid var(--c-onyx); }
.wm-inner img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }

/* Hover Detail Ribbons (FAQ Alternative) */
.ribbon-faq { display: flex; flex-direction: column; gap: 20px; max-width: 800px; margin: 0 auto; }
.r-ribbon { background: var(--c-onyx); color: white; padding: 20px 30px; position: relative; overflow: hidden; cursor: pointer; transition: var(--trans); border-left: 6px solid var(--c-copper); }
.r-title { font-size: 1.2rem; font-weight: 800; text-transform: uppercase; margin: 0; transition: var(--trans); display: flex; justify-content: space-between; align-items: center; }
.r-title::after { content: '+'; color: var(--c-copper); font-size: 1.5rem; }
.r-content { max-height: 0; opacity: 0; transition: var(--trans); font-family: 'Inter', sans-serif; font-size: 1rem; color: var(--c-line); }
.r-ribbon:hover { padding-bottom: 30px; background: var(--c-onyx-light); }
.r-ribbon:hover .r-title { margin-bottom: 15px; color: var(--c-copper); }
.r-ribbon:hover .r-title::after { transform: rotate(45deg); }
.r-ribbon:hover .r-content { max-height: 150px; opacity: 1; }

/* ==========================================================================
   MISSION: VERTICAL ERA TRACK & VINTAGE POLAROID STACK
   ========================================================================== */
/* Vertical Era Track */
.era-track { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 50px; position: relative; padding-left: 40px; }
.era-track::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: var(--c-copper); }
.era-step { position: relative; background: var(--c-white); padding: 40px; box-shadow: var(--shadow-base); border: 1px solid var(--c-line); }
.era-step::before { content: ''; position: absolute; top: 40px; left: -46px; width: 20px; height: 20px; background: var(--c-onyx); border-radius: 50%; border: 4px solid var(--c-white); box-shadow: 0 0 0 2px var(--c-copper); }
.es-year { font-size: 2rem; font-weight: 900; color: var(--c-copper); margin-bottom: 15px; line-height: 1; }

/* Vintage Polaroid Stack (REQUIRED bg.jpg) */
.polaroid-stack { position: relative; width: 100%; max-width: 450px; margin: 0 auto; padding-bottom: 40px; }
.p-card { background: var(--c-white); padding: 15px 15px 50px 15px; box-shadow: 0 15px 30px rgba(0,0,0,0.15); border: 1px solid var(--c-line); position: absolute; top: 0; left: 0; width: 100%; }
.p-card.c1 { transform: rotate(-5deg); z-index: 1; opacity: 0.8; }
.p-card.c2 { transform: rotate(3deg); z-index: 2; opacity: 0.9; }
.p-card.c3 { transform: rotate(-2deg); z-index: 3; position: relative; } /* The top one holding the image */
.p-card img { width: 100%; height: 350px; object-fit: cover; border-radius: 0; filter: sepia(0.3) contrast(1.1); }
.p-caption { position: absolute; bottom: 15px; width: 100%; text-align: center; font-family: 'Inter', sans-serif; font-style: italic; color: var(--c-text); left: 0; }

/* Stamp Badges (Values) */
.stamp-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 60px; }
.stamp-card { width: 260px; background: var(--c-white); padding: 40px 20px; text-align: center; position: relative; box-shadow: var(--shadow-base); }
/* Perforated stamp edges using radial-gradient */
.stamp-card::before { content: ''; position: absolute; inset: -6px; background: radial-gradient(circle at 6px 6px, transparent 6px, var(--c-white) 7px); background-size: 16px 16px; background-position: -6px -6px; z-index: -1; filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1)); }
.stamp-card h3 { color: var(--c-onyx); margin-bottom: 10px; font-size: 1.4rem; }
.stamp-card p { font-size: 0.95rem; font-family: 'Inter', sans-serif; margin: 0; color: black;}

/* ==========================================================================
   FORM (4 FIELDS - BOOKING ADAPTED)
   ========================================================================== */
.frm-ui { background: var(--c-white); padding: clamp(30px, 5vw, 60px); border-radius: var(--rad-sm); box-shadow: var(--shadow-base); max-width: 650px; margin: 0 auto; border-top: 8px solid var(--c-copper); }
.f-row { margin-bottom: 20px; }
.f-row label { display: block; font-weight: 800; color: var(--c-onyx); margin-bottom: 8px; font-size: 0.95rem; text-transform: uppercase; font-family: 'Inter', sans-serif; }
.f-row input, .f-row select { 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 select:focus { outline: none; border-color: var(--c-copper); background: var(--c-white); box-shadow: inset 4px 0 0 var(--c-copper); }

/* ==========================================================================
   FOOTER (HARDCODED COLORS & !IMPORTANT)
   ========================================================================== */
.site-ftr { background-color: #18181b !important; color: #d4d4d8 !important; padding: 70px 0 30px; margin-top: 80px; border-top: 4px solid #b45309 !important; }
.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: #ffffff !important; margin-bottom: 15px; display: block; letter-spacing: 2px; text-transform: uppercase; font-family: 'Oswald', sans-serif; }
.f-logo span { color: #b45309 !important; } /* Copper */
.f-desc { font-size: 0.95rem; line-height: 1.6; color: #d4d4d8 !important; font-family: 'Inter', sans-serif; font-weight: 400; text-transform: none; }
.f-h { color: #ffffff !important; font-size: 1.1rem; font-weight: 800; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; font-family: 'Oswald', sans-serif; }
.f-links li { margin-bottom: 10px; }
.f-links a { font-weight: 500; transition: var(--trans); color: #d4d4d8 !important; font-family: 'Inter', sans-serif; text-transform: none; }
.f-links a:hover { color: #d97706 !important; padding-left: 5px; } /* Copper Light */
.f-copy { border-top: 1px solid #3f3f46 !important; padding-top: 25px; text-align: center; font-size: 0.9rem; color: #a1a1aa !important; font-family: 'Inter', sans-serif; }

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
#ck-bnnr { position: fixed; bottom: 20px; left: 20px; right: 20px; background: var(--c-white); padding: 25px 30px; border-radius: var(--rad-sm); 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-onyx); max-width: 800px; margin: 0 auto; font-family: 'Inter', sans-serif; }
#ck-bnnr.show { transform: translateY(0); }
.ck-txt { margin: 0; font-size: 0.95rem; line-height: 1.5; color: var(--c-text); font-weight: 400; }
.ck-txt a { color: var(--c-copper); font-weight: 800; text-decoration: underline; }
.ck-acts { display: flex; gap: 10px; }
.b-ck { padding: 12px 20px; border: 2px solid transparent; border-radius: 2px; font-weight: 800; cursor: pointer; flex: 1; transition: var(--trans); font-size: 0.9rem; text-align: center; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.5px; }
.b-ck.y { background: var(--c-onyx); color: #fff; }
.b-ck.y:hover { background: var(--c-copper); }
.b-ck.n { background: var(--c-white); color: var(--c-onyx); border-color: var(--c-onyx); }
.b-ck.n:hover { background: var(--c-bg); }
@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; } }