/* NodoPack — Sistema visual */
:root {
  --violet: oklch(0.55 0.20 295);
  --violet-deep: oklch(0.42 0.22 295);
  --violet-soft: oklch(0.95 0.04 295);
  --violet-tint: oklch(0.88 0.08 295);
  --coral: oklch(0.72 0.17 25);
  --coral-deep: oklch(0.62 0.20 25);
  --coral-soft: oklch(0.95 0.04 25);
  --bg: #FAFAF7;
  --bg-card: #FFFFFF;
  --ink: #1A1625;
  --ink-soft: #4B4458;
  --ink-mute: #8A8395;
  --line: #E8E5E0;
  --line-strong: #1A1625;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(26,22,37,0.04), 0 2px 6px rgba(26,22,37,0.04);
  --shadow-md: 0 4px 14px rgba(26,22,37,0.06), 0 12px 32px rgba(26,22,37,0.06);
  --font-sans: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", "SF Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

/* Layout */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .section { padding: 64px 0; }
  .section-tight { padding: 40px 0; }
}

/* Eyebrow / labels */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
}
.eyebrow.coral { color: var(--coral-deep); }
.eyebrow.muted { color: var(--ink-mute); }

/* Type scale */
.h-display {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
}
.h1 {
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 600;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.h3 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--ink-soft);
  text-wrap: pretty;
  max-width: 60ch;
}
.body { font-size: 16px; color: var(--ink-soft); }
.small { font-size: 14px; color: var(--ink-mute); }
.mono { font-family: var(--font-mono); }

/* Buttons — see button-styles class on body for variants */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  font-weight: 500;
  font-size: 15px;
  border-radius: var(--radius-pill);
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--violet);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--bg);
}

/* Tracking pill — secundario en nav */
.btn-tracking {
  background: var(--violet-soft);
  color: var(--violet-deep);
  padding: 10px 16px;
  font-size: 14px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
}
.btn-tracking:hover {
  background: var(--violet);
  color: var(--bg);
  transform: translateY(-1px);
}
body[data-btn="square"] .btn-tracking { border-radius: 6px; }
body[data-btn="soft"] .btn-tracking { border-radius: 12px; }
body[data-btn="bracket"] .btn-tracking { border-radius: 0; }
body[data-btn="bracket"] .btn-tracking::before,
body[data-btn="bracket"] .btn-tracking::after { display: none; }
.btn .arrow {
  transition: transform 0.2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* Button style: SQUARE */
body[data-btn="square"] .btn { border-radius: 6px; }
/* Button style: SOFT */
body[data-btn="soft"] .btn { border-radius: 12px; }
/* Button style: PILL (default) */
/* Button style: BRACKET */
body[data-btn="bracket"] .btn {
  border-radius: 0;
  position: relative;
  padding: 14px 26px;
}
body[data-btn="bracket"] .btn::before,
body[data-btn="bracket"] .btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8px;
  border: 1.5px solid currentColor;
}
body[data-btn="bracket"] .btn::before { left: 0; border-right: none; }
body[data-btn="bracket"] .btn::after { right: 0; border-left: none; }
body[data-btn="bracket"] .btn-primary { background: var(--ink); color: var(--bg); }
body[data-btn="bracket"] .btn-secondary { box-shadow: none; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--violet);
  display: grid;
  place-items: center;
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 4px;
  background: var(--coral);
  transform: rotate(45deg);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { padding: 10px 18px; font-size: 14px; }
@media (max-width: 980px) {
  .nav-links { display: none; }
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}

/* Tag / pill */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--violet-soft);
  color: var(--violet-deep);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}
.tag.coral { background: var(--coral-soft); color: var(--coral-deep); }
.tag-dot {
  width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}

/* Decorative diamond (logo motif) */
.diamond {
  width: 14px;
  height: 14px;
  background: var(--coral);
  transform: rotate(45deg);
  display: inline-block;
}

/* Divider */
.hr-thick {
  height: 1px;
  background: var(--line-strong);
  border: 0;
}

/* Hero variants — switched via data-hero on body */
.hero { display: none; }
body[data-hero="bold"] .hero[data-variant="bold"] { display: block; }
body[data-hero="split"] .hero[data-variant="split"] { display: block; }
body[data-hero="editorial"] .hero[data-variant="editorial"] { display: block; }

