/* =========================================================
   AJAY ELECTRIC GUTENBERG — MAIN STYLESHEET
   Industrial · Professional · B2B Lead Generation
   ========================================================= */

/* ----- CSS Variables / Design Tokens ----- */
:root {
  /* Brand Colours */
  --color-primary:       #1a3a5c;   /* Deep navy */
  --color-primary-dark:  #0f2540;
  --color-primary-light: #234e78;
  --color-accent:        #e8820c;   /* Industrial amber */
  --color-accent-dark:   #c96d08;
  --color-accent-light:  #f49d2e;

  /* Neutrals */
  --color-white:         #ffffff;
  --color-off-white:     #f7f8fa;
  --color-light:         #eef0f4;
  --color-mid:           #c8cdd6;
  --color-text:          #1e2535;
  --color-text-muted:    #5a6478;
  --color-border:        #dde1ea;

  /* Status */
  --color-success:       #1d7a4a;
  --color-warning:       #d97706;
  --color-error:         #c0392b;

  /* Typography */
  --font-heading:        'Barlow', 'Arial Narrow', Arial, sans-serif;
  --font-body:           'Nunito Sans', 'Segoe UI', system-ui, sans-serif;
  --font-mono:           'Courier New', Courier, monospace;

  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   1.875rem;
  --text-4xl:   2.25rem;
  --text-5xl:   3rem;
  --text-6xl:   3.75rem;

  --weight-normal:  400;
  --weight-medium:  500;
  --weight-semi:    600;
  --weight-bold:    700;
  --weight-black:   900;

  --leading-tight:   1.2;
  --leading-snug:    1.35;
  --leading-normal:  1.6;
  --leading-relaxed: 1.75;

  /* Spacing */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;

  /* Layout */
  --container-width:     1200px;
  --container-wide:      1400px;
  --container-narrow:    780px;
  --container-padding-x: clamp(1rem, 4vw, 2rem);

  /* Borders */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 12px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 30px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.08);
  --shadow-xl:  0 20px 50px rgba(0,0,0,.16);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  /* Z-index scale */
  --z-below:    -1;
  --z-base:     0;
  --z-raised:   10;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-modal:    400;
  --z-toast:    500;
}

/* ----- Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--color-accent); }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); }
h2 { font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl), 3vw, var(--text-3xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: var(--space-6); }
li { margin-bottom: var(--space-2); }

blockquote {
  border-left: 4px solid var(--color-accent);
  padding: var(--space-4) var(--space-6);
  background: var(--color-off-white);
  font-style: italic;
  color: var(--color-text-muted);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-8) 0;
}

table { width: 100%; border-collapse: collapse; }
th,td { padding: var(--space-3) var(--space-4); text-align: left; border: 1px solid var(--color-border); }
th { background: var(--color-primary); color: var(--color-white); font-weight: var(--weight-semi); }
tr:nth-child(even) { background: var(--color-off-white); }

/* ----- Layout Containers ----- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-padding-x);
}
.container--wide   { max-width: var(--container-wide); }
.container--narrow { max-width: var(--container-narrow); }

/* ----- Grid System ----- */
.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-auto-sm { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ----- Flexbox Utilities ----- */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* ----- Section Spacing ----- */
.section { padding-block: var(--space-20); }
.section--sm { padding-block: var(--space-12); }
.section--lg { padding-block: var(--space-32); }
.section--dark { background: var(--color-primary); color: var(--color-white); }
.section--dark h1,.section--dark h2,.section--dark h3,.section--dark h4 { color: var(--color-white); }
.section--grey { background: var(--color-off-white); }
.section--accent { background: var(--color-accent); color: var(--color-white); }

/* ----- Section Header ----- */
.section-header { text-align: center; margin-bottom: var(--space-12); }
.section-header .eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.section-header h2 { margin-bottom: var(--space-4); }
.section-header p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 0;
}
.section--dark .section-header p { color: rgba(255,255,255,.7); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  letter-spacing: 0.03em;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid var(--color-accent-light);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.btn--primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}
.btn--white:hover {
  background: var(--color-off-white);
  color: var(--color-primary);
}

.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,.6);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: var(--text-lg);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--text-sm);
}

.btn-group { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* ----- Header / Navigation ----- */
#masthead {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}
#masthead.scrolled { box-shadow: var(--shadow-md); }

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
}

.site-branding { flex-shrink: 0; }
.site-branding a { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; }

.site-logo { height: 52px; width: auto; }

