/* ============================================================
   A Million — Blue · Light Blue · White Theme (Fully Responsive)
   ============================================================ */

:root {
  --red: #106ef6;
  --red-dark: #0d5bd4;
  --red-soft: #e8f2fe;
  --black: #0a0a0a;
  --black-soft: #141414;
  --white: #ffffff;
  --off-white: #f3f8ff;
  --gray: #5c5c5c;
  --gray-bg: #eef1f5;
  --gray-light: #e4ecf6;
  --line: rgba(0, 0, 0, 0.1);
  --line-light: rgba(255, 255, 255, 0.14);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  --radius: 16px;
  --nav-h: 88px;
  --font-display: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  line-height: 1.65;
  /* clip avoids creating a scroll container that breaks position:sticky */
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- Typography ---------- */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.85rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--black);
  line-height: 1.15;
}

.section-lead {
  color: var(--gray);
  font-size: clamp(0.98rem, 2vw, 1.05rem);
  max-width: 560px;
}

.section {
  padding: clamp(64px, 8vw, 100px) 0;
  background: var(--white);
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.section-dark .section-title,
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
  color: var(--white);
}

.section-dark .section-lead,
.section-dark .text-muted-soft,
.section-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.section-alt {
  background: var(--off-white);
}

.section-gray {
  background: var(--gray-bg);
}

.text-muted-soft {
  color: var(--gray) !important;
}

.section-dark .text-muted-soft {
  color: rgba(255, 255, 255, 0.72) !important;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-display);
  font-weight: 500;
  border-radius: 999px;
  padding: 0.8rem 1.55rem;
  transition: all 0.25s ease;
  font-size: 0.95rem;
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
}

.btn-brand {
  background: var(--red);
  border: 2px solid var(--red);
  color: var(--white);
}

.btn-brand:hover,
.btn-brand:focus {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* White outline — use on black/hero */
.btn-ghost {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-ghost:hover,
.btn-ghost:focus {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

/* Black outline — use on white sections */
.btn-outline-black {
  background: transparent;
  border: 2px solid var(--black);
  color: var(--black);
}

.btn-outline-black:hover,
.btn-outline-black:focus {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

/* ---------- Navbar ---------- */
.site-navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1040;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--white);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid var(--gray-light);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  overflow: visible;
}

.site-navbar.scrolled,
.site-navbar.nav-solid {
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border-bottom: 3px solid var(--red);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
}

.navbar-brand.brand-mark .brand-logo,
.brand-mark .brand-logo {
  display: block;
  height: 76px;
  max-height: 76px;
  width: auto;
  max-width: min(76px, 22vw);
  object-fit: contain;
}

.brand-mark .logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--red);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  flex-shrink: 0;
}

.brand-mark .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-mark .brand-text strong {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
}

.brand-mark .brand-text small {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-navbar .navbar-nav .nav-link {
  color: var(--gray);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.93rem;
  padding: 0.5rem 0.85rem !important;
  transition: color 0.2s ease;
  position: relative;
}

.site-navbar .navbar-nav .nav-link:hover,
.site-navbar .navbar-nav .nav-link.active {
  color: var(--black);
}

.site-navbar .navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--red);
}

.navbar-toggler {
  border: 2px solid var(--red);
  padding: 0.4rem 0.55rem;
  border-radius: 10px;
  background: transparent;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
  border-color: var(--red);
  background: rgba(16, 110, 246, 0.12);
  box-shadow: none;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(16, 110, 246, 0.35);
}

.navbar-toggler-icon {
  /* Bootstrap hamburger SVG → brand blue */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2816, 110, 246, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  filter: none;
}

/* Mobile side menu */
.nav-offcanvas {
  --bs-offcanvas-width: min(85vw, 300px);
  background: var(--white);
  color: var(--black);
  border: none;
  border-left: 3px solid var(--red);
}

.nav-offcanvas .offcanvas-header {
  border-bottom: 1px solid var(--gray-light);
  padding: 1rem 1.25rem;
  align-items: center;
  gap: 0.75rem;
}