/* Bold hero */
.hero-bold {
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero-bold .wrap { position: relative; z-index: 2; }
.hero-bold-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.hero-bold-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.hero-bold-copy .lead { max-width: 50ch; }
.hero-bold-copy .tag { align-self: flex-start; max-width: 100%; }
.hero-bold-illu {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin-left: auto;
}
.packing-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 32px rgba(26,22,37,0.12));
}

/* Carrusel de reviews en video vertical */
.reviews-carousel {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.reviews-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  width: 100%;
}
.review-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s, filter 0.4s;
  filter: saturate(0.85) brightness(0.92);
  transform: translateY(0) scale(1);
}
.review-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.review-card.is-playing {
  filter: saturate(1.05) brightness(1);
  transform: translateY(-6px) scale(1.04);
  z-index: 2;
  box-shadow: 0 18px 40px -8px rgba(26, 22, 37, 0.35),
              0 0 0 2px var(--violet);
}
.review-card:not(.is-playing):hover {
  filter: saturate(1) brightness(0.98);
}
.review-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 12px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0));
  color: #fff;
  pointer-events: none;
}
.review-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.review-handle {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.85;
  margin-top: 3px;
}
.review-live {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}
.review-live .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff4d4d;
  animation: review-pulse 1.6s ease-in-out infinite;
}
@keyframes review-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.7); }
}
.reviews-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
}
.reviews-dot {
  width: 24px;
  height: 4px;
  border-radius: 4px;
  background: var(--line-strong);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}
.reviews-dot.active {
  background: var(--violet);
  width: 36px;
}
@media (max-width: 760px) {
  .reviews-track {
    grid-template-columns: none;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding: 8px 4px 16px;
    margin: 0 -22px;
    padding-left: 22px;
    padding-right: 22px;
    scrollbar-width: none;
  }
  .reviews-track::-webkit-scrollbar { display: none; }
  .review-card {
    flex: 0 0 calc(50% - 5px);
    scroll-snap-align: start;
  }
  .review-card.is-playing {
    transform: scale(1);
    box-shadow: 0 12px 28px -8px rgba(26, 22, 37, 0.3),
                0 0 0 2px var(--violet);
  }
  .review-name { font-size: 13px; }
  .review-handle { font-size: 10px; }
}
.hero-bold-title {
  font-size: clamp(48px, 6.5vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
}
.hero-bold-title .accent { color: var(--violet); font-style: italic; font-family: "Instrument Serif", "Geist", serif; font-weight: 400; }
.hero-bold-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line-strong);
}
.hero-bold-meta .lead { max-width: none; }
.hero-bold-stat .num {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-bold-stat .lbl {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin-top: 8px;
}
.hero-bold-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .hero-bold-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-bold-illu { max-width: 380px; margin: 0 auto; }
  .hero-bold-meta { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* Split hero */
.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 640px;
  border-bottom: 1px solid var(--line);
}
.hero-split-left {
  padding: 80px 6vw 80px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  max-width: 720px;
  margin-left: auto;
}
.hero-split-right {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 24px 80px 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  position: relative;
  overflow: hidden;
}
.hero-split-right::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 360px;
  height: 360px;
  background: var(--violet);
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.6;
}
.hero-split-flow {
  position: relative;
  display: grid;
  gap: 14px;
  z-index: 2;
  max-width: 460px;
}
.flow-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  backdrop-filter: blur(6px);
}
.flow-row .step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--coral);
}
.flow-row .step-name { font-weight: 500; }
.flow-row .step-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}
.hero-split-cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-split-left { padding: 64px 24px 32px; max-width: none; margin: 0; }
  .hero-split-right { padding: 48px 24px 64px; }
}

