:root {
  --sv: #CFFF28;
  --sv-soft: #DDFF72;
  --black: #000000;
  --ink: #080808;
  --panel: #101010;
  --panel-2: #151515;
  --line: #2A2A2A;
  --white: #FFFFFF;
  --muted: #B7B7B7;
  --soft: #7E7E7E;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, input { font: inherit; }
a { color: inherit; }

/* ========================= HERO ========================= */
.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 15%, rgba(207,255,40,.12), transparent 28%),
    linear-gradient(180deg, #050505 0%, #000 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.hero::after {
  content: "";
  position: absolute;
  right: -10vw;
  bottom: -1px;
  width: 48vw;
  height: 11px;
  background: var(--sv);
  transform: skewX(-28deg);
  transform-origin: bottom;
}

.brand-shape {
  position: absolute;
  pointer-events: none;
  user-select: none;
  opacity: .13;
}
.brand-shape-ring {
  width: 680px;
  height: 680px;
  object-fit: contain;
  right: -320px;
  top: -120px;
}
.brand-shape-slash {
  width: 330px;
  height: 660px;
  object-fit: contain;
  left: -150px;
  bottom: -260px;
  opacity: .075;
  transform: rotate(9deg);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 70px;
}

.hero-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 52px;
}
.hero-logo {
  display: block;
  width: min(330px, 55vw);
  height: auto;
}
.hero-badge {
  border: 1px solid rgba(207,255,40,.55);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--sv);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 56px;
  align-items: end;
}
.hero-kicker {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}
.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(54px, 8.2vw, 116px);
  line-height: .82;
  letter-spacing: -.075em;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
}
.hero-copy h1 span { color: var(--sv); }
.hero-description {
  max-width: 650px;
  margin-top: 28px;
  color: #D0D0D0;
  font-size: clamp(15px, 1.7vw, 19px);
  line-height: 1.55;
  font-weight: 500;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.btn-primary,
.btn-secondary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  padding: 0 20px;
  text-decoration: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .055em;
  transition: .18s ease;
}
.btn-primary {
  border: 1px solid var(--sv);
  background: var(--sv);
  color: #000;
}
.btn-primary:hover { transform: translateY(-2px); background: var(--sv-soft); }
.btn-secondary {
  border: 1px solid #3D3D3D;
  background: rgba(255,255,255,.025);
  color: #fff;
}
.btn-secondary:hover { border-color: var(--sv); color: var(--sv); transform: translateY(-2px); }
.btn-inline { margin-top: 18px; }

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 290px;
  padding: 28px;
  border: 1px solid rgba(207,255,40,.55);
  background: var(--sv);
  color: #000;
  box-shadow: 18px 18px 0 rgba(207,255,40,.09);
}
.hero-card::before {
  content: "";
  position: absolute;
  right: -82px;
  bottom: -95px;
  width: 240px;
  height: 240px;
  border: 34px solid #000;
  border-radius: 50%;
  opacity: .08;
}
.hero-card-label {
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}
.hero-card strong {
  display: block;
  margin-top: 17px;
  font-size: clamp(72px, 9vw, 118px);
  line-height: .8;
  letter-spacing: -.07em;
  font-style: italic;
  font-weight: 900;
}
.hero-card p {
  margin-top: 11px;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}
.hero-card-line { width: 100%; height: 2px; background: rgba(0,0,0,.3); margin: 24px 0 14px; }
.hero-card > span:last-of-type { font-size: 12px; font-weight: 800; }
.hero-card-icon {
  position: absolute;
  width: 86px;
  height: 86px;
  object-fit: contain;
  right: 20px;
  bottom: 16px;
  filter: brightness(0);
  opacity: .12;
}

