/* ============================================================
   TIRTH CHEMICALS — Premium Enterprise Design System
   ============================================================ */

:root {
  /* Palette */
  --navy-900: #06121f;
  --navy-800: #0a1d33;
  --navy-700: #0e2746;
  --navy-600: #143257;
  --teal-600: #0d7d80;
  --teal-500: #12969a;
  --teal-400: #1bb6b0;
  --blue-600: #1f6feb;
  --blue-500: #2d83ff;
  --blue-400: #5aa0ff;
  --ink-900: #0b1320;
  --ink-700: #1f2937;
  --ink-500: #475569;
  --ink-400: #64748b;
  --line: #e6ebf2;
  --line-soft: #eef2f7;
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --bg-mist: #eef4fb;
  --white: #ffffff;

  --grad-brand: linear-gradient(120deg, var(--navy-800) 0%, var(--teal-600) 60%, var(--blue-500) 120%);
  --grad-accent: linear-gradient(120deg, var(--teal-500), var(--blue-500));
  --grad-metal: linear-gradient(135deg, #dfe8f2 0%, #ffffff 40%, #c7d4e3 100%);
  --grad-dark: radial-gradient(1200px 600px at 70% -10%, #14365f 0%, transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-800));

  --shadow-sm: 0 1px 2px rgba(10,29,51,.06), 0 2px 8px rgba(10,29,51,.05);
  --shadow-md: 0 10px 30px rgba(10,29,51,.10);
  --shadow-lg: 0 24px 60px rgba(10,29,51,.16);
  --shadow-glow: 0 20px 50px rgba(31,111,235,.22);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --container: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

h1,h2,h3,h4 { font-family: var(--font-display); color: var(--ink-900); line-height: 1.08; letter-spacing: -.02em; font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 110px 0; position: relative; }
.section--tight { padding: 80px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--teal-600);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad-accent); border-radius: 2px; }
.eyebrow--light { color: var(--teal-400); }

.section-title { font-size: clamp(2rem, 4vw, 3.1rem); margin: 18px 0 0; max-width: 18ch; }
.section-lead { color: var(--ink-500); font-size: 1.08rem; max-width: 58ch; margin-top: 18px; }
.center { text-align: center; }
.center .section-title, .center .section-lead { margin-left: auto; margin-right: auto; }
.text-grad { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 15px 26px; border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-accent); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 28px 60px rgba(31,111,235,.34); }
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); background: var(--navy-700); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); }
.btn-outline { background: #fff; color: var(--navy-800); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-outline:hover { transform: translateY(-3px); border-color: var(--blue-400); color: var(--blue-600); }
.btn-sm { padding: 11px 18px; font-size: 14px; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.nav.scrolled { background: rgba(255,255,255,.86); backdrop-filter: blur(18px) saturate(160%); box-shadow: var(--shadow-sm); border-color: var(--line-soft); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; color: #fff; }
.nav.scrolled .brand { color: var(--ink-900); }
.brand__mark { width: 42px; height: 42px; border-radius: 12px; background: var(--grad-accent); display: grid; place-items: center; box-shadow: var(--shadow-glow); flex: none; }
.brand__mark svg { width: 24px; height: 24px; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--teal-400); margin-top: 2px; }
.nav.scrolled .brand small { color: var(--teal-600); }

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a { font-weight: 500; font-size: 15px; color: rgba(255,255,255,.86); position: relative; transition: color .3s; }
.nav.scrolled .nav__links a { color: var(--ink-700); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--grad-accent); transition: width .35s var(--ease); border-radius: 2px; }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__links a:hover { color: #fff; }
.nav.scrolled .nav__links a:hover { color: var(--navy-800); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.nav.scrolled .nav__toggle span { background: var(--ink-900); }

@media (max-width: 980px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }
  .nav.open .nav__links {
    display: flex; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column;
    gap: 0; background: #fff; padding: 14px 28px 28px; box-shadow: var(--shadow-lg); border-top: 1px solid var(--line);
  }
  .nav.open .nav__links a { color: var(--ink-900); padding: 16px 0; border-bottom: 1px solid var(--line-soft); width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--grad-dark); }
/* image slider */
.hero__slides { position: absolute; inset: 0; z-index: 0; background: var(--navy-900); }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; opacity: 0; transition: opacity 1.8s ease-in-out; will-change: opacity; }
.hero__slide.is-active { opacity: 1; } /* pure fade — no zoom / pan / Ken Burns */
/* full-screen premium readability layer — clean black only (no blur/fog/grey/tint) */
.hero__overlay { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.50) 30%, rgba(0,0,0,.45) 70%, rgba(0,0,0,.55) 100%),
  linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.50) 40%, rgba(0,0,0,.40) 100%); }
