/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-light: #EDF5F7;
  --bg-dark: #0B1929;
  --text-dark: #0B1929;
  --text-light: #FFFFFF;
  --accent: #2A9AAA;
  --accent-glacier: #7AD4E0;
  --text-secondary: #7ABACC;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Courier New', Courier, monospace;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
}

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

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

/* ===== Layout ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(237, 245, 247, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(42, 154, 170, 0.1);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.2s;
}

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

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-light);
  padding-top: 5rem;
}

.hero-logo {
  width: min(360px, 80vw);
  margin: 0 auto 2rem;
}

.hero h1 {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.hero p {
  font-family: var(--font-mono);
  font-size: clamp(0.875rem, 2vw, 1.1rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: var(--accent);
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  background: #228a99;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--text-light);
}

/* ===== Section: Que es ===== */
.que-es {
  background: #FFFFFF;
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 3rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  padding: 2rem;
  border-radius: 8px;
  background: var(--bg-light);
  border-left: 4px solid var(--accent);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(11, 25, 41, 0.08);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--accent);
}

.card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  color: #4a6a7a;
  line-height: 1.5;
}

/* ===== Section: Para quien ===== */
.para-quien {
  background: var(--bg-dark);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.para-quien .section-title {
  color: var(--text-light);
}

.profiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.profile {
  padding: 2rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(122, 212, 224, 0.15);
}

.profile h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent-glacier);
  margin-bottom: 0.5rem;
}

.profile p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== Section: Eventos ===== */
.eventos {
  background: var(--bg-light);
  text-align: center;
}

.evento-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px dashed var(--accent);
}

.evento-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.evento-card p {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* ===== Section: Unete ===== */
.unete {
  background: #FFFFFF;
  text-align: center;
}

.unete p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 154, 170, 0.2);
}

.social-link--discord {
  background: var(--accent);
  color: var(--text-light);
}

.social-link--linkedin {
  background: var(--bg-light);
  color: var(--text-dark);
  border: 1px solid rgba(42, 154, 170, 0.3);
}

.social-link--instagram {
  background: var(--bg-light);
  color: var(--text-dark);
  border: 1px solid rgba(42, 154, 170, 0.3);
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 3rem 0;
  text-align: center;
}

.footer-logo {
  width: 140px;
  margin: 0 auto 1.5rem;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-social a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--accent-glacier);
}

.footer-social svg {
  width: 24px;
  height: 24px;
}

.footer-bottom {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.footer-bottom span {
  display: block;
  margin-top: 0.25rem;
}

/* ===== Mountain Divider ===== */
.mountain-divider {
  width: 100%;
  height: 60px;
  display: block;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  section {
    padding: 3.5rem 0;
  }

  .nav-links {
    gap: 1.25rem;
  }

  .nav-links a {
    font-size: 0.8rem;
  }

  .cards,
  .profiles {
    grid-template-columns: 1fr;
  }

  .social-links {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 90vh;
  }
}