.nav-offcanvas .offcanvas-brand {
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
  text-decoration: none;
}

.nav-offcanvas .offcanvas-brand .brand-text small {
  display: block;
}

.nav-offcanvas .offcanvas-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--black);
}

.nav-offcanvas .offcanvas-body {
  padding: 0.5rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.nav-offcanvas .navbar-nav {
  width: 100%;
}

.nav-contact {
  display: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Products mega dropdown ---------- */
.products-dropdown {
  position: relative;
}

.products-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.products-toggle .bi {
  font-size: 0.72rem;
  transition: transform 0.2s ease;
}

.products-dropdown.is-open > .products-toggle .bi {
  transform: rotate(180deg);
}

.products-mega {
  display: none;
}

.products-mega-grid {
  display: grid;
  gap: 1.35rem;
}

.products-mega-col {
  min-width: 0;
}

.products-mega-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--black);
  margin-bottom: 0.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--gray-light);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.products-mega-title i,
.products-mega-title .nav-category-icon {
  color: var(--red);
  font-size: 1rem;
}

.nav-category-icon,
.product-jump-icon,
.category-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.products-mega-title .nav-category-icon {
  color: inherit;
}

.products-mega-title:hover {
  color: var(--red);
}

.products-mega-link {
  display: block;
  color: var(--gray);
  font-size: 0.86rem;
  padding: 0.28rem 0;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.products-mega-link:hover,
.products-mega-link.is-active {
  color: var(--black);
}

.products-mega-all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--gray-light);
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
}

.products-mega-all:hover {
  color: var(--red-dark);
}

.product-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.product-jump {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--gray-light);
  background: var(--white);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.86rem;
  transition: all 0.2s ease;
}

.product-jump i,
.product-jump .product-jump-icon {
  color: var(--red);
}

.product-jump:hover {
  border-color: var(--red);
  color: var(--red);
}

.product-category + .product-category {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--gray-light);
}

.product-category-head {
  margin-bottom: 1.75rem;
}

.product-category {
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.product-spec {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  margin: 0 0.4rem 0.4rem 0;
}

/* ---------- Hero / Slider ---------- */
.hero-slider {
  position: relative;
  min-height: 100vh;
  background: var(--black);
}

.hero-slider .carousel,
.hero-slider .carousel-inner,
.hero-slider .carousel-item {
  min-height: 100vh;
}

.hero-slide {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(105deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 48%, rgba(16, 110, 246, 0.35) 100%);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  z-index: 3;
  background: linear-gradient(90deg, var(--red), var(--white), var(--red));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-h) + 1.5rem);
  padding-bottom: 4.5rem;
  color: var(--white);
  pointer-events: auto;
}

.hero-actions,
.hero-actions .btn,
.hero-content a {
  position: relative;
  z-index: 4;
  pointer-events: auto;
}

/* Inactive fade slides must not steal taps (common mobile bug) */
.hero-slider .carousel-item {
  pointer-events: none;
}

.hero-slider .carousel-item.active {
  pointer-events: auto;
}

.hero-slide::before,
.hero-slide::after {
  pointer-events: none;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 2vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
}

.hero-brand::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 3px;
  background: var(--red);
  margin-right: 0.65rem;
  vertical-align: middle;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 7vw, 4.4rem);
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 1rem;
  max-width: 14ch;
  color: var(--white);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.75rem;
  max-width: 34ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-frame {
  width: min(100%, 400px);
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 4px var(--red), var(--shadow);
  position: relative;
}

.hero-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-indicators {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
  transition: all 0.25s ease;
}

.hero-indicators button.active {
  background: var(--red);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--red);
  width: 14px;
  height: 14px;
}

.hero-indicators button.active::after {
  content: attr(data-num);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  z-index: 5;
  color: rgba(255, 255, 255, 0.8);
  animation: bob 1.8s ease-in-out infinite;
}

@keyframes bob {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}

