/* ==========================================================================
   IH INDUSTRIAL SUPPLY CO. — Global Stylesheet
   Pure CSS3. No frameworks.
   ========================================================================== */

:root {
  /* Palette */
  --navy: #0b1a2e;
  --navy-800: #10233d;
  --navy-700: #16304f;
  --charcoal: #1b1f24;
  --graphite: #2b3138;
  --steel: #6c7884;
  --steel-light: #aab4bf;
  --line: #e2e6ea;
  --surface: #ffffff;
  --surface-alt: #f4f6f8;
  --ink: #121820;
  --ink-soft: #4d5866;
  --accent: #f26b0f;
  --accent-dark: #d2570a;
  --accent-soft: rgba(242, 107, 15, 0.12);

  /* Type */
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  /* Layout */
  --container: 1240px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 26, 46, 0.06), 0 2px 8px rgba(11, 26, 46, 0.05);
  --shadow-md: 0 10px 30px rgba(11, 26, 46, 0.12);
  --header-h: 78px;
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--surface);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.1rem, 5.4vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.3vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 1.7vw, 1.35rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p  { margin: 0 0 1.1rem; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.container {
  width: 80%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--navy); }
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--dark p, .section--dark li { color: var(--steel-light); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
#about {
  padding-top: 26px; /* Adjust this number to whatever looks best */
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}
.section-head--center .eyebrow::before { display: none; }

.lead { font-size: 1.06rem; }

/* ==========================================================================
   BUTTONS & INTERACTIVE ELEMENTS (Fully Responsive Across All Screens)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  /* Fluid padding scales down smoothly on mobile and expands on desktop */
  padding: clamp(10px, 1.4vw, 14px) clamp(16px, 2.2vw, 26px);
  font-family: var(--font-head);
  /* Fluid font sizing prevents oversized text on small screens */
  font-size: clamp(0.74rem, 1.1vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn:hover { transform: translateY(-2px); }

.btn--accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); box-shadow: 0 10px 24px rgba(242, 107, 15, 0.3); }

.btn--dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--dark:hover { background: var(--navy-700); border-color: var(--navy-700); }

.btn--outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--outline:hover { border-color: var(--navy); }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.btn--sm { 
  padding: clamp(8px, 1vw, 10px) clamp(12px, 1.6vw, 18px); 
  font-size: clamp(0.68rem, 1vw, 0.72rem); 
}

.btn--block { width: 100%; }

.link-arrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
}
.link-arrow::after { content: "\2192"; transition: transform var(--transition); }
.link-arrow:hover::after { transform: translateX(5px); }

/* Mobile & Small Tablet Adaptation */
@media (max-width: 768px) {
  /* Only apply full-width to buttons explicitly marked with .btn--block or inside specific wrappers */
  .btn--block {
    width: 100%; 
    text-align: center;
  }
}
/* ==========================================================================
   GLOBAL RESET & TYPOGRAPHY SCALING
   ========================================================================== */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* ==========================================================================
   GLOBAL RESET & TYPOGRAPHY SCALING
   ========================================================================== */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* ==========================================================================
   3. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line, #e2e8f0);
  backdrop-filter: blur(8px);
  width: 100%;
  transition: box-shadow 0.2s ease, padding 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); }

.header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
  min-height: var(--header-h, 78px);
  transition: min-height 0.2s ease;
}
.site-header.is-scrolled .header-inner { min-height: 64px; }

/* Brand Typography */
.brand { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  text-decoration: none; 
  flex-shrink: 0; 
}

.brand__mark {
  width: 42px; 
  height: 42px;
  object-fit: cover;
  clip-path: inset(1px 2px 1px 1px round 10px);
  flex-shrink: 0;
}

