/* =============================================================
   SHRI SATYAM STEEL — Homepage Stylesheet
   -------------------------------------------------------------
   1.  Design tokens (colours from the logo, type, spacing)
   2.  Reset & base
   3.  Utilities (container, buttons, section heads)
   4.  Top bar
   5.  Navbar (smart sticky, dropdowns, mobile drawer)
   6.  Hero slider
   7.  About
   8.  Products
   9.  Why choose us
   10. Industries
   11. Brand marquee
   12. Certifications
   13. Testimonials
   14. Contact CTA
   15. Footer
   16. Floating buttons
   17. Missing-image fallback
   18. Responsive breakpoints
   19. Reduced motion
   ============================================================= */


/* =============================================================
   1. DESIGN TOKENS
   Palette extracted from the SSS logo:
   - Primary  : logo "S" blue      #0070C0
   - Secondary: wordmark navy      #15217E
   - Accent   : logo steel grey    #7B7B7B (+ light sky tint for highlights)
   ============================================================= */
:root {
  --primary: #0070c0;
  --primary-dark: #005a9c;
  --primary-light: #e6f1fa;
  --secondary: #15217e;
  --secondary-dark: #0d1557;
  --accent: #7b7b7b;
  --accent-light: #d9dde3;
  --sky: #4fb3ff;

  --text: #1e2433;
  --text-muted: #5b6475;
  --white: #ffffff;
  --bg-tint: #f4f7fb;
  --border: #e3e8ef;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(21, 33, 126, 0.06);
  --shadow: 0 10px 30px rgba(21, 33, 126, 0.1);
  --shadow-lg: 0 20px 50px rgba(21, 33, 126, 0.18);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --nav-h: 80px;
  --container: 1240px;
}


/* =============================================================
   2. RESET & BASE
   ============================================================= */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  overflow-x: clip; /* "clip" (not hidden) keeps position:sticky working */
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--secondary);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 2000;
  background: var(--secondary); color: var(--white);
  padding: 0.6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }


/* =============================================================
   3. UTILITIES
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding: 100px 0; position: relative; }
.section--tint { background: var(--bg-tint); }

/* Section heading block */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }

.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 12px;
}
.section-tag::before {
  content: ""; width: 28px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--sky));
}
.section-tag--light { color: var(--sky); }

.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; margin-bottom: 16px; }
.section-title span { color: var(--primary); }
.section-title--light { color: var(--white); }
.section-title--light span { color: var(--sky); }

.section-sub { color: var(--text-muted); font-size: 1.05rem; }

.section-head--light .section-title { color: var(--white); }
.section-head--light .section-title span { color: var(--sky); }
.section-head--light .section-sub { color: rgba(255, 255, 255, 0.75); }
.section-head--light .section-tag { color: var(--sky); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  border-radius: 50px;
  border: 2px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn i { transition: transform 0.3s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 112, 192, 0.3);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 112, 192, 0.45); }

.btn--ghost { border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--secondary); transform: translateY(-3px); }

.btn--sm {
  padding: 9px 20px; font-size: 0.85rem;
  background: var(--primary-light); color: var(--primary);
}
.btn--sm:hover { background: var(--primary); color: var(--white); }


/* =============================================================
   4. TOP BAR (non-sticky — scrolls away)
   ============================================================= */
.topbar {
  background: var(--secondary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 44px; flex-wrap: wrap;
}
.topbar__greeting i { color: var(--sky); margin-right: 6px; }
.topbar__info { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar__sep { opacity: 0.45; }
.topbar__info li { display: flex; align-items: center; gap: 8px; }
.topbar__info i { color: var(--sky); }
.topbar__info a:hover { color: var(--sky); }

.topbar__social { display: flex; gap: 6px; }
.topbar__social a {
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.topbar__social a:hover { background: var(--primary); transform: translateY(-2px); }


/* =============================================================
   5. NAVBAR (smart sticky)
   - .navbar is position:sticky so it naturally sits under the top bar
   - JS adds .is-scrolled (shadow) and .is-hidden (slide up) classes
   ============================================================= */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  height: var(--nav-h);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.navbar.is-scrolled { box-shadow: 0 6px 24px rgba(21, 33, 126, 0.1); }
.navbar.is-hidden { transform: translateY(-100%); }

.navbar__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

/* Logo */
.navbar__brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.navbar__brand img { width: 52px; height: auto; transition: transform 0.4s var(--ease); }
.navbar__brand:hover img { transform: rotate(-6deg) scale(1.05); }
.navbar__brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.navbar__brand-text strong {
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 800;
  color: var(--secondary); letter-spacing: 0.02em; text-transform: uppercase;
}
.navbar__brand-text small { font-size: 0.72rem; color: var(--accent); letter-spacing: 0.04em; }

/* Links */
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; display: flex; align-items: center; }

.nav-link {
  position: relative;
  display: block; padding: 10px 14px;
  font-family: var(--font-head); font-weight: 500; font-size: 0.95rem;
  color: var(--secondary);
}
/* animated underline */
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-link:hover,
.nav-link.active { color: var(--primary); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-link--cta {
  margin-left: 8px; padding: 10px 22px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white) !important; border-radius: 50px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 112, 192, 0.35); }

/* Dropdown toggle (chevron button) */
.dropdown-toggle {
  display: grid; place-items: center;
  width: 24px; height: 24px; margin-left: -10px;
  font-size: 0.7rem; color: var(--secondary);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.has-dropdown:hover .dropdown-toggle,
.has-dropdown.open .dropdown-toggle { color: var(--primary); transform: rotate(180deg); }

/* Dropdown panel (desktop) */
.dropdown-menu {
  position: absolute; top: 100%; left: 0;
  min-width: 270px; padding: 10px;
  background: var(--white);
  border-radius: var(--radius);
  border-top: 3px solid var(--primary);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.has-dropdown:hover > .dropdown-menu,
.has-dropdown:focus-within > .dropdown-menu,
.has-dropdown.open > .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--text);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), padding 0.25s var(--ease);
}
.dropdown-menu a i { font-size: 0.75rem; color: var(--primary); }
.dropdown-menu a:hover { background: var(--primary-light); color: var(--primary); padding-left: 18px; }

