/* ============================================================
   Vista "Tarjetas digitales" (Presencia Digital → Tarjetas de
   presentación inteligentes). Solo la cargan
   servicios/tarjetas-digitales.html y en/servicios/tarjetas-digitales.html.
   Movimiento del carrusel: js/tarjetas-digitales.js
   ============================================================ */

.dc-page {
  --dc-gutter: var(--page-gutter, clamp(32px, 5.5vw, 72px));
  --dc-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dc-ink: #0f3a47;
  background: #fafaf7;
  overflow-x: clip;
  /* El encabezado del sitio es fijo: la primera sección arranca debajo. */
  padding-top: 72px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------- HERO ---------------- */
.dc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 112px 0 56px;
}

.dc-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 60% at 78% 42%, rgba(35, 105, 120, 0.1), transparent 70%),
    radial-gradient(40% 35% at 92% 8%, rgba(85, 190, 197, 0.08), transparent 70%),
    linear-gradient(160deg, #fbfbf8 0%, #f4f6f4 100%);
}

.dc-hero-bg::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 70%;
  height: 60%;
  background: rgba(35, 105, 120, 0.04);
  clip-path: polygon(100% 18%, 70% 62%, 30% 90%, 0 100%, 100% 100%);
}

.dc-hero-inner {
  display: grid;
  gap: 44px;
  width: 100%;
  padding-inline: var(--dc-gutter);
}

.dc-copy {
  position: relative;
  max-width: 620px;
}

.dc-eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--teal);
}

.dc-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 10.4vw, 50px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--dc-ink);
}

.dc-title span {
  display: block;
}

.dc-title em {
  font-style: normal;
  color: var(--orange);
}

.dc-lead {
  margin: 22px 0 0;
  max-width: 500px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.dc-br {
  display: none;
}

.dc-actions {
  margin-top: 30px;
}

.dc-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  border: 1.5px solid var(--teal);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  transition: background-color 0.28s var(--dc-ease), color 0.28s var(--dc-ease);
}

.dc-cta span {
  transition: transform 0.28s var(--dc-ease);
}

.dc-cta:hover,
.dc-cta:focus-visible {
  background: var(--teal);
  color: #fff;
}

.dc-cta:hover span,
.dc-cta:focus-visible span {
  transform: translateX(4px);
}

.dc-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 40px 0 0;
  max-width: 520px;
}

.dc-stats > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
  padding-right: 14px;
}

.dc-stats > div + div {
  padding-left: 14px;
  border-left: 1px solid rgba(35, 105, 120, 0.16);
}

.dc-stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--teal);
}

.dc-stats dt {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}

/* ---------------- CELULAR PROTAGONISTA + SELECTOR ---------------- */
.dc-showcase {
  --device-w: min(70vw, 290px);
  position: relative;
  display: grid;
  justify-items: center;
}

.dc-device-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 24px 0 8px;
}

.dc-device-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--device-w) * 1.9);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(85, 190, 197, 0.26) 0%, rgba(85, 190, 197, 0.08) 52%, transparent 70%);
  transform: translate(-50%, -50%);
}

.dc-device-halo::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(35, 105, 120, 0.18);
}

.dc-device {
  position: relative;
  z-index: 1;
  width: var(--device-w);
  padding: 10px;
  border-radius: calc(var(--device-w) * 0.17);
  background: linear-gradient(145deg, #2b3a40 0%, #0b161a 45%, #1d2a2f 100%);
  box-shadow:
    0 60px 90px -45px rgba(3, 56, 71, 0.65),
    0 30px 40px -30px rgba(3, 56, 71, 0.45),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.14);
}

.dc-device::before,
.dc-device::after {
  content: "";
  position: absolute;
  right: -3px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #1d2a2f;
}

.dc-device::before { top: 22%; height: 11%; }
.dc-device::after { top: 36%; height: 7%; }

.dc-device-island {
  position: absolute;
  z-index: 3;
  top: 20px;
  left: 50%;
  width: 30%;
  height: 24px;
  border-radius: 999px;
  background: #050b0d;
  transform: translateX(-50%);
}

.dc-device-display {
  position: relative;
  width: 100%;
  aspect-ratio: 600 / 1298;
  overflow: hidden;
  border-radius: calc(var(--device-w) * 0.13);
  background: #061c22;
}

.dc-device-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.6s var(--dc-ease), transform 0.8s var(--dc-ease);
}

.dc-device-screen.is-active {
  opacity: 1;
  transform: none;
}

