:root {
  --gold: #f4c730;
  --gold-soft: #f9db6d;
  --gold-ink: #f9db6d;
  --yellow-pale: #f4c730;
  --ink: #16171b;
  --ink-soft: #4a4a4a;
  --bg-deep: #44464f;
  --bg-panel: #44464f;
  --bg-panel-2: #3a3c44;
  --bg-body: #44464f;
  --text: #f4f5f7;
  --text-dim: #c3c5cc;
  --border: rgba(244, 199, 48, 0.18);
  --chip-bg: transparent;
  --chip-text: var(--gold-soft);
  --radius: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-gold: 0 10px 30px -8px rgba(244, 199, 48, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text);
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
section { position: relative; }
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(244, 199, 48, 0.08);
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.eyebrow-dark { background: rgba(22,23,27,0.12); border-color: rgba(22,23,27,0.25); color: var(--ink); }
h1, h2, h3 { line-height: 1.15; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 40px); }
p { color: var(--text-dim); line-height: 1.6; }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.reveal-zoom { transform: scale(0.82); }
.reveal.reveal-left { transform: translateX(-56px); }
.reveal.reveal-right { transform: translateX(56px); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }

/* ---------- Header ---------- */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 200;
  padding: 18px 0;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}
header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header.scrolled {
  padding: 10px 0;
  background: rgba(40, 41, 48, 0.97);
  box-shadow: 0 8px 30px -12px rgba(0,0,0,0.4);
  border-bottom: 1px solid var(--border);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 64px; width: 113px; flex-shrink: 0; }
nav.main-nav { display: flex; align-items: center; gap: 28px; }
nav.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dim);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}
nav.main-nav a:hover { color: var(--text); }
nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
nav.main-nav a:hover::after { width: 100%; }
nav.main-nav .nav-quote-mobile { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  border: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(244, 199, 48, 0.6); }
.btn-dark {
  background: var(--ink);
  color: #f4f5f7;
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(20,21,28,0.35); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(255,255,255,0.22);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  background: none;
  border: none;
  padding: 6px;
}
.burger span { height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 168px 0 90px;
  background:
    radial-gradient(60% 60% at 15% 20%, rgba(244,199,48,0.16), transparent 60%),
    radial-gradient(50% 50% at 85% 30%, rgba(244,199,48,0.12), transparent 60%),
    var(--bg-body);
  overflow: hidden;
}
.flame {
  position: absolute;
  filter: drop-shadow(0 8px 16px rgba(255, 194, 51, 0.35));
  animation: float 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
  50% { transform: translateY(-22px) translateX(8px) rotate(-4deg); }
}
.flame-1 { width: 56px; height: 56px; top: 14%; left: 4%; animation-duration: 6s; }
.flame-2 { width: 96px; height: 96px; top: 22%; right: 5%; animation-duration: 8.5s; animation-delay: -2s; }
.flame-3 { width: 40px; height: 40px; top: 8%; right: 16%; animation-duration: 5.5s; animation-delay: -1s; }
.flame-4 { width: 70px; height: 70px; top: 12%; left: 16%; animation-duration: 7.5s; animation-delay: -3s; }
.flame-5 { width: 30px; height: 30px; top: 3%; left: 32%; animation-duration: 6.5s; animation-delay: -4s; }
.flame-6 { width: 34px; height: 34px; top: 4%; right: 30%; animation-duration: 7s; animation-delay: -2.5s; }