/* Mobile-only drawer parts (hidden on desktop) */
.nav-menu__head,
.nav-menu__foot,
.hamburger { display: none; }

/* Animated hamburger icon */
.hamburger {
  position: relative; width: 44px; height: 44px;
  border-radius: 10px; background: var(--primary-light);
  z-index: 1102;
}
.hamburger span {
  position: absolute; left: 11px; width: 22px; height: 2.5px; border-radius: 2px;
  background: var(--secondary);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), top 0.35s var(--ease), width 0.35s var(--ease);
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; width: 16px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger:hover span:nth-child(2) { width: 22px; }
.hamburger.is-active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.hamburger.is-active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(13, 21, 87, 0.55);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.nav-overlay.is-visible { opacity: 1; }


/* =============================================================
   6. HERO SLIDER
   ============================================================= */
.hero { position: relative; background: var(--secondary-dark); color: var(--white); }

.hero-swiper { height: clamp(560px, 88vh, 820px); }

.hero-slide { position: relative; display: flex; align-items: center; overflow: hidden; }

/* Background image with slow Ken Burns zoom on the active slide */
.hero-slide__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 7s linear;
}
.swiper-slide-active .hero-slide__bg { transform: scale(1); }

/* Brand-coloured overlay so text stays readable over any photo */
.hero-slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(13, 21, 87, 0.94) 0%, rgba(21, 33, 126, 0.78) 45%, rgba(0, 112, 192, 0.25) 100%);
}

.hero-slide__content { position: relative; z-index: 2; padding-bottom: 110px; }
.hero-slide__content > * { max-width: 680px; }

.hero-tag {
  display: inline-block; padding: 6px 16px; margin-bottom: 20px;
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid rgba(79, 179, 255, 0.6); border-radius: 50px;
  color: var(--sky); background: rgba(79, 179, 255, 0.1);
}
.hero-title {
  font-size: clamp(2.1rem, 5.2vw, 3.8rem); font-weight: 800;
  color: var(--white); margin-bottom: 20px;
}
.hero-title span { display: block; color: var(--sky); }
.hero-text { font-size: clamp(1rem, 1.4vw, 1.12rem); color: rgba(255, 255, 255, 0.85); margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Animated text entry: elements start hidden, animate in on the active slide */
.hero-tag, .hero-title, .hero-text, .hero-actions { opacity: 0; transform: translateY(40px); }
.swiper-slide-active .hero-tag     { animation: heroIn 0.8s var(--ease) 0.2s forwards; }
.swiper-slide-active .hero-title   { animation: heroIn 0.8s var(--ease) 0.4s forwards; }
.swiper-slide-active .hero-text    { animation: heroIn 0.8s var(--ease) 0.6s forwards; }
.swiper-slide-active .hero-actions { animation: heroIn 0.8s var(--ease) 0.8s forwards; }

@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

/* Slider controls */
.hero-controls {
  position: absolute; left: 0; right: 0; bottom: 110px; z-index: 5;
  display: flex; align-items: center; gap: 18px;
}
.hero-nav {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4); color: var(--white);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.hero-nav:hover { background: var(--primary); border-color: var(--primary); transform: scale(1.08); }

.hero-pagination { display: flex; gap: 8px; width: auto !important; }
.hero-pagination .swiper-pagination-bullet {
  width: 10px; height: 10px; margin: 0 !important;
  background: rgba(255, 255, 255, 0.5); opacity: 1;
  border-radius: 10px; transition: width 0.35s var(--ease), background-color 0.35s var(--ease);
}
.hero-pagination .swiper-pagination-bullet-active { width: 34px; background: var(--sky); }

/* Decorative SVGs */
.hero-shape--tri {
  position: absolute; z-index: 2; right: 6%; top: 16%;
  width: clamp(180px, 26vw, 380px); color: var(--sky);
  pointer-events: none; animation: floatY 7s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(3deg); }
}
.hero-wave {
  position: absolute; left: 0; bottom: -1px; z-index: 4;
  width: 100%; height: clamp(50px, 8vw, 110px); pointer-events: none;
}


/* =============================================================
   7. ABOUT
   ============================================================= */
.about__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}

.about__media { position: relative; padding: 0 40px 60px 0; }
.about__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--primary-light); }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.about__img:hover img { transform: scale(1.06); }
.about__img--main { aspect-ratio: 4 / 4.4; }

/* Brand panel (replaces the main About photo on the home page) */
.about__brand {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 4.4; border-radius: var(--radius-lg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 150px 36px 36px;
  color: var(--white); box-shadow: var(--shadow-lg);
  background:
    radial-gradient(circle at 85% 15%, rgba(79, 179, 255, 0.35), transparent 55%),
    linear-gradient(145deg, var(--secondary-dark), var(--secondary) 45%, var(--primary));
}
.about__brand-mark {
  position: absolute; right: -12%; top: 18%; z-index: -1;
  width: 78%; opacity: 0.08; filter: brightness(0) invert(1);
  transition: transform 0.8s var(--ease);
}
.about__brand:hover .about__brand-mark { transform: scale(1.05) rotate(-3deg); }
.about__brand-tri {
  position: absolute; left: -18%; bottom: -14%; z-index: -1;
  width: 70%; color: var(--sky); opacity: 0.25;
}
.about__brand-head { display: flex; align-items: center; gap: 16px; }
.about__brand-logo {
  flex-shrink: 0; display: grid; place-items: center;
  width: 76px; height: 76px; border-radius: 20px;
  background: var(--white); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}
.about__brand-head strong { display: block; font-family: var(--font-head); font-size: 1.6rem; line-height: 1.2; }
.about__brand-head span { font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.8; }
.about__brand-list { display: grid; gap: 10px; width: 46%; }
.about__brand-list li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 500; }
.about__brand-list i {
  flex-shrink: 0; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  font-size: 0.8rem; background: rgba(255, 255, 255, 0.15);
}
.about__img--sub {
  position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1;
  border: 8px solid var(--white); z-index: 2;
}

.about__badge {
  position: absolute; left: -20px; top: 40px; z-index: 3;
  display: flex; flex-direction: column; align-items: center;
  padding: 18px 24px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white); box-shadow: var(--shadow-lg);
  animation: floatY 6s ease-in-out infinite;
}
.about__badge strong { font-family: var(--font-head); font-size: 2rem; line-height: 1; }
.about__badge span { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }

