/* ============================================================
   INFINITY ROAM — Diseño Minimalista Premium
   Estética: Apple-inspired, blanco y negro, lujo silencioso
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600;700&family=Playfair+Display:wght@400;500&display=swap');

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-100: #f5f5f7;
  --gray-200: #e8e8ed;
  --gray-300: #d2d2d7;
  --gray-400: #acacb4;
  --gray-500: #6e6e73;
  --gray-600: #3a3a3c;
  --accent: #0a0a0a;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --border: #e8e8ed;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --font: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   NAV — Ultra limpio
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.nav.scrolled {
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.02em;
}

.logo-text strong { font-weight: 300; color: var(--gray-500); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray-500);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--black); }

.btn-nav {
  background: var(--black) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em;
  transition: var(--transition) !important;
}

.btn-nav:hover {
  background: var(--gray-600) !important;
  transform: none !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--gray-600);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--black);
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 400;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.btn-ghost:hover {
  border-color: var(--black);
  background: var(--gray-100);
}

/* ============================================================
   HERO — Minimalismo máximo
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 32px 80px;
  max-width: 1120px;
  margin: 0 auto;
  gap: 80px;
}

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--white);
}

.orb { display: none; }
.grid-overlay { display: none; }

.hero-content {
  flex: 1;
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-100);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--gray-500);
  font-weight: 400;
  margin-bottom: 32px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  animation: fadeUp 0.6s ease both;
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--black);
  border-radius: 50%;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: var(--font);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 200;
  line-height: 1.08;
  color: var(--black);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  animation: fadeUp 0.7s ease 0.1s both;
}

.hero-title em {
  font-style: normal;
  font-weight: 600;
}

.gradient-text {
  background: none;
  -webkit-text-fill-color: var(--black);
  font-weight: 600;
}

.hero-sub {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 40px;
  line-height: 1.7;
  font-weight: 300;
  max-width: 420px;
  animation: fadeUp 0.7s ease 0.2s both;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeUp 0.7s ease 0.3s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fadeUp 0.7s ease 0.4s both;
}

.stat { display: flex; flex-direction: column; gap: 2px; }

.stat-num {
  font-family: var(--font);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 400;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

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

/* ============================================================
   PHONE MOCKUP — Refinado
   ============================================================ */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeUp 0.8s ease 0.2s both;
}

.phone-mockup {
  width: 230px;
  height: 460px;
  background: var(--black);
  border-radius: 40px;
  padding: 14px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 40px 80px rgba(0,0,0,0.25),
    0 0 0 8px rgba(0,0,0,0.08);
  position: relative;
  z-index: 2;
}

.phone-screen {
  background: #111111;
  border-radius: 30px;
  height: 100%;
  padding: 20px 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.phone-notch {
  width: 56px; height: 8px;
  background: #000;
  border-radius: 50px;
  margin: 0 auto 8px;
}

.signal-bars {
  display: flex;
  gap: 3px;
  align-items: flex-end;
}

.bar { width: 3px; background: rgba(255,255,255,0.6); border-radius: 2px; }
.bar:nth-child(1) { height: 5px; }
.bar:nth-child(2) { height: 9px; }
.bar:nth-child(3) { height: 13px; }
.bar:nth-child(4) { height: 17px; }

.carrier-name {
  color: rgba(255,255,255,0.9);
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.data-display {
  display: flex;
  justify-content: center;
  margin: 4px 0;
}

.data-circle {
  position: relative;
  width: 100px; height: 100px;
}

.progress-ring {
  transform: rotate(-90deg);
  width: 100%; height: 100%;
}

.ring-bg {
  fill: none;
  stroke: rgba(255,255,255,0.08);
  stroke-width: 6;
}

.ring-fill {
  fill: none;
  stroke: rgba(255,255,255,0.9);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 251;
  stroke-dashoffset: 95;
}

.data-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.data-used {
  font-family: var(--font);
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  line-height: 1;
  letter-spacing: -0.02em;
}

.data-unit { font-size: 0.65rem; color: rgba(255,255,255,0.5); font-weight: 500; }
.data-label { font-size: 0.5rem; color: rgba(255,255,255,0.3); }

.phone-plan-info { text-align: center; }
.plan-name { font-size: 0.75rem; color: rgba(255,255,255,0.9); font-weight: 500; }
.plan-days { font-size: 0.6rem; color: rgba(255,255,255,0.35); }

.countries-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}

.chip {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 0.55rem;
  padding: 3px 8px;
  border-radius: 50px;
}

/* Float cards */
.float-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  animation: floatCard 5s ease-in-out infinite;
}

.card-qr { bottom: 50px; left: -50px; }
.card-instant { top: 40px; right: -40px; animation-delay: 2.5s; }

.qr-icon, .instant-icon { font-size: 1.3rem; }

.card-title {
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--black);
}

.card-sub { font-size: 0.65rem; color: var(--gray-400); }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ============================================================
   SECTIONS COMUNES
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: none;
  color: var(--gray-400);
  font-size: 0.72rem;
  font-weight: 400;
  padding: 0;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: var(--font);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 200;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.section-header h2 strong { font-weight: 600; }