/* ---------- Page Hero ---------- */
.page-hero {
  position: relative;
  min-height: clamp(280px, 42vh, 420px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 2.5rem) 0 2.75rem;
  background-size: cover;
  background-position: center;
  isolation: isolate;
  color: var(--white);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.55), rgba(10, 10, 10, 0.9)),
    linear-gradient(90deg, rgba(16, 110, 246, 0.35), transparent 60%);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  z-index: 2;
  background: var(--red);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.page-hero .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
}

.breadcrumb-nav a:hover {
  color: var(--white);
}

/* ---------- Cards ---------- */
.feature-card,
.product-card,
.service-card,
.info-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Equal-height in card grids only (standalone CTAs stay content-sized) */
.feature-card,
.product-card,
.service-card {
  height: 100%;
}

.section-dark .feature-card,
.section-dark .product-card,
.section-dark .service-card,
.section-dark .info-card {
  background: var(--black-soft);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.feature-card:hover,
.product-card:hover,
.service-card:hover,
.info-card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
  box-shadow: var(--shadow);
}

.product-card .thumb,
.service-card .thumb {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  position: relative;
}

.product-card .thumb::after,
.service-card .thumb::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--red);
  z-index: 1;
}

.product-card .thumb img,
.service-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .thumb img,
.service-card:hover .thumb img {
  transform: scale(1.06);
}

.product-card .body,
.service-card .body,
.feature-card .body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.info-card {
  padding: 1.35rem;
}

.card-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.product-card h3,
.service-card h3,
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
  color: inherit;
}

.product-card p,
.service-card p,
.feature-card p {
  color: var(--gray);
  font-size: 0.94rem;
  margin-bottom: 1rem;
}

.section-dark .product-card p,
.section-dark .service-card p,
.section-dark .feature-card p {
  color: rgba(255, 255, 255, 0.68);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
}

.link-arrow:hover {
  color: var(--red-dark);
}

.section-dark .link-arrow {
  color: var(--white);
}

.section-dark .link-arrow:hover {
  color: var(--red);
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--red-soft);
  color: var(--red);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(16, 110, 246, 0.2);
}

.section-dark .icon-badge {
  background: rgba(16, 110, 246, 0.18);
  color: var(--white);
  border-color: rgba(16, 110, 246, 0.4);
}

/* ---------- About ---------- */
.about-media {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  min-height: 360px;
  border: 3px solid var(--black);
  box-shadow: 8px 8px 0 var(--red);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.about-stat {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.9rem;
  border-radius: 12px;
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.about-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 700;
  color: var(--red);
}

.about-stat span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
}

.check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 0.7rem;
  color: var(--gray);
}

.check-list li i {
  color: var(--red);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.section-dark .check-list li {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Contact / Forms ---------- */
.contact-form,
.contact-box {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.section-dark .contact-form,
.section-dark .contact-box {
  background: var(--black-soft);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  color: var(--white);
}

.form-control,
.form-select {
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  color: var(--black);
  border-radius: 12px;
  padding: 0.8rem 1rem;
}

.section-dark .form-control,
.section-dark .form-select {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.form-control:focus,
.form-select:focus {
  background: var(--white);
  border-color: var(--red);
  color: var(--black);
  box-shadow: 0 0 0 0.2rem rgba(16, 110, 246, 0.15);
}

.section-dark .form-control:focus,
.section-dark .form-select:focus {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.form-control::placeholder {
  color: #999;
}

.section-dark .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-select option {
  color: var(--black);
}

.form-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.contact-item {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.contact-item .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(16, 110, 246, 0.2);
}

.section-dark .contact-item .icon {
  background: rgba(16, 110, 246, 0.18);
  color: var(--white);
}

.contact-item h6 {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.contact-item p {
  margin: 0;
  color: var(--gray);
  font-size: 0.94rem;
}

.section-dark .contact-item p {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Service details ---------- */
.detail-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--black);
  box-shadow: 8px 8px 0 var(--red);
  margin-bottom: 1.5rem;
}

.detail-hero-img img,
.detail-hero-img .product-detail-img {
  width: 100%;
  height: clamp(220px, 40vw, 380px);
  object-fit: contain;
  background: var(--off-white);
  padding: 1rem;
}

.detail-hero-placeholder {
  width: 100%;
  height: clamp(220px, 40vw, 380px);
  background: var(--off-white);
  border-radius: var(--radius);
}

.detail-sidebar .service-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--gray-light);
  margin-bottom: 0.6rem;
  color: var(--gray);
  font-family: var(--font-display);
  font-weight: 500;
  transition: all 0.2s ease;
  background: var(--white);
}

.detail-sidebar .service-nav a:hover,
.detail-sidebar .service-nav a.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  border-top: 4px solid var(--red);
  padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem;
  color: var(--white);
}

.footer-brand .brand-logo {
  display: block;
  height: 64px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  margin-bottom: 0.85rem;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  display: block;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.65);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a:hover {
  color: var(--white);
}

.footer-title {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: var(--white);
}

.footer-title::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: var(--red);
  margin-top: 0.45rem;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  color: var(--white) !important;
}

.socials a:hover {
  background: var(--red);
  border-color: var(--red);
}

/* ---------- Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Utils ---------- */
.bg-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
}