.brand__name {
  font-family: var(--font-head, "Montserrat", sans-serif);
  font-weight: 800;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  letter-spacing: 0.04em;
  color: var(--navy, #0b1a2e);
  line-height: 1.15;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
}

.brand__sub {
  display: block;
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: clamp(0.58rem, 0.9vw, 0.66rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel, #64748b);
  margin-top: 2px;
}

.header-cta { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  flex-shrink: 0; 
}
.header-cta .btn { white-space: nowrap; }

/* Hamburger Toggle Button */
.nav-toggle {
  display: none;
  width: 46px; 
  height: 46px;
  border: 1px solid var(--line, #e2e8f0);
  background: #fff;
  border-radius: var(--radius, 8px);
  cursor: pointer;
  padding: 0;
  position: relative;
  flex-shrink: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 20px; 
  height: 2px;
  background: var(--navy, #0b1a2e);
  transform: translateX(-50%);
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { content: ""; left: 0; transform: none; top: -6px; }
.nav-toggle span::after { content: ""; left: 0; transform: none; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); top: 0; }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); top: 0; }

/* --------------------------------------------------------------------------
   1. DESKTOP VIEW (Screens >= 1301px)
   -------------------------------------------------------------------------- */
@media (min-width: 1301px) {
  .nav { 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important;
    gap: 6px !important; 
    flex: 1 1 auto !important;
    margin: 0 16px !important;
  }
  .nav a {
    display: block;
    padding: 8px 10px;
    font-family: var(--font-head, "Montserrat", sans-serif);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--navy, #0b1a2e);
    border-radius: var(--radius, 8px);
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
  }
  .nav > .btn { display: none !important; }
  .nav a:hover { color: var(--accent, #ea580c); background: rgba(0, 0, 0, 0.02); }
  .nav a.is-active { color: var(--accent, #ea580c); }
  .nav a.is-active::after {
    content: "";
    display: block;
    height: 2px;
    background: var(--accent, #ea580c);
    margin-top: 4px;
  }
  .header-cta .nav-toggle { display: none !important; }
  .header-cta { display: flex !important; }
}

/* --------------------------------------------------------------------------
   2. LAPTOPS, TABLETS & MOBILE VIEW (Screens <= 1300px)
   -------------------------------------------------------------------------- */
@media (max-width: 1300px) {
  .header-cta .nav-toggle { display: block !important; }
  .header-cta > .btn { display: none !important; }

  .nav {
    position: fixed !important;
    top: var(--header-h, 78px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 16px 20px 20px 20px !important;
    gap: 4px !important;
    border-bottom: 1px solid var(--line, #e2e8f0) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12) !important;
    z-index: 9999 !important;
    box-sizing: border-box !important;
    
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: max-height 0.35s ease, opacity 0.3s ease, visibility 0.3s ease, padding 0.3s ease !important;
  }

  .site-header.is-scrolled .nav { top: 64px !important; }

  .nav.is-open,
  .site-header .nav-toggle[aria-expanded="true"] ~ .nav,
  .site-header.nav-active .nav {
    max-height: 80vh !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow-y: auto !important;
  }

  .nav a {
    width: 100% !important;
    padding: 12px 14px !important;
    font-size: 0.95rem !important;
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 4px !important;
    display: block !important;
    text-decoration: none !important;
    color: var(--navy, #0b1a2e) !important;
    box-sizing: border-box !important;
  }

  .nav a:last-of-type { border-bottom: none !important; }
  .nav a.is-active::after { display: none !important; }
  .nav a.is-active { background: rgba(0, 0, 0, 0.03) !important; color: var(--accent, #ea580c) !important; }

  /* Decreased mobile button size & proportions */
@media (max-width: 1300px) {
  /* Restrict the width of the button and center it */
  .nav > .btn, 
  .nav > .header-cta-btn {
    display: inline-flex !important;
    width: auto !important;
    min-width: 220px !important;
    max-width: 300px !important;
    margin: 12px auto 4px auto !important; /* Centers the button horizontally */
    text-align: center !important;
    justify-content: center !important;
    padding: 10px 20px !important;
    font-size: 0.88rem !important;
    font-weight: 700;
    border-radius: 6px !important;
  }
}
}

/* ==========================================================================
   4. HERO & PAGE HERO SECTIONS (Fully Responsive & Clear Typography)
   ========================================================================== */
.hero {
  position: relative; 
  min-height: min(88vh, 780px); 
  display: flex; 
  align-items: center;
  /* Ensures background image covers all screen sizes properly */
  background: var(--navy) center / cover no-repeat;
  color: #fff; 
  padding: clamp(64px, 10vw, 96px) 0;
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
}

.hero::before {
  content: ""; 
  position: absolute; 
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 18, 32, 0.95) 0%, rgba(8, 18, 32, 0.85) 45%, rgba(8, 18, 32, 0.65) 100%);
}

.hero .container { 
  position: relative; 
  z-index: 2; 
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
  box-sizing: border-box;
}

.hero__inner { 
  max-width: 800px; 
}

/* Fluid Heading Scaling for clarity across all screens */
.hero h1 { 
  color: #fff; 
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px; 
  letter-spacing: -0.02em;
}

.hero__text { 
  font-size: clamp(1rem, 1.5vw, 1.18rem); 
  color: #ccd5df; 
  max-width: 640px; 
  line-height: 1.65;
}

.hero__actions { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 14px; 
  margin-top: clamp(24px, 4vw, 34px); 
}

.credibility {
  display: inline-flex; 
  align-items: center; 
  gap: 10px; 
  margin-top: clamp(28px, 5vw, 40px);
  padding: 8px 18px; 
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px; 
  font-family: var(--font-head); 
  font-size: clamp(0.7rem, 1.2vw, 0.74rem); 
  font-weight: 600;
  letter-spacing: 0.14em; 
  text-transform: uppercase; 
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.credibility .dot { 
  width: 8px; 
  height: 8px; 
  border-radius: 50%; 
  background: var(--accent); 
  flex-shrink: 0;
}

.hero-tags {
  display: flex; 
  flex-wrap: wrap; 
  gap: 8px 22px; 
  margin-top: clamp(20px, 3.5vw, 28px);
  font-family: var(--font-head); 
  font-size: clamp(0.7rem, 1.2vw, 0.74rem); 
  font-weight: 600;
  letter-spacing: 0.12em; 
  text-transform: uppercase; 
  color: var(--steel-light);
}


/* ---------- Interior Page Heroes ---------- */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: clamp(80px, 10vw, 120px) 0 clamp(40px, 6vw, 72px);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -80px; 
  top: -80px;
  width: 320px; 
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero h1 { 
  color: #fff; 
  font-size: clamp(1.9rem, 4.2vw, 3.1rem); 
  line-height: 1.2;
}

.page-hero p { 
  color: var(--steel-light); 
  max-width: 680px; 
  margin: 0; 
  font-size: clamp(0.95rem, 1.4vw, 1.12rem);
  line-height: 1.6;
}

.page-hero .container { 
  position: relative; 
  z-index: 1; 
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
  box-sizing: border-box;
}

.breadcrumb {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--steel-light);
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { opacity: 0.5; margin: 0 8px; }


/* ---------- Grids & Layouts (Fully Responsive Auto-Stacking) ---------- */
.grid { 
  display: grid; 
  gap: clamp(20px, 3vw, 26px); 
  width: 100%;
  box-sizing: border-box;
}

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

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

/* ---------- Responsive Breakpoints for Tablets & Mobile Screens ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 60px 0;
  }
  
  /* Formats hero action buttons neatly side-by-side or stacked on mobile */
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero__actions .btn {
    flex: 1 1 calc(50% - 5px);
    min-width: 130px;
    padding: 10px 14px;
    font-size: 0.8rem;
  }
  
  /* Automatically stack grids and split columns cleanly on mobile */
  .grid--2, .grid--3, .grid--4, .split {
    grid-template-columns: 1fr !important;
  }
}

/* ---------- Grids & Layouts (Fully Responsive Auto-Stacking) ---------- */
.grid { 
  display: grid; 
  gap: clamp(20px, 3vw, 26px); 
  width: 100%;
  box-sizing: border-box;
}

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

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

/* ---------- Responsive Breakpoints for Tablets & Mobile Screens ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 60px 0;
  }
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }
  .hero__actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  
  /* Automatically stack grids and split columns cleanly on mobile */
  .grid--2, .grid--3, .grid--4, .split {
    grid-template-columns: 1fr !important;
  }
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfd6dd; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--graphite); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 10px; }
.card__tag {
  position: absolute;
  left: 14px; top: 14px;
  background: rgba(11, 26, 46, 0.9);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 3px;
}
.card__list {
  font-size: 0.9rem;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 20px;
}
.card__list li {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 4px 9px;
  font-size: 0.78rem;
}
.card__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }

/* Feature blocks */
.feature {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.feature:hover { border-color: var(--accent); background: rgba(255, 255, 255, 0.06); transform: translateY(-3px); }
.feature__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  margin-bottom: 18px;
  color: var(--accent);
}
.feature h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature p { margin: 0; font-size: 0.95rem; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat { background: #fff; padding: 28px 24px; }
.stat__value {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}
.stat__label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 6px;
}

/* Industries */
.industry {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.industry:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.industry__icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: var(--radius);
}
.industry h3 { font-size: 0.98rem; margin: 0; }
.industry p { margin: 2px 0 0; font-size: 0.85rem; }

/* ---------- Product filters / catalogue ---------- */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  padding: 9px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--navy); }
.filter-btn.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.search-field { position: relative; min-width: 260px; flex: 1 1 260px; max-width: 340px; }
.search-field input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.92rem;
  background: #fff;
  color: var(--ink);
}
.search-field svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--steel); }

.no-results {
  display: none;
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--steel);
}
.no-results.is-visible { display: block; }
.result-count { font-size: 0.85rem; color: var(--steel); margin-bottom: 18px; }

/* ---------- Global presence ---------- */
.presence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: stretch;
}
.presence__node {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
}
.presence__node--primary { border-color: var(--accent); background: rgba(242, 107, 15, 0.08); }
.presence__flag {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.presence__node h3 { font-size: 1.3rem; margin-bottom: 10px; }
.presence__node p { margin: 0; font-size: 0.94rem; }
.presence__arrow {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 1.5rem;
  padding: 0 12px;
}
.presence-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #fff;
  padding: clamp(52px, 7vw, 88px) 0;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--accent);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--steel-light); max-width: 620px; }
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}
.field .req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  outline: none;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #c0392b; }
.error-text { font-size: 0.78rem; color: #c0392b; min-height: 1em; }
.radio-row { display: flex; flex-wrap: wrap; gap: 18px; }
.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: #e8f5ec; color: #1e6b3a; border: 1px solid #bfe0cb; }
.form-status--err { background: #fdecea; color: #a32b1c; border: 1px solid #f2c4bd; }
.form-note { font-size: 0.82rem; color: var(--steel); margin-top: 14px; }


/* =========================================
   CONTACT SECTION
   ========================================= */
#contact {
  padding-top: 40px !important; /* Reduces the massive default space */
  margin-top: 0 !important; 
}

/* Optional: Make it even tighter on mobile screens */
@media (max-width: 768px) {
  #contact {
    padding-top: 32px !important;
  }
}
/* Contact Items (Address, Phone, Email) */
.contact-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line, #e2e8f0);
  transition: transform 0.3s ease;
}

