:root{
  --bg:#eef3f9;
  --bg2:#e6edf6;
  --panel:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --brand:#1e3a8a;   /* azul marino */
  --brandSoft:#e8eef7;
  --border:rgba(15,23,42,.12);
  --shadow:0 10px 26px rgba(15,23,42,.10);
  --radius:18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: linear-gradient(180deg, var(--bg), var(--bg2));
  color:var(--text);
}
a{color:inherit; text-decoration:none}
.container{width:min(1100px, 92%); margin-inline:auto}

/* Header */
.header{
  position:sticky; top:0; z-index:50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{display:flex; align-items:center; gap:10px; font-weight:900}
.brand__mark{
  width:36px; height:36px; display:grid; place-items:center;
  border-radius:12px;
  background: linear-gradient(135deg, var(--brand), #2563eb);
  color:#fff;
}
.brand__text{font-size:16px}
.nav{display:flex; align-items:center; gap:14px}
.nav a{
  font-weight:800;
  padding:8px 12px;
  border-radius:12px;
  color:var(--muted);
}
.nav a:hover{background:var(--brandSoft); color:var(--brand)}
.nav__cta{
  background: linear-gradient(135deg, var(--brand), #2563eb);
  color:#fff !important;
}

/* Burger + mobile nav */
.burger{
  display:none;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
}
.burger span{
  display:block;
  height:2px;
  margin:7px 10px;
  background:var(--text);
  border-radius:2px;
  opacity:.8;
}
.mobile-nav{
  display:none;
  padding:10px 0 16px;
  border-top:1px solid var(--border);
  background: rgba(255,255,255,.92);
}
.mobile-nav a{
  display:block;
  padding:12px 4%;
  font-weight:900;
  color:var(--muted);
}
.mobile-nav a:hover{background:var(--brandSoft); color:var(--brand)}
.mobile-nav.show{display:block}

/* Hero */
.hero{padding:34px 0 10px}
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:22px;
  align-items:start;
}
.hero-banner{margin-bottom:14px}
.hero-banner img{
  width:100%;
  height:auto;
  display:block;
  border-radius:18px;
  box-shadow: var(--shadow);
}
.badge{
  display:inline-block;
  padding:8px 14px;
  border-radius:999px;
  background:var(--brandSoft);
  color:var(--brand);
  font-weight:900;
  font-size:13px;
}
h1{
  margin:14px 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height:1.08;
}
.subtitle{color:var(--muted); line-height:1.6; margin:0 0 16px}

.hero__actions{display:flex; gap:12px; flex-wrap:wrap; margin: 14px 0}
.hero__highlights{display:flex; gap:10px; flex-wrap:wrap}
.pill{
  display:inline-flex;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.75);
  color: var(--muted);
  font-weight:900;
  font-size:13px;
}

/* Cards / Form */
.card{
  background: var(--panel);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
}
.card__title{margin:0 0 6px}
.card__desc{margin:0 0 14px; color:var(--muted); line-height:1.5}

.form{display:grid; gap:12px}
.field label{display:block; font-weight:900; font-size:13px; margin-bottom:6px}
.field input, .field select, .field textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.16);
  background:#fff;
  color:var(--text);
  outline:none;
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: rgba(30,58,138,.45);
  box-shadow: 0 0 0 4px rgba(30,58,138,.10);
}
textarea{resize:vertical}
.tiny{color:rgba(15,23,42,.55); font-size:12px; margin:10px 0 0}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  font-weight:900;
  border:1px solid var(--border);
  background:#fff;
  cursor:pointer;
}
.btn--primary{
  background: linear-gradient(135deg, var(--brand), #2563eb);
  color:#fff;
  border:none;
}
.btn--primary:hover{filter:brightness(1.05)}
.btn--ghost{background:#fff}
.btn--full{width:100%}

/* Generated box */
.generated{
  margin-top:10px;
  border-radius:16px;
  border:1px solid var(--border);
  background: #f7faff;
  padding:12px;
}
.generated__label{margin:0 0 8px; font-weight:900}
.generated__text{
  margin:0;
  padding:10px;
  border-radius:14px;
  background:#fff;
  border:1px solid rgba(15,23,42,.12);
  overflow:auto;
  white-space:pre-wrap;
  word-break:break-word;
}
.generated__actions{display:flex; gap:10px; margin-top:10px; flex-wrap:wrap}

/* Sections */
.section{padding:46px 0}
.section--alt{
  background:#f5f8fc;
  border-top:1px solid rgba(15,23,42,.06);
  border-bottom:1px solid rgba(15,23,42,.06);
}
.section__head{margin-bottom:18px}
.section__head h2{margin:0; font-size:26px}
.section__head p{margin:6px 0 0; color:var(--muted)}

/* Services grid */
.grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
.service{
  padding:16px;
  border-radius: 16px;
  border:1px solid var(--border);
  background:#fff;
  box-shadow: var(--shadow);
}
.service h3{margin:0 0 6px}
.service p{margin:0; color:var(--muted); line-height:1.5; font-size:14px}
.service .tag{
  display:inline-block; margin-top:10px;
  font-size:12px; font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  background:var(--brandSoft);
  color:var(--brand);
}

/* Zones */
.zones{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
}
.zone{
  padding:18px;
  border-radius:16px;
  border:1px solid var(--border);
  background:#fff;
  box-shadow: var(--shadow);
}
.zone h3{margin:0 0 8px}
.zone p{margin:0; color:var(--muted); line-height:1.6}
.cta-row{display:flex; gap:12px; flex-wrap:wrap; margin-top:16px}

/* Steps */
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.step{
  padding:18px;
  border-radius:16px;
  border:1px solid var(--border);
  background:#fff;
  box-shadow: var(--shadow);
}
.step__num{
  width:34px; height:34px;
  display:grid; place-items:center;
  border-radius:12px;
  background:var(--brandSoft);
  color:var(--brand);
  font-weight:900;
}
.step h3{margin:10px 0 8px}
.step p{margin:0; color:var(--muted); line-height:1.6}

/* Testimonials */
.testimonials{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.testimonial{
  padding:18px;
  border-radius:16px;
  border:1px solid var(--border);
  background:#fff;
  box-shadow: var(--shadow);
}
.stars{letter-spacing:2px; color:#111827}
.testimonial p{color:var(--muted); line-height:1.6}
.testimonial span{color:rgba(15,23,42,.72); font-weight:900}

/* FAQ */
.faq details{
  border:1px solid var(--border);
  background:#fff;
  border-radius:16px;
  padding:14px 16px;
  margin-bottom:10px;
  box-shadow: var(--shadow);
}
.faq summary{cursor:pointer; font-weight:900}
.faq p{color:var(--muted); margin:10px 0 0; line-height:1.6}

/* Footer */
.footer{
  padding:28px 0 0;
  border-top:1px solid rgba(15,23,42,.08);
  background:#f8fbff;
}
.footer__inner{
  display:grid;
  grid-template-columns: 1.2fr .9fr .7fr;
  gap:18px;
  padding: 14px 0 22px;
}
.footer__p{margin:10px 0 0; color:var(--muted); line-height:1.6}
.footer__col h4{margin:0 0 10px}
.footer__col a{display:block; color:var(--muted); padding:6px 0; font-weight:900}
.footer__col a:hover{color:var(--brand)}
.footer__bottom{
  border-top:1px solid rgba(15,23,42,.08);
  padding:12px 0;
}
.footer__bottomInner{
  display:flex; justify-content:space-between; gap:12px;
  color:rgba(15,23,42,.7);
}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}

/* Sticky CTA mobile */
.sticky-cta{
  position:fixed;
  left:0; right:0; bottom:0;
  display:none;
  padding:10px;
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(10px);
  border-top:1px solid var(--border);
  gap:10px;
  z-index: 9998;
}
.sticky-cta__btn{
  flex:1;
  text-align:center;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  font-weight:900;
}
.sticky-cta__btn--ghost{background:#f1f5f9}

/* Floating WhatsApp */
.wa-float{
  position: fixed;
  right: 16px;
  bottom: 84px; /* arriba del sticky */
  width: 54px;
  height: 54px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background: linear-gradient(135deg, var(--brand), #2563eb);
  color:#fff;
  box-shadow: var(--shadow);
  z-index: 9999;
  font-size: 22px;
}
.wa-float:hover{filter:brightness(1.05)}

/* Reveal animation */
.reveal{opacity:0; transform: translateY(10px); transition: .4s ease}
.reveal.in{opacity:1; transform: translateY(0)}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{grid-template-columns:1fr}
  .grid{grid-template-columns: repeat(2, 1fr)}
  .steps{grid-template-columns:1fr}
  .testimonials{grid-template-columns:1fr}
  .footer__inner{grid-template-columns:1fr}
}
@media (max-width: 820px){
  .nav{display:none}
  .burger{display:block}
  .zones{grid-template-columns:1fr}
}
@media (max-width: 640px){
  .grid{grid-template-columns:1fr}
  .sticky-cta{display:flex}
}
/* Ocultar menú hamburguesa y menú mobile */
.burger{ display:none !important; }
.mobile-nav{ display:none !important; }