:root{
  --max: 1120px;

  /* ✅ TEMA CLARO GLOBAL */
  --bg: #f6f8ff;
  --bg2:#ffffff;

  --surface: rgba(255,255,255,.78);
  --surface2: rgba(255,255,255,.92);
  --line: rgba(15,23,42,.10);

  --ink: #0f172a;
  --muted:#475569;

  /* ✅ PALETA SUMMIT (sin morado) */
  --accent: #3A99C4;       /* principal */
  --accent2:#66B7DA;       /* claro */
  --accent3:#2B86AE;       /* oscuro */
  --accentRGB: 58,153,196; /* para rgba() */

  /* (si quieres conservarlos por compatibilidad, pero ya no se usan en fondos) */
  --brand: #5dd6ff;
  --brand2:#7c5cff;
  --brand3:#12d6a7;

  --shadow: 0 22px 55px rgba(15,23,42,.10);
  --shadow2: 0 12px 26px rgba(15,23,42,.08);
  --r: 22px;

  /* ring alineado al nuevo azul */
  --ring: 0 0 0 4px rgba(var(--accentRGB), .22);

  --containerPad: 18px;
  --sectionPad: 44px;

  --logo: none;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);

  /* ✅ Fondo claro + acentos suaves (sin morado) */
  background:
    radial-gradient(1100px 520px at 12% -10%, rgba(var(--accentRGB), .18), transparent 55%),
    radial-gradient(900px 520px at 92% 0%, rgba(var(--accentRGB), .12), transparent 55%),
    radial-gradient(900px 520px at 50% 110%, rgba(var(--accentRGB), .10), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 55%, var(--bg) 100%);
  line-height: 1.6;
}
a{ color:inherit; text-decoration:none; }
img{ max-width: 100%; height:auto; }
.wrap{ max-width: var(--max); margin: 0 auto; padding: var(--containerPad) 16px; }

:focus-visible{ outline: none; box-shadow: var(--ring); border-radius: 14px; }

/* HEADER */
header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg2), transparent 12%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand{
  display:flex;
  align-items:flex-start;
  gap:12px;
  min-width: auto;
}
.brand img{
  height: 90px;
  width: auto;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(15,23,42,.18))
  saturate(1.15)
  contrast(1.05);
}
.brand b{
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: .2px;
}

/* Botones */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--surface2), transparent 10%);
  font-weight: 900;
  color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease, filter .15s ease;
  white-space: nowrap;
}

/* ✅ Botón primario */
.btn.primary{
  border: 0;
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(var(--accentRGB), .35), 0 4px 12px rgba(15,23,42,.12);

  padding: 14px 22px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .2px;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn.primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(var(--accentRGB), .45), 0 6px 16px rgba(15,23,42,.18);
  filter: brightness(1.05);
}

.btn.ghost{
  background: transparent;
}
.btn.ghost:hover{
  transform: translateY(-1px);
  border-color: rgba(var(--accentRGB), .45);
  background: rgba(var(--accentRGB), .08);
}

/* Tipografía */
h1{
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -1.2px;
  margin: 0 0 14px;
}
h2{
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -.4px;
  margin: 0 0 10px;
}
h3{
  font-size: 18px;
  margin: 0 0 6px;
  letter-spacing: -.1px;
}
p{ margin: 0 0 12px; color: var(--muted); }
.lead{ font-size: 19px; max-width: 110ch; }

/* Kicker / pills */
.kicker{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.70);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow: 0 12px 24px rgba(15,23,42,.06);
}
.pill:before{
  content:"";
  width: 8px; height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 55%, var(--accent3) 100%);
  box-shadow: 0 10px 18px rgba(var(--accentRGB), .25);
}

/* Secciones */
section{ padding: var(--sectionPad) 0; }
.hero{ padding-top: 64px; }

/* Hero box (claro) */
.hero-box{
  border-radius: calc(var(--r) + 10px);
  padding: 22px 28px;
  border: 1px solid var(--line);

  /* ✅ sin morado */
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(var(--accentRGB), .16), transparent 62%),
    radial-gradient(900px 420px at 92% 0%, rgba(var(--accentRGB), .12), transparent 62%),
    radial-gradient(900px 420px at 50% 110%, rgba(var(--accentRGB), .10), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.80) 60%, rgba(255,255,255,.74) 100%);

  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  min-height: auto;
}

/* ✅ Ajuste de espaciado interno del hero */
.hero-box h1{ margin-bottom: 12px; }
.hero-box .lead{ margin-bottom: 14px; }
.hero-box .cta-row{ margin-top: 12px; }

.hero-box:after{
  content:"";
  position:absolute; inset:-2px;

  /* ✅ sin morado */
  background: linear-gradient(
    135deg,
    rgba(var(--accentRGB), .16),
    rgba(var(--accentRGB), .10),
    rgba(var(--accentRGB), .08)
  );
  filter: blur(26px);
  opacity: .35;
  z-index: 0;
  pointer-events:none;
}

