/* =========================================================================
   AME Car Accessories — Design system & components
   Mobile-first. Layered on top of Bootstrap 5.3.
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --ame-black: #111111;
  --ame-dark: #1c1c1c;
  --ame-dark-2: #161616;
  --ame-orange: #d7262e;
  --ame-orange-dark: #b01e24;
  --ame-white: #ffffff;
  --ame-muted: #a7a7a7;
  --ame-light: #f5f5f5;
  --ame-border: #303030;
  --ame-ink: #1a1a1a;
  --ame-ink-muted: #5e5e5e;

  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 4px;
  --radius: 8px;
  --header-h: 72px;
  --section-y: 4.5rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--ame-ink);
  --bs-link-color: var(--ame-orange);
  --bs-link-hover-color: var(--ame-orange-dark);
  --bs-heading-color: inherit;
}
@media (min-width: 992px) {
  :root {
    --section-y: 6.5rem;
    --header-h: 84px;
  }
}

/* ---------- 2. Base ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ame-ink);
  background: var(--ame-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
h5,
.font-head {
  color: inherit;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  transition: color 0.2s var(--ease);
}
::selection {
  background: var(--ame-orange);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--ame-orange);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  z-index: 2000;
  background: var(--ame-orange);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
  color: #fff;
}

/* Images that fail to load still look intentional */
.img-frame,
.product-card__media,
.hero-slide,
.page-hero,
.cta-band,
.gallery-main .swiper-slide {
  background-color: #222;
}

/* ---------- 3. Layout helpers ---------- */
.section {
  padding: var(--section-y) 0;
}
.section-dark {
  background: var(--ame-black);
  color: var(--ame-white);
}
.section-dark-2 {
  background: var(--ame-dark);
  color: var(--ame-white);
}
.section-light {
  background: var(--ame-light);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ame-orange);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.section-title {
  font-size: clamp(1.85rem, 1.2rem + 2.6vw, 2rem);
  margin-bottom: 1rem;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--ame-ink-muted);
  max-width: 40rem;
}
.section-dark .section-lead,
.section-dark-2 .section-lead {
  color: var(--ame-muted);
}

.section-head {
  margin-bottom: 2.5rem;
}
@media (min-width: 992px) {
  .section-head {
    margin-bottom: 3.5rem;
  }
}

.text-accent {
  color: var(--ame-orange);
}

/* ---------- 4. Buttons ---------- */
.btn-ame {
  --pad-y: 0.9rem;
  --pad-x: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.btn-ame:hover {
  transform: translateY(-2px);
}
.btn-ame:active {
  transform: translateY(0);
}
.btn-ame i {
  font-size: 1.6em;
}

.btn-primary-ame {
  background: var(--ame-orange);
  color: #fff;
}
.btn-primary-ame:hover,
.btn-primary-ame:focus-visible {
  background: var(--ame-orange-dark);
  color: #fff;
}

.btn-outline-light-ame {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-outline-light-ame:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ame-black);
}

.btn-outline-dark-ame {
  border-color: var(--ame-ink);
  color: var(--ame-ink);
}
.btn-outline-dark-ame:hover {
  background: var(--ame-ink);
  color: #fff;
}

.btn-wa {
  background: #00b343;
  color: #fff;
  margin-left: 1rem;
}
.btn-wa:hover {
  background: #1fb956;
  color: #0b2e17;
}

.btn-sm-ame {
  --pad-y: 0.6rem;
  --pad-x: 1rem;
  font-size: 0.85rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ame-ink);
  text-decoration: none;
  white-space: nowrap;
}
.link-arrow i {
  transition: transform 0.25s var(--ease);
  color: var(--ame-orange);
}
.link-arrow:hover {
  color: var(--ame-orange);
}
.link-arrow:hover i {
  transform: translateX(4px);
}
.section-dark .link-arrow,
.section-dark-2 .link-arrow {
  color: #fff;
}

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1030;
  transition:
    background-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    padding 0.3s var(--ease);
  padding: 0.5rem 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(17, 17, 17, 0.96);
  box-shadow: 0 1px 0 var(--ame-border);
  padding: 0.1rem 0;
}
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-scrolled,
  .site-header.is-solid {
    background: rgba(17, 17, 17, 0.88);
    backdrop-filter: blur(12px);
  }
}
.site-header .navbar {
  min-height: var(--header-h);
  padding: 0;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
}
.brand-logo img {
  height: 40px;
  width: auto;
}
@media (min-width: 992px) {
  .brand-logo img {
    height: 46px;
  }
}

