/* ============================================================
   NOVA ENERGY FZE - Main Stylesheet
   Industrial · Bold · Professional
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --red:        #c0392b;
  --red-dark:   #962d22;
  --red-light:  #e74c3c;
  --gold:       #f39c12;
  --gold-light: #f1c40f;
  --dark:       #1a1a1a;
  --dark-2:     #2c2c2c;
  --dark-3:     #3d3d3d;
  --mid:        #555555;
  --light:      #f8f8f8;
  --white:      #ffffff;
  --border:     #e0e0e0;
  --text:       #333333;
  --text-muted: #777777;

  --ff-display: 'Barlow Condensed', sans-serif;
  --ff-body:    'Barlow', sans-serif;

  --nav-h:      80px;
  --radius:     4px;
  --radius-lg:  8px;
  --shadow:     0 2px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.18);

  --transition: 0.25s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--ff-body); color: var(--text); background: var(--white); line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── Container ─────────────────────────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }

/* ── Typography ────────────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: var(--ff-display); font-weight: 800; line-height: 1.1; color: var(--dark); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }
.lead { font-size: 1.15rem; color: var(--mid); }
.text-muted { color: var(--text-muted); }
.text-red { color: var(--red); }
.text-upper { text-transform: uppercase; letter-spacing: 0.08em; }

/* ── Section Utility ───────────────────────────────────────── */
.section { padding: 80px 0; }
.section--dark { background: var(--dark); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--grey { background: var(--light); }
.section--red  { background: var(--red); color: var(--white); }
.section--red h2 { color: var(--white); }

.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__label { display: inline-block; font-family: var(--ff-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); border-left: 3px solid var(--red); padding-left: 10px; margin-bottom: 12px; }
.section__title { margin-bottom: 16px; }
.section__desc { color: var(--text-muted); font-size: 1.05rem; }
.section--dark .section__desc { color: rgba(255,255,255,.65); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; font-family: var(--ff-display); font-size: 1rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-radius: var(--radius); transition: all var(--transition); cursor: pointer; border: 2px solid transparent; }
.btn--primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(192,57,43,.35); }
.btn--outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--red); }
.btn--outline-red { background: transparent; color: var(--red); border-color: var(--red); }
.btn--outline-red:hover { background: var(--red); color: var(--white); }
.btn--gold { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.btn--gold:hover { background: #e67e22; border-color: #e67e22; color: var(--white); }
.btn--sm { padding: 10px 22px; font-size: 0.85rem; }
.btn--lg { padding: 18px 48px; font-size: 1.1rem; }

/* ── Navbar ────────────────────────────────────────────────── */
.navbar { position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-h); z-index: 1000; background: rgba(26,26,26,0.97); backdrop-filter: blur(10px); border-bottom: 2px solid var(--red); transition: background var(--transition); }
.navbar.scrolled { background: var(--dark); box-shadow: var(--shadow); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.navbar__brand { flex-shrink: 0; }
.navbar__menu { display: flex; align-items: center; gap: 4px; }
.navbar__link { font-family: var(--ff-display); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,.85); padding: 8px 14px; border-radius: var(--radius); transition: color var(--transition), background var(--transition); }
.navbar__link:hover, .navbar__link.active { color: var(--white); background: rgba(255,255,255,.08); }
.navbar__link--cta { background: var(--red); color: var(--white) !important; padding: 10px 20px; }
.navbar__link--cta:hover { background: var(--red-dark); }
.navbar__cart { position: relative; }
.cart-badge { position: absolute; top: -6px; right: -6px; background: var(--gold); color: var(--dark); font-size: 0.65rem; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.navbar__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.navbar__toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }

/* Dropdown */
.navbar__dropdown { position: relative; }
.navbar__submenu { display: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 200px; background: var(--dark); border-top: 2px solid var(--red); box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius) var(--radius); padding: 8px 0; z-index: 200; }
.navbar__dropdown:hover .navbar__submenu { display: block; }
.navbar__submenu li a { display: block; padding: 10px 20px; color: rgba(255,255,255,.8); font-size: 0.9rem; font-family: var(--ff-body); transition: all var(--transition); }
.navbar__submenu li a:hover { background: rgba(255,255,255,.06); color: var(--white); padding-left: 28px; }
.caret { font-size: 0.7em; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; padding-top: var(--nav-h); }
.hero--short { min-height: 55vh; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(26,26,26,.80) 0%, rgba(192,57,43,.55) 100%); z-index: 1; }
.hero__content { position: relative; z-index: 2; color: var(--white); max-width: 760px; padding: 60px 0; }
.hero__label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ff-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.hero__label::before { content: ''; width: 30px; height: 2px; background: var(--gold); }
.hero__title { font-size: clamp(2.8rem, 6vw, 5rem); line-height: 0.95; color: var(--white); margin-bottom: 24px; text-transform: uppercase; }
.hero__title span { color: var(--red-light); }
.hero__subtitle { font-size: clamp(1rem, 1.5vw, 1.2rem); color: rgba(255,255,255,.8); max-width: 560px; margin-bottom: 40px; line-height: 1.7; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.5); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.hero__scroll-dot { width: 2px; height: 40px; background: rgba(255,255,255,.3); border-radius: 2px; overflow: hidden; }
.hero__scroll-dot::after { content: ''; display: block; width: 100%; height: 40%; background: var(--white); animation: scrollDot 2s ease infinite; }
@keyframes scrollDot { 0%{transform:translateY(-100%)} 100%{transform:translateY(300%)} }