.dc-device-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 32%);
  pointer-events: none;
}

.dc-float {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px 10px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px -22px rgba(3, 56, 71, 0.55), 0 0 0 1px rgba(35, 105, 120, 0.08);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--dc-ink);
  white-space: nowrap;
  animation: dc-float 6s ease-in-out infinite;
}

.dc-float i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: var(--teal);
  font-style: normal;
  font-size: 13px;
  color: #fff;
}

.dc-float i.is-wa {
  background: #22b14c;
}

.dc-float i svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linejoin: round;
}

.dc-float--a { top: 20%; left: calc(50% + var(--device-w) * 0.5 - 22px); }
.dc-float--b { top: 62%; left: calc(50% + var(--device-w) * 0.5 - 22px); animation-delay: -3s; }

@keyframes dc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Selector de ejemplos */
.dc-tabs {
  display: flex;
  gap: 8px;
  max-width: 100%;
  margin-top: 30px;
  padding: 6px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 40px -26px rgba(3, 56, 71, 0.45), 0 0 0 1px rgba(35, 105, 120, 0.1);
  overflow-x: auto;
  scrollbar-width: none;
}

.dc-tabs::-webkit-scrollbar { display: none; }

.dc-tabs button {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  gap: 2px;
  min-width: 132px;
  padding: 10px 16px 12px;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s var(--dc-ease);
}

.dc-tabs b {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--dc-ink);
}

.dc-tabs span {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: var(--muted);
}

/* barra de progreso del avance automático */
.dc-tabs i {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
}

.dc-tabs button:hover {
  background: #f4f8f8;
}

.dc-tabs button[aria-selected="true"] {
  background: #eef6f6;
}

.dc-tabs button[aria-selected="true"] b {
  color: var(--teal);
}

.dc-tabs button[aria-selected="true"] i {
  animation: dc-progress var(--dc-auto, 5s) linear forwards;
}

.dc-showcase.is-paused .dc-tabs button[aria-selected="true"] i {
  animation: none;
  transform: scaleX(1);
}

.dc-tabs button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

@keyframes dc-progress {
  to { transform: scaleX(1); }
}

.dc-live {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(35, 105, 120, 0.3);
  transition: color 0.2s, border-color 0.2s, opacity 0.2s;
}

.dc-live:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.dc-live[hidden] {
  display: none;
}

/* ---------------- QR decorativo ---------------- */
.dc-qr {
  position: absolute;
  z-index: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 12px 10px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 50px -24px rgba(3, 56, 71, 0.55), 0 0 0 1px rgba(35, 105, 120, 0.1);
  pointer-events: none;
}

.dc-qr img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

.dc-qr span {
  padding-left: 2px;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}

/* Móvil: completo e inclinado, en el espacio entre el menú y el titular,
   a la derecha de "Tarjetas digitales" (sin tocar las letras). */
.dc-qr--edge {
  top: -98px;
  right: calc(var(--dc-gutter) * -1 + 14px);
  width: 96px;
  padding: 9px 9px 8px;
  gap: 6px;
  border-radius: 18px;
  transform: rotate(8deg);
}

.dc-copy > :not(.dc-qr) {
  position: relative;
  z-index: 1;
}

.dc-qr--stack {
  display: none;
}

/* Entrada inicial (la activa el JS; sin JS todo queda visible) */
.dc-js [data-dc-intro] {
  opacity: 0;
  transform: translateY(18px);
}

.dc-js.is-ready [data-dc-intro] {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--dc-ease), transform 0.7s var(--dc-ease);
}

.dc-js.is-ready .dc-title [data-dc-intro]:nth-child(1) { transition-delay: 0.1s; }
.dc-js.is-ready .dc-title [data-dc-intro]:nth-child(2) { transition-delay: 0.2s; }
.dc-js.is-ready .dc-title [data-dc-intro]:nth-child(3) { transition-delay: 0.3s; }
.dc-js.is-ready .dc-lead { transition-delay: 0.4s; }
.dc-js.is-ready .dc-actions { transition-delay: 0.48s; }
.dc-js.is-ready .dc-stats { transition-delay: 0.56s; }

/* ---------------- ¿POR QUÉ ETIKA? ---------------- */
.dc-why {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #033847;
  color: #fff;
}

.dc-why-photo,
.dc-why-shade {
  display: none;
}

.dc-why-corner {
  position: absolute;
  left: 0;
  bottom: -42px;
  width: 170px;
  height: 118px;
  background: rgba(85, 190, 197, 0.65);
  clip-path: polygon(0 100%, 0 48%, 42% 0, 100% 100%);
}