.site-header .nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.5rem 0;
  position: relative;
}
.site-header .nav-link:hover,
.site-header .nav-link:focus-visible {
  color: #fff;
}
.site-header .nav-link.active {
  color: #fff;
}
.site-header .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--ame-orange);
}
@media (min-width: 992px) {
  .site-header .navbar-nav {
    gap: 2.25rem;
  }
  .site-header .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: var(--ame-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
  }
  .site-header .nav-link:hover::after,
  .site-header .nav-link.active::after {
    transform: scaleX(1);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.header-call {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.header-call__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--ame-orange);
  transition: background 0.25s;
}
.header-call:hover .header-call__icon {
  background: var(--ame-orange);
  color: #fff;
  border-color: var(--ame-orange);
}
.header-call small {
  display: block;
  font-size: 0.7rem;
  color: var(--ame-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.header-call strong {
  font-family: var(--font-head);
  font-size: 0.95rem;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.toggler-bars,
.toggler-bars::before,
.toggler-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  position: relative;
  transition:
    transform 0.3s var(--ease),
    opacity 0.2s;
}
.toggler-bars::before,
.toggler-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.toggler-bars::before {
  top: -6px;
}
.toggler-bars::after {
  top: 6px;
}
.navbar-toggler[aria-expanded="true"] .toggler-bars {
  background: transparent;
}
.navbar-toggler[aria-expanded="true"] .toggler-bars::before {
  transform: translateY(6px) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .toggler-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-quick {
  display: flex;
  gap: 0.5rem;
}
.mobile-quick a {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
}
.mobile-quick .q-call {
  background: var(--ame-orange);
}
.mobile-quick .q-wa {
  background: #25d366;
  color: #0b2e17;
}

@media (max-width: 991.98px) {
  /* Off-canvas drawer: slides in from the left.
     Bootstrap's collapse still drives open/close; we replace its height
     animation with a transform. The toggler's aria-expanded flips at the
     start of each transition, so it tells us which way to slide. */
  .site-header .navbar-collapse,
  .site-header .navbar-collapse.collapsing {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1;
    width: min(84vw, 340px);
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0;
    padding: calc(var(--header-h) + 1rem) 1.5rem 2rem;
    background: var(--ame-black);
    border-right: 1px solid var(--ame-border);
    box-shadow: 24px 0 48px -12px rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(-100%);
    visibility: hidden;
    transition:
      transform 0.45s var(--ease),
      visibility 0s linear 0.45s;
  }
  .site-header .navbar-collapse.show,
  .site-header .navbar:has(.navbar-toggler[aria-expanded="true"]) .navbar-collapse {
    transform: none;
    visibility: visible;
    transition:
      transform 0.45s var(--ease),
      visibility 0s;
  }
  /* Menu items glide in after the panel */
  .site-header .navbar-collapse .nav-item,
  .site-header .navbar-collapse .header-actions {
    opacity: 0;
    transform: translateX(-16px);
    transition:
      opacity 0.3s var(--ease),
      transform 0.3s var(--ease);
  }
  .site-header .navbar:has(.navbar-toggler[aria-expanded="true"]) .nav-item,
  .site-header .navbar:has(.navbar-toggler[aria-expanded="true"]) .header-actions {
    opacity: 1;
    transform: none;
  }
  .site-header .navbar:has(.navbar-toggler[aria-expanded="true"]) .nav-item:nth-child(1) { transition-delay: 0.12s; }
  .site-header .navbar:has(.navbar-toggler[aria-expanded="true"]) .nav-item:nth-child(2) { transition-delay: 0.17s; }
  .site-header .navbar:has(.navbar-toggler[aria-expanded="true"]) .nav-item:nth-child(3) { transition-delay: 0.22s; }
  .site-header .navbar:has(.navbar-toggler[aria-expanded="true"]) .nav-item:nth-child(4) { transition-delay: 0.27s; }
  .site-header .navbar:has(.navbar-toggler[aria-expanded="true"]) .header-actions { transition-delay: 0.32s; }

  /* Logo and buttons stay above the drawer */
  .site-header .brand-logo,
  .site-header .navbar .d-lg-none {
    position: relative;
    z-index: 2;
  }

  /* Dimmed backdrop (clicking it closes the menu — see main.js) */
  .site-header::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.45s var(--ease),
      visibility 0s linear 0.45s;
  }
  .site-header:has(.navbar-toggler[aria-expanded="true"])::after {
    opacity: 1;
    visibility: visible;
    transition:
      opacity 0.45s var(--ease),
      visibility 0s;
  }
  /* backdrop-filter would trap the fixed drawer inside the header bar */
  .site-header:has(.navbar-collapse.show),
  .site-header:has(.navbar-collapse.collapsing) {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  body:has(.site-header .navbar-toggler[aria-expanded="true"]) {
    overflow: hidden;
  }
  .site-header .nav-link {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--ame-border);
    font-size: 1.05rem;
  }
  .site-header .nav-link.active::after {
    display: none;
  }
  .site-header .nav-link.active {
    color: var(--ame-orange);
  }
  .site-header:has(.navbar-collapse.show),
  .site-header:has(.navbar-collapse.collapsing) {
    background: var(--ame-black);
  }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--ame-black);
}
.hero-swiper {
  height: 100svh;
  min-height: 600px;
  max-height: 980px;
}
.hero-slide {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-slide__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  transition: transform 7s linear;
}
.swiper-slide-active .hero-slide__bg {
  transform: scale(1);
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(10, 10, 10, 0.92) 0%,
      rgba(10, 10, 10, 0.65) 45%,
      rgba(10, 10, 10, 0.15) 100%
    ),
    linear-gradient(0deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0) 45%);
}
@media (max-width: 767.98px) {
  .hero-slide::after {
    background: linear-gradient(
      0deg,
      rgba(10, 10, 10, 0.96) 10%,
      rgba(10, 10, 10, 0.55) 60%,
      rgba(10, 10, 10, 0.35) 100%
    );
  }
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 7rem;
}
@media (min-width: 992px) {
  .hero-content {
    padding-bottom: 9rem;
  }
}
.hero-title {
  font-size: clamp(2.4rem, 1.4rem + 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
  max-width: 14ch;
}
.hero-title span {
  color: var(--ame-orange);
  display: block;
}
.hero-text {
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
/* Mobile: compact buttons side by side on one row */
@media (max-width: 767.98px) {
  .hero-actions {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }
  .hero-actions .btn-ame {
    --pad-y: 0.7rem;
    --pad-x: 0.9rem;
    font-size: 0.8125rem;
    gap: 0.4rem;
  }
  .hero-actions .btn-ame:first-child {
    flex: 1 1 auto;
  }
  .hero-actions .btn-ame:last-child {
    flex: 0 0 auto;
  }
}

.hero-content > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.swiper-slide-active .hero-content > *,
.hero-swiper:not(.swiper-initialized) .hero-content > * {
  opacity: 1;
  transform: none;
}
.swiper-slide-active .hero-content > *:nth-child(2) {
  transition-delay: 0.15s;
}
.swiper-slide-active .hero-content > *:nth-child(3) {
  transition-delay: 0.3s;
}
.swiper-slide-active .hero-content > *:nth-child(4) {
  transition-delay: 0.45s;
}

.hero-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.hero-pagination.swiper-pagination {
  position: static;
  width: auto;
  display: flex;
  gap: 0.5rem;
}
.hero-pagination .swiper-pagination-bullet {
  width: 36px;
  height: 3px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  margin: 0 !important;
}
.hero-pagination .swiper-pagination-bullet-active {
  background: var(--ame-orange);
}
.hero-meta {
  display: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  gap: 2rem;
}
.hero-meta i {
  color: var(--ame-orange);
  margin-right: 0.5rem;
}
.hero-meta a {
  color: inherit;
  text-decoration: none;
}
.hero-meta a:hover {
  color: #fff;
}
@media (min-width: 768px) {
  .hero-meta {
    display: flex;
  }
}
@media (min-width: 992px) {
  .hero-bar .container {
    padding-right: 6rem;
  }
}

/* Hero fallback when Swiper is unavailable: show first slide only */
.hero-swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) {
  display: none;
}
.hero-swiper:not(.swiper-initialized) .swiper-wrapper {
  height: 100%;
}
.hero-swiper:not(.swiper-initialized) .swiper-slide {
  height: 100%;
}

/* ---------- 6b. Hero — scroll-controlled video ----------
   Default (no JS / reduced motion): one viewport, first frame + headline visible.
   .is-scrubbing (set by main.js): tall scroll track; JS drives --p, --intro, --outro (0–1). */
.hero-scrub {
  --p: 0;
  --intro: 0;
  --outro: 1;
  --studio-top: #000000;
  --studio-floor: #1e2625;
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 540px;
  background: var(--studio-top);
}
.hero-scrub.is-scrubbing {
  --intro: 1;
  --outro: 0;
  height: 320vh;
  height: 320svh;
}
@media (max-width: 991.98px) {
  .hero-scrub.is-scrubbing {
    height: 280vh;
    height: 280svh;
  }
}

.hero-scrub__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 540px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--studio-top);
}
.hero-scrub__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  background: transparent;
  pointer-events: none;
}
/* Portrait phones: "cover" would crop the car to a single door, so show a wide band
   of the frame and feather its edges into matching studio colours. */