/* Editorial hero */
.hero-editorial {
  padding: 64px 0 96px;
  border-bottom: 1px solid var(--line-strong);
}
.hero-editorial-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: end;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 48px;
}
.hero-editorial-top .issue {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-editorial-top .center {
  text-align: center;
  font-family: "Instrument Serif", serif;
  font-size: 28px;
  font-style: italic;
  letter-spacing: -0.01em;
}
.hero-editorial-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.hero-editorial-headline {
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.hero-editorial-headline .ital {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--violet);
}
.hero-editorial-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 16px;
}
.hero-editorial-side .lead { font-size: 18px; }
.hero-editorial-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hero-editorial-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-editorial-stats .num {
  font-family: "Instrument Serif", serif;
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  color: var(--violet);
}
.hero-editorial-stats .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin-top: 12px;
}
@media (max-width: 860px) {
  .hero-editorial-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-editorial-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-editorial-top { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .hero-editorial-top .center { text-align: left; }
}

/* How it works */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.how-step {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  position: relative;
  background: var(--bg-card);
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.how-step:last-child { border-right: none; }
.how-step .step-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--violet);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.how-step .step-tag::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--coral);
  transform: rotate(45deg);
}
.how-step h3 { margin-bottom: 12px; font-size: 22px; }
.how-step p { color: var(--ink-soft); font-size: 15px; flex: 1; }
.how-step .step-icon {
  margin-top: 24px;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--violet-soft);
  display: grid;
  place-items: center;
  color: var(--violet-deep);
}
@media (max-width: 980px) {
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .how-step:nth-child(2) { border-right: none; }
  .how-step:nth-child(1), .how-step:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-step { border-right: none; border-bottom: 1px solid var(--line); }
  .how-step:last-child { border-bottom: none; }
}

/* Services */
.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
@media (max-width: 860px) { .services-head { grid-template-columns: 1fr; gap: 16px; } }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.2s ease;
  min-height: 260px;
}
.service-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.service-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
}
.service-card h3 {
  font-size: 20px;
  letter-spacing: -0.01em;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 15px;
  flex: 1;
}
.service-card.featured {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.service-card.featured p { color: rgba(255,255,255,0.7); }
.service-card.featured .num { color: var(--coral); }
.service-card.coral {
  background: var(--coral-soft);
  border-color: var(--coral-soft);
}
.service-card.coral .num { color: var(--coral-deep); }
.service-card.violet {
  background: var(--violet-soft);
  border-color: var(--violet-soft);
}
.service-card.violet .num { color: var(--violet); }
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* Pricing */
.pricing-head { text-align: center; margin-bottom: 56px; }
.pricing-head .lead { margin: 16px auto 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.price-card.popular {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.price-card.popular .price-feat svg { color: var(--coral); }
.price-card.popular .price-name { color: var(--coral); }
.price-card.popular p { color: rgba(255,255,255,0.7); }
.price-card.popular .price-feat { color: rgba(255,255,255,0.9); }
.price-card.popular .price-unit { color: rgba(255,255,255,0.6); }
.price-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--coral);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.price-name {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
}
.price-amount {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price-amount .cur { font-size: 22px; font-weight: 500; color: var(--ink-mute); }
.price-amount .num-big {}
.price-unit {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-mute);
}
.price-card p { font-size: 15px; color: var(--ink-soft); }
.price-feats {
  display: grid;
  gap: 12px;
  list-style: none;
  margin-top: 8px;
}
.price-feat {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14px;
  line-height: 1.4;
}
.price-feat svg { color: var(--violet); margin-top: 3px; }
.price-card .btn { margin-top: auto; justify-content: center; }
.price-foot {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--ink-mute);
}
.price-foot a {
  color: var(--violet);
  border-bottom: 1px solid var(--violet);
}
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; } }

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testimonial.featured {
  background: var(--violet);
  color: var(--bg);
  border-color: var(--violet);
  grid-row: span 1;
}
.testimonial.featured .t-meta-name { color: var(--bg); }
.testimonial.featured .t-meta-role { color: rgba(255,255,255,0.7); }
.testimonial-quote {
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  text-wrap: pretty;
  flex: 1;
}
.testimonial.featured .testimonial-quote { font-size: 22px; }
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.testimonial.featured .testimonial-meta { border-top-color: rgba(255,255,255,0.2); }
.t-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--coral);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  flex-shrink: 0;
}
.testimonial:nth-child(2) .t-avatar { background: var(--violet-tint); color: var(--violet-deep); }
.testimonial:nth-child(3) .t-avatar { background: var(--ink); color: var(--coral); }
.t-meta-name { font-weight: 500; font-size: 15px; }
.t-meta-role {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 2px;
}
.t-stat {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--coral);
  margin-bottom: 4px;
}
.testimonial.featured .t-stat { color: var(--coral); }
@media (max-width: 980px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  cursor: pointer;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  list-style: none;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 28px;
  color: var(--violet);
  font-weight: 300;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  color: var(--ink-soft);
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.5;
  max-width: 60ch;
}
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Contact */
.contact {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 320px;
  height: 320px;
  background: var(--violet);
  border-radius: 50%;
  opacity: 0.4;
  filter: blur(8px);
}
.contact-info { position: relative; z-index: 2; }
.contact-info h2 { color: var(--bg); margin-bottom: 16px; }
.contact-info .lead { color: rgba(255,255,255,0.75); }
.contact-detail {
  display: grid;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.contact-detail-row { display: grid; gap: 4px; }
.contact-detail-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--coral);
}
.contact-detail-val { font-size: 16px; }
.contact-form {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  gap: 16px;
  backdrop-filter: blur(8px);
}
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
}
.field input, .field textarea, .field select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: border-color 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--coral);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.4); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .btn {
  background: var(--coral);
  color: var(--ink);
  justify-content: center;
  margin-top: 8px;
}
.contact-form .btn:hover { background: var(--bg); }
@media (max-width: 980px) {
  .contact { grid-template-columns: 1fr; padding: 48px 32px; gap: 40px; }
  .field-row { grid-template-columns: 1fr; }
}

