/* ==========================================================================
   Panchhi Chems — Global Stylesheet
   ========================================================================== */

:root {
  --blue: #1FA1DB;
  --blue-dark: #147AAD;
  --blue-light: #E6F5FC;
  --green: #66BB49;
  --green-dark: #4F9938;
  --green-light: #EDF8E9;
  --navy: #0E2A3D;
  --text: #33465A;
  --text-light: #647082;
  --bg: #FFFFFF;
  --bg-alt: #F5FAFC;
  --border: #E3EDF3;
  --shadow: 0 10px 30px rgba(14, 42, 61, 0.08);
  --shadow-sm: 0 4px 14px rgba(14, 42, 61, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1180px;
  --ff-head: 'Poppins', 'Segoe UI', sans-serif;
  --ff-body: 'Inter', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: var(--blue-light);
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-light);
  font-size: 16.5px;
}

.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }

.bg-alt { background: var(--bg-alt); }

/* ---------- Decorative background shapes (echoes brochure geometric motif) ---------- */
.deco-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.deco-lines svg { position: absolute; opacity: 0.5; }

.wave-divider {
  display: block;
  width: 100%;
  line-height: 0;
}

.wave-divider svg { width: 100%; height: auto; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 161, 219, 0.32);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(31, 161, 219, 0.42); }

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

.btn-outline:hover { border-color: var(--blue); color: var(--blue-dark); transform: translateY(-3px); }

.btn-light {
  background: #fff;
  color: var(--blue-dark);
}
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,0.15); }

.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img { height: 42px; width: auto; }

.brand-text {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--blue);
  letter-spacing: -0.01em;
}

.brand-text span { color: var(--blue); }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  font-family: var(--ff-head);
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--blue-light);
  color: var(--blue-dark);
}

/* Products is our core offering — give it a small persistent accent
   (independent of the blue "current page" state) so it stands out */
.main-nav li:nth-child(3) a {
  position: relative;
  font-weight: 600;
  color: var(--navy);
}
.main-nav li:nth-child(3) a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%);
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: var(--green);
}

.header-actions { display: flex; align-items: center; gap: 14px; }

.header-actions .btn { padding: 11px 24px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 64px 0 40px;
  background: linear-gradient(180deg, #F5FBFE 0%, #FFFFFF 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  font-size: 17.5px;
  color: var(--text-light);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-stats .stat-num {
  font-family: var(--ff-head);
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
}
.hero-stats .stat-num span { color: var(--blue); }
.hero-stats .stat-label { font-size: 13.5px; color: var(--text-light); }

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  border-radius: 32px;
  background: radial-gradient(circle at 30% 20%, #EAF8FF 0%, #F3FBEE 55%, #ffffff 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.hero-art-card img {
  width: 62%;
  filter: drop-shadow(0 18px 30px rgba(31,161,219,0.25));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--navy);
}

.hero-badge.badge-1 { top: 6%; left: -4%; }
.hero-badge.badge-2 { bottom: 8%; right: -6%; }

.hero-badge .dot {
  width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-light); color: var(--green-dark);
  flex-shrink: 0;
}
.hero-badge.badge-1 .dot { background: var(--blue-light); color: var(--blue-dark); }

/* ==========================================================================
   Marquee strip (industries ticker)
   ========================================================================== */
.strip {
  background: var(--navy);
  padding: 16px 0;
  overflow: hidden;
}
.strip-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.strip-track span {
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.strip-track span::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Cards: Industries / Why-us / Products
   ========================================================================== */
.grid {
  display: grid;
  gap: 24px;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  color: var(--blue-dark);
  margin-bottom: 18px;
}
.icon-box svg { width: 26px; height: 26px; }

.icon-box.alt { background: var(--green-light); color: var(--green-dark); }

.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.card p {
  color: var(--text-light);
  font-size: 14.5px;
}

.industry-card {
  text-align: center;
  padding: 28px 18px;
}
.industry-card .icon-box {
  margin-left: auto;
  margin-right: auto;
}
.industry-card h3 { font-size: 15.5px; margin-bottom: 4px; }
.industry-card p { font-size: 13px; }

/* Why-us numbered list style */
.feature-row {
  display: flex;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: none; }
.feature-num {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--blue);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-row h3 { font-size: 18px; margin-bottom: 6px; }
.feature-row p { color: var(--text-light); font-size: 15px; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--blue-dark), var(--blue) 55%, var(--green-dark));
  border-radius: 28px;
  padding: 60px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  top: -140px; right: -80px;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 460px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ==========================================================================
   Page header (inner pages)
   ========================================================================== */