/* ── Stats Bar ─────────────────────────────────────────────── */
.stats-bar { background: var(--red); padding: 0; }
.stats-bar__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-bar__item { padding: 32px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,.15); }
.stats-bar__item:last-child { border-right: none; }
.stats-bar__num { font-family: var(--ff-display); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 900; color: var(--white); line-height: 1; }
.stats-bar__label { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: 6px; }

/* ── About Preview ─────────────────────────────────────────── */
.about-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-preview__img-wrap { position: relative; }
.about-preview__img-main { width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius-lg); }
.about-preview__img-badge { position: absolute; bottom: -24px; right: -24px; background: var(--red); color: var(--white); padding: 24px; border-radius: var(--radius-lg); text-align: center; }
.about-preview__img-badge .num { font-family: var(--ff-display); font-size: 2.8rem; font-weight: 900; line-height: 1; }
.about-preview__img-badge .lbl { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; }
.about-preview__text .section__label { text-align: left; }
.about-preview__list { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.about-preview__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; }
.about-preview__list li::before { content: ''; width: 6px; height: 6px; background: var(--red); border-radius: 50%; flex-shrink: 0; margin-top: 8px; }

/* ── Product Card ──────────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); display: flex; flex-direction: column; }
.product-card:hover { border-color: var(--red); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-card__img-wrap { overflow: hidden; background: var(--light); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; padding: 20px; }
.product-card__img { max-height: 200px; object-fit: contain; transition: transform 0.4s ease; }
.product-card:hover .product-card__img { transform: scale(1.05); }
.product-card__body { padding: 20px 24px; flex: 1; display: flex; flex-direction: column; }
.product-card__cat { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.product-card__name { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); line-height: 1.3; }
.product-card__desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.product-card__footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; gap: 10px; }
.product-card__footer .btn { flex: 1; justify-content: center; }

/* ── Category Filter ───────────────────────────────────────── */
.cat-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.cat-filter__btn { font-family: var(--ff-display); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 20px; border-radius: 40px; border: 2px solid var(--border); background: transparent; color: var(--mid); transition: all var(--transition); cursor: pointer; }
.cat-filter__btn:hover, .cat-filter__btn.active { background: var(--red); border-color: var(--red); color: var(--white); }

