:root {
  --cm-blue: #0b8ec2;
  --cm-logo-blue: #0b8ec2;
  --cm-orange: #f05a13;
  --cm-navy: #0b1f3a;
  --cm-gold: #f7b733;
  --cm-ink: #1c2430;
  --cm-muted: #667085;
  --cm-soft: #f5f8fb;
  --cm-border: #dce6ee;
  --cm-shadow: 0 18px 45px rgba(11, 31, 58, .11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cm-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  background: #fff;
}

a {
  color: var(--cm-blue);
  text-decoration: none;
}

a:hover {
  color: var(--cm-orange);
}

img {
  max-width: 100%;
}

.top-strip {
  background: var(--cm-navy);
  color: rgba(255, 255, 255, .86);
  font-size: .88rem;
}

.top-strip a {
  color: #fff;
}

.site-header {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(11, 31, 58, .08);
  backdrop-filter: blur(14px);
}

.navbar-brand img {
  width: 112px;
  height: auto;
}

.navbar .nav-link {
  color: var(--cm-navy);
  font-weight: 700;
  padding: .75rem .85rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--cm-orange);
}

.dropdown-menu {
  border: 1px solid rgba(11, 31, 58, .09);
  border-radius: 8px;
  box-shadow: var(--cm-shadow);
}

.mega-menu {
  min-width: min(920px, calc(100vw - 2rem));
  padding: 1.25rem;
}

.mega-heading {
  color: var(--cm-navy);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mega-link {
  display: block;
  padding: .7rem .75rem;
  border-radius: 8px;
  color: var(--cm-ink);
  font-weight: 700;
}

.mega-link span {
  display: block;
  color: var(--cm-muted);
  font-size: .86rem;
  font-weight: 500;
}

.mega-link:hover {
  background: var(--cm-soft);
}

.btn {
  border-radius: 8px;
  font-weight: 800;
  padding: .82rem 1.15rem;
}

.btn-primary {
  background: var(--cm-orange);
  border-color: var(--cm-orange);
}

.btn-primary:hover,
.btn-primary:focus {
  background: #d64c0e;
  border-color: #d64c0e;
}

.btn-outline-primary {
  color: var(--cm-blue);
  border-color: var(--cm-blue);
}

.btn-outline-primary:hover {
  background: var(--cm-blue);
  border-color: var(--cm-blue);
}

.btn-dark-blue {
  color: #fff;
  background: var(--cm-navy);
  border-color: var(--cm-navy);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 82vh;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(11, 31, 58, .94) 0%, rgba(11, 31, 58, .78) 45%, rgba(11, 31, 58, .2) 100%),
    url("../images/main-slider/image-1.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8rem;
  background: linear-gradient(0deg, #fff, rgba(255, 255, 255, 0));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 6rem 0 8rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--cm-gold);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fw-black {
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--cm-gold);
}

.hero h1,
.page-hero h1 {
  margin: .85rem 0 1rem;
  font-size: clamp(2.35rem, 7vw, 5.8rem);
  line-height: .98;
  font-weight: 900;
}

.hero h1 span {
  color: var(--cm-gold);
}

.typewriter-text {
  color: var(--cm-blue);
}

.typewriter-cursor {
  display: inline-block;
  width: .12em;
  height: .9em;
  margin-left: .08em;
  background: var(--cm-gold);
  animation: cursorBlink .9s steps(2, start) infinite;
  transform: translateY(.08em);
}

@keyframes cursorBlink {
  0%, 45% {
    opacity: 1;
  }

  46%, 100% {
    opacity: 0;
  }
}

.hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, .9);
  font-size: 1.12rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 720px;
  margin-top: 2rem;
}

