/* ============================================
   MIO | Изделия из арт-бетона
   Color scheme inspired by miobeton.ru — premium natural tones
   Dark warm #111110, refined gold #B8860B, off-white #F8F7F4
   Fonts: Playfair Display + Inter
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  --c-bg: #F8F7F4;
  --c-bg-dark: #0A0A0A;
  --c-surface: #FFFFFF;
  --c-primary: #111110;
  --c-secondary: #3F3A36;
  --c-gold: #B8860B;
  --c-gold-light: #C9A24A;
  --c-text: #0C0A09;
  --c-text-muted: #6B6762;
  --c-border: #D1CDC6;
  --c-dark-surface: #171717;
  --c-dark-card: #1E1E1E;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max-w: 1280px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.12);
  --shadow-gold: 0 8px 32px rgba(184,134,11,0.22);
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Navbar height compensation for fixed header */
  --nav-height: 82px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body); color: var(--c-text);
  background: var(--c-bg); line-height: 1.7;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: all 0.8s var(--transition); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(60px); transition: all 0.8s var(--transition); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: all 0.8s var(--transition); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.4rem; }
.section-label {
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 3px; color: var(--c-gold);
  margin-bottom: 1rem; display: block;
}

/* ============================================
   NAVBAR — Glassmorphism
   ============================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.25rem 0;
  background: rgba(248,247,244,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all var(--transition);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.navbar.scrolled {
  padding: 0.75rem 0;
  background: rgba(248,247,244,0.98);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.navbar-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.navbar-logo img { height: 48px; transition: transform 0.3s; }
.navbar.scrolled .navbar-logo img { transform: scale(0.9); }
.navbar-links { display: flex; align-items: center; gap: 2.5rem; }
.navbar-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--c-primary);
  position: relative; padding: 0.25rem 0;
  transition: color 0.2s;
}
.navbar-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1.5px; background: var(--c-gold);
  transition: width 0.3s ease;
}
.navbar-links a:hover::after, .navbar-links a.active::after { width: 100%; }
.navbar-links a:hover { color: var(--c-gold); }
.navbar-cta {
  padding: 0.6rem 1.5rem; background: var(--c-primary); color: #fff;
  border-radius: 8px; font-size: 0.85rem; font-weight: 600;
  transition: all 0.3s; letter-spacing: 0.5px;
}
.navbar-cta:hover {
  background: var(--c-gold); color: #fff;
  box-shadow: var(--shadow-gold); transform: translateY(-1px);
}
.navbar-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative; z-index: 1010;
}
.bar, .bar::before, .bar::after {
  display: block; width: 100%; height: 1.5px;
  background: var(--c-primary); transition: all 0.3s;
  position: absolute; left: 0;
}
.bar { top: 50%; transform: translateY(-50%); }
.bar::before { content: ''; top: -7px; }
.bar::after { content: ''; bottom: -7px; }
.navbar-toggle.active .bar { background: transparent; }
.navbar-toggle.active .bar::before { top: 0; transform: rotate(45deg); }
.navbar-toggle.active .bar::after { bottom: 0; transform: rotate(-45deg); }

/* Hero mode — starts fully transparent for dramatic hero background */
.navbar.hero-mode {
  background: transparent;
  box-shadow: none;
}
.navbar.hero-mode .navbar-links a { color: rgba(255,255,255,0.85); }
.navbar.hero-mode .navbar-links a:hover { color: #fff; }
.navbar.hero-mode .navbar-links a::after { background: var(--c-gold); }
.navbar.hero-mode .navbar-cta { background: var(--c-gold); color: #fff; }
.navbar.hero-mode .bar, .navbar.hero-mode .bar::before, .navbar.hero-mode .bar::after { background: #fff; }

.navbar.hero-mode.scrolled {
  background: rgba(248,247,244,0.98);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.navbar.hero-mode.scrolled .navbar-links a { color: var(--c-primary); }
.navbar.hero-mode.scrolled .navbar-cta { background: var(--c-primary); }
.navbar.hero-mode.scrolled .bar, .navbar.hero-mode.scrolled .bar::before, .navbar.hero-mode.scrolled .bar::after { background: var(--c-primary); }

/* Mobile menu extras hidden on desktop */
.nav-mobile-logo,
.nav-mobile-contacts {
  display: none;
}

/* ============================================
   HERO — Full-screen with parallax
   ============================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; background: var(--c-primary);
}

/* Video background for hero section */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  background: #0A0A0A;
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  /* Stronger gradient for video backgrounds to ensure excellent text readability */
  background: linear-gradient(
    135deg,
    rgba(10,10,10,0.88) 0%,
    rgba(10,10,10,0.72) 35%,
    rgba(28,25,23,0.55) 65%,
    rgba(28,25,23,0.45) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; padding: calc(var(--nav-height) + 1rem) 2rem 0;
  width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1.15rem; 
  border-radius: 9999px;
  background: rgba(184,134,11,0.1); 
  border: 1px solid rgba(184,134,11,0.4);
  color: var(--c-gold); 
  font-size: 0.72rem; 
  font-weight: 600;
  letter-spacing: 2px; 
  text-transform: uppercase;
  margin-bottom: 2.25rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-badge .dot { 
  width: 5px; 
  height: 5px; 
  border-radius: 50%; 
  background: var(--c-gold); 
  animation: pulse 2s infinite; 
  flex-shrink: 0;
}
@keyframes pulse { 
  0%, 100% { opacity: 1; } 
  50% { opacity: 0.35; } 
}
.hero h1 { color: #fff; margin-bottom: 1.5rem; max-width: 700px; }
.hero h1 span { color: var(--c-gold); }
.hero-desc {
  color: rgba(255,255,255,0.7); font-size: 1.15rem;
  max-width: 520px; margin-bottom: 2.5rem; line-height: 1.8;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 3rem; margin-top: 4rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-num {
  font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700;
  color: var(--c-gold); line-height: 1;
}
.hero-stat-label { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-top: 0.5rem; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2rem; border-radius: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: none;
  transition: all 0.3s var(--transition); letter-spacing: 0.3px;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--c-gold); color: #fff; box-shadow: var(--shadow-gold); }
.btn-gold:hover { background: var(--c-gold-light); box-shadow: 0 12px 40px rgba(184,134,11,0.3); }
.btn-dark { background: var(--c-primary); color: #fff; }
.btn-dark:hover { background: #292524; }
.btn-outline {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--c-gold); color: var(--c-gold); }
.btn-outline-dark {
  background: transparent; color: var(--c-primary);
  border: 1.5px solid var(--c-border);
}
.btn-outline-dark:hover { border-color: var(--c-gold); color: var(--c-gold); }
.btn-link {
  background: none; border: none; padding: 0;
  font-weight: 600; color: var(--c-gold); cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: gap 0.3s;
}
.btn-link:hover { gap: 0.75rem; }
.btn-link svg { width: 20px; height: 20px; transition: transform 0.3s; }
.btn-link:hover svg { transform: translateX(4px); }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 7rem 0; }
.section-dark { background: var(--c-primary); color: #fff; }
.section-dark .section-label { color: var(--c-gold); }
.section-dark h2 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.65); }
.section-heading { margin-bottom: 1rem; }
.section-subtitle { color: var(--c-text-muted); font-size: 1.1rem; max-width: 600px; }

/* ============================================
   PRODUCT CARDS — Premium
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}
.product-card {
  background: var(--c-surface); border-radius: var(--radius-lg);
  overflow: hidden; position: relative;
  transition: all 0.5s var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.1);
}
.product-card-img {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
}
.product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--transition);
}
.product-card:hover .product-card-img img { transform: scale(1.08); }
.product-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  opacity: 0; transition: opacity 0.4s;
  display: flex; align-items: flex-end; padding: 1.5rem;
}
.product-card:hover .product-card-overlay { opacity: 1; }
.product-card-overlay .btn { font-size: 0.8rem; padding: 0.5rem 1rem; }
.product-card-body { padding: 1.5rem; }
.product-card-cat {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--c-gold); margin-bottom: 0.5rem;
}
.product-card-title {
  font-family: var(--font-heading); font-size: 1.15rem;
  font-weight: 600; color: var(--c-primary); line-height: 1.4;
  margin-bottom: 0.5rem;
}
.product-card-price {
  font-size: 1.1rem; font-weight: 700; color: var(--c-primary);
}

/* ============================================
   ADVANTAGES — Bento grid
   ============================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
}
.bento-card {
  background: var(--c-surface); border-radius: var(--radius-lg);
  padding: 2.5rem; position: relative; overflow: hidden;
  transition: all 0.4s var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.bento-card.wide { grid-column: span 2; }
.bento-card.dark { background: var(--c-primary); color: #fff; }
.bento-card.dark p { color: rgba(255,255,255,0.65); }
.bento-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(184,134,11,0.18); display: flex;
  align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
}
.bento-icon img { width: 36px; height: 36px; }
.bento-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.bento-card p { font-size: 0.95rem; color: var(--c-text-muted); }
.bento-big-num {
  font-family: var(--font-heading); font-size: 3.5rem;
  font-weight: 700; color: var(--c-gold); line-height: 1;
}

/* ============================================
   PROCESS / HOW WE WORK
   ============================================ */
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; counter-reset: step;
}
.process-step {
  text-align: center; position: relative;
  padding: 2rem 1rem;
}
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-heading); font-size: 2.8rem;
  font-weight: 700; color: rgba(184, 134, 11, 0.12);
  display: block; margin-bottom: 0.75rem; line-height: 1;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--c-primary); }
.process-step p { font-size: 0.9rem; color: var(--c-text-muted); line-height: 1.5; }
.process-line {
  position: absolute; top: 3rem; right: -1rem;
  width: calc(100% - 2rem); height: 1px;
  background: linear-gradient(90deg, var(--c-gold), transparent);
}
.process-step:last-child .process-line { display: none; }

/* ============================================
   GALLERY / PORTFOLIO
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative; cursor: pointer;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--transition);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 50%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem; opacity: 0; transition: opacity 0.4s;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay h3 { color: #fff; font-size: 1.1rem; }
.gallery-item-overlay p { color: rgba(255,255,255,0.7); font-size: 0.85rem; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-track {
  display: flex; gap: 2rem; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 1rem;
  -ms-overflow-style: none; scrollbar-width: none;
}
.testimonials-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  min-width: 380px; scroll-snap-align: start;
  background: var(--c-surface); border-radius: var(--radius-lg);
  padding: 2.5rem; position: relative;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.4s var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.testimonial-stars { color: var(--c-gold); margin-bottom: 1rem; font-size: 1.1rem; }
.testimonial-text {
  font-size: 1rem; line-height: 1.8; color: var(--c-secondary);
  margin-bottom: 1.5rem; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--c-gold); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
}
.testimonial-name { font-weight: 600; font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; color: var(--c-text-muted); }

/* ============================================
   FAQ / ACCORDION
   ============================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
}
.faq-question {
  width: 100%; padding: 1.5rem 0;
  background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-heading); font-size: 1.15rem;
  font-weight: 600; color: var(--c-primary);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--c-gold); }
.faq-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(184,134,11,0.12); display: flex;
  align-items: center; justify-content: center;
  transition: transform 0.3s;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--transition), padding 0.4s;
}
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 1.5rem; }
.faq-answer p { color: var(--c-text-muted); line-height: 1.8; font-size: 0.95rem; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--c-primary); border-radius: var(--radius-lg);
  padding: 4rem; text-align: center; position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,134,11,0.15), transparent 70%);
}
.cta-banner h2 { color: #fff; margin-bottom: 1rem; position: relative; z-index: 1; }
.cta-banner p { color: rgba(255,255,255,0.65); margin-bottom: 2rem; position: relative; z-index: 1; }
.cta-banner .btn { position: relative; z-index: 1; }

/* ============================================
   FEEDBACK / CONTACT
   ============================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start;
}
.contact-form {
  background: var(--c-surface); padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block; margin-bottom: 0.5rem;
  font-weight: 500; font-size: 0.85rem; color: var(--c-secondary);
}
.form-input {
  width: 100%; padding: 1rem 1.25rem;
  border: 1.5px solid var(--c-border); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem;
  background: var(--c-bg); color: var(--c-text);
  transition: all 0.3s;
}
.form-input:focus {
  outline: none; border-color: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(184,134,11,0.12);
}
.form-input::placeholder { color: var(--c-text-muted); }
textarea.form-input { resize: vertical; min-height: 120px; }
.form-success {
  padding: 1.5rem; background: rgba(184,134,11,0.08);
  border: 1px solid rgba(184,134,11,0.18);
  border-radius: var(--radius); color: var(--c-gold);
  font-weight: 500; text-align: center;
}

/* Contact info */
.contact-info-block { margin-bottom: 2rem; }
.contact-label {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; color: var(--c-gold); margin-bottom: 0.5rem;
}
.contact-value { font-size: 1.1rem; color: var(--c-primary); }
.contact-value a { color: var(--c-primary); transition: color 0.2s; }
.contact-value a:hover { color: var(--c-gold); }
.social-row { display: flex; gap: 1rem; margin-top: 2rem; }
.social-btn {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--c-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--transition);
}
.social-btn:hover {
  background: var(--c-gold); transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

/* ============================================
   FOOTER — Dark Premium
   ============================================ */
.footer {
  background: var(--c-bg-dark); color: rgba(255,255,255,0.5);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 320px; margin-top: 1rem; }
.footer-col h4 {
  color: #fff; font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
}
.footer-col a {
  display: block; color: rgba(255,255,255,0.5);
  font-size: 0.9rem; margin-bottom: 0.75rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--c-gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem; display: flex;
  justify-content: space-between; align-items: center;
  font-size: 0.8rem;
}
.footer-bottom a { color: var(--c-gold); transition: opacity 0.2s; }
.footer-bottom a:hover { opacity: 0.7; }

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-hero {
  margin-top: 0; padding: calc(var(--nav-height) + 2rem) 0 4rem;
  background: var(--c-primary); color: #fff;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -30%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,134,11,0.12), transparent 70%);
}
.page-hero .section-label { color: var(--c-gold); }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 1.1rem; max-width: 600px; }

/* Catalog filter */
.filter-bar {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.6rem 1.5rem; border-radius: 100px;
  border: 1.5px solid var(--c-border); background: var(--c-surface);
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: all 0.3s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--c-primary); color: #fff; border-color: var(--c-primary);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--c-primary); color: #fff;
  border: none; cursor: pointer; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all 0.3s var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover {
  background: var(--c-gold); transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.wide { grid-column: span 2; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-line { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall { grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Ensure the top navbar bar has background on mobile for better visibility */
  .navbar {
    background: rgba(248,247,244,0.98);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
  }

  .navbar-links {
    position: fixed; top: 0; right: -100%;
    width: 85%; max-width: 360px; height: 100vh;
    flex-direction: column; 
    background: #FFFFFF;
    padding: 1.5rem 2.5rem 2rem; /* reduced top padding since logo is inside now */
    box-shadow: -12px 0 60px rgba(0,0,0,0.22);
    border-left: 1px solid var(--c-border);
    transition: right 0.4s var(--transition);
  }
  .navbar-links.active { right: 0; }

  /* Force dark text and icons in mobile menu so it doesn't blend with background */
  .navbar-links.active a {
    color: var(--c-primary) !important;
  }
  .navbar-links.active a:hover {
    color: var(--c-gold) !important;
  }

  .navbar-toggle { display: block; }
  .navbar-cta { display: none; }

  /* === Enhanced mobile menu === */
  .nav-mobile-logo {
    display: block;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--c-border);
    text-align: left;
  }
  .nav-mobile-logo img {
    height: 28px;
  }

  .nav-mobile-contacts {
    display: block;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--c-border);
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .contacts-title {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--c-gold);
    margin-bottom: 0.5rem;
  }

  .contact-phone {
    display: block;
    font-weight: 600;
    color: var(--c-primary);
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
  }

  .contact-address {
    display: block;
    color: var(--c-text-muted);
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }

  .mobile-socials {
    display: flex;
    gap: 1.25rem;
    margin-top: 0.5rem;
  }
  .mobile-socials a {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--c-primary);
  }
  .mobile-socials a:hover {
    color: var(--c-gold);
  }

  /* Make hamburger / X dark when mobile menu is open (overrides hero-mode white) */
  .navbar-toggle.active .bar,
  .navbar-toggle.active .bar::before,
  .navbar-toggle.active .bar::after {
    background: var(--c-primary) !important;
  }

  /* Force dark hamburger icon on mobile (the top bar now has light bg) */
  .navbar .bar,
  .navbar .bar::before,
  .navbar .bar::after {
    background: var(--c-primary) !important;
  }


  .hero h1 { font-size: 2.5rem; }
  .hero-stats { gap: 2rem; flex-wrap: wrap; }
  .hero-stat-num { font-size: 2rem; }
  .products-grid { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.wide { grid-column: span 1; }
  .process-steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .testimonial-card { min-width: 300px; }
  .cta-banner { padding: 3rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .section { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
}

/* ============================================
   UTILITY ANIMATIONS
   ============================================ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-float { animation: float 6s ease-in-out infinite; }