/* ========================= CONTENT ========================= */
.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0 110px;
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid #242424;
}
.section-heading > div {
  display: flex;
  align-items: center;
  gap: 13px;
}
.section-number {
  color: var(--sv);
  font-size: 13px;
  font-weight: 900;
}
.section-heading p {
  color: #A8A8A8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}
.section-heading h2 {
  text-align: right;
  font-size: clamp(30px, 4.5vw, 58px);
  line-height: .94;
  letter-spacing: -.05em;
  font-style: italic;
  font-weight: 900;
}

.tools {
  position: sticky;
  top: 0;
  z-index: 30;
  margin-top: 18px;
  padding: 16px 0 13px;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.search-wrap { position: relative; }
.search-wrap input {
  width: 100%;
  height: 64px;
  border: 1px solid #343434;
  border-radius: 0;
  outline: none;
  background: #0B0B0B;
  color: #fff;
  padding: 0 54px 0 52px;
  font-size: 15px;
  font-weight: 600;
  transition: .2s ease;
}
.search-wrap input::placeholder { color: #737373; }
.search-wrap input:focus { border-color: var(--sv); box-shadow: inset 5px 0 0 var(--sv); }
.search-icon {
  position: absolute;
  width: 21px;
  height: 21px;
  left: 19px;
  top: 50%;
  transform: translateY(-50%);
  stroke: var(--sv);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}
.clear-search {
  display: none;
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 1px solid #333;
  border-radius: 0;
  background: #171717;
  color: #fff;
  cursor: pointer;
  font-size: 21px;
}
.category-scroller {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: stretch;
  gap: 8px;
  margin-top: 12px;
}

.category-scroller::before,
.category-scroller::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: 38px;
  pointer-events: none;
  opacity: 1;
  transition: opacity .18s ease;
}

.category-scroller::before {
  left: 50px;
  background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.82) 38%, transparent 100%);
}