@media (max-aspect-ratio: 4/5) {
  .hero-scrub__stage {
    background: linear-gradient(
      180deg,
      var(--studio-top) 0%,
      var(--studio-top) 34%,
      #0f1413 60%,
      var(--studio-floor) 66%,
      #0d1110 100%
    );
  }
  .hero-scrub__video {
    inset: auto;
    left: 50%;
    top: 47%;
    width: 150%;
    height: auto;
    aspect-ratio: 16 / 9;
    transform: translate(-50%, -50%);
    -webkit-mask-image: linear-gradient(
      180deg,
      transparent 0%,
      #000 16%,
      #000 84%,
      transparent 100%
    );
    mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  }
}

.hero-scrub__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(8, 10, 11, 0.9) 0%, rgba(8, 10, 11, 0) 38%);
}
.hero-scrub__shade::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: var(--outro);
  background: linear-gradient(
    90deg,
    rgba(8, 10, 11, 0.85) 0%,
    rgba(8, 10, 11, 0.35) 55%,
    rgba(8, 10, 11, 0) 100%
  );
}

/* Intro line: visible on the first frame, fades as the engine starts */
.hero-scrub__intro {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--header-h) + 6rem);
  z-index: 2;
  opacity: var(--intro);
  transform: translateY(calc((1 - var(--intro)) * -16px));
  display: none;
}
.hero-scrub__lead {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: clamp(1.35rem, 1rem + 1.6vw, 2.25rem);
  max-width: 20ch;
  margin: 0;
}

