/* Self-hosted fonts (Latin subset): no third-party connection before first paint */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-400-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/poppins-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   YEHIYAX — Premium Laser & Printing Machine Distributor
   Design system: black / white / red, industrial-premium

   DESIGN-SYSTEM NOTES
   --------------------------------------------------------------------------
   Brand color lock-in: the palette below is intentionally red/black/white,
   not a generic "premium" navy+gold scheme — it is matched to the client's
   actual logo mark (a black wordmark with a red "X" swoosh) so every button,
   badge and hover state reads as the same brand seen in the header/footer.

   Typography: Inter (body) + Poppins (display/headings) rather than a
   generic Lato/Playfair pairing — Poppins' geometric, slightly bold letter-
   forms echo the logo's industrial-technical character better than a serif
   editorial face would for a laser/printing-machine distributor.

   Spacing & radius: a small modular scale (--space-*) keeps vertical rhythm
   consistent across sections instead of ad-hoc pixel values; --radius-*
   gives three consistent corner sizes (chips/inputs, cards, hero panels).

   Motion: a single --transition token (0.3s ease) is the default for
   interactive states (buttons, links, cards, inputs) so hover/focus feel
   uniform site-wide; prefers-reduced-motion turns all of it off for users
   who need that.

   Breakpoints: canonical steps are 480 / 768 / 1024px (mobile → tablet →
   desktop), matching the spec. Some components additionally use tighter,
   component-specific breakpoints (e.g. a 2-up card grid needs its own
   collapse point before the generic 768px tablet step) — those are called
   out with a comment at each such media query.
   ========================================================================== */

:root {
  /* --- Brand colors --- */
  --red: #e2231a;
  --red-dark: #b91c14;
  --black: #0e0e10;
  --ink: #171719;
  --gray-900: #1c1c1f;
  --gray-700: #4a4a4f;
  /* gray-500 tuned to #6e6e74 (darker than a typical "muted gray") to clear
     WCAG AA's 4.5:1 contrast on white at normal text sizes — the lighter
     #7a7a80 it started from measured ~4.27:1, just under AA. */
  --gray-500: #6e6e74;
  --gray-300: #d4d4d8;
  --gray-100: #f3f3f4;
  --off-white: #fafafa;
  --white: #ffffff;

  /* --- Radius scale --- */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  /* --- Elevation scale --- */
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.18);
  --shadow-glow-red: 0 8px 22px rgba(226,35,26,.35);

  /* --- Spacing rhythm (modular ~1.5 scale) --- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* --- Motion --- */
  --transition: .3s ease;
  --transition-fast: .2s ease;

  --container: 1200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Poppins', var(--font);

  /* --- Fluid type scale: clamp(min, preferred-vw, max) in rem so it
     respects the user's root font-size setting while scaling with the
     viewport between a mobile floor and a desktop ceiling. --- */
  --fs-h1: clamp(1.9rem, 1.35rem + 2.4vw, 3.5rem);
  --fs-h2: clamp(1.6rem, 1.25rem + 1.6vw, 2.6rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --fs-body-lg: clamp(1rem, 0.95rem + 0.25vw, 1.1rem);
  --fs-body: 1rem;
  --fs-caption: 0.8125rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

/* Accessible keyboard focus ring, brand-colored — visible only for
   keyboard/AT users (:focus-visible), never on a mouse click */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
caption, .caption { font-size: var(--fs-caption); color: var(--gray-500); }

/* ==========================================================================
   Reusable entrance animations (fade-in / slide-up)
   These back the existing .reveal/.reveal.in scroll-triggered system, and
   are also available standalone via .animate-fade-in / .animate-slide-up
   for anything that should animate on load rather than on scroll.
   ========================================================================== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn .5s ease both; }
.animate-slide-up { animation: slideUp .5s ease both; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-5); }
.section { padding: var(--space-9) 0; }
.section-sm { padding: var(--space-8) 0; }
/* Canonical tablet breakpoint (768px) */
@media (max-width: 768px) {
  .section { padding: var(--space-8) 0; }
  .section-sm { padding: 48px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 12px; }
.section-sub { color: var(--gray-700); font-size: 17px; }

/* Buttons — rounded corners, soft rest shadow, "glow" on hover via a
   colored (not just darker) box-shadow, gentle lift, tactile press */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition), border-color var(--transition),
              color var(--transition), box-shadow var(--transition), transform var(--transition-fast);
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: var(--shadow-glow-red); }
.btn-outline { border-color: var(--gray-300); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-light { border-color: rgba(255,255,255,.35); color: var(--white); box-shadow: none; }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--gray-100); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn:active { transform: scale(.96); }
.btn.loading { pointer-events: none; opacity: .85; }
.btn .btn-spinner {
  width: 15px; height: 15px; border-radius: 50%; display: inline-block;
  border: 2px solid rgba(255,255,255,.4); border-top-color: currentColor;
  animation: btn-spin .7s linear infinite;
}
.btn-outline .btn-spinner, .btn-white .btn-spinner { border-color: rgba(0,0,0,.2); border-top-color: currentColor; }
@keyframes btn-spin { to { transform: rotate(360deg); } }
.btn svg, .btn i { width: 16px; height: 16px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-weight: 600;
  font-size: 14px;
  transition: gap .2s ease;
}
.link-arrow:hover { gap: 10px; }

/* ===== Topbar ===== */
.topbar {
  background: var(--black);
  color: rgba(255,255,255,.75);
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-item strong { color: var(--white); }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar a:hover { color: var(--white); }
.topbar-phone { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--white); }
.topbar-phone svg { width: 13px; height: 13px; color: var(--red); }
.tagline-short { display: none; }
@media (max-width: 700px) {
  /* Phones: one line only — short tagline left, tap-to-call number right. */
  .tagline-full { display: none; }
  .tagline-short { display: inline; white-space: nowrap; }
  .topbar .container { gap: 12px; padding-top: 7px; padding-bottom: 7px; }
  .topbar-right { gap: 0; }
  .topbar-right a:not(.topbar-phone) { display: none; }
  .topbar-phone { white-space: nowrap; }
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--gray-100);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo svg { height: 34px; width: auto; }
.logo img { height: 38px; width: auto; display: block; }
.logo-badge { background: var(--black); padding: 10px 18px; border-radius: 10px; transition: transform .2s ease; }
.logo-badge:hover { transform: translateY(-1px); }
@media (max-width: 480px) { .logo img { height: 30px; } .logo-badge { padding: 8px 14px; } }
@media (max-width: 420px) {
  .nav-actions .btn-sm { padding: 10px 12px; }
  .nav-actions .btn-sm .btn-text { display: none; }
}
@media (max-width: 380px) { .container { padding: 0 16px; } }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 600;
  font-size: 14.5px;
}
.nav-links > li { position: relative; }
.nav-links a { padding: 8px 0; color: var(--ink); display: flex; align-items: center; gap: 4px; }
.nav-links a:hover, .nav-links a.active { color: var(--red); }
.nav-links a.active { position: relative; }
.nav-links a.active::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--red);
}
.nav-links svg { width: 13px; height: 13px; margin-top: 1px; }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%; left: -20px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 10px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
  border: 1px solid var(--gray-100);
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { padding: 10px 14px; border-radius: 6px; font-weight: 500; display: block; }
.dropdown-menu a:hover { background: var(--gray-100); color: var(--red); }