.site-title-text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-black);
  color: var(--color-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.site-title-text span { display: block; font-size: var(--text-xs); font-weight: var(--weight-normal); color: var(--color-text-muted); letter-spacing: 0.05em; text-transform: uppercase; }

/* Primary Navigation */
.primary-navigation { flex: 1; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a {
  color: var(--color-accent);
  background: var(--color-off-white);
}

/* Dropdown */
.nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-base);
  z-index: var(--z-dropdown);
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-menu .sub-menu li a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.nav-menu .sub-menu li a:hover {
  background: var(--color-off-white);
  color: var(--color-accent);
}

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }

.header-phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
}
.header-phone svg { color: var(--color-accent); }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .primary-navigation {
    position: fixed;
    inset: 0;
    top: 81px;
    background: var(--color-white);
    padding: var(--space-6);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    border-top: 3px solid var(--color-accent);
    z-index: var(--z-overlay);
  }
  .primary-navigation.is-open { transform: translateX(0); }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu > li > a {
    padding: var(--space-4);
    font-size: var(--text-base);
    border-bottom: 1px solid var(--color-border);
  }
  .nav-menu .sub-menu {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding-left: var(--space-4);
    background: var(--color-off-white);
  }
  .header-phone .phone-label { display: none; }
}

/* ----- Top Bar ----- */
.top-bar {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,.85);
  font-size: var(--text-xs);
  padding-block: var(--space-2);
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.top-bar a { color: rgba(255,255,255,.85); }
.top-bar a:hover { color: var(--color-accent-light); }
.top-bar-contacts { display: flex; gap: var(--space-6); align-items: center; flex-wrap: wrap; }
.top-bar-contacts span { display: flex; align-items: center; gap: var(--space-2); }

/* ----- Hero Section ----- */
.hero-section {
  position: relative;
  background: var(--color-primary-dark);
  color: var(--color-white);
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(10,24,42,.95) 40%, rgba(26,58,92,.7) 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><rect width="60" height="60" fill="none"/><path d="M0 30h60M30 0v60" stroke="rgba(255,255,255,.04)" stroke-width="1"/></svg>');
  background-size: cover, 60px 60px;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: var(--space-24);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(232,130,12,.15);
  border: 1px solid rgba(232,130,12,.4);
  color: var(--color-accent-light);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: var(--weight-black);
  color: var(--color-white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}
.hero-title .highlight {
  color: var(--color-accent);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(var(--text-base), 2.5vw, var(--text-xl));
  color: rgba(255,255,255,.8);
  max-width: 620px;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; margin-bottom: var(--space-12); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.75);
}
.hero-trust-item svg { color: var(--color-accent); flex-shrink: 0; }

/* Hero Image Panel */
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }
.hero-image-panel {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image-panel img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 520px;
}
.hero-floating-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--color-accent);
  color: var(--color-white);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.hero-floating-badge .number { font-size: var(--text-3xl); font-weight: var(--weight-black); line-height: 1; }
.hero-floating-badge .label { font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; opacity: .9; }

@media (max-width: 768px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-image-panel { display: none; }
  .hero-content { padding-block: var(--space-16); }
}

/* ----- Trust Badges ----- */
.trust-bar {
  background: var(--color-primary);
  padding-block: var(--space-6);
  overflow: hidden;
}
.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255,255,255,.9);
}
.trust-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(232,130,12,.2);
  border: 1px solid rgba(232,130,12,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-light);
  flex-shrink: 0;
}
.trust-badge-text strong { display: block; font-size: var(--text-sm); font-weight: var(--weight-bold); }
.trust-badge-text span { font-size: var(--text-xs); color: rgba(255,255,255,.6); }

