:root {
  --brand: #03796e;
  --brand-dark: #025d54;
  --brand-light: #0aa092;
  --brand-soft: #6fd9ce;
  --brand-pale: #e6f4f2;

  --accent-red: #8c3a44;
  --accent-red-dark: #6b2a32;
  --accent-red-soft: rgba(140, 58, 68, 0.12);

  --ink: #0f2a27;
  --ink-dim: #3d5a56;
  --ink-mute: #6b817e;

  --surface: #f4f8f7;
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-strong: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(3, 121, 110, 0.18);
  --glass-shadow: 0 10px 32px rgba(3, 121, 110, 0.12);

  --radius: 20px;
  --radius-lg: 28px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  min-height: 100vh;
  background:
    radial-gradient(ellipse at top left, rgba(10, 160, 146, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(3, 121, 110, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--brand-pale) 60%, #ffffff 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Floating orbs */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: float 18s ease-in-out infinite;
}
.orb-1 { width: 480px; height: 480px; background: #6fd9ce; top: -120px; left: -80px; }
.orb-2 { width: 420px; height: 420px; background: #a8ebe2; top: 35%; right: -120px; animation-delay: -4s; opacity: 0.4; }
.orb-3 { width: 380px; height: 380px; background: #0aa092; bottom: -120px; left: 25%; animation-delay: -8s; opacity: 0.22; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

/* Glass effect */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,0.6);
  position: relative;
}

/* Navigation (brand color) */
.nav {
  position: fixed;
  top: 32px;
  left: 20px;
  right: 20px;
  z-index: 50;
  margin: 0 auto;
  max-width: 1200px;
  height: 58px;
  padding: 0 22px 0 12px;
  overflow: visible;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(10, 160, 146, 0.7), rgba(3, 121, 110, 0.7));
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 10px 30px rgba(3, 121, 110, 0.22), inset 0 1px 0 rgba(255,255,255,0.28);
  color: #fff;
  transition: transform 0.35s ease, opacity 0.25s ease;
}
.nav.nav-hidden {
  transform: translateY(-140%);
  opacity: 0;
  pointer-events: none;
}
.nav .brand { justify-self: start; transform: translateY(-22px); }
.nav .nav-links { justify-self: center; transform: translateY(-22px); font-size: 0.88rem; gap: 24px; }
.nav .nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateY(-22px);
}
.nav-actions .nav-wa { padding: 10px 18px; font-size: 0.88rem; }
/* Desktop: show WhatsApp CTA, hide hamburger */
.nav-toggle { display: none; }
.nav-wa { display: inline-flex; }

/* Restore the old hover-only-color behavior for the WhatsApp button */
.nav .btn-primary {
  transition: background 0.2s ease, color 0.2s ease;
  box-shadow: none;
}
.nav .btn-primary:hover {
  background: #ffffff;
  color: var(--brand);
  box-shadow: none;
}

/* Offset for fixed header */
body { padding-top: 126px; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  margin-left: 8px;
}
.brand-logo {
  height: 96px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  display: block;
}
.brand-name {
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: #fff;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: inherit;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #0aa092, var(--brand));
  color: #fff;
  box-shadow: 0 8px 24px rgba(3, 121, 110, 0.32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(10, 160, 146, 0.45);
}
/* Ghost on dark header */
.nav .btn-ghost,
.nav .btn-primary { border: 1px solid rgba(255,255,255,0.35); }

.btn-ghost {
  background: rgba(255,255,255,0.65);
  color: var(--brand);
  border-color: var(--glass-border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: #fff; transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* Main layout */
main {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero */
.hero {
  padding: 80px 0 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 120px);
  position: relative;
}

/* Floating side chips around hero */
.hero-float {
  position: absolute;
  top: 0;
  height: 100%;
  width: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  pointer-events: none;
  z-index: 2;
}
.hero-float-left { left: 0; align-items: flex-start; }
.hero-float-right { right: 0; align-items: flex-end; }

.hero-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(3, 121, 110, 0.18);
  box-shadow: 0 10px 28px rgba(3, 121, 110, 0.14);
  pointer-events: auto;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s;
  animation: chip-float 6s ease-in-out infinite;
}
.hero-chip:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 38px rgba(3, 121, 110, 0.22);
  background: rgba(255, 255, 255, 0.92);
}
.chip-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  color: #fff;
  box-shadow: 0 4px 12px rgba(3, 121, 110, 0.3);
}
.hero-chip:nth-child(even) .chip-icon {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
  box-shadow: 0 4px 12px rgba(140, 58, 68, 0.35);
}
.chip-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.chip-text strong {
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 600;
}
.chip-text span {
  font-size: 0.74rem;
  color: var(--ink-mute);
  font-weight: 400;
}

/* Staggered float animation + slight position offsets */
.chip-a { margin-left: 4px; animation-delay: 0s; }
.chip-b { margin-left: 26px; animation-delay: -1.8s; }
.chip-c { margin-left: 10px; animation-delay: -3.6s; }
.chip-d { margin-right: 4px; animation-delay: -0.9s; }
.chip-e { margin-right: 26px; animation-delay: -2.7s; }
.chip-f { margin-right: 10px; animation-delay: -4.5s; }

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

@media (max-width: 1100px) {
  .hero-float { display: none; }
}
.hero-card {
  padding: 68px 48px 56px;
  max-width: 920px;
  width: 100%;
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--glass-bg-strong);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: -80px;
  background:
    radial-gradient(ellipse 60% 55% at 30% 40%, rgba(10, 160, 146, 0.35), transparent 70%),
    radial-gradient(ellipse 55% 50% at 75% 65%, rgba(140, 58, 68, 0.22), transparent 70%);
  filter: blur(40px);
  z-index: -1;
  animation: halo-pulse 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes halo-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.06); opacity: 1; }
}

