:root {
  --navy-900: #0f2742;
  --navy-800: #14304f;
  --navy-700: #1a3a5c;
  --navy-600: #244c75;
  --navy-500: #4b6685;
  --navy-300: #9eb1c8;
  --navy-200: #cdd9e8;
  --navy-100: #e7eef6;
  --navy-50:  #f4f7fb;

  --red-700: #8e0a1f;
  --red-600: #a90e26;
  --red-500: #c8102e;
  --red-400: #e23a51;
  --red-50:  #fdecef;

  --green-500: #25d366;
  --green-600: #1ebe5d;

  --bg: #f6f8fb;
  --surface: #ffffff;
  --ink: #0e1a2b;
  --ink-soft: #4a5b73;
  --border: #e3e8ef;
  --border-strong: #cbd4df;

  --shadow-sm: 0 1px 2px rgba(15, 39, 66, 0.06);
  --shadow-md: 0 6px 24px -8px rgba(15, 39, 66, 0.20);
  --shadow-lg: 0 20px 50px -20px rgba(15, 39, 66, 0.40);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 100% -10%, rgba(26, 58, 92, 0.06), transparent 60%),
    radial-gradient(800px 420px at -10% 110%, rgba(200, 16, 46, 0.05), transparent 60%),
    var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--navy-700); text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Header sticky ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-700);
}
.brand-sub {
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 500;
  margin-top: 2px;
}
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.site-nav a:hover { color: var(--navy-700); border-color: var(--red-500); }
.site-nav a.cta {
  background: var(--green-500);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  border: none;
}
.site-nav a.cta:hover { background: var(--green-600); border: none; }

/* ---------- Hero ---------- */
.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 20px 28px;
  text-align: center;
}
.hero-tag {
  display: inline-block;
  background: var(--navy-100);
  color: var(--navy-700);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  color: var(--navy-700);
  margin: 0 0 12px;
  line-height: 1.1;
}
.hero-title .accent { color: var(--red-500); }
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 24px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-500);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}
.flag-band {
  display: inline-flex;
  gap: 4px;
  margin-top: 18px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.flag-band span {
  display: block;
  width: 40px;
  height: 5px;
}
.flag-band .b1 { background: var(--red-500); }
.flag-band .b2 { background: #ffffff; border: 1px solid var(--navy-200); }
.flag-band .b3 { background: var(--navy-700); }

/* ---------- Filters ---------- */
.filters {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 20px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.filter-chip {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-chip:hover {
  border-color: var(--navy-700);
  color: var(--navy-700);
}
.filter-chip.active {
  background: var(--navy-700);
  color: #fff;
  border-color: var(--navy-700);
  box-shadow: var(--shadow-sm);
}

/* ---------- Grid ---------- */
.grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 20px 60px;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (min-width: 1200px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
}
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-soft);
}
.empty-state h3 { color: var(--navy-700); margin: 0 0 8px; }

/* ---------- Card ---------- */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  animation: fadeIn 0.45s ease-out both;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-200);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--navy-50);
}
.card-img-wrap img,
.card-img-wrap svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy-700);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 16px 18px;
  flex: 1;
}
.card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-brand {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.card-price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.price-mxn {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-700);
  letter-spacing: -0.01em;
}
.price-mxn-currency {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}
.price-usd {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 500;
}
.card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  background: var(--green-500);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  transition: background 0.15s, transform 0.1s;
}
.card-cta:hover { background: var(--green-600); }
.card-cta:active { transform: scale(0.98); }
.card.sold-out .card-img-wrap::after {
  content: "Agotado";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 39, 66, 0.55);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.card.sold-out .card-cta { background: var(--navy-300); cursor: not-allowed; pointer-events: none; }

/* ---------- CTA banner "no lo ves aqui" ---------- */
.cta-banner {
  max-width: 1240px;
  margin: 0 auto 60px;
  padding: 0 20px;
}
.cta-banner-inner {
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 40px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(200, 16, 46, 0.25), transparent 50%);
  pointer-events: none;
}
.cta-banner h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 800;
  position: relative;
}
.cta-banner p {
  margin: 0 0 22px;
  color: var(--navy-200);
  font-size: 15px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-banner .btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red-500);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(200, 16, 46, 0.35);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.cta-banner .btn:hover {
  background: var(--red-600);
  transform: translateY(-2px);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-800);
  color: #fff;
  padding: 32px 20px;
  margin-top: 40px;
}
.site-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-brand {
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 14px;
}
.footer-sub {
  font-size: 13px;
  color: var(--navy-200);
}
.footer-links { display: flex; gap: 14px; }
.footer-links a {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.85;
  transition: opacity 0.15s;
}
.footer-links a:hover { opacity: 1; }

/* ---------- Floating WhatsApp ---------- */
.fab-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green-500);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
  z-index: 90;
  transition: transform 0.15s, box-shadow 0.15s;
}
.fab-wa:hover { transform: scale(1.06); }
.fab-wa svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Form page ---------- */
.form-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}
.form-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.form-head { margin-bottom: 22px; }
.form-head h1 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  color: var(--navy-700);
  margin: 0 0 8px;
}
.form-head p { color: var(--ink-soft); margin: 0; font-size: 15px; }
.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-700);
  letter-spacing: 0.02em;
}
.field label .opt {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 12px;
  margin-left: 4px;
}
.field input,
.field textarea,
.field select {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  min-height: 44px;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.12);
}
.field input[type="file"] { padding: 8px; cursor: pointer; }
.field .err {
  display: none;
  color: var(--red-600);
  font-size: 12px;
  font-weight: 600;
}
.field.invalid input,
.field.invalid textarea { border-color: var(--red-500); }
.field.invalid .err { display: block; }

.form-actions {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-primary {
  background: var(--red-500);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  border: none;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(200, 16, 46, 0.35);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary:hover:not(:disabled) {
  background: var(--red-600);
  transform: translateY(-1px);
}
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-secondary {
  background: transparent;
  color: var(--navy-700);
  border: 1.5px solid var(--navy-700);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  font-family: inherit;
}
.btn-secondary:hover { background: var(--navy-50); }

.form-success {
  display: none;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 36px 24px;
  text-align: center;
}
.form-success.show { display: block; animation: fadeIn 0.4s ease-out; }
.form-success svg { width: 56px; height: 56px; margin-bottom: 12px; }
.form-success h2 { margin: 0 0 8px; font-size: 24px; }
.form-success p { color: var(--navy-200); margin: 0 0 22px; }
.form-success .wa-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-500);
  color: #fff;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: var(--radius-md);
}
.form-success .wa-cta:hover { background: var(--green-600); }

.form-note {
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.form-note strong { color: var(--navy-700); }

/* ---------- Responsive header ---------- */
@media (max-width: 540px) {
  .site-nav { gap: 12px; }
  .site-nav a:not(.cta) { display: none; }
  .brand-sub { display: none; }
}
