:root {
  --navy: #0B1F4D;
  --royal: #1B47A6;
  --blue: #2563EB;
  --tint: #EAF0FB;
  --ink: #1C2533;
  --muted: #5A6678;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --shadow-md: 0 8px 24px rgba(11,31,77,.08);
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); line-height: 1.6; background: var(--white); }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Demo badge / back nav */
.demo-badge { background: var(--navy); padding: 14px 0; }
.demo-badge__inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.demo-badge__back { color: #9DC0FF; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.demo-badge__mark { display: flex; align-items: center; }

/* Nav */
.nav { border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--white); z-index: 50; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; gap: 24px; }
.nav__logo { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--navy); }
.nav__logo span { color: var(--blue); }
.nav__links { display: flex; gap: 28px; font-weight: 500; font-size: 15px; }
.nav__links a:hover { color: var(--blue); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  padding: 12px 22px; border-radius: 8px; cursor: pointer; transition: opacity .2s, transform .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--outline { border: 1.5px solid var(--navy); color: var(--navy); }
.btn--wa { background: #25D366; color: var(--white); padding: 10px 18px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #EFF6FF 0%, #F8FAFC 60%, var(--tint) 100%); border-bottom: 1px solid var(--border); padding: 100px 0 90px; }
.hero__glow { position: absolute; top: -120px; right: -80px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(37,99,235,.08) 0%, transparent 65%); pointer-events: none; }
.hero__inner { position: relative; text-align: center; max-width: 760px; margin: 0 auto; }
.hero__badge { display: inline-block; background: var(--tint); color: var(--royal); font-weight: 600; font-size: 13px; padding: 8px 16px; border-radius: 30px; margin-bottom: 22px; }
.hero__h1 { font-size: 44px; font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero__h1 .hl { color: var(--blue); }
.hero__sub { font-size: 17px; color: var(--muted); margin-bottom: 32px; }
.hero__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: 80px 0; }
.section--light { background: #F8FAFC; }
.sec-eyebrow { color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
.sec-title { font-size: 32px; font-weight: 800; margin-bottom: 18px; max-width: 640px; }
.sec-desc { color: var(--muted); font-size: 16px; max-width: 640px; }

/* Servicios */
.servicios__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.srv-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 28px 22px; transition: transform .2s, box-shadow .2s; }
.srv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.srv-card__icon { width: 48px; height: 48px; border-radius: 10px; background: var(--tint); color: var(--royal); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.srv-card h4 { font-size: 17px; margin-bottom: 10px; }
.srv-card p { font-size: 14px; color: var(--muted); }

/* Testimonios */
.testimonios__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.test-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 28px; }
.test-card__stars { color: #F5B700; margin-bottom: 12px; }
.test-card__text { font-size: 14px; color: var(--ink); margin-bottom: 20px; font-style: italic; }
.test-card__author { display: flex; align-items: center; gap: 12px; }
.test-card__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--royal); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.test-card__name { font-weight: 700; font-size: 14px; }
.test-card__role { font-size: 12px; color: var(--muted); }

/* Contacto */
.contacto__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; max-width: 700px; }
.contact-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 28px; text-align: center; }
.contact-card__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--tint); color: var(--royal); display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 14px; }
.contact-card h4 { margin-bottom: 8px; }
.contact-card p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.contact-card__cta { font-weight: 700; color: var(--blue); font-size: 14px; }
.demo-note { margin-top: 36px; font-size: 13px; color: var(--muted); }
.demo-note a { color: var(--blue); font-weight: 600; }

/* Footer */
.footer { background: var(--navy); color: #C7D3EE; padding: 40px 0; text-align: center; }
.footer__logo { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--white); margin-bottom: 8px; }
.footer__logo span { color: #6EA0FF; }
.footer p { font-size: 13px; margin-bottom: 8px; }
.footer__link { font-weight: 600; color: #6EA0FF; }

@media (max-width: 768px) {
  .nav__links { display: none; }
  .hero__h1 { font-size: 32px; }
  .servicios__grid { grid-template-columns: 1fr; }
  .testimonios__grid { grid-template-columns: 1fr; }
  .contacto__grid { grid-template-columns: 1fr; }
}