.dc-why-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  padding: 40px var(--dc-gutter) 64px;
}

.dc-why-eyebrow {
  margin: 0;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.dc-why-head h2 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 8vw, 38px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: #fff;
}

.dc-why-head em {
  font-style: normal;
  color: var(--orange);
}

.dc-why-list {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dc-why-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
}

.dc-why-list svg {
  width: 28px;
  height: 28px;
  margin-top: 2px;
  fill: none;
  stroke: var(--turquoise);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dc-why-list h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}

.dc-why-list p {
  margin: 5px 0 0;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
}

.dc-why-aside {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 28px;
  overflow: hidden;
  border-radius: 12px;
  background:
    linear-gradient(90deg, #033847 0%, rgba(3, 56, 71, 0.8) 40%, rgba(3, 56, 71, 0.24) 100%),
    url("../../assets/images/tarjetas/montanas.webp") center / cover;
}

.dc-why-aside > span {
  display: block;
  width: 38px;
  height: 2px;
  background: var(--orange);
}

.dc-why-aside p {
  margin: 12px 0 16px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #fff;
}

.dc-why-aside small {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

/* ================= TABLET (≥768px) ================= */
@media (min-width: 768px) {
  .dc-hero {
    padding: 96px 0 72px;
  }

  .dc-title {
    font-size: clamp(54px, 7.4vw, 66px);
  }

  .dc-lead {
    font-size: 18px;
  }

  .dc-br {
    display: inline;
  }

  .dc-stats {
    display: flex;
    max-width: none;
  }

  .dc-stats > div {
    padding-right: 34px;
  }

  .dc-stats > div + div {
    padding-left: 34px;
  }

  .dc-stats dd {
    font-size: 30px;
  }

  .dc-stats dt {
    font-size: 13px;
  }

  .dc-qr--edge {
    display: none;
  }

  .dc-showcase {
    --device-w: 320px;
  }

  /* QR decorativo junto al celular, inclinado */
  .dc-qr--stack {
    display: flex;
    z-index: 0;
    top: 40%;
    left: calc(50% - var(--device-w) * 0.5 - 118px);
    width: 150px;
    padding: 14px 14px 11px;
    border-radius: 22px;
    transform: rotate(-9deg);
  }

  .dc-why-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 32px;
  }
}

/* ================= PC (≥1024px) ================= */
@media (min-width: 1024px) {
  .dc-page {
    padding-top: 147px;
  }

  .dc-hero {
    display: flex;
    align-items: center;
    min-height: calc(100svh - 147px);
    padding: 24px 0 72px;
  }

  .dc-hero-inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 24px;
  }

  .dc-title {
    font-size: clamp(50px, 4.7vw, 76px);
  }

  .dc-showcase {
    --device-w: clamp(270px, min(20vw, 34svh), 330px);
  }

  .dc-qr--stack {
    left: calc(50% - var(--device-w) * 0.5 - 150px);
    width: clamp(150px, 11vw, 176px);
  }

  .dc-qr span {
    font-size: 11px;
  }

  .dc-why-photo,
  .dc-why-shade {
    display: block;
    position: absolute;
    inset: 0;
  }

  .dc-why-photo {
    left: auto;
    width: 41%;
    background: url("../../assets/images/tarjetas/montanas.webp") center / cover;
  }

  .dc-why-shade {
    background: linear-gradient(90deg, #033847 0%, #033847 52%, rgba(3, 56, 71, 0.88) 66%, rgba(3, 56, 71, 0.18) 100%);
  }

  .dc-why-corner {
    width: 240px;
    height: 150px;
  }

  .dc-why-inner {
    grid-template-columns: 32% 38% 30%;
    align-items: center;
    min-height: 258px;
    gap: 0;
    padding: 34px var(--dc-gutter) 40px;
  }

  .dc-why-head {
    align-self: start;
    padding-top: 6px;
  }

  .dc-why-head h2 {
    font-size: clamp(31px, 2.2vw, 40px);
  }

  .dc-why-list {
    gap: 24px 40px;
  }

  .dc-why-list h3 {
    font-size: 17px;
  }

  .dc-why-list p {
    font-size: 13px;
  }

  .dc-why-aside {
    min-height: 0;
    margin-left: auto;
    max-width: 270px;
    padding: 0;
    overflow: visible;
    border-radius: 0;
    background: none;
  }

  .dc-why-aside p {
    font-size: clamp(18px, 1.15vw, 22px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dc-float { animation: none; }
  .dc-device-screen,
  .dc-tabs i,
  .dc-js [data-dc-intro] {
    transition: none !important;
  }

  .dc-js [data-dc-intro] {
    opacity: 1;
    transform: none;
  }
}

/* ---------------- ASÍ DE FÁCIL FUNCIONA (sección blanca) ----------------
   Separa la franja oscura "¿Por qué ETIKA?" del footer oscuro. */
.dc-how {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 64px var(--dc-gutter) 56px;
  background:
    radial-gradient(48% 60% at 82% 38%, rgba(85, 190, 197, 0.12), transparent 70%),
    #ffffff;
}

.dc-how-inner {
  display: grid;
  gap: 48px;
  align-items: center;
}

.dc-how-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--teal);
}

.dc-how-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--orange);
}