/* EKG heartbeat line */
.ekg {
  position: absolute;
  top: 18px;
  left: 0;
  width: 100%;
  height: 42px;
  color: var(--accent-red);
  opacity: 0.6;
  pointer-events: none;
  overflow: visible;
}
.ekg path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: ekg-draw 3.2s linear infinite;
  filter: drop-shadow(0 0 6px rgba(140, 58, 68, 0.45));
}
@keyframes ekg-draw {
  0%   { stroke-dashoffset: 1200; }
  60%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1200; }
}
@keyframes spin-slow {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}
.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-red-soft);
  border: 1px solid rgba(140, 58, 68, 0.25);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-red);
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--ink);
}
.accent-text {
  background: linear-gradient(120deg, var(--brand-light) 0%, var(--brand) 35%, var(--accent-red) 70%, var(--brand-light) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
  to { background-position: 200% center; }
}
.lead {
  font-size: 1.12rem;
  color: var(--ink-dim);
  max-width: 640px;
  margin: 0 auto 32px;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--glass-border);
}
.hero-stats div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats strong {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.01em;
}
.hero-stats div:nth-child(2) strong { color: var(--accent-red); }
.hero-stats span {
  font-size: 0.85rem;
  color: var(--ink-mute);
  font-weight: 400;
}

/* Sections */
.section {
  padding: 80px 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Lighter sections don't need full viewport */
#diferenciais,
#contato {
  min-height: auto;
  padding: 70px 0;
}
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--ink);
}
.section-head p {
  color: var(--ink-dim);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
  font-weight: 400;
}