/* particle fx layer (subtle, over overlay) */
.hero__fx { position: absolute; inset: 0; z-index: 3; opacity: .26; pointer-events: none; }
.hero__fx canvas { width: 100%; height: 100%; }
.hero__veil { position: absolute; inset: 0; z-index: 2; background:
  linear-gradient(180deg, rgba(0,0,0,.12) 0%, transparent 32%, transparent 62%, rgba(0,0,0,.30) 100%); } /* neutral readability gradient — no color tint */
.hero__grid { position: absolute; inset: 0; z-index: 2; opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 78%); }
.hero .container { position: relative; z-index: 4; padding-top: 120px; padding-bottom: 60px; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px); font-size: 13px; font-weight: 500; letter-spacing: .02em; }
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-400); box-shadow: 0 0 0 4px rgba(27,182,176,.25); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6.2vw, 5rem); margin: 26px 0 0; max-width: 16ch; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.hero h1 .text-grad { background: linear-gradient(120deg, var(--teal-400), var(--blue-400)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { color: rgba(255,255,255,.9); font-size: 1.2rem; max-width: 56ch; margin: 26px 0 0; text-shadow: 0 1px 14px rgba(0,0,0,.4); }
.hero__cta { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }
.hero__stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 64px; max-width: 760px; }
.hero__stat { padding: 22px 22px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); }
.hero__stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem,3vw,2.3rem); color: #fff; }
.hero__stat .lbl { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 4px; letter-spacing: .02em; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 4; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll .mouse { width: 22px; height: 36px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 14px; position: relative; }
.hero__scroll .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; transform: translateX(-50%); width: 3px; height: 7px; background: #fff; border-radius: 2px; animation: wheel 1.6s infinite; }
@keyframes wheel { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 100%{opacity:0;transform:translate(-50%,10px)} }

@media (max-width: 760px){ .hero__stats { grid-template-columns: repeat(2,1fr); } }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--navy-900); color: #fff; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.06); }
.trustbar__row { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.trustbar__item { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: rgba(255,255,255,.82); font-weight: 500; }
.trustbar__item svg { width: 22px; height: 22px; color: var(--teal-400); flex: none; }

/* ---------- Grid utilities ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 980px){ .grid-3,.grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px){ .grid-2,.grid-3,.grid-4 { grid-template-columns: repeat(2,1fr); gap: 14px; } }

/* ---------- About / split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
@media (max-width: 940px){ .split { grid-template-columns: 1fr; gap: 40px; } }
.feature-list { margin-top: 30px; display: grid; gap: 18px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .ico { width: 40px; height: 40px; border-radius: 11px; background: var(--bg-mist); display: grid; place-items: center; flex: none; color: var(--blue-600); }
.feature-list .ico svg { width: 20px; height: 20px; }
.feature-list b { font-family: var(--font-display); color: var(--ink-900); display: block; font-size: 1.02rem; }
.feature-list span { color: var(--ink-500); font-size: .96rem; }

.media-stack { position: relative; }
.media-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--grad-dark); aspect-ratio: 4/3; position: relative; }
.media-card .figure { position: absolute; inset: 0; }
.media-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.media-float { position: absolute; bottom: -26px; left: -26px; background: #fff; padding: 22px 24px; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: flex; gap: 16px; align-items: center; border: 1px solid var(--line-soft); }
.media-float .big { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--navy-800); line-height: 1; }
.media-float .sub { font-size: 13px; color: var(--ink-500); max-width: 16ch; }
@media (max-width: 940px){ .media-float { left: 16px; } }

/* ---------- Cards (category / generic) ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--grad-accent); transition: width .45s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { width: 100%; }
.card .ico { width: 54px; height: 54px; border-radius: 14px; background: var(--bg-mist); display: grid; place-items: center; color: var(--blue-600); margin-bottom: 22px; transition: background .4s, color .4s; }
.card:hover .ico { background: var(--grad-accent); color: #fff; }
.card .ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.32rem; }
.card p { color: var(--ink-500); margin-top: 10px; font-size: .98rem; }
.card .meta { margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--teal-600); font-family: var(--font-display); }
.card .link { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--blue-600); }
.card .link svg { width: 16px; height: 16px; transition: transform .3s; }
.card:hover .link svg { transform: translateX(5px); }

/* ---------- Industry tiles ---------- */
.tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 248px; background: var(--grad-dark); color: #fff; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid rgba(255,255,255,.06); transition: transform .45s var(--ease), box-shadow .45s; }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; background-size: cover; background-position: center; z-index: 0; border: 0; transition: transform .7s var(--ease); will-change: transform; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,18,31,.15) 0%, rgba(6,18,31,.45) 45%, rgba(6,18,31,.92) 100%); z-index: 1; transition: background .45s; }
.tile .pattern { display: none; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tile:hover .tile__img { transform: scale(1.09); }
.tile:hover::after { background: linear-gradient(180deg, rgba(6,18,31,.25) 0%, rgba(11,40,70,.55) 45%, rgba(6,18,31,.94) 100%); }
.tile .ico { position: relative; z-index: 2; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); display: grid; place-items: center; color: #fff; margin-bottom: auto; }
.tile .ico svg { width: 22px; height: 22px; }
.tile h4 { position: relative; z-index: 2; color: #fff; font-size: 1.14rem; margin-top: 16px; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.tile span { position: relative; z-index: 2; font-size: 13px; color: rgba(255,255,255,.82); margin-top: 4px; }
a.tile { text-decoration: none; }

/* ---------- Stat strip ---------- */
.statstrip { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.statstrip .s { text-align: center; }
.statstrip .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem,4vw,3.2rem); background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.statstrip .lbl { color: var(--ink-500); font-size: 14.5px; margin-top: 6px; }
@media (max-width: 640px){ .statstrip { grid-template-columns: repeat(2,1fr); gap: 32px 18px; } }

/* ---------- Dark section ---------- */
.dark { background: var(--grad-dark); color: #fff; position: relative; overflow: hidden; }
.dark::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%); }
.dark .container { position: relative; z-index: 1; }
.dark h2, .dark h3 { color: #fff; }
.dark .section-lead { color: rgba(255,255,255,.72); }
.glass { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 30px; backdrop-filter: blur(10px); transition: transform .4s var(--ease), background .4s; }
.glass:hover { transform: translateY(-6px); background: rgba(255,255,255,.08); }
.glass .ico { width: 50px; height: 50px; border-radius: 13px; background: rgba(27,182,176,.16); border: 1px solid rgba(27,182,176,.3); display: grid; place-items: center; color: var(--teal-400); margin-bottom: 20px; }
.glass .ico svg { width: 24px; height: 24px; }
.glass h4 { color: #fff; font-size: 1.15rem; }
.glass p { color: rgba(255,255,255,.7); font-size: .95rem; margin-top: 8px; }

/* ---------- Network / map ---------- */
.network { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
@media (max-width: 940px){ .network { grid-template-columns: 1fr; } }
.map-wrap { position: relative; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-md); }
.map-wrap svg { width: 100%; height: auto; }
.map-dot { fill: var(--blue-500); }
.map-pulse { fill: var(--teal-500); }
/* India map markers */
.india-map { width: 100%; height: auto; display: block; }
.india-map .cdot { fill: var(--blue-600); }
.india-map .cpulse { fill: var(--teal-500); }
.india-map .cglow { fill: var(--teal-400); opacity: .20; filter: url(#softGlow); }
.india-map .clabel { fill: var(--navy-700); font-family: var(--font-body); font-size: 12px; font-weight: 600; }
@media (max-width: 520px){ .india-map .clabel { font-size: 13px; } }
.net-points { display: grid; gap: 14px; margin-top: 6px; }
.net-points li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-weight: 500; transition: transform .3s, border-color .3s; }
.net-points li:hover { transform: translateX(6px); border-color: var(--blue-400); }
.net-points .pin { width: 34px; height: 34px; border-radius: 9px; background: var(--bg-mist); display: grid; place-items: center; color: var(--blue-600); flex: none; }
.net-points .pin svg { width: 17px; height: 17px; }
.net-points small { color: var(--ink-400); display: block; font-weight: 400; }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.quote .mark { font-family: var(--font-display); font-size: 3rem; line-height: .6; color: var(--blue-400); }
.quote p { color: var(--ink-700); margin: 14px 0 22px; font-size: 1.04rem; }
.quote .who { display: flex; align-items: center; gap: 14px; }
.quote .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-accent); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.quote .who b { display: block; font-family: var(--font-display); color: var(--ink-900); }
.quote .who small { color: var(--ink-400); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-dark); color: #fff; border-radius: var(--radius-xl); padding: 70px 60px; text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% -20%, rgba(31,111,235,.4), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(2rem,4vw,3rem); max-width: 22ch; margin: 0 auto; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 56ch; margin: 18px auto 0; }
.cta-band .row { display: flex; gap: 16px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
@media (max-width: 640px){ .cta-band { padding: 48px 24px; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding: 80px 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 880px){ .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px){ .footer__top { grid-template-columns: 1fr; } }
.footer .brand { color: #fff; }
.footer p { margin-top: 18px; font-size: .95rem; max-width: 38ch; }
.footer h5 { font-family: var(--font-display); color: #fff; font-size: .92rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { font-size: .95rem; transition: color .3s; }
.footer ul a:hover { color: var(--teal-400); }
.footer__bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: rgba(255,255,255,.5); }
.footer .contact-line { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: .95rem; }
.footer .contact-line svg { width: 18px; height: 18px; color: var(--teal-400); flex: none; margin-top: 3px; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--grad-dark); color: #fff; padding: 150px 0 80px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(circle at 80% 20%, #000, transparent 70%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem,5vw,3.6rem); max-width: 20ch; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 60ch; margin-top: 18px; font-size: 1.1rem; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.crumbs a:hover { color: var(--teal-400); }
.crumbs span { color: var(--teal-400); }

/* ---------- Catalog ---------- */
.catalog { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; }
@media (max-width: 940px){ .catalog { grid-template-columns: 1fr; } }
.cat-side { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
@media (max-width: 940px){ .cat-side { position: static; } }
.cat-side h4 { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-400); margin: 22px 0 12px; }
.cat-side h4:first-child { margin-top: 0; }
.filter-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; padding: 11px 14px; border-radius: 10px; border: 1px solid transparent; background: none; cursor: pointer; font-family: var(--font-body); font-size: 14.5px; color: var(--ink-700); transition: .25s; margin-bottom: 4px; }
.filter-btn:hover { background: var(--bg-soft); }
.filter-btn.active { background: var(--bg-mist); color: var(--navy-800); font-weight: 600; border-color: var(--line); }
.filter-btn .count { font-size: 12px; color: var(--ink-400); background: var(--bg-soft); padding: 2px 9px; border-radius: 999px; }
.filter-btn.active .count { background: var(--grad-accent); color: #fff; }

.search-bar { position: relative; margin-bottom: 24px; }
.search-bar input { width: 100%; padding: 16px 18px 16px 50px; border: 1px solid var(--line); border-radius: 14px; font-size: 16px; font-family: var(--font-body); background: #fff; box-shadow: var(--shadow-sm); transition: border-color .3s, box-shadow .3s; }
.search-bar input:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 4px rgba(31,111,235,.1); }
.search-bar svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ink-400); }

.alpha { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.alpha button { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--ink-500); transition: .2s; }
.alpha button:hover:not(:disabled) { border-color: var(--blue-400); color: var(--blue-600); }
.alpha button.active { background: var(--grad-accent); color: #fff; border-color: transparent; }
.alpha button:disabled { opacity: .3; cursor: not-allowed; }

.cat-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 12px; }
.cat-head .count-txt { color: var(--ink-400); font-size: 14px; }
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 1100px){ .product-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .product-grid { grid-template-columns: repeat(2,1fr); gap: 12px; } }

.pcard { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; position: relative; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.pcard__tag { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-600); }
.pcard__formula { float: right; font-family: var(--font-display); font-size: 13px; color: var(--ink-400); background: var(--bg-soft); padding: 3px 10px; border-radius: 8px; }
.pcard h3 { font-size: 1.12rem; margin: 12px 0 0; line-height: 1.25; }
.pcard .cas { font-size: 13px; color: var(--ink-400); margin-top: 6px; }
.pcard .go { margin-top: 16px; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--blue-600); }
.pcard .go svg { width: 15px; height: 15px; transition: transform .3s; }
.pcard:hover .go svg { transform: translateX(4px); }
.empty { text-align: center; padding: 70px 20px; color: var(--ink-400); }
.empty svg { width: 48px; height: 48px; margin: 0 auto 14px; color: var(--line); }

/* ---------- Product detail ---------- */
.pd-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: start; }
@media (max-width: 880px){ .pd-head { grid-template-columns: 1fr; gap: 30px; } }
.pd-formula-card { background: var(--grad-dark); color: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.pd-formula-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at 80% 0%, rgba(31,111,235,.4), transparent 60%); }
.pd-formula-card > * { position: relative; z-index: 1; }
.pd-formula-card .f { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: #fff; letter-spacing: .02em; }
.pd-formula-card .row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14.5px; }
.pd-formula-card .row span:first-child { color: rgba(255,255,255,.6); }
.pd-formula-card .row span:last-child { color: #fff; font-weight: 600; }
.pd-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }

.spec-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 560px){ .spec-grid { grid-template-columns: 1fr; } }
.spec-grid .cell { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.spec-grid .cell:nth-child(odd){ border-right: 1px solid var(--line); }
.spec-grid .k { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-400); }
.spec-grid .v { font-family: var(--font-display); font-weight: 600; color: var(--ink-900); margin-top: 4px; }

