/* =========================================================
   DE LA MENTE — hoja de estilos principal
   ========================================================= */

:root{
  /* Paleta */
  --cream:        #F4F1E9;
  --cream-soft:    #FAF8F3;
  --white:        #FFFFFF;
  --ink:          #17211E;
  --ink-soft:     #4B5350;
  --muted:        #8A8F8B;
  --line:         #E4E0D5;

  --dark:         #0E211D;
  --dark-soft:    #16332C;

  --teal:         #1F6F5C;
  --purple:       #7A63E8;
  --orange:       #EFA23C;
  --pink:         #E4638C;
  --blue:         #3E86C4;

  --mint-card:    #DCEEE4;
  --mint-card-ink:#1F6F5C;
  --lav-card:     #E6E1F7;
  --lav-card-ink: #6952C6;
  --yellow-card:  #FAF0CF;
  --yellow-card-ink:#B8862B;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow-card: 0 10px 30px rgba(23,33,30,.06);
  --shadow-card-hover: 0 16px 40px rgba(23,33,30,.10);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color:var(--ink);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
.container{
  width:100%;
  max-width:1240px;
  margin:0 auto;
  padding:0 32px;
}
h1,h2,h3,h4{
  font-family:'Poppins', 'Inter', sans-serif;
  margin:0;
  line-height:1.15;
  letter-spacing:-0.01em;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--teal);
}
.section-head{
  text-align:center;
  max-width:640px;
  margin:0 auto 48px;
}
.section-head h2{ font-size:34px; margin-top:10px; }
.section-head p{ color:var(--ink-soft); margin-top:14px; font-size:16px; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 26px;
  border-radius:100px;
  font-weight:600;
  font-size:14.5px;
  border:1px solid transparent;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space:nowrap;
}
.btn svg{ width:16px; height:16px; flex-shrink:0; }
.btn-dark{ background:var(--ink); color:var(--white); }
.btn-dark:hover{ background:#000; transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.18); }
.btn-outline{ background:transparent; color:var(--ink); border-color:var(--ink); }
.btn-outline:hover{ background:var(--ink); color:var(--white); transform:translateY(-2px); }
.btn-outline-light{ background:transparent; color:var(--white); border-color:rgba(255,255,255,.55); }
.btn-outline-light:hover{ background:var(--white); color:var(--ink); }
.btn-link{ display:inline-flex; align-items:center; gap:6px; font-weight:600; font-size:14px; color:var(--ink); border-bottom:1px solid var(--ink); padding-bottom:2px; }
.btn-link svg{ width:14px; height:14px; transition:transform .18s ease; }
.btn-link:hover svg{ transform:translateX(3px); }
.btn-sm{ padding:10px 18px; font-size:13px; }

/* =========================== HEADER =========================== */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(244,241,233,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 32px;
}
.logo{ display:flex; align-items:center; gap:10px; }
.logo-mark{ width:36px; height:36px; flex-shrink:0; }
.logo-text{ font-family:'Poppins',sans-serif; font-weight:700; font-size:14px; line-height:1.15; letter-spacing:.02em; }
.logo-text span{ display:block; font-size:16px; }

.main-nav{ display:flex; align-items:center; gap:30px; }
.main-nav a{
  font-size:14.5px; font-weight:500; color:var(--ink); position:relative; padding-bottom:4px;
}
.main-nav a.active::after{
  content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px; background:var(--ink); border-radius:2px;
}
.header-actions{ display:flex; align-items:center; gap:22px; }
.shop-mini{ display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--ink-soft); }
.shop-mini strong{ display:block; font-size:13px; color:var(--ink); font-weight:600; }
.shop-mini svg{ width:20px; height:20px; }
.nav-toggle{ display:none; background:none; border:none; }

/* =========================== HERO =========================== */
.hero{ padding:64px 0 0px; }
.hero-grid{
  display:grid; 
  /* Le damos más espacio a la columna de la derecha (donde va la imagen) */
  grid-template-columns: 1fr 1.3fr; 
  align-items:center; 
  gap:20px;
}
.hero-eyebrow{ font-size:12px; letter-spacing:.16em; color:var(--muted); text-transform:uppercase; margin-bottom:18px; display:block; }
.hero-title { 
  font-size: 84px; 
  font-weight: 800; 
  line-height: 0.9; /* Reducimos el interlineado general */
  color: var(--ink);
}
.hero-title .font-light { 
  display: block; 
  font-size: 46px; 
  font-weight: 400;
  line-height: 1;
  margin-bottom: -10px; /* Como ya quitamos el <br>, esto lo acerca perfecto */
}
.hero-tag{
  display:block; margin-top:18px; font-size:13px; font-weight:600; letter-spacing:.22em; color:var(--ink-soft);
}
.hero-copy{ margin-top:22px; font-size:16.5px; line-height:1.6; color:var(--ink-soft); max-width:420px; }
.hero-actions{ display:flex; gap:14px; margin-top:30px; flex-wrap:wrap; }
.hero-social{ margin-top:56px; }
.hero-social span{ font-size:13px; color:var(--muted); display:block; margin-bottom:12px; }
.social-row{ display:flex; gap:12px; }
.social-row a {
  width: 42px; /* Ligeramente más grandes */
  height: 42px; 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  background: var(--white); 
  border: 1.5px solid var(--ink); /* Borde negro fuerte */
  color: var(--ink); /* Ícono negro */
  transition: all .18s ease;
}
.social-row a:hover { 
  background: var(--ink); 
  color: var(--white); 
  transform: translateY(-2px); 
}
.social-row svg { 
  width: 18px; 
  height: 18px; 
}

