/* ==========================================================================
   Centralized theme — Khandelwal Photo Print (template palette)
   ========================================================================== */

:root {
  /* Canon logo red — #ED1C24 from official Canon branding */
  --canon-red: #ed1c24;
  --canon-red-dark: #c81018;
  --canon-red-light: #ff4a52;
  --kpp-red: var(--canon-red);
  --kpp-green: var(--canon-red);
  --kpp-blue: var(--secondary-color);
  --primary-color: var(--canon-red);
  --secondary-color: #1a1a1a;
  --accent-color: var(--canon-red);
  --text-color: #424242;
  --text-muted: #6c757d;
  --background-color: #ffffff;
  --background-alt: #f5f5f5;
  --border-color: #e0e0e0;
  --footer-bg: #2b2b2b;
  --footer-text: #eceff1;
  --footer-muted: #adb5bd;
  --primary-rgb: 237, 28, 36;
  --secondary-rgb: 26, 26, 26;
  --accent-rgb: 237, 28, 36;
  --kpp-green-rgb: 237, 28, 36;
  --white-rgb: 255, 255, 255;
  --dot-grid-color: rgba(51, 51, 51, 0.04);
  --contact-section-bg: #f7f7f7;
  --contact-card-shadow: 0 14px 44px rgba(51, 51, 51, 0.08);
  --contact-touch-bg: rgba(var(--primary-rgb), 0.06);
  /* Motion */
  --ease-liquid: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.2, 0.64, 1);
  --duration-fast: 0.25s;
  --duration-medium: 0.45s;
  --duration-slow: 0.65s;
}

/* ==========================================================================
   Base
   ========================================================================== */

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  background-image: radial-gradient(var(--dot-grid-color) 1px, transparent 1px);
  background-size: 14px 14px;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  -webkit-tap-highlight-color: rgba(var(--primary-rgb), 0.12);
}

/* Brand strip — Canon red */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 1040;
  background: var(--canon-red);
  pointer-events: none;
}

section[id],
header[id] {
  scroll-margin-top: 6.75rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-liquid),
    opacity var(--duration-fast) var(--ease-liquid);
}

a:hover {
  color: var(--canon-red-dark);
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar-custom {
  background-color: #ffffff !important;
  box-shadow: none;
  border-bottom: none;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  transition:
    box-shadow 0.35s var(--ease-liquid),
    background-color 0.35s var(--ease-liquid);
}

.navbar-custom.navbar-custom--scrolled {
  box-shadow: 0 1px 0 rgba(26, 26, 26, 0.06);
  background-color: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar-custom .navbar-brand {
  font-weight: 700;
  color: var(--secondary-color) !important;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
  max-width: min(72vw, calc(100vw - 12rem));
  z-index: 2;
}

.navbar-brand-logo {
  display: block;
  height: auto;
  width: auto;
  min-height: 40px;
  max-height: 48px;
  max-width: min(200px, 50vw);
  object-fit: contain;
  object-position: left center;
}

.navbar-brand-logo--kpp {
  width: 52px;
  height: 52px;
  min-height: 52px;
  min-width: 52px;
  max-height: 52px;
  max-width: 52px;
  object-fit: contain;
  background: transparent;
  transition: transform 0.35s var(--ease-spring);
}

.navbar-custom .navbar-brand:hover .navbar-brand-logo--kpp {
  transform: scale(1.04);
}

@media (min-width: 992px) {
  .navbar-brand-logo {
    min-height: 48px;
    max-height: 56px;
    max-width: min(280px, 28vw);
  }

  .navbar-brand-logo--kpp {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    max-height: 56px;
    max-width: 56px;
  }

  .navbar-custom .navbar-brand {
    font-size: 1.25rem;
    max-width: none;
  }

  .navbar-custom:has(.navbar-brand-logo--kpp) {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }
}

@media (max-width: 991.98px) {
  .navbar-brand-logo--kpp {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    max-height: 44px;
    max-width: 44px;
  }
}

.nav-header-tools {
  z-index: 3;
}

.nav-header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  color: var(--secondary-color);
  background-color: var(--background-color);
  text-decoration: none;
  transition: border-color var(--duration-fast) var(--ease-liquid),
    color var(--duration-fast) var(--ease-liquid),
    background-color var(--duration-fast) var(--ease-liquid);
}

.nav-header-icon-btn:hover,
.nav-header-icon-btn:focus {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: rgba(var(--primary-rgb), 0.06);
}

.btn-nav-lang-pill {
  border-radius: 999px !important;
  border: 1px solid var(--border-color) !important;
  background-color: var(--background-color) !important;
  color: var(--secondary-color) !important;
  font-weight: 500;
  padding: 0.45rem 0.95rem !important;
  font-size: 0.9375rem;
  line-height: 1.2;
}

.btn-nav-lang-pill:hover,
.btn-nav-lang-pill:focus {
  border-color: rgba(var(--secondary-rgb), 0.35) !important;
  background-color: rgba(var(--accent-rgb), 0.06) !important;
  color: var(--secondary-color) !important;
}

.btn-nav-lang-pill::after {
  margin-left: 0.25rem;
  vertical-align: 0.12em;
}

.btn-nav-cta-header {
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  border-radius: 999px !important;
  padding: 0.45rem 1.1rem !important;
  font-weight: 600 !important;
  font-size: 0.9375rem !important;
  background-color: transparent !important;
  white-space: nowrap;
}

.btn-nav-cta-header:hover,
.btn-nav-cta-header:focus {
  background-color: var(--primary-color) !important;
  color: rgb(var(--white-rgb)) !important;
}

.btn-nav-cta {
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  border-radius: 999px !important;
  padding-left: 1.15rem !important;
  padding-right: 1.15rem !important;
  font-weight: 600 !important;
  background-color: transparent !important;
}

.btn-nav-cta:hover,
.btn-nav-cta:focus {
  background-color: var(--primary-color) !important;
  color: rgb(var(--white-rgb)) !important;
}

.navbar-custom .nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 0.25rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color var(--duration-fast) var(--ease-liquid),
    background-color var(--duration-medium) var(--ease-out-soft),
    transform var(--duration-fast) var(--ease-liquid);
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus {
  color: var(--primary-color) !important;
  background-color: rgba(var(--primary-rgb), 0.08);
}

.navbar-custom .nav-link.active {
  color: var(--primary-color) !important;
}

.navbar-toggler {
  border-color: rgba(var(--primary-rgb), 0.35);
  min-width: 48px;
  min-height: 48px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.2);
}

/* ==========================================================================
   Hero carousel (image asset may include baked-in headline + product art)
   ========================================================================== */

.hero-carousel-wrap {
  /* Match hero01–hero03 landscape artwork */
  --hero-aspect: 1600 / 949;
  --hero-max-h: min(72vh, 720px);
  position: relative;
  background-color: #ffffff;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.hero-carousel {
  position: relative;
  background-color: #ffffff;
  width: 100%;
  max-width: min(100%, calc(var(--hero-max-h) * 1600 / 949));
  margin: 0 auto;
  padding: 0;
  line-height: 0;
}

.hero-carousel .carousel-inner {
  position: relative;
  width: 100%;
  aspect-ratio: var(--hero-aspect);
  height: auto;
  max-height: var(--hero-max-h);
  overflow: hidden;
  background: #ffffff;
  margin: 0;
  padding: 0;
  line-height: 0;
}