.nav-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

.nav-drawer-head, .nav-drawer-cta { display: none; }

@media (max-width: 980px) {
  /* The closed drawer stays inside the viewport and is hidden with clip-path:
     parking it off-screen (right: -100%) made phones scroll sideways. */
  .nav-links { position: fixed; top: 0; right: 0; height: 100vh; height: 100dvh; width: min(340px, 88vw);
    background: var(--white); flex-direction: column; align-items: stretch; padding: 0 26px 28px;
    gap: 2px; box-shadow: -20px 0 50px rgba(0,0,0,.18);
    clip-path: inset(0 0 0 100%); visibility: hidden;
    transition: clip-path .4s cubic-bezier(.4,0,.2,1), visibility 0s linear .4s;
    z-index: 1000; overflow-y: auto; overscroll-behavior: contain; }
  .nav-links.open { clip-path: inset(0 0 0 -80px); visibility: visible;
    transition: clip-path .4s cubic-bezier(.4,0,.2,1); }
  .nav-links > li { opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
  .nav-links.open > li { opacity: 1; transform: none; }
  .nav-links.open > li:nth-child(2) { transition-delay: .08s; }
  .nav-links.open > li:nth-child(3) { transition-delay: .11s; }
  .nav-links.open > li:nth-child(4) { transition-delay: .14s; }
  .nav-links.open > li:nth-child(5) { transition-delay: .17s; }
  .nav-links.open > li:nth-child(6) { transition-delay: .20s; }
  .nav-links.open > li:nth-child(7) { transition-delay: .23s; }
  .nav-links.open > li:nth-child(n+8) { transition-delay: .26s; }
  .nav-links > li { width: 100%; }
  .nav-links a { padding: 13px 0; width: 100%; }

  .nav-drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; background: var(--white); z-index: 2;
    padding: 20px 0 14px; margin-bottom: 8px; border-bottom: 1px solid var(--gray-100);
  }
  .nav-drawer-head span { font-family: var(--font-display); font-weight: 700; font-size: 13px;
    letter-spacing: .08em; text-transform: uppercase; color: var(--gray-500); }
  .nav-close { background: var(--gray-100); border: none; width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; transition: .2s; flex-shrink: 0; }
  .nav-close:hover { background: var(--red); color: var(--white); }
  .nav-close svg { width: 18px; height: 18px; }

  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    max-height: 0; overflow: hidden; padding-left: 14px; border: none; transition: max-height .3s ease; }
  .dropdown.open .dropdown-menu { max-height: 420px; }
  .dropdown > a svg { transition: transform .25s ease; }
  .dropdown.open > a svg { transform: rotate(180deg); color: var(--red); }

  .nav-drawer-cta { display: flex; flex-direction: column; margin-top: 14px; padding-top: 18px;
    border-top: 1px solid var(--gray-100); }
  .nav-drawer-cta .btn { margin-bottom: 10px; }
  .nav-drawer-cta .btn:last-child { margin-bottom: 0; }

  .nav-toggle { display: flex; }
}

.nav-overlay {
  position: fixed; inset: 0; background: rgba(14,14,16,.55); backdrop-filter: blur(2px);
  z-index: 998; opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 70px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(226,35,26,.35), transparent 70%);
}
.breadcrumb { display: flex; gap: 8px; align-items: center; color: rgba(255,255,255,.55); font-size: 14px; margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--white); }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); }
.page-hero p { color: rgba(255,255,255,.7); max-width: 620px; margin-top: 12px; font-size: 16.5px; }

/* ===== Hero (home) ===== */
.hero { background: linear-gradient(180deg, #fff 0%, var(--gray-100) 100%); padding: 60px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-bottom: 60px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); margin-bottom: 18px; }
.hero h1 .accent { color: var(--red); }
.hero p.lead { color: var(--gray-700); font-size: 17.5px; max-width: 520px; margin-bottom: 26px; }
.hero-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; margin-bottom: 32px; }
.check-item { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; }
.check-item svg { width: 20px; height: 20px; color: var(--white); background: var(--red); border-radius: 50%; padding: 4px; flex-shrink: 0; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.quick-features { display: grid; grid-template-columns: repeat(4, auto); gap: 26px; }
.quick-feature { display: flex; align-items: center; gap: 10px; }
.quick-feature .icon-badge { width: 38px; height: 38px; border-radius: 9px; background: var(--white); box-shadow: var(--shadow-sm); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.quick-feature .icon-badge svg { width: 18px; height: 18px; }
.quick-feature span { font-weight: 700; font-size: 12.5px; line-height: 1.3; display: block; }
@media (max-width: 980px) { .quick-features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .quick-features { grid-template-columns: 1fr; } }
.hero-visual { position: relative; }
.hero-visual .art-card {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; aspect-ratio: 4 / 3;
}
.hero-badge {
  position: absolute; bottom: -22px; left: -22px; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 16px 20px; display: flex; align-items: center; gap: 12px;
}
.hero-badge .num { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--red); }
.hero-badge .lbl { font-size: 12.5px; color: var(--gray-700); font-weight: 600; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 40px; }
  .hero-visual { order: -1; }
  .hero-checks { grid-template-columns: 1fr; }
}

/* ===== Who We Are ===== */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .who-grid { grid-template-columns: 1fr; gap: 36px; } }
.who-stats { display: flex; gap: 30px; margin: 26px 0 30px; flex-wrap: wrap; }
.who-stat { display: flex; align-items: center; gap: 12px; }
.who-stat .icon-badge { width: 46px; height: 46px; border-radius: 10px; background: var(--gray-100); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.who-stat .icon-badge svg { width: 22px; height: 22px; }
.who-stat .num { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1; }
.who-stat .lbl { font-size: 12.5px; color: var(--gray-700); font-weight: 600; }
.who-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.who-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 74px; height: 74px; border-radius: 50%; background: rgba(255,255,255,.95);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  transition: transform .25s ease;
}
.who-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.who-play svg { width: 26px; height: 26px; color: var(--red); margin-left: 3px; }
.who-play::before {
  content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5);
  animation: pulse-ring 2.4s infinite;
}
@keyframes pulse-ring { 0% { transform: scale(.85); opacity: .8; } 100% { transform: scale(1.25); opacity: 0; } }
.who-caption { position: absolute; left: 20px; bottom: 20px; background: rgba(14,14,16,.75); backdrop-filter: blur(6px); color: var(--white); padding: 10px 16px; border-radius: 8px; font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.who-caption svg { width: 15px; height: 15px; color: var(--red); }

/* ===== Industries strip ===== */
.industries-strip { background: var(--black); padding: 28px 0; }
.industries-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 16px; }
.industry-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.85); font-weight: 700; font-size: 13px; white-space: nowrap; }
.industry-item .icon-badge { width: 36px; height: 36px; border-radius: 9px; background: rgba(226,35,26,.14); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.industry-item .icon-badge svg { width: 17px; height: 17px; }
@media (max-width: 900px) { .industries-row { justify-content: flex-start; } }

/* ===== Featured machines carousel ===== */
.carousel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.carousel-nav { display: flex; gap: 10px; }
.carousel-nav button {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--gray-300); background: var(--white);
  display: flex; align-items: center; justify-content: center; transition: .2s;
}
.carousel-nav button:hover { border-color: var(--red); color: var(--red); }
.carousel-nav button:disabled { opacity: .35; cursor: not-allowed; pointer-events: none; }
.carousel-nav button svg { width: 18px; height: 18px; }
.carousel-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
  scrollbar-width: none; cursor: grab; -webkit-user-select: none; user-select: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel-card {
  flex: 0 0 280px; scroll-snap-align: start; background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .25s ease, transform .25s ease;
}
.carousel-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.carousel-card img, .carousel-card .ph { -webkit-user-drag: none; }
@media (max-width: 560px) { .carousel-card { flex-basis: 82vw; } }

