:root {
  --primary: #ff6b35;
  --primary-light: #ff8a65;
  --primary-dark: #e64a19;
  --secondary: #ff9800;
  --ink: #212121;
  --ink-soft: #424242;
  --paper: #fafafa;
  --surface: #ffffff;
  --line: rgba(240, 78, 54, 0.12);
  --line-soft: rgba(0, 0, 0, 0.08);
  --accent: var(--primary);
  --accent-deep: var(--primary-dark);
  --accent-soft: rgba(255, 107, 53, 0.12);
  --whatsapp: #25d366;
  --muted: #757575;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
  --gradient: linear-gradient(45deg, #ff6b35 30%, #ff8a65 90%);
  --gradient-hover: linear-gradient(45deg, #e64a19 30%, #ff6b35 90%);
  --font-display: "Roboto", "Helvetica", "Arial", sans-serif;
  --font-body: "Roboto", "Helvetica", "Arial", sans-serif;
  --max: 920px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header — estilo store */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(240, 78, 54, 0.1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: scale(1.03);
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}

.brand-mark span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  padding: 0.5rem 0.9rem;
  border-radius: 25px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--accent-soft);
  color: var(--primary-dark);
  outline: none;
}

.nav-cta {
  background: var(--gradient) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.nav-cta:hover {
  background: var(--gradient-hover) !important;
  transform: translateY(-2px);
}

/* Hero */
.hero {
  padding: clamp(2rem, 5vw, 3.2rem) 0 1.4rem;
}

.hero-grid {
  display: grid;
  gap: 0.85rem;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 6.5vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}

.hero h1 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 400;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--ink-soft);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pill strong {
  color: var(--primary);
  font-weight: 700;
}

/* Toolbar */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin: 0.35rem 0 1rem;
}

.search {
  flex: 1 1 220px;
  position: relative;
}

.search input {
  width: 100%;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  border-radius: 12px;
  padding: 0.8rem 1.1rem 0.8rem 2.6rem;
  font: inherit;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease;
}

.search input:hover {
  border-color: var(--primary);
}

.search input:focus {
  outline: 2px solid rgba(255, 107, 53, 0.35);
  border-color: var(--primary);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.filters {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
  max-width: 100%;
  margin-bottom: 1.25rem;
}

.filter-btn {
  flex: 0 0 auto;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  color: var(--ink-soft);
  border-radius: 20px;
  padding: 0.5rem 0.95rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.filter-btn.is-active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Sections */
.section {
  padding: 0.5rem 0 3rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.section-head p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

/* Catalog sections */
.catalog-section {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.6rem;
}

.catalog-section:last-child {
  margin-bottom: 0;
}

.catalog-section-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.15rem 0.15rem 0.35rem;
}

.catalog-section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  position: relative;
  padding-left: 0.75rem;
}

.catalog-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 4px;
  border-radius: 99px;
  background: var(--gradient);
}

.catalog-section-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.catalog-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.platform-block {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: rise 0.45s ease both;
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.platform-block:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.platform-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(255, 138, 101, 0.04) 100%);
  border-bottom: 1px solid var(--line);
}

.platform-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.platform-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

.platform-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}

.platform-count {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.product-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.65rem 0.85rem;
  padding: 0.85rem 1.1rem;
  border-top: 1px solid var(--line-soft);
  transition: background 0.2s ease;
}

.product-row:first-child {
  border-top: 0;
}

.product-row:hover {
  background: rgba(255, 107, 53, 0.04);
}

.product-name {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--primary);
  justify-self: end;
}

.product-price.free {
  color: #4caf50;
}