/* Headline + CTAs: revealed once the car has left the frame */
.hero-scrub .hero-content > * {
  opacity: 1;
  transform: none;
  transition: none;
}
.hero-scrub__content {
  position: relative;
  z-index: 3;
  opacity: var(--outro);
}
.hero-scrub__content > * {
  transform: translateY(calc((1 - var(--outro)) * 28px)) !important;
}
.hero-scrub__content > :nth-child(3) {
  transform: translateY(calc((1 - var(--outro)) * 42px)) !important;
}
.hero-scrub__content > :nth-child(4) {
  transform: translateY(calc((1 - var(--outro)) * 56px)) !important;
}
.hero-scrub.is-scrubbing:not(.is-revealed) .hero-scrub__content {
  visibility: hidden;
}

/* Scroll cue */
.hero-scrub__cue {
  position: absolute;
  left: 50%;
  bottom: 96px;
  z-index: 4;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  opacity: var(--intro);
  pointer-events: none;
}
.hero-scrub__mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  position: relative;
}
.hero-scrub__mouse::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--ame-orange);
  animation: heroWheel 1.6s var(--ease) infinite;
}
@keyframes heroWheel {
  0% {
    opacity: 0;
    transform: translateY(-3px);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(9px);
  }
}

/* Progress line in the hero bar */
.hero-progress {
  display: none;
  width: 140px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}
.hero-progress span {
  display: block;
  height: 100%;
  background: var(--ame-orange);
  transform-origin: left;
  transform: scaleX(var(--p));
}

.hero-scrub.is-scrubbing .hero-scrub__intro {
  display: block;
}
.hero-scrub.is-scrubbing .hero-scrub__cue {
  display: flex;
}
.hero-scrub.is-scrubbing .hero-progress {
  display: block;
}
.hero-scrub .hero-bar {
  z-index: 4;
}