.about__dots {
  position: absolute; left: -30px; bottom: 0; width: 120px; z-index: -1;
  color: var(--accent-light);
}

.about__content p { color: var(--text-muted); margin-bottom: 16px; }
.about__content p strong { color: var(--secondary); }

.about__cards { display: grid; gap: 14px; margin: 28px 0 32px; }
.mini-card {
  display: flex; gap: 16px; padding: 18px 20px;
  border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--white);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.mini-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateX(6px); }
.mini-card > i {
  flex-shrink: 0; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--primary-light); color: var(--primary); font-size: 1.1rem;
}
.mini-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.mini-card p { font-size: 0.92rem; margin: 0 !important; }

/* Stats strip */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 80px; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  box-shadow: var(--shadow-lg);
}
.stat {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 36px 16px; color: var(--white);
  position: relative;
}
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 25%; height: 50%;
  width: 1px; background: rgba(255, 255, 255, 0.2);
}
.stat i { font-size: 1.6rem; color: var(--sky); margin-bottom: 10px; }
.stat strong { font-family: var(--font-head); font-size: 2.4rem; line-height: 1.1; }
.stat > span { font-size: 0.9rem; opacity: 0.85; }


/* =============================================================
   8. PRODUCTS
   ============================================================= */
/* Flex (not grid) so an incomplete last row stays centred.
   --cols = cards per row; changed at each breakpoint below. */
.products__grid {
  --cols: 5; --gap: 22px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap);
}

.product-card {
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }

.product-card__img {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
}
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
/* gradient sweep on hover */
.product-card__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(21, 33, 126, 0.55));
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.product-card:hover .product-card__img img { transform: scale(1.12) rotate(1deg); }
.product-card:hover .product-card__img::after { opacity: 1; }

.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.product-card__body h3 {
  font-size: 1.1rem; margin-bottom: 8px;
  transition: color 0.3s var(--ease);
}
.product-card:hover h3 { color: var(--primary); }
.product-card__body p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 18px; flex: 1; }
.product-card__body .btn { align-self: flex-start; }
.product-card:hover .btn--sm { background: var(--primary); color: var(--white); }


/* ---------- Materials & grades (inside the Products section) ---------- */
.materials { margin-top: 90px; }
.materials .section-head { margin-bottom: 44px; }

.materials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.material-card {
  display: flex; flex-direction: column;
  padding: 30px 28px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.material-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary); }

.material-card__head { display: flex; gap: 16px; margin-bottom: 22px; }
.material-card__icon {
  flex-shrink: 0; display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 16px;
  font-size: 1.3rem; color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 8px 18px rgba(0, 112, 192, 0.3);
  transition: transform 0.4s var(--ease);
}
.material-card:hover .material-card__icon { transform: rotate(-8deg) scale(1.06); }
.material-card__head h3 { font-size: 1.2rem; margin-bottom: 4px; }
.material-card__head p { font-size: 0.88rem; color: var(--text-muted); }

/* Grade "chips" */
.grade-list { display: flex; flex-wrap: wrap; gap: 8px; }
.grade-list li {
  padding: 6px 13px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 500;
  color: var(--secondary); background: var(--primary-light);
  border: 1px solid transparent;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.grade-list li:hover {
  background: var(--white); color: var(--primary);
  border-color: var(--primary); transform: translateY(-2px);
}
.grade-list li.is-featured {
  color: var(--white); font-weight: 600;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.grade-list li.is-featured:hover { color: var(--white); border-color: var(--secondary); }

/* Featured PH grades banner (17-4 PH / 15-5 PH) */
.ph-feature {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center;
  margin-bottom: 30px; padding: 30px 32px; border-radius: var(--radius-lg);
  color: var(--white);
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  box-shadow: var(--shadow-lg);
}
.ph-feature__badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; margin-bottom: 12px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.16);
}
.ph-feature__intro h3 { font-size: 1.45rem; margin-bottom: 8px; color: var(--white); }
.ph-feature__intro p { font-size: 0.93rem; opacity: 0.9; }
.ph-feature__grades { display: grid; gap: 12px; }
.ph-grade {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 18px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25);
}
.ph-grade strong { font-family: "Poppins", sans-serif; font-size: 1.25rem; }
.ph-grade span { font-size: 0.82rem; opacity: 0.85; }
.ph-feature__grades .btn { justify-self: start; background: var(--white); color: var(--secondary); }
.ph-feature__grades .btn:hover { background: var(--primary-light); }

.materials__note {
  margin-top: 30px; padding: 16px 22px;
  border-radius: var(--radius); border: 1px dashed var(--accent-light);
  background: var(--white); text-align: center;
  font-size: 0.95rem; color: var(--text-muted);
}
.materials__note i { color: var(--primary); margin-right: 6px; }
.materials__note a { color: var(--primary); font-weight: 600; text-decoration: underline; }
.materials__note a:hover { color: var(--secondary); }

/* =============================================================
   9. WHY CHOOSE US
   ============================================================= */
.why {
  background: linear-gradient(160deg, var(--secondary-dark) 0%, var(--secondary) 55%, var(--primary-dark) 100%);
  overflow: hidden;
}
.why__bg {
  position: absolute; right: -120px; bottom: -140px; width: 560px;
  color: rgba(255, 255, 255, 0.04); pointer-events: none;
}

.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }

.why-card {
  position: relative; padding: 36px 30px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
/* glowing corner that expands on hover */
.why-card::before {
  content: ""; position: absolute; top: -60px; right: -60px;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 179, 255, 0.35), transparent 70%);
  transition: transform 0.6s var(--ease);
}
.why-card:hover { transform: translateY(-8px); background: rgba(255, 255, 255, 0.1); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25); }
.why-card:hover::before { transform: scale(3); }

.why-card__icon {
  position: relative; display: grid; place-items: center;
  width: 64px; height: 64px; margin-bottom: 22px;
  border-radius: 18px; font-size: 1.6rem; color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--sky));
  box-shadow: 0 10px 24px rgba(0, 112, 192, 0.45);
  transition: transform 0.5s var(--ease);
}
.why-card:hover .why-card__icon { transform: rotateY(180deg); }
.why-card:hover .why-card__icon i { transform: rotateY(180deg); } /* keeps icon readable while flipped */
.why-card h3 { position: relative; color: var(--white); font-size: 1.2rem; margin-bottom: 10px; }
.why-card p { position: relative; font-size: 0.95rem; }


