:root {
  --primary: #2f8fdc;
  --primary-dark: #1a6fb8;
  --navy: #0a1160;
  --white: #ffffff;
  --bg-soft: #f3f8ff;
  --bg-soft-2: #eaf4ff;
  --text-muted: #4a5a75;
  --header-h: 76px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: 'Inter', 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
}

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

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

/* ---------- Topbar ---------- */

.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(47, 143, 220, 0.12);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.topbar.scrolled {
  box-shadow: 0 6px 24px rgba(10, 17, 96, 0.08);
}

.topbar-inner {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-logo {
  height: 40px;
  width: auto;
}

.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-muted);
  padding: 8px 2px;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--navy));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--navy);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 10px 22px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(47, 143, 220, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(47, 143, 220, 0.45);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--bg-soft);
}

.hero-reveal {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bubble-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.bubble {
  position: absolute;
  top: var(--top);
  left: var(--left);
  width: var(--size);
  height: var(--size);
  animation: floaty var(--dur) ease-in-out infinite;
  animation-delay: var(--delay);
  will-change: transform;
  filter: drop-shadow(0 14px 22px rgba(10, 17, 96, 0.16));
}

.bubble::before {
  content: '';
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.9), rgba(200,228,255,0.35) 45%, rgba(47,143,220,0.06) 72%, transparent 78%);
  z-index: -1;
}

.bubble img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes floaty {
  0%   { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(var(--tx), var(--ty)) rotate(var(--rot)); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 20px 24px;
  max-width: 720px;
  opacity: 1;
  pointer-events: none;
}

.hero-logo-wrap,
.hero-text,
.hero-subtext {
  position: relative;
  isolation: isolate;
}

.hero-logo-wrap::before,
.hero-text::before,
.hero-subtext::before {
  content: '';
  position: absolute;
  z-index: -1;
  background: radial-gradient(ellipse 60% 65% at 50% 50%, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.6) 55%, rgba(255,255,255,0) 78%);
}

.hero-logo-wrap::before {
  inset: 6% 10%;
}

.hero-text::before {
  inset: -6% -4%;
}

.hero-subtext::before {
  inset: -55% -2%;
  background: radial-gradient(ellipse 46% 44% at 50% 50%, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.72) 42%, rgba(255,255,255,0.3) 75%, rgba(255,255,255,0) 100%);
}

.hero-logo {
  width: min(66vw, 480px);
  margin: 0 auto 8px;
  filter: drop-shadow(0 22px 40px rgba(10, 17, 96, 0.18));
  opacity: 1;
  animation: logoIn 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes logoIn {
  from { opacity: 1; transform: scale(0.88) translateY(18px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-tagline {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--navy);
  margin: 6px 0 10px;
  opacity: 1;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 10px 0 0;
  opacity: 0.7;
}

.hero-text {
  animation: slideUp 0.9s ease 0.5s both;
}

.hero-subtext {
  animation: slideUp 0.9s ease 0.7s both;
}

@keyframes slideUp {
  from { transform: translateY(14px); }
  to   { transform: translateY(0); }
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  z-index: 5;
  background: var(--bg-soft);
  border-top: 1px solid rgba(10, 17, 96, 0.08);
  padding: 56px 28px 0;
  color: var(--text-muted);
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 12px;
}

.footer-brand p {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
}

.footer-col h4 {
  margin: 0 0 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.footer-col p {
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.6;
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  font-size: 14.5px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid rgba(10, 17, 96, 0.08);
  text-align: center;
  font-size: 13px;
}

@media (max-width: 720px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* ---------- About page ---------- */

.page-hero {
  padding: calc(var(--header-h) + 64px) 24px 56px;
  text-align: center;
  background:
    radial-gradient(60% 100% at 50% 0%, var(--bg-soft-2) 0%, var(--white) 75%);
}

.page-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 5vw, 48px);
  color: var(--navy);
  margin: 0 0 12px;
}

.page-hero .page-sub {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
}

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

.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--navy);
  text-align: center;
  margin: 0 0 14px;
}

.section-lead {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 15.5px;
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.specialty-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid rgba(10, 17, 96, 0.08);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 6px 18px rgba(10, 17, 96, 0.05);
  font-size: 14.5px;
  color: var(--navy);
  font-weight: 500;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.specialty-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(10, 17, 96, 0.1);
}

.specialty-item .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  flex: 0 0 auto;
}

.cert-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 44px;
}

.cert-grid img {
  max-height: 100px;
  width: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contact-card {
  background: var(--white);
  border-radius: 20px;
  padding: 34px;
  box-shadow: 0 14px 40px rgba(10, 17, 96, 0.08);
  border: 1px solid rgba(10, 17, 96, 0.06);
}

.contact-card h3 {
  margin: 0 0 4px;
  font-family: 'Poppins', sans-serif;
  color: var(--navy);
  font-size: 20px;
}

.contact-card .role {
  color: var(--primary);
  font-weight: 600;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 18px;
}

.contact-card p {
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.contact-card p a {
  color: var(--navy);
  font-weight: 500;
}

.contact-card p a:hover {
  color: var(--primary);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.btn-row a {
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 8px 18px rgba(47, 143, 220, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(47, 143, 220, 0.4);
}

.btn-ghost {
  color: var(--navy);
  background: var(--bg-soft-2);
  border: 1px solid rgba(10, 17, 96, 0.1);
}

.btn-ghost:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  background: #20bd5a;
  box-shadow: 0 12px 22px rgba(37, 211, 102, 0.45);
}

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

/* ---------- Product gallery ---------- */

.gallery-bleed {
  background: #dbe9fb;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
}

.product-card {
  background: var(--white);
  border: 1px solid rgba(10, 17, 96, 0.08);
  border-radius: 20px;
  padding: 26px 20px 20px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(10, 17, 96, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(10, 17, 96, 0.1);
}

.product-card .product-thumb {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.product-card img {
  max-height: 140px;
  max-width: 100%;
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 10px 14px rgba(10, 17, 96, 0.12));
}

.product-card .product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

/* ---------- Reveal (spray-clean hero background) ---------- */

.reveal-clean {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reveal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
  touch-action: none;
}

.hero-hint {
  position: absolute;
  left: 50%;
  bottom: 9%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 17, 96, 0.72);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.hero-hint.is-hidden {
  opacity: 0;
}

.hero-reset {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 4;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(10, 17, 96, 0.12);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-reset:hover {
  color: var(--primary);
  border-color: var(--primary);
}

@media (max-width: 600px) {
  .hero-hint {
    bottom: 6%;
    font-size: 13px;
    padding: 9px 16px;
  }
  .hero-reset {
    right: 14px;
    bottom: 14px;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .nav, .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }

  .nav.is-open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 28px 20px;
    box-shadow: 0 16px 30px rgba(10,17,96,0.1);
  }

  .nav.is-open .nav-link {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
  }

  .bubble {
    transform: scale(0.72);
    transform-origin: center;
  }
}

@media (max-width: 520px) {
  .hero-sub { font-size: 14.5px; padding: 0 6px; }
  .bubble { opacity: 0.85; }
  .bubble:nth-child(n+11) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bubble,
  .hero-logo,
  .hero-text,
  .hero-subtext {
    animation: none !important;
  }
}