@media (max-width: 767.98px) {
  .hero-scrub__cue {
    bottom: 84px;
  }
  .hero-scrub__intro {
    top: calc(var(--header-h) + 1.25rem);
  }
  .hero-scrub__intro .eyebrow {
    display: none;
  }
  .hero-title {
    font-size: clamp(1.85rem, 1.1rem + 3.6vw, 2.4rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scrub__mouse::before {
    animation: none;
    opacity: 1;
  }
}
/* Wide layout: every container matches the header width */
@media (min-width: 1400px) {
  .container {
    width: 86%;
    max-width: 1600px;
  }
}

/* ---------- 7. Inner page hero ---------- */
.page-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  padding: calc(var(--header-h) + 4rem) 0 3.5rem;
}
@media (min-width: 992px) {
  .page-hero {
    padding: calc(var(--header-h) + 8rem) 0 0rem;
  }
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Parallax (enabled by main.js): image is taller than the banner and
   drifts slower than the page; --parallax-y is set on scroll. */
.page-hero.is-parallax .page-hero__bg {
  top: -30%;
  height: 160%;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.92) 0%,
    rgba(10, 10, 10, 0.7) 88%,
    rgba(10, 10, 10, 0.45) 100%
  );
}
.page-hero .container {
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 1.5rem + 3.5vw, 4rem);
  margin-bottom: -12px;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 36rem;
  margin: 0;
  font-size: 1.05rem;
}
.breadcrumb-ame {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
}
.breadcrumb-ame li {
  color: rgba(255, 255, 255, 0.6);
}
.breadcrumb-ame li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: rgba(255, 255, 255, 0.35);
}
.breadcrumb-ame a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.breadcrumb-ame a:hover {
  color: var(--ame-orange);
}

/* ---------- 8. About split ---------- */
.img-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
    .img-frame img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }
.about-visual {
  position: relative;
  padding: 0 0 2rem 0;
}
.about-visual .img-main {
  aspect-ratio: 5 / 5;
}
.about-visual .img-accent {
  position: absolute;
  right: -0.5rem;
  bottom: 0;
  width: 46%;
  aspect-ratio: 1;
  border: 6px solid var(--ame-white);
  border-radius: var(--radius);
}
.section-light .about-visual .img-accent {
  border-color: var(--ame-light);
}
.about-visual .badge-loc {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 2;
  background: var(--ame-orange);
  color: #fff;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (min-width: 992px) {
  .about-visual {
    padding: 0 3rem 0rem 0;
  }
  .about-visual .img-accent {
    right: 0;
  }
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: 0.75rem;
}
.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-weight: 500;
}
.check-list i {
  color: var(--ame-orange);
  margin-top: 0.3rem;
  font-size: 0.85rem;
}
@media (min-width: 576px) {
  .check-list.two-col {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- 9. Product cards ---------- */
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #e7e7e7;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -18px rgba(0, 0, 0, 0.35);
  border-color: transparent;
}
.section-dark .product-card,
.section-dark-2 .product-card {
  background: var(--ame-dark);
  border-color: var(--ame-border);
  color: #fff;
}
.section-dark-2 .product-card {
  background: var(--ame-black);
}

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.product-card:hover .product-card__media img {
  transform: scale(1.06);
}
.product-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 50%);
}
.product-card__tag {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 1;
  background: rgba(17, 17, 17, 0.82);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border-radius: 2px;
}
.product-card__body {
  padding: 1.1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__title {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}
.product-card__title a {
  color: inherit;
  text-decoration: none;
}
.product-card__title a:hover {
  color: var(--ame-orange);
}
.product-card__text {
  font-size: 0.9rem;
  color: var(--ame-ink-muted);
  margin-bottom: 1rem;
  flex: 1;
}
.section-dark .product-card__text,
.section-dark-2 .product-card__text {
  color: var(--ame-muted);
}
.product-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid #ececec;
}
.section-dark .product-card__actions,
.section-dark-2 .product-card__actions {
  border-color: var(--ame-border);
}
.section-dark .product-card .link-arrow,
.section-dark-2 .product-card .link-arrow {
  color: #fff;
}
.btn-wa-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(37, 211, 102, 0.12);
  color: #1a9e4b;
  text-decoration: none;
  font-size: 1.15rem;
  transition:
    background 0.25s,
    color 0.25s;
}
.btn-wa-icon:hover {
  background: #25d366;
  color: #fff;
}