/* =============================================================
   10. INDUSTRIES (masonry-style grid using spans + dense flow)
   ============================================================= */
.industries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 18px;
}
.industry-tile {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  isolation: isolate;
}
.industry-tile--tall { grid-row: span 2; }
.industry-tile--wide { grid-column: span 2; }

.industry-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.industry-tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(13, 21, 87, 0.05) 30%, rgba(13, 21, 87, 0.85));
  transition: background 0.4s var(--ease);
}
.industry-tile:hover img { transform: scale(1.1); }
.industry-tile:hover::after {
  background: linear-gradient(180deg, rgba(0, 112, 192, 0.35) 0%, rgba(13, 21, 87, 0.92));
}

.industry-tile__label {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  transition: transform 0.4s var(--ease);
}
.industry-tile__label i {
  display: grid; place-items: center; flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.15); color: var(--white);
  transition: background-color 0.4s var(--ease);
}
.industry-tile__label h3 { color: var(--white); font-size: 1.05rem; }
.industry-tile:hover .industry-tile__label { transform: translateY(-6px); }
.industry-tile:hover .industry-tile__label i { background: var(--primary); }


/* =============================================================
   11. BRAND MARQUEE (infinite CSS ticker)
   JS clones the list once; the track animates -50% for a seamless loop.
   ============================================================= */
.brands { padding: 60px 0; background: var(--white); border-top: 1px solid var(--border); }
.brands__title {
  text-align: center; margin-bottom: 30px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex; width: max-content; gap: 30px;
  animation: marquee 35s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li {
  display: grid; place-items: center;
  width: 180px; height: 90px; padding: 16px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-tint);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.marquee__track li:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.marquee__track img {
  max-height: 56px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: 0.7;
  transition: filter 0.3s var(--ease), opacity 0.3s var(--ease);
}
.marquee__track li:hover img { filter: grayscale(0); opacity: 1; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 15px)); } /* -15px = half the gap, keeps the loop seamless */
}


/* =============================================================
   12. CERTIFICATIONS
   ============================================================= */
.certs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

.cert-card {
  display: block; text-align: center;
  padding: 16px 16px 22px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.cert-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary); }

.cert-card__img {
  position: relative; aspect-ratio: 600 / 849; overflow: hidden;
  border-radius: var(--radius-sm); margin-bottom: 18px;
  background: var(--bg-tint); border: 1px solid var(--border);
}
.cert-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.6s var(--ease); }
.cert-card:hover .cert-card__img img { transform: scale(1.05); }

.cert-card__hover {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; color: var(--white);
  background: rgba(21, 33, 126, 0.75);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.cert-card__hover i { font-size: 1.4rem; }
.cert-card:hover .cert-card__hover,
.cert-card:focus-visible .cert-card__hover { opacity: 1; }

.cert-card h3 { font-size: 1.1rem; margin-bottom: 2px; }
.cert-card p { font-size: 0.88rem; color: var(--text-muted); }

.certs__cta { text-align: center; margin-top: 48px; }


/* =============================================================
   13. TESTIMONIALS
   ============================================================= */
.testimonial-swiper { padding: 10px 6px 60px !important; }
.testimonial-swiper .swiper-slide { height: auto; }

.testimonial {
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  padding: 34px 30px 28px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--primary); }

.testimonial__quote { position: absolute; right: 26px; top: 24px; font-size: 2.6rem; color: var(--primary-light); }
.testimonial__stars { color: #f5b301; font-size: 0.85rem; display: flex; gap: 3px; margin-bottom: 14px; }
.testimonial blockquote { flex: 1; color: var(--text-muted); font-style: italic; margin-bottom: 24px; }

.testimonial figcaption {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px; border-top: 1px dashed var(--border);
}
.testimonial__avatar {
  display: grid; place-items: center; flex-shrink: 0;
  width: 50px; height: 50px; border-radius: 50%;
  font-family: var(--font-head); font-weight: 700; color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.testimonial figcaption strong { display: block; font-family: var(--font-head); color: var(--secondary); }
.testimonial figcaption small { color: var(--text-muted); font-size: 0.82rem; }

.testimonial-pagination { bottom: 10px !important; }
.testimonial-pagination .swiper-pagination-bullet {
  width: 10px; height: 10px; background: var(--accent-light); opacity: 1;
  transition: width 0.35s var(--ease), background-color 0.35s var(--ease); border-radius: 10px;
}
.testimonial-pagination .swiper-pagination-bullet-active { width: 30px; background: var(--primary); }


/* =============================================================
   14. CONTACT CTA (no forms)
   ============================================================= */
.contact {
  padding-top: 140px;
  background:
    radial-gradient(circle at 15% 20%, rgba(79, 179, 255, 0.18), transparent 40%),
    linear-gradient(135deg, var(--secondary-dark), var(--secondary) 60%, var(--primary-dark));
  color: rgba(255, 255, 255, 0.82);
  overflow: hidden;
}
.contact__wave { position: absolute; top: -1px; left: 0; width: 100%; height: 70px; }

.contact__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.contact__content > p { font-size: 1.08rem; margin-bottom: 34px; max-width: 520px; }

.contact__actions { display: flex; flex-direction: column; gap: 16px; max-width: 440px; }

.cta-btn {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 18px;
  padding: 18px 24px; border-radius: var(--radius);
  color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 1.1rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.cta-btn i { font-size: 2rem; transition: transform 0.4s var(--ease); }
.cta-btn span { display: flex; flex-direction: column; line-height: 1.3; word-break: break-word; }
.cta-btn small { font-family: var(--font-body); font-weight: 500; font-size: 0.8rem; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.08em; }
/* shine sweep on hover */
.cta-btn::after {
  content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg); transition: left 0.7s var(--ease);
}
.cta-btn:hover { transform: translateY(-4px) scale(1.02); }
.cta-btn:hover::after { left: 130%; }
.cta-btn:hover i { transform: scale(1.15) rotate(-8deg); }

.cta-btn--whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35); }
.cta-btn--email { background: linear-gradient(135deg, var(--primary), var(--sky)); box-shadow: 0 12px 28px rgba(0, 112, 192, 0.4); }
.cta-btn--call { background: linear-gradient(135deg, var(--secondary), var(--primary-dark)); box-shadow: 0 12px 28px rgba(21, 33, 126, 0.45); }

