: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;
}
/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 170px;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 520px;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.pill-group {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

.btn {
  background: #000;
  color: #fff;
  border-radius: 300px;
  padding: 14px 28px;
  font-weight: 600;
}

.btn2 {
  background: #fff;
  color: #000;
  border: 2px solid #000;
  border-radius: 300px;
  padding: 14px 28px;
  font-weight: 600;
}

/* ================= VALUE SECTION ================= */
.value-section {
  padding: 60px 24px 0px;
  text-align: center;
}

.section-title {
  font-size: clamp(2.8rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 18px;
}


.section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: auto;
}

/* ================= CORE OFFER ================= */
.core-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 32px;
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px;
}

.core-card {
  background: #e6e7ef;
  border: 1.5px solid #c8d1dc;
  border-radius: 18px;
  padding: 34px 32px;

  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.core-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}




.core-icon {
  width: 200px;
  height: 100px;
  margin-bottom: 20px;

  background-size: 270px;
  background-repeat: no-repeat;
  background-position: center;

  
  margin: 0 auto 20px auto; /* ← clave */
  
}



.core-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.core-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 22px;
}

.core-link {
  font-size: 0.95rem;
  font-weight: 700;
}

.core-link:hover {
  text-decoration: underline;
  
}

.core-icon.ea { background-image: url("Fotos/ea.png"); }
.core-icon.training { background-image: url("Fotos/learning.png"); }
.core-icon.mentorship { background-image: url("Fotos/mentoria.png"); }

/* ================= MAIN EXPERT ADVISORS ================= */


.needs-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.6px;
  margin-bottom: 20px;
}

.needs-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.need-card {
  background: #e6e7ef;
  border-radius: 20px;  
  align-items: center;
  border: 1px solid #d2dce8;
  
  
}

.need-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}



.need-media {
  width: 100%;
  height: 130px;
  border-radius: 16px;
  margin-bottom: 0px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}



.need-media.sp500 { background-image: url("Fotos/sp500ok.png"); }
.need-media.nas100 { background-image: url("Fotos/nasok.png"); }
.need-media.dax40 { background-image: url("Fotos/Nikkei.png"); }
.need-media.fr40 { background-image: url("Fotos/UK100.png"); }
.need-media.eth { background-image: url("Fotos/ethok.png"); }

.need-media {
 
  border: 1px solid #ccc;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    inset 0 -1px 0 rgba(0,0,0,0.05),
    0 6px 18px rgba(0,0,0,0.06);
}

/* ================= IMAGE CARD ================= */
.image-card-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 24px;
}

.image-card-container {
  position: relative;
  height: 300px;
  border-radius: 28px;
  overflow: hidden;
  background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee");
  background-size: cover;
  background-position: center;
}

.image-card {
  position: absolute;
  left: 56px;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  border-radius: 22px;
  padding: 20px 44px;
  max-width: 420px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.18);
}

.image-card h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.image-card p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 18px;
  line-height: 1.6;
}

.card-btn {
  display: inline-block;
  background: var(--accent);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
}

.footer {
  width: 100%;
  font-size: 0.9rem;
}

/* ================= FRANJA SUPERIOR ================= */

.footer-top {
  background: #2f3a44;
  color: #eaeaea;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-nav a {
  color: #d6dbe0;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  transition: opacity 0.2s ease;
}

.footer-nav a:hover {
  opacity: 0.7;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 30px;
  height: 30px;
  background: #4a5560;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 4px;
  font-size: 0.75rem;
  opacity: 0.85;
}

.footer-social a:hover {
  opacity: 1;
}

/* ================= FRANJA LEGAL ================= */

.footer-bottom {
  background: #f5f5f5;
  color: #444;
  padding: 25px 20px;
  border-top: 1px solid #ddd;
}

.footer-bottom .copyright {
  text-align: center;
  margin-bottom: 10px;
  font-size: 0.8rem;
  color: #666;
  letter-spacing: 0.3px;
}

.footer-legal {
  max-width: 1200px;
  margin: auto;
}
.footer-legal p {
  text-align: justify;
}

.footer-legal h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 28px 0 10px;
  color: #333;
  letter-spacing: 0.4px;
}

.footer-legal p {
  font-size: 0.78rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 14px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .footer-top {
    padding: 32px 16px;
  }

  .footer-bottom {
    padding: 48px 16px;
  }

  .footer-nav {
    gap: 14px;
  }

  .footer-legal {
    padding: 0 8px;
  }
}

.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;
}
