:root {
  --bg: #05070d;
  --blue: #4f6bff;
  --strip: #14284f;
  --text: #fff;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --sans: "Inter", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
  background: var(--bg);
  font-family: var(--sans);
  color: var(--text);
  scroll-behavior: smooth;
}

.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--bg);
}

/* ---------- PANELES ---------- */
.panels {
  position: absolute;
  inset: 0 0 44px 0;
  display: flex;
}
.panel {
  position: relative;
  flex: 1 1 0;
  overflow: hidden;
  cursor: pointer;
  transition: flex-grow 0.6s cubic-bezier(0.7, 0, 0.2, 1);
  border-left: 1px solid rgba(255, 255, 255, 0.04);
}
.panel:first-child {
  border-left: 0;
}
.panel.active {
  flex-grow: 2.2;
}

.panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.9);
  transition:
    filter 0.6s,
    transform 0.8s;
}
.panel.active img {
  filter: brightness(0.85) saturate(1);
  transform: scale(1.04);
}
/* degradado oscuro inferior */
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(5, 7, 13, 0.45) 0%,
    transparent 25%,
    transparent 55%,
    rgba(5, 7, 13, 0.95) 100%
  );
}
.panel__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 2;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  padding: 0 8px;
}
.panel__label b {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
  margin-right: 6px;
}

/* ---------- NAV SUPERIOR ---------- */
.top {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(24px + env(safe-area-inset-top, 0px)) clamp(16px, 5vw, 64px) 0;
  pointer-events: none;
}
.top > * {
  pointer-events: auto;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}
.brand img {
  display: block;
  width: clamp(150px, 20vw, 220px);
  height: auto;
}
.icons {
  display: flex;
  gap: 14px;
}
.icons a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  opacity: 0.85;
  transition: 0.2s;
}
.icons a:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.icons svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

/* ---------- CTAs ---------- */
.cta {
  position: absolute;
  z-index: 5;
  left: clamp(16px, 5vw, 64px);
  bottom: 110px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  font: 600 14px var(--sans);
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  transition: 0.25s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--blue);
  box-shadow: 0 0 28px rgba(79, 107, 255, 0.55);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(79, 107, 255, 0.8);
}
.btn--ghost {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: #fff;
  color: #000;
}

/* ---------- FRANJA MARQUEE ---------- */
.strip {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44px;
  background: var(--strip);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.strip__track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.strip__track i {
  font-style: normal;
  opacity: 0.4;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .panel__label {
    font-size: 10px;
    letter-spacing: 0.1em;
  }
  .panel.active {
    flex-grow: 3;
  }
}
@media (max-width: 700px) {
  .panels {
    flex-direction: column;
  }
  .panel {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .panel:first-child {
    border-top: 0;
  }
  .panel.active {
    flex-grow: 3;
  }
  .panel__label {
    bottom: 50%;
    transform: translateY(50%);
  }
  .cta {
    bottom: 70px;
    right: 76px; /* deja espacio al botón flotante */
  }
  .btn {
    padding: 12px 20px;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .strip__track {
    animation: none;
  }
  .panel,
  .panel img {
    transition: none;
  }
}


@media (max-width: 700px) {
  /* ...lo que ya tienes... */

  .panel__img--sobre-mi {
    object-position: center 15%;
  }
}