.contact__card {
  padding: 30px; border-radius: var(--radius-lg);
  background: var(--white); color: var(--text); box-shadow: var(--shadow-lg);
}
.contact__list { display: grid; gap: 18px; margin-bottom: 24px; }
.contact__list li { display: flex; gap: 14px; }
.contact__list li > i {
  flex-shrink: 0; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--primary-light); color: var(--primary);
}
.contact__list h3 { font-size: 0.95rem; margin-bottom: 2px; }
.contact__list p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; }
.contact__list a:hover { color: var(--primary); }

.contact__map { border-radius: var(--radius); overflow: hidden; height: 220px; background: var(--bg-tint); }
.contact__map iframe { width: 100%; height: 100%; border: 0; }


/* =============================================================
   15. FOOTER
   ============================================================= */
.footer { background: #0a0f3d; color: rgba(255, 255, 255, 0.7); font-size: 0.93rem; }

.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px;
  padding-top: 80px; padding-bottom: 50px;
}
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__brand img { width: 52px; background: var(--white); border-radius: 10px; padding: 5px; }
.footer__brand span { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--white); text-transform: uppercase; }
.footer__about p { margin-bottom: 22px; }

.footer__col h3 {
  position: relative; color: var(--white); font-size: 1.1rem;
  margin-bottom: 22px; padding-bottom: 12px;
}
.footer__col h3::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--sky));
}

.footer__links li + li { margin-top: 10px; }
.footer__links a {
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer__links a::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.75rem; color: var(--primary); }
.footer__links a:hover { color: var(--white); transform: translateX(5px); }

.footer__contact li { display: flex; gap: 12px; }
.footer__contact li + li { margin-top: 14px; }
.footer__contact i { color: var(--sky); margin-top: 5px; }
.footer__contact a:hover { color: var(--white); }

.footer__social { display: flex; gap: 10px; }
.footer__social a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); color: var(--white);
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer__social a:hover { background: var(--primary); transform: translateY(-4px); }

.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer__bottom-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding-block: 22px; font-size: 0.88rem;
}
.footer__bottom a { color: var(--sky); font-weight: 600; }
.footer__bottom a:hover { color: var(--white); }


/* =============================================================
   16. FLOATING BUTTONS
   ============================================================= */
.float-whatsapp,
.back-to-top {
  position: fixed; right: 22px; z-index: 900;
  display: grid; place-items: center; border-radius: 50%;
  color: var(--white); box-shadow: var(--shadow-lg);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), visibility 0.35s;
}
.float-whatsapp {
  bottom: 90px; width: 56px; height: 56px; font-size: 1.8rem;
  background: #25d366;
  animation: pulse 2.2s infinite;
}
.float-whatsapp:hover { transform: scale(1.1); }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.back-to-top {
  bottom: 24px; width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0; visibility: hidden; transform: translateY(20px);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }


/* =============================================================
   17. MISSING-IMAGE FALLBACK
   script.js adds .img-missing to <img> tags whose file is not yet
   uploaded, so placeholders show a clean gradient instead of a
   broken-image icon. Remove nothing — it is harmless once images exist.
   ============================================================= */
img.img-missing { visibility: hidden; }


/* =============================================================
   18. RESPONSIVE BREAKPOINTS
   ============================================================= */

/* ---- ≤ 1199px : tighten desktop nav ---- */
@media (max-width: 1199px) {
  .nav-link { padding: 10px 10px; font-size: 0.9rem; }
  .navbar__brand-text small { display: none; }
  .topbar__greeting { display: none; }
  .products__grid { --cols: 4; }
}

/* ---- ≤ 991px : tablet — mobile drawer navigation ---- */
@media (max-width: 991px) {
  :root { --nav-h: 70px; }

  .section { padding: 80px 0; }

  .hamburger { display: block; }

  /* Side drawer */
  .nav-menu {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 1101;
    width: min(340px, 86vw);
    display: flex; flex-direction: column;
    background: var(--white);
    box-shadow: -20px 0 50px rgba(13, 21, 87, 0.25);
    transform: translateX(105%);
    transition: transform 0.45s var(--ease);
    overflow-y: auto;
  }
  .nav-menu.is-open { transform: translateX(0); }

  .nav-menu__head {
    display: flex; align-items: center; gap: 12px;
    padding: 18px 22px; border-bottom: 1px solid var(--border);
    font-family: var(--font-head); font-weight: 600; color: var(--secondary);
  }
  .nav-menu__head img { width: 40px; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 14px; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--border); }
  .nav-link { flex: 1; padding: 14px 10px; font-size: 1rem; }
  .nav-link::after { display: none; }
  .nav-link--cta { margin: 16px 0 6px; text-align: center; }
  .nav-item:last-child { border-bottom: 0; }

  /* staggered slide-in of links when the drawer opens */
  .nav-menu .nav-item { opacity: 0; transform: translateX(30px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
  .nav-menu.is-open .nav-item { opacity: 1; transform: none; }
  .nav-menu.is-open .nav-item:nth-child(1) { transition-delay: 0.10s; }
  .nav-menu.is-open .nav-item:nth-child(2) { transition-delay: 0.15s; }
  .nav-menu.is-open .nav-item:nth-child(3) { transition-delay: 0.20s; }
  .nav-menu.is-open .nav-item:nth-child(4) { transition-delay: 0.25s; }
  .nav-menu.is-open .nav-item:nth-child(5) { transition-delay: 0.30s; }
  .nav-menu.is-open .nav-item:nth-child(6) { transition-delay: 0.35s; }

  .dropdown-toggle {
    width: 40px; height: 40px; margin: 0; border-radius: 10px;
    background: var(--bg-tint); font-size: 0.8rem;
  }
  /* on touch screens only .open rotates the chevron (no hover) */
  .has-dropdown:hover .dropdown-toggle { transform: none; color: var(--secondary); }
  .has-dropdown.open .dropdown-toggle { transform: rotate(180deg); color: var(--primary); }

  /* Accordion-style dropdown (height animated by JS) */
  .dropdown-menu {
    position: static; flex-basis: 100%;
    min-width: 0; padding: 0 0 0 10px;
    box-shadow: none; border: 0; border-radius: 0;
    opacity: 1; visibility: visible; transform: none;
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }
  .has-dropdown:hover > .dropdown-menu,
  .has-dropdown:focus-within > .dropdown-menu { transform: none; }
  .has-dropdown:not(.open) > .dropdown-menu { max-height: 0 !important; }
  .dropdown-menu li:last-child { padding-bottom: 10px; }

  .nav-menu__foot {
    display: flex; flex-direction: column; gap: 10px;
    margin-top: auto; padding: 20px 22px;
    background: var(--bg-tint); font-size: 0.9rem;
  }
  .nav-menu__foot i { color: var(--primary); width: 18px; }

  /* Sections */
  .about__grid { grid-template-columns: 1fr; gap: 50px; }
  .about__media { max-width: 560px; margin-inline: auto; width: 100%; }
  .about__badge { left: 0; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }

  .why__grid { grid-template-columns: repeat(2, 1fr); }

  .materials { margin-top: 70px; }
  .materials__grid { grid-template-columns: 1fr; }
  .ph-feature { grid-template-columns: 1fr; padding: 24px 20px; gap: 20px; }

  .industries__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }

  .certs__grid { grid-template-columns: repeat(2, 1fr); }

  .contact__grid { grid-template-columns: 1fr; gap: 44px; }

  .footer__grid { grid-template-columns: 1fr 1fr; }

  .hero-shape--tri { opacity: 0.5; }
}