/* Integrations strip */
.logos-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}
.logos-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.logos-row .label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
}
.logos-list { display: flex; gap: 36px; align-items: center; flex-wrap: wrap; }
.logo-item {
  font-weight: 600;
  font-size: 18px;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-item .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
}
.logo-item:nth-child(2) .dot { background: var(--violet); }
.logo-item:nth-child(3) .dot { background: var(--ink); }
.logo-item:nth-child(4) .dot { background: var(--coral); }
.logo-item:nth-child(5) .dot { background: var(--violet); }

/* Footer */
.footer {
  background: var(--bg);
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col li a {
  color: var(--ink-soft);
  font-size: 14px;
  transition: color 0.15s;
}
.footer-col li a:hover { color: var(--ink); }
.footer-brand p {
  color: var(--ink-soft);
  font-size: 14px;
  margin-top: 12px;
  max-width: 32ch;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
  flex-wrap: wrap;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ============================================================
   GLOBAL OVERFLOW SAFETY
   ============================================================ */
html, body { overflow-x: hidden; max-width: 100%; }
img, svg, video, canvas { max-width: 100%; height: auto; }

/* ============================================================
   MOBILE — Refinamiento agresivo para pantallas ≤ 760px
   ============================================================ */
@media (max-width: 760px) {
  html { font-size: 15px; }
  .wrap { padding: 0 22px; }
  .section { padding: 56px 0; }

  /* Tipografía mobile */
  .h-display { font-size: clamp(38px, 10vw, 52px); line-height: 1.02; letter-spacing: -0.03em; }
  .h1 { font-size: clamp(30px, 8.5vw, 42px); line-height: 1.05; letter-spacing: -0.025em; }
  .h2 { font-size: clamp(24px, 6.5vw, 30px); line-height: 1.15; }
  .h3 { font-size: 18px; }
  .lead { font-size: 16px; line-height: 1.55; }
  .eyebrow { font-size: 11px; }

  /* Nav: oculta links y "Sigue tu pedido" del nav cta queda visible más chiquito */
  .nav-inner { padding-top: 12px; padding-bottom: 12px; gap: 8px; }
  .logo { font-size: 16px; }
  .logo-mark { width: 24px; height: 24px; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn { padding: 9px 12px; font-size: 12px; gap: 5px; }
  .btn-tracking svg { width: 12px; height: 12px; }

  /* Botones — full width adentro de heros/forms */
  .btn { padding: 14px 20px; font-size: 15px; }
  .hero-bold-cta, .hero-editorial-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }
  .hero-bold-cta .btn, .hero-editorial-cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* Hero Bold con ilustración */
  .hero-bold { padding: 32px 0 48px; }
  .hero-bold-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-bold-illu { max-width: 340px; margin: 0 auto; order: 2; }
  .hero-bold-copy { order: 1; align-items: center; text-align: center; }
  .hero-bold-copy .tag { align-self: center; }
  .hero-bold-copy .lead { text-align: center; }
  .hero-bold-title { font-size: clamp(40px, 11vw, 56px); line-height: 0.98; text-align: center; }
  .hero-bold-cta { justify-content: center; width: 100%; }
  .hero-bold-meta {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 16px;
    margin-top: 36px;
    padding-top: 24px;
  }
  .hero-bold-stat .num { font-size: 28px; }
  .hero-bold-stat .lbl { font-size: 10px; margin-top: 6px; }

  /* Hero Split */
  .hero-split { min-height: 0; }
  .hero-split-left { padding: 40px 22px 24px; gap: 18px; max-width: none; margin: 0; }
  .hero-split-right { padding: 36px 22px 48px; gap: 22px; }
  .hero-split-flow { max-width: none; }
  .flow-row { padding: 13px 14px; gap: 10px; grid-template-columns: 26px 1fr auto; }
  .flow-row .step-name { font-size: 14px; }

  /* Hero Editorial */
  .hero-editorial { padding: 28px 0 48px; }
  .hero-editorial-top {
    grid-template-columns: 1fr;
    text-align: left;
    padding-bottom: 16px;
    margin-bottom: 28px;
    gap: 4px;
  }
  .hero-editorial-top .center { text-align: left; font-size: 20px; }
  .hero-editorial-top .issue:last-child { display: none; }
  .hero-editorial-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-editorial-headline { font-size: clamp(36px, 10vw, 48px); }
  .hero-editorial-side { padding-top: 0; gap: 18px; }
  .hero-editorial-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 16px;
    margin-top: 36px;
    padding-top: 24px;
  }
  .hero-editorial-stats .num { font-size: 38px; }

  /* How it works */
  .how-grid {
    grid-template-columns: 1fr;
    margin-top: 28px;
    border-radius: 16px;
  }
  .how-step {
    padding: 28px 22px;
    border-right: none;
    border-bottom: 1px solid var(--line);
    min-height: 0;
  }
  .how-step:last-child { border-bottom: none; }
  .how-step .step-tag { margin-bottom: 14px; }
  .how-step .step-icon { width: 44px; height: 44px; margin-top: 14px; }

  /* Services */
  .services-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 28px; align-items: start; }
  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { padding: 24px; min-height: 0; gap: 10px; }

  /* Pricing */
  .pricing-head { margin-bottom: 32px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 14px; }
  .price-card { padding: 28px 22px; gap: 14px; }
  .price-amount { font-size: 42px; }
  .price-amount .cur { font-size: 18px; }
  .price-card .btn { width: 100%; justify-content: center; }
  .price-foot { font-size: 13px; padding: 0 8px; }
  .price-badge { right: 14px; font-size: 10px; padding: 5px 10px; }

  /* Testimonials */
  .testimonial-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .testimonial { padding: 24px 22px; gap: 18px; }
  .testimonial-quote { font-size: 16px; line-height: 1.5; }
  .testimonial.featured .testimonial-quote { font-size: 18px; }

  /* FAQ */
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .faq-item { padding: 18px 0; }
  .faq-item summary { font-size: 16px; gap: 14px; line-height: 1.3; }
  .faq-item summary::after { font-size: 24px; flex-shrink: 0; }
  .faq-item p { font-size: 14px; }

  /* Logos strip */
  .logos-strip { padding: 24px 0; }
  .logos-row { gap: 14px; justify-content: flex-start; flex-direction: column; align-items: flex-start; }
  .logos-list { gap: 14px 22px; }
  .logo-item { font-size: 15px; }

  /* Contact */
  .contact {
    padding: 32px 22px;
    gap: 28px;
    border-radius: 18px;
    grid-template-columns: 1fr;
  }
  .contact::before { width: 180px; height: 180px; bottom: -70px; left: -70px; opacity: 0.3; }
  .contact-detail { gap: 18px; margin-top: 24px; padding-top: 22px; }
  .contact-form { padding: 22px 18px; }
  .field-row { grid-template-columns: 1fr; gap: 14px; }
  .field input, .field textarea, .field select {
    font-size: 16px; /* evita zoom iOS */
    padding: 12px 14px;
  }
  .contact-form .btn { width: 100%; justify-content: center; }

  /* Footer */
  .footer { padding: 44px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; font-size: 11px; gap: 8px; }
}

