:root{
  --page-bg:#f6f7fb;
  --bg:var(--page-bg);
  --surface:#ffffff;
  --ink:#0f172a;
  --muted:#586174;
  --navy:#0f2238;
  --teal:#12b5b0;
  --gold:#d99422;
  --gold-dark:#9a650e;
  --primary-action-bg:#0f2238;
  --line:#dbe3ec;
  --soft:#eef6f5;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  background:var(--bg);
  color:var(--ink);
  font-family:Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin:0;
}

a{
  color:inherit;
  text-decoration:none;
}

.site-header{
  align-items:center;
  background:rgba(255,255,255,.94);
  border-bottom:1px solid rgba(15,34,56,.1);
  display:flex;
  gap:24px;
  justify-content:space-between;
  left:0;
  padding:12px clamp(18px, 4vw, 64px);
  position:sticky;
  top:0;
  z-index:20;
}

.brand{
  align-items:center;
  display:flex;
  gap:12px;
  font-size:22px;
  font-weight:950;
  letter-spacing:0;
}

.brand img{
  background:white;
  border:1px solid rgba(15,34,56,.08);
  border-radius:6px;
  height:38px;
  object-fit:contain;
  padding:3px;
  width:58px;
}

.site-header nav{
  align-items:center;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:flex-end;
}

.site-header nav a{
  border-radius:8px;
  color:#1f2937;
  font-size:15px;
  font-weight:850;
  padding:11px 13px;
}

.site-header nav a:hover{
  background:#eef6f5;
}

.nav-login{
  border:1px solid var(--gold);
  color:#111827 !important;
  min-width:92px;
  text-align:center;
}

.nav-contract{
  background:var(--navy);
  color:white !important;
  min-width:104px;
  text-align:center;
}

.nav-contract:hover,
.nav-contract.is-active{
  background:#153a5f !important;
  color:white !important;
}

.hero{
  background:
    linear-gradient(110deg, rgba(255,255,255,.96) 0%, rgba(246,247,251,.92) 46%, rgba(228,247,245,.9) 100%);
  min-height:calc(100vh - 64px);
  overflow:hidden;
  padding:clamp(48px, 7vw, 88px) clamp(20px, 5vw, 86px) 40px;
  position:relative;
}

.hero-bg{
  background:
    linear-gradient(135deg, rgba(18,181,176,.12), transparent 44%),
    linear-gradient(315deg, rgba(217,148,34,.13), transparent 34%);
  inset:0;
  position:absolute;
}

.hero-shell{
  align-items:center;
  display:grid;
  gap:clamp(30px, 5vw, 76px);
  grid-template-columns:minmax(0, .92fr) minmax(360px, .88fr);
  margin:0 auto;
  max-width:1500px;
  min-height:620px;
  position:relative;
  z-index:2;
}

.hero-content{
  max-width:780px;
}

.eyebrow{
  color:var(--gold-dark);
  font-size:13px;
  font-weight:950;
  letter-spacing:0;
  margin:0 0 14px;
  text-transform:uppercase;
}

h1,
h2,
h3,
p{
  margin-top:0;
}

h1{
  color:var(--navy);
  font-size:clamp(78px, 10vw, 138px);
  line-height:.9;
  margin-bottom:22px;
}

h2{
  color:var(--navy);
  font-size:clamp(30px, 4vw, 52px);
  line-height:1.05;
  margin-bottom:0;
}

h3{
  color:var(--navy);
  font-size:22px;
  line-height:1.12;
  margin-bottom:10px;
}

.hero-copy{
  color:#253044;
  font-size:clamp(20px, 2.1vw, 30px);
  font-weight:800;
  line-height:1.34;
  margin-bottom:0;
  max-width:760px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:30px;
}

.primary-action,
.secondary-action{
  align-items:center;
  border-radius:8px;
  display:inline-flex;
  font-weight:900;
  gap:10px;
  justify-content:center;
  min-height:52px;
  padding:14px 20px;
}

.primary-action{
  background:var(--primary-action-bg);
  color:white;
  box-shadow:0 16px 34px rgba(15,34,56,.22);
}

.secondary-action{
  background:white;
  border:1px solid var(--line);
  color:var(--navy);
}

.hero-visual{
  align-items:center;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:420px;
  position:relative;
}

body[data-texto-publico="centro"] .hero-shell{
  grid-template-columns:1fr;
  justify-items:center;
  text-align:center;
}

