/* ============================================================
   AR Distribution Services — Wholesale
   Shared design system
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand palette */
  --orange: #FF914C;
  --orange-deep: #F2731F;
  --black: #000000;
  --ink: #1A1614;
  --white: #FFFFFF;
  --cream: #FFF7F1;

  /* Neutrals */
  --text: #1A1614;
  --text-soft: #5A5048;
  --text-faint: #8B8178;
  --line: #EFE6DD;
  --line-strong: #E2D6CA;

  /* Gradients */
  --grad-orange: linear-gradient(135deg, #FF914C 0%, #F2731F 100%);
  --grad-dark: linear-gradient(160deg, #1A1614 0%, #000000 100%);

  /* Type */
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(26, 22, 20, 0.06);
  --shadow-card: 0 6px 24px rgba(26, 22, 20, 0.08);
  --shadow-lift: 0 18px 40px rgba(26, 22, 20, 0.14);
  --shadow-orange: 0 18px 50px rgba(242, 115, 31, 0.30);

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --maxw: 1200px;
  --nav-h: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.eyebrow.center { justify-content: center; }
.eyebrow.on-dark { color: var(--orange); }

.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }

.lead {
  font-size: 1.12rem;
  color: var(--text-soft);
  max-width: 56ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.96rem;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .22s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--grad-orange);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(242, 115, 31, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(242, 115, 31, 0.42); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost.on-orange { color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-ghost.on-orange:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-lg { padding: 17px 32px; font-size: 1rem; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37,211,102,.35); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 6px 24px rgba(26,22,20,0.07);
  border-bottom-color: var(--line);
}
/* transparent over a dark photo hero, until scrolled */
body[data-nav="over-hero"] .nav:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body[data-nav="over-hero"] .nav:not(.scrolled) .brand-name,
body[data-nav="over-hero"] .nav:not(.scrolled) .brand-mark { color: #fff; }
body[data-nav="over-hero"] .nav:not(.scrolled) .brand-sub { color: var(--orange); }
body[data-nav="over-hero"] .nav:not(.scrolled) .nav-link { color: rgba(255,255,255,0.86); }
body[data-nav="over-hero"] .nav:not(.scrolled) .nav-link:hover { color: #fff; background: rgba(255,255,255,0.12); }
body[data-nav="over-hero"] .nav:not(.scrolled) .nav-link.active { color: #fff; }
body[data-nav="over-hero"] .nav:not(.scrolled) .hamburger { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.4); }
body[data-nav="over-hero"] .nav:not(.scrolled) .hamburger span { background: #fff; }
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { display: block; height: 46px; width: auto; }
.brand-logo.dark { display: none; }
body[data-nav="over-hero"] .nav.scrolled .brand-logo.light { display: none; }
body[data-nav="over-hero"] .nav.scrolled .brand-logo.dark { display: block; }
.footer .brand-logo { height: 58px; }
@media (max-width: 560px) { .brand-logo { height: 38px; } .footer .brand-logo { height: 50px; } }
.brand-mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: #fff;
  background: var(--grad-orange);
  border-radius: 13px;
  box-shadow: 0 6px 16px rgba(242,115,31,.32);
  flex: none;
  transition: color .25s ease;
}
.brand-mark svg { width: 28px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-sub {
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--orange-deep);
  font-weight: 700;
  margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-soft);
  padding: 9px 16px;
  border-radius: var(--r-pill);
  transition: color .18s ease, background .18s ease;
}
.nav-link:hover { color: var(--ink); background: var(--cream); }
.nav-link.active { color: var(--ink); font-weight: 600; }
.nav-link.active::after {
  content: ""; display: block; height: 2px; width: 18px;
  background: var(--orange); border-radius: 2px; margin: 4px auto 0;
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { padding: 11px 20px; font-size: 0.9rem; }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.hamburger span {
  width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu drawer */
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 99;
  background: var(--white);
  padding: 28px 28px 40px;
  flex-direction: column;
  gap: 6px;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a.m-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-menu .m-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.mobile-menu .m-actions .btn { width: 100%; }

/* ---------- Cards ---------- */
.card {
  --mx: 50%; --my: 50%;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .22s ease, border-color .22s ease;
  transform-style: preserve-3d;
}
.card > * { position: relative; z-index: 1; }
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; z-index: 0; opacity: 0;
  transition: opacity .3s ease;
  background: radial-gradient(240px circle at var(--mx) var(--my), rgba(255,145,76,0.16), transparent 62%);
}
.card:hover::after { opacity: 1; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }

/* Media tile placeholder (product / category imagery) */
.tile {
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(120% 120% at 30% 20%, #FFFFFF 0%, var(--cream) 70%);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.tile::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 115%, rgba(255,145,76,0.14), transparent 70%);
  pointer-events: none;
}
.tile-icon {
  width: 44%;
  max-width: 96px;
  color: var(--orange-deep);
  opacity: .9;
  filter: drop-shadow(0 8px 14px rgba(242,115,31,.18));
  transition: transform .3s ease;
}
.card:hover .tile-icon { transform: translateY(-3px) scale(1.04); }
.tile-tag {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-deep);
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: var(--r-pill);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--grad-dark);
  color: rgba(255,255,255,0.72);
  padding: 76px 0 30px;
}
.footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 44px;
}
.footer .brand-name { color: #fff; }
.footer .brand-mark { color: #fff; }
.footer-blurb { margin: 18px 0 22px; font-size: 0.92rem; max-width: 32ch; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul a, .footer-contact li { font-size: 0.92rem; transition: color .18s ease; }
.footer ul a:hover { color: var(--orange); }
.footer-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--orange); flex: none; margin-top: 2px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  transition: background .2s ease, transform .2s ease;
}
.socials a:hover { background: var(--orange); transform: translateY(-2px); border-color: var(--orange); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom .pending { color: var(--orange); font-weight: 600; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 12px 30px rgba(37,211,102,0.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.5);
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--grad-orange);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 64px;
  overflow: hidden;
  text-align: center;
}
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
}
.cta-band::before { width: 320px; height: 320px; top: -140px; right: -80px; }
.cta-band::after { width: 240px; height: 240px; bottom: -150px; left: -60px; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.cta-band p { color: rgba(255,255,255,0.92); font-size: 1.1rem; margin: 16px auto 30px; max-width: 50ch; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .section { padding: 72px 0; }
  .cta-band { padding: 48px 28px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer { padding: 56px 0 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .brand-sub { display: none; }
  .section { padding: 58px 0; }
  .section-tight { padding: 46px 0; }
  .btn-lg { padding: 15px 24px; font-size: 0.96rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee { animation: none !important; }
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  transform: scaleX(0); transform-origin: 0 50%;
  background: var(--grad-orange);
  z-index: 200; will-change: transform;
  box-shadow: 0 0 12px rgba(242,115,31,.5);
}

/* ---------- Marquee band ---------- */
.marquee-band {
  position: relative;
  background: var(--ink);
  padding: 26px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.marquee-band::before, .marquee-band::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none;
}
.marquee-band::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee-band::after { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }
.marquee {
  display: flex; align-items: center; gap: 0; width: max-content;
  animation: marq 32s linear infinite;
}
.marquee-band:hover .marquee { animation-play-state: paused; }
.mq-item {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.5rem; letter-spacing: 0.01em;
  color: #fff; padding: 0 28px; white-space: nowrap;
  transition: color .2s ease;
}
.mq-item:hover { color: var(--orange); }
.mq-dot { color: var(--orange); font-size: 0.9rem; opacity: .9; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Magnetic buttons ---------- */
.btn-primary, .btn-dark { will-change: transform; }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); transition: none;
}
.btn-primary:hover::before { animation: sheen .9s ease; }
@keyframes sheen { from { left: -120%; } to { left: 160%; } }

/* ---------- Animated gradient utility ---------- */
.animated-grad {
  background: linear-gradient(120deg, #FF914C, #F2731F, #FF914C, #F2731F);
  background-size: 300% 300%;
  animation: gradShift 9s ease infinite;
}
@keyframes gradShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* soft floating decorative blobs */
.blob {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  filter: blur(8px); opacity: .5;
  animation: blobFloat 16s ease-in-out infinite;
}
@keyframes blobFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(28px,-24px) scale(1.1); }
  66% { transform: translate(-22px,18px) scale(.94); }
}

/* subtle texture for LIGHT sections (quiet, not flashy) */
.soft-bg { position: relative; overflow: hidden; }
.soft-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(242,115,31,0.05) 1.1px, transparent 1.1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(115% 75% at 50% 0%, #000, transparent 78%);
  mask-image: radial-gradient(115% 75% at 50% 0%, #000, transparent 78%);
}
.soft-bg::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 460px; height: 460px; right: -140px; bottom: -180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,145,76,0.10), transparent 68%);
}
.soft-bg > .wrap { position: relative; z-index: 1; }

/* ---------- Back-to-top floating button ---------- */
.totop-float {
  position: fixed;
  right: 24px; bottom: 92px;
  z-index: 89;
  width: 50px; height: 50px;
  border: none; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(26,22,20,0.34);
  opacity: 0; transform: translateY(16px) scale(.8);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background .2s ease;
}
.totop-float.show { opacity: 1; transform: none; pointer-events: auto; animation: bobUp 2.4s ease-in-out infinite; }
.totop-float:hover { background: var(--orange-deep); }
.totop-float svg { width: 22px; height: 22px; }
@keyframes bobUp { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