.section-header p {
  color: var(--gray-400);
  font-size: 0.95rem;
  font-weight: 300;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 120px 0;
  background: var(--gray-100);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 48px 32px;
  background: transparent;
  border: none;
  border-radius: 0;
  position: relative;
}

.step::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background: var(--border);
}

.step:last-child::after { display: none; }

.step-num {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--gray-300);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.step-icon { font-size: 1.8rem; margin-bottom: 16px; }

.step h3 {
  font-family: var(--font);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--black);
  letter-spacing: -0.01em;
}

.step p {
  color: var(--gray-400);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
}

.step-arrow { display: none; }

/* ============================================================
   PLAN CARDS — Apple store feeling
   ============================================================ */
.featured-plans { padding: 120px 0; }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.plan-card {
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.plan-card:hover {
  background: var(--white);
  border-color: var(--gray-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.plan-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plan-flag { font-size: 1.5rem; }

.plan-region-tag {
  background: var(--white);
  color: var(--gray-500);
  font-size: 0.65rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid var(--border);
}

.plan-name {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.plan-desc {
  font-size: 0.8rem;
  color: var(--gray-400);
  line-height: 1.5;
  font-weight: 300;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.plan-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.83rem;
  color: var(--gray-500);
  font-weight: 300;
}

.feature-icon { font-size: 0.85rem; opacity: 0.6; }

.plan-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.02em;
}

.price-label {
  font-size: 0.72rem;
  color: var(--gray-400);
  font-weight: 400;
}

.btn-buy {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 9px 20px;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.btn-buy:hover {
  background: var(--gray-600);
}

.plan-skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
  height: 260px;
  border: 1px solid var(--border);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.plans-cta { text-align: center; margin-top: 48px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  padding: 120px 0;
  background: var(--gray-100);
}

.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--black);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  letter-spacing: -0.01em;
}

.faq-q span {
  font-size: 1.1rem;
  color: var(--gray-400);
  transition: transform 0.3s;
  flex-shrink: 0;
  font-weight: 300;
}

.faq-item.open .faq-q span { transform: rotate(45deg); color: var(--black); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.7;
  padding: 0;
  font-weight: 300;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 0 22px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 64px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand p {
  margin-top: 12px;
  color: rgba(255,255,255,0.3);
  font-size: 0.83rem;
  font-weight: 300;
  max-width: 240px;
  line-height: 1.6;
}

.footer-brand .logo-text { color: white; }
.footer-brand .logo-text strong { color: rgba(255,255,255,0.35); }

.footer-links { display: flex; gap: 64px; }

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col h4 {
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  font-weight: 300;
}

/* ============================================================
   CATALOG PAGE
   ============================================================ */
.catalog-page .nav { background: rgba(255,255,255,0.92); }

.catalog-hero {
  padding: 120px 0 56px;
  text-align: center;
}

.catalog-hero h1 {
  font-family: var(--font);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 200;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.catalog-hero h1 strong { font-weight: 600; }

.catalog-hero p {
  color: var(--gray-400);
  font-size: 0.95rem;
  font-weight: 300;
}

.catalog-filters {
  padding: 0 0 24px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 64px;
  z-index: 50;
}

.filters-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px 0;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 10px 18px;
  flex: 1;
  min-width: 200px;
  transition: var(--transition);
}

.search-box:focus-within {
  border-color: var(--black);
  background: var(--white);
}

.search-box input {
  border: none;
  background: none;
  outline: none;
  font-family: var(--font);
  font-size: 0.88rem;
  color: var(--black);
  width: 100%;
  font-weight: 300;
}

.search-box input::placeholder { color: var(--gray-400); }

.filter-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-chip {
  background: none;
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.78rem;
  color: var(--gray-500);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.filter-chip:hover { border-color: var(--black); color: var(--black); }

.filter-chip.active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.catalog-grid-section { padding: 48px 0 100px; }

.load-more-wrap {
  justify-content: center;
  margin-top: 48px;
  display: flex;
}

/* ============================================================
   LOADING / ERROR / STATES
   ============================================================ */
.loading-state, .error-state {
  text-align: center;
  padding: 100px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.spinner {
  width: 32px; height: 32px;
  border: 1.5px solid var(--border);
  border-top-color: var(--black);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.error-icon { font-size: 2rem; }
.error-state p, .loading-state p {
  color: var(--gray-400);
  font-size: 0.88rem;
  font-weight: 300;
}

.no-results {
  text-align: center;
  color: var(--gray-400);
  padding: 80px 0;
  font-weight: 300;
}

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.checkout-page { background: var(--white); }
.checkout-page .nav { background: white; border-bottom: 1px solid var(--border); }

.checkout-section { padding: 100px 0 80px; min-height: 100vh; }

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
  max-width: 860px;
  margin: 0 auto;
}

.checkout-summary h2,
.checkout-form-wrap h2 {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.summary-card {
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.summary-plan-name {
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--black);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.summary-divider { height: 1px; background: var(--border); margin: 12px 0; }

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 8px;
  font-weight: 300;
}

.summary-row.total {
  font-size: 0.95rem;
  color: var(--black);
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
  font-weight: 500;
}

.summary-note {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--gray-500);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  font-weight: 300;
}

.security-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.badge-item {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-weight: 300;
}

.checkout-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.required { color: var(--black); }

.form-group input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--black);
  outline: none;
  transition: var(--transition);
  font-weight: 300;
  background: var(--gray-100);
}

.form-group input:focus {
  border-color: var(--black);
  background: var(--white);
}

.form-group small {
  display: block;
  margin-top: 6px;
  font-size: 0.74rem;
  color: var(--gray-400);
  font-weight: 300;
}

.divider-text {
  text-align: center;
  position: relative;
  margin: 24px 0 20px;
}

.divider-text::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: var(--border);
}

.divider-text span {
  position: relative;
  background: white;
  padding: 0 12px;
  font-size: 0.75rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.checkout-error {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-xs);
  padding: 12px 16px;
  font-size: 0.83rem;
  color: #c0392b;
  margin-top: 12px;
  font-weight: 300;
}

.processing-state {
  text-align: center;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ============================================================
   CONFIRMATION PAGE
   ============================================================ */
.confirmation-page { background: var(--white); }
.confirmation-page .nav { background: white; border-bottom: 1px solid var(--border); }

.confirmation-section { padding: 100px 0 80px; min-height: 100vh; }

.confirmation-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.success-icon {
  margin: 0 auto 28px;
  width: fit-content;
  animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.success-icon svg circle { fill: var(--gray-100); opacity: 1; }
.success-icon svg circle:nth-child(2) { fill: var(--gray-200); opacity: 1; }
.success-icon svg path { stroke: var(--black); }

@keyframes popIn {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}

.confirmation-content h1 {
  font-family: var(--font);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 200;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
  animation: fadeUp 0.6s ease 0.2s both;
}

.confirmation-sub {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 40px;
  animation: fadeUp 0.6s ease 0.3s both;
  font-weight: 300;
}

.qr-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease 0.4s both;
  box-shadow: var(--shadow);
}

.qr-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}

.qr-card-header h3 {
  font-family: var(--font);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.qr-card-header p { font-size: 0.83rem; color: var(--gray-400); font-weight: 300; }

.conf-transaction { text-align: right; font-size: 0.7rem; color: var(--gray-400); }

.conf-transaction code {
  background: var(--gray-100);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
}

.qr-display {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  min-height: 200px;
  background: var(--gray-100);
}

.qr-display img {
  max-width: 200px;
  max-height: 200px;
  border-radius: var(--radius-xs);
  border: 6px solid white;
  box-shadow: var(--shadow);
}

.qr-loading, .qr-error {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.qr-error p { color: var(--gray-400); font-size: 0.83rem; font-weight: 300; }

.qr-instructions { padding: 24px 28px; border-top: 1px solid var(--border); }

.qr-instructions h4 {
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.instructions-tabs { display: flex; gap: 8px; margin-bottom: 16px; }

.tab-btn {
  background: none;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.75rem;
  cursor: pointer;
  color: var(--gray-500);
  transition: var(--transition);
  font-weight: 400;
}

.tab-btn.active {
  background: var(--black);
  border-color: var(--black);
  color: white;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.tab-content ol {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tab-content li {
  font-size: 0.83rem;
  color: var(--gray-500);
  line-height: 1.5;
  font-weight: 300;
}

.confirmation-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease 0.5s both;
}

.support-note {
  font-size: 0.8rem;
  color: var(--gray-400);
  animation: fadeUp 0.6s ease 0.6s both;
  font-weight: 300;
}

.support-note a { color: var(--black); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 100px 24px 60px;
    text-align: center;
    gap: 56px;
  }

  .hero-stats { justify-content: center; }
  .hero-ctas { justify-content: center; }
  .hero-sub { margin: 0 auto 40px; }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step::after { display: none; }
  .step { border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: none; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: white;
    padding: 24px 32px;
    border-bottom: 1px solid var(--border);
    gap: 20px;
    box-shadow: var(--shadow);
  }

  .nav-hamburger { display: flex; }

  .checkout-layout { grid-template-columns: 1fr; gap: 32px; }

  .footer-top { flex-direction: column; }
  .footer-links { gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .filters-bar { flex-direction: column; align-items: stretch; }

  .qr-card-header { flex-direction: column; gap: 8px; }

  .card-qr { left: -10px; }
  .card-instant { right: -10px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .phone-mockup { width: 200px; height: 400px; }
  .float-card { display: none; }
  .hero-title { font-size: 2.4rem; }
}

/* ============================================================
   FAQ FIX — evitar texto rotado al abrir
   ============================================================ */
.faq-q {
  position: relative;
  overflow: visible !important;
}

.faq-q span:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--gray-400);
  transition: transform 0.3s ease;
  transform-origin: center center;
  line-height: 1;
}

.faq-item.open .faq-q span:last-child {
  transform: rotate(45deg);
  color: var(--black);
}

.faq-q > span[data-i18n] {
  flex: 1;
  text-align: left;
}
