/* =========================================================
   ZHEJIANG VELTORIX FOR MANUFACTURING AUTOMOTIVE PARTS CO. LTD
   Wilshire build · Visual template T06 — Bold Contrast Dark
   Palette derived from the client logo (red #FF473F + black).
   ========================================================= */

:root {
  /* Brand colours (from logo) */
  --primary-color: #0B0B0C;
  --primary-light: #2B2B2E;
  --secondary-color: #FF473F;
  --secondary-light: #FF6D66;
  --accent-color: #E8352D;
  --accent-dark: #C9271F;
  --accent-soft: #FFF0EF;

  /* Neutrals */
  --text-dark: #141416;
  --text-muted: #5E6068;
  --light-bg: #F5F5F6;
  --line: #E7E7EA;
  --white: #FFFFFF;
  --black: #000000;

  /* Template tokens — T06 Bold Contrast Dark */
  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container-max: 1180px;
  --section-pad: 100px;
  --grid-gap: 1.75rem;
  --h1-size: clamp(2.15rem, 1.3rem + 3.1vw, 3.6rem);
  --h2-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --body-size: 0.95rem;
  --body-lh: 1.8;
  --radius: 14px;
  --card-radius: 12px;
  --btn-radius: 50px;
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 22px 48px rgba(0, 0, 0, 0.14);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; max-width: 100%; }
body { font-family: var(--font-body); font-size: var(--body-size); line-height: var(--body-lh); color: var(--text-dark); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-color); text-decoration: none; transition: color .25s var(--ease), background-color .25s var(--ease); }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; color: var(--primary-color); line-height: 1.18; letter-spacing: -0.015em; }
p { color: var(--text-muted); }
.container { max-width: var(--container-max); }

:focus-visible { outline: 3px solid var(--secondary-color); outline-offset: 3px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--accent-color); color: var(--white); padding: 10px 18px; border-radius: 50px; font-weight: 600; }
.skip-link:focus { top: 12px; color: var(--white); }

.section-padding { padding: var(--section-pad) 0; }
.bg-light-soft { background-color: var(--light-bg); }
.bg-black { background: var(--black); }

/* Section tag — D1: short accent dash + uppercase */
.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); color: var(--accent-color);
  font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px;
}
.section-tag::before { content: ''; width: 26px; height: 2px; background: currentColor; }
.section-title { font-size: var(--h2-size); margin-bottom: 1.1rem; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-bottom: 0; }

/* ---------- Buttons: pill + arrow glyph ---------- */
.btn-brand, .btn-brand-outline, .btn-brand-secondary, .btn-dark-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem; letter-spacing: .01em;
  border-radius: var(--btn-radius); padding: 13px 30px; min-height: 48px;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn .bi-arrow-right { transition: transform .25s var(--ease); }
.btn:hover .bi-arrow-right { transform: translateX(4px); }
.btn-brand { background: var(--accent-color); color: var(--white); border: 2px solid var(--accent-color); }
.btn-brand:hover, .btn-brand:focus-visible { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.btn-brand-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.75); }
.btn-brand-outline:hover, .btn-brand-outline:focus-visible { background: var(--white); border-color: var(--white); color: var(--primary-color); }
.btn-brand-secondary, .btn-dark-pill { background: var(--primary-color); color: var(--white); border: 2px solid var(--primary-color); }
.btn-brand-secondary:hover, .btn-dark-pill:hover, .btn-brand-secondary:focus-visible, .btn-dark-pill:focus-visible { background: var(--accent-color); border-color: var(--accent-color); color: var(--white); }
.btn-lg { padding: 14px 32px; font-size: .98rem; }

/* =========================================================
   TOP BAR — dark
   ========================================================= */
.top-bar { background: var(--primary-color); color: rgba(255,255,255,.7); font-size: .84rem; padding: 9px 0; }
.top-bar a { color: rgba(255,255,255,.8); }
.top-bar a:hover { color: var(--white); }
.top-bar i { color: var(--secondary-color); margin-right: 8px; }

/* =========================================================
   NAVBAR
   ========================================================= */