.hero-inner { text-align: center; max-width: 780px; margin: 0 auto; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 700; margin: 22px 0 6px; }
.hero .accent-line { color: var(--gold-ink); font-weight: 700; font-size: clamp(20px, 3vw, 28px); display: block; margin-bottom: 18px; min-height: 1.3em; }
.rotator-cursor { display: inline-block; margin-left: 2px; animation: blink 0.9s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero p.lead { max-width: 620px; margin: 0 auto 34px; font-size: 17px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Full-bleed photo ---------- */
.full-photo { padding: 60px 0; background: var(--bg-deep); }
.full-photo .container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.stats-row-3 { grid-template-columns: repeat(3, 1fr); max-width: 760px; gap: 32px; }
.stat { text-align: center; }
.stat .num { font-size: clamp(40px, 5.5vw, 64px); font-weight: 800; line-height: 1; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.stat .label { font-size: 14px; color: var(--text-dim); margin-top: 10px; line-height: 1.4; }

/* ---------- Section shells ---------- */
.section { padding: 100px 0; overflow-x: hidden; }
.section-alt { background: var(--bg-panel); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { margin-top: 16px; text-wrap: balance; }
.section-head p { margin-top: 14px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col > * { order: 0 !important; }
}

/* ---------- Products (solid flip cards) ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 22px;
  row-gap: 56px;
}
.product-card {
  background: none;
  border: none;
  padding: 0;
  height: 280px;
}

.flip-card { perspective: 1400px; cursor: pointer; }
.flip-inner {
  position: relative;
  width: 100%; height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-inner,
.flip-card.flipped .flip-inner { transform: rotateY(180deg); }

.flip-front, .flip-back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
}
.flip-front {
  overflow: hidden;
  background: var(--yellow-pale);
  padding: 30px 26px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.flip-card:hover .flip-front { box-shadow: 0 20px 40px -18px rgba(20,21,28,0.3); }
.flip-front h3 { font-size: 19px; margin-bottom: 8px; color: var(--ink); }
.flip-front p { font-size: 14px; margin-bottom: 0; color: var(--ink-soft); }

.flip-back {
  transform: rotateY(180deg);
  background: var(--yellow-pale);
  overflow: visible;
}
.flip-back-photo {
  position: absolute;
  left: 50%;
  bottom: 42px;
  transform: translateX(-50%);
  height: 112%;
  max-height: 112%;
  width: auto;
  max-width: 122%;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(20,21,28,0.28));
  z-index: 2;
  pointer-events: none;
}
.flip-back .quote-link {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 3;
}
.product-card .quote-link {
  font-size: 13px; font-weight: 700; color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; padding: 0;
  flex-shrink: 0;
  white-space: nowrap;
}
.product-card .quote-link svg { transition: transform 0.3s var(--ease); }
.product-card .quote-link:hover svg { transform: translateX(4px); }

/* ---------- Brands marquee ---------- */
.brands-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.brands-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.brands-marquee:hover .brands-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.brand-logo { height: 34px; flex-shrink: 0; display: flex; align-items: center; }
.brand-logo img { height: 100%; width: auto; object-fit: contain; }

/* ---------- Locations ---------- */
.locations-layout {
  display: grid;
  grid-template-columns: 1fr 0.82fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  grid-template-areas:
    "l1 img r1"
    "l2 img r2"
    "l3 img r3";
  gap: 22px 32px;
}
.loc-l1 { grid-area: l1; }
.loc-l2 { grid-area: l2; }
.loc-l3 { grid-area: l3; }
.loc-r1 { grid-area: r1; }
.loc-r2 { grid-area: r2; }
.loc-r3 { grid-area: r3; }
.locations-center {
  grid-area: img;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 100%;
}
.locations-center img { width: 100%; height: 100%; object-fit: cover; }

.location-card {
  display: flex; gap: 14px;
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
a.location-card:hover { transform: translateY(-4px); border-color: rgba(244,199,48,0.6); box-shadow: 0 16px 32px -20px rgba(20,21,28,0.3); }
.location-card .pin {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--gold); color: var(--ink);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  margin-top: 2px;
}
.location-card-static .pin { background: rgba(244,199,48,0.2); color: var(--gold-ink); }
.location-card .loc-body { display: flex; flex-direction: column; gap: 4px; }
.location-card .name { font-weight: 700; font-size: 15.5px; }
.location-card .address { font-size: 13px; color: var(--text-dim); line-height: 1.5; }
.location-card .address p { margin: 0 0 6px; color: inherit; font-size: inherit; line-height: inherit; }
.location-card .address p:last-child { margin-bottom: 0; }
.location-card .go { font-size: 12px; font-weight: 600; color: var(--gold-ink); margin-top: 2px; }

@media (max-width: 900px) {
  .locations-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "img"
      "l1" "l2" "l3"
      "r1" "r2" "r3";
  }
  .locations-center { max-width: 320px; margin: 0 auto 8px; height: auto; aspect-ratio: 4 / 5; }
}

/* ---------- FAQ (numbered list) ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.faq-intro p { max-width: 380px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  background: none; border: none; color: var(--text);
  font-size: 16px; font-weight: 600; text-align: left;
}
.faq-q .num { color: var(--gold-ink); font-weight: 700; margin-right: 12px; font-variant-numeric: tabular-nums; }
.faq-q .arrow { transition: transform 0.35s var(--ease); color: var(--gold-ink); flex-shrink: 0; }
.faq-item.open .faq-q .arrow { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding: 0 4px 22px 48px; font-size: 14.5px; color: var(--text-dim); }

@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- CTA banner (Mayoreo, full-bleed solid) ---------- */
.mayoreo-section { background: var(--gold); padding: 80px 0; }
.cta-banner {
  padding: 0 24px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-banner h2 { margin-bottom: 14px; color: var(--ink); }
.cta-banner p { max-width: 560px; margin: 0 auto; color: rgba(22,23,27,0.75); }
.cta-banner .cta-sub { margin-top: 18px; font-weight: 600; color: var(--ink); }
.mayoreo-form {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  max-width: 480px; margin: 22px auto 0;
}
.mayoreo-form input {
  flex: 1; min-width: 220px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid rgba(22,23,27,0.2);
  background: rgba(255,255,255,0.5);
  color: var(--ink);
  font-size: 14.5px;
  font-family: inherit;
}
.mayoreo-form input::placeholder { color: rgba(22,23,27,0.55); }
.mayoreo-form input:focus { outline: none; border-color: var(--ink); }

/* ---------- Contact ---------- */
.contact-form-card {
  background: var(--yellow-pale);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-form-card h3 { font-size: 24px; color: var(--ink); margin-bottom: 8px; }
.contact-form-card > p { color: var(--ink-soft); margin-bottom: 22px; }
.contact-form-card .field label { color: var(--ink); }
.contact-form-card .field input,
.contact-form-card .field textarea {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(22,23,27,0.15);
  color: var(--ink);
}
.contact-form-card .field input::placeholder,
.contact-form-card .field textarea::placeholder { color: rgba(22,23,27,0.5); }
.contact-form-card .field input:focus,
.contact-form-card .field textarea:focus { border-color: var(--ink); box-shadow: none; }

.steps-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 14px; counter-reset: step; }
.steps-list li { position: relative; padding-left: 34px; font-size: 14.5px; color: var(--text-dim); line-height: 1.6; counter-increment: step; }
.steps-list li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.steps-list strong { color: var(--text); }

.contact-icon {
  color: var(--gold);
  font-size: 26px; line-height: 1;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon-wa { color: var(--gold); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card {
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(244,199,48,0.6); box-shadow: 0 16px 32px -20px rgba(20,21,28,0.3); }
.blog-cat { font-size: 12px; font-weight: 600; color: var(--gold-ink); text-transform: uppercase; letter-spacing: 0.04em; }
.blog-card h3 { font-size: 17px; margin: 12px 0 16px; }
.blog-more { margin-top: auto; font-size: 13.5px; font-weight: 600; color: var(--gold-ink); }

/* ---------- Footer ---------- */
footer { background: var(--bg-panel); border-top: 1px solid var(--border); padding: 72px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.footer-col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text); margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col button.linklike {
  color: var(--text-dim); font-size: 14px; transition: color 0.25s var(--ease);
  background: none; border: none; padding: 0; text-align: left;
}
.footer-col a:hover, .footer-col button.linklike:hover { color: var(--gold-ink); }
.footer-brand p { font-size: 14px; max-width: 280px; margin-top: 14px; }
.social-row { display: flex; gap: 12px; margin-top: 20px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  color: var(--text-dim);
}
.social-row a:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--gold-ink); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 13px; color: var(--text-dim);
  text-align: center;
}

/* ---------- Quote drawer ---------- */
.overlay {
  position: fixed; inset: 0;
  background: rgba(15,16,20,0.5);
  backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
  z-index: 300;
}
.overlay.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(440px, 92vw);
  background: var(--bg-panel-2);
  border-left: 1px solid var(--border);
  z-index: 301;
  padding: 32px 28px 28px;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  overflow-y: auto;
  box-shadow: -20px 0 50px -20px rgba(20,21,28,0.25);
}
.drawer.open { transform: translateX(0); }
.drawer-close {
  position: absolute; top: 24px; right: 24px;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border); background: none; color: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.drawer-close:hover { transform: rotate(90deg); border-color: var(--gold); }
.drawer h3 { font-size: 24px; margin-bottom: 8px; padding-right: 40px; }
.drawer > p { font-size: 14px; margin-bottom: 26px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--text-dim); }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14.5px;
  font-family: inherit;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244,199,48,0.22);
}
.field textarea { resize: vertical; min-height: 90px; }
.field.error input, .field.error textarea { border-color: #d64545; }
.field .err-msg { color: #c23a3a; font-size: 12px; margin-top: 6px; display: none; }
.field.error .err-msg { display: block; }

.drawer-submit { width: 100%; margin-top: 6px; position: relative; }
.drawer-submit .spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(22,23,27,0.35); border-top-color: #16171b;
  animation: spin 0.7s linear infinite; display: none;
}
.drawer-submit.loading .spinner { display: inline-block; }
.drawer-submit.loading .txt { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- Cotizador (quote drawer) ---------------- */
.drawer-quote { padding-bottom: 32px; }

.q-tabs {
  display: flex;
  gap: 6px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 20px;
}
.q-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dim);
  background: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.q-tab.active { background: var(--gold); color: var(--ink); }
.q-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(22,23,27,0.16);
  color: inherit;
  font-size: 11px;
  font-weight: 700;
}
.q-tab:not(.active) .q-tab-badge { background: rgba(244,199,48,0.18); color: var(--gold-soft); }