.stat-pill {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.stat-pill strong {
  display: block;
  color: #fff;
  font-size: 1.35rem;
}

.stat-pill span {
  color: rgba(255, 255, 255, .78);
  font-size: .88rem;
}

.section {
  padding: 5rem 0;
}

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

.section-title {
  max-width: 760px;
  margin-bottom: 2.2rem;
}

.section-title h2 {
  color: var(--cm-navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  font-weight: 900;
}

.section-title p {
  color: var(--cm-muted);
  font-size: 1.04rem;
}

.category-card,
.product-card,
.trust-card,
.testimonial,
.contact-panel,
.brand-tile {
  height: 100%;
  border: 1px solid rgba(11, 31, 58, .08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(11, 31, 58, .06);
}

.category-card {
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.category-card:hover,
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cm-shadow);
}

.category-card img,
.product-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #eef3f7;
}

.category-card .content,
.product-card .content,
.trust-card,
.testimonial,
.contact-panel {
  padding: 1.3rem;
}

.category-card h3,
.product-card h3,
.trust-card h3 {
  color: var(--cm-navy);
  font-size: 1.15rem;
  font-weight: 900;
}

.product-card {
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-card p,
.category-card p,
.trust-card p,
.testimonial p {
  color: var(--cm-muted);
}

.badge-category {
  color: var(--cm-blue);
  background: rgba(11, 142, 194, .1);
  border-radius: 999px;
  padding: .36rem .65rem;
  font-size: .78rem;
  font-weight: 800;
}

.icon-box {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--cm-blue), var(--cm-orange));
}

.feature-band {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(11, 31, 58, .94), rgba(11, 31, 58, .82)),
    url("../images/background/bg-2.jpg") center / cover no-repeat;
}

.feature-band h2,
.feature-band h3 {
  color: #fff;
}

.feature-band p {
  color: rgba(255, 255, 255, .78);
}

.brand-tile {
  min-height: 90px;
  display: grid;
  place-items: center;
  color: var(--cm-navy);
  font-weight: 900;
}

.page-hero {
  color: #fff;
  padding: 7rem 0 4.5rem;
  background:
    linear-gradient(90deg, rgba(11, 31, 58, .94), rgba(11, 31, 58, .55)),
    url("../images/background/bg-4.jpg") center / cover no-repeat;
}

.page-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, .88);
  font-size: 1.08rem;
}

.catalog-tools {
  position: sticky;
  top: 92px;
  z-index: 10;
  border: 1px solid rgba(11, 31, 58, .08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(11, 31, 58, .08);
}

.form-control,
.form-select {
  min-height: 50px;
  border-radius: 8px;
  border-color: var(--cm-border);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--cm-blue);
  box-shadow: 0 0 0 .22rem rgba(11, 142, 194, .14);
}

.footer {
  color: rgba(255, 255, 255, .78);
  background: #07172b;
}

.footer h2,
.footer h3,
.footer h4 {
  color: #fff;
}

.footer a {
  color: rgba(255, 255, 255, .82);
}

.footer a:hover {
  color: var(--cm-gold);
}

.footer-logo {
  width: 92px;
  border-radius: 8px;
  background: #fff;
  padding: .3rem;
}

.footer {
  font-size: .95rem;
}

.footer h4 {
  font-size: 1.15rem;
  margin-bottom: .75rem;
}

.footer p {
  margin-bottom: 0;
}

.footer-compact {
  max-width: 360px;
  line-height: 1.55;
}

.footer-contact {
  line-height: 1.55;
}

.footer-contact strong {
  color: #fff;
}

.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1030;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 14px 34px rgba(37, 211, 102, .34);
}

.whatsapp-float:hover {
  color: #fff;
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s ease, transform .65s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.product-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.category-card img,
.product-img {
  transition: transform .45s ease;
}

.category-card:hover img,
.product-card:hover .product-img {
  transform: scale(1.035);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .product-item,
  .category-card,
  .product-card,
  .category-card img,
  .product-img,
  .typewriter-cursor {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
}

.map-embed {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 8px;
}

@media (max-width: 991.98px) {
  .mega-menu {
    min-width: 100%;
    box-shadow: none;
  }

  .hero {
    min-height: auto;
    background-position: 60% center;
  }

  .hero-content {
    padding: 4.5rem 0 6.5rem;
  }

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

  .catalog-tools {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .top-strip {
    font-size: .76rem;
  }

  .navbar-brand img {
    width: 96px;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.45rem;
  }

  .category-card img,
  .product-img {
    height: 210px;
  }
}