.page-header {
  padding: 64px 0 56px;
  background: linear-gradient(180deg, #F5FBFE 0%, #FFFFFF 100%);
  text-align: center;
}
.page-header h1 { font-size: clamp(32px, 4.4vw, 46px); margin-bottom: 14px; }
.page-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; font-size: 16.5px; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13.5px; color: var(--text-light); margin-bottom: 18px;
  font-family: var(--ff-head); font-weight: 500;
}
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--blue-dark); }

/* ==========================================================================
   About page specifics
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split p + p { margin-top: 14px; }
.about-visual {
  position: relative;
  border-radius: 28px;
  background: linear-gradient(150deg, var(--blue-light), var(--green-light));
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.about-visual img { width: 70%; }

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.mini-stat {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  text-align: center;
}
.mini-stat .num { font-family: var(--ff-head); font-weight: 700; font-size: 26px; color: var(--blue-dark); }
.mini-stat .lbl { font-size: 12.5px; color: var(--text-light); margin-top: 4px; }

.values-grid { margin-top: 20px; }

.mv-card { padding: 38px; }

/* ==========================================================================
   Products page
   ========================================================================== */
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 420px;
}
.search-box input {
  width: 100%;
  padding: 13px 20px 13px 46px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  font-family: var(--ff-body);
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
}
.search-box input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-light); }
.search-box svg {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--text-light);
}

.filter-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-chip {
  font-family: var(--ff-head);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-chip:hover { border-color: var(--blue); color: var(--blue-dark); }
.filter-chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.product-category { margin-bottom: 48px; }
.product-category:last-child { margin-bottom: 0; }

.category-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 8px;
  gap: 14px;
  margin-bottom: 22px;
}
.category-head h2 { font-size: 22px; margin-right: auto; }
.category-head .count {
  font-family: var(--ff-head);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-dark);
  background: var(--blue-light);
  padding: 4px 12px;
  border-radius: 999px;
}
.category-line { flex: 1; height: 1px; background: var(--border); }

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

.product-chip {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  padding: 28px 16px 22px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-chip::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.product-chip:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
  border-color: transparent;
}
.product-chip:hover::before { transform: scaleX(1); }
.product-chip .pc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--green-light);
  color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.product-chip .pc-icon svg { width: 24px; height: 24px; }
.product-chip span {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
  line-height: 1.35;
}

.product-category[data-category="acids"] .product-chip::before,
.product-category[data-category="solvents"] .product-chip::before { background: var(--blue); }

.product-chip[hidden] { display: none; }

/* Category accent colors — alternating brand blue/green for quick visual scanning */
.product-category[data-category="acids"] .pc-icon,
.product-category[data-category="solvents"] .pc-icon {
  background: var(--blue-light);
  color: var(--blue-dark);
}
.product-category[data-category="alkalis"] .pc-icon,
.product-category[data-category="specialty"] .pc-icon {
  background: var(--green-light);
  color: var(--green-dark);
}
.pc-icon.blue { background: var(--blue-light); color: var(--blue-dark); }

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
  display: none;
}
.no-results.show { display: block; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.contact-info-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.contact-info-card .icon-box { margin-bottom: 0; flex-shrink: 0; }
.contact-info-card h3 { font-size: 15.5px; margin-bottom: 4px; }
.contact-info-card p, .contact-info-card a { font-size: 14.5px; color: var(--text-light); }
.contact-info-card a:hover { color: var(--blue-dark); }

.map-frame {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 260px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.contact-form-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.contact-form-panel h2 { font-size: 24px; margin-bottom: 8px; }
.contact-form-panel > p { color: var(--text-light); margin-bottom: 28px; font-size: 15px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--navy);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-family: var(--ff-body);
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: var(--bg-alt);
  color: var(--text);
}
.field input:focus, .field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-light);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }

