/* 1win-casino-ecuador.com — degradado de azul noche a celeste, botones verdes, acentos amarillo y rojo */

:root {
  --ce-noche: #06143a;
  --ce-azul: #0b2a6f;
  --ce-medio: #1b5fc4;
  --ce-celeste: #5db3f5;
  --ce-cielo: #b9e2ff;
  --ce-tarjeta: rgba(6, 22, 66, 0.9);
  --ce-tarjeta-2: rgba(16, 44, 112, 0.85);
  --ce-borde: rgba(120, 180, 255, 0.28);
  --ce-texto: #e2ecff;
  --ce-suave: #a9c0ea;
  --ce-blanco: #ffffff;

  --ce-verde: #18c25f;
  --ce-verde-luz: #34db78;
  --ce-verde-sombra: #0e8f44;
  --ce-sobre-verde: #022611;
  --ce-amarillo: #ffcc33;
  --ce-amarillo-luz: #ffda66;
  --ce-sobre-amarillo: #2d2100;
  --ce-rojo: #ff4757;

  --ce-f-tit: "Exo 2", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ce-f-txt: "Nunito", "Segoe UI", Roboto, Arial, sans-serif;

  --ce-max: 1180px;
  --ce-pad: clamp(1rem, 4vw, 2.4rem);
  --ce-cab: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--ce-cab) + 18px);
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--ce-noche) 0%, var(--ce-azul) 18%, var(--ce-medio) 52%, var(--ce-celeste) 82%, var(--ce-cielo) 100%);
  background-color: var(--ce-noche);
  color: var(--ce-texto);
  font-family: var(--ce-f-txt);
  font-size: 1.08rem;
  line-height: 1.7;
}

img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--ce-amarillo); outline-offset: 3px; border-radius: 8px; }
[tabindex="-1"]:focus { outline: none; }

.ce-saltar {
  position: absolute;
  top: -80px;
  left: 12px;
  z-index: 700;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background: var(--ce-amarillo);
  color: var(--ce-sobre-amarillo);
  font-weight: 800;
  text-decoration: none;
}
.ce-saltar:focus { top: 12px; }

.ce-cont { width: min(100% - 2 * var(--ce-pad), var(--ce-max)); margin-inline: auto; }

/* ---------- botones ---------- */

.ce-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.5rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--ce-f-tit);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.ce-btn:hover { transform: scale(1.03); }
.ce-btn:active { transform: scale(0.97); }

.ce-btn--verde {
  background: linear-gradient(180deg, var(--ce-verde-luz), var(--ce-verde));
  color: var(--ce-sobre-verde);
  box-shadow: 0 10px 22px -10px rgba(24, 194, 95, 0.9), inset 0 -3px 0 var(--ce-verde-sombra);
}
.ce-btn--verde:hover { box-shadow: 0 14px 28px -10px rgba(52, 219, 120, 1), inset 0 -3px 0 var(--ce-verde-sombra); }
.ce-btn--verde:active { box-shadow: inset 0 2px 0 var(--ce-verde-sombra); }

.ce-btn--amarillo {
  background: var(--ce-amarillo);
  color: var(--ce-sobre-amarillo);
  box-shadow: 0 10px 22px -12px rgba(255, 204, 51, 0.9), inset 0 -3px 0 #d9a400;
}
.ce-btn--amarillo:hover { background: var(--ce-amarillo-luz); }
.ce-btn--amarillo:active { box-shadow: inset 0 2px 0 #d9a400; }

.ce-btn--xl { min-height: 58px; padding: 0.9rem 2.1rem; font-size: 1.04rem; }

/* ---------- cabecera ---------- */

.ce-cab {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 20, 58, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--ce-borde), 0 3px 0 -1px var(--ce-rojo);
}
.ce-cab__in {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  height: var(--ce-cab);
  width: min(100% - 2 * var(--ce-pad), var(--ce-max));
  margin-inline: auto;
}

