/* =========================
   FSE One-page (PPT 2026)
   Fonts: Montserrat + Heebo
   ========================= */

:root{
  --navy:#0E2A47;
  --navy-2:#12375C;
  --ink:#0B1B2C;
  --bg:#ffffff;
  --bg-alt:#F7FAFB;

  /* Inspirado en el logo (verde/amarillo) + pastel */
  --green:#18B289;
  --green-soft:#CFEFE6;
  --orange:#FF8A2A;
  --orange-soft:#FFE2C7;

  --radius:18px;
  --shadow:0 10px 25px rgba(12, 28, 45, .10);
  --shadow-soft:0 8px 20px rgba(12, 28, 45, .08);

  /* “3cm” aprox */
  --topbar-h: 112px;
}

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

h1,h2,h3,h4{
  font-family:"Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin:0 0 10px;
  line-height:1.15;
  letter-spacing:-0.02em;
}

a{color:inherit}
.container{
  width:min(1120px, calc(100% - 40px));
  margin:0 auto;
}

/* ===== Topbar ===== */
.topbar{
  position:fixed;
  inset:0 0 auto 0;
  height:var(--topbar-h);
  background:rgba(255,255,255,0.92);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid rgba(12, 28, 45, .08);
  z-index:1000;
}
.topbar__inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.brand{display:flex; align-items:center; text-decoration:none}
.brand__logo{
  height:58px;
  width:auto;
  display:block;
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
}
.nav__link{
  font-family:"Montserrat";
  font-weight:600;
  text-decoration:none;
  color:var(--navy);
  padding:10px 10px;
  border-radius:999px;
}
.nav__link:hover{background:rgba(24,178,137,.10)}
.nav__cta{
  text-decoration:none;
  font-family:"Montserrat";
  font-weight:700;
  padding:12px 16px;
  border-radius:999px;
  background:linear-gradient(90deg, var(--orange), #ffb14a);
  color:#0b1b2c;
  box-shadow:var(--shadow-soft);
  white-space:nowrap;
}
.nav__cta:hover{filter:brightness(.98)}

/* Burger */
.nav-toggle{
  display:none;
  border:0;
  background:transparent;
  padding:12px;
  border-radius:12px;
}
.nav-toggle span{
  display:block;
  width:26px;
  height:2px;
  background:var(--navy);
  margin:6px 0;
}

/* ===== Hero ===== */
.hero{
  padding-top:calc(var(--topbar-h) + 36px);
  padding-bottom:84px;
  position:relative;
  overflow:hidden;
}
.hero__bg{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(90deg, rgba(14,42,71,.85), rgba(14,42,71,.35) 55%, rgba(14,42,71,.10)),
    url("../assets/hero-bg.png");
  background-size:cover;
  background-position:center;
  transform:scale(1.03);
}
.hero__content{position:relative; z-index:1}
.hero__badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  color:#fff;
  border:1px solid rgba(255,255,255,.22);
}
.hero__title{
  margin-top:18px;
  font-size:clamp(34px, 4.8vw, 56px);
  color:#fff;
}
.hero__subtitle{
  margin:16px 0 0;
  color:rgba(255,255,255,.92);
  font-size:clamp(16px, 2.2vw, 20px);
  max-width:54ch;
}
.hero__pillars{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:16px;
}
.pill{
  font-family:"Montserrat";
  font-weight:800;
  letter-spacing:.08em;
  font-size:12px;
  padding:10px 14px;
  border-radius:999px;
  color:#0b1b2c;
}
.pill--green{background:var(--green-soft)}
.pill--orange{background:var(--orange-soft)}
.pill--teal{background:rgba(24,178,137,.22); color:#fff; border:1px solid rgba(255,255,255,.22)}
.hero__actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:24px}