.hero-art { 
  position: relative; 
  width: 100%;
  height: 100%; 
  display: block; 
}

.hero-img-free {
  position: absolute; 
  z-index: 2;
  width: 850px !important; 
  max-width: none !important; 
  top: 50%;
  right: -50px; 
  transform: translateY(-50%); 
  display: block;
  pointer-events: none;
}
.hero-nodes-bg {
  position: absolute;
  inset: -80%; /* Lo hacemos gigante para que no se corten los bordes al moverse */
  z-index: 1;
  /* Resplandor + SVG de nodos incrustado directamente */
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(239, 162, 60, 0.15) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='800' height='800' viewBox='0 0 800 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23EFA23C' stroke-width='1.5' stroke-opacity='0.4' fill='none'%3E%3Cpath d='M100 200l200 150l150-100l200 250M300 350l50 200l250-100'/%3E%3Ccircle cx='100' cy='200' r='5' fill='%23EFA23C'/%3E%3Ccircle cx='300' cy='350' r='8' fill='%23EFA23C'/%3E%3Ccircle cx='450' cy='250' r='6' fill='%23EFA23C'/%3E%3Ccircle cx='650' cy='500' r='9' fill='%23EFA23C'/%3E%3Ccircle cx='350' cy='550' r='5' fill='%23EFA23C'/%3E%3Ccircle cx='600' cy='450' r='4' fill='%23EFA23C'/%3E%3Ccircle cx='50' cy='400' r='3' fill='%23EFA23C'/%3E%3Cpath d='M50 400l250-50' stroke-dasharray='4 4'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80% 80%;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.1s ease-out; /* Suaviza el movimiento */
  will-change: transform;
}

/* =========================== ECOSISTEMA =========================== */
.ecosystem{ padding:70px 0 90px; }

/* Expandimos el contenedor solo para esta sección para usar el espacio a los lados */
.ecosystem .container {
  max-width: 1380px; 
}

.ecosystem-grid { 
  display: grid; 
  /* Le damos todavía más espacio a las tarjetas frente al texto */
  grid-template-columns: 0.9fr 3fr; 
  gap: 24px; /* Reducimos ligeramente el hueco entre tarjetas para que ganen anchura */
  align-items: start; 
}
.ecosystem-intro h2{ font-size:30px; margin-top:12px; }
.ecosystem-intro p{ margin-top:16px; color:var(--ink-soft); font-size:15.5px; line-height:1.6; max-width:340px; }
.ecosystem-intro .btn-link{ margin-top:22px; }