.ce-logo { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ce-blanco); text-decoration: none; flex-shrink: 0; }
.ce-logo__chip {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ce-noche) 0 56%, transparent 57%), conic-gradient(var(--ce-amarillo) 0 50%, var(--ce-medio) 50% 75%, var(--ce-rojo) 75% 100%);
  color: var(--ce-blanco);
  font-family: var(--ce-f-tit);
  font-size: 0.95rem;
  font-weight: 800;
}
.ce-logo__nom { display: flex; flex-direction: column; font-family: var(--ce-f-tit); font-size: 1.45rem; font-weight: 800; line-height: 1; }
.ce-logo__nom small { margin-top: 0.2rem; color: var(--ce-celeste); font-family: var(--ce-f-txt); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.ce-menu { margin-left: auto; }
.ce-menu ul { display: flex; gap: 0.15rem; margin: 0; padding: 0; list-style: none; }
.ce-menu__a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.7rem;
  color: var(--ce-texto);
  font-size: 0.97rem;
  font-weight: 700;
  text-decoration: none;
}
.ce-menu__a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ce-amarillo);
  transform: translateX(-50%) scale(0);
  transition: transform 0.18s ease;
}
.ce-menu__a:hover { color: var(--ce-blanco); }
.ce-menu__a:hover::after,
.ce-menu__a[aria-current="true"]::after { transform: translateX(-50%) scale(1); }
.ce-menu__a[aria-current="true"] { color: var(--ce-amarillo); }

.ce-cab__btns { display: flex; gap: 0.5rem; }
.ce-cab__btns .ce-btn { min-height: 44px; padding: 0.5rem 1.15rem; font-size: 0.92rem; }

/* menú móvil: botón flotante con panel */

.ce-velo { position: fixed; inset: 0; z-index: 140; background: rgba(2, 8, 26, 0.6); }
.ce-velo[hidden] { display: none; }

.ce-dial {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 150;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8rem;
}
.ce-dial__btn {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  background: var(--ce-verde);
  color: var(--ce-sobre-verde);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.8), 0 0 0 4px rgba(255, 204, 51, 0.9);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.ce-dial__btn:active { transform: scale(0.94); }
.ce-dial__ico { position: relative; display: grid; gap: 5px; width: 24px; }
.ce-dial__ico i { display: block; height: 3px; border-radius: 2px; background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease; }
.ce-dial__btn[aria-expanded="true"] { background: var(--ce-rojo); color: #fff; }
.ce-dial__btn[aria-expanded="true"] .ce-dial__ico i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.ce-dial__btn[aria-expanded="true"] .ce-dial__ico i:nth-child(2) { opacity: 0; }
.ce-dial__btn[aria-expanded="true"] .ce-dial__ico i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.ce-dial__panel {
  width: min(calc(100vw - 2rem), 340px);
  max-height: calc(100dvh - 120px);
  padding: 1rem;
  overflow-y: auto;
  border-radius: 22px 22px 6px 22px;
  background: var(--ce-noche);
  border: 1px solid var(--ce-borde);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.9);
  transform-origin: bottom right;
  animation: ce-abre 0.2s ease;
}
.ce-dial__panel[hidden] { display: none; }
@keyframes ce-abre { from { transform: scale(0.85); opacity: 0; } to { transform: none; opacity: 1; } }
.ce-dial__t { margin: 0 0 0.5rem 0.3rem; color: var(--ce-amarillo); font-family: var(--ce-f-tit); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.ce-dial__lista { margin: 0 0 0.9rem; padding: 0; list-style: none; }
.ce-dial__a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 0 0.8rem;
  border-radius: 12px;
  color: var(--ce-blanco);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}
.ce-dial__a::after { content: "→"; color: var(--ce-verde-luz); }
.ce-dial__a:hover { background: var(--ce-tarjeta-2); }
.ce-dial__lista li + li .ce-dial__a { border-top: 1px solid var(--ce-borde); border-radius: 0; }
.ce-dial__ctas { display: grid; gap: 0.6rem; }

/* ---------- héroe ---------- */

.ce-heroe { padding: clamp(2.2rem, 5vw, 4rem) 0 0; text-align: center; }
.ce-heroe__in { display: flex; flex-direction: column; align-items: center; }