.pd-block { margin-top: 56px; }
.pd-block h2 { font-size: 1.6rem; margin-bottom: 16px; }
.pd-block p { color: var(--ink-500); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip { padding: 9px 16px; border-radius: 999px; background: var(--bg-mist); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--navy-700); }
.info-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 760px){ .info-cards { grid-template-columns: 1fr; } }
.info-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-card .ico { width: 44px; height: 44px; border-radius: 11px; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--blue-600); margin-bottom: 14px; }
.info-card .ico svg { width: 22px; height: 22px; }
.info-card h4 { font-size: 1.05rem; }
.info-card p { font-size: .94rem; margin-top: 6px; color: var(--ink-500); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
@media (max-width: 940px){ .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; font-family: var(--font-display); color: var(--ink-700); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font-family: var(--font-body); font-size: 15px; background: var(--bg-soft); transition: border-color .3s, box-shadow .3s, background .3s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-400); background: #fff; box-shadow: 0 0 0 4px rgba(31,111,235,.1); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px){ .field-row { grid-template-columns: 1fr; } }
.contact-info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; transition: transform .3s, box-shadow .3s; }
.contact-info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-info-card .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--grad-accent); color: #fff; display: grid; place-items: center; flex: none; }
.contact-info-card .ico svg { width: 22px; height: 22px; }
.contact-info-card b { font-family: var(--font-display); color: var(--ink-900); display: block; }
.contact-info-card span { color: var(--ink-500); font-size: .96rem; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: 24px; }
.map-embed iframe { width: 100%; height: 300px; border: 0; display: block; }
.form-note { font-size: 13px; color: var(--ink-400); margin-top: 10px; }
.toast { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; padding: 14px 18px; border-radius: 12px; font-size: 14.5px; margin-bottom: 18px; display: none; }
.toast.show { display: block; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay: .08s; }
.reveal[data-d="2"]{ transition-delay: .16s; }
.reveal[data-d="3"]{ transition-delay: .24s; }
.reveal[data-d="4"]{ transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity:1; transform:none; transition:none; } * { scroll-behavior:auto; } }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 9999; background: var(--navy-900); display: grid; place-items: center; transition: opacity .35s ease, visibility .35s; animation: loaderAutoHide .3s ease .2s forwards; }
.loader.hide { opacity: 0; visibility: hidden; animation: none; }
@keyframes loaderAutoHide { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .loader { display: none; } }
.loader__mark { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.loader__ring { width: 56px; height: 56px; border-radius: 50%; border: 3px solid rgba(255,255,255,.12); border-top-color: var(--teal-400); animation: spin .9s linear infinite; }
.loader__txt { font-family: var(--font-display); font-weight: 600; letter-spacing: .24em; text-transform: uppercase; font-size: 12px; color: rgba(255,255,255,.6); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Section divider helper ---------- */
.soft-bg { background: var(--bg-soft); }
.mist-bg { background: linear-gradient(180deg, #fff, var(--bg-mist)); }

/* ---------- Testimonials page ---------- */
.stars { display: inline-flex; gap: 3px; color: #f5a524; }
.stars svg { width: 18px; height: 18px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; display: flex; flex-direction: column; height: 100%; }
.tcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.tcard__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tcard__logo { width: 52px; height: 52px; border-radius: 13px; background: var(--grad-accent); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; flex: none; box-shadow: var(--shadow-glow); }
.tcard__co b { font-family: var(--font-display); color: var(--ink-900); display: block; line-height: 1.2; }
.tcard__co .tag { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-600); }
.tcard p.body { color: var(--ink-700); font-size: 1.02rem; margin: 4px 0 20px; flex: 1; }
.tcard__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.tcard__foot .person b { font-family: var(--font-display); color: var(--ink-900); display: block; font-size: .95rem; }
.tcard__foot .person small { color: var(--ink-400); font-size: .85rem; }

/* metrics on dark */
.metric { text-align: center; }
.metric .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem,4.5vw,3.6rem); background: linear-gradient(120deg, var(--teal-400), var(--blue-400)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.metric .lbl { color: rgba(255,255,255,.72); font-size: 14.5px; margin-top: 6px; }

/* case studies */
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 0; overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 28px; transition: box-shadow .4s; }
.case:hover { box-shadow: var(--shadow-md); }
.case__top { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center; padding: 26px 32px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
@media (max-width: 600px){ .case__top { grid-template-columns: 56px 1fr; } .case__top .stars { grid-column: 2; } }
.case__logo { width: 64px; height: 64px; border-radius: 15px; background: var(--grad-dark); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.case__co b { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink-900); display: block; }
.case__co .tag { font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--teal-600); }
.csr { display: grid; grid-template-columns: repeat(3,1fr); }
@media (max-width: 760px){ .csr { grid-template-columns: 1fr; } }
.csr > div { padding: 26px 32px; border-right: 1px solid var(--line-soft); }
.csr > div:last-child { border-right: 0; }
@media (max-width: 760px){ .csr > div { border-right: 0; border-bottom: 1px solid var(--line-soft); } .csr > div:last-child { border-bottom: 0; } }
.csr .step { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.csr .step .d { width: 8px; height: 8px; border-radius: 50%; }
.csr .challenge .step { color: #d97706; } .csr .challenge .d { background: #f59e0b; }
.csr .solution .step { color: var(--blue-600); } .csr .solution .d { background: var(--blue-500); }
.csr .result .step { color: var(--teal-600); } .csr .result .d { background: var(--teal-500); }
.csr p { color: var(--ink-500); font-size: .96rem; }
.csr .result p { color: var(--ink-700); font-weight: 500; }

/* ---------- Brand logo (actual uploaded logo image) ---------- */
.brand { display: block; width: 74px; height: 56px; padding: 0; gap: 0; background: url('img/logo.png') left center / contain no-repeat; font-size: 0; line-height: 0; }
.brand__mark { display: none !important; } /* old icon hidden — logo image used instead */
/* keep the brand wordmark for screen readers & SEO (accessible link name) but hide it visually */
.brand > span:not(.brand__mark) { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.nav:not(.scrolled) .brand { filter: brightness(0) invert(1); } /* white logo over dark hero */
.nav.scrolled .brand { filter: none; }
.footer .brand { width: 82px; height: 60px; filter: brightness(0) invert(1); } /* white logo on dark footer */
@media (max-width: 980px){ .brand { width: 64px; height: 48px; } }

/* ---------- India network map (actual approved image) ---------- */
.india-map-img { width: 100%; height: auto; display: block; }

/* ============================================================
   MOBILE RESPONSIVENESS — 2 cards per row, no horizontal scroll
   ============================================================ */
html, body { max-width: 100%; overflow-x: hidden; }
*, *::before, *::after { min-width: 0; }
img, svg, iframe, .map-wrap, .media-card { max-width: 100%; }

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section--tight { padding: 44px 0; }
  .section-title { font-size: clamp(1.55rem, 6vw, 2rem); }
  .section-lead { font-size: 1rem; }

  /* card sections: 2 per row, tightened for readability */
  .card { padding: 18px 15px; border-radius: 16px; }
  .card .ico { width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; }
  .card .ico svg { width: 22px; height: 22px; }
  .card h3 { font-size: 1.04rem; }
  .card p { font-size: .9rem; margin-top: 8px; }
  .card .meta, .card .link { font-size: 12.5px; }

  .glass { padding: 18px 15px; }
  .glass .ico { width: 44px; height: 44px; margin-bottom: 14px; }
  .glass h4 { font-size: 1.02rem; }
  .glass p { font-size: .9rem; }

  .tile { min-height: 150px; padding: 16px; }
  .tile .ico { width: 38px; height: 38px; }
  .tile h4 { font-size: 1rem; margin-top: 12px; }
  .tile span { font-size: 12px; }

  .quote { padding: 20px 16px; }
  .quote p { font-size: .92rem; margin: 10px 0 16px; }
  .quote .mark { font-size: 2.2rem; }
  .quote .avatar { width: 40px; height: 40px; }

  .pcard { padding: 16px 14px; }
  .pcard h3 { font-size: 1rem; }

  /* hero */
  .hero h1 { font-size: clamp(2rem, 8.5vw, 2.8rem); }
  .hero p.lead { font-size: 1.02rem; }
  .hero__stats { grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 40px; }
  .hero__stat { padding: 16px 14px; }

  /* CTA band + buttons */
  .cta-band { padding: 40px 18px; }
  .cta-band h2 { font-size: 1.6rem; }
  .hero__cta, .cta-band .row { gap: 12px; }

  /* footer 2-up */
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer .brand { margin: 0 auto; }
  .footer__top > div { text-align: center; }
  .footer__top .contact-line, .footer__top .feature-list { justify-content: center; }
}

/* very small phones (≤360): keep 2-up but reduce gaps/padding a touch */
@media (max-width: 360px) {
  .container { padding: 0 13px; }
  .grid-2, .grid-3, .grid-4 { gap: 11px; }
  .card { padding: 15px 12px; }
  .card h3 { font-size: .98rem; }
  .card p { font-size: .85rem; }
  .glass { padding: 15px 12px; }
  .tile { min-height: 132px; padding: 13px; }
}

/* testimonials cards on mobile */
@media (max-width: 640px) {
  .tcard { padding: 18px 15px; }
  .tcard p.body { font-size: .9rem; }
  .tcard__logo { width: 44px; height: 44px; font-size: 1rem; }
  .tcard__head { gap: 10px; margin-bottom: 14px; }
  .metric .num { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .info-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   REVISION — mobile hero video · landscape stat · footer · menu underline
   ============================================================ */

/* CHANGE 1 — hero background: portrait VIDEO on mobile only; desktop slideshow untouched */
.hero__video { display: none; }
@media (max-width: 767px) {
  .hero__slides { display: none; }
  .hero__video {
    display: block; position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    z-index: 0; background: var(--navy-900); border: 0;
  }
}

/* CHANGE 2 — hero stat cards (incl. Pan India): fix cramped text in LANDSCAPE only (phones + small tablets) */
@media (orientation: landscape) and (max-height: 600px) {
  .hero__stat { padding: 16px 16px; }
  .hero__stat .num { font-size: 1.35rem; line-height: 1.15; }
  .hero__stat .lbl { font-size: 11.5px; line-height: 1.3; margin-top: 4px; }
}

/* CHANGE 3 — mobile footer: revert to single column (logo top, full-width paragraph, sections below) */
@media (max-width: 640px) {
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .footer .brand { margin: 0; }
  .footer__top > div { text-align: left; }
  .footer__top .contact-line { justify-content: flex-start; }
  .footer p { max-width: none; }
}

/* CHANGE 4 — remove blue underline on nav links inside the MOBILE menu only */
@media (max-width: 980px) {
  .nav__links a::after { display: none !important; }
}

/* Pan India / hero stat cards — LAPTOP ONLY (1024–1600px): give text room so "Pan India" fits on one line, cards stay matched */
@media (min-width: 1024px) and (max-width: 1600px) {
  .hero__stats { max-width: 840px; gap: 16px; }
  .hero__stat { padding: 22px 14px; }
  .hero__stat .num { white-space: nowrap; }
}

/* ============================================================
   PAGE HERO BACKGROUND IMAGES (interior pages) + Industries fade slideshow
   ============================================================ */
/* single image hero (About, Products, Contact, Testimonials) — url() lives in the stylesheet (resolves to assets/img/...) */
.page-hero--img {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.page-hero--img::before { display: none; } /* remove grid texture over the photo */
.page-hero--about        { background-image: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), url('img/bg-about.webp'); }
.page-hero--products     { background-image: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), url('img/bg-products.webp'); }
.page-hero--testimonials { background-image: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), url('img/bg-testimonials.webp'); }
.page-hero--contact      { background-image: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), url('img/bg-contact.webp'); }

/* Industries — 4-image cross-fade slideshow (fade only, no zoom/scale/pan) */
.page-hero--slides::before { display: none; }
.ph-slides { position: absolute; inset: 0; z-index: 0; }
.ph-slide {
  position: absolute; inset: 0; opacity: 0; will-change: opacity;
  background-size: cover; background-position: center center; background-repeat: no-repeat;
  animation: phFade 20s linear infinite;
}
.ph-slide--1 { background-image: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), url('img/bg-ind-1.webp'); }
.ph-slide--2 { background-image: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), url('img/bg-ind-2.webp'); }
.ph-slide--3 { background-image: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), url('img/bg-ind-3.webp'); }
.ph-slide--4 { background-image: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), url('img/bg-ind-4.webp'); }
.ph-slide:nth-child(1){ animation-delay: 0s; }
.ph-slide:nth-child(2){ animation-delay: 5s; }
.ph-slide:nth-child(3){ animation-delay: 10s; }
.ph-slide:nth-child(4){ animation-delay: 15s; }
@keyframes phFade { 0% { opacity: 0; } 6% { opacity: 1; } 25% { opacity: 1; } 31% { opacity: 0; } 100% { opacity: 0; } }
.page-hero--slides .container { position: relative; z-index: 1; }

/* mobile focal reposition for portrait phones */
@media (max-width: 600px) {
  .page-hero--img { background-position: 60% center; }
  .ph-slide { background-position: 60% center; }
}
/* accessibility: no motion -> show first image static */
@media (prefers-reduced-motion: reduce) {
  .ph-slide { animation: none; }
  .ph-slide:first-child { opacity: 1; }
}