.carousel-dots { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 26px; }
.carousel-dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: var(--gray-300);
  cursor: pointer; transition: all .25s ease; }
.carousel-dot.active { width: 24px; border-radius: 5px; background: var(--red); }
.carousel-card .thumb { aspect-ratio: 4/3; background: var(--gray-100); position: relative; }
.carousel-card .badge {
  position: absolute; top: 12px; left: 12px; background: var(--red); color: var(--white); font-size: 11px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 20px;
}
.carousel-card .body { padding: 18px; }
.carousel-card h3 { font-size: 16px; margin-bottom: 6px; }
.carousel-card p { font-size: 13px; color: var(--gray-700); margin-bottom: 12px; }

/* ===== CTA v2 (with icon strip) ===== */
.cta-v2 { display: grid; grid-template-columns: 1.1fr 1.6fr auto; gap: 30px; align-items: center; padding: 44px 0; }
.cta-v2 h3 { font-size: 23px; margin-bottom: 6px; }
.cta-v2 p { font-size: 14px; opacity: .9; }
.cta-v2-icons { display: flex; gap: 22px; flex-wrap: wrap; }
.cta-v2-icon { display: flex; align-items: center; gap: 10px; }
.cta-v2-icon .icon-round { width: 40px; height: 40px; }
.cta-v2-icon .icon-round svg { width: 18px; height: 18px; }
.cta-v2-icon span { font-size: 12.5px; font-weight: 700; line-height: 1.25; }
@media (max-width: 980px) { .cta-v2 { grid-template-columns: 1fr; text-align: center; } .cta-v2-icons { justify-content: center; } }

/* ===== Stat strip ===== */
.stat-strip { background: var(--black); color: var(--white); padding: 30px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.stat-item { display: flex; align-items: center; gap: 14px; }
.stat-item .icon-badge { width: 44px; height: 44px; border-radius: 10px; background: rgba(226,35,26,.15); color: var(--red);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-item .icon-badge svg { width: 22px; height: 22px; }
.stat-item .num { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.stat-item .lbl { font-size: 12.5px; color: rgba(255,255,255,.65); }
@media (max-width: 980px) { .stat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== Category / product cards ===== */
.cat-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
@media (max-width: 900px) { .cat-columns { grid-template-columns: 1fr; gap: 36px; } }
.cat-col-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.cat-col-head .bar { width: 22px; height: 3px; background: var(--red); }
.cat-col-head h3 { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-700); }
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .cat-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cat-grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius);
  padding: 20px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-sm);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .thumb { border-radius: 8px; overflow: hidden; margin-bottom: 14px; background: var(--gray-100); aspect-ratio: 4/3; }
.card h4 { font-size: 16.5px; margin-bottom: 6px; }
.card p { font-size: 13.5px; color: var(--gray-700); margin-bottom: 12px; }

/* ===== Why choose / dark feature block ===== */
.feature-dark { background: var(--black); color: var(--white); position: relative; overflow: hidden; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.feature-copy { padding: 90px 60px 90px 0; }
.feature-copy h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 20px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-bottom: 30px; }
.feature-list .check-item svg { background: var(--red); color: var(--white); }
.feature-media { position: relative; height: 100%; min-height: 380px; }
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-copy { padding: 60px 24px; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-media { min-height: 240px; }
}

/* ===== Applications grid ===== */
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .app-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .app-grid { grid-template-columns: repeat(2, 1fr); } }
.app-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.app-card img, .app-card .ph { width: 100%; height: 100%; object-fit: cover; }
.app-card .overlay {
  position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.82) 100%);
  display: flex; align-items: flex-end; padding: 16px; color: var(--white); font-weight: 700; font-size: 14.5px;
}
.app-card { transition: transform .3s ease; }
.app-card:hover { transform: scale(1.03); }

/* ===== CTA banner ===== */
.cta-banner { background: var(--red); color: var(--white); }
.cta-flex { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 40px 0; }
.cta-left { display: flex; align-items: center; gap: 18px; }
.cta-left .icon-round { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cta-left .icon-round svg { width: 26px; height: 26px; }
.cta-left h3 { font-size: 21px; margin-bottom: 4px; }
.cta-left p { font-size: 14.5px; opacity: .9; }
.cta-right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-phone { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 19px; }
.cta-phone .icon-round { width: 46px; height: 46px; }

/* ===== Footer ===== */
.site-footer { background: var(--black); color: rgba(255,255,255,.6); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand p { font-size: 14px; margin: 16px 0 20px; max-width: 300px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: .2s; }
.footer-social a:hover { background: var(--red); }
.footer-social svg { width: 16px; height: 16px; color: var(--white); }
.footer-col h3 { color: var(--white); font-size: 15px; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; font-size: 14px; }
.footer-col a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: var(--red); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-credit a { color: rgba(255,255,255,.75); font-weight: 700; }
.footer-credit a:hover { color: var(--red); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===== WhatsApp float ===== */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  z-index: 900; animation: pulse 2.4s infinite;
}
.wa-float svg { width: 28px; height: 28px; color: white; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5);} 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0);} 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0);} }