.ce-volver { margin: 0 0 1.1rem; }
.ce-volver a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--ce-borde);
  color: var(--ce-blanco);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}
.ce-volver a::before { content: "←"; color: var(--ce-amarillo); }
.ce-volver a:hover { background: rgba(255, 255, 255, 0.14); }

.ce-h1 {
  max-width: 18ch;
  margin: 0 0 1.2rem;
  color: var(--ce-blanco);
  font-family: var(--ce-f-tit);
  font-size: clamp(2.05rem, 1.25rem + 3.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.ce-h1::after { content: ""; display: block; width: 120px; height: 6px; margin: 1rem auto 0; border-radius: 6px; background: linear-gradient(90deg, var(--ce-amarillo) 0 50%, var(--ce-medio) 50% 75%, var(--ce-rojo) 75%); }

.ce-heroe__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; max-width: 980px; text-align: left; }
.ce-heroe__cols p { margin: 0; }
.ce-heroe__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin: 1.8rem 0 0; }

.ce-heroe__foto { position: relative; width: 100%; margin: clamp(2rem, 4vw, 3rem) 0 0; }
.ce-heroe__foto::before,
.ce-heroe__foto::after { content: ""; position: absolute; z-index: 0; border-radius: 50%; }
.ce-heroe__foto::before { width: 160px; height: 160px; left: -40px; top: -40px; background: var(--ce-amarillo); opacity: 0.9; }
.ce-heroe__foto::after { width: 110px; height: 110px; right: -28px; bottom: 40px; background: var(--ce-rojo); opacity: 0.85; }
.ce-heroe__foto img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1600 / 700;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.9);
}

.ce-chips {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  width: calc(100% - 4rem);
  margin: -2.6rem auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.ce-chips li {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 1.1rem;
  border-radius: 16px;
  background: var(--ce-noche);
  border: 1px solid var(--ce-borde);
  border-left: 5px solid var(--ce-verde);
}
.ce-chips li:nth-child(2) { border-left-color: var(--ce-amarillo); }
.ce-chips li:nth-child(3) { border-left-color: var(--ce-rojo); }
.ce-chips span { color: var(--ce-suave); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.ce-chips strong { color: var(--ce-blanco); font-family: var(--ce-f-tit); font-size: 1.02rem; line-height: 1.3; }

.ce-heroe--doc { text-align: left; padding-bottom: 0.5rem; }
.ce-heroe--doc .ce-heroe__in { align-items: flex-start; max-width: 900px; }
.ce-heroe--doc .ce-h1 { max-width: none; }
.ce-heroe--doc .ce-h1::after { margin-left: 0; }
.ce-heroe--doc .ce-heroe__btns { justify-content: flex-start; margin-top: 0.6rem; }

/* ---------- índice ---------- */

.ce-texto { max-width: 900px; padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem); }

.ce-indice { margin-bottom: 1.4rem; }
.ce-indice__d { border-radius: 20px; background: var(--ce-tarjeta); border: 1px solid var(--ce-borde); }
.ce-indice__s {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 62px;
  padding: 0.8rem 1.3rem;
  list-style: none;
  cursor: pointer;
}
.ce-indice__s::-webkit-details-marker { display: none; }
.ce-indice__t { margin: 0; color: var(--ce-blanco); font-family: var(--ce-f-tit); font-size: 1.15rem; font-weight: 800; }
.ce-indice__ico { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--ce-amarillo); flex-shrink: 0; }
.ce-indice__ico::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 11px;
  width: 9px;
  height: 9px;
  border-right: 3px solid var(--ce-sobre-amarillo);
  border-bottom: 3px solid var(--ce-sobre-amarillo);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.ce-indice__d[open] .ce-indice__ico::before { transform: translateY(4px) rotate(-135deg); }
.ce-indice__l {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.2rem 1.6rem;
  margin: 0;
  padding: 0.3rem 1.3rem 1.3rem;
  list-style: none;
  counter-reset: ce-i;
}
.ce-indice__l li { counter-increment: ce-i; }
.ce-indice__l a { display: flex; gap: 0.7rem; align-items: baseline; padding: 0.35rem 0; color: var(--ce-texto); font-size: 0.96rem; line-height: 1.4; text-decoration: none; }
.ce-indice__l a::before {
  content: counter(ce-i);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--ce-rojo);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}
