/* ============================================================
   Triveni Interchem Pvt. Ltd. — Custom Styles
   Works alongside Tailwind (CDN) + Lucide icons.
   ============================================================ */

:root {
  --blue: #302d7e;
  --blue-2: #202267;
  --blue-3: #3d3a9e;
  --green: #168747;
  --green-2: #0f6c38;
  --orange: #f36b32;
  --orange-2: #ff915f;
  --ink: #172033;
  --muted: #667085;
  --soft: #f6f8fb;
  --line: #e6eaf1;
  --shadow: 0 22px 60px rgba(24, 32, 51, .12);
  --shadow-sm: 0 16px 44px rgba(24, 32, 51, .07);
  --radius: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  margin: 0;
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 72px);
}

/* Lucide icon sizing helpers */
[data-lucide] { width: 24px; height: 24px; stroke-width: 2; }
.i-sm [data-lucide] { width: 18px; height: 18px; }
.i-lg [data-lucide] { width: 28px; height: 28px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 999px; padding: 13px 24px; font-weight: 800; font-size: 15px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  border: 1px solid transparent; cursor: pointer; min-height: 50px;
}
.btn [data-lucide] { width: 19px; height: 19px; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 12px 26px rgba(243, 107, 50, .28); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(243, 107, 50, .34); }
.btn-ghost { background: #fff; color: var(--blue); border-color: #d9ddeb; }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--blue); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 12px 26px rgba(48, 45, 126, .25); }
.btn-blue:hover { transform: translateY(-3px); background: var(--blue-2); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(4px); }
.btn-light:hover { transform: translateY(-3px); background: rgba(255,255,255,.22); }

/* ---------- Top bar ---------- */
.topbar { background: linear-gradient(90deg, var(--blue), var(--blue-2)); color: #fff; font-size: 13.5px; }
.topbar .container { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; flex-wrap: wrap; }
.topbar span { display: inline-flex; align-items: center; gap: 7px; }
.topbar [data-lucide] { width: 15px; height: 15px; }
.topbar a:hover { color: #ffd7c4; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255, 255, 255); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.navbar.scrolled { box-shadow: 0 8px 30px rgba(24, 32, 51, .08); }
.navwrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img {  height: 52px; object-fit: contain;   padding: 3px;  }
.brand-name { font-weight: 900; color: var(--blue); font-size: 18px; line-height: 1.05; }
.brand-name small { display: block; color: var(--muted); font-weight: 700; font-size: 10px; letter-spacing: 1.3px; text-transform: uppercase; margin-top: 3px; }
.navlinks { display: flex; gap: 20px; align-items: center; font-weight: 700; color: #29304a; font-size: 15px; }
.navlinks a { position: relative; white-space: nowrap; padding: 4px 0; }
.navlinks a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 3px; border-radius: 99px; background: var(--orange); transition: width .25s ease; }
.navlinks a:hover { color: var(--orange); }
.navlinks a:hover::after { width: 100%; }
.nav-cta { display: inline-flex; }
.menu-btn { display: none; border: 0; background: var(--blue); color: #fff; padding: 10px; border-radius: 12px; cursor: pointer; align-items: center; }
.menu-btn [data-lucide] { width: 22px; height: 22px; }

/* ============================================================
   HERO — upgraded
   ============================================================ */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(243, 107, 50, .38), transparent 60%),
    radial-gradient(900px 520px at 5% 108%, rgba(22, 135, 71, .38), transparent 60%),
    linear-gradient(135deg, #2b2977 0%, #302d7e 46%, #232468 100%);
  padding: clamp(64px, 7vw, 108px) 0 clamp(70px, 7vw, 110px);
}
/* subtle grid + glow layers */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
}
.hero::after {
  content: ""; position: absolute; right: -160px; top: -120px; width: 520px; height: 520px;
  border-radius: 50%; border: 70px solid rgba(255, 255, 255, .05); z-index: -1;
  animation: float 9s ease-in-out infinite;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 470px); gap: clamp(30px, 4vw, 60px); align-items: center; }
.hero-copy { max-width: 700px; position: relative; }
.eyebrow {
  display: inline-flex; gap: 9px; align-items: center; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px);
  padding: 8px 15px; border-radius: 999px; color: #fff; font-weight: 700; font-size: 13.5px; margin-bottom: 22px;
}
.eyebrow [data-lucide] { width: 16px; height: 16px; color: var(--orange-2); }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -2px; margin-bottom: 20px; font-weight: 900; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--orange-2), var(--orange) 60%, #ffd0b8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(16px, 1.3vw, 18.5px); color: rgba(255,255,255,.82); max-width: 620px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.9); }
.hero-trust [data-lucide] { width: 18px; height: 18px; color: var(--orange-2); }

