/* =============================================================
   INTERTELEKOM — main.css
   Dirección estética: editorial cálido, naranja como acento
   ============================================================= */

:root {
  /* Marca */
  --orange: #E7870F;
  --orange-dark: #B86A0A;
  --orange-light: #FFE5BD;
  --orange-pale: #FFF3DD;
  --ink: #302C29;
  --ink-soft: #6B5F52;
  --ink-mute: #9D9388;

  /* Fondos */
  --bg: #FFFCF7;
  --bg-secondary: #F7F1E5;
  --bg-card: #FFFFFF;
  --bg-dark: #1A1614;

  /* Borders */
  --border: rgba(48, 44, 41, 0.10);
  --border-strong: rgba(48, 44, 41, 0.20);

  /* Tipografía */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  /* Layout */
  --max-w: 1200px;
  --max-w-narrow: 880px;
  --radius: 14px;
  --radius-lg: 20px;

  /* Sombras */
  --shadow-sm: 0 1px 0 rgba(48, 44, 41, 0.04), 0 1px 2px rgba(48, 44, 41, 0.04);
  --shadow-md: 0 2px 4px rgba(48, 44, 41, 0.04), 0 8px 24px rgba(48, 44, 41, 0.06);
  --shadow-lg: 0 4px 16px rgba(48, 44, 41, 0.06), 0 24px 48px rgba(48, 44, 41, 0.08);
}

/* =============================================================
   Reset y base
   ============================================================= */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: 'ss01' on, 'ss02' on, 'cv01' on;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input, select, textarea {
  font-family: inherit;
  font-size: 16px;
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
}

p { margin: 0; }

/* =============================================================
   Containers & utilities
   ============================================================= */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.55;
}

/* =============================================================
   Buttons
   ============================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
}
.btn-primary:hover { background: var(--orange-dark); color: #fff; }

.btn-dark {
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}
.btn-dark:hover { background: #1A1614; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: rgba(48, 44, 41, 0.04); }

.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-xl { padding: 16px 28px; font-size: 16px; border-radius: 12px; }

/* =============================================================
   Header
   ============================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: rgba(255, 252, 247, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand-mark {
  width: 18px;
  height: 40px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.025em;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}

.nav-main a {
  color: var(--ink-soft);
  position: relative;
}

.nav-main a:hover { color: var(--ink); }

.nav-main a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-main a:hover::after { transform: scaleX(1); }

.header-cta { padding: 10px 16px; font-size: 14px; }

@media (max-width: 820px) {
  .nav-main { display: none; }
  .site-header { padding: 14px 20px; }
}

/* =============================================================
   Hero
   ============================================================= */

.hero {
  padding: 72px 24px 88px;
  background: linear-gradient(180deg, var(--orange-pale) 0%, var(--bg) 70%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(231, 135, 15, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(231, 135, 15, 0.12);
  color: var(--orange-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 60px);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.highlight {
  display: inline-block;
  background: var(--orange);
  color: var(--ink);
  padding: 0 14px;
  border-radius: 8px;
  transform: rotate(-1deg);
}

.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

/* =============================================================
   Operadores
   ============================================================= */

.operadores {
  padding: 32px 24px;
  border-bottom: 1px solid var(--border);
}

.operadores .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.operadores-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
}

.operadores-row {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.operador-logo {
  height: 32px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.operador-logo:hover {
  opacity: 1;
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .operadores-row { gap: 28px; justify-content: center; }
  .operador-logo { height: 26px; }
}

/* =============================================================
   Tarifas
   ============================================================= */

.tarifas {
  padding: 88px 24px 96px;
}

.filters {
  display: flex;
  gap: 28px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--ink-mute);
  margin-right: 4px;
}

.filter-chip {
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.15s ease;
}

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

.filter-chip.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

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

.tarifa-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
  position: relative;
}

.tarifa-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.tarifa-card.featured {
  border-color: var(--orange);
  border-width: 1.5px;
}

.tarifa-card.featured::before {
  content: '★';
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 14px;
  color: var(--orange);
}

.tarifa-op {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.tarifa-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 14px;
  color: var(--ink);
  line-height: 1.2;
  min-height: 40px;
}

.tarifa-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 18px;
}

.tarifa-price-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.tarifa-price-cents {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}

.tarifa-price-mes {
  font-size: 13px;
  color: var(--ink-soft);
}

.tarifa-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--border-strong);
}