/* Soft fade — no layout shift */
.hero-carousel.carousel-fade .carousel-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  float: none;
  display: block !important;
  opacity: 0;
  transition: opacity 0.4s ease;
  transform: none !important;
  backface-visibility: hidden;
  pointer-events: none;
}

.hero-carousel.carousel-fade .carousel-item.active {
  position: relative;
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.hero-carousel.carousel-fade .carousel-item-next,
.hero-carousel.carousel-fade .carousel-item-prev,
.hero-carousel.carousel-fade .carousel-item.active.carousel-item-start,
.hero-carousel.carousel-fade .carousel-item.active.carousel-item-end,
.hero-carousel.carousel-fade .carousel-item.active.carousel-item-next,
.hero-carousel.carousel-fade .carousel-item.active.carousel-item-prev {
  transform: none !important;
}

.hero-slide-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  background: #ffffff;
  overflow: hidden;
}

.hero-slide-img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  /* Show the ENTIRE banner — never crop text or printers */
  object-fit: contain !important;
  object-position: center center !important;
}

.hero-slide-cta {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(100%, calc(var(--hero-max-h) * 1600 / 949));
  margin: 0 auto;
  line-height: 1.5;
  background: #fff;
  border-top: 1px solid rgba(var(--secondary-rgb), 0.08);
  padding: 1.1rem 1.25rem 1.25rem;
}

.hero-cta-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.75rem 1rem;
  width: 100%;
}

.hero-cta-bar .btn {
  min-width: min(100%, 11.5rem);
  min-height: 48px;
  height: 48px;
  padding-top: 0;
  padding-bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  line-height: 1.2;
}

.hero-carousel .carousel-indicators {
  margin-bottom: 0.75rem;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: min(12%, 3.5rem);
  opacity: 0.85;
  top: 0;
  bottom: 0;
  height: 100%;
  max-height: none;
  z-index: 3;
}

.hero-carousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 6px;
  transition: transform 0.3s var(--ease-spring), background-color 0.3s ease;
}

.hero-carousel .carousel-indicators [data-bs-target].active {
  background-color: var(--kpp-red);
  transform: scale(1.15);
}

.btn-hero-primary-outline {
  background-color: rgb(var(--white-rgb));
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.6rem 1.65rem;
  border-radius: 0.35rem;
  min-height: 44px;
  transition: background-color var(--duration-medium) var(--ease-liquid),
    color var(--duration-medium) var(--ease-liquid),
    transform var(--duration-medium) var(--ease-out-soft);
}

.btn-hero-primary-outline:hover {
  background-color: var(--primary-color);
  color: rgb(var(--white-rgb));
  border-color: var(--primary-color);
}

/* Secondary hero CTA — dark grey outline */
.btn-hero-outline-rgb {
  background-color: rgb(var(--white-rgb));
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  font-weight: 600;
  padding: 0.6rem 1.65rem;
  border-radius: 0.35rem;
  min-height: 44px;
  min-width: 44px;
  transition:
    background-color var(--duration-medium) var(--ease-liquid),
    color var(--duration-medium) var(--ease-liquid),
    transform var(--duration-medium) var(--ease-out-soft),
    box-shadow var(--duration-medium) var(--ease-liquid);
}

.btn-hero-outline-rgb:hover {
  background-color: var(--secondary-color);
  color: rgb(var(--white-rgb));
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(var(--secondary-rgb), 0.25);
}

.btn-hero-primary {
  background-color: var(--primary-color);
  border: none;
  color: rgb(var(--white-rgb));
  font-weight: 600;
  padding: 0.65rem 1.75rem;
  border-radius: 0.35rem;
  min-height: 44px;
  min-width: 44px;
  transition: transform var(--duration-medium) var(--ease-out-soft),
    box-shadow var(--duration-medium) var(--ease-liquid),
    background-color var(--duration-medium) var(--ease-liquid);
}

.btn-hero-primary:hover {
  background-color: var(--canon-red-dark);
  color: rgb(var(--white-rgb));
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(var(--primary-rgb), 0.4);
}

.btn-hero-outline {
  background-color: transparent;
  border: 2px solid rgba(var(--white-rgb), 0.9);
  color: rgb(var(--white-rgb));
  font-weight: 600;
  padding: 0.6rem 1.65rem;
  border-radius: 0.35rem;
  min-height: 44px;
  transition: background-color var(--duration-medium) var(--ease-liquid),
    border-color var(--duration-medium) var(--ease-liquid),
    transform var(--duration-medium) var(--ease-out-soft);
}

.btn-hero-outline:hover {
  background-color: rgba(var(--white-rgb), 0.12);
  border-color: rgb(var(--white-rgb));
  color: rgb(var(--white-rgb));
}