.ce-indice__l a:hover { color: var(--ce-amarillo); }

/* ---------- secciones ---------- */

.ce-sec {
  margin-top: 1.4rem;
  padding: clamp(1.4rem, 3vw, 2.3rem);
  border-radius: 26px;
  background: var(--ce-tarjeta);
  border: 1px solid var(--ce-borde);
  box-shadow: 0 24px 40px -30px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(6px);
}
.ce-sec > :last-child,
.ce-parte > :last-child { margin-bottom: 0; }

.ce-sec__top { margin-bottom: 1.1rem; }
.ce-sec__n {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  background: var(--ce-verde);
  color: var(--ce-sobre-verde);
  font-family: var(--ce-f-tit);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.ce-h2 {
  margin: 0;
  color: var(--ce-blanco);
  font-family: var(--ce-f-tit);
  font-size: clamp(1.45rem, 1.15rem + 1.25vw, 2.15rem);
  font-weight: 800;
  line-height: 1.15;
  text-wrap: balance;
}

.ce-parte { margin-top: 1.6rem; }
.ce-h3 {
  display: inline-block;
  margin: 0 0 0.8rem;
  padding-bottom: 0.25rem;
  border-bottom: 3px solid var(--ce-amarillo);
  color: var(--ce-blanco);
  font-family: var(--ce-f-tit);
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.32rem);
  font-weight: 700;
  line-height: 1.3;
}

.ce-foto { margin: 1.4rem 0; }
.ce-foto img { width: 100%; aspect-ratio: 1100 / 600; object-fit: cover; border-radius: 20px; border: 3px solid rgba(255, 204, 51, 0.65); }

.ce-cta { margin: 1.7rem 0 0.4rem; }

/* tablas */

