:root {
  --sr-primary: #1693d1;
  --sr-dark: #35389e;
  --sr-lime: #a8cd35;
  --sr-white: #ffffff;
  --sr-light: #f8f9fa;
  --sr-text: #222222;
  --sr-muted: #667085;
  --sr-border: #e7edf3;
  --sr-shadow: 0 18px 50px rgba(20, 38, 71, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--sr-text);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  background: var(--sr-white);
}

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

img {
  max-width: 100%;
}

.text-sr-primary {
  color: var(--sr-primary);
}

.text-sr-dark {
  color: var(--sr-dark);
}

.bg-sr-light {
  background: var(--sr-light);
}

.btn-sr-primary,
.btn-sr-outline,
.btn-sr-lime,
.btn-whatsapp {
  border-radius: 6px;
  font-weight: 700;
  padding: 0.85rem 1.15rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-sr-primary {
  background: var(--sr-primary);
  border: 1px solid var(--sr-primary);
  color: var(--sr-white);
  box-shadow: 0 10px 24px rgba(22, 147, 209, 0.22);
}

.btn-sr-primary:hover {
  background: #117fb6;
  border-color: #117fb6;
  color: var(--sr-white);
  transform: translateY(-2px);
}

.btn-sr-lime {
  background: #0095da;
  border: 1px solid #0095da;
  color: #fff;
}

.btn-sr-lime:hover {
  background: #35389d;
  border-color: #35389d;
  color: #fff;
  transform: translateY(-2px);
}

.btn-sr-outline {
  border: 1px solid rgba(53, 56, 158, 0.28);
  color: var(--sr-dark);
  background: var(--sr-white);
}

.btn-sr-outline:hover {
  border-color: var(--sr-dark);
  background: var(--sr-dark);
  color: var(--sr-white);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: var(--sr-white);
  background: #25d366;
  border: 1px solid #25d366;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  color: var(--sr-white);
  background: #1ebe5d;
  border-color: #1ebe5d;
  transform: translateY(-2px);
}

.topbar {
  color: var(--sr-white);
  background: var(--sr-dark);
  font-size: 0.9rem;
}

.navbar {
  box-shadow: 0 10px 26px rgba(16, 32, 50, 0.08);
}

.navbar-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.18rem;
  line-height: 1;
}

.brand-title strong {
  color: var(--sr-dark);
  font-size: 1.25rem;
  line-height: 1.15;
}

.brand-title span {
  color: var(--sr-muted);
  font-size: 0.8rem;
  line-height: 1.25;
}

.navbar-nav {
  gap: 0.18rem;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: #243449;
  font-weight: 700;
  padding-inline: 0.65rem !important;
}

.nav-link::before {
  content: "";
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.28rem;
  height: 2px;
  border-radius: 99px;
  background: var(--sr-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

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

.nav-link:hover::before,
.nav-link.active::before {
  transform: scaleX(1);
}

.dropdown-toggle::after {
  position: static;
  width: auto;
  height: auto;
  margin-left: 0.1rem;
  border-top: 0.32em solid;
  border-right: 0.32em solid transparent;
  border-bottom: 0;
  border-left: 0.32em solid transparent;
}

.mega-dropdown {
  position: static;
}

.mega-menu {
  left: 50% !important;
  width: min(760px, calc(100vw - 32px));
  padding: 1rem;
  border: 1px solid var(--sr-border);
  border-radius: 8px;
  box-shadow: var(--sr-shadow);
  transform: translateX(-50%);
}

.mega-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.2rem 0.35rem 0.8rem;
  border-bottom: 1px solid var(--sr-border);
  color: #102032;
}

.mega-menu-head a {
  color: var(--sr-primary);
  font-weight: 800;
  font-size: 0.9rem;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem 0.75rem;
  padding-top: 0.85rem;
}

.mega-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  border-radius: 6px;
  color: #243449;
  font-weight: 700;
  white-space: normal;
}

.mega-link i {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 6px;
  color: var(--sr-dark);
  background: rgba(22, 147, 209, 0.1);
}

.mega-link:hover {
  color: var(--sr-primary);
  background: rgba(22, 147, 209, 0.08);
}

.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--sr-white);
  background: var(--sr-dark);
}