.dc-how-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 8.4vw, 42px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--dc-ink);
}

.dc-how-title em {
  font-style: normal;
  color: var(--orange);
}

.dc-how-lead {
  max-width: 520px;
  margin: 18px 0 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.dc-how-steps {
  position: relative;
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

/* línea punteada que une los pasos */
.dc-how-steps::before {
  content: "";
  position: absolute;
  top: 32px;
  bottom: 32px;
  left: 31px;
  border-left: 2px dashed rgba(35, 105, 120, 0.22);
}

.dc-how-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 14px 20px 14px 0;
  border-radius: 20px;
  transition: background-color 0.3s var(--dc-ease), transform 0.3s var(--dc-ease);
}

.dc-how-steps li:hover {
  background: #f6f9f9;
  transform: translateX(4px);
}

.dc-how-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: #fff;
  color: var(--teal);
  box-shadow: 0 14px 30px -18px rgba(3, 56, 71, 0.45), 0 0 0 1px rgba(35, 105, 120, 0.12);
}

.dc-how-steps li:nth-child(2) .dc-how-icon { color: var(--turquoise); }
.dc-how-steps li:nth-child(3) .dc-how-icon { color: var(--orange); }

.dc-how-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dc-how-num {
  position: absolute;
  z-index: 2;
  top: 6px;
  left: 44px;
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--orange);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  color: #fff;
}

.dc-how-steps h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dc-ink);
}

.dc-how-steps p {
  margin: 4px 0 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

/* ---- Celular con animación de escaneo ---- */
.dc-how-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.dc-how-ring {
  position: absolute;
  width: min(440px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85, 190, 197, 0.22) 0%, rgba(85, 190, 197, 0.06) 55%, transparent 70%);
  border: 1px dashed rgba(35, 105, 120, 0.2);
}

.dc-phone {
  position: relative;
  width: 250px;
  aspect-ratio: 9 / 19;
  padding: 10px;
  border-radius: 44px;
  background: #0d1f26;
  box-shadow: 0 50px 80px -40px rgba(3, 56, 71, 0.6), inset 0 0 0 2px #2a3d44;
  transform: rotate(-4deg);
}

.dc-phone-notch {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 50%;
  width: 84px;
  height: 22px;
  border-radius: 999px;
  background: #0d1f26;
  transform: translateX(-50%);
}

.dc-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 34px;
  background: #061c22;
}

.dc-phone-scan,
.dc-phone-feed {
  position: absolute;
  inset: 0;
}

.dc-phone-scan {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  z-index: 1;
  background: radial-gradient(circle at 50% 45%, #18343c, #061c22 70%);
  transition: opacity 0.5s ease, transform 0.6s ease;
}

.dc-phone-scan.is-off {
  opacity: 0;
  transform: scale(1.08);
}

.dc-phone-hint {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
}

.dc-phone-target {
  position: relative;
  width: 150px;
  aspect-ratio: 1;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
}

.dc-phone-target img {
  display: block;
  width: 100%;
  height: auto;
}

.dc-c {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 3px solid var(--turquoise);
}

.dc-c1 { top: -10px; left: -10px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.dc-c2 { top: -10px; right: -10px; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.dc-c3 { bottom: -10px; left: -10px; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.dc-c4 { bottom: -10px; right: -10px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }

.dc-phone-line {
  position: absolute;
  left: -6px;
  right: -6px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--turquoise);
  box-shadow: 0 0 18px 4px rgba(85, 190, 197, 0.65);
  animation: dc-scan-line 1.6s ease-in-out infinite alternate;
}

.dc-phone-feed {
  overflow: hidden;
  background: #fff;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.dc-phone-feed.is-on {
  opacity: 1;
}

.dc-phone-feed img {
  display: block;
  width: 100%;
  height: auto;
  will-change: transform;
}

@keyframes dc-scan-line {
  from { top: 0; }
  to { top: calc(100% - 3px); }
}


.dc-how-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 36px -20px rgba(3, 56, 71, 0.5), 0 0 0 1px rgba(35, 105, 120, 0.08);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--dc-ink);
  white-space: nowrap;
}

.dc-how-chip i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22b14c;
  box-shadow: 0 0 0 4px rgba(34, 177, 76, 0.18);
}