/* ---- ≤ 767px : large phones ---- */
@media (max-width: 767px) {
  .topbar__inner { justify-content: center; padding-block: 8px; }
  .topbar__info li:first-child { display: none; }
  .topbar__info { gap: 14px; justify-content: center; }

  .navbar__brand-text strong { font-size: 1.05rem; }

  .products__grid { --cols: 2; --gap: 16px; }
  .product-card__body { padding: 16px; }

  .hero-swiper { height: clamp(560px, 92vh, 720px); }
  .hero-controls { bottom: 80px; }
  .hero-shape--tri { display: none; }
}

/* ---- ≤ 575px : small phones ---- */
@media (max-width: 575px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }

  .topbar__info li:nth-child(3) { display: none; } /* keep phone + socials only */

  .hero-actions .btn { padding: 12px 22px; }

  .about__media { padding: 0 20px 40px 0; }
  .about__brand { padding: 96px 20px 20px; }
  .about__brand-logo { width: 56px; height: 56px; border-radius: 14px; }
  .about__brand-logo img { width: 38px; height: auto; }
  .about__brand-head strong { font-size: 1.15rem; }
  .about__brand-head span { font-size: 0.7rem; }
  .about__brand-list { width: 44%; gap: 6px; }
  .about__brand-list li { font-size: 0.72rem; gap: 6px; }
  .about__brand-list i { width: 22px; height: 22px; font-size: 0.65rem; }
  .about__badge { padding: 12px 16px; top: 20px; }
  .about__badge strong { font-size: 1.5rem; }

  .stats { margin-top: 56px; }
  .stat { padding: 26px 10px; }
  .stat strong { font-size: 1.9rem; }

  /* keep 2 product cards per row on phones, just tighter */
  .products__grid { --gap: 12px; }
  .product-card__body { padding: 14px 12px 16px; }
  .product-card__body h3 { font-size: 0.95rem; }
  .product-card__body p { font-size: 0.8rem; margin-bottom: 12px; }
  .product-card__body .btn--sm { padding: 8px 14px; font-size: 0.78rem; }

  .why__grid { grid-template-columns: 1fr; }
  .why-card { padding: 30px 24px; }

  .materials { margin-top: 54px; }
  .material-card { padding: 24px 20px; }
  .grade-list li { font-size: 0.76rem; padding: 5px 11px; }
  .materials__note { padding: 14px 16px; font-size: 0.88rem; }

  .industries__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 12px; }
  .industry-tile__label { left: 12px; right: 12px; bottom: 12px; gap: 8px; }
  .industry-tile__label i { width: 34px; height: 34px; font-size: 0.85rem; }
  .industry-tile__label h3 { font-size: 0.9rem; }

  .certs__grid { gap: 14px; }
  .cert-card { padding: 10px 10px 16px; }
  .cert-card h3 { font-size: 0.95rem; }
  .cert-card p { font-size: 0.78rem; }

  .contact { padding-top: 110px; }
  .contact__card { padding: 22px; }
  .cta-btn { padding: 16px 18px; font-size: 1rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 34px; padding-top: 60px; }
  .footer__bottom-inner { justify-content: center; text-align: center; flex-direction: column; gap: 4px; }

  .float-whatsapp { width: 50px; height: 50px; font-size: 1.6rem; right: 16px; bottom: 80px; }
  .back-to-top { right: 17px; }
}


/* =============================================================
   20. INNER PAGES (product pages, about, contact, quality, technical)
   Shared building blocks: page hero + breadcrumb, intro split,
   spec/property/dimension tables, grade chips, application cards,
   sticky enquiry sidebar, CTA band and related-product strip.
   ============================================================= */

/* ---------- Page hero + breadcrumb ---------- */
.page-hero {
  position: relative; isolation: isolate;
  padding: 70px 0 90px;
  background: linear-gradient(120deg, var(--secondary-dark) 0%, var(--secondary) 55%, var(--primary-dark) 100%);
  color: var(--white); overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; opacity: 0.28;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(13, 21, 87, 0.92), rgba(0, 112, 192, 0.55));
}
.page-hero__shape {
  position: absolute; right: 4%; top: 12%; z-index: -1;
  width: clamp(160px, 22vw, 300px); color: var(--sky); opacity: 0.35;
  animation: floatY 7s ease-in-out infinite;
}
.page-hero h1 {
  color: var(--white); font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800;
  margin-bottom: 14px;
}
.page-hero p { max-width: 720px; color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; }
.page-hero__wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 80px); }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 0.9rem; }
.breadcrumb a { color: var(--sky); transition: color 0.25s var(--ease); }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb li { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.7); }
.breadcrumb li + li::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; opacity: 0.6; }
.breadcrumb [aria-current] { color: var(--white); font-weight: 600; }

