:root {
  --primary: #0d6efd;
  --primary-dark: #0a58ca;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --border: #dce3ed;
  --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 14px 32px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.72;
  letter-spacing: 0.1px;
  text-rendering: optimizeLegibility;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

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

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 18px;
  letter-spacing: -0.4px;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 12px;
  letter-spacing: -0.25px;
}

.section-intro {
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 34px;
  font-size: 1.02rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.nav-wrap {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 700;
}

.brand i {
  font-size: 1.1rem;
}

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

.nav a {
  color: #334155;
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  color: #334155;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.hero {
  padding-top: 108px;
  background: linear-gradient(135deg, #0b57d0 0%, #2f80ed 55%, #7fb3ff 100%);
  color: #ffffff;
}

.hero-grid {
  display: grid;
  gap: 42px;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
}

.tagline {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  color: #eff6ff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.hero-content p {
  color: #e2ecff;
}

.hero-subheading {
  font-size: 1.08rem;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.28s ease;
  box-shadow: 0 0 0 rgba(13, 110, 253, 0);
}

.btn-primary {
  color: #fff;
  background: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 12px 24px rgba(13, 110, 253, 0.28);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: #bfdbfe;
  color: #eff6ff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.hero-image-placeholder {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 22px 42px rgba(5, 20, 50, 0.3);
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.hero-product-image {
  width: 100%;
  min-height: 250px;
  max-height: 300px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-image-placeholder p {
  margin: 0;
  color: #dbeafe;
  font-weight: 500;
  line-height: 1.5;
}

.hero-content,
.hero-image-placeholder {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.hero-loaded .hero-content,
.hero-loaded .hero-image-placeholder {
  opacity: 1;
  transform: translateY(0);
}

.hero-loaded .hero-image-placeholder {
  transition-delay: 0.18s;
}

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

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.why-section {
  background: #f6f9ff;
}

.why-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.why-item {
  background: #ffffff;
  border: 1px solid #dce5f2;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.why-item i {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #eaf2ff;
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.why-item h3 {
  margin: 2px 0 5px;
  font-size: 1.02rem;
}

.why-item p {
  margin: 0;
  color: var(--muted);
}

.brands-section {
  background: #ffffff;
}

.brands-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.brand-tile {
  background: #ffffff;
  border: 1px solid #d8e2f0;
  border-radius: 14px;
  min-height: 78px;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 600;
  color: #1e3a5f;
  padding: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.brand-tile:hover {
  transform: translateY(-4px);
  border-color: #9ec5ff;
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

.use-cases-section {
  background: #ffffff;
}

.use-cases-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.use-case-card {
  background: #fff;
  border: 1px solid #d8e2f0;
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.use-case-card i {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eaf2ff;
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.use-case-card h3 {
  margin: 0 0 8px;
}

.use-case-card p {
  margin: 0;
  color: var(--muted);
}

.cta-section {
  background: linear-gradient(135deg, #0b57d0 0%, #2f80ed 55%, #7fb3ff 100%);
}

.cta-content {
  text-align: center;
  color: #ffffff;
}

.cta-content h2 {
  margin-bottom: 12px;
}

.cta-phone {
  margin: 0;
  color: #e3efff;
  font-size: 1.05rem;
  font-weight: 500;
}

.cta-actions {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-btn-light {
  background: #ffffff;
  color: var(--primary);
}

.cta-btn-light:hover {
  background: #eaf2ff;
}

.cta-btn-outline {
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff;
}

.cta-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.info-card,
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.info-card,
.why-item,
.use-case-card,
.service-list > div {
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.info-card:hover,
.why-item:hover,
.use-case-card:hover,
.service-list > div:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card {
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #d6e0ee;
  display: block;
  margin-bottom: 14px;
}

.info-card i,
.product-card i {
  color: var(--primary);
  font-size: 1.3rem;
}

.info-card h3,
.product-card h3 {
  margin: 14px 0 8px;
}

.info-card p,
.product-card p {
  margin: 0;
  color: var(--muted);
}

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

.service-list > div {
  border-left: 4px solid var(--primary);
  padding: 16px 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.service-list p {
  margin: 0;
  color: var(--muted);
}

.contact-section {
  max-width: 520px;
  margin: 0 auto;
}

.contact-section-title {
  margin: 0 0 12px;
  text-align: center;
  color: #0f172a;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact-section-intro {
  text-align: center;
  margin-bottom: 28px;
  max-width: none;
}

.contact-info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 26px 26px;
  box-shadow: var(--shadow-sm);
}

.contact-card-title {
  margin: 0 0 20px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.3;
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f7;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #334155;
}

.contact-details li:last-of-type {
  border-bottom: none;
  padding-bottom: 4px;
}

.contact-icon {
  flex: 0 0 22px;
  width: 22px;
  padding-top: 3px;
  text-align: center;
  color: #1e3a8a;
  font-size: 1rem;
}

.contact-text {
  flex: 1;
  min-width: 0;
}

.contact-label {
  display: inline-block;
  margin-right: 6px;
  font-weight: 600;
  color: #1e293b;
}

.contact-text a {
  color: #1e40af;
  text-decoration: none;
  word-break: break-word;
}

.contact-text a:hover {
  text-decoration: underline;
}

.whatsapp-btn {
  margin-top: 22px;
  width: 100%;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.whatsapp-btn:hover {
  background: #20bd5a;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.whatsapp-btn:active {
  transform: scale(0.98);
}

.whatsapp-btn .fa-whatsapp {
  font-size: 1.35rem;
}

.contact-social-wrap {
  margin-top: 20px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #93c5fd;
  background: #fff;
  color: #3b82f6;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.social-links a:hover {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1d4ed8;
}

.social-links a:active {
  transform: scale(0.96);
}

.site-footer {
  background: #0b1220;
  color: #d8e2f0;
  padding: 52px 0 18px;
}

.footer-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.site-footer h3,
.site-footer h4 {
  color: #ffffff;
  margin: 0 0 10px;
}

.site-footer p {
  margin: 0;
  color: #b8c4d6;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #c7d3e4;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact li {
  color: #c7d3e4;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
}

.footer-bottom p {
  margin: 0;
}

.back-top {
  color: #bfdbfe;
  font-size: 0.92rem;
}

.back-to-top-btn {
  position: fixed;
  right: 18px;
  bottom: 86px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.35);
  z-index: 1190;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background 0.2s ease;
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--primary-dark);
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  z-index: 1200;
  transition: transform 0.2s ease, background 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  background: #1db954;
}

/* Generic reveal animation used by sections and cards. */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .use-cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brands-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    top: 74px;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border);
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav.show {
    max-height: 280px;
  }

  .nav a {
    padding: 12px 4%;
    border-top: 1px solid #edf2f7;
  }

  .info-grid,
  .why-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

  .brands-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 74px 0;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp {
    width: 52px;
    height: 52px;
    right: 14px;
    bottom: 14px;
    font-size: 1.55rem;
  }

  .back-to-top-btn {
    right: 14px;
    bottom: 76px;
    width: 44px;
    height: 44px;
  }
}