.hero-box:before{
  content:"";
  position:absolute;
  right: -8px;
  bottom: -12px;
  width: 210px;
  height: 210px;
  background-image: var(--logo);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .07;
  transform: rotate(-8deg);
  z-index: 0;
  pointer-events:none;
  filter: saturate(1.1);
}

.hero-box > *{ position: relative; z-index: 2; }

.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 18px;
  align-items:center;
}
.micro{
  font-size: 13px;
  color: color-mix(in oklab, var(--muted), transparent 10%);
  margin-top: 10px;
}

/* Wave */
.hero-wave{
  position:absolute;
  left:-2px;
  right:-2px;
  bottom:-2px;
  height: 260px;
  z-index: 1;
  pointer-events:none;
  opacity: .98;
}
.hero-wave svg{
  width: 100%;
  height: 100%;
  display:block;
}

/* Band (claro) */
.band{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  /* ✅ sin morado */
  background:
    radial-gradient(900px 380px at 10% 0%, rgba(var(--accentRGB), .12), transparent 60%),
    radial-gradient(900px 380px at 95% 0%, rgba(var(--accentRGB), .10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.55), transparent);
  position: relative;
  overflow: hidden;
}
.band:before{
  content:"";
  position:absolute;
  left: -40px;
  top: 30px;
  width: 180px;
  height: 180px;
  background-image: var(--logo);
  background-repeat:no-repeat;
  background-size:contain;
  opacity:.05;
  transform: rotate(8deg);
  pointer-events:none;
}

.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.card{
  border-radius: var(--r);
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow2);
  transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
  position: relative;
  overflow: hidden;
}
.card:before{
  content:"";
  position:absolute; inset:-1px;

  /* ✅ sin morado */
  background: linear-gradient(
    135deg,
    rgba(var(--accentRGB), .12),
    rgba(var(--accentRGB), .09),
    rgba(var(--accentRGB), .07)
  );
  opacity: 0;
  transition: opacity .15s ease;
  pointer-events:none;
}
.card > *{ position: relative; z-index: 1; }
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(var(--accentRGB), .45);
  background: rgba(255,255,255,.92);
  box-shadow: 0 22px 45px rgba(15,23,42,.12);
}
.card:hover:before{ opacity: 1; }

.card.soft{
  box-shadow: none;
  background: rgba(255,255,255,.68);
}
.card .small{
  font-size: 12px;
  color: color-mix(in oklab, var(--ink), transparent 35%);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 8px;
}

/* ✅ NUEVO: Sección Pirámide (firma) */
.pyr-section{
  padding: calc(var(--sectionPad) + 10px) 0;

  /* ✅ sin morado */
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(var(--accentRGB), .14), transparent 62%),
    radial-gradient(900px 420px at 85% 0%, rgba(var(--accentRGB), .10), transparent 62%),
    radial-gradient(900px 420px at 50% 110%, rgba(var(--accentRGB), .08), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,.20) 55%, rgba(255,255,255,.30) 100%);
  border-bottom: 1px solid var(--line);
}
.pyr-wrap{
  display:grid;
  grid-template-columns: 1.35fr .90fr; /* ~60/40 */
  gap: 18px;
  align-items: stretch;
  margin-top: 12px;
}
.pyr-intro{
  border-radius: calc(var(--r) + 6px);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow2);
  padding: 18px;
}
.pyr-levels{
  display:grid;
  gap: 12px;
  margin-top: 14px;
}
.lvl{
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow2);
  padding: 14px 14px 12px;
  position: relative;
  overflow: hidden;
}
.lvl:before{
  content:"";
  position:absolute; inset:-1px;

  /* ✅ sin morado */
  background: linear-gradient(
    135deg,
    rgba(var(--accentRGB), .14),
    rgba(var(--accentRGB), .10),
    rgba(var(--accentRGB), .08)
  );
  opacity: .0;
  transition: opacity .15s ease;
  pointer-events:none;
}
.lvl:hover:before{ opacity: .9; }
.lvl > *{ position: relative; z-index: 1; }

.lvl-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.lvl-tag{
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: color-mix(in oklab, var(--ink), transparent 18%);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  white-space: nowrap;
}
.lvl-title{
  font-weight: 950;
  letter-spacing: -.2px;
  margin: 0;
  font-size: 16px;
  color: var(--ink);
}
.lvl p{ margin: 0 0 8px; }
.lvl .sub{
  font-size: 13px;
  color: color-mix(in oklab, var(--muted), transparent 5%);
  margin-bottom: 10px;
}
.bul{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}
.bul li{ margin: 6px 0; }

.pyr-graphic{
  border-radius: calc(var(--r) + 6px);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow2);
  padding: 18px;
  position: relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height: 520px;
}
.pyr-graphic:before{
  content:"";
  position:absolute; inset:-2px;

  /* ✅ sin morado */
  background: linear-gradient(
    135deg,
    rgba(var(--accentRGB), .14),
    rgba(var(--accentRGB), .10),
    rgba(var(--accentRGB), .08)
  );
  filter: blur(26px);
  opacity: .22;
  pointer-events:none;
}
.pyr-graphic > *{ position: relative; z-index: 1; }