/* ---------- Two-column layout with sticky sidebar ---------- */
.page-body { padding: 80px 0; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 46px; align-items: start; }
.page-main > section + section { margin-top: 56px; }

.block-title {
  display: flex; align-items: center; gap: 12px;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 20px;
}
.block-title i {
  display: grid; place-items: center; flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 12px; font-size: 1rem;
  color: var(--white); background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.prose p { color: var(--text-muted); margin-bottom: 16px; }
.prose p strong { color: var(--secondary); }
.prose ul { display: grid; gap: 10px; margin: 18px 0; }
.prose ul li { display: flex; gap: 10px; color: var(--text-muted); }
.prose ul li::before {
  content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  color: var(--primary); flex-shrink: 0;
}

/* ---------- Product intro (image + key facts) ---------- */
.detail-intro { display: grid; grid-template-columns: 0.95fr 1fr; gap: 36px; align-items: start; }
.detail-figure {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--primary-light);
}
.detail-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.7s var(--ease); }
.detail-figure:hover img { transform: scale(1.07); }
/* Portrait photo (About > Company Profile): taller frame, keep the face in view */
.detail-figure--portrait img { aspect-ratio: 4 / 5; object-position: center top; }
.detail-figure--portrait:hover img { transform: scale(1.03); }

/* Name card under the director's photo (About > Company Profile) */
.profile-person { display: flex; flex-direction: column; gap: 18px; }
.person-card {
  position: relative; display: flex; align-items: center; gap: 16px;
  margin: -46px 20px 0; z-index: 2;
  padding: 18px 22px; border-radius: var(--radius);
  background: var(--white); border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-lg);
}
.person-card__icon {
  flex-shrink: 0; display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 14px;
  font-size: 1.2rem; color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.person-card h3 { font-size: 1.2rem; color: var(--secondary); margin-bottom: 2px; }
.profile-person .fact-list { margin: 0; }

/* Company Profile: equal-height columns, fact boxes aligned along the bottom */
#profile.detail-intro { align-items: stretch; }
#profile .prose { display: flex; flex-direction: column; }
#profile .profile-person .fact-list,
#profile .prose .fact-list { margin-top: auto; margin-bottom: 0; }
@media (min-width: 992px) {
  #profile .fact-list li { min-height: 94px; }
}
.profile-person .fact-list li { color: var(--text-muted); }
.profile-person .fact-list li::before {
  content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  color: var(--primary); flex-shrink: 0;
}
.person-card p { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); }

/* ---------- Warehouse & dispatch gallery (About page) ---------- */
.work-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 190px; grid-auto-flow: dense; gap: 14px; margin-top: 24px;
}
.work-tile {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--primary-light); box-shadow: var(--shadow-sm);
}
.work-tile--wide { grid-column: span 2; }
.work-tile--tall { grid-row: span 2; }
.work-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
/* Photos with a camera watermark strip along the bottom: oversize and pin to the top so the strip is clipped */
.work-tile--strip img { height: 118%; object-position: center top; }
.work-tile:hover img { transform: scale(1.06); }
.work-tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 14px 10px;
  font-size: 0.85rem; font-weight: 600; color: var(--white);
  background: linear-gradient(to top, rgba(13, 21, 87, 0.85), transparent);
}
.detail-figure__tag {
  position: absolute; left: 16px; top: 16px;
  padding: 7px 16px; border-radius: 50px;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--white); background: rgba(13, 21, 87, 0.75);
  backdrop-filter: blur(4px);
}

.fact-list { display: grid; gap: 12px; margin-top: 22px; }
.fact-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; border-radius: var(--radius);
  background: var(--bg-tint); border: 1px solid var(--border);
  font-size: 0.92rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.fact-list li:hover { border-color: var(--primary); background: var(--white); transform: translateX(5px); }
.fact-list i { color: var(--primary); width: 20px; text-align: center; }
.fact-list strong { color: var(--secondary); margin-right: 4px; }

/* ---------- Tables (specifications, dimensions, properties) ---------- */
.table-wrap {
  overflow-x: auto; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--white);
  box-shadow: var(--shadow-sm);
}
table.data-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.9rem; }
table.data-table caption {
  caption-side: bottom; padding: 12px 16px;
  font-size: 0.82rem; color: var(--text-muted); text-align: left;
}
table.data-table th,
table.data-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
table.data-table thead th {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--white); font-family: var(--font-head); font-weight: 600;
  font-size: 0.85rem; letter-spacing: 0.02em; white-space: nowrap;
}
table.data-table tbody tr { transition: background-color 0.25s var(--ease); }
table.data-table tbody tr:nth-child(even) { background: var(--bg-tint); }
table.data-table tbody tr:hover { background: var(--primary-light); }
table.data-table tbody th { font-weight: 600; color: var(--secondary); white-space: nowrap; }
table.data-table tbody tr:last-child td,
table.data-table tbody tr:last-child th { border-bottom: 0; }
.table-note { margin-top: 12px; font-size: 0.85rem; color: var(--text-muted); }

