/* EVA Landing v3 - botones y espaciado mejorados */
:root {
  --txt: #fff;
  --muted: rgba(255, 255, 255, .78);
  --muted2: rgba(255, 255, 255, .62);
  --stroke: rgba(255, 255, 255, .18);
  --stroke2: rgba(255, 255, 255, .34);
  --shadow: 0 18px 60px rgba(0, 0, 0, .32);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #0b0f14;
  color: var(--txt);
}

.skip {
  position: absolute;
  left: -999px;
  top: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-weight: 800;
  z-index: 9999;
}

.skip:focus {
  left: 10px;
}

.topbar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 20;
  padding: 22px 26px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0));
}

.topbar__left,
.topbar__right {
  pointer-events: auto;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
  color: var(--txt);
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .10);
  position: relative;
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 9px 12px;
  border-left: 3px solid rgba(255, 255, 255, .88);
  border-radius: 2px;
}

.brand__text {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.05;
  opacity: .95;
  margin-top: 2px;
}

.brand__logo {
  height: 50px;
  width: auto;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .35));
}

.toplink {
  color: var(--txt);
  text-decoration: none;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .02em;
  opacity: .92;
}

.toplink:hover {
  opacity: 1;
  text-decoration: underline;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: #111;
  background-image: url("assets/bg-01.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .60) 0%, rgba(0, 0, 0, .49) 54%, rgba(0, 0, 0, .30) 100%),
    radial-gradient(60% 60% at 24% 32%, rgba(0, 0, 0, .47), transparent 70%),
    linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .31) 100%);
}

.hero__content {
  position: relative;
  z-index: 5;
  padding: 140px 26px 120px 26px;
  /* deja espacio para el pager */
  max-width: 1120px;
  min-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}


.hero__title {
  text-shadow: 0 8px 25px rgba(0, 0, 0, .45);

  margin: 0 0 14px 0;
  font-size: clamp(40px, 5vw, 76px);
  line-height: .92;
  letter-spacing: -0.02em;
  font-weight: 900;
  max-width: 720px;
}

.title-accent{
  color: var(--accent, #0ea5a4);
  position: relative;
}

.title-accent::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:100%;
  height:5px;
  background: var(--accent, #0ea5a4);
  border-radius: 999px;
  opacity: .9;
}

.hero__subtitle {
  margin: 0 0 22px 0;
  font-size: 20px;
  line-height: 1.35;
  color: var(--muted);
  font-weight: 600;
  max-width: 680px;
}

.cta {
  width: auto;
  max-width: 320px;

  background: linear-gradient(135deg, #0ea5a4, #0f766e);
  border: 2px solid rgba(255, 255, 255, .35);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  padding: 0 26px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .28);
  background: rgba(0, 0, 0, .22);
  color: var(--txt);
  font-weight: 900;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .25);
}

.cta:hover {
  background: linear-gradient(135deg, #0f766e, #0b5e59);
}

.cta:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.thumbbar {
  margin-top: auto;
  max-width: 980px;
}

.thumbbar__track {
  scroll-behavior: smooth;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 2px 12px 2px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge legacy */
}

.thumbbar__track::-webkit-scrollbar {
  display: none;
}

.thumbbar__track::-webkit-scrollbar {
  height: 10px;
}

.thumbbar__track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .18);
  border-radius: 999px;
}

.thumb {
  scroll-snap-align: start;
  width: clamp(190px, 20vw, 280px);
  height: clamp(190px, 22vw, 260px);
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, .24);
  background: rgba(233, 229, 229, 0.08);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .22);
  flex: 0 0 auto;
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}

.thumb:hover {
  transform: translateY(-2px);
}

.thumb:focus-visible {
  outline: 3px solid rgb(255, 255, 255);
  outline-offset: 3px;
}

.thumb__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb__label {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  font-weight: 900;
  font-size: 14px;
  text-shadow: 0 6px 16px rgba(255, 255, 255, 0.65);
}

.thumb__chip {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(150deg, #0ea5a4, #339c94);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .06em;
  color: #ffffff;
}

.thumb--active {
  border-color: rgba(255, 255, 255, .52);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .30);
}

.thumb--disabled {
  opacity: .55;
  cursor: not-allowed;
}

.thumb--disabled:hover {
  transform: none;
}

/* Pager inferior - botones más "pro" */
.pager {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 30;

  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 26px;
  pointer-events: none;
}

.pager__line {
  height: 5px;
  flex: 1;
  background: rgba(255, 255, 255, .32);
  border-radius: 999px;
}

.pager__center {
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: auto;
}

/* Botón circular con "glass" y mejor hit-area */
.pager__btn {
  border: 2px solid rgba(255, 255, 255, .35);
  background: rgba(0, 0, 0, .18);

  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .30);
  background: rgba(0, 0, 0, .18);
  color: var(--txt);
  cursor: pointer;
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
  transition: transform .10s ease, background .12s ease, border-color .12s ease;
}

.pager__btn:hover {
  background: rgba(14, 165, 164, .25);

  background: rgba(0, 0, 0, .28);
  border-color: rgba(255, 255, 255, .40);
  transform: translateY(-1px);
}

.pager__btn:active {
  transform: translateY(0px) scale(.98);
}

.pager__btn::before {
  content: "";
  position: absolute;
  inset: -10px;
  /* más área clicable */
  border-radius: 999px;
}

.pager__btn {
  border: 2px solid rgba(255, 255, 255, .35);
  background: rgba(0, 0, 0, .18);

  font-size: 34px;
  line-height: 1;
}