@media (max-width: 575.98px) {
  .product-card__body {
    padding: 0.85rem 0.8rem 0.8rem;
  }
  .product-card__title {
    font-size: 0.95rem;
  }
  .product-card__text {
    font-size: 0.82rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-grid .link-arrow {
    font-size: 0.8rem;
  }
  .product-grid .btn-wa-icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
  .product-card__tag {
    font-size: 0.6rem;
    left: 0.5rem;
    top: 0.5rem;
  }
}

/* Featured slider */
.featured-swiper {
  overflow: visible;
}
.featured-swiper .swiper-slide {
  height: auto;
}
.featured-wrap {
  overflow: hidden;
  padding: 0.5rem 0 1rem;
  margin: -0.5rem 0 0;
}
.slider-controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
}
.featured-pagination.swiper-pagination-progressbar {
  position: relative;
  flex: 1;
  height: 2px;
  background: var(--ame-border);
  top: auto;
  left: auto;
  width: auto;
}
.featured-pagination .swiper-pagination-progressbar-fill {
  background: var(--ame-orange);
}
.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--ame-border);
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  transition:
    background 0.25s,
    border-color 0.25s;
}
.slider-btn:hover {
  background: var(--ame-orange);
  border-color: var(--ame-orange);
}
.slider-btn.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* Swiper fallback when library is unavailable */
.featured-swiper:not(.swiper-initialized) .swiper-wrapper {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}
.featured-swiper:not(.swiper-initialized) .swiper-slide {
  flex: 0 0 min(85%, 320px);
  scroll-snap-align: start;
}

/* ---------- 10. Why choose ---------- */
.why-grid {
  border-top: 1px solid var(--ame-border);
}
.why-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--ame-border);
  position: relative;
}
.why-item__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--ame-orange);
  letter-spacing: 0.1em;
}
.why-item__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--ame-border);
  color: var(--ame-orange);
  font-size: 1.2rem;
  margin: 1.25rem 0 1.25rem;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.why-item:hover .why-item__icon {
  background: var(--ame-orange);
  color: #fff;
  border-color: var(--ame-orange);
}
.why-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}
.why-item p {
  color: var(--ame-muted);
  margin: 0;
  font-size: 0.95rem;
}
@media (min-width: 768px) {
  .why-grid {
    border-top: 0;
  }
  .why-item {
    padding: 2.25rem 2rem 2.25rem 0;
    border-bottom: 0;
    border-top: 1px solid var(--ame-border);
  }
}
@media (min-width: 992px) {
  .why-item {
    padding: 2.5rem 2rem;
    border-top: 0;
    border-left: 1px solid var(--ame-border);
    min-height: 100%;
  }
  .why-grid > div:first-child .why-item {
    border-left: 0;
    padding-left: 0;
  }
}
.section-light .why-grid,
.section-light .why-item {
  border-color: #dcdcdc;
}
.section-light .why-item p {
  color: var(--ame-ink-muted);
}
.section-light .why-item__icon {
  border-color: #d5d5d5;
}

/* ---------- 11. CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 5rem 0;
}
@media (min-width: 992px) {
  .cta-band {
    padding: 4rem 0;
  }
}
.cta-band__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(17, 17, 17, 0.95) 0%,
    rgba(17, 17, 17, 0.75) 60%,
    rgba(215, 38, 46, 0.45) 100%
  );
}
.cta-band .container {
  position: relative;
  z-index: 2;
}
.cta-band h2 {
  font-size: clamp(2rem, 1.3rem + 3vw, 2rem);
  max-width: 16ch;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 32rem;
  font-size: 1.05rem;
}

/* ---------- 12. Contact preview & contact page ---------- */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-list li {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--ame-border);
}
.contact-list li:first-child {
  padding-top: 0;
}
.section-light .contact-list li,
.contact-card .contact-list li {
  border-color: #e2e2e2;
}
.contact-list__icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: rgba(215, 38, 46, 0.12);
  color: var(--ame-orange);
  font-size: 1.05rem;
}
.contact-list h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ame-muted);
  margin: 0 0 0.3rem;
  font-weight: 700;
}
.section-light .contact-list h3,
.contact-card .contact-list h3 {
  color: var(--ame-ink-muted);
}
.contact-list p,
.contact-list a {
  margin: 0;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
}
.contact-list a:hover {
  color: var(--ame-orange);
}
.contact-list small {
  display: block;
  color: var(--ame-muted);
  font-weight: 400;
}

.map-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  height: 100%;
  background: #2a2a2a;
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid #e7e7e7;
  height: 100%;
}
@media (min-width: 992px) {
  .contact-card {
    padding: 2.5rem;
  }
}