/* ===== Back to top ===== */
.back-to-top {
  position: fixed; bottom: 94px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--black); color: var(--white); border: none; display: flex; align-items: center;
  justify-content: center; box-shadow: var(--shadow-lg); z-index: 899; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--red); }
.back-to-top svg { width: 19px; height: 19px; }
@media (max-width: 560px) { .back-to-top { width: 42px; height: 42px; bottom: 86px; right: 20px; } }

/* ===== Generic content blocks (about/support/contact) ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }
.media-block { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; }

.timeline { position: relative; padding-left: 32px; border-left: 2px solid var(--gray-300); }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -39px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--red); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--red); }
.timeline-item .yr { color: var(--red); font-weight: 800; font-size: 14px; }
.timeline-item h4 { margin: 4px 0 6px; font-size: 17px; }
.timeline-item p { color: var(--gray-700); font-size: 14.5px; }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .value-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .value-grid { grid-template-columns: 1fr; } }
.value-card { text-align: center; padding: 30px 20px; border-radius: var(--radius); border: 1px solid var(--gray-100); transition: .25s; }
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.value-card .icon-badge { width: 54px; height: 54px; border-radius: 12px; background: var(--gray-100); color: var(--red); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.value-card .icon-badge svg { width: 26px; height: 26px; }
.value-card h4 { font-size: 16px; margin-bottom: 8px; }
.value-card p { font-size: 13.5px; color: var(--gray-700); }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--gray-100); }
.spec-table th { background: var(--gray-100); font-weight: 700; }

.machine-detail { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: flex-start; padding: 60px 0; border-bottom: 1px solid var(--gray-100); }
.machine-detail:last-child { border-bottom: none; }
.machine-detail.reverse .machine-media { order: 2; }
@media (max-width: 900px) {
  .machine-detail, .machine-detail.reverse { grid-template-columns: 1fr; }
  .machine-detail.reverse .machine-media { order: -1; }
}
.machine-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 6 / 5; }
.machine-copy .tag { display: inline-block; background: var(--gray-100); color: var(--red-dark); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 20px; margin-bottom: 14px; }
.machine-copy h3, .machine-copy h2 { font-size: 26px; margin-bottom: 12px; }
.machine-copy p.desc { color: var(--gray-700); margin-bottom: 18px; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-bottom: 22px; }
.spec-list li { font-size: 14px; display: flex; gap: 8px; align-items: flex-start; }
.spec-list svg { width: 16px; height: 16px; color: var(--red); margin-top: 3px; flex-shrink: 0; }
@media (max-width: 480px) { .spec-list { grid-template-columns: 1fr; } }

.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-weight: 700; font-size: 16px; cursor: pointer; }
.faq-q svg { width: 18px; height: 18px; color: var(--red); transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--gray-700); font-size: 14.5px; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card { background: var(--black); color: var(--white); border-radius: var(--radius-lg); padding: 36px; }
@media (max-width: 480px) { .contact-info-card, .form-card { padding: 24px; } }
.contact-info-card h2 { margin-bottom: 8px; font-size: 1.25rem; }
.contact-info-card p { color: rgba(255,255,255,.6); font-size: 14.5px; margin-bottom: 26px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info-item .icon-badge { width: 42px; height: 42px; border-radius: 10px; background: rgba(226,35,26,.18); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item .icon-badge svg { width: 20px; height: 20px; }
.contact-info-item h3 { font-size: 14px; color: var(--white); margin-bottom: 3px; }
.contact-info-item p { margin: 0; font-size: 14px; }

.form-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 13.5px; font-weight: 700; }
.form-group label .req { color: var(--red); margin-left: 2px; }
.form-group input, .form-group select, .form-group textarea {
  border: 1.5px solid var(--gray-300); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14.5px;
  font-family: inherit; color: var(--ink); background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(226,35,26,.12); }
/* Error state: only applied via JS (.has-error) on submit validation, never
   on load — this avoids flashing red at every empty required field before
   the visitor has had a chance to type anything. */
.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea {
  border-color: #d92d20;
}
.form-group.has-error input:focus, .form-group.has-error select:focus, .form-group.has-error textarea:focus {
  box-shadow: 0 0 0 3px rgba(217,45,32,.14);
}
.field-error {
  display: none; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #d92d20;
}
.field-error svg { width: 13px; height: 13px; flex-shrink: 0; }
.form-group.has-error .field-error { display: flex; }
.form-note { font-size: 12.5px; color: var(--gray-500); margin-top: 14px; }
.form-success { display: none; background: #eafaf0; border: 1px solid #b7ecc9; color: #157347; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 18px; font-weight: 600; }
.form-success.show { display: block; animation: slideUp .4s ease both; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; margin-top: 30px; box-shadow: var(--shadow-sm); height: 340px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* Placeholder illustration blocks (fallback if a photo fails to load) */
.ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gray-900), var(--black));
  color: rgba(255,255,255,.5);
}
.ph svg { width: 34%; height: 34%; opacity: .55; }
.ph.light { background: linear-gradient(135deg, var(--gray-100), #eaeaea); color: var(--gray-500); }

/* ==========================================================================
   Photo frames — real photography used in place of the abstract SVG
   illustrations. Every frame clips its image (overflow hidden) and gives it
   a slow zoom on hover for a premium, tactile feel; `.with-overlay` adds a
   bottom-weighted gradient for frames that carry floating UI (captions,
   play buttons) directly on top of the photo, so that UI stays legible
   regardless of how bright the underlying photo is.
   ========================================================================== */
.photo-frame {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--gray-900), var(--black));
}
.photo-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0; transition: opacity .5s ease, transform .7s ease;
}
.photo-frame img.loaded { opacity: 1; }
.photo-frame:hover img { transform: scale(1.06); }
.photo-frame.with-overlay::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(14,14,16,0) 40%, rgba(14,14,16,.55) 100%);
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

.brand-strip { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 30px 0; border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); color: var(--gray-500); font-weight: 700; font-size: 14px; letter-spacing: .04em; }

/* ==========================================================================
   Rich content (admin-edited pages: About, Support, any generic page)
   Plain rich text from the CMS is given structure here: lists become icon
   cards, "Question + answer" paragraphs become an accordion, so editors
   never need to write layout HTML.
   ========================================================================== */
