

:root {
  /* Colores exactos del CSS real de Telmex */
  --btn-principal-bkg: #DE2F1B;
  --btn-well-read: #B73B2E;
  --btn-azul-bkg: #0067EE;
  --btn-science-blue: #0069D9;
  --lochmara: #0276BA;
  --tory-blue: #0D60AC;
  --azul-resalte: #029ED9;
  --azul-fondo-oscuro: #00BEF5;
  --text-cod-gray: #1A1A1A;
  --text-oxford-blue: #384452;
  --text-blue-bayoux: #55667A;
  --text-gris-bajo: #757575;
  --text-white: #FFFFFF;
  --bkg-white-lilac: #F2F5FA;
  --bkg-porcelain: #F3F4F5;
  --bkg-catskill-white: #DFE9F2;
  --cr-blue-ribbon: #0067EE;
  --cr-tory-blue: #0D60AC;
  --alert-error: #DE2F1B;
  --alert-error-strong: #721C24;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.3em;
  color: var(--text-blue-bayoux);
  background: #fff;
}

body {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
}

/* ══ HEADER ══ */
.hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid #EBEBEB;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.hdr-hamburger {
  font-size: 20px;
  color: var(--text-blue-bayoux);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
}
.hdr-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-blue-bayoux);
  border-radius: 1px;
}

.hdr-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
/* Logo SVG triangles — igual al real */
.hdr-logo svg { height: 28px; width: auto; }

.hdr-user {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #C8C8C8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #888;
}
.hdr-user svg { width: 18px; height: 18px; }

/* ══ LOADING OVERLAY ══ */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #3D3D3D;
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}
.overlay.show { display: flex; }
.overlay h2 {
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
}
.overlay p {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 28px;
  color: #DDD;
}
.ov-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px 28px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}
.ov-card-logo { align-self: center; margin-bottom: 4px; }
.ov-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.ov-lines { display: flex; flex-direction: column; gap: 6px; }
.ov-line {
  height: 9px;
  border-radius: 5px;
  background: #E0E0E0;
  animation: shimmer 1.4s ease-in-out infinite;
}
.ov-line.w120 { width: 120px; }
.ov-line.w110 { width: 110px; animation-delay: .1s; }
.ov-line.w100 { width: 100px; }
.ov-line.w80  { width: 80px; animation-delay: .2s; }
.ov-line.w70  { width: 70px; animation-delay: .3s; }
.ov-line.w60  { width: 60px; animation-delay: .2s; }
.ov-check {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px; font-weight: 900; color: #2ECC40; flex-shrink: 0;
  opacity: 0; transform: scale(0);
  transition: opacity .4s ease, transform .4s ease;
  -webkit-text-fill-color: #2ECC40;
}
/* Loading corto — renglones y palomas con CSS stagger */
.overlay.show:not(.pago) .ov-row:nth-child(2) { animation: rowIn .35s ease forwards; animation-delay: .2s;  }
.overlay.show:not(.pago) .ov-row:nth-child(3) { animation: rowIn .35s ease forwards; animation-delay: .5s;  }
.overlay.show:not(.pago) .ov-row:nth-child(4) { animation: rowIn .35s ease forwards; animation-delay: .8s;  }
.overlay.show:not(.pago) .ov-row:nth-child(2) .ov-check { animation: checkPop .4s ease forwards; animation-delay: 1.2s; }
.overlay.show:not(.pago) .ov-row:nth-child(3) .ov-check { animation: checkPop .4s ease forwards; animation-delay: 1.6s; }
.overlay.show:not(.pago) .ov-row:nth-child(4) .ov-check { animation: checkPop .4s ease forwards; animation-delay: 2.0s; }
@keyframes rowIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes checkPop {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes shimmer { 0%,100%{opacity:.35} 50%{opacity:1} }

/* ══ PAGES ══ */
.page { display: none; }
.page.active { display: block; }

/* ══ STEPPER ══ */
.stepper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 18px 0 14px;
  background: #fff;
}
.sw {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}
.sw-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #CCCCCC;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: bold;
  color: #CCCCCC;
  font-family: Arial, sans-serif;
}
.sw.active .sw-circle,
.sw.done   .sw-circle {
  background: var(--btn-azul-bkg);
  border-color: var(--btn-azul-bkg);
  color: #fff;
}
.sw-lbl {
  font-size: 11px;
  margin-top: 5px;
  color: #AAAAAA;
  font-family: Arial, sans-serif;
  font-weight: 400;
}
.sw.active .sw-lbl,
.sw.done   .sw-lbl {
  color: var(--btn-azul-bkg);
  font-weight: bold;
}
.sc {
  width: 65px;
  height: 2px;
  background: #CCCCCC;
  margin-top: 16px;
  flex-shrink: 0;
}
.sc.done { background: var(--btn-azul-bkg); }