.section:not(.section-dark).bg-grid {
  background-color: var(--white);
  background-image:
    linear-gradient(rgba(16, 110, 246, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 110, 246, 0.07) 1px, transparent 1px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .hero-title {
    max-width: 16ch;
  }
}

@media (max-width: 991.98px) {
  .site-navbar,
  .site-navbar > .container {
    overflow: visible;
  }

  .site-navbar > .container {
    width: 100%;
    max-width: 100%;
  }

  /* Keep drawer fixed to the viewport (not trapped by navbar/container) */
  .nav-offcanvas.offcanvas {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    bottom: 0 !important;
    width: var(--bs-offcanvas-width) !important;
    height: 100dvh !important;
    max-width: 100vw !important;
    z-index: 1055 !important;
    background-color: var(--white) !important;
    border-left: 3px solid var(--red) !important;
    visibility: hidden;
    transform: translateX(100%);
    pointer-events: none;
  }

  .nav-offcanvas.offcanvas.show {
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto;
  }

  .offcanvas-backdrop {
    z-index: 1050 !important;
  }

  .site-navbar .navbar-nav {
    margin: 0 !important;
    width: 100%;
  }

  .site-navbar .navbar-nav .nav-link {
    padding: 0.9rem 0.25rem !important;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--gray-light);
    white-space: normal;
    color: var(--black);
  }

  .site-navbar .navbar-nav .nav-link:hover {
    color: var(--red);
  }

  .site-navbar .navbar-nav .nav-link.active {
    color: var(--red);
  }

  .site-navbar .navbar-nav .nav-link.active::after {
    display: none;
  }

  .products-dropdown {
    width: 100%;
  }

  .products-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .products-dropdown.is-open > .products-mega {
    display: block;
  }

  .products-mega {
    padding: 0.15rem 0 0.85rem 0.15rem;
  }

  .products-mega-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .products-mega-title {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    color: var(--black);
  }

  .products-mega-link {
    padding: 0.4rem 0 0.4rem 1.35rem;
    border-bottom: 1px solid var(--gray-light);
    font-size: 0.92rem;
    color: var(--gray);
  }

  .products-mega-link:hover,
  .products-mega-link.is-active {
    color: var(--black);
  }

  .products-mega-all {
    margin-top: 0.65rem;
    padding-top: 0.65rem;
  }

  .nav-offcanvas .nav-contact {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--gray-light);
  }

  .nav-offcanvas .nav-contact a,
  .nav-offcanvas .nav-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0;
    color: var(--gray);
    font-size: 0.88rem;
    line-height: 1.45;
    text-decoration: none;
  }

  .nav-offcanvas .nav-contact a:hover,
  .nav-offcanvas .nav-contact a:focus {
    color: var(--red);
  }

  .nav-offcanvas .nav-contact i {
    color: var(--red);
    font-size: 1rem;
    line-height: 1.45;
    width: 1.1rem;
    text-align: center;
    flex-shrink: 0;
  }

  .nav-offcanvas .nav-utils {
    margin-top: 0;
    padding-top: 1.25rem;
  }

  .nav-offcanvas .nav-cta {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
  }

  .nav-offcanvas .nav-cta:hover,
  .nav-offcanvas .nav-cta:focus {
    background: var(--red-dark);
    border-color: var(--red-dark);
    color: var(--white);
  }

  .hero-indicators {
    right: 0.85rem;
    gap: 0.65rem;
  }

  .hero-visual {
    margin-top: 1.5rem;
  }

  .hero-visual-frame {
    width: min(100%, 320px);
    margin-inline: auto;
  }

  .brand-mark .brand-text small {
    display: none;
  }

  .nav-offcanvas .offcanvas-brand .brand-text small {
    display: block;
  }

  .detail-sidebar.sticky-lg-top {
    position: static !important;
  }
}

