/* AMOX Industrial - front page styles. */

/* Hero */
.hero { position: relative; min-height: 720px; color: white; background: #0c0e11; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(12,14,17,.98) 0%, rgba(12,14,17,.9) 28%, rgba(12,14,17,.45) 52%, rgba(12,14,17,.08) 78%);
  pointer-events: none;
}
.hero-video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; background: #0c0e11; }
.hero::after { content: "AMOX"; position: absolute; right: -22px; bottom: -115px; z-index: 1; color: rgba(255,255,255,.025); font-size: 21vw; font-weight: 950; letter-spacing: -.08em; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; min-height: 720px; display: grid; align-content: center; }
.hero-copy { max-width: 710px; padding: 130px 0 70px; }
.hero h1 { margin: 20px 0 26px; font-size: clamp(3rem, 5.4vw, 5.5rem); font-weight: 900; line-height: 1.02; text-transform: uppercase; }
.hero p { max-width: 610px; color: #c6c8cc; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-index { position: absolute; right: 35px; top: 50%; z-index: 3; color: rgba(255,255,255,.6); font-size: .67rem; font-weight: 800; letter-spacing: .35em; writing-mode: vertical-rl; transform: translateY(-50%); }

/* Static stable hero styling */
.motion-section { background-position: 50% 50%; }

/* Trust strip */
.trust-strip {
  position: relative;
  z-index: 5;
  background: var(--site-bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(12, 15, 20, .03);
}
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  transition: background-color .25s ease;
}
.trust-item:last-child { border-right: 0; }
.trust-item:hover { background: #fafaf8; }
.trust-item:hover .trust-icon-box,
.value-card:hover .trust-icon-box {
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  border-color: transparent;
  color: white;
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 8px 22px rgba(239,75,11,.3);
}
.trust-content { flex: 1; min-width: 0; }
.trust-content strong {
  display: block;
  font-size: .98rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 5px;
  letter-spacing: -.01em;
}
.trust-content span {
  display: block;
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.45;
}

/* Section head + cards */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 50px; }
.section-head h2 { max-width: 760px; margin: 12px 0 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--site-bg); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.card-image { height: 220px; background: #ddd; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.card:hover img { transform: scale(1.045); }
.card-body { padding: 26px; }
.card-no { color: var(--orange); font-size: .72rem; font-weight: 900; letter-spacing: .16em; }
.card h3 { margin: 10px 0 8px; font-size: 1.45rem; }
.card p { color: var(--muted); font-size: .9rem; }

/* CTA band */
.cta-band { position: relative; padding: 80px 0; color: white; background: var(--orange); overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 430px; height: 430px; right: -100px; top: -180px; border: 90px solid rgba(255,255,255,.09); border-radius: 50%; }
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { max-width: 760px; margin: 0; font-size: clamp(2.2rem, 4.5vw, 4.4rem); }

/* Partners / certified-by carousel */
.partners-carousel-section {
  padding: 46px 0 42px;
  overflow: hidden;
  position: relative;
  background: #fbfbf9;
  border-bottom: 1px solid var(--line);
}
.partners-carousel-heading { margin-bottom: 12px; text-align: center; }
.partners-carousel-heading h2 { margin: 0; font-size: clamp(2.25rem, 4.5vw, 4rem); }
.marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  padding: 15px 0 25px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.marquee-container.is-dragging { cursor: grabbing; }
.marquee-container:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  will-change: transform;
}
.marquee-item { flex: none; }
.partner-logo {
  width: 190px;
  height: 118px;
  border-radius: 16px;
  background: var(--site-bg);
  border: 1px solid rgba(16, 18, 22, 0.06);
  display: grid;
  place-items: center;
  padding: 16px 20px;
  box-shadow: 0 4px 16px rgba(12, 15, 20, 0.03);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.partner-logo img {
  display: block;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
}
.marquee-item:hover .partner-logo {
  background: var(--site-bg);
  transform: translateY(-5px);
  border-color: rgba(239, 75, 11, 0.3);
  box-shadow: 0 14px 30px rgba(12, 15, 20, 0.08);
}

@media (max-width: 1000px) {
  .hero::before { left: 0; opacity: .82; background-position: 58% center; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(1), .trust-item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 740px) {
  .hero { min-height: 640px; }
  .hero-inner { min-height: 640px; }
  .hero::before { inset: 0; opacity: .52; background-position: 70% center; }
  .hero-video { object-position: 65% center; }
  .hero h1 { font-size: clamp(2.65rem, 12vw, 4rem); }
  .hero-copy { padding-top: 125px; }
  .hero-index { display: none; }
  .section-head, .cta-inner { align-items: start; flex-direction: column; }
  .cards { grid-template-columns: 1fr; }
  .partners-carousel-section { padding: 32px 0 30px; }
  .partner-logo { width: 150px; height: 94px; padding: 12px 16px; }
  .marquee-track { gap: 20px; }
}

@media (max-width: 520px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 16px; }
  .trust-item:last-child { border-bottom: 0; }
  .hero-actions .btn { width: 100%; }
}