.main-navbar { background: var(--white); padding: 14px 0; box-shadow: 0 1px 0 var(--line); transition: padding .3s var(--ease), box-shadow .3s var(--ease); z-index: 1030; }
.main-navbar.scrolled { padding: 8px 0; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.main-navbar .navbar-brand { padding: 0; margin-right: 1.25rem; flex-shrink: 1; min-width: 0; }
.main-navbar .navbar-brand img { height: 52px; width: auto; max-width: 100%; transition: height .3s var(--ease); }
.main-navbar.scrolled .navbar-brand img { height: 46px; }
.main-navbar .nav-link {
  font-family: var(--font-display); color: var(--primary-color); font-weight: 600; font-size: .95rem;
  margin: 0 4px; padding: 8px 14px !important; border-radius: 50px; transition: background .25s var(--ease), color .25s var(--ease);
}
.main-navbar .nav-link:hover { color: var(--accent-color); }
.main-navbar .nav-link.active { background: var(--primary-color); color: var(--white); }

/* Navbar CTA — G2 accent pill with mail icon */
.main-navbar .btn-brand.nav-cta { font-size: .86rem; padding: 10px 22px; min-height: 44px; white-space: nowrap; }

.navbar-toggler { border: 0; background: var(--primary-color); border-radius: 50%; width: 46px; height: 46px; padding: 0; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(232,53,45,.35); }
.navbar-toggler-icon { width: 22px; height: 22px; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M5 8h20M5 15h20M5 22h20'/%3e%3c/svg%3e"); }
.mobile-nav-contact { display: none; }

/* =========================================================
   HERO — C1 left block, A3 dots, B2 chevrons, layered strip
   ========================================================= */
.hero-slider { position: relative; background: var(--black); }
.hero-slide { height: 68vh; min-height: 560px; max-height: 760px; padding-bottom: 96px; background-size: cover; background-position: center; position: relative; display: flex; align-items: center; }
.hero-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.84) 0%, rgba(0,0,0,.6) 42%, rgba(0,0,0,.25) 100%); }
.hero-slide .container { position: relative; z-index: 2; }
.hero-content { max-width: 760px; }
.hero-slide .hero-tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); color: var(--secondary-color); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.hero-slide .hero-tag i { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-color); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; }
.hero-slide h1, .hero-slide .h1 { color: var(--white); font-size: var(--h1-size); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 18px; }
.hero-slide p { color: rgba(255,255,255,.82); font-size: clamp(1rem, .95rem + .3vw, 1.1rem); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-slider .carousel-indicators { bottom: 86px; justify-content: flex-start; margin: 0; left: 0; right: 0; padding: 0 calc((100% - min(var(--container-max), 100%)) / 2 + 12px); gap: 10px; z-index: 3; }
.hero-slider .carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; margin: 0; border: 0; background: rgba(255,255,255,.45); opacity: 1; transition: background .3s, width .3s var(--ease); }
.hero-slider .carousel-indicators .active { background: var(--secondary-color); width: 28px; border-radius: 10px; }
.hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { width: 6%; opacity: .7; z-index: 3; }
.hero-slider .carousel-control-prev:hover, .hero-slider .carousel-control-next:hover { opacity: 1; }
.hero-slider .carousel-control-prev-icon, .hero-slider .carousel-control-next-icon { width: 2rem; height: 2rem; }
.carousel-item.active .hero-content > * { animation: heroUp .8s var(--ease) both; }
.carousel-item.active .hero-content > *:nth-child(2) { animation-delay: .08s; }
.carousel-item.active .hero-content > *:nth-child(3) { animation-delay: .16s; }
.carousel-item.active .hero-content > *:nth-child(4) { animation-delay: .24s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Layered image strip beneath the hero */
.hero-strip { position: relative; z-index: 4; margin-top: -64px; }
.hero-strip .strip-inner {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 150px;
  background-size: cover; background-position: center; box-shadow: 0 24px 50px rgba(0,0,0,.25);
  display: flex; align-items: center;
}
.hero-strip .strip-inner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.6) 100%); }
.hero-strip .strip-content { position: relative; width: 100%; padding: 26px 34px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.strip-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.strip-chips li { color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: .86rem; padding: 7px 14px; border-radius: 50px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.strip-chips li i { color: var(--secondary-color); margin-right: 6px; }
.strip-link { color: var(--white); font-family: var(--font-display); font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.strip-link:hover { color: var(--secondary-color); }

/* =========================================================
   PAGE HERO — 300px, 60% overlay, left
   ========================================================= */
.page-hero { min-height: 300px; padding: 70px 0; background-size: cover; background-position: center; position: relative; display: flex; align-items: center; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.55) 100%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: 12px; }
.page-hero .breadcrumb-custom { color: rgba(255,255,255,.7); font-size: .92rem; font-weight: 500; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 16px; border-radius: 50px; background: rgba(255,255,255,.1); }
.page-hero .breadcrumb-custom a { color: var(--white); }
.page-hero .breadcrumb-custom a:hover { color: var(--secondary-color); }

/* =========================================================
   ABOUT — rounded image + floating badge
   ========================================================= */
.about-img-wrap { position: relative; z-index: 0; }
.about-img-wrap img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.about-img-wrap::before { content: ''; position: absolute; left: -16px; top: -16px; width: 42%; height: 46%; border-radius: var(--radius); background: var(--accent-color); z-index: -1; }
.about-img-wrap .badge-float {
  position: absolute; right: 22px; bottom: -26px; background: var(--primary-color); color: var(--white);
  padding: 18px 24px; border-radius: var(--card-radius); box-shadow: var(--shadow-hover); font-family: var(--font-display); font-weight: 600; font-size: .9rem; line-height: 1.3;
}
.about-img-wrap .badge-float .num { display: block; font-size: 2rem; color: var(--secondary-color); line-height: 1.1; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--text-dark); font-weight: 500; }
.check-list li::before { content: '\F26E'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-color); display: flex; align-items: center; justify-content: center; font-size: .9rem; }