/* Stats */
.stats-strip {
  background-color: var(--background-alt);
  background-image: radial-gradient(var(--dot-grid-color) 1px, transparent 1px);
  background-size: 14px 14px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stat-item .stat-value {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.2;
  transition: transform 0.5s var(--ease-spring);
}

.stats-strip .col-6:nth-child(1) .stat-value,
.stats-strip .col-md-4:nth-child(1) .stat-value {
  color: var(--canon-red);
}

.stats-strip .col-6:nth-child(2) .stat-value,
.stats-strip .col-md-4:nth-child(2) .stat-value {
  color: var(--secondary-color);
}

.stats-strip .col-6:nth-child(3) .stat-value,
.stats-strip .col-md-4:nth-child(3) .stat-value {
  color: var(--canon-red);
}

.stat-item.reveal.is-revealed .stat-value {
  animation: statPop 0.65s var(--ease-spring) 0.15s both;
}

@keyframes statPop {
  from {
    opacity: 0;
    transform: scale(0.88);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stat-item.reveal.is-revealed .stat-value {
    animation: none;
  }
}

.stat-item .stat-label {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section-padding {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.section-title {
  font-weight: 800;
  color: var(--secondary-color);
  letter-spacing: -0.03em;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.title-accent {
  display: inline-block;
  width: 56px;
  height: 4px;
  background: var(--canon-red);
  border-radius: 2px;
  margin-bottom: 1rem;
}

/* About */
.about-section {
  background-color: var(--background-alt);
  background-image: radial-gradient(var(--dot-grid-color) 1px, transparent 1px);
  background-size: 14px 14px;
}

.about-image-wrap {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(var(--secondary-rgb), 0.12);
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  background: transparent;
}

.about-image-wrap img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(640px, 78vh);
  display: block;
  object-fit: contain;
  object-position: center top;
  transition: transform var(--duration-slow) var(--ease-out-soft);
}

.about-image-wrap:hover img {
  transform: scale(1.03);
}

.about-body {
  font-size: 0.98rem;
}

.about-body p {
  margin-bottom: 1rem;
}

.about-list li {
  padding-left: 0.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.about-list li::marker {
  color: var(--primary-color);
}

/* Products / Services cards */
.card-service {
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  background-color: var(--background-color);
  height: 100%;
  transition: transform var(--duration-medium) var(--ease-out-soft),
    box-shadow var(--duration-medium) var(--ease-liquid),
    border-color var(--duration-medium) var(--ease-liquid);
  overflow: hidden;
}

.card-service:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(var(--accent-rgb), 0.18);
  border-color: var(--accent-color);
}

.card-service .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  margin-bottom: 1rem;
  transition: background-color var(--duration-medium) var(--ease-liquid),
    color var(--duration-medium) var(--ease-liquid);
}

.card-service:hover .card-icon {
  background-color: rgba(var(--accent-rgb), 0.15);
  color: var(--secondary-color);
}

/* Service cards — Canon red accents only */
.row.reveal-stagger > .col-md-6:nth-child(6n + 1) .card-service .card-icon,
.row.reveal-stagger > .col-md-6:nth-child(6n + 2) .card-service .card-icon,
.row.reveal-stagger > .col-md-6:nth-child(6n + 3) .card-service .card-icon,
.row.reveal-stagger > .col-md-6:nth-child(6n + 4) .card-service .card-icon,
.row.reveal-stagger > .col-md-6:nth-child(6n + 5) .card-service .card-icon,
.row.reveal-stagger > .col-md-6:nth-child(6n + 6) .card-service .card-icon {
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--canon-red);
}

.card-service .card-title {
  font-weight: 700;
  color: var(--secondary-color);
}

.card-service .card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Mission / info blocks */
.why-section {
  background-color: var(--background-color);
}

.why-item {
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  background-color: var(--background-alt);
  height: 100%;
  transition: border-color var(--duration-medium) var(--ease-liquid),
    box-shadow var(--duration-medium) var(--ease-out-soft),
    transform var(--duration-medium) var(--ease-out-soft);
}

.why-item:hover {
  border-color: rgba(var(--primary-rgb), 0.35);
  box-shadow: 0 8px 28px rgba(var(--primary-rgb), 0.08);
  transform: translateY(-2px);
}

.why-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.why-icon.primary {
  color: var(--primary-color);
}

.why-icon.secondary {
  color: var(--secondary-color);
}

.why-item h3 {
  font-weight: 700;
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.why-item p,
.why-item li {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.why-item ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

/* Brands */
.brands-section {
  background-color: var(--background-alt);
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background-color: var(--background-color);
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.9rem;
  transition: border-color var(--duration-fast) var(--ease-liquid),
    box-shadow var(--duration-fast) var(--ease-liquid),
    color var(--duration-fast) var(--ease-liquid);
}

.brand-pill:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Brands we deal in — perspective grid + logo cards */
.brands-deal-section {
  background-color: var(--background-color);
  background-image: radial-gradient(var(--dot-grid-color) 1px, transparent 1px);
  background-size: 14px 14px;
}

.brands-deal-lead {
  max-width: 36rem;
}

.brands-perspective-outer {
  position: relative;
  perspective: 1400px;
  perspective-origin: 50% 35%;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  margin-top: 0.5rem;
}

.brands-perspective-inner {
  transform-style: preserve-3d;
  transform: rotateX(10deg) translateZ(0);
  transition: transform var(--duration-medium) var(--ease-out-soft);
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 72%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 72%,
    transparent 100%
  );
}

@media (hover: hover) and (pointer: fine) {
  .brands-perspective-outer:hover .brands-perspective-inner {
    transform: rotateX(7deg) translateZ(0);
  }
}

@media (max-width: 767.98px) {
  .brands-perspective-inner {
    transform: none;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .brands-perspective-outer:hover .brands-perspective-inner {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brands-perspective-inner {
    transform: none !important;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

.brand-deal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  height: 100%;
  min-height: 8.5rem;
  padding: 1.15rem 0.85rem 1rem;
  background: rgb(var(--white-rgb));
  border-radius: 0.75rem;
  border: 1px solid rgba(var(--secondary-rgb), 0.08);
  box-shadow: 0 4px 16px rgba(var(--secondary-rgb), 0.06);
  text-decoration: none;
  color: var(--text-muted);
  transition: border-color var(--duration-fast) var(--ease-liquid),
    box-shadow var(--duration-medium) var(--ease-liquid),
    transform var(--duration-medium) var(--ease-out-soft),
    color var(--duration-fast) var(--ease-liquid);
}

.brand-deal-card:hover {
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow: 0 12px 28px rgba(var(--accent-rgb), 0.12);
  transform: translateY(-4px);
  color: var(--text-color);
}

.brand-deal-card:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.65);
  outline-offset: 3px;
}

.brand-deal-card__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.25rem;
}

.brand-deal-card__logo {
  max-width: 100%;
  height: auto;
  max-height: 2.75rem;
  width: auto;
  object-fit: contain;
  transition: transform var(--duration-medium) var(--ease-out-soft);
}

.brand-deal-card:hover .brand-deal-card__logo {
  transform: scale(1.04);
}

.brand-deal-card__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.25;
}

.brand-deal-card:hover .brand-deal-card__label {
  color: var(--secondary-color);
}

.reveal-stagger > [class*="col-"]:nth-child(9) .reveal {
  transition-delay: 560ms;
}

.reveal-stagger > [class*="col-"]:nth-child(10) .reveal {
  transition-delay: 630ms;
}

.reveal-stagger > [class*="col-"]:nth-child(11) .reveal {
  transition-delay: 700ms;
}

.reveal-stagger > [class*="col-"]:nth-child(12) .reveal {
  transition-delay: 770ms;
}

.reveal-stagger > [class*="col-"]:nth-child(13) .reveal {
  transition-delay: 840ms;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-stagger > [class*="col-"]:nth-child(n) .reveal {
    transition-delay: 0ms !important;
  }

  .brand-deal-card:hover {
    transform: none;
  }

  .brand-deal-card:hover .brand-deal-card__logo {
    transform: none;
  }
}

/* Gallery (optional grid) */
.gallery-section {
  background-color: var(--background-color);
}

.gallery-item {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border-color);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-soft);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration-medium) var(--ease-liquid);
  background: linear-gradient(
    to top,
    rgba(var(--secondary-rgb), 0.85),
    rgba(var(--primary-rgb), 0.55)
  );
  color: rgb(var(--white-rgb));
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1rem;
  text-align: center;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-subsection-title {
  font-weight: 800;
  color: var(--secondary-color);
  letter-spacing: -0.02em;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  margin: 0;
}

.gallery-item--award {
  background-color: #f5f5f5;
  aspect-ratio: 4 / 3;
}

.gallery-item--award img {
  object-fit: contain;
  padding: 0.75rem;
}

/* Contact */
.contact-section {
  background-color: var(--background-color);
}

.contact-section--modern {
  position: relative;
  background-color: var(--contact-section-bg);
  background-image: radial-gradient(var(--dot-grid-color) 1px, transparent 1px);
  background-size: 14px 14px;
  border-top: none !important;
}

.contact-section--modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(var(--primary-rgb), 0.04) 0%,
    transparent 35%,
    rgba(var(--accent-rgb), 0.05) 100%
  );
  pointer-events: none;
}

.contact-section--modern .container {
  position: relative;
  z-index: 1;
}

/* KPP-style open corner brackets (logo frame) */
.kpp-frame {
  position: relative;
}

.kpp-frame__corner {
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
  z-index: 2;
}

.kpp-frame__corner--tl {
  top: 12px;
  left: 12px;
  border-top: 3px solid var(--canon-red);
  border-left: 3px solid var(--canon-red);
  border-radius: 2px 0 0 0;
}