/* Grid / Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
/* Products grid uses flex so last-row cards stay centered */
.products-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.products-grid .card {
  flex: 1 1 260px;
  max-width: 300px;
}
.card {
  padding: 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s;
}
.card:hover {
  transform: translateY(-6px);
  background: var(--glass-bg-strong);
  box-shadow: 0 18px 40px rgba(3, 121, 110, 0.18), inset 0 1px 0 rgba(255,255,255,0.75);
}
.card:hover .icon {
  background: linear-gradient(135deg, rgba(140, 58, 68, 0.18), rgba(140, 58, 68, 0.05));
  border-color: rgba(140, 58, 68, 0.3);
  color: var(--accent-red);
}
.card .icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(10,160,146,0.2), rgba(3,121,110,0.08));
  border: 1px solid rgba(3, 121, 110, 0.18);
  margin-bottom: 18px;
  color: var(--brand);
}
.card h3 { font-size: 1.2rem; margin-bottom: 8px; font-weight: 600; color: var(--ink); }
.card p { color: var(--ink-dim); font-size: 0.95rem; font-weight: 400; }

/* About */
.about {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  padding: 52px;
  border-radius: var(--radius-lg);
  align-items: center;
  background: var(--glass-bg-strong);
}
.about h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}
.about p {
  color: var(--ink-dim);
  margin-bottom: 16px;
  font-size: 1rem;
  font-weight: 400;
}
.about strong { color: var(--accent-red); font-weight: 600; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.check-list li {
  color: var(--ink-dim);
  padding-left: 30px;
  position: relative;
  font-weight: 400;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  height: 300px;
}
.mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  border-radius: 22px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(3, 121, 110, 0.18);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s;
  cursor: default;
}
.mini::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,160,146,0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.mini:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 34px rgba(3, 121, 110, 0.22);
}
.mini:hover::before { opacity: 1; }
.mini-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(10,160,146,0.2), rgba(3,121,110,0.06));
  border: 1px solid rgba(3, 121, 110, 0.2);
  color: var(--brand);
  font-size: 1.25rem;
  transition: transform 0.35s ease, background 0.35s;
}
.mini:hover .mini-icon {
  transform: rotate(-10deg) scale(1.1);
  background: linear-gradient(135deg, rgba(140,58,68,0.2), rgba(140,58,68,0.04));
  color: var(--accent-red);
  border-color: rgba(140, 58, 68, 0.28);
}
.mini-2 { align-self: end; background: linear-gradient(135deg, rgba(111,217,206,0.45), rgba(255,255,255,0.8)); }
.mini-3 { align-self: start; background: rgba(255, 255, 255, 0.88); }
.mini-4 { background: linear-gradient(135deg, rgba(10,160,146,0.3), rgba(255,255,255,0.65)); }

/* Catálogo CTA */
.catalog-cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.catalog-hint {
  font-size: 0.85rem;
  color: var(--ink-mute);
  font-weight: 400;
}

/* Diferenciais */
.diff-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.diff { padding: 30px 28px; }
.diff-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

/* CTA */
.cta {
  padding: 64px 48px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(10, 160, 146, 0.95), rgba(3, 121, 110, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  box-shadow: 0 18px 48px rgba(3, 121, 110, 0.35), inset 0 1px 0 rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 180%;
  background:
    radial-gradient(circle at 20% 30%, rgba(140, 58, 68, 0.55), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(111, 217, 206, 0.45), transparent 50%);
  filter: blur(30px);
  animation: spin-slow 22s linear infinite;
  z-index: -1;
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}
.cta .pill {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 14px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
}
.cta .accent-text {
  background: linear-gradient(135deg, #ffffff, var(--brand-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}
.cta .btn-primary {
  background: #fff;
  color: var(--brand);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  animation: pulse-btn 2.4s ease-in-out infinite;
}
.cta .btn-primary::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s;
}
.cta .btn-primary:hover {
  background: var(--brand-pale);
  color: var(--brand-dark);
  animation: none;
  transform: translateY(-3px) scale(1.03);
}
@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 10px 30px rgba(0,0,0,0.15), 0 0 0 0 rgba(255,255,255,0.6); }
  50% { box-shadow: 0 10px 30px rgba(0,0,0,0.15), 0 0 0 18px rgba(255,255,255,0); }
}