.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: 620px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; overflow: hidden; backdrop-filter: blur(6px); }
.hero-stats .hs { padding: 20px 22px; border-right: 1px solid rgba(255,255,255,.12); }
.hero-stats .hs:last-child { border-right: 0; }
.hero-stats b { display: block; font-size: clamp(26px, 2.6vw, 34px); color: #fff; line-height: 1.05; font-weight: 900; }
.hero-stats span { font-size: 12.5px; color: rgba(255,255,255,.72); font-weight: 700; display: block; margin-top: 3px; }

/* Hero visual card */
.hero-card {
  position: relative; background: rgba(255, 255, 255, .96); border: 1px solid rgba(255,255,255,.5);
  border-radius: 30px; padding: clamp(16px, 2vw, 24px); box-shadow: 0 40px 80px rgba(10, 14, 40, .45);
  overflow: hidden; animation: rise .8s ease both; width: 100%; max-width: 470px; justify-self: end;
}
.lab-visual { position: relative; height: clamp(320px, 33vw, 410px); border-radius: 24px; background: #fff; border: 1px solid #eef1f7; display: grid; place-items: center; overflow: hidden; }
.dr-trivo-visual { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; position: relative; z-index: 2; }
.hero-logo-mark { position: absolute; top: 20px; left: 20px; width: 74px; height: 74px; border-radius: 20px; background: #fff; padding: 8px; box-shadow: 0 18px 40px rgba(24, 32, 51, .14); border: 1px solid var(--line); z-index: 3; }
.hero-logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.iso-badge { position: absolute; top: 20px; right: 20px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; background: var(--green); color: #fff; font-weight: 800; font-size: 12px; padding: 7px 12px; border-radius: 999px; box-shadow: 0 12px 26px rgba(22,135,71,.3); }
.iso-badge [data-lucide] { width: 14px; height: 14px; }

/* Trust carousel under hero */
.marquee { background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee-carousel { display: flex; align-items: center; gap: 12px; padding-block: 14px; }
.marquee-window { flex: 1; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; }
.marquee-window::-webkit-scrollbar { display: none; }
.marquee .track { display: flex; gap: 14px; width: max-content; }
.marquee span {
  flex: 0 0 clamp(220px, 24vw, 270px);
  min-height: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  color: #4d5871; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 10px 30px rgba(24, 32, 51, .06);
  font-weight: 800; font-size: 14px; letter-spacing: .3px; text-transform: uppercase;
}
.marquee [data-lucide] { width: 18px; height: 18px; color: var(--green); flex: 0 0 auto; }
.marquee-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--blue); cursor: pointer; box-shadow: var(--shadow-sm);
  display: grid; place-items: center; flex: 0 0 auto;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.marquee-btn:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.marquee-btn [data-lucide] { color: currentColor; width: 19px; height: 19px; }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 7vw, 92px) 0; position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 40px; flex-wrap: wrap; }
.kicker { display: inline-flex; align-items: center; gap: 7px; color: var(--orange); font-weight: 800; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 10px; }
.kicker [data-lucide] { width: 16px; height: 16px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; color: var(--blue); letter-spacing: -1px; }
.section-head p { color: var(--muted); max-width: 560px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cards.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: block; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 16px 46px rgba(24, 32, 51, .06); transition: transform .28s ease, box-shadow .28s ease; position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--blue), var(--green), var(--orange)); transform: scaleX(0); transform-origin: left; transition: transform .32s ease; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }
.icon { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--blue), var(--blue-3)); display: grid; place-items: center; color: #fff; margin-bottom: 18px; }
.icon [data-lucide] { width: 26px; height: 26px; }
.card:nth-child(3n-1) .icon { background: linear-gradient(135deg, var(--green), #34a866); }
.card:nth-child(3n) .icon { background: linear-gradient(135deg, var(--orange), var(--orange-2)); }
.card h3 { font-size: 21px; color: #20264a; margin-bottom: 8px; }
.card p { color: var(--muted); }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--blue); font-weight: 800; font-size: 14px; }
.card-link [data-lucide] { width: 16px; height: 16px; transition: transform .2s ease; }
.card:hover .card-link [data-lucide] { transform: translateX(4px); }

/* ---------- Strip / counters ---------- */
.strip { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; position: relative; overflow: hidden; }
.strip::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 120%, rgba(243,107,50,.25), transparent 60%); }
.strip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 50px 0; text-align: center; position: relative; }
.strip-grid > div { position: relative; }
.strip .si { width: 46px; height: 46px; border-radius: 13px; background: rgba(255,255,255,.12); display: grid; place-items: center; margin: 0 auto 12px; }
.strip b { display: block; font-size: clamp(30px, 4vw, 46px); font-weight: 900; line-height: 1; }
.strip span { font-size: 14px; color: rgba(255, 255, 255, .8); font-weight: 700; margin-top: 6px; display: block; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(30px, 4vw, 56px); align-items: center; }
.about-list { display: grid; gap: 16px; margin-top: 24px; }
.about-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-sm); }
.about-item .tick { width: 38px; height: 38px; border-radius: 11px; background: rgba(22, 135, 71, .12); color: var(--green); display: grid; place-items: center; flex: 0 0 auto; }
.about-item .tick [data-lucide] { width: 20px; height: 20px; }
.about-item h4 { color: #20264a; font-size: 16px; margin-bottom: 3px; }
.about-item p { color: var(--muted); font-size: 14px; }
.about-visual { background: linear-gradient(160deg, #f4f7ff, #eff8f2); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.about-visual h3 { color: var(--blue); font-size: 24px; margin-bottom: 12px; }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.industry { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 14px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.industry:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.industry .iw { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 15px; background: linear-gradient(135deg, rgba(48,45,126,.1), rgba(22,135,71,.1)); color: var(--blue); display: grid; place-items: center; }
.industry .iw [data-lucide] { width: 26px; height: 26px; }
.industry span { display: block; font-weight: 800; color: #29304a; font-size: 15px; }

/* ---------- Hero products (featured) ---------- */
.featured { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: stretch; }
.featured-main { background: linear-gradient(150deg, var(--blue), var(--blue-2)); color: #fff; border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); position: relative; overflow: hidden; }
.featured-main::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(243,107,50,.25); filter: blur(10px); }
.featured-main .badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .25); padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: 13px; margin-bottom: 16px; position: relative; }
.featured-main .badge [data-lucide] { width: 15px; height: 15px; }
.featured-main h3 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 14px; line-height: 1.15; position: relative; }
.featured-main p { color: rgba(255, 255, 255, .84); margin-bottom: 20px; position: relative; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
.chips span { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; }
.chips [data-lucide] { width: 14px; height: 14px; }
.featured-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

/* ---------- Application slider ---------- */
.slider-wrap { position: relative; }
.slider { display: flex; gap: 22px; overflow-x: auto; scroll-behavior: smooth; padding: 8px 4px 20px; scrollbar-width: none; }
.slider::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 clamp(260px, 30vw, 340px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.slide .st { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, rgba(48,45,126,.1), rgba(243,107,50,.12)); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.slide .st [data-lucide] { width: 24px; height: 24px; }
.slide .num { position: absolute; top: 22px; right: 26px; font-size: 40px; font-weight: 900; color: rgba(48, 45, 126, .1); line-height: 1; }
.slide h3 { color: var(--blue); font-size: 22px; margin-bottom: 8px; }
.slide p { color: var(--muted); font-size: 15px; }
.slider-btn { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--blue); cursor: pointer; box-shadow: var(--shadow-sm); display: grid; place-items: center; z-index: 3; transition: transform .2s ease, background .2s ease, color .2s ease; }
.slider-btn:hover { background: var(--blue); color: #fff; transform: translateY(-50%) scale(1.08); }
.slider-btn.prev { left: -8px; }
.slider-btn.next { right: -8px; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); position: relative; }
.step .n { width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 18px; margin-bottom: 16px; }
.step .sicon { position: absolute; top: 28px; right: 26px; color: rgba(48,45,126,.16); }
.step .sicon [data-lucide] { width: 30px; height: 30px; }
.step h4 { color: #20264a; font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(135deg, var(--orange), #e8551d); color: #fff; border-radius: 28px; padding: clamp(34px, 4vw, 54px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; box-shadow: 0 30px 60px rgba(243,107,50,.3); position: relative; overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.12); }
.cta-banner h2 { font-size: clamp(24px, 3vw, 36px); line-height: 1.12; letter-spacing: -.5px; position: relative; }
.cta-banner p { color: rgba(255,255,255,.9); margin-top: 8px; position: relative; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 48px); align-items: start; }
.contact-info h2 { font-size: clamp(28px, 3.4vw, 42px); color: var(--blue); letter-spacing: -1px; margin-bottom: 14px; }
.contact-info > p { color: var(--muted); margin-bottom: 26px; max-width: 460px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-item .ci-icon { width: 48px; height: 48px; border-radius: 13px; background: rgba(48, 45, 126, .1); color: var(--blue); display: grid; place-items: center; flex: 0 0 auto; }
.contact-item .ci-icon [data-lucide] { width: 22px; height: 22px; }
.contact-item h4 { color: #20264a; font-size: 15px; margin-bottom: 2px; }
.contact-item p { color: var(--muted); font-size: 15px; }
.contact-item a:hover { color: var(--orange); }
.contact-details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow); }
.contact-details h3 { font-size: clamp(20px, 2.4vw, 26px); color: var(--blue); letter-spacing: -.5px; margin-bottom: 10px; }
.contact-details .cd-intro { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.cd-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.cd-actions .btn { justify-content: center; }
.cd-actions .btn [data-lucide] { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.footer-top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding: 56px 0 36px; }
.footer .brand-name { color: #fff; }
.footer .brand-name small { color: rgba(255, 255, 255, .5); }
.footer p { font-size: 14px; margin-top: 14px; max-width: 320px; }
.footer-social { display: flex; align-items: center; gap: 11px; margin-top: 20px; }
.footer-social .social-link {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-grid; place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.footer-social .social-link:hover { transform: translateY(-4px); filter: brightness(1.08); box-shadow: 0 18px 34px rgba(0, 0, 0, .24); }
.footer-social .social-link:focus-visible { outline: 3px solid rgba(255, 255, 255, .72); outline-offset: 3px; }
.footer-social .social-facebook { background: #1877f2; }
.footer-social .social-linkedin { background: #0a66c2; }
.footer-social .social-instagram { background: linear-gradient(135deg, #f58529 0%, #dd2a7b 44%, #8134af 72%, #515bd4 100%); }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; display: block; }
.footer-social .social-facebook svg { width: 18px; height: 18px; }
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: .5px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a, .footer ul li { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; transition: color .2s ease; }
.footer ul a:hover { color: var(--orange); }
.footer ul [data-lucide] { width: 16px; height: 16px; flex: 0 0 auto; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 14px; padding: 18px 0; font-size: 13px; flex-wrap: wrap; }

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed; left: 22px; bottom: 22px;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px rgba(37, 211, 102, .38);
  z-index: 62;
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease;
}
.whatsapp-float:hover { background: #1ebe5d; transform: translateY(-3px); box-shadow: 0 18px 36px rgba(37, 211, 102, .46); }
.whatsapp-float [data-lucide] { width: 27px; height: 27px; stroke-width: 2.4; }

/* Dr. Trivo chat */
.dr-trivo-widget { position: fixed; right: 22px; bottom: 18px; z-index: 63; font-family: inherit; }
.dr-trivo-launcher {
  width: 175px; height: 175px;
  border: 0; background: transparent;
  display: block;
  cursor: pointer; padding: 0;
  box-shadow: none;
  transition: transform .24s ease;
}
.dr-trivo-launcher:hover { transform: scale(1.06); }
.dr-trivo-launcher img {
  width: 100%; height: 100%;
  display: block;
  object-fit: contain; object-position: center;
  background: transparent; border: 0; border-radius: 0;
  box-shadow: none;
}
.dr-trivo-widget.is-open .dr-trivo-launcher { display: none; }
.dr-trivo-chatbox {
  width: min(400px, calc(100vw - 36px));
  height: min(520px, calc(100vh - 58px));
  background: #fff; border-radius: 18px;
  box-shadow: 0 20px 54px rgba(10, 14, 40, .24);
  overflow: hidden; border: 1px solid rgba(48, 45, 126, .12);
  display: flex; flex-direction: column;
}
.dr-trivo-chatbox[hidden] { display: none; }
.dr-trivo-header {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #fff;
}
.dr-trivo-profile { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dr-trivo-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; overflow: hidden; flex: 0 0 auto;
}
.dr-trivo-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 27% 42%; }
.dr-trivo-header strong { display: block; font-size: 16px; line-height: 1.1; }
.dr-trivo-header small { display: block; margin-top: 2px; font-size: 12px; color: rgba(255,255,255,.86); line-height: 1.2; }
.dr-trivo-close {
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff;
  display: grid; place-items: center; cursor: pointer;
  transition: background .2s ease;
}
.dr-trivo-close:hover { background: rgba(255,255,255,.22); }
.dr-trivo-close [data-lucide] { width: 20px; height: 20px; }
.dr-trivo-messages {
  flex: 1 1 auto; min-height: 0;
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px; overflow-y: auto;
  background: #f6f8fb;
}
.bot-message,
.user-message {
  max-width: 86%; width: fit-content;
  padding: 10px 13px; border-radius: 14px;
  font-size: 14px; line-height: 1.45;
  word-break: break-word;
}
.bot-message {
  background: #fff; color: #333;
  border: 1px solid #e6e9e6;
  border-bottom-left-radius: 4px;
}
.bot-message p { margin: 0 0 8px; }
.bot-message p:last-child { margin-bottom: 0; }
.bot-message a { color: var(--green); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.user-message {
  background: var(--green); color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
.bot-message.is-typing { color: var(--muted); font-style: italic; }
.dr-trivo-input-area {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 8px;
  padding: 12px; background: #fff;
  border-top: 1px solid #eaeaea;
}
.dr-trivo-input-area input {
  flex: 1; min-width: 0;
  border: 1px solid #d7ddd7; border-radius: 999px;
  padding: 10px 16px; outline: none;
  font: inherit; font-size: 14px;
  background: #f6f8fb;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.dr-trivo-input-area input:focus { border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(22,135,71,.12); }
.dr-trivo-input-area button {
  flex: 0 0 auto;
  border: 0; border-radius: 999px;
  background: var(--green); color: #fff;
  min-height: 42px; padding: 10px 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font: inherit; font-size: 14px; font-weight: 800;
  cursor: pointer; transition: background .2s ease, opacity .2s ease;
}
.dr-trivo-input-area button:hover { background: var(--green-2); }
.dr-trivo-input-area button:disabled { opacity: .65; cursor: progress; }
.dr-trivo-input-area button [data-lucide] { width: 16px; height: 16px; }

/* Back to top */
.to-top { position: fixed; right: 26px; bottom: 92px; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px rgba(243, 107, 50, .35); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease; z-index: 60; border: 0; cursor: pointer; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top [data-lucide] { width: 22px; height: 22px; }

/* ---------- Animations ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .7; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { justify-self: stretch; max-width: 540px; margin-inline: auto; }
  .cards, .cards.cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-cta { display: none; }
}
@media (max-width: 720px) {
  .navlinks {
    position: absolute; top: 100%; right: 0; left: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .32s ease, padding .32s ease; padding: 0 16px;
  }
  .navlinks.open { max-height: 460px; padding: 12px 16px; }
  .navlinks a { padding: 12px 6px; border-bottom: 1px solid var(--line); }
  .navlinks a::after { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-trust { gap: 14px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats .hs { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .hero-stats .hs:last-child { border-bottom: 0; }
  .cards { grid-template-columns: 1fr; }
  .cards.cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .cards.cards-4 .card { padding: 20px; }
  .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .steps { grid-template-columns: 1fr; }
  .featured-side { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .cta-banner { flex-direction: column; align-items: flex-start; text-align: left; }
  .whatsapp-float { left: 18px; bottom: 18px; width: 54px; height: 54px; }
  .dr-trivo-widget { right: 12px; bottom: 14px; }
  .dr-trivo-launcher { width: 84px; height: 82px; }
  .dr-trivo-chatbox { width: calc(100vw - 24px); height: min(520px, calc(100vh - 34px)); }
  .dr-trivo-input-area button span { display: none; }
  .dr-trivo-input-area button { width: 42px; padding-inline: 0; }
  .to-top { right: 21px; bottom: 86px; }
}