/* Material colour identification swatches (Quality Policy page) */
.colour-table td:last-child { white-space: nowrap; }
.swatch {
  display: inline-block; width: 34px; height: 20px; margin-right: 4px;
  border-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.18); vertical-align: middle;
}
.swatch--orange { background: #f07f1e; }
.swatch--yellow { background: #f5d20a; }
.swatch--green  { background: #1f8a3c; }
.swatch--pink   { background: #e04fb3; }
.swatch--grey   { background: #8a8f98; }
.swatch--red    { background: #d62828; }
.swatch--white  { background: #ffffff; }
.swatch--brown  { background: #6b3a1f; }
.swatch--black  { background: #111111; }
.swatch--blue   { background: #1f4fbf; }
.table-note i { color: var(--primary); margin-right: 6px; }

/* ---------- Grade groups ---------- */
.grade-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grade-group {
  padding: 22px 24px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--border);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.grade-group:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.grade-group h3 { display: flex; align-items: center; gap: 10px; font-size: 1.02rem; margin-bottom: 14px; }
.grade-group h3 i { color: var(--primary); }

/* ---------- Applications ---------- */
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.app-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; color: var(--secondary);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--primary); }
.app-card i {
  display: grid; place-items: center; flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 50%;
  color: var(--primary); background: var(--primary-light); font-size: 0.95rem;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.app-card:hover i { background: var(--primary); color: var(--white); }

/* ---------- Sticky enquiry sidebar ---------- */
.page-aside { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 20px; }

.aside-card {
  padding: 26px 24px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--white); box-shadow: var(--shadow-sm);
}
.aside-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.aside-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 18px; }
.aside-card--dark {
  border: 0; color: rgba(255, 255, 255, 0.85);
  background: linear-gradient(140deg, var(--secondary-dark), var(--primary-dark));
}
.aside-card--dark h3 { color: var(--white); }
.aside-card--dark p { color: rgba(255, 255, 255, 0.75); }

.aside-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
}
.aside-btn + .aside-btn { margin-top: 10px; }
.aside-btn i { font-size: 1.2rem; }
.aside-btn:hover { transform: translateY(-3px); filter: brightness(1.05); box-shadow: var(--shadow); }
.aside-btn--wa { background: linear-gradient(135deg, #25d366, #128c7e); }
.aside-btn--mail { background: linear-gradient(135deg, var(--primary), var(--sky)); }
.aside-btn--call { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.25); }

.aside-links { display: grid; gap: 8px; }
.aside-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px; border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--text);
  background: var(--bg-tint);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.aside-links a i { color: var(--primary); font-size: 0.8rem; transition: transform 0.25s var(--ease); }
.aside-links a:hover { background: var(--primary); color: var(--white); padding-left: 20px; }
.aside-links a:hover i { color: var(--white); transform: translateX(3px); }
.aside-links a.is-current { background: var(--primary-light); color: var(--primary); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  padding: 60px 0;
  background: linear-gradient(120deg, var(--secondary), var(--primary-dark));
  color: rgba(255, 255, 255, 0.85);
}
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 8px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Related products strip ---------- */
.related { padding: 80px 0; background: var(--bg-tint); }
.related__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.related-card {
  display: block; border-radius: var(--radius); overflow: hidden;
  background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.related-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.related-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s var(--ease); }
.related-card:hover img { transform: scale(1.08); }
.related-card span {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 14px 16px; font-family: var(--font-head); font-weight: 600;
  font-size: 0.95rem; color: var(--secondary);
}
.related-card i { color: var(--primary); transition: transform 0.3s var(--ease); }
.related-card:hover i { transform: translateX(4px); }

/* ---------- Timeline (about / quality pages) ---------- */
.timeline { position: relative; display: grid; gap: 26px; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent-light));
}
.timeline li { position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: -29px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}
.timeline h3 { font-size: 1.05rem; margin-bottom: 4px; }
.timeline p { font-size: 0.93rem; color: var(--text-muted); }

/* ---------- Test / process cards (quality page) ---------- */
.test-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.test-card {
  padding: 26px 24px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.test-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.test-card__icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 18px;
  border-radius: 15px; font-size: 1.2rem; color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--sky));
  box-shadow: 0 8px 18px rgba(0, 112, 192, 0.3);
  transition: transform 0.45s var(--ease);
}
.test-card:hover .test-card__icon { transform: rotate(-10deg) scale(1.07); }
.test-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.test-card p { font-size: 0.92rem; color: var(--text-muted); }

/* ---------- Anchor tab strip (technical info page) ---------- */
.anchor-nav {
  position: sticky; top: var(--nav-h); z-index: 500;
  background: var(--white); border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.anchor-nav ul { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.anchor-nav ul::-webkit-scrollbar { display: none; }
.anchor-nav a {
  display: block; padding: 9px 18px; border-radius: 50px; white-space: nowrap;
  font-family: var(--font-head); font-weight: 500; font-size: 0.9rem; color: var(--secondary);
  background: var(--bg-tint);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.anchor-nav a:hover, .anchor-nav a.is-active { background: var(--primary); color: var(--white); transform: translateY(-2px); }

/* ---------- Contact page extras ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.contact-card {
  padding: 28px 24px; border-radius: var(--radius-lg); text-align: center;
  background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.contact-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.contact-card__icon {
  display: grid; place-items: center; margin: 0 auto 16px;
  width: 58px; height: 58px; border-radius: 50%; font-size: 1.3rem; color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 10px 22px rgba(0, 112, 192, 0.3);
  transition: transform 0.45s var(--ease);
}
.contact-card:hover .contact-card__icon { transform: scale(1.08) rotate(-8deg); }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.contact-card p, .contact-card a { font-size: 0.93rem; color: var(--text-muted); line-height: 1.7; }
.contact-card a:hover { color: var(--primary); }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; height: 420px; box-shadow: var(--shadow); background: var(--bg-tint); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Inner page responsive ---------- */
@media (max-width: 991px) {
  .page-layout { grid-template-columns: 1fr; gap: 36px; }
  .page-aside { position: static; }
  .detail-intro { grid-template-columns: 1fr; gap: 26px; }
  .profile-person { max-width: 420px; width: 100%; margin-inline: auto; }
  .grade-groups { grid-template-columns: 1fr; }
  .related__grid { grid-template-columns: repeat(2, 1fr); }
  .page-body { padding: 60px 0; }
  .anchor-nav { top: var(--nav-h); }
}

@media (max-width: 767px) {
  .work-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 10px; }
}

@media (max-width: 575px) {
  .work-gallery { grid-auto-rows: 130px; }
  .work-tile figcaption { font-size: 0.75rem; padding: 20px 10px 8px; }
  .page-hero { padding: 50px 0 70px; }
  .page-body { padding: 48px 0; }
  .page-main > section + section { margin-top: 42px; }
  .block-title i { width: 36px; height: 36px; }
  table.data-table { font-size: 0.82rem; min-width: 480px; }
  table.data-table th, table.data-table td { padding: 10px 12px; }
  .related__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .related-card span { padding: 11px 12px; font-size: 0.85rem; }
  .cta-band { padding: 48px 0; }
  .map-embed { height: 300px; }
}

/* =============================================================
   19. REDUCED MOTION — respect user OS preference
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}