.tarifa-spec {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-soft);
}

.tarifa-spec strong {
  color: var(--ink);
  font-weight: 600;
}

.tarifa-perm {
  font-size: 12px;
  color: var(--ink-mute);
  margin-bottom: 16px;
}

.tarifa-perm-free { color: #00875A; font-weight: 600; }

.tarifa-cta {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin-top: auto;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.tarifa-cta:hover {
  background: var(--ink);
  color: #fff;
}

.tarifas-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* =============================================================
   Cómo funciona
   ============================================================= */

.como {
  padding: 88px 24px;
  background: var(--bg-secondary);
}

.pasos {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 720px) { .pasos { grid-template-columns: 1fr; } }

.paso {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.paso-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.paso-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.paso p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* =============================================================
   Formulario
   ============================================================= */

.formulario {
  padding: 88px 24px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--orange-pale) 100%);
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 0;
}

.form-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--orange);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.form-title {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 8px;
}

.form-sub {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 32px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 13px;
  font-weight: 600;
  color: #1A1815;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-soft);
  opacity: 1;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(231, 135, 15, 0.18);
}

.field textarea {
  resize: vertical;
  min-height: 72px;
  font-family: inherit;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }

.file-drop {
  position: relative;
  border: 2px dashed var(--border-strong);
  border-radius: 9px;
  padding: 28px 20px;
  text-align: center;
  background: var(--bg-secondary);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--ink-soft);
}

.file-drop:hover, .file-drop.is-dragover {
  border-color: var(--orange);
  background: var(--orange-pale);
}

.file-drop-main {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 6px;
}

.file-drop-hint {
  font-size: 12px;
  color: var(--ink-mute);
}

.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-drop.has-file {
  border-style: solid;
  background: #F0FFF4;
  border-color: #00875A;
}

.file-drop.has-file .file-drop-main { color: #00875A; }

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.checkbox input { margin-top: 3px; flex-shrink: 0; cursor: pointer; }

.form-alert {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
}

.form-alert-error {
  background: #FFF1F0;
  color: #C03A2B;
  border: 1px solid #FFCDC8;
}

.form-success {
  text-align: center;
  padding: 24px 0;
  color: var(--ink);
}

.form-success svg {
  margin: 0 auto 16px;
  color: #00875A;
  background: #E0FAEC;
  padding: 14px;
  border-radius: 50%;
  box-sizing: content-box;
}

.form-success h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.form-success p {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 360px;
  margin: 0 auto;
}

/* =============================================================
   Por qué Intertelekom
   ============================================================= */

.por-que {
  padding: 96px 24px;
  background: var(--ink);
  color: #fff;
}

.por-que .section-title {
  color: #fff;
}

.ventajas {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}

@media (max-width: 720px) { .ventajas { grid-template-columns: 1fr; } }

.ventaja {
  padding: 0;
}

.ventaja-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--orange);
  color: var(--ink);
  margin-bottom: 18px;
}

.ventaja h3 {
  font-size: 19px;
  margin-bottom: 10px;
  color: #fff;
}

.ventaja p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

/* =============================================================
   CTA final
   ============================================================= */

.cta-final {
  padding: 88px 24px;
  background: var(--orange);
  text-align: center;
}

.cta-title {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 12px;
  color: var(--ink);
}

.cta-sub {
  font-size: 18px;
  color: var(--ink);
  opacity: 0.78;
  margin-bottom: 32px;
}

/* =============================================================
   Footer
   ============================================================= */

.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 56px 24px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand-light {
  color: var(--orange);
  margin-bottom: 14px;
}

.footer-brand .brand-name { color: #fff; }

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-h {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0 0 16px;
}

.site-footer a {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer a:hover { color: var(--orange); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
  gap: 12px;
}

/* =============================================================
   Promo Camisetas (Mundial 2026)
   ============================================================= */

.promo {
  position: relative;
  padding: 88px 24px;
  background: linear-gradient(135deg, #1A1614 0%, #2D2522 60%, #1A1614 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.promo-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(231, 135, 15, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(231, 135, 15, 0.10) 0%, transparent 50%);
  pointer-events: none;
}

.promo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 60px,
      rgba(231, 135, 15, 0.04) 60px,
      rgba(231, 135, 15, 0.04) 62px
    );
  pointer-events: none;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 980px) {
  .promo-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(231, 135, 15, 0.18);
  color: var(--orange);
  border: 1px solid rgba(231, 135, 15, 0.35);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
}
.promo-badge-icon { font-size: 14px; }

.promo-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  color: #fff;
  font-weight: 800;
}

