/* =========================================================
   ExpoTech 2026 — style.css
   Tema oscuro elegante · Paleta: granate + dorado
   ========================================================= */

:root {
  --bg: #120608;
  --bg-alt: #170a0c;
  --surface: #1c0f12;
  --surface-2: #271519;
  --border: #3d2228;

  --garnet: #9c2b3d;
  --garnet-deep: #6e1c2a;
  --garnet-soft: rgba(156, 43, 61, 0.18);
  --gold: #cda45e;
  --gold-soft: rgba(205, 164, 94, 0.15);

  --text: #f6ece4;
  --text-muted: #b9a99d;
  --text-dim: #7d6b62;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;

  --shadow-glow: 0 0 0 1px var(--border), 0 20px 60px -20px rgba(156, 43, 61, 0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
select {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-accent {
  color: var(--gold);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.eyebrow--center {
  display: flex;
  justify-content: center;
  text-align: center;
}

.eyebrow__dot {
  font-size: 0.5rem;
  color: var(--gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--garnet), var(--garnet-deep));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(156, 43, 61, 0.55);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(205, 164, 94, 0.45);
}

.btn--ghost {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.btn--block {
  width: 100%;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(18, 6, 8, 0.8);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--garnet-soft);
  color: var(--gold);
  border: 1px solid var(--border);
}

.brand__text {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
}

.brand__year {
  color: var(--gold);
  margin-left: 4px;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
  position: relative;
}

.nav__link:hover {
  color: var(--text);
}

.nav__cta {
  margin-left: 8px;
}

.nav__toggle {
  display: none;
  color: var(--text);
  font-size: 1.3rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 20%, transparent 75%);
  opacity: 0.5;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.hero__desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat__num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold);
}

.stat__label {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot--red {
  background: #ff5f56;
}

.dot--yellow {
  background: #ffbd2e;
}

.dot--green {
  background: #27c93f;
}

.terminal__title {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.terminal__body {
  padding: 24px 20px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  min-height: 220px;
}

.prompt {
  color: var(--gold);
}

.cursor {
  animation: blink 1s step-end infinite;
  color: var(--gold);
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.terminal__log {
  color: var(--text-dim);
  margin-top: 12px;
}

.terminal__log--ok {
  color: var(--gold);
}

.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 16px;
}

.section__desc {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 56px;
}

.speakers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.speaker-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.speaker-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px -12px rgba(205, 164, 94, 0.5);
}

.speaker-card--featured {
  box-shadow: 0 0 0 1px var(--gold);
}

.speaker-card__photo {
  width: 92px;
  height: 92px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
}

.speaker-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.speaker-card__role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 14px;
}

.speaker-card__bio {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.speaker-card__social {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.speaker-card__social a {
  color: var(--text-dim);
  transition: color 0.15s ease;
  font-size: 1rem;
}

.speaker-card__social a:hover {
  color: var(--gold);
}

.inscripcion {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.info-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.info-list i {
  color: var(--gold);
  width: 18px;
}

.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-glow);
}

.form__group {
  margin-bottom: 20px;
}

.form__group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form__group input,
.form__group select {
  width: 100%;
  padding: 13px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.15s ease;
}

.form__group input::placeholder {
  color: var(--text-dim);
}

.form__group input:focus,
.form__group select:focus {
  border-color: var(--garnet);
  outline: none;
}

.form__group select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9'><path d='M1 1l6 6 6-6' stroke='%23B9A99D' stroke-width='1.6' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form__group.is-invalid input,
.form__group.is-invalid select {
  border-color: #ff5f56;
}

.footer {
  background: var(--bg-alt);
  padding: 64px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 320px;
}

.footer__col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: var(--text);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col li {
  color: var(--text-muted);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__col i {
  color: var(--gold);
  width: 16px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: all 0.15s ease;
}

.footer__social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
}

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }

  .speakers {
    grid-template-columns: 1fr;
  }

  .inscripcion {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav__cta {
    margin-left: 0;
  }

  .nav__toggle {
    display: block;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .section {
    padding: 64px 0;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero__stats {
    gap: 24px;
  }

  .form {
    padding: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}