/* ── Features Grid ─────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px; }
.feature-card { text-align: center; padding: 32px 20px; background: var(--dark-2); border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,.06); transition: all var(--transition); }
.feature-card:hover { border-color: var(--red); transform: translateY(-4px); }
.feature-card__icon { width: 64px; height: 64px; background: var(--red); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.feature-card__icon svg { width: 28px; height: 28px; color: var(--white); }
.feature-card__title { font-family: var(--ff-display); font-size: 1rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.04em; }

/* ── Product Detail ────────────────────────────────────────── */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.product-gallery__main { aspect-ratio: 1; background: var(--light); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 12px; }
.product-gallery__main img { max-height: 420px; object-fit: contain; padding: 24px; }
.product-gallery__thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.product-gallery__thumb { width: 72px; height: 72px; background: var(--light); border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color var(--transition); }
.product-gallery__thumb.active, .product-gallery__thumb:hover { border-color: var(--red); }
.product-gallery__thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }

.product-info__cat { color: var(--red); font-family: var(--ff-display); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.product-info__name { margin-bottom: 20px; }
.product-info__desc { color: var(--text-muted); margin-bottom: 32px; }

.variants-table { width: 100%; border-collapse: collapse; margin-bottom: 32px; }
.variants-table th { background: var(--dark); color: var(--white); font-family: var(--ff-display); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 12px 16px; text-align: left; }
.variants-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.variants-table tr:last-child td { border-bottom: none; }
.variants-table tr:hover td { background: var(--light); }

.product-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 32px; }
.product-feature { display: flex; align-items: flex-start; gap: 10px; padding: 12px; background: var(--light); border-radius: var(--radius); font-size: 0.88rem; }
.product-feature__dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; flex-shrink: 0; margin-top: 5px; }

/* ── Contact ───────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info__item { display: flex; gap: 16px; margin-bottom: 32px; }
.contact-info__icon { width: 48px; height: 48px; background: var(--red); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info__icon svg { color: var(--white); width: 20px; height: 20px; }
.contact-info__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.contact-info__value { color: var(--text); }

/* ── Forms ─────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--dark); }
.form-control { width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: var(--radius); font-size: 0.95rem; font-family: var(--ff-body); color: var(--text); background: var(--white); transition: border-color var(--transition); }
.form-control:focus { outline: none; border-color: var(--red); }
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23555' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-error { font-size: 0.8rem; color: var(--red); margin-top: 4px; }
.alert { padding: 14px 20px; border-radius: var(--radius); margin-bottom: 24px; font-size: 0.95rem; }
.alert--success { background: #eafaf1; border: 1px solid #2ecc71; color: #1d8a4a; }
.alert--error   { background: #fdf0f0; border: 1px solid var(--red); color: var(--red-dark); }

/* ── CTA Section ───────────────────────────────────────────── */
.cta-section { background: var(--red); padding: 80px 0; text-align: center; }
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.8); max-width: 600px; margin: 0 auto 40px; font-size: 1.1rem; }
.cta-section .btn--outline { border-color: rgba(255,255,255,.5); }