.promo-title-accent {
  color: var(--orange);
  display: inline-block;
}

.promo-sub {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin-bottom: 28px;
}

@media (max-width: 980px) {
  .promo-sub { margin-left: auto; margin-right: auto; }
}

.promo-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .promo-actions { justify-content: center; }
}

.promo-cta-main {
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
}
.promo-cta-main:hover { background: #FF9A2B; color: var(--ink); }

.promo-fineprint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 520px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .promo-fineprint { margin-left: auto; margin-right: auto; }
}

/* Visual: camisetas + banderas */
.promo-visual {
  position: relative;
  min-height: 320px;
}

.promo-jerseys {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 14px;
  max-width: 420px;
  margin: 0 auto;
}

.jersey {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
  transition: transform 0.3s ease;
}

.promo-jerseys:hover .jersey {
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
}

.jersey-1 { transform: rotate(-6deg); }
.jersey-2 { transform: rotate(3deg); }
.jersey-3 { transform: rotate(-2deg); }
.jersey-4 { transform: rotate(4deg); }
.jersey-5 { transform: rotate(-3deg); }
.jersey-6 { transform: rotate(5deg); }

.jersey:hover { transform: rotate(0) scale(1.08); }

/* Banderas en franja */
.promo-flags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.flag {
  width: 32px;
  height: 24px;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}
.flag:hover { transform: translateY(-3px) scale(1.12); }

/* =============================================================
   Tarifas — bonus camiseta en cards de fibra
   ============================================================= */

.tarifa-shirt-bonus {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, rgba(231, 135, 15, 0.12) 0%, rgba(231, 135, 15, 0.04) 100%);
  border: 1px solid rgba(231, 135, 15, 0.30);
  color: var(--orange-dark);
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}

.tarifa-shirt-bonus-icon {
  font-size: 14px;
  line-height: 1;
}

.tarifa-card.has-shirt {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--orange-pale) 200%);
}

/* =============================================================
   Reduced motion
   ============================================================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* =============================================================
   Camisetas laterales del formulario (Bloque 3)
   ============================================================= */

.form-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  margin: 0 auto;
  min-width: 0;
}

@media (min-width: 1024px) {
  .form-layout {
    grid-template-columns: 130px minmax(0, 620px) 130px;
    gap: 40px;
    max-width: 980px;
    justify-content: center;
  }
}

.form-side {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding-top: 48px;
}

@media (min-width: 1024px) {
  .form-side {
    display: flex;
  }
}

.form-side-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: 4px;
}

.form-side-shirt {
  width: 100%;
  max-width: 90px;
  height: auto;
  margin: 0 auto;
  display: block;
  transition: transform 0.2s ease;
}

.form-side-shirt:hover {
  transform: translateY(-3px) scale(1.04);
}

.form-shirt-hook {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: 6px 0 12px;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.4;
}

.form-shirt-hook-icon {
  width: 26px;
  height: auto;
  flex-shrink: 0;
}

.form-badge-promo {
  background: #1F1B17;
  color: #FFB23E;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 99px;
}

.form-badge-gift-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-shirt-hook-text {
  display: inline;
}

.form-shirt-hook-text strong {
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.form-microtrust {
  text-align: center;
  font-size: 11px;
  color: var(--ink-soft);
  margin: 10px 0 0;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

/* Carrusel móvil de camisetas */
.form-shirts-mobile {
  display: block;
  width: 100%;
  overflow: hidden;
  margin: 0 0 14px;
  position: relative;
  min-width: 0;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

@media (min-width: 1024px) {
  .form-shirts-mobile {
    display: none;
  }
}

.form-shirts-mobile-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: shirts-scroll 28s linear infinite;
}

.form-shirts-mobile-shirt {
  width: 64px;
  height: auto;
  flex-shrink: 0;
  display: block;
}

@keyframes shirts-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50%)); }
}