@media (min-width: 992px) {
  .site-navbar > .container {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    overflow: visible;
  }

  .site-navbar .navbar-brand {
    flex-shrink: 0;
    margin-right: 1.25rem;
    position: relative;
    z-index: 2;
  }

  /* Keep offcanvas in the header bar — never full-page height / in-flow */
  .navbar-expand-lg .nav-offcanvas.offcanvas {
    position: static !important;
    transform: none !important;
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
    width: auto !important;
    flex: 1 1 auto;
    min-width: 0;
    background: transparent !important;
    border: none !important;
    overflow: visible !important;
    z-index: auto !important;
  }

  .navbar-expand-lg .nav-offcanvas .offcanvas-header {
    display: none !important;
  }

  /* CTA pinned right; menu centered on full header width */
  .navbar-expand-lg .nav-offcanvas .offcanvas-body {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end;
    align-items: center;
    padding: 0 !important;
    flex-grow: 1 !important;
    width: 100%;
    height: auto !important;
    overflow: visible !important;
  }

  .navbar-expand-lg .nav-offcanvas .navbar-nav {
    position: absolute;
    left: 0;
    right: 0;
    transform: none;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    width: auto;
    max-width: none;
    margin: 0 !important;
    z-index: 1;
    pointer-events: none;
  }

  .navbar-expand-lg .nav-offcanvas .navbar-nav > .nav-item {
    pointer-events: auto;
  }

  .navbar-expand-lg .products-dropdown {
    position: relative;
  }

  .navbar-expand-lg .products-dropdown.is-open > .products-mega,
  .navbar-expand-lg .products-dropdown:hover > .products-mega {
    display: block;
  }

  .navbar-expand-lg .products-mega {
    position: absolute;
    top: 100%;
    left: 50%;
    right: auto;
    width: 860px;
    max-width: min(860px, calc(100vw - 32px));
    transform: translateX(-50%);
    padding: 1.35rem 1.4rem 1.15rem;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-top: 3px solid var(--red);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    z-index: 20;
  }

  .navbar-expand-lg .products-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 1.5rem;
    width: 100%;
    align-items: start;
    justify-items: stretch;
  }

  .navbar-expand-lg .products-mega-col {
    min-width: 0;
    padding-right: 1.5rem;
    border-right: 1px solid var(--gray-light);
  }

  .navbar-expand-lg .products-mega-col:last-child {
    padding-right: 0;
    border-right: none;
  }

  .navbar-expand-lg .products-mega-all {
    width: 100%;
    justify-content: flex-start;
  }

  .navbar-expand-lg .nav-offcanvas .nav-contact {
    display: none !important;
  }

  .navbar-expand-lg .nav-offcanvas .nav-utils {
    margin: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
  }

  .navbar-expand-lg .nav-offcanvas .nav-cta {
    white-space: nowrap;
  }
}