.ce-tabla {
  margin: 1.2rem 0;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--ce-borde);
  background: rgba(3, 12, 38, 0.6);
  -webkit-overflow-scrolling: touch;
}
.ce-tabla table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.ce-tabla--ancha table { min-width: 580px; }
.ce-tabla thead th {
  padding: 0.85rem 1rem;
  background: linear-gradient(90deg, var(--ce-medio), #2f86e6);
  color: var(--ce-blanco);
  font-family: var(--ce-f-tit);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: left;
}
.ce-tabla tbody th,
.ce-tabla tbody td,
.ce-tabla tfoot th,
.ce-tabla tfoot td { padding: 0.72rem 1rem; text-align: left; vertical-align: top; }
.ce-tabla tbody tr + tr > * { border-top: 1px solid var(--ce-borde); }
.ce-tabla tbody th { color: var(--ce-blanco); font-weight: 700; }
.ce-tabla tbody tr:hover { background: rgba(93, 179, 245, 0.1); }
.ce-tabla tfoot { background: var(--ce-verde); }
.ce-tabla tfoot th,
.ce-tabla tfoot td { color: var(--ce-sobre-verde); font-weight: 800; }

/* listas */

.ce-ul { display: grid; gap: 0.45rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.ce-ul li { position: relative; padding-left: 1.8rem; line-height: 1.55; }
.ce-ul li::before {
  content: "✓";
  position: absolute;
  top: 0.05em;
  left: 0;
  display: grid;
  place-items: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--ce-verde);
  color: var(--ce-sobre-verde);
  font-size: 0.75rem;
  font-weight: 900;
}

.ce-ol { margin: 0 0 1.1rem; padding: 0; list-style: none; counter-reset: ce-o; }
.ce-ol li {
  position: relative;
  padding: 0.55rem 0 0.55rem 3rem;
  counter-increment: ce-o;
  line-height: 1.5;
}
.ce-ol li + li { border-top: 1px dashed var(--ce-borde); }
.ce-ol li::before {
  content: counter(ce-o);
  position: absolute;
  top: 0.5rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: var(--ce-amarillo);
  color: var(--ce-sobre-amarillo);
  font-family: var(--ce-f-tit);
  font-weight: 800;
}

/* preguntas */

.ce-faq { display: grid; gap: 0.7rem; }
.ce-faq__it { border-radius: 16px; background: rgba(3, 12, 38, 0.6); border: 1px solid var(--ce-borde); overflow: hidden; }
.ce-faq__h { margin: 0; }
.ce-faq__b {
  position: relative;
  display: block;
  width: 100%;
  min-height: 58px;
  padding: 0.95rem 3.6rem 0.95rem 1.15rem;
  border: 0;
  background: transparent;
  color: var(--ce-blanco);
  font-family: var(--ce-f-tit);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}
.ce-faq__b::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border-radius: 50%;
  background: var(--ce-verde);
  color: var(--ce-sobre-verde);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
}
.ce-faq__b[aria-expanded="true"] { color: var(--ce-amarillo); }
.ce-faq__b[aria-expanded="true"]::after { content: "−"; background: var(--ce-rojo); color: #fff; }
.ce-faq__b:hover { background: rgba(255, 255, 255, 0.04); }
.ce-faq__r { padding: 0 1.15rem 1.1rem; }
.ce-faq__r p { margin: 0; }

/* ---------- pie ---------- */

.ce-pie { background: var(--ce-noche); border-top: 4px solid var(--ce-amarillo); }
.ce-pie__fila { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem 2.5rem; padding: 2.2rem 0 1.4rem; }
.ce-pie__edad { display: flex; align-items: center; gap: 0.7rem; margin: 0.9rem 0 0; color: var(--ce-suave); font-size: 0.93rem; }
.ce-edad {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ce-rojo);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}
.ce-pie__nav { display: flex; flex-wrap: wrap; gap: 0.3rem 1.4rem; }
.ce-pie__nav a { display: inline-block; padding: 0.45rem 0; color: var(--ce-texto); font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; }
.ce-pie__nav a:hover { color: var(--ce-amarillo); border-bottom-color: var(--ce-amarillo); }
.ce-pie__copy { margin: 0; padding: 1rem 0 1.6rem; border-top: 1px solid var(--ce-borde); color: var(--ce-suave); font-size: 0.9rem; }

.ce-arriba {
  position: fixed;
  left: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ce-amarillo);
  color: var(--ce-sobre-amarillo);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
}
.ce-arriba.ce-arriba--ver { opacity: 1; visibility: visible; }

/* ---------- adaptación ---------- */

@media (max-width: 1180px) { .ce-cab__sec { display: none; } }

@media (max-width: 1040px) {
  .ce-menu { display: none; }
  .ce-cab__btns { margin-left: auto; }
  .ce-dial { display: flex; }
}

@media (max-width: 820px) {
  .ce-heroe__cols { grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }
  .ce-chips { grid-template-columns: minmax(0, 1fr); width: calc(100% - 2rem); margin-top: -1.6rem; }
  .ce-heroe__foto img { aspect-ratio: 1600 / 873; border-radius: 22px; }
  .ce-heroe__foto::before { width: 100px; height: 100px; left: -20px; top: -20px; }
  .ce-heroe__foto::after { width: 70px; height: 70px; right: -14px; }
  .ce-indice__l { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  :root { --ce-cab: 64px; }
  body { font-size: 1.02rem; }
  .ce-logo__nom { font-size: 1.25rem; }
  .ce-logo__chip { width: 38px; height: 38px; }
  .ce-cab__btns .ce-btn { padding: 0.5rem 0.9rem; font-size: 0.88rem; }
  .ce-heroe { text-align: left; }
  .ce-heroe__in { align-items: flex-start; }
  .ce-h1::after { margin-left: 0; }
  .ce-heroe__btns { justify-content: flex-start; }
  .ce-heroe__btns .ce-btn,
  .ce-cta .ce-btn { width: 100%; }
  .ce-sec { padding: 1.15rem; border-radius: 20px; }
  .ce-pie__btns { width: 100%; }
  .ce-pie__btns .ce-btn { width: 100%; }
  .ce-pie { padding-bottom: 80px; }
}