.row-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: #fff;
  color: var(--ink-soft);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-icon:hover {
  background: var(--accent-soft);
  color: var(--primary-dark);
  border-color: rgba(255, 107, 53, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.btn-icon svg {
  width: 18px;
  height: 18px;
}

.btn-icon.wa {
  background: var(--whatsapp);
  border-color: transparent;
  color: #fff;
}

.btn-icon.wa:hover {
  filter: brightness(0.96);
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px dashed var(--line-soft);
  border-radius: 16px;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 1rem;
}

.modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(33, 33, 33, 0.5);
  backdrop-filter: blur(3px);
}

.modal-panel {
  position: relative;
  width: min(100%, 480px);
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  padding: 1.35rem 1.35rem 1.2rem;
  animation: rise 0.28s ease both;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f5f5f5;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: var(--accent-soft);
  color: var(--primary-dark);
}

.modal-platform {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
}

.modal-title {
  margin: 0 2rem 0.65rem 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
}

.modal-desc {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
}

.modal-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
}

.btn-wa-text {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 25px;
  background: var(--whatsapp);
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.1rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-wa-text:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

/* Payments — fondo blanco limpio */
.payments {
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.payments::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  pointer-events: none;
}

.payments .section-head h2 {
  color: var(--ink);
  position: relative;
}

.payments .section-head p {
  color: var(--muted);
  position: relative;
  opacity: 1;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8rem;
  position: relative;
  margin-top: 1.1rem;
}

.payment-item {
  background: #fafafa;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 1.05rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.payment-item:hover {
  border-color: rgba(255, 107, 53, 0.35);
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.08);
}

.payment-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.payment-detail {
  margin: 0.45rem 0 0.1rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
}

.payment-holder {
  margin: 0.15rem 0 0;
  font-size: 0.84rem;
  color: var(--muted);
  opacity: 1;
}

/* QR Nequi */
.nequi-qr {
  position: relative;
  margin-top: 1.15rem;
}

.nequi-qr-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: center;
  background: linear-gradient(135deg, #fffaf7 0%, #ffffff 55%, #fff5f0 100%);
  border: 1px solid rgba(255, 107, 53, 0.18);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.07);
}

.nequi-qr-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 20px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.nequi-qr-copy h3 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nequi-qr-copy p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  opacity: 1;
}

.nequi-qr-number {
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--primary);
  background: rgba(255, 107, 53, 0.08);
  padding: 0.45rem 0.85rem;
  border-radius: 12px;
}

.nequi-qr-frame {
  background: #fff;
  border-radius: 14px;
  padding: 0.55rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  line-height: 0;
  border: 0;
}

.nequi-qr-frame img {
  width: min(42vw, 200px);
  height: auto;
  display: block;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.payment-notes {
  position: relative;
  display: grid;
  gap: 0.85rem;
  margin-top: 1.15rem;
}

.payment-note-block {
  background: #fafafa;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  color: var(--ink);
}

.payment-note-block h4 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.payment-note-block p,
.payment-note-block li {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  opacity: 1;
  line-height: 1.5;
}

.payment-note-block ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.25rem;
}

.payment-note-warn {
  border-color: rgba(244, 67, 54, 0.22);
  background: #fff8f7;
}

.payment-note-warn h4 {
  color: #c62828;
}

.payment-note-pse a {
  display: inline-flex;
  margin-top: 0.7rem;
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.payment-note-receipt {
  border-color: rgba(76, 175, 80, 0.25);
  background: #f6fbf6;
}

.payment-note-receipt p {
  font-weight: 600;
  color: var(--ink);
}

/* Floating WhatsApp */
.fab-whatsapp {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 50;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  animation: pulse 2.4s ease-in-out infinite;
}

.fab-whatsapp:hover {
  transform: scale(1.08);
}

.fab-whatsapp svg {
  width: 28px;
  height: 28px;
}

.site-footer {
  padding: 1.5rem 0 5.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line-soft);
  padding-top: 1.1rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.65), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
}

@media (max-width: 640px) {
  .nav a:not(.nav-cta) {
    display: none;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .product-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "name actions"
      "price actions";
  }

  .product-name {
    grid-area: name;
  }

  .product-price {
    grid-area: price;
    justify-self: start;
    font-size: 1.05rem;
  }

  .row-actions {
    grid-area: actions;
  }

  .modal-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-wa-text {
    justify-content: center;
  }

  .nequi-qr-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .nequi-qr-frame img {
    width: min(70vw, 220px);
  }
}
