:root {
  --navy: #0f172a;
  --navy-2: #1e293b;
  --green: #16a34a;
  --green-dark: #15803d;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --warning: #fff7ed;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 23, 42, .95);
  color: white;
  backdrop-filter: blur(12px);
}
.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { font-weight: 900; letter-spacing: .04em; }
.brand span { color: #4ade80; }
nav { display: flex; gap: 20px; font-size: 14px; }
nav a { opacity: .86; }
nav a:hover { opacity: 1; }

.hero {
  padding: 72px 0;
  background:
    radial-gradient(circle at top right, rgba(34,197,94,.18), transparent 35%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: white;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 32px;
  align-items: center;
}
.hero h1 {
  margin: 16px 0;
  font-size: clamp(38px, 7vw, 68px);
  line-height: 1.02;
  max-width: 780px;
}
.hero p { font-size: 20px; color: #cbd5e1; max-width: 650px; }
.status {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  font-size: 14px;
}
.primary, .whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: 800;
}
.primary { margin-top: 12px; background: #4ade80; color: #052e16; }
.hero-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 24px 80px rgba(0,0,0,.25);
}
.hero-card strong { font-size: 26px; }
.hero-card span { margin-top: 8px; color: #cbd5e1; }

.section { padding: 72px 0; }
.section.alt { background: #eef2f7; }
h2 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 8px; }
.muted { color: var(--muted); margin-top: 0; }

.calculator {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 12px 40px rgba(15,23,42,.07);
}
.field { margin-bottom: 18px; }
label { display: block; font-weight: 700; margin-bottom: 8px; }
input, select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 14px;
  font-size: 17px;
  background: white;
}
.verified-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 20px;
}
.verified-row input { width: 20px; min-height: 20px; }
.result-card {
  background: var(--navy);
  color: white;
  padding: 20px;
  border-radius: 16px;
}
.result-card > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
}
.result-card span { color: #cbd5e1; }
.result-card .total {
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 6px;
  padding-top: 18px;
}
.result-card .total strong { color: #4ade80; font-size: 24px; }
.hint {
  margin: 12px 0 0;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: #f8fafc;
}
.whatsapp {
  width: 100%;
  margin-top: 18px;
  background: var(--green);
  color: white;
}
.whatsapp:hover { background: var(--green-dark); }
.disabled { opacity: .45; pointer-events: none; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.card {
  background: white;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
}
.card h3 { margin-top: 0; }
.card p { color: var(--muted); line-height: 1.6; }

.availability {
  padding: 16px;
  border-radius: 12px;
  background: var(--warning);
  border: 1px solid #fed7aa;
}
.contact { text-align: center; }
footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 28px 0;
  text-align: center;
}

@media (max-width: 760px) {
  nav { display: none; }
  .hero { padding: 52px 0; }
  .hero-grid, .cards { grid-template-columns: 1fr; }
  .hero-card { min-height: 160px; }
  .section { padding: 52px 0; }
}

/* ===== OFERTAS ===== */

.offers-heading{
  margin-bottom:30px;
}

.offers-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:24px;
}

.offer-card{
  background:#ffffff;
  border-radius:18px;
  padding:24px;
  border:1px solid #e6e6e6;
  box-shadow:0 12px 30px rgba(0,0,0,.08);
  transition:.25s;
}

.offer-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.featured-offer{
  border:2px solid #22c55e;
}

.offer-badge{
  display:inline-block;
  background:#22c55e;
  color:#fff;
  padding:6px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
  margin-bottom:16px;
}

.offer-price{
  font-size:28px;
  font-weight:800;
  color:#22c55e;
  margin:18px 0;
}

.bonus-box{
  background:#f6f8fb;
  border-radius:12px;
  padding:14px;
  margin:18px 0;
}

.bonus-box strong{
  display:block;
  margin-bottom:10px;
}

.bonus-box span{
  display:block;
  margin:6px 0;
}

.offer-card .primary{
  width:100%;
  text-align:center;
  display:block;
}

/* ===== NUEVO DISEÑO DE OFERTAS ===== */

.offers-section {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.offers-heading {
  margin-bottom: 30px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  color: #15803d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.daily-offer {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
  padding: 32px;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.35), transparent 35%),
    linear-gradient(135deg, #111827, #172554);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.22);
}

.daily-badge,
.offer-badge {
  display: inline-block;
  width: fit-content;
  margin-bottom: 15px;
  padding: 7px 13px;
  color: #ffffff;
  background: #16a34a;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.exchange-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
}

.exchange-display strong {
  font-size: 30px;
  line-height: 1.15;
}

.exchange-display.compact {
  margin: 18px 0;
  color: #111827;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.exchange-display.compact strong {
  color: #15803d;
  font-size: 25px;
}

.exchange-label {
  margin: 4px 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
  opacity: 0.75;
}

.exchange-arrow {
  margin: 6px 0;
  color: #4ade80;
  font-size: 25px;
  font-weight: 900;
}

.offer-bonuses {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bonus-line {
  margin: 6px 0;
  font-size: 14px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 24px;
}

.offer-card {
  display: flex;
  flex-direction: column;
  padding: 25px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-top: 5px solid #22c55e;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
}

.card-verified {
  border-top-color: #eab308;
}

.card-verified .offer-badge {
  background: #ca8a04;
}

.card-mlc {
  border-top-color: #0284c7;
}

.card-mlc .offer-badge {
  background: #0284c7;
}

.card-clasica {
  border-top-color: #2563eb;
}

.card-clasica .offer-badge {
  background: #2563eb;
}

.card-prepago {
  border-top-color: #7c3aed;
}

.card-prepago .offer-badge {
  background: #7c3aed;
}

.bonus-box {
  min-height: 105px;
  margin: 4px 0 20px;
  padding: 15px;
  background: #f8fafc;
  border-radius: 13px;
}

.bonus-box strong {
  display: block;
  margin-bottom: 8px;
}

.offer-action {
  width: 100%;
  margin-top: auto;
  border: 0;
  cursor: pointer;
}

@media (max-width: 850px) {
  .daily-offer {
    grid-template-columns: 1fr;
  }

  .offers-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== MEJORAS CALCULADORA DE EFECTIVO ===== */

.quick-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 14px;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.cash-amount-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 10px;
}

.cash-form input:disabled {
  color: #94a3b8;
  background: #e2e8f0;
  cursor: not-allowed;
  opacity: 0.78;
}

.cash-form select.is-incomplete {
  color: #991b1b;
  background: #fff1f2;
  border-color: #dc2626;
}

.cash-currency-requirement {
  margin: -4px 0 18px;
  padding: 10px 12px;
  color: #991b1b;
  background: #fff1f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.cash-currency-requirement[hidden] {
  display: none;
}

.cash-form input:focus-visible,
.cash-form select:focus-visible {
  outline: 3px solid rgba(22, 163, 74, 0.3);
  outline-offset: 2px;
}

.cash-location-search {
  position: relative;
  z-index: 5;
}

.cash-location-suggestions {
  position: absolute;
  top: calc(100% - 12px);
  left: 0;
  right: 0;
  max-height: 250px;
  overflow-y: auto;
  padding: 6px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.cash-location-option,
.cash-location-empty {
  width: 100%;
  padding: 11px 12px;
  color: var(--text);
  background: transparent;
  border: 0;
  border-radius: 8px;
  text-align: left;
  font: inherit;
}

.cash-location-option {
  cursor: pointer;
}

.cash-location-option:hover,
.cash-location-option[aria-selected="true"] {
  background: #dcfce7;
}

.cash-location-option:focus-visible,
.cash-location-search input:focus-visible {
  outline: 3px solid rgba(22, 163, 74, 0.3);
  outline-offset: 2px;
}

.cash-location-empty {
  color: var(--muted);
  font-weight: 700;
}

.cash-status.is-error {
  color: #fecaca;
  background: rgba(220, 38, 38, 0.15);
  border-color: rgba(248, 113, 113, 0.45);
}

.quick-amount {
  padding: 9px 15px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.quick-amount:hover,
.quick-amount.active {
  color: #ffffff;
  background: #16a34a;
  border-color: #16a34a;
}

.cash-result {
  padding: 24px;
  background: #111827;
  color: #ffffff;
  border-radius: 20px;
}

.cash-status {
  margin-bottom: 18px;
  padding: 12px 14px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 12px;
  font-weight: 700;
}

.cash-result-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cash-result-row span {
  opacity: 0.75;
}

.cash-result-row strong {
  text-align: right;
}

.cash-total {
  margin-top: 18px;
  padding: 18px;
  text-align: center;
  background: #16a34a;
  border-radius: 15px;
}

.cash-total span {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cash-total strong {
  font-size: 30px;
}

.cash-note {
  margin: 16px 0;
  font-size: 13px;
  opacity: 0.75;
}

.cash-whatsapp {
  width: 100%;
}

.cash-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: start;
}

@media (max-width: 850px) {
  .cash-calculator {
    grid-template-columns: 1fr;
  }

  .cash-amount-control {
    grid-template-columns: minmax(0, 1fr) 96px;
  }
}