/* =========================================================
   WHY CHOOSE US — full black band, white cards, E2 inline icon
   ========================================================= */
.why-band { background: var(--black); }
.why-band .section-title { color: var(--white); }
.why-band .section-head p { color: rgba(255,255,255,.65); }
.why-band .section-tag { color: var(--secondary-color); }
.feature-card {
  height: 100%; background: var(--white); border-radius: var(--card-radius); padding: 2rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 6px; align-items: center;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(232,53,45,.18); }
.feature-card .icon-wrap { width: 54px; height: 54px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-color); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; grid-row: 1; grid-column: 1; transition: background .3s, color .3s; }
.feature-card:hover .icon-wrap { background: var(--accent-color); color: var(--white); }
.feature-card h5 { grid-row: 1; grid-column: 2; font-size: 1.15rem; margin: 0; }
.feature-card p { grid-column: 1 / -1; font-size: .94rem; margin: 10px 0 0; }

/* =========================================================
   CTA — H2: light image band, heading left / black pill right
   ========================================================= */
.cta-section { position: relative; background-size: cover; background-position: center; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.86) 60%, rgba(255,255,255,.7) 100%); }
.cta-section .container { position: relative; z-index: 1; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-text { max-width: 680px; }
.cta-section h2 { font-size: var(--h2-size); margin-bottom: 10px; }
.cta-section p { color: var(--text-muted); font-size: 1.05rem; margin: 0; }

/* =========================================================
   PRODUCT CARDS — 16:10 wide, image scales inside
   ========================================================= */
.category-card-link { display: block; color: inherit; height: 100%; }
.product-card, .item-card { height: 100%; background: var(--white); border-radius: var(--card-radius); overflow: hidden; border: 1px solid var(--line); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.product-card:hover, .item-card:hover { border-color: transparent; box-shadow: var(--shadow-hover); }
.product-img, .item-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--light-bg); }
.product-img img, .item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-img img, .item-card:hover .item-img img { transform: scale(1.06); }
.product-body, .item-body { padding: 18px 22px 20px; display: flex; align-items: center; gap: 12px; }
.product-body::before, .item-body::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-color); flex-shrink: 0; }
.product-body h5, .item-body h5 { font-size: 1.05rem; margin: 0; }
.product-card:target { box-shadow: 0 0 0 3px var(--accent-color), var(--shadow-hover); }

/* =========================================================
   MISSION / VISION
   ========================================================= */