.kpp-frame__corner--tr {
  top: 12px;
  right: 12px;
  border-top: 3px solid var(--canon-red);
  border-right: 3px solid var(--canon-red);
  border-radius: 0 2px 0 0;
}

.kpp-frame__corner--bl {
  bottom: 12px;
  left: 12px;
  border-bottom: 3px solid var(--canon-red);
  border-left: 3px solid var(--canon-red);
  border-radius: 0 0 0 2px;
}

.kpp-frame__corner--br {
  bottom: 12px;
  right: 12px;
  border-bottom: 3px solid var(--canon-red);
  border-right: 3px solid var(--canon-red);
  border-radius: 0 0 2px 0;
}

.contact-form-card {
  position: relative;
  background: rgb(var(--white-rgb));
  border-radius: 1rem;
  box-shadow: var(--contact-card-shadow);
  padding: 2rem 1.75rem;
  border: 1px solid rgba(var(--secondary-rgb), 0.06);
}

@media (min-width: 768px) {
  .contact-form-card {
    padding: 2.25rem 2.25rem;
  }
}

.contact-form-card__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.contact-form-card__lead {
  line-height: 1.5;
}

.contact-aside-card {
  position: relative;
  background: rgb(var(--white-rgb));
  border-radius: 1rem;
  box-shadow: var(--contact-card-shadow);
  padding: 1.75rem;
  border: 1px solid rgba(var(--secondary-rgb), 0.06);
}

.contact-aside-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.contact-touch-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-touch-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 0.75rem;
  background: rgb(var(--white-rgb));
  border: 1px solid rgba(var(--secondary-rgb), 0.1);
  border-left: 3px solid var(--canon-red);
  box-shadow: 0 2px 8px rgba(55, 71, 79, 0.05);
}

.contact-touch-row--instagram {
  border-left: 3px solid #e1306c !important;
}

.contact-touch-icon--instagram {
  background: linear-gradient(
    145deg,
    #f58529,
    #dd2a7b,
    #8134af
  ) !important;
  color: rgb(var(--white-rgb)) !important;
}

.contact-touch-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.5rem;
  background: linear-gradient(
    145deg,
    rgba(var(--primary-rgb), 0.12),
    rgba(var(--accent-rgb), 0.15)
  );
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-touch-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.2rem;
}

.contact-touch-value {
  display: block;
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.98rem;
  word-break: break-word;
}

.contact-touch-value--static {
  font-weight: 600;
  color: var(--text-color);
}

.contact-touch-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  line-height: 1.4;
}

.contact-map-wrap {
  margin-top: 1.25rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--background-alt);
}

.contact-map-iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

.contact-map-link {
  display: block;
  text-align: center;
  padding: 0.5rem;
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--secondary-color);
  text-decoration: none;
  border-top: 1px solid var(--border-color);
}

.contact-map-link:hover {
  color: var(--primary-color);
  background: rgba(var(--accent-rgb), 0.14);
}

.contact-search-group .input-group-text {
  border-color: var(--border-color);
  border-radius: 0.35rem 0 0 0.35rem;
}

.contact-search-group .form-control {
  border-radius: 0 0.35rem 0.35rem 0;
}

.contact-consent-check {
  padding-top: 0.25rem;
}

.contact-consent-check .form-check-input {
  margin-top: 0.35rem;
  border-color: var(--border-color);
}

.contact-consent-check .form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-submit--wide {
  width: 100%;
  border-radius: 0.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

@media (min-width: 576px) {
  .btn-submit--wide {
    width: auto;
    min-width: 200px;
  }
}

.contact-form-card .form-select.form-control-custom {
  font-size: 16px;
}

.form-control-custom {
  border: 1px solid var(--border-color);
  border-radius: 0.35rem;
  padding: 0.65rem 0.9rem;
  font-size: 16px;
  transition: border-color var(--duration-fast) var(--ease-liquid),
    box-shadow var(--duration-medium) var(--ease-out-soft);
}

@media (min-width: 768px) {
  .form-control-custom {
    font-size: 1rem;
  }
}

.form-control-custom:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.2);
  outline: none;
}

.form-label-custom {
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 0.9rem;
}

.btn-submit {
  background: linear-gradient(135deg, var(--canon-red) 0%, var(--canon-red-dark) 100%);
  border: none;
  color: rgb(var(--white-rgb));
  font-weight: 600;
  padding: 0.65rem 2rem;
  border-radius: 0.5rem;
  min-height: 44px;
  transition:
    background 0.4s var(--ease-liquid),
    transform var(--duration-medium) var(--ease-out-soft),
    box-shadow var(--duration-medium) var(--ease-liquid);
}

.btn-submit:hover {
  background: linear-gradient(135deg, var(--canon-red-dark) 0%, var(--canon-red) 100%);
  color: rgb(var(--white-rgb));
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(var(--primary-rgb), 0.35);
}

.contact-info-card {
  background-color: var(--background-alt);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 1.5rem;
  height: 100%;
}

.contact-info-card a {
  color: var(--primary-color);
  word-break: break-word;
}

.contact-info-card a:hover {
  color: var(--secondary-color);
}

.contact-info-card .icon-wrap {
  color: var(--primary-color);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.social-links a {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  color: var(--secondary-color);
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  transition: color var(--duration-fast) var(--ease-liquid),
    border-color var(--duration-fast) var(--ease-liquid),
    background-color var(--duration-fast) var(--ease-liquid);
}

.social-links a:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background-color: rgba(var(--primary-rgb), 0.06);
}

/* Footer */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding-top: 3rem;
  padding-bottom: 1.5rem;
}

.site-footer a {
  color: var(--footer-text);
  opacity: 0.92;
}

.site-footer a:hover {
  color: rgb(var(--white-rgb));
  opacity: 1;
}

.site-footer .footer-muted {
  color: var(--footer-muted);
  font-size: 0.9rem;
}

.site-footer .footer-heading {
  font-weight: 700;
  color: rgb(var(--white-rgb));
  font-size: 0.95rem;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--white-rgb), 0.2);
  color: var(--footer-text) !important;
  font-size: 0.875rem;
  font-weight: 600;
  transition:
    background-color var(--duration-fast) var(--ease-liquid),
    border-color var(--duration-fast) var(--ease-liquid),
    transform var(--duration-fast) var(--ease-liquid);
}

.footer-social-link:hover {
  color: rgb(var(--white-rgb)) !important;
  border-color: #e1306c;
  background-color: rgba(225, 48, 108, 0.15);
  transform: translateY(-1px);
}

.footer-social-link .bi-instagram {
  font-size: 1.15rem;
}

.site-footer .border-top-footer {
  border-color: rgba(var(--white-rgb), 0.12) !important;
}

.site-footer .footer-admin-link {
  color: rgba(var(--white-rgb), 0.45);
  text-decoration: none;
  font-size: 0.8em;
}

.site-footer .footer-admin-link:hover,
.site-footer .footer-admin-link:focus-visible {
  color: rgba(var(--white-rgb), 0.85);
  text-decoration: underline;
}

.site-footer .footer-sep {
  opacity: 0.4;
}

.text-theme-muted {
  color: var(--text-muted) !important;
}