body[data-texto-publico="centro"] .hero-content{
  max-width:980px;
}

body[data-texto-publico="centro"] .hero-actions,
body[data-texto-publico="centro"] .visual-strip span{
  justify-content:center;
}

body[data-texto-publico="derecha"] .hero-shell{
  direction:rtl;
}

body[data-texto-publico="derecha"] .hero-content,
body[data-texto-publico="derecha"] .hero-visual{
  direction:ltr;
}

body[data-texto-publico="derecha"] .hero-content{
  text-align:right;
}

body[data-texto-publico="derecha"] .hero-actions{
  justify-content:flex-end;
}

body[data-fondo-publico="color"] .hero-bg{
  background:none;
}

body[data-fondo-publico="imagen"] .hero{
  background-position:center;
  background-size:cover;
}

body[data-fondo-publico="imagen"] .hero-bg,
body[data-fondo-publico="video"] .hero-bg{
  background:linear-gradient(110deg, rgba(255,255,255,.9), rgba(255,255,255,.54));
  z-index:1;
}

.hero-video-bg{
  height:100%;
  inset:0;
  object-fit:cover;
  position:absolute;
  width:100%;
  z-index:0;
}

.hero-visual img{
  background:white;
  border:1px solid rgba(15,34,56,.08);
  box-shadow:0 26px 80px rgba(15,34,56,.14);
  display:block;
  max-width:min(100%, 720px);
  object-fit:contain;
  padding:clamp(20px, 3vw, 38px);
  width:100%;
}

.visual-strip{
  background:rgba(15,34,56,.94);
  border:1px solid rgba(255,255,255,.16);
  border-radius:8px;
  box-shadow:0 18px 42px rgba(15,34,56,.22);
  color:white;
  display:grid;
  gap:1px;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  margin-top:-28px;
  max-width:560px;
  overflow:hidden;
  width:86%;
}

.visual-strip span{
  align-items:center;
  display:flex;
  font-size:14px;
  font-weight:900;
  gap:8px;
  justify-content:center;
  min-height:58px;
  padding:12px;
}

.visual-strip i{
  color:var(--gold);
}

.hero-panel{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(15,34,56,.11);
  box-shadow:0 24px 64px rgba(15,34,56,.1);
  display:grid;
  gap:1px;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  margin:0 auto;
  max-width:1080px;
  overflow:hidden;
  position:relative;
  z-index:3;
}

.hero-panel div{
  padding:22px 24px;
}

.hero-panel span,
.features article span{
  color:var(--gold-dark);
  display:block;
  font-size:13px;
  font-weight:950;
  letter-spacing:0;
  text-transform:uppercase;
}

.hero-panel strong{
  color:var(--navy);
  display:block;
  font-size:21px;
  margin-top:5px;
}

.section,
.band,
.features,
.cta{
  margin:0 auto;
  max-width:1180px;
  padding:72px clamp(20px, 4vw, 44px);
}

.intro,
.section{
  align-items:end;
  display:grid;
  gap:32px;
  grid-template-columns:minmax(0, 1.25fr) minmax(280px, .75fr);
}

.intro p,
.section p,
.band p,
.cta p{
  color:var(--muted);
  font-size:18px;
  font-weight:700;
  line-height:1.55;
}

.features{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  padding-top:12px;
}

.features article{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:8px;
  min-height:210px;
  padding:24px;
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.features article:hover{
  border-color:rgba(18,181,176,.42);
  box-shadow:0 18px 38px rgba(15,34,56,.08);
  transform:translateY(-2px);
}

.features i{
  align-items:center;
  background:var(--soft);
  border:1px solid rgba(18,181,176,.22);
  border-radius:8px;
  color:var(--teal);
  display:inline-flex;
  font-size:22px;
  height:48px;
  justify-content:center;
  margin-bottom:22px;
  width:48px;
}

.features p{
  color:var(--muted);
  font-size:16px;
  font-weight:700;
  line-height:1.45;
  margin-bottom:0;
}

.band{
  align-items:center;
  background:var(--navy);
  color:white;
  display:grid;
  gap:34px;
  grid-template-columns:minmax(0, 1fr) minmax(280px, 420px);
  max-width:none;
  padding-left:clamp(20px, 7vw, 96px);
  padding-right:clamp(20px, 7vw, 96px);
}

.band h2{
  color:white;
}

.band p{
  color:#d8e4ed;
}

.band ul{
  display:grid;
  gap:12px;
  list-style:none;
  margin:0;
  padding:0;
}

.band li{
  align-items:center;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15);
  border-radius:8px;
  display:flex;
  font-weight:900;
  gap:12px;
  padding:14px 16px;
}