.mv-card { height: 100%; border-radius: var(--card-radius); padding: 2.6rem 2.4rem; background: var(--white); border: 1px solid var(--line); position: relative; overflow: hidden; }
.mv-card::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--accent-soft); }
.mv-card > * { position: relative; z-index: 1; }
.mv-card i { width: 58px; height: 58px; border-radius: 50%; background: var(--accent-color); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 18px; }
.mv-card h4 { font-size: 1.4rem; margin-bottom: 12px; }
.mv-card p { margin: 0; }
.mv-card.dark { background: var(--black); border-color: var(--black); }
.mv-card.dark::after { background: rgba(255,71,63,.16); }
.mv-card.dark h4 { color: var(--white); }
.mv-card.dark p { color: rgba(255,255,255,.72); }
/* value-pill: class inventory only — this client's document lists no core values */
.value-pill { background: var(--white); border-radius: var(--card-radius); padding: 2rem; box-shadow: var(--shadow); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-info-card { height: 100%; background: var(--black); color: var(--white); border-radius: var(--card-radius); padding: 2.8rem 2.3rem; position: relative; overflow: hidden; }
.contact-info-card::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,71,63,.16); }
.contact-info-card h4 { color: var(--white); margin-bottom: 8px; }
.contact-info-card > p { color: rgba(255,255,255,.66); margin-bottom: 24px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.1); position: relative; z-index: 1; }
.contact-info-item .ci-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; background: var(--accent-color); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.contact-info-item .ci-text small { display: block; color: var(--secondary-light); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 600; margin-bottom: 4px; }
.contact-info-item .ci-text a, .contact-info-item .ci-text span { color: var(--white); font-weight: 600; word-break: break-word; }
.contact-info-item .ci-text a:hover { color: var(--secondary-color); }
.contact-form-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--card-radius); padding: 2.8rem; height: 100%; }
.contact-form-wrap .form-label { font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--primary-color); margin-bottom: 6px; }
.contact-form-wrap .req { color: var(--accent-color); }
.contact-form-wrap .form-control { border: 1px solid #DCDCE0; border-radius: 10px; padding: 13px 16px; font-size: 1rem; min-height: 50px; background: #FAFAFB; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.contact-form-wrap .form-control:focus { border-color: var(--accent-color); background: var(--white); box-shadow: 0 0 0 4px rgba(232,53,45,.12); }
.contact-form-wrap textarea.form-control { min-height: 150px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* =========================================================
   FOOTER — black, accent dot bullets, I2 dark bar
   ========================================================= */
.site-footer { background: var(--black); color: rgba(255,255,255,.62); }
.site-footer .footer-top { padding: 84px 0 50px; }
.site-footer .footer-logo { display: inline-block; margin-bottom: 22px; max-width: 100%; }
.site-footer .footer-logo img { height: 46px; width: auto; max-width: 100%; }
.site-footer p { color: rgba(255,255,255,.6); font-size: .93rem; max-width: 400px; }
.site-footer h5 { color: var(--white); font-size: 1.02rem; margin-bottom: 22px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 12px; font-size: .93rem; }
.site-footer .footer-links a { color: rgba(255,255,255,.7); display: inline-flex; align-items: center; gap: 10px; }
.site-footer .footer-links a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--secondary-color); flex-shrink: 0; transition: transform .25s var(--ease); }
.site-footer .footer-links a:hover { color: var(--white); }
.site-footer .footer-links a:hover::before { transform: scale(1.5); }
.site-footer .footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer .footer-contact i { color: var(--secondary-color); margin-top: 2px; }
.site-footer .footer-contact a { color: rgba(255,255,255,.7); word-break: break-word; }
.site-footer .footer-contact a:hover { color: var(--white); }
.footer-bottom { background: #111113; border-top: 1px solid rgba(255,255,255,.06); color: rgba(255,255,255,.5); padding: 18px 0; font-size: .85rem; }
.footer-bottom a { color: rgba(255,255,255,.75); }

/* =========================================================
   BACK TO TOP — floating accent square
   ========================================================= */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 999; width: 48px; height: 48px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; background: var(--accent-color); color: var(--white); font-size: 1.15rem;
  box-shadow: 0 10px 24px rgba(232,53,45,.35); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .25s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--primary-color); color: var(--white); }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1199.98px) {
  .main-navbar .navbar-brand img { height: 44px; }
  .main-navbar .nav-link { padding: 8px 11px !important; margin: 0 2px; }
}