.text-heading-secondary {
  color: var(--secondary-color);
}

.bg-theme-alt {
  background-color: var(--background-alt) !important;
}

.alert-contact {
  border-radius: 0.35rem;
  border: 1px solid var(--border-color);
  padding: 0.85rem 1.1rem;
}

.alert-contact-success {
  background-color: rgba(var(--accent-rgb), 0.12);
  color: var(--secondary-color);
  border-color: var(--accent-color);
}

.alert-contact-error {
  background-color: rgba(var(--primary-rgb), 0.08);
  color: var(--secondary-color);
  border-color: rgba(var(--primary-rgb), 0.35);
}

/* Navbar toggler — stroke matches --secondary-color */
.navbar-custom .navbar-toggler-icon {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23556270' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==========================================================================
   Mega menu (Products) — distinct touch: accent top bar + icon wells
   ========================================================================== */

.mega-dropdown {
  position: relative;
  border-top: none !important;
  background: var(--background-color);
  border-radius: 0 0 1rem 1rem !important;
  overflow: hidden;
}

.mega-dropdown::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--canon-red);
  z-index: 2;
}

.mega-dropdown-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: linear-gradient(
    145deg,
    rgba(var(--accent-rgb), 0.2),
    rgba(var(--primary-rgb), 0.08)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.mega-dropdown-links a {
  display: block;
  padding: 0.35rem 0;
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 0.25rem;
  transition: color var(--duration-fast) var(--ease-liquid),
    padding-left var(--duration-fast) var(--ease-liquid);
}

.mega-dropdown-links a:hover {
  color: var(--primary-color);
  padding-left: 0.35rem;
}

.mega-dropdown-cta {
  background: linear-gradient(
    90deg,
    rgba(var(--accent-rgb), 0.12),
    rgba(var(--primary-rgb), 0.06)
  );
}

.btn-mega-catalog {
  background-color: var(--primary-color);
  color: rgb(var(--white-rgb)) !important;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  border: none;
  transition: transform var(--duration-fast) var(--ease-liquid),
    box-shadow var(--duration-fast) var(--ease-liquid),
    background-color var(--duration-fast) var(--ease-liquid);
}

.btn-mega-catalog:hover {
  background-color: var(--secondary-color);
  color: rgb(var(--white-rgb)) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.25);
}

/* Products listing page — aligned with KPP home */
.page-products .products-hero {
  margin-top: 0;
}

.products-hero {
  padding-top: clamp(1.25rem, 3vw, 2rem);
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
  background-color: var(--background-alt);
  background-image: radial-gradient(var(--dot-grid-color) 1px, transparent 1px);
  background-size: 14px 14px;
  border-bottom: 1px solid var(--border-color);
}

.products-breadcrumb .breadcrumb-item a {
  color: var(--text-muted);
}

.products-breadcrumb .breadcrumb-item a:hover {
  color: var(--primary-color);
}

.products-hero__intro {
  max-width: 40rem;
}

.products-hero__title {
  margin-bottom: 0.65rem;
}

.products-hero__lead {
  font-size: 0.98rem;
  line-height: 1.55;
}

.products-toolbar {
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
}

.products-main {
  background-color: var(--background-color);
}

.products-pill {
  border-radius: 999px !important;
  border: 1px solid var(--border-color) !important;
  background: rgb(var(--white-rgb)) !important;
  color: var(--secondary-color) !important;
  font-weight: 500;
  transition: border-color var(--duration-fast) var(--ease-liquid),
    color var(--duration-fast) var(--ease-liquid),
    box-shadow var(--duration-fast) var(--ease-liquid);
}

.products-pill:hover,
.products-pill.active {
  border-color: rgba(var(--accent-rgb), 0.45) !important;
  color: var(--primary-color) !important;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.07),
    rgba(var(--accent-rgb), 0.06)
  ) !important;
  box-shadow: 0 2px 12px rgba(var(--primary-rgb), 0.1);
}

.products-filters-card {
  border-radius: 0.75rem !important;
  background: rgb(var(--white-rgb)) !important;
  box-shadow: 0 8px 32px rgba(var(--secondary-rgb), 0.08) !important;
  border: 1px solid rgba(var(--secondary-rgb), 0.08) !important;
}

.products-filters-card .card-body {
  position: relative;
  z-index: 1;
}

.products-filters-clear {
  color: var(--accent-color);
  font-weight: 600;
}

.products-filters-clear:hover {
  color: var(--primary-color);
}

.products-filters .form-check {
  margin-bottom: 0.35rem;
}

.products-filter-scroll {
  max-height: 220px;
  overflow-y: auto;
}

.products-kind-wrap {
  display: inline-flex;
  padding: 0.35rem;
  background: rgba(var(--secondary-rgb), 0.06);
  border-radius: 999px;
  border: 1px solid rgba(var(--secondary-rgb), 0.08);
}

.products-kind-tabs--kpp .nav-link {
  border: none !important;
  border-radius: 999px !important;
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.45rem 1rem !important;
  transition: background-color var(--duration-fast) var(--ease-liquid),
    color var(--duration-fast) var(--ease-liquid),
    box-shadow var(--duration-fast) var(--ease-liquid);
}

.products-kind-tabs--kpp .nav-link:hover {
  color: var(--primary-color);
  background: rgba(var(--white-rgb), 0.65);
}

.products-kind-tabs--kpp .nav-link.active {
  color: var(--primary-color) !important;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.14),
    rgba(var(--accent-rgb), 0.1)
  ) !important;
  box-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.12);
}

.products-kind-tabs:not(.products-kind-tabs--kpp) .nav-link {
  border: none !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0 !important;
  color: var(--text-muted);
  font-weight: 600;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.products-kind-tabs:not(.products-kind-tabs--kpp) .nav-link:hover {
  color: var(--primary-color);
}

.products-kind-tabs:not(.products-kind-tabs--kpp) .nav-link.active {
  color: var(--primary-color) !important;
  border-bottom-color: var(--primary-color) !important;
  background: transparent !important;
}

.products-sort {
  min-width: 11rem;
  border-color: var(--border-color);
  border-radius: 0.5rem;
}

.products-results-title {
  letter-spacing: -0.02em;
}

.products-count-badge {
  font-weight: 600;
  color: var(--secondary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
}

.product-card--catalog {
  border-radius: 0.75rem !important;
  overflow: hidden;
  border: 1px solid var(--border-color) !important;
  box-shadow: 0 6px 24px rgba(var(--secondary-rgb), 0.07);
  transition: border-color var(--duration-medium) var(--ease-liquid),
    box-shadow var(--duration-medium) var(--ease-liquid),
    transform var(--duration-medium) var(--ease-out-soft);
}

.product-card--catalog:hover {
  border-color: rgba(var(--accent-rgb), 0.4) !important;
  box-shadow: 0 14px 40px rgba(var(--secondary-rgb), 0.12);
  transform: translateY(-4px);
}

.product-card__category {
  color: var(--primary-color);
  letter-spacing: 0.02em;
}

.product-card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
  white-space: pre-line;
  margin-top: 0.15rem;
}

.products-grid--list .product-card__desc {
  -webkit-line-clamp: 8;
  max-width: 42rem;
}

.btn-product-enquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--canon-red);
  border: 1px solid var(--canon-red);
  border-radius: 0.45rem;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-product-enquire:hover,