.band li i{
  color:var(--gold);
}

.cta{
  text-align:center;
}

.seo-faq{
  align-items:start;
}

.faq-list{
  display:grid;
  gap:14px;
}

.faq-list article{
  background:white;
  border:1px solid rgba(15,34,56,.1);
  border-radius:8px;
  box-shadow:0 14px 34px rgba(15,34,56,.08);
  padding:18px;
}

.faq-list h3{
  font-size:20px;
  margin-bottom:8px;
}

.faq-list p{
  color:var(--muted);
  margin:0;
}

.cta h2{
  margin-bottom:14px;
}

.cta .primary-action{
  margin-top:12px;
}

.plans-page{
  background:
    linear-gradient(180deg, #f8fbfd 0%, #eef6f5 44%, #f6f7fb 100%);
}

.plans-hero{
  align-items:center;
  display:grid;
  gap:clamp(28px, 5vw, 72px);
  grid-template-columns:minmax(0, 1fr) minmax(340px, 520px);
  margin:0 auto;
  max-width:1240px;
  min-height:calc(100vh - 64px);
  padding:clamp(48px, 7vw, 92px) clamp(20px, 5vw, 56px) 52px;
}

.plans-hero-copy h1{
  color:var(--navy);
  font-size:clamp(44px, 6.8vw, 88px);
  line-height:.98;
  margin-bottom:22px;
  max-width:780px;
}

.plans-hero-copy p{
  color:#27364b;
  font-size:clamp(18px, 2vw, 24px);
  font-weight:800;
  line-height:1.42;
  max-width:760px;
}

.plans-hero-visual{
  min-width:0;
}

.plans-device{
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(239,246,245,.94));
  border:1px solid rgba(15,34,56,.12);
  border-radius:8px;
  box-shadow:0 28px 80px rgba(15,34,56,.16);
  padding:24px;
}

.plans-device-head{
  align-items:center;
  border-bottom:1px solid rgba(15,34,56,.1);
  display:flex;
  gap:14px;
  padding-bottom:18px;
}

.plans-device-head img{
  background:white;
  border:1px solid rgba(15,34,56,.08);
  border-radius:8px;
  height:58px;
  object-fit:contain;
  padding:5px;
  width:92px;
}

.plans-device-head span{
  color:var(--navy);
  font-size:22px;
  font-weight:950;
}

.plans-device-grid{
  display:grid;
  gap:12px;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  padding:22px 0;
}

.plans-device-grid span{
  align-items:center;
  background:white;
  border:1px solid var(--line);
  border-radius:8px;
  color:#1f2d42;
  display:flex;
  font-weight:900;
  gap:10px;
  min-height:70px;
  padding:14px;
}

.plans-device-grid i{
  color:var(--teal);
  font-size:20px;
}

.plans-device-bars{
  background:#0f2238;
  border-radius:8px;
  display:grid;
  gap:10px;
  padding:18px;
}

.plans-device-bars span{
  background:linear-gradient(90deg, var(--gold), var(--teal));
  border-radius:999px;
  display:block;
  height:11px;
}

.plans-section,
.plans-flow{
  margin:0 auto;
  max-width:1240px;
  padding:72px clamp(20px, 5vw, 56px);
}

.plans-section-head{
  display:grid;
  gap:18px;
  grid-template-columns:minmax(0, .8fr) minmax(280px, .72fr);
  margin-bottom:28px;
}

.plans-section-head h2,
.plans-flow h2{
  color:var(--navy);
}

.plans-section-head p,
.plans-flow p{
  color:var(--muted);
  font-size:17px;
  font-weight:750;
  line-height:1.5;
}