/* Pirámide (SVG, figura única) */
.pyr{
  width: min(360px, 100%);
  margin: 0 auto;
}

.pyr-svg{
  width: 100%;
  height: auto;
  display: block;
}

.pyr-label{
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: .8px;
  text-transform: uppercase;
  fill: rgba(7,16,26,.92);
}

.pyr-caption{
  margin: 14px auto 0;
  max-width: 42ch;
  text-align:center;
  font-size: 13px;
  color: color-mix(in oklab, var(--muted), transparent 10%);
}

.pyr-cta{
  margin-top: 16px;
  display:flex;
  flex-direction:column;
  gap: 8px;
  align-items:center;
}
.pyr-cta .micro{ text-align:center; margin:0; }

/* Pilares */
.pillars{
  display:grid;
  gap: 12px;
  margin-top: 16px;
}
.pillar{
  display:flex;
  gap: 12px;
  padding: 18px;
  border:1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow2);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.pillar:hover{
  transform: translateY(-2px);
  border-color: rgba(var(--accentRGB), .45);
  background: rgba(255,255,255,.92);
}
.dot{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  margin-top: 7px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 55%, var(--accent3) 100%);
  box-shadow: 0 12px 22px rgba(var(--accentRGB), .10);
  flex: 0 0 auto;
}

/* Steps */
.steps{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.step{
  border:1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow2);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.step:hover{
  transform: translateY(-2px);
  border-color: rgba(var(--accentRGB), .45);
  background: rgba(255,255,255,.92);
}
.step .n{
  display:inline-block;
  font-weight: 950;
  color: var(--ink);
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 5px 10px;
  font-size: 12px;
  margin-bottom: 10px;
}

/* Why us */
.why{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

/* CTA final */
.final{
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 22px;
  box-shadow: var(--shadow);

  /* ✅ sin morado */
  background:
    radial-gradient(900px 380px at 10% 0%, rgba(var(--accentRGB), .14), transparent 55%),
    radial-gradient(900px 380px at 95% 0%, rgba(var(--accentRGB), .10), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.80));

  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap: 18px;
  position: relative;
  overflow:hidden;
}
.final:before{
  content:"";
  position:absolute; inset:-2px;

  /* ✅ sin morado */
  background: linear-gradient(
    135deg,
    rgba(var(--accentRGB), .14),
    rgba(var(--accentRGB), .10),
    rgba(var(--accentRGB), .08)
  );
  filter: blur(26px);
  opacity: .26;
  pointer-events:none;
}
.final:after{
  content:"";
  position:absolute;
  right: 12px;
  top: 12px;
  width: 64px;
  height: 64px;
  background-image: var(--logo);
  background-repeat:no-repeat;
  background-size:contain;
  opacity:.14;
  pointer-events:none;
}
.final > *{ position: relative; z-index: 1; }
.final ul{ padding-left: 18px; color: var(--muted); margin: 0 0 6px; }
.final li{ margin: 6px 0; }

footer{
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding: 18px 0;
  color: var(--muted);
}
.foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
  font-size: 14px;
}
.foot-left{
  display:flex;
  align-items:center;
  gap:10px;
}
.foot-logo{
  width: 26px;
  height: 26px;
  opacity: .95;
  filter: drop-shadow(0 10px 16px rgba(15,23,42,.10));
}

[id]{ scroll-margin-top: 92px; }

/* Responsive */
@media (max-width: 980px){
  :root{ --sectionPad: 38px; }
  .grid-2{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr 1fr; }
  .why{ grid-template-columns: 1fr; }
  .hero-box{ min-height: auto; }
  .hero-wave{ height: 300px; }

  .pyr-wrap{ grid-template-columns: 1fr; }
  .pyr-graphic{ min-height: 420px; }
}
@media (max-width: 560px){
  .steps{ grid-template-columns: 1fr; }
  .brand b{ display:none; }
  .hero-box{ padding: 22px 28px; min-height: auto; }
  .btn{ width: 100%; }
  .cta-row{ width: 100%; }
  .hero-box:before{ width: 180px; height: 180px; right: -14px; bottom: -20px; opacity: .07; }
  .hero-wave{ height: 280px; }
  .pyr{ width: min(320px, 100%); }
  .pyr-label{ font-size: 16px; }
}

@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; scroll-behavior:auto; }
}

/* ===============================
   HERO – ancho extendido
   =============================== */
.hero .wrap{
  max-width: 1520px; /* prueba 1320px o 1520px si quieres */
}

/* ===============================
   HEADER – alineado a la izquierda
   =============================== */
.header-wrap{
  max-width: 100%;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

/* Logo alineado a la izquierda como el ejemplo */
.head.header-wrap{
  padding-left:35px;      /* logo pegado a la izquierda */
  padding-right: 35px;  /* mantiene aire para el botón */
  align-items: flex-start;
}

/* Ajuste fino: bajar ligeramente el botón para centrarlo visualmente */
.head.header-wrap .btn{
  margin-top: 18px; /* prueba entre 12px y 16px si quieres afinar */
}