.btn-product-enquire:focus-visible {
  color: #fff;
  background: var(--canon-red-dark);
  border-color: var(--canon-red-dark);
  transform: translateY(-1px);
}

.products-grid--list .btn-product-enquire {
  width: auto;
  min-width: 9.5rem;
  align-self: flex-start;
}

.product-card-img-wrap {
  background: linear-gradient(
    180deg,
    rgba(var(--secondary-rgb), 0.04),
    var(--background-alt)
  );
  border-bottom: 1px solid var(--border-color);
}

.product-card-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  padding: 1rem;
  transition: transform var(--duration-medium) var(--ease-out-soft);
}

.product-card--catalog:hover .product-card-img {
  transform: scale(1.03);
}

.products-empty-state {
  border-radius: 0.75rem;
  border: 1px dashed var(--border-color);
  background: rgba(var(--accent-rgb), 0.04);
}

.products-grid--list .product-card-col {
  width: 100%;
}

.products-grid--list .product-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.products-grid--list .product-card .card-body {
  flex: 1 1 auto;
}

.products-grid--list .product-card--catalog:hover {
  transform: none;
}

.products-grid--list .product-card-img-wrap {
  width: 200px;
  max-width: 40%;
  border-bottom: none;
  border-right: 1px solid var(--border-color);
}

.products-grid--list .product-card-img {
  height: 140px;
}

@media (max-width: 575.98px) {
  .products-grid--list .product-card {
    flex-direction: column;
  }

  .products-grid--list .product-card-img-wrap {
    width: 100%;
    max-width: none;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
}

/* ==========================================================================
   Mobile offcanvas menu (reference: full-height panel, tools, single CTA)
   ========================================================================== */

.mobile-offcanvas {
  --bs-offcanvas-width: min(100%, 22rem);
  border-left: 1px solid var(--border-color);
  box-shadow: -8px 0 32px rgba(var(--secondary-rgb), 0.12);
}

@media (max-width: 380px) {
  .mobile-offcanvas {
    --bs-offcanvas-width: 100%;
  }
}

.mobile-offcanvas-header {
  padding: 1rem 1.25rem;
  border-color: var(--border-color) !important;
  align-items: center;
}

.mobile-offcanvas-header .offcanvas-title {
  font-size: 1.25rem;
  color: var(--secondary-color);
}

.mobile-menu-close {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  opacity: 1;
}

.mobile-offcanvas-body {
  min-height: 0;
}

.mobile-menu-scroll {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0 4rem;
}

.mobile-menu-list > li {
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu-link {
  display: block;
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-color);
  transition: background-color var(--duration-fast) var(--ease-liquid),
    color var(--duration-fast) var(--ease-liquid);
}

.mobile-menu-link:hover,
.mobile-menu-link:focus {
  background-color: rgba(var(--primary-rgb), 0.06);
  color: var(--primary-color);
}

.mobile-menu-link.is-active {
  color: var(--primary-color);
  background-color: rgba(var(--primary-rgb), 0.08);
}

.mobile-menu-group {
  padding: 0.75rem 0 0.25rem;
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu-label {
  display: block;
  padding: 0.35rem 1.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.mobile-menu-label--link {
  text-decoration: none;
  color: var(--text-muted);
}

.mobile-menu-label--link:hover,
.mobile-menu-label--link:focus-visible {
  color: var(--canon-red, #c8102e);
}

.mobile-menu-sub {
  padding: 0 0 0.5rem 0.5rem;
}

.mobile-menu-sub li a {
  display: block;
  padding: 0.65rem 1.25rem 0.65rem 1.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-radius: 0.35rem;
  margin: 0 0.5rem 0.15rem 0;
  transition: background-color var(--duration-fast) var(--ease-liquid),
    color var(--duration-fast) var(--ease-liquid);
}

.mobile-menu-sub li a:hover,
.mobile-menu-sub li a:focus {
  background-color: rgba(var(--accent-rgb), 0.12);
  color: var(--secondary-color);
}

.mobile-menu-tools {
  flex-shrink: 0;
  background: linear-gradient(
    to top,
    var(--background-color),
    rgba(var(--white-rgb), 0.85)
  );
}

.mobile-search-group .input-group-text {
  background: var(--background-color);
  border-color: var(--border-color);
  color: var(--secondary-color);
  border-radius: 0.5rem 0 0 0.5rem !important;
}

.mobile-search-group .form-control {
  border-color: var(--border-color);
  border-radius: 0 0.5rem 0.5rem 0 !important;
  font-size: 1rem;
}

.mobile-search-group .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.15rem rgba(var(--primary-rgb), 0.15);
}

.btn-lang-toggle {
  border: 1px solid var(--border-color) !important;
  border-radius: 0.5rem !important;
  padding: 0.65rem 1rem !important;
  font-weight: 500;
  color: var(--secondary-color) !important;
  background: var(--background-color) !important;
}

.btn-lang-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.15);
}

.mobile-lang-flag,
.nav-lang-flag {
  width: 26px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    #012169 0%,
    #012169 33%,
    #ffffff 33%,
    #ffffff 66%,
    #c8102e 66%
  );
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.mobile-lang-flag {
  margin-right: 0.25rem;
}

.mobile-menu-footer {
  padding: 1rem 1.25rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0));
  border-top: 1px solid var(--border-color);
  background-color: var(--background-alt);
}

.btn-mobile-cta {
  border-radius: 999px !important;
  padding: 0.85rem 1.25rem !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  background-color: rgba(var(--white-rgb), 1) !important;
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.08);
  transition: background-color var(--duration-fast) var(--ease-liquid),
    color var(--duration-fast) var(--ease-liquid),
    transform var(--duration-fast) var(--ease-liquid);
}

.btn-mobile-cta:hover,
.btn-mobile-cta:focus {
  background-color: var(--primary-color) !important;
  color: rgb(var(--white-rgb)) !important;
}

.offcanvas-backdrop {
  backdrop-filter: blur(2px);
}