/* .hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -20% 45%;
  height: 320px;
  background: rgba(168, 205, 53, 0.28);
  transform: skewY(-9deg);
}*/

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: 100%;
}

.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-slide-overlay {
  display: none;
}

.hero-overlay-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 760px;
  padding-top: 6rem;
  padding-bottom: 4rem;
  padding-left: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

.hero-overlay-content h1 {
  font-weight: 800;
  letter-spacing: 0;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: 1.02;
  max-width: 760px;
}

.hero-overlay-content .lead {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
}

.hero-carousel-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: var(--sr-white);
  background: rgba(16, 32, 50, 0.45);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-carousel-control:hover,
.hero-carousel-control:focus-visible {
  color: var(--sr-white);
  background: var(--sr-primary);
  border-color: var(--sr-primary);
}

.hero-carousel-control-prev {
  left: 24px;
}

.hero-carousel-control-next {
  right: 24px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-logo {
  width: 112px;
  height: 112px;
  object-fit: contain;
  padding: 0.55rem;
  background: var(--sr-white);
  border-radius: 8px;
}

.hero h1,
.page-hero h1 {
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.0rem);
  line-height: 1.02;
}

.hero .lead {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
}

.section-padding {
  padding: 88px 0;
}

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

.section-title .eyebrow,
.eyebrow {
  color: var(--sr-primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.section-title h2 {
  color: #102032;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 800;
}

.category-card,
.product-card,
.brand-card,
.feature-card,
.contact-panel,
.timeline-item,
.spec-card {
  border: 1px solid var(--sr-border);
  border-radius: 8px;
  background: var(--sr-white);
  box-shadow: 0 8px 24px rgba(16, 32, 50, 0.06);
}

.category-card,
.product-card,
.brand-card,
.feature-card {
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.category-card{
  background: linear-gradient(135deg, var(--sr-primary), #673AB7) !important;
  color: #fff !important;
}

.category-card:hover,
.product-card:hover,
.brand-card:hover,
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(22, 147, 209, 0.35);
  box-shadow: var(--sr-shadow);
}

.category-icon {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #e7f4fa;
  background: rgba(22, 147, 209, 0.1);
}

.category-card img,
.product-img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  background: var(--sr-light);
}

.product-card .badge {
  background: rgba(168, 205, 53, 0.16);
  color: #49610f;
}

.icon-box {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: var(--sr-white);
  background: linear-gradient(135deg, var(--sr-primary), var(--sr-dark));
}

.brand-logo-box {
  min-height: 112px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--sr-dark);
  background: linear-gradient(135deg, rgba(22, 147, 209, 0.1), rgba(168, 205, 53, 0.15));
  font-weight: 900;
  font-size: 1.45rem;
}

.brand-strip {
  overflow: hidden;
  border-block: 1px solid var(--sr-border);
  background: var(--sr-white);
}

.brand-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: brandScroll 26s linear infinite;
}

.brand-chip {
  width: 170px;
  height: 76px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--sr-border);
  border-radius: 8px;
  color: var(--sr-dark);
  background: var(--sr-light);
  font-weight: 900;
}

@keyframes brandScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.cta-band {
  color: var(--sr-white);
  background:
    linear-gradient(105deg, rgba(53, 56, 158, 0.96), rgba(22, 147, 209, 0.92)),
    url("../images/scroll-compressor.png") center/cover no-repeat;
}

.page-hero {
  color: var(--sr-white);
  background:
    linear-gradient(105deg, rgba(16, 32, 50, 0.95), rgba(53, 56, 158, 0.83)),
    url("../images/copper-coils.png") center/cover no-repeat;
  padding: 86px 0;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
}

.breadcrumb-item.active,
.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.7);
}

.filter-panel {
  position: sticky;
  top: 98px;
  border: 1px solid var(--sr-border);
  border-radius: 8px;
  background: var(--sr-white);
  box-shadow: 0 8px 24px rgba(16, 32, 50, 0.06);
}

.form-control,
.form-select {
  min-height: 48px;
  border-color: #d9e1ea;
  border-radius: 6px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--sr-primary);
  box-shadow: 0 0 0 0.2rem rgba(22, 147, 209, 0.14);
}

.gallery-main {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: contain;
  border: 1px solid var(--sr-border);
  border-radius: 8px;
  background: var(--sr-light);
}