/* Footer (brand color) */
.footer {
  max-width: 1200px;
  margin: 60px auto 24px;
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-radius: 999px;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, rgba(10, 160, 146, 0.92), rgba(3, 121, 110, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(3, 121, 110, 0.22), inset 0 1px 0 rgba(255,255,255,0.2);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 400;
}
.footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
  object-fit: contain;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  font-weight: 500;
}
.footer-links a:hover { color: #fff; }

/* History / +25 years */
.history-section {
  min-height: auto;
  padding: 60px 0 80px;
}
.history-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.history-hero {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(3, 121, 110, 0.22);
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  position: relative;
}
.history-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.3);
  pointer-events: none;
  z-index: 3;
}
.history-glass {
  height: 72px;
  flex-shrink: 0;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.36) 0%,
    rgba(255, 255, 255, 0.18) 55%,
    rgba(255, 255, 255, 0.06) 100%);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}
.history-img {
  display: block;
  width: 100%;
  height: auto;
  flex-shrink: 0;
}
.history-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.history-stack .card {
  padding: 20px 22px;
}
.history-stack .card h3 {
  color: var(--brand-dark);
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.history-stack .card p {
  font-size: 0.9rem;
  line-height: 1.5;
}
.history-stack .card .icon {
  width: 42px;
  height: 42px;
  font-size: 1.25rem;
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(140, 58, 68, 0.18), rgba(140, 58, 68, 0.04));
  border-color: rgba(140, 58, 68, 0.22);
  color: var(--accent-red);
}
@media (max-width: 900px) {
  .history-layout { grid-template-columns: 1fr; gap: 24px; }
  .history-hero { max-width: 520px; margin: 0 auto; min-height: 280px; }
  .history-stack .card { padding: 22px; }
  .history-stack .card h3 { font-size: 1.15rem; }
  .history-stack .card p { font-size: 0.95rem; }
}

/* Hamburger toggle button */
.nav-toggle {
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity 0.2s ease;
  justify-self: end;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(.22,.61,.36,1), opacity 0.25s ease, background 0.2s;
  transform-origin: center;
}
.nav-toggle:hover span { background: rgba(255, 255, 255, 0.75); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.35s;
}
.drawer.open {
  pointer-events: auto;
  visibility: visible;
  transition: visibility 0s linear 0s;
}
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 40, 36, 0.55);
  opacity: 0;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 86vw);
  background: linear-gradient(160deg, var(--brand-light) 0%, var(--brand) 100%);
  color: #fff;
  box-shadow: -20px 0 50px rgba(2, 40, 36, 0.3);
  padding: 70px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.22,.61,.36,1);
  overflow-y: auto;
}
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.25s;
}
.drawer-close:hover { background: #fff; color: var(--brand); transform: rotate(90deg); }
.drawer-brand {
  display: flex;
  justify-content: center;
  padding: 4px 0 12px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.drawer-brand img {
  height: 70px;
  width: auto;
}
.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer-links a {
  display: block;
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  position: relative;
}
.drawer-links a::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translate(-10px, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity 0.2s, transform 0.25s;
}
.drawer-links a:hover {
  background: rgba(255, 255, 255, 0.15);
  padding-left: 28px;
}
.drawer-links a:hover::before {
  opacity: 1;
  transform: translate(0, -50%);
}
.drawer-cta {
  margin-top: auto;
  width: 100%;
  background: #fff !important;
  color: var(--brand) !important;
  border: none;
  padding: 14px 18px !important;
  font-size: 1rem !important;
}
.drawer-cta:hover {
  background: var(--brand-pale) !important;
  transform: translateY(-2px);
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-light), var(--brand), var(--accent-red));
  z-index: 100;
  transition: width 0.08s linear;
  box-shadow: 0 0 10px rgba(10, 160, 146, 0.5);
}