.dc-how-chip--a { top: 16%; right: 4%; }
.dc-how-chip--b { bottom: 14%; left: 2%; }
.dc-how-chip--b i { background: var(--orange); box-shadow: 0 0 0 4px rgba(244, 119, 53, 0.18); }

/* ---- Barra final: QR real + WhatsApp ---- */
.dc-how-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px 22px;
  margin-top: 44px;
  padding: 22px;
  border: 1px solid rgba(35, 105, 120, 0.14);
  border-radius: 24px;
  background: linear-gradient(120deg, #f8fbfb 0%, #ffffff 60%, #fff7f2 100%);
}

.dc-how-cta-qr {
  width: 96px;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(35, 105, 120, 0.14), 0 14px 26px -18px rgba(3, 56, 71, 0.45);
}

.dc-how-cta-qr img {
  display: block;
  width: 100%;
  height: auto;
}

.dc-how-cta-text strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--dc-ink);
}

.dc-how-cta-text p {
  margin: 4px 0 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.dc-how-cta-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}

.dc-how-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--orange);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 34px -16px rgba(244, 119, 53, 0.75);
  transition: transform 0.25s var(--dc-ease), filter 0.25s var(--dc-ease);
}

.dc-how-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.dc-how-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dc-how-link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(35, 105, 120, 0.3);
  transition: color 0.2s, border-color 0.2s;
}

.dc-how-link:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.dc-how-btn:focus-visible,
.dc-how-link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .dc-how {
    padding: 88px var(--dc-gutter) 72px;
  }

  .dc-how-title {
    font-size: clamp(40px, 5.6vw, 52px);
  }

  .dc-how-lead {
    font-size: 17px;
  }

  .dc-how-cta {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 22px 28px;
  }

  .dc-how-cta-actions {
    grid-column: auto;
    flex-direction: column;
    align-items: flex-end;
  }
}

@media (min-width: 1024px) {
  .dc-how {
    padding: 104px var(--dc-gutter) 88px;
  }

  .dc-how-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 40px;
  }

  .dc-how-title {
    font-size: clamp(44px, 3.6vw, 58px);
  }

  .dc-how-visual {
    min-height: 600px;
  }

  .dc-phone {
    width: 280px;
  }

  .dc-how-cta {
    margin-top: 56px;
    padding: 24px 32px;
  }

  .dc-how-cta-qr {
    width: 112px;
  }

  .dc-how-cta-text strong {
    font-size: 20px;
  }

  .dc-how-cta-text p {
    font-size: 15px;
  }

  .dc-how-cta-actions {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .dc-how-visual {
    min-height: 470px;
  }

  .dc-phone {
    width: 220px;
  }

  .dc-how-chip {
    font-size: 12px;
    padding: 8px 12px;
  }

  .dc-how-chip--a { right: 0; }
  .dc-how-chip--b { left: 0; }

  .dc-how-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dc-phone-line { animation: none; }

  .dc-how-steps li { transition: none; }
}

/* Celular protagonista en móvil: etiquetas dentro de la pantalla visible */
@media (max-width: 767px) {
  .dc-float {
    font-size: 11.5px;
    padding: 8px 12px 8px 8px;
  }

  .dc-float i {
    width: 22px;
    height: 22px;
  }

  .dc-float--a { top: 12%; left: auto; right: 0; }
  .dc-float--b { top: auto; bottom: 14%; left: auto; right: 0; }

  .dc-tabs {
    width: 100%;
  }

  .dc-tabs button {
    flex: 1 1 0;
    min-width: 0;
    align-content: center;
    padding: 9px 12px 11px;
  }

  .dc-tabs b { font-size: 12px; line-height: 1.2; }
  .dc-tabs span { display: none; }
  .dc-tabs button { text-align: center; padding: 12px 8px 14px; }
  .dc-tabs i { left: 10px; right: 10px; }
}