@media (prefers-reduced-motion: reduce) {
  .form-shirts-mobile-track {
    animation: none;
  }
}

/* =============================================================
   Tarifas destacadas (Bloque 4)
   - Bloque que renderiza scripts/destacadas.js
   - 1 tarjeta por operador, ordenadas alfabéticamente
   ============================================================= */

.tarifas-destacadas-section {
  padding: 72px 24px 64px;
  background: var(--bg);
}

.tarifas-destacadas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: var(--max-w);
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .tarifas-destacadas-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tarifas-destacadas-grid .tarifa-card {
  background: var(--bg-card);
}

.tarifa-card-head {
  display: flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 10px;
}

.tarifa-logo-op {
  height: 22px;
  width: auto;
  max-width: 140px;
}

.tarifas-cta-row {
  text-align: center;
  margin-top: 28px;
}

.tarifas-cta-row .btn {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.tarifas-cta-row .btn:hover {
  background: var(--ink);
  color: #fff;
}

/* Mini-galería de camisetas dentro del subtítulo de la sección */
.section-shirts-mini {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  vertical-align: middle;
  margin: 0 2px;
}

.section-shirts-mini img {
  height: 22px;
  width: auto;
  display: inline-block;
  filter: drop-shadow(0 1px 2px rgba(48, 44, 41, 0.18));
}

@media (min-width: 720px) {
  .section-shirts-mini img { height: 26px; }
}

/* Icono camiseta (sustituye al ⚽) en .tarifa-shirt-bonus */
img.tarifa-shirt-bonus-icon {
  width: 16px;
  height: auto;
  display: inline-block;
  flex-shrink: 0;
}

/* Skeletons (loading state de destacadas) */
.tarifa-card.tarifa-skeleton {
  border-color: var(--border);
  pointer-events: none;
}

.tarifa-card.tarifa-skeleton .skel-row {
  background: linear-gradient(90deg, rgba(48, 44, 41, 0.06) 0%, rgba(48, 44, 41, 0.12) 50%, rgba(48, 44, 41, 0.06) 100%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.4s ease-in-out infinite;
  border-radius: 6px;
  margin-bottom: 10px;
}

.tarifa-card.tarifa-skeleton .skel-row-logo  { height: 22px; width: 60%; margin-bottom: 16px; }
.tarifa-card.tarifa-skeleton .skel-row-title { height: 16px; width: 85%; }
.tarifa-card.tarifa-skeleton .skel-row-price { height: 36px; width: 50%; margin: 14px 0 18px; }
.tarifa-card.tarifa-skeleton .skel-row-line  { height: 12px; width: 100%; }
.tarifa-card.tarifa-skeleton .skel-row-cta   { height: 38px; width: 100%; margin-top: auto; border-radius: 8px; }

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

@media (prefers-reduced-motion: reduce) {
  .tarifa-card.tarifa-skeleton .skel-row { animation: none; }
}

/* Nav: estado activo (Tarifas) */
.nav-main a.is-active {
  color: var(--ink);
  font-weight: 600;
}
.nav-main a.is-active::after {
  transform: scaleX(1);
}

/* Hero específico de la página /analizar-factura */
.hero-analizador {
  padding: 60px 24px 40px;
  text-align: center;
  background: var(--bg);
}

.hero-analizador::before {
  display: none;
}

.hero-analizador .hero-badge {
  display: inline-block;
  background: #1F1B17;
  color: #FFB23E;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.hero-analizador h1 {
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--ink);
}

.hero-analizador .hero-sub {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .hero-analizador {
    padding: 80px 24px 50px;
  }
  .hero-analizador h1 {
    font-size: 48px;
  }
}

/* Normalizacion visual de logos: cada marca tiene distinto peso visual
   a misma altura CSS. transform: scale ajusta percepcion sin layout */
.operador-logo[src*="jazztel"],
.tarifa-logo-op[src*="jazztel"] {
  transform: scale(0.82);
  transform-origin: center;
}

.operador-logo[src*="masmovil"],
.tarifa-logo-op[src*="masmovil"] {
  transform: scale(1.15);
  transform-origin: center;
}

/* pepephone y simyo se mantienen a escala natural 1.0 */