/* Side navigation dots */
.side-nav {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 24px rgba(3, 121, 110, 0.12);
}
.side-nav a {
  position: relative;
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.side-nav a span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(3, 121, 110, 0.3);
  transition: background 0.25s, transform 0.25s;
}
.side-nav a:hover span { background: var(--brand); transform: scale(1.2); }
.side-nav a.active span {
  background: var(--accent-red);
  transform: scale(1.35);
  box-shadow: 0 0 0 4px rgba(140, 58, 68, 0.18);
}
.side-nav a::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--brand);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.side-nav a:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Background decorations (edges) */
.bg-deco {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.deco { position: absolute; opacity: 0.18; }
.deco-plus { color: var(--brand); animation: floatY 12s ease-in-out infinite; }
.deco-plus.deco-1 { top: 12%; left: 3%; width: 38px; height: 38px; color: var(--accent-red); opacity: 0.22; }
.deco-plus.deco-2 { top: 38%; right: 4%; width: 46px; height: 46px; opacity: 0.2; animation-delay: -3s; }
.deco-plus.deco-3 { top: 68%; left: 5%; width: 30px; height: 30px; color: var(--accent-red); opacity: 0.2; animation-delay: -6s; }
.deco-plus.deco-4 { top: 85%; right: 6%; width: 36px; height: 36px; opacity: 0.22; animation-delay: -8s; }
.deco-plus.deco-5 { top: 22%; right: 8%; width: 24px; height: 24px; color: var(--accent-red); opacity: 0.22; animation-delay: -10s; }

.deco-ring {
  border-radius: 50%;
  border: 2px dashed rgba(3, 121, 110, 0.18);
  animation: rotate 40s linear infinite;
}
.deco-ring-1 { width: 160px; height: 160px; top: 55%; left: -50px; }
.deco-ring-2 { width: 220px; height: 220px; bottom: 10%; right: -90px; border-color: rgba(140, 58, 68, 0.15); animation-duration: 55s; animation-direction: reverse; }

.deco-dots {
  width: 140px;
  height: 140px;
  background-image: radial-gradient(rgba(3, 121, 110, 0.35) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: 0.35;
}
.deco-dots-1 { top: 28%; right: 2%; }
.deco-dots-2 { bottom: 18%; left: 2%; background-image: radial-gradient(rgba(140, 58, 68, 0.35) 1.5px, transparent 1.5px); opacity: 0.3; }

@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-20px) rotate(8deg); }
}
@keyframes rotate {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

/* ---------- Interactive components ---------- */

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Card spotlight (glow follows cursor) */
.card { overflow: hidden; isolation: isolate; }
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%),
              rgba(140, 58, 68, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}
.card:hover::before { opacity: 1; }

/* Marquee of partner brands */
.brands-section { min-height: auto; padding: 70px 0; }
.marquee {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.brand-chip {
  flex: 0 0 auto;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.brand-chip:hover {
  background: var(--accent-red);
  color: #fff;
  border-color: var(--accent-red-dark);
  transform: translateY(-3px);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Floating WhatsApp button */
.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(18, 140, 126, 0.5);
  z-index: 60;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.float-wa:hover {
  transform: scale(1.08);
  box-shadow: 0 18px 40px rgba(18, 140, 126, 0.6);
}
.float-wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.45);
  animation: wa-pulse 2s ease-out infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Back-to-top button */
.float-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-red);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(140, 58, 68, 0.4);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s;
  z-index: 59;
}
.float-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.float-top:hover { background: var(--accent-red-dark); }

/* Responsive */
/* Tablet / Mobile: swap CTA for hamburger */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-wa { display: none; }
  .nav-toggle { display: flex; }
  /* Collapse middle column */
  .nav {
    grid-template-columns: 1fr auto;
  }
  .nav .nav-actions { transform: translateY(-14px); gap: 0; }
}