.q-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  margin-bottom: 14px;
  color: var(--text-dim);
}
.q-search input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text);
  font-size: 14.5px;
  font-family: inherit;
}
.q-search input:focus { outline: none; }

.q-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.q-filter {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  color: var(--text-dim);
  font-size: 12.5px;
  font-weight: 600;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.q-filter.active { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.q-product-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 18px;
}
.q-product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-panel);
}
.q-product-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.q-product-name { font-size: 14px; font-weight: 600; color: var(--text); }
.q-product-cat { font-size: 12px; color: var(--text-dim); }
.q-add-btn {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--ease);
}
.q-add-btn:hover { transform: scale(1.08); }
.q-add-btn.in-cart { width: auto; padding: 0 12px; border-radius: 999px; font-size: 12.5px; gap: 4px; }
.q-no-results { font-size: 13.5px; color: var(--text-dim); text-align: center; padding: 18px 0; }

.q-custom-toggle {
  width: 100%;
  text-align: left;
  padding: 13px 14px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  background: none;
  color: var(--gold-soft);
  font-size: 13.5px;
  font-weight: 600;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.q-custom-toggle:hover, .q-custom-toggle.open { border-color: var(--gold); background: rgba(244,199,48,0.06); }
.q-custom-plus { display: inline-block; margin-right: 4px; }
.q-custom-form { margin-top: 14px; padding-top: 4px; }
.q-custom-add { width: 100%; }

.q-cart-empty { font-size: 14px; color: var(--text-dim); text-align: center; padding: 30px 0; }
.q-cart-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  max-height: 260px;
  overflow-y: auto;
}
.q-cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-panel);
}
.q-cart-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.q-cart-name { font-size: 14px; font-weight: 600; color: var(--text); }
.q-cart-cat { font-size: 12px; color: var(--text-dim); }
.q-cart-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.q-qty-btn {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: none;
  color: var(--text);
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.q-qty-btn:hover { border-color: var(--gold); color: var(--gold); }
.q-cart-qty-text { font-size: 13.5px; font-weight: 700; color: var(--text); min-width: 16px; text-align: center; }
.q-cart-remove {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: none;
  color: var(--text-dim);
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s var(--ease);
}
.q-cart-remove:hover { color: #d64545; }

.toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--gold); color: var(--ink);
  padding: 14px 22px; border-radius: 12px;
  font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-gold);
  opacity: 0; pointer-events: none;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  z-index: 400;
  display: flex; align-items: center; gap: 10px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Floating WhatsApp button ---------- */