.enquiry-panel {
  background: var(--ame-black);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
}
@media (min-width: 992px) {
  .enquiry-panel {
    padding: 3rem;
  }
}
.enquiry-panel .form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.4rem;
}
.enquiry-panel .form-label .req {
  color: var(--ame-orange);
}
.enquiry-panel .form-control,
.enquiry-panel .form-select {
  background-color: var(--ame-dark);
  border: 1px solid var(--ame-border);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 1rem;
}
.enquiry-panel .form-select {
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23A7A7A7' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}
.enquiry-panel .form-select option {
  background: var(--ame-dark);
}
.enquiry-panel .form-control::placeholder {
  color: #6f6f6f;
}
.enquiry-panel .form-control:focus,
.enquiry-panel .form-select:focus {
  background-color: var(--ame-dark);
  color: #fff;
  border-color: var(--ame-orange);
  box-shadow: 0 0 0 0.2rem rgba(215, 38, 46, 0.2);
}
.enquiry-panel .was-validated .form-control:invalid,
.enquiry-panel .was-validated .form-select:invalid {
  border-color: #ff6b6b;
}
.enquiry-panel .invalid-feedback {
  color: #ff8b8b;
}
.enquiry-panel .form-text {
  color: var(--ame-muted);
}

.form-status {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.form-status i {
  margin-top: 0.2rem;
}
.form-status a {
  color: inherit;
  font-weight: 700;
}
.form-status.is-success {
  background: rgba(37, 211, 102, 0.12);
  color: #7ee2a2;
  border: 1px solid rgba(37, 211, 102, 0.35);
}
.form-status.is-info {
  background: rgba(37, 211, 102, 0.1);
  color: #c9f3d8;
  border: 1px solid rgba(37, 211, 102, 0.3);
}
.form-status.is-error {
  background: rgba(255, 107, 107, 0.1);
  color: #ffb0b0;
  border: 1px solid rgba(255, 107, 107, 0.35);
}

/* ---------- 13. Products page ---------- */
.catalog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .catalog-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.filter-bar {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin: 0 -12px;
  padding-left: 12px;
  padding-right: 12px;
}
.filter-bar::-webkit-scrollbar {
  display: none;
}
@media (min-width: 768px) {
  .filter-bar {
    flex-wrap: wrap;
    overflow: visible;
    margin: 0;
    padding: 0;
  }
}
.filter-chip {
  flex: none;
  border: 1px solid #d6d6d6;
  background: #fff;
  color: var(--ame-ink);
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.filter-chip:hover {
  border-color: var(--ame-ink);
}
.filter-chip.is-active {
  background: var(--ame-black);
  color: #fff;
  border-color: var(--ame-black);
}
.catalog-count {
  color: var(--ame-ink-muted);
  font-size: 0.9rem;
  white-space: nowrap;
}
.data-error {
  color: var(--ame-ink-muted);
  padding: 2rem 0;
}
.sample-note {
  font-size: 0.8rem;
  color: var(--ame-ink-muted);
}

.skeleton {
  background: linear-gradient(90deg, #ececec 25%, #f6f6f6 50%, #ececec 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius);
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

/* ---------- 14. Product detail ---------- */
.detail-section {
  padding-top: calc(var(--header-h) + 2.5rem);
}
@media (min-width: 992px) {
  .detail-section {
    padding-top: calc(var(--header-h) + 3.5rem);
  }
}
.detail-crumbs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0 0 1.75rem;
  font-size: 0.85rem;
  color: var(--ame-ink-muted);
}
.detail-crumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: #bbb;
}
.detail-crumbs a {
  color: var(--ame-ink-muted);
  text-decoration: none;
}
.detail-crumbs a:hover {
  color: var(--ame-orange);
}

.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.gallery-main .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-main:not(.swiper-initialized) .swiper-slide:not(:first-child) {
  display: none;
}
.gallery-main:not(.swiper-initialized) .swiper-wrapper,
.gallery-main:not(.swiper-initialized) .swiper-slide {
  height: 100%;
}
.gallery-nav {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}
.gallery-nav .slider-btn {
  background: rgba(17, 17, 17, 0.75);
  border-color: transparent;
  width: 42px;
  height: 42px;
}
.gallery-thumbs {
  margin-top: 0.75rem;
}
.gallery-thumbs .swiper-slide {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.25s;
  border: 2px solid transparent;
  background: #222;
}
.gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  border-color: var(--ame-orange);
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbs:not(.swiper-initialized) .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.detail-cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ame-orange);
  text-decoration: none;
  margin-bottom: 0.75rem;
}
.detail-title {
  font-size: clamp(2rem, 1.5rem + 2.4vw, 3.1rem);
  margin-bottom: 1rem;
}
.detail-lead {
  font-size: 1.1rem;
  color: var(--ame-ink-muted);
}
.detail-body p {
  color: #3c3c3c;
}
.detail-features {
  list-style: none;
  padding: 1.5rem 0;
  margin: 1.5rem 0;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  display: grid;
  gap: 0.8rem;
}
@media (min-width: 576px) {
  .detail-features {
    grid-template-columns: 1fr 1fr;
  }
}
.detail-features li {
  display: flex;
  gap: 0.7rem;
  font-weight: 500;
  font-size: 0.95rem;
}
.detail-features i {
  color: var(--ame-orange);
  margin-top: 0.3rem;
  font-size: 0.8rem;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (max-width: 575.98px) {
  .detail-actions .btn-ame {
    flex: 1 1 100%;
  }
}
.detail-note {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--ame-ink-muted);
  display: flex;
  gap: 0.6rem;
}
.detail-note i {
  color: var(--ame-orange);
  margin-top: 0.25rem;
}
.detail-note a {
  color: var(--ame-ink);
  font-weight: 700;
  text-decoration: none;
}
@media (min-width: 992px) {
  .detail-sticky {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

/* ---------- 15. Mission / vision ---------- */
.mv-card {
  background: var(--ame-dark);
  border: 1px solid var(--ame-border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
}
@media (min-width: 992px) {
  .mv-card {
    padding: 2.75rem;
  }
}
.mv-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--ame-orange);
}
.mv-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.mv-card p {
  color: var(--ame-muted);
  margin: 0;
}
.mv-card__icon {
  color: var(--ame-orange);
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.img-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.img-mosaic .img-frame {
  aspect-ratio: 1;
}
.img-mosaic .img-frame.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}
@media (min-width: 768px) {
  .img-mosaic {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
  }
  .img-mosaic .img-frame.tall {
    aspect-ratio: auto;
  }
}

/* ---------- 16. Footer ---------- */
.site-footer {
  background: #0b0b0b;
  color: var(--ame-muted);
  padding: 4.5rem 0 0;
  font-size: 0.95rem;
}
.site-footer h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #fff;
  margin-bottom: 1.25rem;
  font-weight: 700;
}
.site-footer a {
  color: var(--ame-muted);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--ame-orange);
}
.site-footer .btn-wa,
.site-footer .btn-wa:hover {
  color: #0b2e17;
}
.footer-logo img {
  height: 46px;
  width: auto;
  margin-bottom: 1.25rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.9rem;
}
.footer-contact li {
  display: flex;
  gap: 0.75rem;
}
.footer-contact i {
  color: var(--ame-orange);
  margin-top: 0.3rem;
  width: 16px;
}
.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--ame-border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}
.footer-social a:hover {
  background: var(--ame-orange);
  border-color: var(--ame-orange);
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 3.5rem;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}
.footer-credit a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.footer-credit a:hover {
  color: var(--ame-orange);
}