@media (max-width: 900px) {
  .nav {
    height: 56px;
    padding: 0 12px 0 6px;
    top: 20px;
  }
  body { padding-top: 104px; }

  .nav .brand { transform: translateY(-14px); margin-left: 2px; }
  .brand-logo { height: 82px; max-width: 260px; }

  .about { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; }
  .about-visual { height: 220px; }
  .hero-card { padding: 48px 26px 40px; }
  h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .lead { font-size: 1rem; }
  .hero-stats { gap: 24px; }
  .hero-stats strong { font-size: 1.4rem; }
  .cta { padding: 44px 26px; }
  .footer { border-radius: 24px; text-align: center; justify-content: center; padding: 18px 22px; }
  .section { padding: 60px 0; min-height: auto; }
  .hero { min-height: auto; padding: 40px 0 40px; }
  .history-section { padding: 40px 0 60px; }

  .section-head h2 { font-size: clamp(1.6rem, 5vw, 2.1rem); }
  .about h2 { font-size: clamp(1.5rem, 5vw, 2rem); }

  /* Ekg line visual tweak */
  .ekg { top: 12px; height: 34px; }

  /* Edge decorations are distracting on small screens */
  .deco-ring { display: none; }
  .deco-dots { width: 90px; height: 90px; opacity: 0.25; }
  .deco-plus { opacity: 0.14; }
}

@media (max-width: 640px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding-top: 22px;
  }
  .hero-stats div { align-items: center; }

  .hero-actions { flex-direction: column; gap: 10px; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .products-grid { gap: 14px; }
  .products-grid .card { flex: 1 1 100%; max-width: 100%; padding: 22px; }

  .catalog-cta .btn-lg { width: 100%; max-width: 320px; justify-content: center; }
  .cta .btn-lg { width: 100%; max-width: 320px; justify-content: center; padding: 14px 22px; font-size: 0.95rem; }

  .about-visual { grid-template-columns: 1fr 1fr; height: auto; gap: 10px; }
  .about-visual .mini { min-height: 96px; padding: 14px 10px; font-size: 0.92rem; }
  .mini-icon { width: 34px; height: 34px; font-size: 1rem; border-radius: 10px; }

  .marquee-track { gap: 12px; }
  .brand-chip { padding: 10px 18px; font-size: 0.88rem; }

  .diff { padding: 22px 20px; }
  .diff-num { font-size: 1.6rem; }

  .cta h2 { font-size: clamp(1.3rem, 5vw, 1.7rem); }
  .cta p { font-size: 0.92rem; }

  .history-stack .card { padding: 18px; }
  .history-stack .card h3 { font-size: 1.05rem; }
  .history-stack .card p { font-size: 0.92rem; }
}

@media (max-width: 520px) {
  .nav {
    padding: 0 10px 0 4px;
    height: 50px;
    top: 16px;
  }
  body { padding-top: 92px; }
  .brand-logo { height: 70px; max-width: 220px; }
  .nav .brand { transform: translateY(-10px); margin-left: 0; }
  .nav > .nav-toggle { transform: translateY(-10px); }
  .nav > .nav-toggle {
    width: 38px;
    height: 38px;
    gap: 4px;
  }
  .nav-toggle span { width: 16px; }

  .btn { padding: 10px 16px; font-size: 0.88rem; }
  .hero { padding: 28px 0 24px; }
  .hero-card { padding: 44px 18px 34px; border-radius: 22px; }
  .hero-card .pill { margin-bottom: 16px; }
  h1 { font-size: 1.75rem; line-height: 1.15; }

  .section { padding: 48px 0; }
  .section-head { margin-bottom: 32px; }

  .float-wa { width: 52px; height: 52px; bottom: 14px; right: 14px; }
  .float-top { width: 38px; height: 38px; bottom: 74px; right: 18px; }

  .brand-chip { padding: 9px 16px; font-size: 0.84rem; }

  .footer { flex-direction: column; gap: 10px; padding: 16px 18px; }
  .footer-brand { font-size: 0.82rem; }
  .footer-links { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .footer-links a { font-size: 0.82rem; }

  .catalog-hint { font-size: 0.78rem; }
}

@media (max-width: 1100px) {
  .side-nav { display: none; }
}