/* ----- About Section ----- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
.about-image { position: relative; }
.about-image img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-cert-badge {
  position: absolute;
  top: -16px;
  right: -16px;
  background: var(--color-accent);
  color: var(--color-white);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  line-height: 1.2;
  box-shadow: var(--shadow-md);
}
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: var(--space-8); }
.stat-item { text-align: center; padding: var(--space-4); background: var(--color-off-white); border-radius: var(--radius-md); }
.stat-number { font-size: var(--text-3xl); font-weight: var(--weight-black); color: var(--color-accent); line-height: 1; }
.stat-label { font-size: var(--text-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: var(--space-1); }
.about-features { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.about-feature { display: flex; gap: var(--space-4); align-items: flex-start; }
.about-feature-icon { width: 40px; height: 40px; background: rgba(232,130,12,.1); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--color-accent); flex-shrink: 0; }
.about-feature h4 { margin-bottom: var(--space-1); font-size: var(--text-base); }
.about-feature p { font-size: var(--text-sm); color: var(--color-text-muted); margin: 0; }

@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }

/* ----- Products Grid ----- */
.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}
.product-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-light);
}
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-body { padding: var(--space-5); flex: 1; display: flex; flex-direction: column; }
.product-card-category {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}
.product-card-title { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.product-card-title a { color: var(--color-primary); }
.product-card-title a:hover { color: var(--color-accent); }
.product-card-excerpt { font-size: var(--text-sm); color: var(--color-text-muted); flex: 1; margin-bottom: var(--space-4); }
.product-card-footer { display: flex; gap: var(--space-3); align-items: center; border-top: 1px solid var(--color-border); padding-top: var(--space-4); }

/* ----- Single Product ----- */
.product-hero { padding-block: var(--space-12); }
.product-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: start; }
.product-gallery { position: sticky; top: 100px; }
.product-main-image { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: var(--space-4); border: 1px solid var(--color-border); }
.product-main-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.product-thumbs { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.product-thumb { width: 80px; height: 80px; border-radius: var(--radius-md); overflow: hidden; border: 2px solid var(--color-border); cursor: pointer; transition: border-color var(--transition-fast); }
.product-thumb.active, .product-thumb:hover { border-color: var(--color-accent); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info { padding-left: var(--space-4); }
.product-breadcrumb { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-4); }
.product-breadcrumb a { color: var(--color-text-muted); }
.product-breadcrumb a:hover { color: var(--color-accent); }
.product-title { font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl)); margin-bottom: var(--space-4); }
.product-short-desc { font-size: var(--text-lg); color: var(--color-text-muted); line-height: var(--leading-relaxed); margin-bottom: var(--space-6); }
.product-cta-box { background: var(--color-off-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-6); margin-bottom: var(--space-6); }
.product-cta-box h4 { margin-bottom: var(--space-3); }
.product-cta-box .btn-group { flex-wrap: wrap; }

.product-specs-table { width: 100%; margin-top: var(--space-6); }
.product-specs-table th { background: var(--color-primary); }
.spec-tab-nav { display: flex; gap: 0; border-bottom: 2px solid var(--color-border); margin-bottom: var(--space-6); }
.spec-tab {
  padding: var(--space-3) var(--space-5);
  font-weight: var(--weight-semi);
  color: var(--color-text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition-fast);
}
.spec-tab.active, .spec-tab:hover { color: var(--color-primary); border-bottom-color: var(--color-accent); }
.tab-content { display: none; }
.tab-content.active { display: block; }

@media (max-width: 768px) { .product-hero-grid { grid-template-columns: 1fr; } .product-gallery { position: static; } }

/* ----- Why Choose Us ----- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-6); }
.why-card {
  padding: var(--space-8);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}
.why-card:hover { background: rgba(255,255,255,.08); border-color: rgba(232,130,12,.4); }
.why-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(232,130,12,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-light);
  margin-bottom: var(--space-5);
}
.why-card h3 { color: var(--color-white); font-size: var(--text-xl); margin-bottom: var(--space-3); }
.why-card p { color: rgba(255,255,255,.7); font-size: var(--text-sm); line-height: var(--leading-relaxed); margin: 0; }

/* ----- Industries ----- */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-4); }
.industry-card {
  text-align: center;
  padding: var(--space-6) var(--space-4);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  cursor: default;
}
.industry-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.industry-icon { font-size: 2.5rem; margin-bottom: var(--space-3); }
.industry-name { font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--color-primary); }

/* ----- Certifications ----- */
.cert-grid { display: flex; flex-wrap: wrap; gap: var(--space-6); justify-content: center; align-items: center; }
.cert-item {
  text-align: center;
  padding: var(--space-6);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  min-width: 150px;
  transition: var(--transition-base);
}
.cert-item:hover { box-shadow: var(--shadow-md); border-color: var(--color-accent); }
.cert-item img { height: 80px; width: auto; margin-inline: auto; margin-bottom: var(--space-3); }
.cert-item p { font-size: var(--text-xs); color: var(--color-text-muted); margin: 0; font-weight: var(--weight-semi); }

/* ----- FAQ ----- */
.faq-list { max-width: 800px; margin-inline: auto; display: grid; gap: var(--space-3); }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--space-5) var(--space-6);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  transition: background var(--transition-fast);
}
.faq-question:hover { background: var(--color-off-white); }
.faq-question[aria-expanded="true"] { background: var(--color-off-white); color: var(--color-accent); }
.faq-chevron { flex-shrink: 0; transition: transform var(--transition-base); }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 var(--space-6) var(--space-5); display: none; color: var(--color-text-muted); line-height: var(--leading-relaxed); font-size: var(--text-sm); }
.faq-answer.is-open { display: block; }