@media (max-width: 991.98px) {
  .container {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .navbar-custom {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

/* ==========================================================================
   Scroll reveal & hero motion (respects prefers-reduced-motion)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translate3d(0, 1.65rem, 0) scale(0.98);
  transition:
    opacity 0.88s var(--ease-out-soft),
    transform 0.88s var(--ease-spring);
  will-change: opacity, transform;
}

.reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.reveal.reveal--fade {
  transform: none;
}

.reveal.reveal--fade.is-revealed {
  opacity: 1;
}

.reveal.reveal--left {
  transform: translate3d(-2rem, 0.75rem, 0);
}

.reveal.reveal--right {
  transform: translate3d(2rem, 0.75rem, 0);
}

.reveal.reveal--delay-lg {
  transition-delay: 0.18s;
}

.reveal-stagger > [class*="col-"]:nth-child(1) .reveal {
  transition-delay: 0ms;
}
.reveal-stagger > [class*="col-"]:nth-child(2) .reveal {
  transition-delay: 70ms;
}
.reveal-stagger > [class*="col-"]:nth-child(3) .reveal {
  transition-delay: 140ms;
}
.reveal-stagger > [class*="col-"]:nth-child(4) .reveal {
  transition-delay: 210ms;
}
.reveal-stagger > [class*="col-"]:nth-child(5) .reveal {
  transition-delay: 280ms;
}
.reveal-stagger > [class*="col-"]:nth-child(6) .reveal {
  transition-delay: 350ms;
}
.reveal-stagger > [class*="col-"]:nth-child(7) .reveal {
  transition-delay: 420ms;
}
.reveal-stagger > [class*="col-"]:nth-child(8) .reveal {
  transition-delay: 490ms;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.reveal--left,
  .reveal.reveal--right,
  .reveal.reveal--fade {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }

  .reveal-stagger > [class*="col-"] .reveal {
    transition-delay: 0ms !important;
  }

  .reveal.reveal--delay-lg {
    transition-delay: 0ms !important;
  }
}

/* Phones/tablets: no slide transforms — they cause horizontal misalignment */
@media (max-width: 991.98px) {
  .reveal,
  .reveal.reveal--left,
  .reveal.reveal--right,
  .reveal.reveal--fade {
    transform: none !important;
    will-change: opacity;
  }

  .reveal.is-revealed,
  .reveal.reveal--left.is-revealed,
  .reveal.reveal--right.is-revealed,
  .reveal.reveal--fade.is-revealed {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-cta-entrance {
    /* Disabled — entrance animation caused extra jank with hero fades */
    animation: none;
  }
}

@keyframes heroCtaEntrance {
  from {
    opacity: 0;
    transform: translate3d(0, 1.35rem, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cta-entrance {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Canon banner
   ========================================================================== */

.canon-banner-section {
  padding-top: 0;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background-color: var(--background-color);
}

.canon-banner-wrap {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px rgba(var(--secondary-rgb), 0.08);
  background: var(--background-alt);
}

.canon-banner-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  object-position: center;
}

/* ==========================================================================
   Products We Deal In — modern showcase
   ========================================================================== */

.products-showcase {
  background: linear-gradient(180deg, #fff 0%, var(--background-alt) 100%);
  overflow-x: clip;
  max-width: 100%;
}

.products-showcase .container {
  max-width: 1140px;
}

.products-showcase__lead {
  max-width: 40rem;
}

.btn-catalog-cta {
  min-width: min(100%, 220px);
}

/* Partner strip — full-width bar only */
.products-showcase__partner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(var(--secondary-rgb), 0.08);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(var(--secondary-rgb), 0.06);
  box-sizing: border-box;
}

.products-showcase__partner-logos {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.products-showcase__logo-canon {
  height: clamp(22px, 4vw, 30px);
  width: auto;
  max-width: 120px;
  object-fit: contain;
  background: transparent;
}

.products-showcase__logo-kpp {
  width: clamp(40px, 7.5vw, 52px);
  height: auto;
  object-fit: contain;
  background: transparent;
}

.products-showcase__partner-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
  flex-shrink: 0;
}

.products-showcase__partner-meta {
  flex: 1 1 220px;
  min-width: 0;
}

.products-showcase__partner-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  margin-bottom: 0.4rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--canon-red);
  border-radius: 999px;
}

.products-showcase__partner-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Category groups */
.products-showcase__group {
  width: 100%;
  margin: 0 0 2.5rem;
  min-width: 0;
  clear: both;
}

.products-showcase__group:last-of-type {
  margin-bottom: 2rem;
}

.products-showcase__group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid rgba(var(--primary-rgb), 0.15);
}

.products-showcase__group-title {
  margin: 0;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 800;
  color: var(--secondary-color);
  letter-spacing: -0.02em;
  min-width: 0;
}

.products-showcase__group-count {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--canon-red);
  padding: 0.25rem 0.65rem;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 999px;
}

.products-showcase__row {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

/* Product card (Bootstrap columns provide the grid) */
.showcase-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(var(--secondary-rgb), 0.08);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(var(--secondary-rgb), 0.04);
  transition:
    transform var(--duration-medium) var(--ease-out-soft),
    box-shadow var(--duration-medium) var(--ease-liquid),
    border-color var(--duration-fast) var(--ease-liquid);
}

.showcase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--primary-rgb), 0.25);
  box-shadow: 0 16px 40px rgba(var(--primary-rgb), 0.12);
  color: inherit;
}

.showcase-card:focus-visible {
  outline: 2px solid var(--canon-red);
  outline-offset: 3px;
}

.showcase-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 200px;
  max-height: 200px;
  padding: 1rem;
  background: radial-gradient(
    ellipse 80% 70% at 50% 100%,
    rgba(var(--primary-rgb), 0.06) 0%,
    transparent 70%
  );
  overflow: hidden;
  flex: 0 0 auto;
}

.showcase-card__media img {
  display: block;
  max-width: 100%;
  max-height: 168px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center center;
  transition: transform var(--duration-slow) var(--ease-out-soft);
}

.showcase-card:hover .showcase-card__media img {
  transform: scale(1.04);
}

.showcase-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--canon-red);
  font-size: 1.75rem;
}

.showcase-card__badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: #fff;
  background: var(--canon-red);
  border-radius: 0.25rem;
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
}

.showcase-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1rem 1.1rem;
  border-top: 1px solid rgba(var(--secondary-rgb), 0.06);
}

.showcase-card__category {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--canon-red);
}

.showcase-card__name {
  font-size: clamp(0.82rem, 2vw, 0.95rem);
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.showcase-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--duration-fast) var(--ease-liquid),
    gap var(--duration-fast) var(--ease-liquid);
}

.showcase-card:hover .showcase-card__cta {
  color: var(--canon-red);
  gap: 0.55rem;
}

.showcase-card__cta i {
  font-size: 0.85rem;
  transition: transform var(--duration-fast) var(--ease-out-soft);
}

.showcase-card:hover .showcase-card__cta i {
  transform: translateX(2px);
}

/* Trust row */
.products-showcase__trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid rgba(var(--secondary-rgb), 0.08);
  border-radius: 0.75rem;
}

.showcase-trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.showcase-trust-item__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--canon-red);
  font-size: 1.1rem;
}

.showcase-trust-item__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--secondary-color);
  line-height: 1.35;
}

.products-showcase__actions .btn {
  min-height: 48px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .products-showcase__trust {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.35rem 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .products-showcase__partner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.15rem 1.25rem;
    margin-bottom: 2rem;
  }

  .products-showcase__partner-logos {
    width: 100%;
    justify-content: flex-start;
  }

  .products-showcase__partner-meta {
    width: 100%;
  }

  .products-showcase__group {
    margin-bottom: 2rem;
  }

  .products-showcase__group-head {
    flex-wrap: wrap;
  }

  .products-showcase__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0 0.25rem;
  }

  .products-showcase__actions .btn {
    width: 100%;
  }

  .showcase-card__media {
    height: 180px;
    max-height: 180px;
    padding: 0.85rem;
  }

  .showcase-card__media img {
    max-height: 148px;
  }

  .showcase-card:hover {
    transform: none;
  }
}

@media (max-width: 380px) {
  .showcase-card__name {
    font-size: 0.78rem;
  }

  .products-showcase__trust {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-card:hover {
    transform: none;
  }

  .showcase-card:hover .showcase-card__media img {
    transform: none;
  }
}

/* Products page — Canon-only badge */
.products-canon-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.85rem;
  border-radius: 0.5rem;
  background: rgba(var(--primary-rgb), 0.05);
  border: 1px solid rgba(var(--primary-rgb), 0.18);
}