@media (max-width: 991.98px) {
  :root { --section-pad: 80px; }
  .top-bar { display: none; }
  .main-navbar { padding: 10px 0; }
  .main-navbar .container { flex-wrap: wrap; }
  .main-navbar .navbar-brand { flex: 1 1 0; max-width: calc(100% - 60px); margin-right: 10px; }
  .main-navbar .navbar-brand img, .main-navbar.scrolled .navbar-brand img { width: 100%; height: auto; max-height: 46px; object-fit: contain; object-position: left center; }
  .main-navbar .navbar-collapse { flex-basis: 100%; width: 100%; }
  .main-navbar .navbar-collapse.show, .main-navbar .navbar-collapse.collapsing { margin-top: 12px; padding: 6px 0 18px; border-top: 1px solid var(--line); max-height: calc(100vh - 90px); overflow-y: auto; }
  .main-navbar .navbar-nav { flex-direction: column; align-items: stretch !important; gap: 4px; }
  .main-navbar .navbar-nav .nav-item { width: 100%; }
  .main-navbar .navbar-nav .nav-link { margin: 0; padding: 13px 18px !important; font-size: 1.05rem; }
  .main-navbar .nav-link:not(.active):hover { background: var(--light-bg); }
  .main-navbar .nav-item.nav-cta-item { padding-top: 12px; }
  .main-navbar .btn-brand.nav-cta { width: 100%; min-height: 52px; font-size: .95rem; }
  .mobile-nav-contact { display: block; padding: 16px 18px 0; font-size: .92rem; color: var(--text-muted); }
  .mobile-nav-contact div { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
  .mobile-nav-contact i { color: var(--accent-color); }
  .mobile-nav-contact a { color: var(--text-muted); }

  .hero-slide { height: 640px; min-height: 0; }
  .hero-slider .carousel-indicators { padding: 0 24px; }
  .about-img-wrap { margin: 0 0 2rem 16px; }
  .contact-form-wrap { padding: 2.25rem; }
  .cta-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767.98px) {
  :root { --section-pad: 64px; }
  .section-head { margin-bottom: 2.25rem; }
  .page-hero { min-height: 230px; padding: 56px 0; }
  .hero-strip { margin-top: -48px; }
  .hero-strip .strip-content { padding: 20px; }
  .strip-chips li { font-size: .78rem; padding: 6px 12px; }
  .site-footer .footer-top { padding: 64px 0 34px; }
  .row.g-5 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2.5rem; }
}

@media (max-width: 575.98px) {
  .hero-slide { height: clamp(580px, 86svh, 700px); align-items: flex-end; padding-bottom: 110px; }
  .hero-slide h1 br, .hero-slide .h1 br { display: none; }
  .hero-slide::before { background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.88) 65%); }
  .hero-content { padding-bottom: 0; }
  .hero-slide .hero-tag { font-size: .72rem; letter-spacing: .1em; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { display: none; }
  .hero-slider .carousel-indicators { bottom: 72px; }
  .strip-chips li:nth-child(n+4) { display: none; }
  .about-img-wrap::before { left: -10px; top: -10px; }
  .about-img-wrap .badge-float { right: 12px; padding: 12px 16px; font-size: .82rem; }
  .about-img-wrap .badge-float .num { font-size: 1.6rem; }
  .feature-card { padding: 1.5rem; }
  .mv-card { padding: 2.2rem 1.6rem; }
  .contact-info-card { padding: 2.3rem 1.5rem; }
  .contact-form-wrap { padding: 1.8rem 1.25rem; }
  .cta-section .btn { width: 100%; }
  .cta-row .btn { align-self: stretch; }
  /* Two-up product grid on phones */
  .product-body, .item-body { padding: 12px 12px 14px; gap: 8px; align-items: flex-start; }
  .product-body::before, .item-body::before { margin-top: 7px; width: 6px; height: 6px; }
  .product-body h5, .item-body h5 { font-size: .88rem; line-height: 1.3; }
  .back-to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