.category-scroller::after {
  right: 50px;
  background: linear-gradient(270deg, #000 0%, rgba(0,0,0,.82) 38%, transparent 100%);
}

.category-scroller.at-start::before,
.category-scroller.at-end::after {
  opacity: 0;
}

.category-arrow {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 42px;
  min-width: 42px;
  border: 1px solid #383838;
  border-radius: 0;
  background: #0B0B0B;
  color: var(--sv);
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease, opacity .16s ease;
}

.category-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-arrow:hover:not(:disabled) {
  border-color: var(--sv);
  background: var(--sv);
  color: #000;
}

.category-arrow:disabled {
  opacity: .22;
  cursor: default;
  color: #777;
}

.categories {
  display: flex;
  gap: 7px;
  min-width: 0;
  overflow-x: auto;
  padding: 1px 0;
  scrollbar-width: none;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
}
.categories::-webkit-scrollbar { display: none; }
.category-btn {
  flex: 0 0 auto;
  border: 1px solid #333;
  border-radius: 0;
  background: #0B0B0B;
  color: #C9C9C9;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  transition: .16s ease;
}
.category-btn:hover { border-color: #777; color: #fff; }
.category-btn.active { background: var(--sv); border-color: var(--sv); color: #000; }
.categories.is-dragging { cursor: grabbing; }
.categories.is-dragging .category-btn { pointer-events: none; }
.results-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 1px 0;
  color: #858585;
  font-size: 11px;
  font-weight: 700;
}
.results-hint { color: #5F5F5F; }

.coupon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  padding-top: 14px;
}
.coupon-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid #292929;
  border-radius: 0;
  background: #0D0D0D;
  padding: 21px;
  transition: .2s ease;
}
.coupon-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 0;
  background: var(--sv);
  transition: height .22s ease;
}
.coupon-card::after {
  content: "SV";
  position: absolute;
  right: -8px;
  bottom: -21px;
  color: rgba(207,255,40,.035);
  font-size: 92px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.08em;
}
.coupon-card:hover { transform: translateY(-4px); border-color: #4A4A4A; background: #111; }
.coupon-card:hover::before { height: 100%; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; position: relative; z-index: 2; }
.card-category {
  display: inline-flex;
  max-width: 78%;
  padding: 7px 9px;
  background: var(--sv);
  color: #000;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.card-subcategory { display: block; margin-top: 8px; color: #808080; font-size: 10px; font-weight: 750; text-transform: uppercase; }
.card-id { color: #4D4D4D; font-size: 10px; font-weight: 850; }
.coupon-card h2 {
  position: relative;
  z-index: 2;
  margin-top: 22px;
  max-width: 95%;
  font-size: 23px;
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 900;
  text-transform: uppercase;
}
.benefit {
  position: relative;
  z-index: 2;
  margin-top: 13px;
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
}
.details {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  color: #A3A3A3;
  font-size: 12px;
  line-height: 1.5;
}
.card-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 19px;
}
.phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #343434;
  background: #151515;
  color: #fff;
  text-decoration: none;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  transition: .16s ease;
}
.phone-link:hover { background: var(--sv); border-color: var(--sv); color: #000; }
.empty-state { text-align: center; padding: 90px 20px; color: var(--muted); }
.empty-circle { width: 60px; height: 60px; display: grid; place-items: center; margin: 0 auto 14px; background: var(--sv); color: #000; font-size: 28px; font-weight: 900; }
.empty-state h2 { color: #fff; margin-bottom: 8px; font-size: 24px; font-weight: 900; text-transform: uppercase; }
.empty-state p { max-width: 520px; margin: 0 auto; line-height: 1.5; }

/* ========================= FOOTER ========================= */
.site-footer { border-top: 1px solid #202020; background: #050505; padding: 42px 20px; }
.footer-inner { width: min(1200px, 100%); margin: 0 auto; display: grid; grid-template-columns: 220px 1fr auto; gap: 24px; align-items: center; }
.footer-logo { width: 210px; height: auto; }
.footer-inner p { color: #777; font-size: 12px; }
.footer-inner a { color: var(--sv); text-decoration: none; font-size: 11px; font-weight: 900; text-transform: uppercase; }

/* ========================= CHAT ========================= */
.chatbot-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 2px solid var(--sv);
  border-radius: 0;
  background: #050505;
  box-shadow: 10px 10px 0 rgba(207,255,40,.12), 0 16px 38px rgba(0,0,0,.55);
  cursor: pointer;
  padding: 0;
  transition: .18s ease;
}
.chatbot-button:hover { transform: translate(-2px,-2px); box-shadow: 13px 13px 0 rgba(207,255,40,.16), 0 18px 42px rgba(0,0,0,.65); }
.chatbot-button img { width: 54px; height: 54px; object-fit: contain; }
.chatbot-status { position: absolute; top: -5px; right: -5px; width: 13px; height: 13px; background: #25D366; border: 2px solid #000; }
.chatbot-tooltip {
  position: absolute;
  right: 80px;
  white-space: nowrap;
  border: 1px solid #343434;
  background: #0B0B0B;
  color: #fff;
  padding: 9px 11px;
  font-size: 10px;
  font-weight: 800;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: .18s ease;
}
.chatbot-button:hover .chatbot-tooltip { opacity: 1; transform: translateX(0); }

.chat-panel {
  position: fixed;
  right: 20px;
  bottom: 104px;
  z-index: 95;
  width: min(405px, calc(100vw - 28px));
  height: min(650px, calc(100vh - 132px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #383838;
  border-radius: 0;
  background: #0B0B0B;
  box-shadow: 0 28px 90px rgba(0,0,0,.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(.975);
  transform-origin: bottom right;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.chat-panel.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.chat-header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 16px; background: var(--sv); border-bottom: 1px solid rgba(0,0,0,.18); }
.chat-brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.chat-brand img { width: 50px; height: 50px; object-fit: contain; filter: brightness(0); }
.chat-brand div { display: flex; flex-direction: column; min-width: 0; }
.chat-brand strong { color: #000; font-size: 14px; font-weight: 900; text-transform: uppercase; }
.chat-brand span { margin-top: 3px; color: rgba(0,0,0,.62); font-size: 10px; font-weight: 750; }
.chat-close { flex: 0 0 auto; width: 38px; height: 38px; border: 1px solid rgba(0,0,0,.18); border-radius: 0; background: rgba(0,0,0,.08); color: #000; cursor: pointer; font-size: 24px; line-height: 1; }
.chat-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background:
    radial-gradient(circle at 100% 0%, rgba(207,255,40,.055), transparent 30%),
    #080808;
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
}
.chat-message { width: fit-content; max-width: 88%; padding: 10px 12px; border-radius: 14px; font-size: 12px; line-height: 1.5; font-weight: 550; }
.chat-message.bot { align-self: flex-start; color: #F2F2F2; background: #202020; border-bottom-left-radius: 3px; }
.chat-message.user { align-self: flex-end; color: #000; background: var(--sv); border-bottom-right-radius: 3px; font-weight: 700; }
.chat-message.result-wrap { width: 100%; max-width: 100%; padding: 0; background: transparent; }
.chat-results { display: grid; gap: 8px; }
.chat-result { width: 100%; text-align: left; border: 1px solid #343434; border-radius: 0; background: #131313; color: #fff; padding: 11px 12px; cursor: pointer; transition: .16s ease; }
.chat-result:hover { border-color: var(--sv); transform: translateY(-1px); }
.chat-result strong, .chat-result span, .chat-result small { display: block; }
.chat-result strong { color: var(--sv); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.chat-result span { margin-top: 5px; font-size: 11px; line-height: 1.4; font-weight: 650; }
.chat-result small { margin-top: 6px; color: #949494; font-size: 9px; font-weight: 700; }
.chat-quick-replies { display: flex; gap: 7px; overflow-x: auto; padding: 9px 12px; border-top: 1px solid #242424; background: #0D0D0D; scrollbar-width: none; }
.chat-quick-replies::-webkit-scrollbar { display: none; }
.chat-quick-replies button { flex: 0 0 auto; border: 1px solid #343434; border-radius: 0; background: #151515; color: #EDEDED; padding: 8px 10px; cursor: pointer; font-size: 9px; font-weight: 850; white-space: nowrap; text-transform: uppercase; }
.chat-quick-replies button:hover { border-color: var(--sv); color: var(--sv); }
.chat-form { display: grid; grid-template-columns: 1fr 46px; gap: 8px; padding: 10px 12px 8px; background: #0D0D0D; }
.chat-form input { width: 100%; height: 46px; border: 1px solid #333; border-radius: 0; outline: none; background: #171717; color: #fff; padding: 0 13px; font-size: 11px; }
.chat-form input::placeholder { color: #727272; }
.chat-form input:focus { border-color: var(--sv); }
.chat-form button { width: 46px; height: 46px; border: 0; border-radius: 0; background: var(--sv); color: #000; cursor: pointer; font-size: 17px; font-weight: 900; }
.chat-whatsapp-link { display: block; padding: 11px 12px 13px; text-align: center; border-top: 1px solid #202020; background: #0D0D0D; color: #25D366; text-decoration: none; font-size: 9px; font-weight: 900; letter-spacing: .05em; }
.chat-whatsapp-link:hover { color: #66F390; }
.typing-dots { display: inline-flex; align-items: center; gap: 4px; height: 13px; }
.typing-dots i { width: 5px; height: 5px; border-radius: 50%; background: #AAA; animation: chatTyping .9s infinite ease-in-out; }
.typing-dots i:nth-child(2) { animation-delay: .12s; }
.typing-dots i:nth-child(3) { animation-delay: .24s; }
@keyframes chatTyping { 0%,60%,100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-3px); opacity: 1; } }
.chat-backdrop { position: fixed; inset: 0; z-index: 89; background: rgba(0,0,0,.58); opacity: 0; visibility: hidden; transition: .2s ease; }
.chat-backdrop.open { opacity: 1; visibility: visible; }
body.chat-open { overflow: hidden; }

/* ========================= RESPONSIVE ========================= */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 470px; }
  .coupon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .hero { min-height: auto; }
  .hero-inner { width: calc(100% - 28px); padding: 24px 0 48px; }
  .hero-brand-row { padding-bottom: 40px; align-items: flex-start; }
  .hero-logo { width: 210px; }
  .hero-badge { font-size: 8px; padding: 7px 9px; }
  .hero-grid { gap: 34px; }
  .hero-kicker { font-size: 9px; }
  .hero-copy h1 { font-size: clamp(52px, 16vw, 76px); }
  .hero-description { margin-top: 22px; font-size: 14px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .btn-primary, .btn-secondary { width: 100%; }
  .hero-card { min-height: 240px; padding: 22px; box-shadow: 10px 10px 0 rgba(207,255,40,.08); }
  .hero-card strong { font-size: 82px; }
  .brand-shape-ring { width: 430px; height: 430px; right: -270px; }

  .page-shell { width: calc(100% - 20px); padding: 48px 0 84px; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .section-heading h2 { text-align: left; font-size: 38px; }
  .tools { margin-top: 10px; }
  .search-wrap input { height: 58px; font-size: 13px; }
  .results-row { display: block; }
  .results-hint { display: none; }
  .coupon-grid { grid-template-columns: 1fr; gap: 9px; }
  .coupon-card { min-height: 270px; }

  .footer-inner { grid-template-columns: 1fr; align-items: start; }
  .footer-logo { width: 190px; }

  .chatbot-button { right: 14px; bottom: 14px; width: 62px; height: 62px; }
  .chatbot-button img { width: 48px; height: 48px; }
  .chatbot-tooltip { display: none; }
  .chat-panel {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    height: min(720px, calc(100dvh - 20px));
    max-height: calc(100dvh - 20px);
    transform-origin: bottom center;
  }
}


/* ========================= AJUSTES DE LEGIBILIDAD + MOBILE ========================= */
/* Evita que etiquetas como SALUD se recorten dentro de las tarjetas */
.card-top {
  min-width: 0;
}
.card-category {
  flex: 0 0 auto;
  width: max-content;
  max-width: none;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: visible;
  line-height: 1;
  padding: 7px 11px 6px;
}

/* Tablet */
@media (max-width: 1024px) {
  .hero-inner,
  .page-shell {
    width: min(100% - 28px, 920px);
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-card {
    width: min(100%, 520px);
  }

  .coupon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Celular */
@media (max-width: 720px) {
  html {
    -webkit-text-size-adjust: 100%;
  }

  body {
    width: 100%;
    overflow-x: hidden;
  }

  .hero-inner,
  .page-shell {
    width: calc(100% - 24px);
  }

  .hero-inner {
    padding: 20px 0 42px;
  }

  .hero-brand-row {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 14px;
    padding-bottom: 34px;
  }

  .hero-logo {
    width: min(250px, 74vw);
    max-width: 100%;
  }

  .hero-badge {
    width: fit-content;
    font-size: 8px;
    padding: 7px 10px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(44px, 15vw, 70px);
    line-height: .86;
    letter-spacing: -.065em;
    overflow-wrap: anywhere;
  }

  .hero-description {
    max-width: 100%;
    font-size: 14px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    min-height: 50px;
  }

  .hero-card {
    width: 100%;
    max-width: none;
    min-height: 215px;
    padding: 20px;
  }

  .hero-card strong {
    font-size: clamp(64px, 23vw, 90px);
  }

  .brand-shape-ring {
    right: -315px;
    top: -90px;
  }

  .brand-shape-slash {
    left: -210px;
    bottom: -330px;
  }

  .page-shell {
    padding: 42px 0 80px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 13px;
    padding-bottom: 20px;
  }

  .section-heading > div {
    align-items: flex-start;
  }

  .section-heading h2 {
    text-align: left;
    font-size: clamp(32px, 10vw, 44px);
  }

  .tools {
    position: sticky;
    top: 0;
    margin-top: 8px;
    padding: 10px 0 10px;
  }

  .search-wrap input {
    height: 54px;
    padding-left: 46px;
    padding-right: 48px;
    font-size: 13px;
  }

  .search-icon {
    left: 16px;
    width: 19px;
    height: 19px;
  }

  .category-scroller {
    display: block;
    margin-top: 0;
  }

  .category-scroller::before,
  .category-scroller::after,
  .category-arrow {
    display: none;
  }

  .categories {
    gap: 6px;
    padding: 10px 0 4px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .category-btn {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 10px;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .results-row {
    padding-top: 7px;
    font-size: 10px;
  }

  .results-hint {
    display: none;
  }

  .coupon-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 10px;
  }

  .coupon-card {
    min-height: 0;
    padding: 18px;
  }

  .coupon-card h2 {
    margin-top: 18px;
    font-size: clamp(20px, 6vw, 25px);
  }

  .benefit {
    font-size: 14px;
  }

  .details {
    font-size: 12px;
  }

  .card-category {
    min-height: 27px;
    padding: 7px 10px 6px;
    font-size: 9px;
  }

  .phone-link {
    min-height: 42px;
    font-size: 10px;
  }

  .site-footer {
    padding: 32px 12px 96px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-logo {
    width: min(210px, 70vw);
  }

  .chatbot-button {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 60px;
    height: 60px;
    box-shadow: 6px 6px 0 rgba(207,255,40,.12), 0 12px 28px rgba(0,0,0,.55);
  }

  .chatbot-button img {
    width: 46px;
    height: 46px;
  }

  .chat-panel {
    left: 8px;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    width: auto;
    height: calc(100dvh - 16px - env(safe-area-inset-bottom));
    max-height: calc(100dvh - 16px - env(safe-area-inset-bottom));
    transform-origin: bottom center;
  }

  .chat-header {
    min-height: 72px;
    padding: 11px 12px;
  }

  .chat-brand img {
    width: 44px;
    height: 44px;
  }

  .chat-messages {
    padding: 12px;
  }

  .chat-message {
    max-width: 92%;
  }

  .chat-form {
    grid-template-columns: minmax(0, 1fr) 46px;
  }
}

/* Pantallas muy pequeñas */
@media (max-width: 420px) {
  .hero-inner,
  .page-shell {
    width: calc(100% - 18px);
  }

  .hero-copy h1 {
    font-size: clamp(40px, 15vw, 58px);
  }

  .hero-card p {
    font-size: 15px;
  }

  .coupon-card {
    padding: 16px;
  }

  .card-top {
    flex-wrap: wrap;
  }

  .card-actions,
  .phone-link {
    width: 100%;
  }

  .phone-link {
    justify-content: center;
  }

  .chat-panel {
    left: 0;
    right: 0;
    bottom: 0;
    height: 100dvh;
    max-height: 100dvh;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }
}


/* ========================= MOBILE POLISH v6 ========================= */
@media (max-width: 720px) {
  /* Más aire lateral en toda la experiencia móvil */
  .hero-inner,
  .page-shell {
    width: calc(100% - 36px);
  }

  .hero-inner {
    padding-top: 24px;
  }

  /* Logo de marca con mucha más presencia */
  .hero-brand-row {
    gap: 16px;
    padding-bottom: 38px;
  }

  .hero-logo {
    width: min(320px, 86vw);
    max-width: 100%;
    margin: auto;
  }

  /* Botones con respiración respecto a los bordes */
  .hero-actions {
    width: 100%;
    padding-inline: 6px;
    gap: 12px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    min-height: 52px;
    padding-inline: 18px;
  }

  /* La tarjeta resumen tampoco queda pegada a los extremos */
  .hero-card {
    width: calc(100% - 12px);
    margin-inline: auto;
  }

  /* Un poco más de aire en el buscador y bloques de contenido */
  .tools {
    padding-inline: 2px;
  }
}

@media (max-width: 420px) {
  .hero-inner,
  .page-shell {
    width: calc(100% - 30px);
  }

  .hero-logo {
    width: min(300px, 88vw);
  }

  .hero-actions {
    padding-inline: 5px;
  }

  .hero-card {
    width: calc(100% - 10px);
  }
}