.fab-wa {
  position: fixed; bottom: 26px; right: 26px; z-index: 190;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px -6px rgba(37,211,102,0.6);
  transition: transform 0.3s var(--ease);
  animation: pulse-wa 2.6s ease-in-out infinite;
}
.fab-wa:hover { transform: scale(1.08); }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 10px 26px -6px rgba(37,211,102,0.6); }
  50% { box-shadow: 0 10px 34px -4px rgba(37,211,102,0.9); }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row-3 { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .flip-back-photo { height: 118%; max-width: 128%; bottom: 40px; }
}
@media (max-width: 560px) {
  .stats-row-3 { grid-template-columns: 1fr; row-gap: 28px; }
  .blog-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; row-gap: 44px; }
  .flip-back-photo { height: 108%; max-width: 112%; bottom: 40px; }
}
@media (max-width: 760px) {
  header {
    background: rgba(40, 41, 48, 0.97);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 30px -12px rgba(0,0,0,0.4);
  }
  nav.main-nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(320px, 86vw);
    background: var(--bg-panel-2);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 28px 28px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }
  nav.main-nav.open { transform: translateX(0); }
  nav.main-nav a { font-size: 17px; }
  .burger { display: flex; }
  .header-cta { display: none; }
  nav.main-nav .nav-quote-mobile { display: inline-flex; margin-top: 8px; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { padding: 44px 24px; }
}