.form-msg {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  margin-bottom: 20px;
}
.form-msg.show { display: flex; }
.form-msg.success { background: var(--green-light); color: var(--green-dark); }
.form-msg.error { background: #FDECEC; color: #C0392B; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding-top: 72px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-text span { color: var(--green); }
.footer-brand p { margin-top: 16px; font-size: 14.5px; line-height: 1.7; color: rgba(255,255,255,0.6); max-width: 320px; }

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.65); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--green); }

.footer-col .contact-line {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14.5px; color: rgba(255,255,255,0.65);
}
.footer-col .contact-line svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--green); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  z-index: 998;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: wa-pulse 2.4s ease-out infinite;
}
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55);
}
.whatsapp-float svg { width: 30px; height: 30px; }

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

.whatsapp-tip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  color: #fff;
  font-family: var(--ff-head);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.whatsapp-tip::before {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px 0 5px 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--navy);
}
.whatsapp-float:hover .whatsapp-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(-4px);
}

/* Products shortcut — stacked above the WhatsApp button on the homepage */
.product-float {
  position: fixed;
  bottom: 98px;
  right: 32px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(31, 161, 219, 0.4);
  z-index: 998;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 28px rgba(31, 161, 219, 0.5);
}
.product-float svg { width: 24px; height: 24px; }

.product-tip {
  position: absolute;
  right: 62px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  color: #fff;
  font-family: var(--ff-head);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.product-tip::before {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px 0 5px 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--navy);
}
.product-float:hover .product-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(-4px);
}

@media (max-width: 780px) {
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .whatsapp-tip { display: none; }
  .product-float { bottom: 82px; right: 24px; width: 44px; height: 44px; }
  .product-float svg { width: 20px; height: 20px; }
  .product-tip { display: none; }
}

/* Back to top */
.back-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 998;
  border: none;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--blue); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art-card { max-width: 320px; }
  .split { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .main-nav, .header-actions .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .header-actions { gap: 10px; }

  /* backdrop-filter creates a new containing block for fixed descendants,
     which would trap the open mobile nav panel inside the header's own
     box instead of the viewport — drop it while the panel is open */
  body.nav-open .site-header { backdrop-filter: none; background: #fff; }

  body.nav-open .main-nav {
    display: block;
    position: fixed;
    top: 71px;
    left: 0; right: 0;
    bottom: 0;
    background: #fff;
    padding: 10px 20px 24px;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow-y: auto;
  }
  body.nav-open .main-nav ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 2px;
  }
  body.nav-open .main-nav li { border-bottom: 1px solid var(--border); }
  body.nav-open .main-nav li:last-child { border-bottom: none; }
  body.nav-open .main-nav a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px 6px;
    border-radius: 0;
    text-align: left;
    font-size: 16px;
  }
  body.nav-open .main-nav a:hover,
  body.nav-open .main-nav a.active {
    background: transparent;
    color: var(--blue-dark);
    padding-left: 14px;
  }
  body.nav-open .header-actions .btn-primary { padding: 12px 20px; font-size: 13.5px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .main-nav li:nth-child(3) a::after { display: none; }

  .grid-4, .grid-3, .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-2.mv-grid { grid-template-columns: 1fr; }
  .grid-3.feature-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-chip { padding: 22px 10px 18px; gap: 10px; }
  .product-chip .pc-icon { width: 44px; height: 44px; border-radius: 12px; }
  .product-chip .pc-icon svg { width: 20px; height: 20px; }
  .product-chip span { font-size: 13px; }
  .cta-band { flex-direction: column; text-align: center; padding: 44px 28px; }
  .cta-actions { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .section-pad { padding: 56px 0; }
  .section-pad-sm { padding: 44px 0; }
  .section-head { margin-bottom: 36px; }
  .page-header { padding: 40px 0 34px; }
  .products-toolbar { flex-direction: column; align-items: stretch; }
  .search-box { max-width: none; }

  .category-head { row-gap: 10px; }
  .category-head h2 { flex: 1 1 100%; margin-right: 0; font-size: 20px; }
  .category-line { display: none; }

  .search-box input { font-size: 14px; padding-left: 42px; }

  .about-visual { padding: 26px; max-width: 260px; margin: 0 auto; border-radius: 22px; }
  .mv-card { padding: 26px; }
}

@media (max-width: 480px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-2.mv-grid { grid-template-columns: 1fr; }
  .grid-3.feature-grid { grid-template-columns: 1fr; }
  .hero-badge { display: none; }
  .cta-band::after { display: none; }
}