.products-canon-badge__logo-wrap {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.products-canon-badge__logo {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

.products-canon-badge__text {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--canon-red);
}

/* ==========================================================================
   Contact social icons & touch rows
   ========================================================================== */

.contact-touch-row--whatsapp {
  border-left: 3px solid #25d366 !important;
}

.contact-touch-icon--whatsapp {
  background: #25d366 !important;
  color: rgb(var(--white-rgb)) !important;
}

.contact-touch-row--facebook {
  border-left: 3px solid #1877f2 !important;
}

.contact-touch-icon--facebook {
  background: #1877f2 !important;
  color: rgb(var(--white-rgb)) !important;
}

.contact-touch-row--linkedin {
  border-left: 3px solid #0a66c2 !important;
}

.contact-touch-icon--linkedin {
  background: #0a66c2 !important;
  color: rgb(var(--white-rgb)) !important;
}

.contact-social-icons {
  padding-top: 0.25rem;
}

.contact-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  color: var(--secondary-color);
  background: rgb(var(--white-rgb));
  text-decoration: none;
  font-size: 1.15rem;
  transition: color var(--duration-fast) var(--ease-liquid),
    border-color var(--duration-fast) var(--ease-liquid),
    background-color var(--duration-fast) var(--ease-liquid),
    transform var(--duration-fast) var(--ease-liquid);
}

.contact-social-btn:hover,
.contact-social-btn:focus-visible {
  color: rgb(var(--white-rgb));
  transform: translateY(-2px);
}

.contact-social-btn--whatsapp:hover,
.contact-social-btn--whatsapp:focus-visible {
  background: #25d366;
  border-color: #25d366;
}

.contact-social-btn--instagram:hover,
.contact-social-btn--instagram:focus-visible {
  background: #e1306c;
  border-color: #e1306c;
}

.contact-social-btn--facebook:hover,
.contact-social-btn--facebook:focus-visible {
  background: #1877f2;
  border-color: #1877f2;
}

.contact-social-btn--linkedin:hover,
.contact-social-btn--linkedin:focus-visible {
  background: #0a66c2;
  border-color: #0a66c2;
}

.contact-map-iframe {
  height: min(280px, 50vw);
  min-height: 200px;
}

/* Footer social variants */
.footer-tagline {
  color: rgba(var(--white-rgb), 0.92);
  line-height: 1.5;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-links a {
  display: inline-block;
  padding: 0.15rem 0;
  min-height: 28px;
}

.footer-social-link--whatsapp:hover {
  border-color: #25d366;
  background-color: rgba(37, 211, 102, 0.15);
}

.footer-social-link--facebook:hover {
  border-color: #1877f2;
  background-color: rgba(24, 119, 242, 0.15);
}

.footer-social-link--linkedin:hover {
  border-color: #0a66c2;
  background-color: rgba(10, 102, 194, 0.15);
}

/* ==========================================================================
   Mobile responsiveness — priority fixes
   ========================================================================== */

img,
video,
iframe,
svg {
  max-width: 100%;
  height: auto;
}

.hero-carousel-wrap,
.hero-carousel,
.hero-carousel .carousel-inner {
  overflow: hidden;
}

@media (max-width: 767.98px) {
  section[id],
  header[id] {
    scroll-margin-top: 5.5rem;
  }

  .hero-carousel-wrap {
    /* Same landscape frame as desktop so both slides fill edge-to-edge */
    --hero-aspect: 1600 / 949;
    --hero-max-h: min(56vh, 480px);
  }

  .hero-carousel,
  .hero-slide-cta {
    max-width: 100%;
  }

  .hero-slide-img {
    object-fit: contain !important;
    object-position: center center !important;
  }

  .hero-slide-cta {
    padding: 0.85rem 1rem 1rem;
  }

  .hero-cta-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .hero-cta-bar .btn {
    width: 100%;
    min-width: 0;
  }

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

  .hero-slide-cta,
  .hero-slide-media .hero-slide-cta {
    position: relative;
    width: 100%;
    background: var(--background-color);
    border-top: 1px solid var(--border-color);
  }

  /* Prevent Bootstrap row gutters from causing horizontal scroll */
  .row {
    --bs-gutter-x: 1.25rem;
  }

  .about-section .row.g-5 {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.75rem;
  }

  .hero-cta-entrance {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.85rem !important;
  }

  .hero-cta-entrance .btn {
    width: 100%;
    text-align: center;
    font-size: 0.9375rem;
    padding: 0.75rem 1rem;
  }

  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    width: 2.5rem;
    opacity: 0.85;
  }

  .hero-carousel .carousel-indicators {
    margin-bottom: 0.35rem;
  }

  .stat-item .stat-value {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }

  .stat-item .stat-label {
    font-size: 0.8125rem;
    line-height: 1.35;
    padding: 0 0.25rem;
  }

  .section-title {
    font-size: clamp(1.35rem, 5.5vw, 1.65rem);
  }

  .section-subtitle {
    font-size: 0.9375rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .about-image-wrap {
    margin-bottom: 0.5rem;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
  }

  .about-image-wrap img {
    width: auto;
    max-width: 100%;
    max-height: min(420px, 58vh);
  }

  .canon-banner-img {
    max-height: 180px;
    object-fit: cover;
  }

  .card-service {
    padding: 1.15rem !important;
  }

  .why-item {
    padding: 1.15rem;
  }

  .why-item h5 {
    font-size: 1rem;
  }

  .gallery-item {
    aspect-ratio: 1 / 1;
  }

  .gallery-overlay {
    font-size: 0.8125rem;
    opacity: 1;
    background: linear-gradient(
      to top,
      rgba(var(--secondary-rgb), 0.88),
      rgba(var(--primary-rgb), 0.35)
    );
    align-items: flex-end;
    padding-bottom: 0.75rem;
  }

  .contact-form-card,
  .contact-aside-card {
    padding: 1.25rem 1rem;
  }

  .contact-form-card__title,
  .contact-aside-card__title {
    font-size: 1.15rem;
  }

  .contact-touch-row {
    padding: 0.85rem;
    gap: 0.75rem;
  }

  .contact-touch-value {
    font-size: 0.9rem;
  }

  .contact-touch-value--static {
    font-size: 0.85rem;
    line-height: 1.45;
  }

  .btn-submit--wide {
    width: 100%;
  }

  .site-footer {
    padding-top: 2.25rem;
    text-align: center;
  }

  .site-footer .footer-heading {
    margin-top: 0.5rem;
  }

  .site-footer .footer-social {
    justify-content: center;
  }

  .navbar-brand-logo--kpp {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: max(0.875rem, env(safe-area-inset-left));
    padding-right: max(0.875rem, env(safe-area-inset-right));
  }

  .stats-strip .row > [class*="col-"]:last-child:nth-child(odd) {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 390px) {
  .navbar-custom .navbar-brand {
    max-width: min(58vw, calc(100vw - 7rem));
  }

  .kpp-frame__corner {
    width: 16px;
    height: 16px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .contact-map-iframe {
    height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-product:hover {
    transform: none;
  }
}