.rc-band-alt { background: var(--gray-100); }

.rich-content p { color: var(--gray-700); font-size: var(--fs-body-lg); line-height: 1.75; margin-bottom: var(--space-4); }
.rich-content p:last-child { margin-bottom: 0; }
.rich-content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.rich-content h2, .rich-content h3, .rich-content h4 { margin: var(--space-6) 0 var(--space-3); }
.rc-intro > p:first-of-type { font-size: 1.2rem; color: var(--ink); font-weight: 500; }

/* Lists → responsive card grid with a check badge */
.rich-content ul, .rich-content ol {
  list-style: none; display: grid; gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 0 0 var(--space-5);
}
.rich-content li {
  position: relative; background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius); padding: var(--space-5) var(--space-5) var(--space-5) 64px;
  box-shadow: var(--shadow-sm); color: var(--gray-700); font-size: 14.5px; line-height: 1.6;
  transition: transform var(--transition), box-shadow var(--transition);
}
.rich-content li:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.rich-content li::before {
  content: ''; position: absolute; left: var(--space-5); top: var(--space-5);
  width: 28px; height: 28px; border-radius: 8px; background: rgba(226,35,26,.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2231a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 15px;
}
.rich-content li strong {
  display: block; color: var(--ink); font-family: var(--font-display);
  font-size: 1.05rem; margin-bottom: 4px;
}
.rc-band-alt .rich-content li { border-color: transparent; }

/* Question/answer paragraphs → native accordion (no JS needed) */
.rc-body { max-width: 860px; margin: 0 auto; }
.rc-body:has(> ul) { max-width: none; }
.rc-faq {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius);
  margin-bottom: var(--space-3); box-shadow: var(--shadow-sm); overflow: hidden;
}
.rc-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: var(--space-4); padding: var(--space-5); font-weight: 700; font-size: 1rem; color: var(--ink);
}
.rc-faq summary::-webkit-details-marker { display: none; }
.rc-faq summary svg { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; transition: transform var(--transition); }
.rc-faq[open] summary svg { transform: rotate(45deg); }
.rc-faq[open] { border-color: rgba(226,35,26,.25); }
.rc-faq > div { padding: 0 var(--space-5) var(--space-5); color: var(--gray-700); font-size: 14.5px; line-height: 1.7; }

/* Home category cards: equal heights, CTA pinned to the bottom so rows line up
   regardless of how long each admin-entered description is. */
.cat-grid { align-items: stretch; }
.cat-grid .card { display: flex; flex-direction: column; height: 100%; }
.cat-grid .card h4 { line-height: 1.3; }
.cat-grid .card p { flex: 1; }
.cat-grid .card .link-arrow { margin-top: auto; padding-top: 10px; }
.cat-grid .card .thumb img { transition: transform .6s ease; }
.cat-grid .card:hover .thumb img { transform: scale(1.06); }
.nowrap { white-space: nowrap; }