/* ══ CONTENT WRAPPER ══ */
.ct { padding: 0 20px 60px; }

/* ══ TÍTULOS ══ */
.pg-title {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  color: var(--text-cod-gray);
  margin-top: 20px;
  margin-bottom: 16px;
  font-family: Arial, sans-serif;
}
.ph-sub {
  font-size: 15px;
  text-align: center;
  color: var(--text-cod-gray);
  margin-bottom: 16px;
  font-family: Arial, sans-serif;
}
.ph-sub b { font-weight: bold; }
.intro {
  font-size: 14px;
  font-weight: bold;
  color: var(--text-cod-gray);
  margin-bottom: 28px;
  line-height: 1.5;
  font-family: Arial, sans-serif;
}

/* ══ FORM FIELDS — Floating Label ══ */
.fg {
  border: 1px solid #CCCCCC;
  border-radius: 6px;
  padding: 0 14px;
  margin-bottom: 26px;
  background: #fff;
  transition: border-color .15s;
  position: relative;
}
.fg:focus-within { border-color: var(--btn-azul-bkg); background: #F2F5FA; }
.fg.err { border-color: var(--btn-principal-bkg); }
.fg label {
  display: block;
  font-size: 13px;
  font-weight: bold;
  color: var(--text-blue-bayoux);
  font-family: Arial, sans-serif;
  background: #fff;
  position: absolute;
  top: -8px;
  left: 12px;
  padding: 0 4px;
  letter-spacing: .2px;
}
.fg:focus-within label { background: #F2F5FA; }
.fg input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
  color: var(--text-blue-bayoux);
  font-family: Arial, sans-serif;
  background: transparent;
  padding: 14px 0 10px;
}
.fg input::placeholder { color: #AAAAAA; }

/* ══ ALERT ══ */
.alert {
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 12px;
  display: none;
  line-height: 1.4;
  font-family: Arial, sans-serif;
}
.alert.err { display: block; background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.alert.suc { display: block; background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; }

/* ══ BOTONES ══ */
/* Botón rojo principal — igual a .btn_naranja de Telmex */
.btn-r {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--btn-principal-bkg);
  color: var(--text-white);
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: Arial, sans-serif;
  transition: background .2s;
  margin-top: 14px;
  text-align: center;
}
.btn-r:hover:not(:disabled) { background: var(--btn-well-read); }
.btn-r:disabled { background: #CCCCCC; cursor: not-allowed; }

/* Botón azul — igual a .btn-azul de Telmex */
.btn-b {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 11px;
  background: var(--btn-azul-bkg);
  color: var(--text-white);
  font-size: 15px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: Arial, sans-serif;
  transition: background .2s;
  margin-top: 6px;
}
.btn-b:hover:not(:disabled) { background: var(--tory-blue); }
.btn-b:disabled { background: #CCCCCC; cursor: not-allowed; }

/* ══ INVOICE OPTION CARD ══ */
.io {
  border: 1px solid #CCCCCC;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: border-color .15s;
  background: #fff;
}
.io:hover { border-color: var(--lochmara); }
.io-lbl  { font-size: 13px; font-weight: bold; color: var(--text-cod-gray); font-family: Arial, sans-serif; }
.io-date { font-size: 12px; color: var(--text-blue-bayoux); margin: 3px 0 6px; font-family: Arial, sans-serif; }
.io-amt  { font-size: 22px; font-weight: bold; color: var(--text-cod-gray); font-family: Arial, sans-serif; }
.io-arr  { font-size: 22px; color: var(--lochmara); font-weight: 300; line-height: 1; }

.oa-box {
  border: 1px solid #CCCCCC;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 12px;
  background: #fff;
}
.oa-lbl { font-size: 13px; font-weight: bold; color: var(--text-cod-gray); margin-bottom: 10px; font-family: Arial, sans-serif; }
.oa-row { display: flex; align-items: center; justify-content: space-between; }
.oa-box input {
  border: none;
  border-bottom: 1px solid #CCCCCC;
  outline: none;
  font-size: 15px;
  color: var(--text-cod-gray);
  width: 80%;
  padding: 4px 0;
  font-family: Arial, sans-serif;
  background: transparent;
}
.oa-box input::placeholder { color: #AAAAAA; }
.oa-arr { font-size: 22px; color: var(--lochmara); cursor: pointer; }

/* ══ AMOUNT BOX ══ */
.amt-box {
  background: var(--bkg-white-lilac);
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 16px;
}
.amt-big { font-size: 32px; font-weight: bold; color: var(--text-cod-gray); font-family: Arial, sans-serif; }
.amt-cur { font-size: 15px; color: var(--text-blue-bayoux); margin-left: 6px; font-family: Arial, sans-serif; }
.amt-ref { font-size: 12px; color: var(--text-blue-bayoux); margin-top: 3px; font-family: Arial, sans-serif; }

/* ══ RADIO ROWS (pago) ══ */
.rrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #F0F0F0;
  cursor: pointer;
}
.rrow input[type="radio"] { accent-color: var(--btn-azul-bkg); width: 18px; height: 18px; flex-shrink: 0; cursor: pointer; }
.rrow-lbl { font-size: 14px; color: var(--text-cod-gray); font-family: Arial, sans-serif; }
.rrow-sub { font-size: 12px; color: var(--text-blue-bayoux); padding: 4px 0 6px 28px; font-family: Arial, sans-serif; }
.pay-lbl  { font-size: 13px; font-weight: bold; color: var(--text-cod-gray); margin: 12px 0 4px; font-family: Arial, sans-serif; }
.auto-lbl { font-size: 13px; color: var(--text-blue-bayoux); margin-bottom: 10px; font-family: Arial, sans-serif; }

/* ══ NEW CARD FORM ══ */
/* ══ NEW CARD FORM ══ */
.nc-form {
  border: none;
  background: transparent;
  padding: 0;
  margin-top: 8px;
}
.nc-f {
  border-bottom: 1px solid #D0D0D0;
  padding: 12px 0;
}
.nc-f:last-child { border-bottom: none; }
.nc-f input {
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text-cod-gray);
  font-family: Arial, sans-serif;
  width: 100%;
  background: transparent;
}
.nc-f input::placeholder { color: #AAAAAA; }
.nc-row { display: flex; gap: 16px; }
.nc-row .nc-f { flex: 1; border-bottom: 1px solid #D0D0D0; }
.rrow:has(input:checked) { background: #F0F0F0; border-radius: 4px; }

.ck-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  font-size: 13px;
  color: var(--text-cod-gray);
  border-bottom: 1px solid #F0F0F0;
  font-family: Arial, sans-serif;
}
.ck-line:last-child { border-bottom: none; }
.ck-line input { accent-color: var(--btn-azul-bkg); margin-top: 2px; flex-shrink: 0; }
.ck-i { font-size: 15px; color: var(--text-blue-bayoux); cursor: pointer; margin-left: 4px; }

/* ══ LOGOS TARJETAS ══ */
.card-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 32px 0 8px;
}
.cl-visa {
  font-family: 'Times New Roman', Times, serif;
  font-size: 20px;
  font-weight: 900;
  font-style: italic;
  color: #1A1F71;
  letter-spacing: -1px;
}
.cl-mc { position: relative; width: 38px; height: 24px; display: inline-block; }
.cl-mc::before { content:''; position:absolute; width:20px; height:20px; border-radius:50%; background:#EB001B; left:0; top:2px; }
.cl-mc::after  { content:''; position:absolute; width:20px; height:20px; border-radius:50%; background:#F79E1B; left:12px; top:2px; }
.cl-amex {
  background: #2E77BC;
  color: #fff;
  font-size: 9px;
  font-weight: bold;
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: .5px;
  font-family: Arial, sans-serif;
}
.cards-acc { text-align: center; font-size: 12.5px; color: var(--text-blue-bayoux); margin-bottom: 3px; font-family: Arial, sans-serif; }
.cards-cnt { text-align: center; font-size: 12.5px; color: var(--text-blue-bayoux); margin-bottom: 22px; font-family: Arial, sans-serif; }
.cards-cnt a { color: var(--lochmara); text-decoration: none; }
.cards-cnt a:hover { text-decoration: underline; }

/* ══ BLOG CARD ══ */
.blog-card {
   background: #F2F5FA;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.bc-ico {
  width: 56px;
  height: 56px;
  background: var(--btn-azul-bkg);
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bc-ico svg { width: 30px; height: 30px; }
.bc-ttl { font-size: 14px; font-weight: bold; color: var(--btn-azul-bkg); margin-bottom: 3px; font-family: Arial, sans-serif; }
.bc-dsc { font-size: 12px; color: var(--text-blue-bayoux); line-height: 1.4; font-family: Arial, sans-serif; }

/* ══ NEWSLETTER ══ */
.nl {
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 20px;
  background: #F2F5FA;
}
.nl h3 { font-size: 14px; font-weight: bold; color: var(--btn-azul-bkg); margin-bottom: 4px; font-family: Arial, sans-serif; }
.nl p  { font-size: 12px; color: var(--text-blue-bayoux); margin-bottom: 12px; font-family: Arial, sans-serif; }
.nl-row { display: flex; gap: 8px; }
.nl input {
  flex: 1;
  border: 1px solid #CCCCCC;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 12.5px;
  outline: none;
  font-family: Arial, sans-serif;
  color: var(--text-cod-gray);
}
.nl input::placeholder { color: #AAAAAA; }
/* Botón Suscribir — igual a .btn-azul de Telmex */
.nl button {
  background: var(--btn-azul-bkg);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  font-family: Arial, sans-serif;
  white-space: nowrap;
}
.nl button:hover { background: var(--tory-blue); }

/* ══ TRUST LOGOS ══ */
.trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 18px;
}
.t-prof {
  border: 2px solid var(--btn-principal-bkg);
  color: var(--btn-principal-bkg);
  font-size: 9px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1.3;
  text-align: center;
  font-family: Arial, sans-serif;
}
.t-dig { display: flex; align-items: center; gap: 6px; }
.t-dig .td-chk {
  width: 24px; height: 24px;
  background: #4CAF50;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: bold; flex-shrink: 0;
}
.t-dig .td-txt { font-size: 10px; font-weight: bold; color: var(--text-cod-gray); line-height: 1.3; font-family: Arial, sans-serif; }

/* ══ FOOTER LINKS ══ */
.f-links { margin-bottom: 16px; }
.f-links a {
  display: block;
  font-size: 13px;
  font-weight: bold;
  color: #55668b;
  text-decoration: none;
  line-height: 1.9;
  font-family: Arial, sans-serif;
}
.f-links a:hover { text-decoration: underline; }

/* ══ APP BADGES ══ */
.app-sec { text-align: center; margin-bottom: 14px; }
.app-sec h4 { font-size: 14px; font-weight: bold; margin-bottom: 10px;   color: #55668b; font-family: Arial, sans-serif; }
.app-badges { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.ab {
  display: flex; align-items: center; gap: 6px;
  border: 1.5px solid #333;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  text-decoration: none;
  color: #333;
  background: #fff;
}
.ab .ab-ico { font-size: 18px; }
.ab .ab-sm  { font-size: 8px; font-weight: 400; font-family: Arial, sans-serif; }
.ab .ab-bg  { font-size: 11px; font-weight: bold; font-family: Arial, sans-serif; }
.ab.apple  { background: #000; color: #fff; border-color: #000; }
.ab.huawei { background: var(--btn-principal-bkg); color: #fff; border-color: var(--btn-principal-bkg); }

/* ══ SOCIAL ══ */
.soc { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0; }
.soc .soc-lbl { font-size: 13px; color: var(--text-blue-bayoux); margin-right: 2px; font-family: Arial, sans-serif; }
.si {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; cursor: pointer; font-weight: bold;
}
.sx  { background: #000; }
.sfb { background: #1877F2; }
.sig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.syt { background: #FF0000; }
.sli { background: #0A66C2; font-size: 11px; }

/* ══ LEGAL / POLICY ══ */
.legal {
  font-size: 10.5px;
  color: #888;
  text-align: center;
  line-height: 1.7;
  padding: 0 8px;
  margin-bottom: 14px;
  font-family: Arial, sans-serif;
}
.legal a { color: #888; text-decoration: none; }
.legal strong { color: #555; }
.policy {
  font-size: 10.5px;
  text-align: center;
  color: #555;
  line-height: 2;
  padding: 0 8px 40px;
  font-family: Arial, sans-serif;
}
.policy a { color: #555; text-decoration: none; }
.policy a:hover { text-decoration: underline; }

.footer-gris {
  background: #F2F5FA;
  margin-left: -16px;
  margin-right: -16px;
  padding: 16px;
}

.hdr {
  background: #F2F5FA;
  border-bottom: none;
}
/* ══ SECURE BOX 3D-Secure ══ */
.secure-box {
  text-align: center;
  margin-top: 16px;
  padding: 12px;
  border-top: 1px solid #E0E0E0;
}
.secure-txt {
  font-size: 12px;
  color: var(--text-cod-gray);
  margin-bottom: 4px;
  font-family: Arial, sans-serif;
}
.secure-sub {
  font-size: 11px;
  color: var(--text-blue-bayoux);
  margin-bottom: 12px;
  font-family: Arial, sans-serif;
}
.secure-getnet {
  display: block;
  border: none;
  border-radius: 0;
  background: #EBEBEB;
  padding: 12px 16px;
  margin-top: 10px;
  box-shadow: 0 4px 4px -1px rgba(0,0,0,0.12);
}
.secure-safe {
  display: block;
  font-size: 11px;
  color: var(--text-blue-bayoux);
  margin-bottom: 4px;
  font-family: Arial, sans-serif;
}
.getnet-logo {
  font-size: 22px;
  font-weight: bold;
  color: #DE2F1B;
  font-family: Arial, sans-serif;
  letter-spacing: -1px;
}

/* ══ SUCCESS ══ */
.succ { text-align: center; padding: 60px 20px 40px; }
.succ-ico { font-size: 72px; margin-bottom: 20px; display: block; }
.succ h2 { font-size: 24px; font-weight: bold; color: var(--btn-azul-bkg); margin-bottom: 12px; font-family: Arial, sans-serif; }
.succ p { font-size: 14px; color: var(--text-blue-bayoux); margin-bottom: 6px; line-height: 1.5; font-family: Arial, sans-serif; }