/* ----- CTA Section ----- */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  padding-block: var(--space-20);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80"><circle cx="40" cy="40" r="1" fill="rgba(255,255,255,.06)"/></svg>') repeat;
  background-size: 80px 80px;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: var(--color-white); font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl)); margin-bottom: var(--space-4); }
.cta-section p { color: rgba(255,255,255,.8); font-size: var(--text-lg); max-width: 600px; margin-inline: auto; margin-bottom: var(--space-8); }
.cta-section .btn-group { justify-content: center; }

/* ----- Contact Section ----- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--space-12); align-items: start; }
.contact-info { display: grid; gap: var(--space-6); }
.contact-card { display: flex; gap: var(--space-4); }
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(232,130,12,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}
.contact-card h4 { font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); margin-bottom: var(--space-1); }
.contact-card a, .contact-card p { font-size: var(--text-base); color: var(--color-text); font-weight: var(--weight-medium); margin: 0; }
.contact-card a:hover { color: var(--color-accent); }

.enquiry-form { background: var(--color-off-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-8); }
.enquiry-form h3 { margin-bottom: var(--space-6); }

/* CF7 / Generic form styles */
.wpcf7-form-control-wrap { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-bottom: var(--space-4); }
.form-group { margin-bottom: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
label { font-size: var(--text-sm); font-weight: var(--weight-semi); color: var(--color-text); }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
select, textarea, .wpcf7-text, .wpcf7-email, .wpcf7-tel, .wpcf7-textarea, .wpcf7-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(26,58,92,.12); }
textarea { resize: vertical; min-height: 120px; }

.wpcf7-submit, input[type="submit"] {
  background: var(--color-accent) !important;
  color: var(--color-white) !important;
  border: 2px solid var(--color-accent) !important;
  padding: 0.75rem 2rem !important;
  font-weight: var(--weight-bold) !important;
  border-radius: var(--radius-sm) !important;
  cursor: pointer !important;
  font-size: var(--text-base) !important;
  transition: all var(--transition-base) !important;
}
.wpcf7-submit:hover, input[type="submit"]:hover {
  background: var(--color-accent-dark) !important;
  border-color: var(--color-accent-dark) !important;
  transform: translateY(-1px) !important;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* ----- Footer ----- */
#colophon {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,.8);
}
.footer-main { padding-block: var(--space-16); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-10); }
.footer-brand .site-logo { height: 48px; margin-bottom: var(--space-4); filter: brightness(0) invert(1); }
.footer-brand p { font-size: var(--text-sm); color: rgba(255,255,255,.6); line-height: var(--leading-relaxed); margin-bottom: var(--space-5); }
.footer-social { display: flex; gap: var(--space-3); }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: all var(--transition-fast);
}
.footer-social a:hover { background: var(--color-accent); color: var(--color-white); }
.footer-col h4 { color: var(--color-white); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--space-5); }
.footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.footer-menu a { font-size: var(--text-sm); color: rgba(255,255,255,.6); transition: color var(--transition-fast); }
.footer-menu a:hover { color: var(--color-accent-light); }
.footer-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); }
.footer-contact-list li { display: flex; gap: var(--space-3); font-size: var(--text-sm); color: rgba(255,255,255,.6); }
.footer-contact-list svg { color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }
.footer-contact-list a { color: rgba(255,255,255,.6); }
.footer-contact-list a:hover { color: var(--color-accent-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: var(--space-5);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: var(--text-xs);
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: var(--color-accent-light); }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* ----- Floating Buttons ----- */
.floating-buttons {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-sticky);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-end;
}
.float-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  cursor: pointer;
  text-decoration: none;
  border: none;
  white-space: nowrap;
  max-width: 56px;
  overflow: hidden;
}
.float-btn:hover { max-width: 200px; box-shadow: var(--shadow-xl); }
.float-btn-label { opacity: 0; transition: opacity var(--transition-base); white-space: nowrap; }
.float-btn:hover .float-btn-label { opacity: 1; }

