:root {
  --bg-main: #f8f8f8;
  --bg-soft: #ffffff;  
  --border: #e5e5e5;  
  --text-main: #000;
  --text-muted: rgb(68, 68, 68);
  --accent: rgb(0, 200, 150);
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, sans-serif;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

/* NAVBAR */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header strong {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.4px;
}

nav a {
  margin-left: 32px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

nav a:hover {
  color: var(--text-main);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo img {
  height: 28px;
}

.logo strong {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.4px;
}

/* BUTTONS */
.btn-primary,
.btn-secondary {
  padding: 12px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-secondary {
  border: 1.5px solid #000;
  background: transparent;
}

/* COURSE */
.course-highlight {
  padding: 64px 32px;
}

.course-card {
  max-width: 1250px;
  margin: auto;
  background: #fff;
  border-radius: 28px;
  padding: 56px 64px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.06);
}

.course-left h2 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.course-lead {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.course-content {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #eee;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.course-points li {
  list-style: none;
  padding-left: 22px;
  position: relative;
  margin-bottom: 12px;
}

.course-points li::before {
  content: "—";
  position: absolute;
  left: 0;
}

/* VIDEO */
.video-mock {
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

/* COURSE ACTIONS */
.course-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.course-language {
  display: flex;
  align-items: center;
  gap: 10px;
}

.course-language label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #666;
}

.course-language select {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1.5px solid #000;
  font-size: 0.85rem;
  background: #fff;
  cursor: pointer;
}

/* MENTORSHIP */
.mentorship-highlight {
  padding: 64px 32px;
}

.mentorship-card {
  max-width: 1250px;
  margin: auto;
  background: #fff;
  border-radius: 28px;
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.05);
}

.image-mock {
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.select-block {
  margin: 24px 0;
}

.select-block label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.select-block select {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #ccc;
}

.mentorship-actions {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.mentorship-info ul {
  padding-left: 20px;   /* ajusta si quieres más o menos */
  margin-left: 0;
  list-style-position: inside;
}

/* ================= FOOTER ================= */

.footer {
  background: #f5f5f5;
  border-top: 1px solid #ddd;
  padding: 50px 0;
}

/* 🔥 Hacemos el bloque más ancho */
.footer .legal-text {
  max-width: 1200px;      /* antes 1100 */
  margin: 0 auto;
  padding: 0 10px;        /* menos padding lateral */
  text-align: justify;    /* 🔥 justificar */
  text-justify: inter-word;
}

/* copyright centrado */
.footer .copyright {
  text-align: center;
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 30px;
}

/* párrafos */
.footer .legal-text p {
  font-size: 0.78rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 18px;
}


/* RESPONSIVE */
@media (max-width: 1000px) {
  .course-content,
  .mentorship-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .mentorship-left {
    display: none;
  }
}

.auth-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.auth-box {
  background: #ffffff;
  padding: 40px;
  border-radius: 22px;
  width: 360px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  animation: fadeInScale 0.25s ease;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.auth-box h3 {
  font-size: 1.6rem;
  font-weight: 700;
}

.auth-box input {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
}

.auth-box input:focus {
  outline: none;
  border-color: var(--accent);
}

.auth-buttons button {
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: #000;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.auth-buttons button:hover {
  opacity: 0.85;
}

.auth-toggle-text {
  text-align: center;
  font-size: 0.95rem;
  margin-top: 8px;
}

.register-pill {
  background: var(--accent);
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 600;
  margin-left: 6px;
}

.close-btn {
  background: transparent;
  border: none;
  color: #666;
  margin-top: 10px;
  cursor: pointer;
  text-align: center;
}
