/* =========================
   Paleta editable (cambia aquí)
   ========================= */
:root{
  --bg: #0b1220;
  --surface: #0f1a2e;
  --surface-2: #101f38;
  --text: #eaf0ff;
  --muted: rgba(234,240,255,.78);
  --muted-2: rgba(234,240,255,.60);

  --primary: #5dd6c6;     /* acento principal */
  --primary-2: #7aa7ff;   /* acento secundario */
  --warning: #ffd28a;

  --border: rgba(234,240,255,.12);
  --shadow: 0 14px 40px rgba(0,0,0,.28);

  --radius: 18px;
  --radius-sm: 12px;

  --container: 1120px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 20% -10%, rgba(93,214,198,.22), transparent 60%),
              radial-gradient(900px 700px at 110% 10%, rgba(122,167,255,.18), transparent 55%),
              var(--bg);
  color: var(--text);
}

a{ color: inherit; }
.container{
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,18,32,.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: .9rem 0;
  gap: 1rem;
}
.brand{
  display:flex;
  align-items:center;
  gap:.7rem;
  text-decoration:none;
}
.brand-mark{
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
}
.brand-name{
  font-weight: 700;
  letter-spacing: .2px;
}
.nav{
  display:flex;
  gap: 1rem;
  align-items:center;
}
.nav a{
  text-decoration:none;
  color: var(--muted);
  font-weight: 500;
  font-size: .95rem;
  padding: .4rem .5rem;
  border-radius: 10px;
}
.nav a:hover{
  background: rgba(234,240,255,.06);
  color: var(--text);
}

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

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding: .9rem 1.05rem;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .06s ease, background .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn:active{ transform: translateY(1px); }
.btn-sm{ padding: .6rem .85rem; border-radius: 12px; font-size: .95rem; }
.btn-block{ width: 100%; }
.btn-primary{
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #06111f;
}
.btn-primary:hover{ filter: brightness(1.02); }
.btn-ghost{
  background: rgba(234,240,255,.06);
  border-color: rgba(234,240,255,.10);
  color: var(--text);
}
.btn-ghost:hover{ background: rgba(234,240,255,.09); }
.btn-outline{
  background: transparent;
  border-color: rgba(234,240,255,.18);
  color: var(--text);
}
.btn-outline:hover{ background: rgba(234,240,255,.06); }

/* Sections */
.section{
  padding: 4.2rem 0;
}
.section.alt{
  background: rgba(255,255,255,.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
}
.section-head h2{
  margin: 0;
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem);
}
.section-head p{
  margin: 0;
  max-width: 62ch;
}

/* Hero */
.hero{
  padding: 4.2rem 0 2.8rem;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
}
.eyebrow{
  margin: 0 0 .6rem 0;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .2px;
}
.hero h1{
  margin: 0 0 .9rem 0;
  font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem);
  line-height: 1.08;
}
.lead{
  margin: 0 0 1.2rem 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.6;
}
.cta-row{
  display:flex;
  gap: .9rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}
.cred{
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(234,240,255,.12);
  border-radius: var(--radius);
  background: rgba(15,26,46,.55);
  color: var(--muted);
  line-height: 1.55;
}

/* Chips */
.chips{
  list-style:none;
  padding: 0;
  margin: 1rem 0 0 0;
  display:flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.chips li{
  padding: .45rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(234,240,255,.14);
  background: rgba(234,240,255,.06);
  color: var(--muted);
  font-weight: 600;
  font-size: .86rem;
}

/* Cards */
.card{
  border-radius: var(--radius);
  border: 1px solid rgba(234,240,255,.12);
  background: rgba(15,26,46,.72);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.2rem;
}
.card.soft{
  box-shadow: none;
  background: rgba(15,26,46,.45);
}
.hero-card .card{ position: sticky; top: 84px; }
@media (max-width: 980px){
  .hero-card .card{ position: static; }
}
.card-title{
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
}
.card-row{
  display:flex;
  justify-content:space-between;
  gap: 1rem;
  padding: .45rem 0;
}
.label{
  color: var(--muted-2);
  font-weight: 600;
}
.value a{ color: var(--text); text-decoration: none; }
.value a:hover{ text-decoration: underline; }
.divider{
  height: 1px;
  background: rgba(234,240,255,.10);
  margin: .8rem 0;
}
.card-actions{
  display:flex;
  flex-direction:column;
  gap:.6rem;
  margin-top: 1rem;
}
.note{
  margin: 1rem 0 0 0;
  color: var(--muted-2);
  font-size: .9rem;
  line-height: 1.5;
}

/* Grids */
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 980px){
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
}

/* Feature cards */
.feature{
  border: 1px solid rgba(234,240,255,.12);
  border-radius: var(--radius);
  background: rgba(16,31,56,.55);
  padding: 1.2rem 1.2rem;
}
.feature h3{
  margin: 0 0 .6rem 0;
  font-size: 1.15rem;
}
.feature p{
  margin: 0 0 .9rem 0;
  color: var(--muted);
  line-height: 1.55;
}

/* Checklist */
.checklist{
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}
.checklist li{ margin: .45rem 0; }

/* Callout */
.callout{
  margin-top: 1.4rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  padding: 1.2rem 1.2rem;
  border: 1px solid rgba(234,240,255,.12);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(93,214,198,.12), rgba(122,167,255,.10));
}
.callout h3{ margin: 0 0 .25rem 0; }
.callout p{ margin: 0; }

/* Notice */
.notice{
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,210,138,.20);
  background: rgba(255,210,138,.08);
  color: var(--muted);
  line-height: 1.55;
}

/* Links */
.link{
  display:inline-block;
  margin-top: .6rem;
  color: var(--text);
  text-decoration:none;
  font-weight: 600;
}
.link:hover{ text-decoration: underline; }

/* Map */
.map{
  margin-top: 1.2rem;
}
.map-inner{
  border: 1px dashed rgba(234,240,255,.16);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  background: rgba(15,26,46,.35);
}

/* FAQ */
.faq details{
  border: 1px solid rgba(234,240,255,.12);
  border-radius: var(--radius);
  background: rgba(15,26,46,.45);
  padding: 1rem 1.1rem;
  margin-bottom: .8rem;
}
.faq summary{
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}
.faq p{
  margin: .7rem 0 0 0;
  color: var(--muted);
  line-height: 1.55;
}

/* Footer */
.site-footer{
  padding: 2.2rem 0 3rem;
  border-top: 1px solid var(--border);
}
.footer-inner{
  display:flex;
  justify-content:center;
  text-align:center;
}
.muted{ color: var(--muted); }
.dot{ margin: 0 .35rem; color: var(--muted-2); }
.footer-link{
  color: var(--muted);
  text-decoration:none;
}
.footer-link:hover{ text-decoration: underline; }