/* ============================================================
   MOBILE STRICT — pantallas muy chicas (≤ 400px)
   ============================================================ */
@media (max-width: 400px) {
  .wrap { padding: 0 18px; }
  .nav-cta .btn { padding: 8px 10px; font-size: 11px; }
  .nav-cta .btn-tracking span,
  .nav-cta .btn-primary span { display: none; }
  .hero-bold-meta { grid-template-columns: 1fr 1fr; }
  .hero-bold-stat .num { font-size: 24px; }
  .price-amount { font-size: 38px; }
  .testimonial { padding: 22px 18px; }
}



/* =========================================================
   NodoPack visual refresh - mobile spacing, hero color,
   carousel spacing, steps, FAQ interaction
   ========================================================= */

/* 1 + 2. Hero con más aire y color sutil */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 12%, rgba(130, 83, 232, 0.05), transparent 34%),
    radial-gradient(circle at 82% 28%, rgba(255, 120, 110, 0.035), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fdfcff 54%, #ffffff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: 50%;
  top: 120px;
  transform: translateX(-50%);
  background: rgba(132, 83, 232, 0.035);
  filter: blur(80px);
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

/* 9. Nueva letra para "despachado hoy" */
.hero-script {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

/* 3. Carrusel de videos con aire en mobile */
.video-carousel,
.videos-carousel,
.carousel-videos,
.video-strip,
.ugc-carousel,
.reels-carousel {
  padding-left: 16px;
  padding-right: 16px;
  scroll-padding-left: 16px;
}

/* 5. Cómo funciona: conexión visual step by step */
.steps-grid,
.how-grid,
.process-grid {
  position: relative;
}

.steps-grid > *,
.how-grid > *,
.process-grid > * {
  position: relative;
}

@media (min-width: 780px) {
  .steps-grid > *:not(:last-child)::after,
  .how-grid > *:not(:last-child)::after,
  .process-grid > *:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -22px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #f0e8ff;
    color: #6120d4;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(97, 32, 212, 0.12);
    z-index: 2;
  }
}

@media (max-width: 779px) {
  .steps-grid > *:not(:last-child)::after,
  .how-grid > *:not(:last-child)::after,
  .process-grid > *:not(:last-child)::after {
    content: "↓";
    position: absolute;
    left: 50%;
    bottom: -21px;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #f0e8ff;
    color: #6120d4;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(97, 32, 212, 0.12);
    z-index: 2;
  }

  .steps-grid,
  .how-grid,
  .process-grid {
    gap: 28px !important;
  }
}

/* 6. FAQ más suave */
.faq-item,
details.faq-item {
  transition: background-color 220ms ease, border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.faq-item:hover,
details.faq-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 34px rgba(28, 24, 42, 0.06);
}

.faq-item summary,
details.faq-item summary,
.faq-question {
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker,
details.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after,
details.faq-item summary::after,
.faq-question::after {
  content: "+";
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #f0e8ff;
  color: #6120d4;
  font-weight: 800;
  transition: transform 220ms ease, background-color 220ms ease;
}

.faq-item[open] summary::after,
details.faq-item[open] summary::after,
.faq-item.active .faq-question::after {
  transform: rotate(45deg);
  background: #6120d4;
  color: #ffffff;
}

.faq-answer {
  animation: faqFadeIn 220ms ease both;
}

@keyframes faqFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ajustes específicos mobile */
@media (max-width: 767px) {
  .hero {
    padding-top: calc(env(safe-area-inset-top) + 28px) !important;
  }

  .hero::before {
    width: 300px;
    height: 300px;
    top: 95px;
    filter: blur(62px);
  }

  .hero-script {
    font-size: 0.92em;
    letter-spacing: -0.045em;
  }

  .section:has(.video-carousel),
  .section:has(.videos-carousel),
  .section:has(.carousel-videos),
  .section:has(.video-strip),
  .section:has(.ugc-carousel),
  .section:has(.reels-carousel) {
    padding-left: 0;
    padding-right: 0;
  }
}



/* =========================================================
   NodoPack corrections - sellers access + inline tracking
   ========================================================= */

.nav-seller-link {
  color: #6120d4 !important;
  font-weight: 800;
}

.tracking-inline {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 16px;
  border: 1px solid rgba(97, 32, 212, 0.10);
  border-radius: 999px;
  background: rgba(240, 232, 255, 0.86);
  color: #6120d4;
  box-shadow: 0 10px 26px rgba(97, 32, 212, 0.07);
}

.tracking-inline-icon {
  font-size: 20px;
  line-height: 1;
}

.tracking-inline-label {
  font-weight: 850;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.tracking-inline input {
  width: 92px;
  height: 36px;
  border: 0;
  outline: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #1b1726;
  font-weight: 800;
  text-align: center;
  font-size: 14px;
}

.tracking-inline input::placeholder {
  color: rgba(27, 23, 38, 0.38);
}

.tracking-inline button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #1b1726;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.tracking-inline button:hover {
  transform: translateX(1px);
  background: #6120d4;
}

@media (max-width: 767px) {
  .tracking-inline {
    min-height: 46px;
    gap: 7px;
    padding: 6px 7px 6px 10px;
  }

  .tracking-inline-icon {
    display: none;
  }

  .tracking-inline-label {
    font-size: 13px;
  }

  .tracking-inline input {
    width: 66px;
    height: 32px;
    font-size: 13px;
  }

  .tracking-inline button {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 520px) {
  .tracking-inline-label {
    display: none;
  }

  .tracking-inline input {
    width: 78px;
  }
}



/* =========================================================
   NodoPack corrections - FAQ alignment + header actions
   ========================================================= */

.faq-item summary,
details.faq-item summary,
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  cursor: pointer;
  background: transparent !important;
  outline: none;
  box-shadow: none;
}

.faq-item summary:focus,
details.faq-item summary:focus,
.faq-question:focus,
.faq-item summary:focus-visible,
details.faq-item summary:focus-visible,
.faq-question:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.faq-item summary::after,
details.faq-item summary::after,
.faq-question::after {
  flex: 0 0 28px;
  margin-left: 16px;
  background: #f0e8ff;
  color: #6120d4;
}

.faq-item[open] summary::after,
details.faq-item[open] summary::after,
.faq-item.active .faq-question::after {
  transform: rotate(45deg);
  background: #f0e8ff !important;
  color: #6120d4 !important;
}

.faq-item[open] summary,
details.faq-item[open] summary,
.faq-item.active .faq-question {
  background: transparent !important;
}

/* Header popovers/buttons */
.header-popover {
  position: relative;
  display: inline-block;
}

.header-popover > summary {
  list-style: none;
}

.header-popover > summary::-webkit-details-marker {
  display: none;
}

.header-popover-summary,
.header-seller-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.to-up-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
}

.header-popover-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(97, 32, 212, 0.12);
  box-shadow: 0 18px 40px rgba(27, 23, 38, 0.10);
  z-index: 40;
}