/* Hero product shot (studio photo on black): show the whole machine, never crop */
.hero-visual .art-card-product {
  aspect-ratio: 5 / 4;
  background: #000;
}
.hero-visual .art-card-product picture { display: block; width: 100%; height: 100%; }
.hero-visual .art-card-product img {
  width: 100%; height: 100%; object-fit: contain; padding: 4% 6% 2%;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.hero-visual:hover .art-card-product img { transform: scale(1.03); }

/* Product shots detected by script.js: whole machine visible, no crop */
.photo-frame img.is-product-shot { object-fit: contain; padding: 5%; }
.photo-frame:hover img.is-product-shot { transform: scale(1.03); }

/* ===== Mobile drawer + hero refinements ===== */
@media (max-width: 980px) {
  /* Collapsed submenus must take no space at all (desktop padding left gaps) */
  .dropdown-menu { padding-top: 0; padding-bottom: 0; margin: 0; min-width: 0; }
  .dropdown.open .dropdown-menu { padding-bottom: 8px; }
  .dropdown-menu a { padding: 10px 0; font-size: 14.5px; color: var(--gray-700); }
  .dropdown > a { justify-content: space-between; }
  .dropdown > a svg { width: 16px; height: 16px; }
  /* Active page: red text with a small accent bar instead of a full-width underline */
  .nav-links a.active::after { display: none; }
  .nav-links > li > a.active { padding-left: 12px; box-shadow: inset 3px 0 0 var(--red); }
  .nav-links > li > a { font-size: 16px; font-weight: 600; border-bottom: 1px solid var(--gray-100); }
  .nav-drawer-cta > a { border-bottom: none !important; justify-content: center; }
}
@media (max-width: 900px) {
  .hero-badge { left: -6px; bottom: -18px; padding: 12px 16px; }
}
@media (max-width: 980px) {
  /* backdrop-filter makes the header the anchor for the fixed drawer, which
     pushed the drawer below the top bar and cut off its bottom. A solid
     header on phones lets the drawer cover the full screen height. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); }
  .nav-links > li:nth-last-child(2) > a { border-bottom: none; }
  .nav-links { padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
}

/* Who We Are: brand video (frame matches the 880x576 clip, so nothing is cropped) */
.who-media-video { aspect-ratio: 880 / 576; background: #050505; }
.who-video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   MOBILE UX LAYER — phones and small tablets
   Goals: content first, less scrolling, 44px+ tap targets, no accidental
   zoom, calmer motion. Desktop styles above are untouched.
   ========================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.dropdown-all { display: none; }
.cat-cta { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Whole card is the tap target (link stretched over the card) */
.cat-grid .card, .carousel-card { position: relative; }
.card-link::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after { outline: 2px solid var(--red); outline-offset: 2px; }

/* Carousel dots: same look, 32px touch area */
.carousel-dots { gap: 2px; }
.carousel-dot { position: relative; width: 32px; height: 32px; background: none !important; display: flex; align-items: center; justify-content: center; }
.carousel-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gray-300); transition: width .25s ease, background .25s ease; }
.carousel-dot.active::before { width: 24px; border-radius: 5px; background: var(--red); }
.carousel-dot.active { width: 40px; }

/* Text on the red CTA band: full white for contrast */
.cta-v2 p { opacity: 1; }

/* Touch screens: no sticky hover zoom/lift after a tap */
@media (hover: none) {
  .photo-frame:hover img, .cat-grid .card:hover .thumb img, .app-card:hover, .hero-visual:hover .art-card-product img,
  .rich-content li:hover, .btn:hover, .card:hover { transform: none; }
}

@media (max-width: 980px) {
  .dropdown-menu .dropdown-all { display: block; font-weight: 700; color: var(--red); }
  .nav-links > li > a, .dropdown-menu a { min-height: 48px; display: flex; align-items: center; }
}

@media (max-width: 768px) {
  /* Rhythm: tighter vertical spacing so sections don't feel stretched */
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .section-title { font-size: clamp(25px, 6.6vw, 30px); line-height: 1.22; }
  .section-sub { font-size: 15.5px; line-height: 1.65; }
  .eyebrow { font-size: 12px; margin-bottom: 10px; }
  p { overflow-wrap: break-word; }

  /* Buttons: full-width, 52px tall, easy thumb targets */
  .hero-cta, .cat-cta { flex-direction: column; gap: 12px; }
  .hero-cta .btn, .cat-cta .btn, .who-grid .btn, .feature-copy .btn, .machine-copy .btn, .cta-v2 > .btn {
    width: 100%; justify-content: center; min-height: 52px; }
  .btn { padding: 14px 22px; }

  /* Hero: headline first, product shot second */
  .hero { padding-top: 28px; }
  .hero-visual { order: 0; margin-top: 8px; }
  .hero h1 { font-size: clamp(31px, 8.6vw, 38px); line-height: 1.12; margin-bottom: 14px; }
  .hero .lead { font-size: 16px; line-height: 1.6; margin-bottom: 22px; }
  .hero-cta { margin-bottom: 24px; }
  .quick-features { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .quick-feature span { font-size: 12.5px; }
  .hero-grid { gap: 28px; padding-bottom: 48px; }

  /* Who we are: three compact stats in one row */
  .who-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0 24px; }
  .who-stat { flex-direction: column; align-items: flex-start; gap: 8px; background: var(--gray-100); border-radius: var(--radius); padding: 12px; }
  .who-stat .icon-badge { width: 34px; height: 34px; background: var(--white); }
  .who-stat .icon-badge svg { width: 17px; height: 17px; }
  .who-stat .num { font-size: 18px; }
  .who-stat .num:not(.count-up) { font-size: 14px; line-height: 1.25; }
  .who-stat .lbl { font-size: 11.5px; }

  /* Product categories: compact 2-column cards instead of 10 full-width ones */
  .cat-columns { gap: 32px; }
  .cat-grid, .cat-grid-3 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-grid .card { padding: 10px 10px 14px; }
  .cat-grid .card .thumb { margin-bottom: 10px; aspect-ratio: 1 / 1; }
  .cat-grid .card h4 { font-size: 14.5px; margin-bottom: 4px; }
  .cat-grid .card p { font-size: 12.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; }
  .cat-grid .card .link-arrow { font-size: 13px; padding-top: 4px; }
  .cat-col-head { margin-bottom: 14px; }

  /* Industries strip: tidy 2-column grid */
  .industries-strip { padding: 22px 0; }
  .industries-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; }
  .industry-item { white-space: normal; font-size: 12.5px; line-height: 1.25; }

  /* Why choose us: 2-column checklist */
  .feature-copy { padding: 56px 0 36px !important; }
  .feature-copy h2 { font-size: clamp(25px, 6.6vw, 30px); }
  .feature-list { grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-bottom: 26px; }
  .check-item { font-size: 13.5px; align-items: flex-start; line-height: 1.35; }
  .check-item svg { width: 18px; height: 18px; }

  /* Featured carousel: show a peek of the next card */
  .carousel-card { flex: 0 0 82%; }
  .carousel-nav { display: none; }

  /* Applications: square tiles (halves the scroll length) */
  .app-grid { gap: 10px; }
  .app-card { aspect-ratio: 1 / 1; }
  .app-card .overlay { font-size: 13px; padding: 12px; }

  /* Machine pages */
  .machine-detail { gap: 22px; padding: 36px 0; }
  .machine-copy h3, .machine-copy h2 { font-size: 22px; }
  .machine-copy p.desc { font-size: 15px; }
  .spec-list { gap: 8px; }
  .spec-list li { font-size: 14px; }

  /* Inner page hero */
  .page-hero { padding: 40px 0 44px; }
  .page-hero h1 { font-size: clamp(28px, 7.6vw, 34px); }
  .page-hero p { font-size: 15.5px; }

  /* CTA band: keep the button inside the side margins */
  .cta-v2 { padding: 40px 0; gap: 22px; }
  .cta-v2-icons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; text-align: left; }
  .cta-v2-icon { justify-content: flex-start; }

  /* Forms: 16px text stops iOS zooming into fields; 48px tall inputs */
  .form-group input, .form-group select, .form-group textarea { font-size: 16px; min-height: 48px; }
  .form-group textarea { min-height: 120px; }

  /* Footer: two link columns side by side, roomier tap rows */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 32px; }
  .footer-grid > .footer-brand { grid-column: 1 / -1; }
  .footer-col ul li { margin-bottom: 4px; }
  .footer-col ul li a { display: inline-flex; min-height: 36px; align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }

  /* Floating buttons: respect the iPhone home bar */
  .wa-float { bottom: calc(18px + env(safe-area-inset-bottom, 0px)); right: 16px; width: 54px; height: 54px; }
  .back-to-top { bottom: calc(82px + env(safe-area-inset-bottom, 0px)); right: 22px; }

  /* Calmer, quicker entrance animations on phones */
  .reveal { transform: translateY(14px); transition-duration: .45s; }
}

@media (max-width: 380px) {
  .cat-grid .card h4 { font-size: 13.5px; }
  .who-stat { padding: 10px 8px; }
  .quick-feature span { font-size: 12px; }
}
.footer-contact a { color: inherit; }
.footer-contact a:hover { color: var(--white); }
@media (max-width: 768px) {
  .footer-contact { display: grid !important; grid-template-columns: 1fr; gap: 6px !important; padding: 20px 0 !important; }
  .footer-contact li { min-height: 40px; }
}
@media (max-width: 768px) {
  /* .cta-v2 sits on .container; keep the container's side gutters */
  .cta-v2 { padding: 40px var(--space-5); }
  .carousel-card { display: flex; flex-direction: column; }
  .carousel-card .body { flex: 1; display: flex; flex-direction: column; }
  .carousel-card .body .link-arrow { margin-top: auto; }
}

/* Contact map: lightweight card until the visitor asks for the live map */
.map-facade { display: flex; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(226,35,26,.10), transparent 60%),
              repeating-linear-gradient(0deg, transparent 0 39px, rgba(0,0,0,.04) 39px 40px),
              repeating-linear-gradient(90deg, transparent 0 39px, rgba(0,0,0,.04) 39px 40px), var(--gray-100); }