/* ── Process Steps ─────────────────────────────────────────── */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; position: relative; }
.process-step { padding: 40px 32px; background: var(--dark-2); border-right: 1px solid rgba(255,255,255,.06); text-align: center; }
.process-step:last-child { border-right: none; }
.process-step__num { font-family: var(--ff-display); font-size: 3.5rem; font-weight: 900; color: var(--red); opacity: 0.3; line-height: 1; margin-bottom: 16px; }
.process-step__title { font-size: 1rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.process-step__desc { font-size: 0.88rem; color: rgba(255,255,255,.6); line-height: 1.6; }

/* ── Blog Cards ────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-card__img { aspect-ratio: 16/9; overflow: hidden; background: var(--light); }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card__img img { transform: scale(1.05); }
.blog-card__body { padding: 24px; }
.blog-card__cat { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.blog-card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.blog-card__excerpt { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 16px; }
.blog-card__meta { font-size: 0.8rem; color: var(--text-muted); }

/* ── Cart ──────────────────────────────────────────────────── */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { background: var(--dark); color: var(--white); font-family: var(--ff-display); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 14px 20px; text-align: left; }
.cart-table td { padding: 16px 20px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-summary { background: var(--light); padding: 32px; border-radius: var(--radius-lg); }
.cart-total { font-family: var(--ff-display); font-size: 1.8rem; font-weight: 900; color: var(--dark); }

/* ── Footer ────────────────────────────────────────────────── */
.footer { background: var(--dark); color: var(--white); }
.footer__top { padding: 64px 0 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }
.footer__col--brand .footer__tagline { color: rgba(255,255,255,.5); font-size: 0.9rem; max-width: 240px; }
.footer__social { display: flex; gap: 12px; margin-top: 20px; }
.footer__social a { width: 36px; height: 36px; background: rgba(255,255,255,.07); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); transition: all var(--transition); }
.footer__social a:hover { background: var(--red); color: var(--white); }
.footer__heading { font-family: var(--ff-display); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--red); display: inline-block; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { color: rgba(255,255,255,.55); font-size: 0.9rem; transition: color var(--transition); }
.footer__links a:hover { color: var(--red-light); }
.footer__contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; color: rgba(255,255,255,.65); font-size: 0.88rem; line-height: 1.5; }
.footer__contact svg { flex-shrink: 0; margin-top: 2px; color: var(--red); }
.footer__contact a { color: rgba(255,255,255,.65); }
.footer__contact a:hover { color: var(--white); }
.footer__bottom { padding: 20px 0; }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer__bottom-inner p { color: rgba(255,255,255,.35); font-size: 0.82rem; }

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb { padding: 14px 0; }
.breadcrumb__inner { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; }
.breadcrumb__item { color: var(--text-muted); }
.breadcrumb__item a { color: var(--text-muted); }
.breadcrumb__item a:hover { color: var(--red); }
.breadcrumb__sep { color: var(--border); }
.breadcrumb__item--active { color: var(--dark); font-weight: 600; }

/* ── Utility ───────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 48px 0; }
.page-offset { padding-top: var(--nav-h); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.mt-40 { margin-top: 40px; }
.relative-bg { position: relative; background-attachment: fixed; background-size: cover; background-position: center; }
.relative-bg__overlay { position: absolute; inset: 0; background: rgba(26,26,26,.70); }
.relative-bg__content { position: relative; z-index: 1; }

/* ── Animations ────────────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about-preview { grid-template-columns: 1fr; gap: 48px; }
  .about-preview__img-badge { right: 0; }
  .product-detail { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .navbar__menu { display: none; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: var(--nav-h); left: 0; width: 100%; background: var(--dark); padding: 16px 0; border-top: 1px solid rgba(255,255,255,.08); }
  .navbar__menu.open { display: flex; }
  .navbar__link { display: block; padding: 14px 24px; border-radius: 0; }
  .navbar__submenu { position: static; box-shadow: none; border-top: none; display: none; background: rgba(255,255,255,.04); padding: 0; }
  .navbar__dropdown.open .navbar__submenu { display: block; }
  .navbar__toggle { display: flex; }
  .hero { min-height: 75vh; }
  .hero--short { min-height: 45vh; }
  .stats-bar__inner { grid-template-columns: repeat(2,1fr); }
  .stats-bar__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .product-features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.2rem; }
  .hero__actions { flex-direction: column; }
  .stats-bar__inner { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
}

/* ── Lazy Loading ──────────────────────────────────────────── */
img[loading="lazy"] { opacity: 0; transition: opacity 0.3s ease; }
img[loading="lazy"].loaded { opacity: 1; }

/* ============================================================
   NOVA v4 — Consolidated Additional Styles
   (replaces all previous appended blocks)
   ============================================================ */