@media (max-width: 767.98px) {
  .hero-slider {
    min-height: 100svh;
  }

  .hero-slider .carousel,
  .hero-slider .carousel-inner,
  .hero-slider .carousel-item,
  .hero-slide {
    min-height: 100svh;
  }

  .hero-slide {
    padding-bottom: 2rem;
    align-items: flex-start;
  }

  .hero-content {
    padding-top: calc(var(--nav-h) + 1.25rem);
    padding-bottom: 3.25rem;
    width: 100%;
  }

  .hero-title {
    max-width: 100%;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero-indicators {
    top: auto;
    bottom: 5.5rem;
    right: 0.75rem;
    transform: none;
  }

  .about-media {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }

  .about-media img {
    min-height: 240px;
    max-height: 300px;
    width: 100%;
    flex: 0 0 auto;
  }

  .about-stat {
    position: static;
    inset: auto;
    margin: 0;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--black);
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
    padding: 0.85rem 0.65rem;
    text-align: center;
  }

  .about-stat span {
    font-size: 0.65rem;
    line-height: 1.3;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section-lead {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  :root {
    --nav-h: 76px;
  }

  .navbar-brand.brand-mark .brand-logo,
  .brand-mark .brand-logo {
    height: 60px;
    max-height: 60px;
    max-width: 60px;
  }

  .btn {
    padding: 0.75rem 1.25rem;
  }

  .contact-form,
  .contact-box {
    padding: 1.15rem;
  }

  .page-hero {
    min-height: 240px;
  }
}

/* Extra small polish */
@media (max-width: 380px) {
  .hero-title {
    font-size: 1.9rem;
  }

  .about-media {
    box-shadow: 5px 5px 0 var(--red);
  }
}

/* ---------- Click-to-contact assistant ---------- */
.click-assist {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1030;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  font-family: var(--font-body);
  transition: opacity 0.2s ease, visibility 0.2s ease;
  width: auto;
  max-width: min(300px, calc(100vw - 1.5rem));
  pointer-events: none;
}

.click-assist .click-assist-fab,
.click-assist.is-open .click-assist-panel {
  pointer-events: auto;
}

/* Keep robot behind / hidden while mobile side menu is open */
body.nav-drawer-open .click-assist,
body:has(.nav-offcanvas.show) .click-assist {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.click-assist-fab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  line-height: 0;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.28));
  transition: transform 0.25s ease;
}

.click-assist-fab img {
  width: 72px;
  height: auto;
  display: block;
  pointer-events: none;
  animation: click-assist-bob 2.8s ease-in-out infinite;
}

.click-assist-fab:hover {
  transform: translateY(-3px) scale(1.04);
}

.click-assist.is-open .click-assist-fab img {
  animation: none;
}

.click-assist-panel {
  width: min(300px, calc(100vw - 2rem));
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  padding: 1.1rem 1.1rem 0.85rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  pointer-events: none;
}

.click-assist.is-open .click-assist-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.click-assist-head {
  padding-bottom: 0.85rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid var(--gray-light);
}

.click-assist-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.65rem;
}

.click-assist-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.click-assist-sub {
  margin: 0;
  font-size: 0.84rem;
  color: var(--gray);
}

.click-assist-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.click-assist-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.45rem;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: background 0.18s ease;
}

.click-assist-item:hover,
.click-assist-item:focus-visible {
  background: var(--off-white);
  outline: none;
}

.click-assist-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.click-assist-icon.is-whatsapp {
  background: #25d366;
}

.click-assist-icon.is-email {
  background: var(--red);
}

.click-assist-icon.is-call {
  background: #2f80ed;
}

.click-assist-icon.is-map {
  background: #111827;
}

.click-assist-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.1rem;
}

.click-assist-text strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 650;
  color: var(--black);
  line-height: 1.2;
}

.click-assist-text small {
  font-size: 0.8rem;
  color: var(--gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes click-assist-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 575.98px) {
  .click-assist {
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .click-assist-fab img {
    width: 64px;
  }
}