.pager__numwrap {
  min-width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pager__num {
  font-weight: 900;
  font-size: 48px;
  opacity: .95;
}

.topbar__actions{
  display:flex;
  align-items:center;
  gap:18px;
}

/* Botón soporte minimalista */
.btn-support{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.25);
  color:#ffffff;
  font-weight:800;
  font-size:14px;
  text-decoration:none;
  backdrop-filter: blur(6px);
  transition: all .2s ease;
  white-space: nowrap;
}

.btn-support__icon{
  width:18px;      /* ← Aquí controlas el tamaño real */
  height:18px;
  object-fit: contain;
  display:block;
}

.btn-support:hover{
  background: rgba(14,165,164,.85);
  border-color: rgba(14,165,164,1);
  transform: translateY(-1px);
}

.btn-support:focus-visible{
  outline: 3px solid rgba(255,255,255,.6);
  outline-offset: 4px;
}




/* Responsive */

@media (max-width: 520px){
  .btn-support__icon{
    width:20px;
    height:20px;
  }
}

/* Responsive: móvil/tablet */
@media (max-width: 820px){
  .brand__logo{
    height: 45px;
    max-width: 150px;
  }
}

@media (max-width: 520px){
  .brand__logo{
    height: 45px;
    max-width: 120px;
  }
}


@media (max-width: 900px) {
  .toplink {
    font-size: 18px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .cta {
    width: auto;
    max-width: 320px;

    background: linear-gradient(135deg, #0ea5a4, #0f766e);
    border: 2px solid rgba(255, 255, 255, .35);
    font-size: 22px;
    height: 52px;
  }

  .thumb {
    width: clamp(185px, 36vw, 260px);
    height: clamp(145px, 28vw, 200px);
  }

  .pager__btn {
    border: 2px solid rgba(255, 255, 255, .35);
    background: rgba(0, 0, 0, .18);
    width: 52px;
    height: 52px;
  }

  .pager__num {
    font-size: 42px;
  }
}

@media (max-width: 520px) {
  .topbar {
    padding: 18px 16px;
  }

  .hero__content {
    padding: 120px 16px 110px 16px;
  }

  .thumbbar {
    max-width: 100%;
  }

  .pager {
    padding: 0 16px;
  }

  .pager__btn {
    border: 2px solid rgba(255, 255, 255, .35);
    background: rgba(0, 0, 0, .18);
    width: 50px;
    height: 50px;
  }
}

/* Fade edges to hint swipe/scroll */
.thumbbar {
  position: relative;
}

.thumbbar::before,
.thumbbar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 46px;
  pointer-events: none;
  z-index: 2;
}

.thumbbar::before {
  left: -6px;
  background: linear-gradient(90deg, rgba(0, 0, 0, .38), rgba(0, 0, 0, 0));
}

.thumbbar::after {
  right: -6px;
  background: linear-gradient(270deg, rgba(0, 0, 0, .38), rgba(0, 0, 0, 0));
}

.swipehint {
  margin: 10px 0 0 2px;
  color: rgba(255, 255, 255, .72);
  font-weight: 800;
  letter-spacing: .02em;
  display: none;
}

@media (max-width: 820px) {
  .thumbbar {
    max-width: 100%;
  }

  .thumbbar__track {
    scroll-behavior: smooth;
    padding-left: 10vw;
    padding-right: 10vw;
    gap: 18px;
  }

  .thumb {
    width: min(86vw, 420px);
    height: clamp(230px, 62vw, 300px);
    scroll-snap-align: center;
  }

  .swipehint {
    display: block;
  }
}

@media (max-width: 520px) {
  .thumbbar__track {
    scroll-behavior: smooth;
    padding-left: 8vw;
    padding-right: 8vw;
  }

  .thumb {
    width: min(88vw, 380px);
    height: clamp(240px, 72vw, 320px);
  }

  .pager__btn {
    width: 58px;
    height: 58px;
  }
}

/* Active glow (institucional) */
.thumb {
  position: relative;
}

.thumb--active {
  border-color: rgba(255, 255, 255, .55);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .40), 0 0 0 1px rgba(14, 165, 164, .35);
}

.thumb--active::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 24px;
  pointer-events: none;
  background: radial-gradient(60% 60% at 50% 30%, rgba(14, 165, 164, .20), rgba(14, 165, 164, 0) 70%);
  filter: blur(2px);
}

/* Focus rings (accesibilidad) */
.cta:focus-visible,
.pager__btn:focus-visible,
.toplink:focus-visible,
.thumb:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .55);
  outline-offset: 4px;
}

.thumb::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .42));
  pointer-events: none;
}

.thumb__label {
  letter-spacing: .01em;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 520px) {
  .cta {
    max-width: 280px;
  }
}

/* ===== Hover Focus UX Premium (Desktop) ===== */

@media (hover: hover) and (pointer: fine){

  /* transición suave */
  .thumb{
    transition: 
      transform .25s cubic-bezier(.4,0,.2,1),
      filter .25s ease,
      opacity .25s ease,
      box-shadow .25s ease;
  }

  /* cuando el mouse entra al carrusel */
  .thumbbar__track:hover .thumb{
    opacity: .55;
    filter: brightness(.75) saturate(.9);
  }

  /* tarjeta activa bajo el mouse */
  .thumbbar__track:hover .thumb:hover{
    opacity: 1;
    filter: brightness(1) saturate(1.05);
    transform: scale(1.08);
    z-index: 5;
    box-shadow:
      0 25px 70px rgba(0,0,0,.45),
      0 0 0 2px rgba(255,255,255,.35);
  }
}


