:root {
  --bg: #040706;
  --bg-soft: #09120f;
  --panel: #0d1713;
  --text: #edf2ef;
  --text-soft: #b8c4bd;
  --accent: #72f8a4;
  --accent-strong: #a7ffca;
  --border: rgba(114, 248, 164, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% -10%, rgba(114, 248, 164, 0.16), transparent 42%),
    radial-gradient(circle at 85% 8%, rgba(79, 255, 164, 0.12), transparent 35%),
    var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(4, 7, 6, 0.86);
  border-bottom: 1px solid rgba(114, 248, 164, 0.12);
}

.nav {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand {
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 44px;
  max-width: min(180px, 40vw);
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.94rem;
}

.nav-links a:hover {
  color: var(--accent);
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(10, 18, 15, 0.72), rgba(10, 18, 15, 0.3));
}

.hero-grid,
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
}

.hero-content,
.hero-visual,
.about-content,
.about-visual,
.release-card {
  min-width: 0;
}

.eyebrow {
  color: var(--accent);
  letter-spacing: .14rem;
  text-transform: uppercase;
  font-size: .76rem;
  margin: 0 0 14px;
}

.hero-logo {
  display: block;
  width: min(100%, 420px);
  max-width: 100%;
  min-width: 0;
  height: auto;
  margin: 10px 0 16px;
  object-fit: contain;
}

.hero-role {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
}

p {
  margin: 0 0 10px;
  color: var(--text-soft);
  line-height: 1.7;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
}

h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.hero-actions,
.release-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 16px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
}

.button-primary {
  background: var(--accent);
  color: #032012;
}

.button-ghost {
  border-color: var(--border);
  color: var(--text);
}

.hero-visual,
.about-visual {
  background: rgba(8, 15, 12, 0.7);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 12px;
  overflow: hidden;
}

.hero-photo,
.about-photo {
  width: 100%;
  height: clamp(280px, 44vw, 520px);
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
}


.hero-quick-links {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(8, 15, 12, 0.66);
}

.hero-quick-title {
  margin: 0;
  font-size: 1rem;
  letter-spacing: .08rem;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-quick-text {
  margin: 8px 0 12px;
}

.hero-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.hero-quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(13, 23, 19, 0.75);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
}

.hero-quick-link:hover {
  border-color: rgba(114, 248, 164, 0.5);
  background: rgba(16, 29, 23, 0.9);
}

/* ── Mobile landing card ──────────────────────────── */
.hero-mobile-card {
  display: none;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-avatar {
  width: min(160px, 42vw);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  border: 1px solid rgba(114, 248, 164, 0.3);
  box-shadow: 0 0 0 6px rgba(114, 248, 164, 0.07), 0 20px 48px rgba(0, 0, 0, 0.5);
  margin-bottom: 18px;
}

.hero-mobile-name {
  font-size: clamp(2.4rem, 10vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0 0 6px;
  color: var(--text);
  text-transform: uppercase;
  line-height: 1;
}

.hero-mobile-role {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin: 0 0 26px;
}

.hero-platform-list {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 360px;
}

.hero-platform-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(13, 23, 19, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.hero-platform-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(114, 248, 164, 0.55);
  background: rgba(18, 35, 27, 0.95);
}

.hero-platform-btn--primary {
  background: var(--accent);
  color: #032012;
  border-color: var(--accent);
  font-weight: 700;
}

.hero-platform-btn--primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #032012;
}

.chips {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 15px;
  font-size: .92rem;
}

.releases-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.release-card {
  background: rgba(13, 23, 19, 0.7);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
}

.release-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  margin-bottom: 12px;
}

.release-card p {
  flex-grow: 1;
}

.tag {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: .78rem;
  letter-spacing: .08rem;
}

.feature-box {
  max-width: 860px;
  margin-inline: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  background: rgba(8, 15, 12, 0.7);
}

.press-list {
  margin: 12px 0 22px;
  padding-left: 20px;
  color: var(--text-soft);
  line-height: 1.7;
}

.mail {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid rgba(114, 248, 164, 0.12);
  background: rgba(4, 7, 6, 0.92);
  padding: 24px 0 32px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.back-to-top {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--accent);
  color: #032012;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
}

.button:hover,
.chip:hover,
.back-to-top:hover {
  transform: translateY(-1px);
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}

@media (max-width: 1024px) {
  .releases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {

  /* Nav compacto — ocultar links de sección en mobile */
  .nav {
    min-height: 56px;
    flex-direction: row;
    padding: 0;
  }

  .nav-links {
    display: none;
  }

  /* Hero: mostrar mobile-card, ocultar desktop-grid */
  .hero-desktop-only {
    display: none;
  }

  .section-hero {
    padding: 0;
  }

  .hero-mobile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    min-height: calc(100svh - 56px);
    padding: 28px 24px 40px;
    animation: fadeSlideUp 0.55s ease both;
  }

  /* Resto del sitio */
  .hero-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .releases-grid {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    width: min(100%, 360px);
  }

  .hero-photo,
  .about-photo {
    height: clamp(260px, 64vw, 440px);
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1120px, calc(100% - 28px));
  }

  .section {
    padding: 58px 0;
  }

  .button {
    width: 100%;
  }

  .hero-quick-links {
    padding: 14px;
  }

  .hero-quick-grid {
    grid-template-columns: 1fr;
  }
}


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

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(117, 255, 163, 0.9);
  outline-offset: 4px;
}