.map-facade-inner { padding: 28px 20px; max-width: 520px; }
.map-facade .icon-round { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; background: var(--red); color: var(--white); display: flex; align-items: center; justify-content: center; }
.map-facade .icon-round svg { width: 24px; height: 24px; }
.map-facade h2 { font-size: 1.3rem; margin-bottom: 4px; }
.map-facade p { color: var(--gray-700); margin-bottom: 18px; }
.map-facade-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.map-facade.loaded { display: block; padding: 0; background: none; }
@media (max-width: 768px) {
  .map-embed { height: auto; min-height: 300px; }
  .map-facade.loaded { height: 320px; }
  .map-facade-actions { flex-direction: column; }
  .map-facade-actions .btn { width: 100%; justify-content: center; min-height: 52px; }
}
@media (max-width: 768px) { .map-facade-inner { width: 100%; } }

/* ===== Desktop polish ===== */
/* .cta-v2 and .footer-bottom sit on .container: keep its side gutters so
   their edges line up with every other section */
.cta-v2 { padding-left: var(--space-5); padding-right: var(--space-5); }
.footer-bottom { padding-left: var(--space-5); padding-right: var(--space-5); }
@media (min-width: 981px) {
  .cta-v2-icons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}
/* Carousel cards: equal height, "Learn More" pinned to the bottom */
.carousel-card { display: flex; flex-direction: column; }
.carousel-card .body { flex: 1; display: flex; flex-direction: column; }
.carousel-card .body .link-arrow { margin-top: auto; padding-top: 6px; }
/* Machine pages: no double gap under the page banner */
.machine-detail:first-child { padding-top: 0; }
@media (min-width: 981px) {
  /* CTA band: headline + button on top, the four benefits in a full row below */
  .cta-v2 { grid-template-columns: 1fr auto; row-gap: 26px; }
  .cta-v2 > .btn { grid-column: 2; grid-row: 1; }
  .cta-v2-icons { grid-column: 1 / -1; grid-row: 2; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.22); }
  .cta-v2-icon span { max-width: 150px; }
  .cta-v2 h3 { font-size: 26px; }
  .cta-v2 p { font-size: 15px; }
}
@media (max-width: 980px) { .cta-v2-icon span { text-align: left; } .cta-v2-icon { gap: 10px; } }

/* ===== Error pages (404 / 419 / 500 / 503) ===== */
.error-page { padding: 72px 0 88px; background: linear-gradient(180deg, #fff 0%, var(--gray-100) 100%); }
.error-wrap { max-width: 760px; text-align: center; }
.error-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(88px, 18vw, 150px); line-height: .9;
  letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 2px var(--gray-300);
  background: linear-gradient(180deg, var(--red) 0%, var(--red) 55%, transparent 55%); -webkit-background-clip: text; background-clip: text; margin-bottom: 18px; }
.error-page .eyebrow { justify-content: center; }
.error-page h1 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 12px; }
.error-lead { color: var(--gray-700); font-size: 16.5px; max-width: 560px; margin: 0 auto 30px; }
.error-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; text-align: left; margin-bottom: 30px; }
.error-link { display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow-sm); transition: border-color var(--transition), transform var(--transition-fast), box-shadow var(--transition); }
.error-link:hover { border-color: rgba(226,35,26,.35); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.error-link .icon-badge { width: 40px; height: 40px; border-radius: 10px; background: rgba(226,35,26,.1); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.error-link .icon-badge svg { width: 19px; height: 19px; }
.error-link > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.error-link strong { font-size: 15px; color: var(--ink); }
.error-link small { font-size: 12.5px; color: var(--gray-500); }
.error-link > svg { width: 18px; height: 18px; color: var(--gray-300); }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.error-standalone .error-page { min-height: 100vh; display: flex; align-items: center; }
.error-logo { height: 40px; width: auto; margin: 0 auto 32px; }
@media (max-width: 768px) {
  .error-page { padding: 44px 0 56px; }
  .error-links { grid-template-columns: 1fr; }
  .error-actions { flex-direction: column; }
  .error-actions .btn { width: 100%; justify-content: center; min-height: 52px; }
}

/* ===== Contact: enquiry-sent confirmation ===== */
#enquiry { scroll-margin-top: 96px; }
.enquiry-sent { text-align: center; padding: 18px 6px 6px; animation: slideUp .45s ease both; }
.enquiry-sent-icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; background: #e7f7ee; color: #157347;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px rgba(21,115,71,.07); }
.enquiry-sent-icon svg { width: 30px; height: 30px; stroke-width: 2.6; }
.enquiry-sent h2 { font-size: clamp(22px, 3vw, 26px); margin-bottom: 6px; }
.enquiry-sent > p { color: var(--gray-700); margin-bottom: 22px; }
.enquiry-steps { list-style: none; counter-reset: step; text-align: left; display: grid; gap: 10px; margin: 0 0 24px; }
.enquiry-steps li { counter-increment: step; position: relative; padding: 12px 14px 12px 50px; background: var(--gray-100); border-radius: var(--radius); font-size: 14px; color: var(--gray-700); line-height: 1.5; }
.enquiry-steps li::before { content: counter(step); position: absolute; left: 14px; top: 12px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--red); color: var(--white); font-weight: 700; font-size: 12.5px; display: flex; align-items: center; justify-content: center; }
.enquiry-steps strong { color: var(--ink); }
.enquiry-sent-actions { display: flex; flex-direction: column; gap: 10px; }
.enquiry-sent-actions .btn { justify-content: center; min-height: 50px; }

/* Machine pages: quote + WhatsApp side by side */
.machine-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-whatsapp svg { color: #25d366; }
.btn-whatsapp:hover { border-color: #25d366; }
@media (max-width: 768px) {
  .machine-actions { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
  .machine-actions .btn { width: 100%; justify-content: center; min-height: 52px; padding-left: 12px; padding-right: 12px; }
}
/* Long machine names in the interest dropdown must not widen the layout */
.contact-grid > *, .form-row > * { min-width: 0; }
.form-group select { width: 100%; max-width: 100%; min-width: 0; text-overflow: ellipsis; }

/* ===== Keyboard & screen-reader access ===== */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--red); color: var(--white);
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; font-size: 14px; transition: top .15s ease; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
/* Desktop dropdowns open for keyboard focus too, not only mouse hover */
@media (min-width: 981px) {
  .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
}
@media (min-width: 981px) { .dropdown-menu .dropdown-all { display: none; } }

/* ===== Machine finder ("What do you want to make?") ===== */
.finder { background: var(--white); }
.finder-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.finder-tile { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--gray-100); border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow-sm); transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition-fast); }
.finder-tile:hover { border-color: rgba(226,35,26,.4); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.finder-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(226,35,26,.1); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background var(--transition), color var(--transition); }
.finder-tile:hover .finder-icon { background: var(--red); color: var(--white); }
.finder-icon svg { width: 21px; height: 21px; }
.finder-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.finder-text strong { font-size: 15px; line-height: 1.3; color: var(--ink); }
.finder-text small { font-size: 12.5px; color: var(--gray-500); line-height: 1.4; }
.finder-text em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--red-dark); display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; }
.finder-text em svg { width: 14px; height: 14px; transition: transform var(--transition-fast); }
.finder-tile:hover .finder-text em svg { transform: translateX(3px); }
.finder-help { text-align: center; margin-top: 26px; color: var(--gray-700); font-size: 15px; }
.finder-help a { color: var(--red-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) { .finder-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .finder-grid { gap: 10px; }
  .finder-tile { flex-direction: column; gap: 10px; padding: 14px; min-height: 48px; }
  .finder-icon { width: 38px; height: 38px; }
  .finder-text strong { font-size: 14px; }
  .finder-text small { display: none; }
}

/* ===== How it works (3 steps) ===== */
.steps-section { background: var(--gray-100); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; margin: 0 0 8px; }
.steps::before { content: ''; position: absolute; top: 57px; left: 17%; right: 17%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gray-300) 0 8px, transparent 8px 16px); }
.step { position: relative; background: var(--white); border-radius: var(--radius-lg); padding: 28px 24px; text-align: center; box-shadow: var(--shadow-sm); }
.step-num { position: absolute; top: 14px; right: 16px; font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--gray-100); }
.step-icon { position: relative; width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; background: var(--red); color: var(--white);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px var(--white), var(--shadow-glow-red); }
.step-icon svg { width: 24px; height: 24px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--gray-700); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .steps::before { display: none; }
  .step { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; text-align: left; padding: 18px; }
  .step-icon { grid-row: span 2; width: 52px; height: 52px; margin: 0; box-shadow: 0 0 0 6px var(--white), var(--shadow-glow-red); }
  .step h3 { font-size: 16px; margin-bottom: 4px; align-self: end; padding-right: 28px; }
  .step p { font-size: 14px; }
  .step-num { font-size: 30px; top: 10px; right: 12px; }
}
.finder-cta { margin-top: 22px; }