.card-row{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
.eco-card {
  background: var(--white);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 32px 18px; 
  box-shadow: 0 10px 40px rgba(23,33,30, 0.04);
  transition: box-shadow .2s ease, transform .2s ease;
  display: flex;
  flex-direction: column;
  align-items: center; 
  text-align: center;
}
.eco-card:hover { 
  box-shadow: 0 16px 50px rgba(23,33,30, 0.08); 
  transform: translateY(-4px); 
}
.eco-icon { 
  width: 64px;
  height: 64px; 
  margin-bottom: 24px; 
  display: block; 
}
.eco-icon--teal{ color:var(--teal); }
.eco-icon--purple{ color:var(--purple); }
.eco-icon--orange{ color:var(--orange); }
.eco-icon--pink{ color:var(--pink); }
.eco-icon--blue{ color:var(--blue); }
.icon-badge{
  width:46px; height:46px; border-radius:14px; display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.icon-badge svg{ width:24px; height:24px; }
.eco-card h3{ font-size:16px; margin-bottom:8px; }
.eco-card p{ font-size:13.5px; color:var(--ink-soft); line-height:1.55; margin-bottom:24px; min-height:60px; }
.eco-card .btn-link{ font-size:13px; margin-top:auto; }

/* =========================== SERVICIOS =========================== */
.services{ padding:70px 0 90px; background:var(--white); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.service-icons{
  display:grid; grid-template-columns:repeat(7,1fr); gap:10px; max-width:1000px; margin:0 auto 46px;
}
.service-item{ text-align:center; padding:18px 8px; border-radius:var(--radius-md); transition:background .18s ease; }
.service-item:hover{ background:var(--cream); }
.service-icon-circle{
  width:56px; height:56px; margin:0 auto 14px; border-radius:50%; background:var(--cream);
  display:flex; align-items:center; justify-content:center; border:1px solid var(--line);
}
.service-icon-circle svg{ width:24px; height:24px; color:var(--ink); }
.service-item h4{ font-size:13.5px; font-weight:600; line-height:1.35; }
.services .btn-row{ text-align:center; }

/* =========================== ENFOQUE (dark) =========================== */
.approach{ background:var(--dark); color:var(--white); padding:74px 0; }
.approach .eyebrow{ color:#8FD4BE; justify-content:center; width:100%; }
.approach .section-head{ max-width:720px; }
.approach .section-head h2{ color:var(--white); }
.approach-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:0; margin-top:36px; }
.approach-col{
  display:flex; align-items:flex-start; gap:16px;
  padding:0 32px; border-left:1px solid rgba(255,255,255,.16);
}
.approach-col:first-child{ border-left:none; padding-left:0; }
.approach-col:last-child{ padding-right:0; }
.approach-icon { width: 56px; height: 56px; flex-shrink: 0; margin-top: 0px; }
.approach-icon--green{ color:#7FDCA6; }
.approach-icon--purple{ color:#B7A6F2; }
.approach-icon--blue{ color:#7EC1E8; }
.approach-col h3{ font-size:13px; letter-spacing:.08em; text-transform:uppercase; margin-bottom:8px; color:#EDEBE2; }
.approach-col p{ font-size:13.5px; line-height:1.6; color:#B7C2BE; }

/* =========================== QUIENES SOMOS =========================== */
.about{ padding:90px 0; }
.about-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:56px; align-items:center; }
.about-copy .eyebrow{ margin-bottom:16px; }
.about-copy h2{ font-size:32px; }
.about-copy p{ margin-top:18px; color:var(--ink-soft); font-size:15.5px; line-height:1.65; max-width:400px; }
.about-copy .btn{ margin-top:26px; }
.video-frame{
  position:relative; border-radius:var(--radius-lg); overflow:hidden; aspect-ratio:16/10.5;
  background:linear-gradient(150deg,#2a2320,#141313 60%);
}
.video-frame img.fill,
.video-frame .fill-gradient{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.fill-gradient{
  background:
    radial-gradient(circle at 75% 15%, rgba(239,162,60,.5), transparent 40%),
    linear-gradient(150deg,#3a2e28,#17140f 70%);
}
.play-btn{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:64px; height:64px; border-radius:50%; background:rgba(255,255,255,.92);
  display:flex; align-items:center; justify-content:center; box-shadow:0 8px 24px rgba(0,0,0,.25);
  transition:transform .2s ease;
}
.video-frame:hover .play-btn{ transform:translate(-50%,-50%) scale(1.08); }
.play-btn svg{ width:22px; height:22px; margin-left:3px; color:var(--ink); }

/* =========================== AYUDARTE HOY =========================== */
.help{ padding:20px 0 90px; }
.help-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.help-card{ border-radius:var(--radius-lg); padding:30px 26px; }
.help-card .icon-badge{ background:rgba(255,255,255,.6); }
.help-card h3{ font-size:18px; margin-bottom:10px; }
.help-card p{ font-size:14px; line-height:1.55; margin-bottom:22px; }
.help-mint{ background:var(--mint-card); color:#0F3A2C; }
.help-mint p{ color:#2E5847; }
.help-mint .icon-badge svg{ color:var(--mint-card-ink); }
.help-lav{ background:var(--lav-card); color:#2C2352; }
.help-lav p{ color:#4B4173; }
.help-lav .icon-badge svg{ color:var(--lav-card-ink); }
.help-yellow{ background:var(--yellow-card); color:#4A3A12; }
.help-yellow p{ color:#6B5A2D; }
.help-yellow .icon-badge svg{ color:var(--yellow-card-ink); }
.help-card .btn{ background:var(--ink); color:var(--white); }

/* =========================== CONTENIDO =========================== */
.content{ padding:20px 0 100px; }
.content-grid{ display:grid; grid-template-columns:1.1fr 1.1fr 1.1fr 1.1fr 1.3fr; gap:18px; align-items:stretch; }
.content-card{
  border-radius:var(--radius-lg); overflow:hidden; background:var(--white); border:1px solid var(--line);
  display:flex; flex-direction:column; transition:box-shadow .2s ease, transform .2s ease;
}
.content-card:hover{ box-shadow:var(--shadow-card-hover); transform:translateY(-4px); }
.content-thumb{ position:relative; aspect-ratio:4/5; }
.content-thumb .fill-gradient{ position:absolute; inset:0; }
.platform-badge{
  position:absolute; top:12px; left:12px; width:26px; height:26px; border-radius:8px;
  background:rgba(0,0,0,.55); display:flex; align-items:center; justify-content:center;
}
.platform-badge svg{ width:14px; height:14px; color:#fff; }
.content-info{ padding:16px 16px 18px; }
.content-info h4{ font-size:13.5px; font-weight:600; line-height:1.4; margin-bottom:8px; }
.content-info .tag{ font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); font-weight:600; }

.newsletter-card{
  background:var(--ink); color:var(--white); border-radius:var(--radius-lg); padding:28px 26px;
  display:flex; flex-direction:column; justify-content:center;
}
.newsletter-card h3{ font-size:17px; margin-bottom:10px; }
.newsletter-card p{ font-size:13px; color:#C7CBC8; margin-bottom:20px; line-height:1.5; }
.newsletter-form{ display:flex; flex-direction:column; gap:10px; }
.newsletter-form input{
  padding:12px 14px; border-radius:100px; border:1px solid rgba(255,255,255,.25); background:rgba(255,255,255,.08);
  color:#fff; font-size:13.5px; outline:none;
}
.newsletter-form input::placeholder{ color:#9AA39F; }
.newsletter-form button{
  padding:12px 14px; border-radius:100px; background:var(--white); color:var(--ink); border:none; font-weight:600; font-size:13.5px;
}
.newsletter-form small{ color:#8B958F; font-size:11.5px; text-align:center; margin-top:4px; }

/* =========================== FOOTER =========================== */
.site-footer{ background:var(--dark); color:#C9D0CC; padding:70px 0 26px; }
.footer-top{ display:grid; grid-template-columns:1.3fr 0.9fr 0.9fr 0.9fr 0.9fr; gap:32px; padding-bottom:36px; border-bottom:1px solid rgba(255,255,255,.12); }
.footer-brand .logo-text{ color:#fff; }
.footer-brand p{ margin-top:16px; font-size:14px; line-height:1.6; max-width:260px; color:#9CA6A1; }
.footer-social{ display:flex; gap:10px; margin-top:20px; }
.footer-social a{ width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; }
.footer-social svg{ width:15px; height:15px; }
.footer-col h5{ color:#fff; font-size:13px; letter-spacing:.06em; text-transform:uppercase; margin-bottom:18px; }
.footer-col ul li{ margin-bottom:11px; font-size:14px; }
.footer-col ul li a:hover{ color:#fff; }
.footer-contact li{ display:flex; align-items:center; gap:10px; }
.footer-contact svg{ width:16px; height:16px; flex-shrink:0; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:22px; font-size:12.5px; color:#8B958F; }
.footer-bottom .legal-links{ display:flex; gap:22px; }

.shop-bar{
  position:sticky; bottom:0; z-index:90; background:var(--dark-soft); color:#fff; border-top:1px solid rgba(255,255,255,.08);
}
.shop-bar-inner{ display:flex; align-items:center; justify-content:space-between; padding:16px 32px; gap:20px; }
.shop-bar-text{ display:flex; align-items:center; gap:14px; }
.shop-bar-text svg{ width:26px; height:26px; color:#EFA23C; flex-shrink:0; }
.shop-bar-text strong{ display:block; font-size:14.5px; }
.shop-bar-text span{ font-size:12.5px; color:#AAB5B0; }

/* =========================== RESPONSIVE =========================== */
@media (max-width: 1080px){
  .card-row{ grid-template-columns:repeat(3,1fr); }
  .service-icons{ grid-template-columns:repeat(4,1fr); }
  .content-grid{ grid-template-columns:repeat(2,1fr); }
  .ecosystem-grid, .about-grid{ grid-template-columns:1fr; }
  .approach-grid, .help-grid{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 760px){
  .main-nav, .header-actions .shop-mini{ display:none; }
  .nav-toggle{ display:block; }
  .hero-grid{ grid-template-columns:1fr; }
  .hero-title{ font-size:44px; }
  .hero-title small{ font-size:30px; }
  .card-row{ grid-template-columns:1fr 1fr; }
  .service-icons{ grid-template-columns:repeat(3,1fr); }
  .content-grid{ grid-template-columns:1fr 1fr; }
  .shop-bar-inner{ flex-direction:column; align-items:flex-start; }
  .footer-top{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; gap:10px; align-items:flex-start; }
}