.header-popover-panel input {
  flex: 1;
  min-width: 0;
  height: 42px;
  border: 1px solid rgba(27, 23, 38, 0.12);
  border-radius: 999px;
  padding: 0 14px;
  outline: none;
  font-size: 14px;
  color: #1b1726;
  background: #fff;
}

.header-popover-panel button {
  height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: #1b1726;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.header-popover-panel button:hover {
  background: #6120d4;
}

.header-seller-btn {
  color: #6120d4 !important;
  font-weight: 800;
}

@media (max-width: 767px) {
  .header-popover-panel {
    right: 0;
    min-width: 220px;
    max-width: calc(100vw - 32px);
  }

  .header-popover-summary,
  .header-seller-btn {
    gap: 8px;
    font-size: 14px;
  }

  .to-up-icon {
    width: 18px;
    height: 18px;
    font-size: 13px;
  }
}


/* =========================================================
   Floating back-to-top button
   ========================================================= */

.floating-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #1b1726;
  color: #ffffff;
  text-decoration: none;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 18px 40px rgba(27, 23, 38, 0.18);
  z-index: 80;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.floating-to-top:hover {
  transform: translateY(-3px);
  background: #6120d4;
  box-shadow: 0 22px 46px rgba(97, 32, 212, 0.22);
}

@media (max-width: 767px) {
  .floating-to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
    font-size: 22px;
  }
}




/* =========================================================
   Clean testimonial MP4 videos
   ========================================================= */

.review-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  outline: 0;
  background: #1b1726;
  pointer-events: none;
  user-select: none;
}

.review-card video::-webkit-media-controls {
  display: none !important;
}

.review-card video::-webkit-media-controls-panel {
  display: none !important;
}

.review-card video::-webkit-media-controls-play-button {
  display: none !important;
}

.review-card video::-webkit-media-controls-start-playback-button {
  display: none !important;
}

.review-card video::-webkit-media-controls-enclosure {
  display: none !important;
}