/* ---------- 17. Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1040;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.85rem;
  text-decoration: none;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s var(--ease);
}
.wa-float:hover {
  transform: scale(1.07);
  color: #fff;
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-pulse 2.4s var(--ease) infinite;
}
@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float::before {
    animation: none;
  }
}
@media (min-width: 992px) {
  .wa-float {
    right: 28px;
    bottom: 28px;
    width: 62px;
    height: 62px;
  }
}

/* ---------- 18. Misc ---------- */
.divider-num {
  font-family: var(--font-head);
  font-size: clamp(3rem, 2rem + 4vw, 6rem);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px var(--ame-border);
  line-height: 1;
}
[data-aos] {
  pointer-events: auto;
}

/* ---------- 19. Mobile type scale (app-like) ---------- */
@media (max-width: 767.98px) {
  .section-title,
  .cta-band h2 {
    font-size: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.015em;
  }
  .hero-scrub__video{
    width: 128%;
  }
  p,
  .section-lead,
  .hero-text,
  .cta-band p,
  .detail-lead,
  .page-hero p {
    font-size: 0.9375rem;
    line-height: 1.6;
  }
  .why-item p {
    font-size: 0.875rem;
  }

  /* Compact buttons */
  .btn-ame {
    --pad-y: 0.7rem;
    --pad-x: 1.1rem;
    font-size: 0.8125rem;
    gap: 0.45rem;
  }
  .btn-ame i {
    font-size: 1.35em;
  }
  .btn-sm-ame {
    --pad-y: 0.55rem;
    --pad-x: 0.85rem;
    font-size: 0.78rem;
  }
}