/* ===== Laser page: "What can you do with laser marking?" ===== */
.laser-uses { background: var(--gray-100); }
.uses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.use-card { background: var(--white); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: box-shadow var(--transition), transform var(--transition-fast); }
.use-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.use-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(226,35,26,.1); color: var(--red);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.use-icon svg { width: 22px; height: 22px; }
.use-card h3 { font-size: 18px; margin-bottom: 8px; }
.use-card p { color: var(--gray-700); font-size: 14.5px; line-height: 1.6; margin-bottom: 12px; flex: 1; }
.use-who { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 14px; }
.use-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--red-dark);
  padding-top: 12px; border-top: 1px solid var(--gray-100); }
.use-link svg { width: 15px; height: 15px; transition: transform var(--transition-fast); }
.use-link:hover svg { transform: translateX(3px); }

.uses-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.materials, .laser-benefits { background: var(--white); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.laser-benefits { background: var(--black); color: rgba(255,255,255,.82); }
.materials h3, .laser-benefits h3 { font-size: 18px; margin-bottom: 14px; }
.laser-benefits h3 { color: var(--white); }
.materials ul, .laser-benefits ul { list-style: none; margin: 0; padding: 0; }
.materials li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--gray-100); font-size: 14.5px; }
.materials li:last-child { border-bottom: none; }
.materials li a { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--red-dark); white-space: nowrap; }
.materials li a svg { width: 14px; height: 14px; }
.laser-benefits li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; font-size: 14.5px; line-height: 1.5; }
.laser-benefits li svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; margin-top: 1px; }
.laser-benefits strong { color: var(--white); }

@media (max-width: 980px) { .uses-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  .uses-grid { grid-template-columns: 1fr; gap: 12px; }
  .use-card { padding: 18px; display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; }
  .use-icon { width: 42px; height: 42px; margin: 0; }
  .use-card h3 { font-size: 16px; margin-bottom: 4px; align-self: center; }
  .use-card p, .use-who, .use-link { grid-column: 1 / -1; }
  .use-card p { margin-top: 10px; font-size: 14px; }
  .uses-bottom { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
  .materials, .laser-benefits { padding: 18px; }
  .materials li { font-size: 14px; }
}
.laser-uses .cat-cta { margin-top: 28px; }
/* Home page copy of the laser section: compact on phones (full detail lives on /laser-machines) */
@media (max-width: 768px) {
  .laser-uses.on-home .uses-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .laser-uses.on-home .use-card { display: flex; flex-direction: column; padding: 14px; }
  .laser-uses.on-home .use-icon { width: 38px; height: 38px; margin-bottom: 10px; }
  .laser-uses.on-home .use-card h3 { font-size: 14px; line-height: 1.3; margin-bottom: 8px; align-self: auto; }
  .laser-uses.on-home .use-card p, .laser-uses.on-home .use-who { display: none; }
  .laser-uses.on-home .use-link { margin-top: auto; padding-top: 8px; font-size: 12.5px; }
  .laser-uses.on-home .materials { display: none; }
}

/* ===== Rendering performance =====
   Long pages: let the browser skip style/layout/paint for sections that are
   off-screen until the visitor scrolls near them. The intrinsic size keeps
   the scrollbar stable. The first section (hero) always renders. */
main > section:not(:first-child), .site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

/* Small red eyebrow labels on light-grey sections: darker red for AA contrast */
.laser-uses .eyebrow, .steps-section .eyebrow, .rc-band-alt .eyebrow { color: var(--red-dark); }
.laser-uses .eyebrow::before, .steps-section .eyebrow::before, .rc-band-alt .eyebrow::before { background: var(--red-dark); }
/* Anchor jumps (#fiber, #uvdtf, …) clear the sticky header */
.machine-detail[id] { scroll-margin-top: 96px; }
@media (max-width: 768px) { .machine-detail[id], #enquiry { scroll-margin-top: 76px; } }

/* ===== Very small phones (320–380px) ===== */
@media (max-width: 380px) {
  /* Top bar: just the tap-to-call number, centred */
  .tagline-short { display: none; }
  .topbar .container { justify-content: center; }
  /* Machine pages: stack Quote / WhatsApp so neither button is squeezed */
  .machine-actions { grid-template-columns: 1fr; }
  .machine-detail > * { min-width: 0; }
  .btn { white-space: normal; text-align: center; }
}