/* ===== Sections ===== */
.section{
  padding:86px 0;
}
.section--alt{background:var(--bg-alt)}
.section--contact{
  background:linear-gradient(180deg, #fff, #f7fbff);
}
.section__header{
  margin-bottom:22px;
}
.section__header h2{
  font-size:clamp(26px, 3vw, 38px);
  color:var(--navy);
}
.lead{
  margin:0;
  font-size:clamp(16px, 2.1vw, 19px);
  color:rgba(11,27,44,.80);
  max-width:74ch;
}

/* ===== Layout helpers ===== */
.grid{
  display:grid;
  gap:18px;
}
.grid--2{grid-template-columns:repeat(2, minmax(0, 1fr))}
.grid--3{grid-template-columns:repeat(3, minmax(0, 1fr))}
@media (max-width: 920px){
  .grid--3{grid-template-columns:repeat(2, minmax(0, 1fr))}
}
@media (max-width: 720px){
  .grid--2, .grid--3{grid-template-columns:1fr}
}

.card{
  background:#fff;
  border:1px solid rgba(12, 28, 45, .08);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow-soft);
}
.card--soft{
  background:linear-gradient(180deg, #fff, rgba(207,239,230,.45));
}
.card--accent{
  background:linear-gradient(180deg, rgba(255,226,199,.65), #fff);
}
.card--dark{
  background:linear-gradient(180deg, rgba(14,42,71,.96), rgba(14,42,71,.86));
  color:#fff;
  border:1px solid rgba(255,255,255,.16);
}
.card--dark a{color:#fff}

.muted{color:rgba(11,27,44,.72)}
.small{font-size:13px}

.list{margin:10px 0 0; padding-left:18px}
.list li{margin:8px 0}

.quote{
  margin:10px 0 0;
  padding:14px 16px;
  border-radius:14px;
  background:rgba(255,255,255,.55);
  border:1px solid rgba(12, 28, 45, .08);
  font-size:16px;
}

/* Stats */
.stats{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
  margin:18px 0;
}
.stat{
  background:linear-gradient(180deg, #fff, rgba(24,178,137,.10));
  border:1px solid rgba(12, 28, 45, .08);
  border-radius:var(--radius);
  padding:18px 20px;
  box-shadow:var(--shadow-soft);
}
.stat__num{
  font-family:"Montserrat";
  font-weight:800;
  font-size:32px;
  color:var(--navy);
}
.stat__label{color:rgba(11,27,44,.75)}
@media (max-width:720px){
  .stats{grid-template-columns:1fr}
}

/* Callout */
.callout{
  margin-top:18px;
  padding:22px;
  border-radius:var(--radius);
  border:1px solid rgba(12, 28, 45, .10);
  background:
    radial-gradient(800px 240px at 0% 0%, rgba(24,178,137,.16), transparent 70%),
    radial-gradient(800px 240px at 100% 0%, rgba(255,138,42,.18), transparent 70%),
    #fff;
  box-shadow:var(--shadow-soft);
}
.callout__sub{margin:0 0 10px; color:rgba(11,27,44,.75)}
.callout__footer{margin:12px 0 0}

/* Services cards */
.service{position:relative}
.service__tag{
  position:absolute;
  top:18px; right:18px;
  font-family:"Montserrat";
  font-weight:800;
  font-size:12px;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(24,178,137,.14);
  color:var(--navy);
}
.service--accent .service__tag{
  background:rgba(255,138,42,.16);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:999px;
  padding:12px 18px;
  text-decoration:none;
  font-family:"Montserrat";
  font-weight:700;
  border:1px solid transparent;
  cursor:pointer;
}
.btn--primary{
  background:linear-gradient(90deg, var(--green), #4dd5b3);
  color:#062013;
  box-shadow:var(--shadow);
}
.btn--ghost{
  background:rgba(255,255,255,.14);
  color:#fff;
  border-color:rgba(255,255,255,.24);
}
.section .btn--ghost{
  background:#fff;
  color:var(--navy);
  border-color:rgba(12, 28, 45, .14);
  box-shadow:var(--shadow-soft);
}
.btn--small{padding:10px 14px; font-size:13px}
.btn--wide{width:100%}

.divider{
  height:1px;
  background:rgba(12, 28, 45, .10);
  margin:28px 0;
}

/* Result box */
.result{
  border-radius:16px;
  border:1px solid rgba(12, 28, 45, .10);
  background:rgba(24,178,137,.08);
  padding:16px;
}

/* Chips */
.chips{display:flex; flex-wrap:wrap; gap:10px; margin-top:12px}
.chip{
  font-size:13px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(12, 28, 45, .10);
  background:#fff;
}

/* Contact list */
.list--contact{list-style:none; padding-left:0}
.list--contact li{
  display:flex;
  gap:10px;
  align-items:center;
  margin:12px 0;
}
.list--contact .k{
  min-width:72px;
  font-family:"Montserrat";
  font-weight:700;
  color:rgba(255,255,255,.82);
}

.cta-box{margin-top:16px}
.signature{margin-top:16px}
.signature__quote{
  margin:0 0 12px;
  font-style:italic;
  color:rgba(11,27,44,.80);
}

/* Footer */
.footer{margin-top:22px}
.footer__line{
  height:6px;
  border-radius:999px;
  background:linear-gradient(90deg, var(--green), var(--orange));
  opacity:.9;
  margin-bottom:12px;
}

/* ===== Mobile nav ===== */
@media (max-width: 920px){
  :root{ --topbar-h: 96px; }
  .brand__logo{height:50px}
  .nav-toggle{display:block}
  .nav{
    position:fixed;
    top:var(--topbar-h);
    right:16px;
    left:16px;
    background:#fff;
    border:1px solid rgba(12, 28, 45, .10);
    border-radius:18px;
    padding:12px;
    box-shadow:var(--shadow);
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }
  .nav.is-open{display:flex}
  .nav__link{padding:12px 12px}
  .nav__cta{display:flex; justify-content:center}
}

/* Anchor offset for fixed header */
section[id]{scroll-margin-top: calc(var(--topbar-h) + 18px);}