.float-whatsapp { background: #25d366; color: var(--color-white); }
.float-whatsapp:hover { background: #20ba5a; color: var(--color-white); }
.float-phone { background: var(--color-accent); color: var(--color-white); }
.float-phone:hover { background: var(--color-accent-dark); color: var(--color-white); }
.float-enquiry { background: var(--color-primary); color: var(--color-white); }
.float-enquiry:hover { background: var(--color-primary-dark); color: var(--color-white); }

/* Only show phone float on mobile */
@media (min-width: 769px) { .float-phone { display: none; } }

/* ----- Breadcrumbs ----- */
.breadcrumb-wrap { padding-block: var(--space-4); background: var(--color-off-white); border-bottom: 1px solid var(--color-border); }
.breadcrumb { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; font-size: var(--text-sm); color: var(--color-text-muted); list-style: none; padding: 0; margin: 0; }
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb li + li::before { content: '›'; margin-right: var(--space-2); }

/* ----- Page Hero (inner pages) ----- */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  padding-block: var(--space-16);
  text-align: center;
  color: var(--color-white);
}
.page-hero h1 { color: var(--color-white); }
.page-hero p { color: rgba(255,255,255,.75); max-width: 600px; margin-inline: auto; margin-top: var(--space-4); }

/* ----- Archive / Blog ----- */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--space-8); }
.post-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-card-image { aspect-ratio: 16/9; overflow: hidden; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.post-card:hover .post-card-image img { transform: scale(1.04); }
.post-card-body { padding: var(--space-6); }
.post-meta { font-size: var(--text-xs); color: var(--color-text-muted); margin-bottom: var(--space-3); }
.post-card h2 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.post-card h2 a { color: var(--color-primary); }
.post-card h2 a:hover { color: var(--color-accent); }
.post-card p { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-4); }

/* ----- Pagination ----- */
.pagination { display: flex; justify-content: center; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-12); }
.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-weight: var(--weight-semi);
  color: var(--color-text);
  transition: all var(--transition-fast);
}
.pagination .page-numbers:hover, .pagination .current { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }
.pagination .dots { border: none; background: none; }

/* ----- Single Post ----- */
.single-content { max-width: var(--container-narrow); margin-inline: auto; }
.single-header { padding-block: var(--space-12); border-bottom: 1px solid var(--color-border); margin-bottom: var(--space-10); }
.single-header h1 { margin-bottom: var(--space-4); }
.content-body { font-size: var(--text-lg); line-height: var(--leading-relaxed); }
.content-body h2 { margin-top: var(--space-10); margin-bottom: var(--space-4); }
.content-body h3 { margin-top: var(--space-8); margin-bottom: var(--space-3); }

/* ----- 404 ----- */
.error-404 { text-align: center; padding-block: var(--space-32); }
.error-404 .error-code { font-size: 8rem; font-weight: var(--weight-black); color: var(--color-accent); line-height: 1; opacity: .3; }
.error-404 h2 { margin-bottom: var(--space-4); }
.error-404 p { color: var(--color-text-muted); margin-bottom: var(--space-8); }

/* ----- Gutenberg Block Overrides ----- */
.entry-content .wp-block-image { margin-bottom: var(--space-6); }
.entry-content .wp-block-image img { border-radius: var(--radius-md); }
.entry-content .wp-block-button .wp-block-button__link {
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-weight: var(--weight-bold);
}
.entry-content .wp-block-group { padding: var(--space-8); border-radius: var(--radius-lg); }
.entry-content .wp-block-cover { border-radius: var(--radius-lg); overflow: hidden; }
.alignwide { max-width: var(--container-wide); margin-inline: auto; }
.alignfull { max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; }

/* ----- Utility Classes ----- */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.text-accent { color: var(--color-accent); }
.text-muted  { color: var(--color-text-muted); }
.text-white  { color: var(--color-white); }
.text-sm { font-size: var(--text-sm); }
.text-lg { font-size: var(--text-lg); }
.font-bold { font-weight: var(--weight-bold); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.no-bullet { list-style: none; padding: 0; margin: 0; }

/* ----- Scroll Animations ----- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ----- Skip Link ----- */
.skip-link {
  position: absolute;
  top: -60px;
  left: var(--space-4);
  padding: var(--space-3) var(--space-5);
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: var(--weight-bold);
  border-radius: var(--radius-md);
  z-index: var(--z-toast);
  transition: top var(--transition-fast);
}
.skip-link:focus { top: var(--space-4); color: var(--color-white); }

/* ----- Responsive Typography ----- */
@media (max-width: 480px) {
  :root { --space-20: 3.5rem; --space-24: 4rem; --space-32: 5rem; }
}

/* ----- Print Styles ----- */
@media print {
  .top-bar, #masthead, .floating-buttons, .float-btn, footer { display: none; }
  a { text-decoration: underline; }
}