.thumb {
  width: 86px;
  height: 70px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 6px;
  background: var(--sr-light);
  cursor: pointer;
}

.thumb.active,
.thumb:hover {
  border-color: var(--sr-primary);
}

.details-panel {
  position: sticky;
  top: 100px;
}

.table-specs th {
  width: 42%;
  color: #3d4b5c;
  background: var(--sr-light);
}

.sticky-inquiry {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 1030;
  width: min(320px, calc(100vw - 36px));
  border: 1px solid rgba(22, 147, 209, 0.2);
  border-radius: 8px;
  background: var(--sr-white);
  box-shadow: var(--sr-shadow);
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1040;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--sr-white);
  background: #25d366;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.35);
}

.whatsapp-float:hover {
  color: var(--sr-white);
  transform: translateY(-2px);
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(var(--sr-primary), var(--sr-lime));
}

.timeline-item {
  position: relative;
  margin-left: 52px;
  padding: 1.25rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -42px;
  top: 1.35rem;
  width: 18px;
  height: 18px;
  border: 4px solid var(--sr-white);
  border-radius: 50%;
  background: var(--sr-primary);
  box-shadow: 0 0 0 2px var(--sr-primary);
}

.map-placeholder {
  min-height: 310px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(53, 56, 158, 0.35);
  border-radius: 8px;
  color: var(--sr-dark);
  background: linear-gradient(135deg, rgba(22, 147, 209, 0.08), rgba(168, 205, 53, 0.12));
  text-align: center;
}

.footer {
  color: rgba(255, 255, 255, 0.78);
  background: #102032;
}

.footer a:hover {
  color: var(--sr-lime);
}

.footer h5,
.footer h6 {
  color: var(--sr-white);
}

.social-link {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (max-width: 991.98px) {
  .hero {
    min-height: 82vh;
  }

  .nav-link {
    width: 100%;
    padding-block: 0.78rem !important;
  }

  .nav-link::before {
    left: 0;
    right: auto;
    bottom: 0.45rem;
    width: 34px;
  }

  .mega-dropdown {
    position: relative;
  }

  .mega-menu {
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(16, 32, 50, 0.08);
    transform: none;
  }

  .mega-menu-grid {
    grid-template-columns: 1fr;
  }

  .hero-overlay-content {
    max-width: 100%;
    padding-inline: 1.1rem;
    padding-top: 5.5rem;
    padding-bottom: 3.5rem;
    align-items: center;
    text-align: center;
  }

  .hero-overlay-content h1,
  .hero-overlay-content .lead {
    max-width: 100%;
  }

  .hero-overlay-content h1 {
    font-size: clamp(1.8rem, 7vw, 3rem);
  }

  .hero-overlay-content .lead {
    font-size: 1rem;
  }

  .hero-carousel-control {
    width: 40px;
    height: 40px;
  }

  .topbar .container {
    gap: 0.5rem;
  }

  .filter-panel,
  .details-panel {
    position: static;
  }

  .sticky-inquiry {
    display: none;
  }
}

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

  .hero {
    min-height: auto;
    height: auto;
    display: block;
  }

  .hero-carousel {
    position: relative;
  }

  .hero-carousel .carousel-inner,
  .hero-carousel .carousel-item {
    height: auto;
  }

  .hero-slide-img {
    position: relative;
    inset: auto;
    display: block;
    height: auto;
    width: 100%;
    object-position: center top;
  }

  .hero-overlay-content {
    position: absolute;
    inset: 0;
    padding-top: 4.5rem;
    padding-bottom: 2.5rem;
  }

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

  .brand-title strong {
    font-size: 1rem;
  }

  .brand-title span {
    font-size: 0.74rem;
  }

  .hero-logo {
    width: 88px;
    height: 88px;
  }

  .hero-carousel-control {
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
  }

  .hero-carousel-control-prev {
    left: 12px;
  }

  .hero-carousel-control-next {
    right: 12px;
  }

  .hero .lead,
  .hero-overlay-content .lead {
    font-size: 1rem;
  }

  .btn-sr-primary,
  .btn-sr-outline,
  .btn-sr-lime,
  .btn-whatsapp {
    width: 100%;
  }
}