.plans-grid{
  display:grid;
  gap:18px;
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.plan-card{
  background:white;
  border:1px solid rgba(15,34,56,.11);
  border-radius:8px;
  box-shadow:0 18px 40px rgba(15,34,56,.08);
  display:flex;
  flex-direction:column;
  min-height:430px;
  padding:26px;
}

.plan-card-featured{
  border-color:rgba(18,181,176,.48);
  box-shadow:0 24px 54px rgba(18,181,176,.16);
}

.plan-card span{
  color:var(--gold-dark);
  font-size:12px;
  font-weight:950;
  letter-spacing:0;
  text-transform:uppercase;
}

.plan-card h3{
  color:var(--navy);
  font-size:30px;
  margin:10px 0 12px;
}

.plan-card p{
  color:#536071;
  font-size:16px;
  font-weight:750;
  line-height:1.48;
  min-height:72px;
}

.plan-price{
  background:#f8fbfd;
  border:1px solid var(--line);
  border-radius:8px;
  margin:6px 0 18px;
  padding:16px;
}

.plan-price strong{
  color:var(--navy);
  display:block;
  font-size:20px;
}

.plan-price small{
  color:var(--muted);
  display:block;
  font-weight:800;
  margin-top:4px;
}

.plan-card ul{
  display:grid;
  gap:10px;
  list-style:none;
  margin:0 0 22px;
  padding:0;
}

.plan-card li{
  align-items:center;
  color:#1f2d42;
  display:flex;
  font-weight:850;
  gap:10px;
}

.plan-card li i{
  align-items:center;
  background:rgba(18,181,176,.1);
  border-radius:999px;
  color:var(--teal);
  display:inline-flex;
  height:22px;
  justify-content:center;
  width:22px;
}

.plan-action{
  align-items:center;
  background:var(--navy);
  border-radius:8px;
  color:white;
  display:inline-flex;
  font-weight:950;
  gap:10px;
  justify-content:center;
  margin-top:auto;
  min-height:50px;
  padding:13px 16px;
}

.plan-action:hover{
  background:#153a5f;
}

.plan-card-loading{
  grid-column:1 / -1;
  min-height:220px;
}

.plans-flow{
  align-items:start;
  display:grid;
  gap:28px;
  grid-template-columns:minmax(260px, .45fr) minmax(0, 1fr);
  padding-top:32px;
}

.plans-flow-steps{
  display:grid;
  gap:14px;
}

.plans-flow-steps article{
  background:white;
  border:1px solid rgba(15,34,56,.11);
  border-radius:8px;
  display:grid;
  gap:6px;
  grid-template-columns:48px minmax(0, 1fr);
  padding:18px;
}

.plans-flow-steps strong{
  align-items:center;
  background:var(--gold);
  border-radius:8px;
  color:#111827;
  display:flex;
  font-size:22px;
  font-weight:950;
  grid-row:1 / span 2;
  height:48px;
  justify-content:center;
  width:48px;
}

.plans-flow-steps h3{
  margin:0;
}

.plans-flow-steps p{
  margin:0;
}

footer{
  align-items:center;
  background:white;
  border-top:1px solid var(--line);
  color:var(--muted);
  display:flex;
  flex-wrap:wrap;
  font-weight:800;
  gap:12px;
  justify-content:space-between;
  padding:24px clamp(18px, 4vw, 56px);
}

footer a{
  color:var(--navy);
}

@media (max-width:980px){
  .site-header{
    align-items:flex-start;
    flex-direction:column;
  }

  .site-header nav{
    justify-content:flex-start;
  }

  .hero{
    min-height:auto;
  }

  .hero-shell{
    grid-template-columns:1fr;
    min-height:auto;
  }

  .hero-content{
    max-width:100%;
  }

  .hero-visual{
    min-height:auto;
  }

  .hero-panel,
  .intro,
  .section,
  .band,
  .features,
  .plans-hero,
  .plans-section-head,
  .plans-flow{
    grid-template-columns:1fr;
  }

  .plans-grid{
    grid-template-columns:1fr;
  }

  .plans-hero{
    min-height:auto;
  }
}

@media (max-width:600px){
  .brand{
    font-size:20px;
  }

  .brand img{
    height:34px;
    width:52px;
  }

  .site-header nav a{
    padding:9px 8px;
  }

  h1{
    font-size:clamp(58px, 20vw, 82px);
  }

  .hero{
    padding-left:16px;
    padding-right:16px;
  }

  .hero-actions,
  .visual-strip{
    grid-template-columns:1fr;
  }

  .primary-action,
  .secondary-action{
    width:100%;
  }

  .hero-panel{
    grid-template-columns:1fr;
  }

  .visual-strip{
    margin-top:14px;
    width:100%;
  }

  .plans-device-grid{
    grid-template-columns:1fr;
  }

  .plans-hero,
  .plans-section,
  .plans-flow{
    padding-left:16px;
    padding-right:16px;
  }

  .plans-flow-steps article{
    grid-template-columns:1fr;
  }

  .plans-flow-steps strong{
    grid-row:auto;
  }
}