.contact-item:last-child { 
  border-bottom: 0; 
  padding-bottom: 0;
}

/* Subtle hover effect to make it feel interactive */
.contact-item:hover {
  transform: translateX(4px);
}

/* Upgraded Icons with a soft circular background */
.contact-item__icon { 
  color: var(--accent, #ea580c); 
  background: rgba(234, 88, 12, 0.1); /* Soft orange background */
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto; 
}

/* Typography for Contact Items */
.contact-item h3 { 
  font-size: 0.85rem; 
  letter-spacing: 0.1em; 
  text-transform: uppercase; 
  color: var(--navy, #0f172a);
  margin: 0 0 6px; 
}

.contact-item p { 
  margin: 0; 
  font-size: 0.95rem; 
  color: var(--ink-soft, #475569);
  line-height: 1.5;
}

/* Clickable Phone & Email Links */
.contact-link {
  color: var(--navy, #0f172a);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--accent, #ea580c);
  text-decoration: underline;
}

/* =========================================
   MAP EMBED 
   ========================================= */

/* Sleek, flush map container with a premium shadow */
.map-embed {
  border: 1px solid var(--line, #e2e8f0);
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  background: #fff;
  min-height: 380px; /* Reduced slightly for better proportions */
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08); /* Premium soft shadow */
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.map-embed:hover {
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  transform: translateY(-4px);
}

/* Ensures the Google Map fills the container perfectly without gaps */
.map-embed iframe { 
  width: 100%; 
  height: 100%; 
  min-height: 400px; 
  border: 0; 
  display: block; 
}

/* ---------- Spec table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table.spec { width: 100%; border-collapse: collapse; min-width: 460px; font-size: 0.94rem; }
table.spec th, table.spec td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.spec th { font-family: var(--font-head); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy); width: 40%; background: var(--surface-alt); }
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom: 0; }

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 0.96rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
}

/* ---------- Accordion ---------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.accordion__item + .accordion__item { border-top: 1px solid var(--line); }
.accordion__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}
.accordion__btn .sign { color: var(--accent); font-size: 1.3rem; transition: transform var(--transition); }
.accordion__btn[aria-expanded="true"] .sign { transform: rotate(45deg); }
.accordion__panel { display: none; padding: 0 24px 22px; font-size: 0.96rem; }
.accordion__panel.is-open { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--steel-light); padding-top: 64px; font-size: 0.93rem; }
.site-footer h4 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer a { transition: color var(--transition); }
.site-footer a:hover { color: var(--accent); }
.site-footer li { margin-bottom: 9px; }
.footer-brand .brand__name { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.83rem;
}
.footer-bottom nav { display: flex; gap: 20px; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 90;
  box-shadow: var(--shadow-md);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 24px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-md);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 0.95rem; border-radius: 0; }
  .nav a.is-active::after { display: none; }
  .header-cta .btn { display: none; }
  .nav .btn { display: inline-flex; margin-top: 18px; }
  .split { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .presence-row { grid-template-columns: 1fr; gap: 14px; }
  .presence__arrow { transform: rotate(90deg); padding: 4px 0; }
  .brand__sub { display: none; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { min-height: auto; padding: 72px 0; }
  .hero__actions .btn { width: 100%; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .search-field { max-width: none; }
}




/* ---------- CTA band ---------- */
.cta-band {
  /* Dark navy overlay layered over a subtle, open-source industrial metal texture */
  background: linear-gradient(120deg, rgba(11, 26, 46, 0.94) 0%, rgba(22, 48, 79, 0.90) 100%), url('../images/RC1.png') center/cover no-repeat;
  color: #fff;
  padding: clamp(52px, 7vw, 88px) 0;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--accent);
}




/* ---------- Global presence (Light Theme) ---------- */
.presence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: stretch;
}
.presence__node {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.presence__node:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.presence__node--primary { 
  border-color: var(--accent); 
  background: var(--surface-alt); 
}
.presence__flag {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
/* Forcing dark text colors for the white background */
.presence__node h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--navy); }
.presence__node p { margin: 0; font-size: 0.94rem; color: var(--ink-soft); }

.presence__arrow {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 1.5rem;
  padding: 0 12px;
}
.presence-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
}




/* ==========================================================================
   Hero Section Animations (On Page Load)
   ========================================================================== */

/* 1. The Keyframes */
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroBgReveal {
  0% { background-size: 105%; }
  100% { background-size: cover; }
}

/* 2. The Text Animation Classes */
.animate-up {
  opacity: 0; /* Keeps it hidden before the animation starts */
  animation: heroFadeUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* 3. Staggered Delays (Creates the cascading 1-2-3-4 effect) */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.5s; }
.delay-4 { animation-delay: 0.7s; }

/* 4. Optional Background Animation */
.animate-bg {
  animation: heroBgReveal 1.5s ease-out forwards;
}


/* Heading styling */
.footer-contact h4 {
  color: #ffffff;
  margin-bottom: 20px;
}

/* Reset list styles */
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Forces everything (text, links, and icons) to be white */
.footer-contact ul li,
.footer-contact ul li a,
.footer-contact ul li .icon {
  color: #ffffff; 
  text-decoration: none; 
}

/* Adds a hover effect to the links */
.footer-contact ul li a:hover {
  opacity: 0.8;
}

/* Aligns the icon and text nicely with tighter spacing */
.footer-contact ul li {
  display: flex;
  align-items: flex-start; /* Keeps the icon at the top of the multi-line address */
  gap: 15px; /* Space between icon and text */
  margin-bottom: 12px; /* Tightened vertical spacing */
  line-height: 1.5;
}

/* Removes the extra spacing under the final item */
.footer-contact ul li:last-child {
  margin-bottom: 0; 
}

/* Icon sizing and perfect alignment */
.footer-contact .icon {
  margin-top: 3px; /* Nudges the icon down slightly to perfectly center with text */
  font-size: 16px; /* Adjusts icon size */
}















