/* ── Logo (white-bg JPEG on dark navbar) ───────────────────── */
.navbar__logo {
    height: 52px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
    border-radius: 4px;
}
.footer__logo {
    height: 56px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* ── Product grid — 3 col on homepage ──────────────────────── */
.products-grid--3col { grid-template-columns: repeat(3, 1fr); }

/* ── Features grid — 2 rows x 3 cols ───────────────────────── */
.features-grid--2rows { grid-template-columns: repeat(3, 1fr) !important; gap: 28px; }
@media (max-width: 900px) {
    .products-grid--3col    { grid-template-columns: repeat(2, 1fr); }
    .features-grid--2rows   { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
    .products-grid--3col    { grid-template-columns: 1fr; }
    .features-grid--2rows   { grid-template-columns: 1fr !important; }
}

/* ── Product card image ─────────────────────────────────────── */
.product-card__img-wrap {
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4/3;
    padding: 16px;
    overflow: hidden;
}
.product-card__img {
    max-height: 180px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}
.product-card:hover .product-card__img { transform: scale(1.06); }

/* ── Product gallery ────────────────────────────────────────── */
.product-gallery__main {
    background: #f8f8f8;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
    overflow: hidden;
}

/* ── Quote page layout ──────────────────────────────────────── */
.quote-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
@media (max-width: 768px) { .quote-layout { grid-template-columns: 1fr; gap: 32px; } }

/* ── Homepage facility gallery ──────────────────────────────── */
.factory-gallery__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    height: 420px;
}
.factory-gallery__item { overflow: hidden; border-radius: var(--radius-lg); }
.factory-gallery__item--large { grid-row: 1 / 3; }
.factory-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.factory-gallery__item:hover img { transform: scale(1.04); }
@media (max-width: 600px) {
    .factory-gallery__grid { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
    .factory-gallery__item--large { grid-row: auto; }
    .factory-gallery__item { aspect-ratio: 16/9; }
}

/* ── About page mosaic ──────────────────────────────────────── */
.about-img-mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 520px; }
.mosaic__item { overflow: hidden; border-radius: var(--radius); }
.mosaic__item--tall { grid-row: 1/3; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mosaic__item:hover img { transform: scale(1.05); }
@media (max-width: 768px) {
    .about-img-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
    .mosaic__item--tall { grid-row: auto; }
    .mosaic__item { aspect-ratio: 1; }
}

/* ── Footer credit ──────────────────────────────────────────── */
.footer__credit { color: rgba(255,255,255,.45); text-decoration: none; transition: color .2s; }
.footer__credit:hover { color: var(--red-light); }

/* ── Social icons ───────────────────────────────────────────── */
.footer__social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.07);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.6);
    transition: all var(--transition);
}
.footer__social a:hover { background: var(--red); color: var(--white); }

/* ── Product description table ──────────────────────────────── */
.product-description table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.product-description table th { background: var(--red); color: white; padding: 10px; text-align: left; }
.product-description table td { padding: 10px; border-bottom: 1px solid var(--border); }

/* ── Footer legal links ──────────────────────────────────── */
.footer__bottom { background:rgba(0,0,0,.35);padding:16px 0; }
.footer__bottom-inner {
    display:flex;align-items:center;justify-content:space-between;
    gap:12px;flex-wrap:wrap;
}
.footer__bottom-inner p {
    color:rgba(255,255,255,.45);font-size:.78rem;margin:0;line-height:1.5;
}
.footer__legal {
    display:flex;align-items:center;gap:8px;flex-wrap:wrap;
}
.footer__legal a {
    color:rgba(255,255,255,.45);font-size:.78rem;
    text-decoration:none;transition:color .2s;white-space:nowrap;
}
.footer__legal a:hover { color:#e74c3c; }
.footer__legal-sep { color:rgba(255,255,255,.2);font-size:.78rem;line-height:1; }
@media(max-width:640px) {
    .footer__bottom-inner { flex-direction:column;text-align:center; }
    .footer__legal { justify-content:center; }
}

/* ── Hero height variants ────────────────────────────────── */
.hero--full   { min-height: 90vh; }
.hero--medium { min-height: 65vh; }
.hero--short  { min-height: 50vh; }
@media (max-width: 768px) {
  .hero--full   { min-height: 70vh; }
  .hero--medium { min-height: 55vh; }
  .hero--short  { min-height: 42vh; }
}
