:root {
  --blue:        #4D49BE;
  --red:         #C91748;
  --blue-light:  #eaf1fa;
  --bg:          #ffffff;
  --bg-alt:      #f5f8fc;
  --text:        #1c2b3a;
  --text-muted:  #5a6b7c;
  --border:      #dde5ee;

  --font: "Inter", system-ui, -apple-system, sans-serif;

  --container: 1120px;
  --radius: 12px;
  --shadow: 0 4px 18px rgba(14, 42, 71, 0.08);
  --shadow-lg: 0 12px 34px rgba(14, 42, 71, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.accent { color: var(--blue); }

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 54ch;
  margin-top: 18px;
}

.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-sub {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary { color: white!important; background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--red); }

.btn-ghost { border-color: var(--border); color: var(--blue); background: transparent; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { background: var(--blue-light); }

.btn-outline-light { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.12); }

.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo:hover { text-decoration: none; }

.logo-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  border-radius: 8px;
}

.logo-text {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--blue);
}
.logo-text em { font-style: normal; color: var(--blue); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--blue); text-decoration: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2.5px;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.hero {
  background: linear-gradient(160deg, var(--blue-light) 0%, var(--bg) 70%);
  padding: 80px 0 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

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

.hero-highlights {
  display: flex;
  gap: 36px;
  list-style: none;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-highlights li {
  font-size: 0.92rem;
  color: var(--text-muted);
}
.hero-highlights b {
  display: block;
  font-size: 1.5rem;
  color: var(--blue);
  font-weight: 800;
}

.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3.4;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow);
}

.card-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  background: var(--blue-light);
  border-radius: 10px;
  margin-bottom: 18px;
}

.card p { color: var(--text-muted); margin-top: 10px; font-size: 0.96rem; }

.card-list {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 8px;
}
.card-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  color: var(--text);
}
.card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.ventajas-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.ventajas-list {
  list-style: none;
  margin-top: 32px;
  display: grid;
  gap: 22px;
}
.ventajas-list li {
  padding-left: 34px;
  position: relative;
}
.ventajas-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: var(--blue);
  opacity: 0.9;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ventajas-list b {
  display: block;
  color: var(--blue);
  font-size: 1.05rem;
}
.ventajas-list span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.ventajas-media { position: relative; }
.ventajas-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  width: 100%;
}

.stat-box {
  position: absolute;
  bottom: -26px; left: -26px;
  background: var(--blue);
  color: #fff;
  padding: 20px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 220px;
}
.stat-box b {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.stat-box span { font-size: 0.85rem; opacity: 0.85; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.price-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.price-featured {
  border: 2px solid var(--blue);
  box-shadow: var(--shadow-lg);
}

.badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
}

.price-tag b {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--blue);
}
.price-tag span { color: var(--text-muted); font-size: 0.92rem; }

.price-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
}

.price-card .btn { margin-top: auto; }

.faq-wrap { max-width: 820px; }

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

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 22px;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--blue); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-weight: 600;
  color: var(--blue);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--blue);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding: 0 0 22px;
  color: var(--text-muted);
  font-size: 0.97rem;
}

.cta-band {
  background: var(--blue);
  color: #fff;
  padding: 76px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p {
  margin: 14px auto 0;
  max-width: 52ch;
  opacity: 0.85;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.site-footer {
  background: #000;
  color: #c6d2de;
  padding: 60px 0 28px;
  font-size: 0.93rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.site-footer .logo-text { color: #fff; }
.footer-tag { margin-top: 14px; opacity: 0.75; line-height: 1.7; }

.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.footer-list { list-style: none; display: grid; gap: 8px; }
.footer-list a { color: #c6d2de; }
.footer-list a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 46px;
  padding-top: 22px;
  font-size: 0.85rem;
  opacity: 0.75;
}
.footer-bottom a { color: inherit; }

@media (max-width: 900px) {
  .hero-grid,
  .ventajas-grid { grid-template-columns: 1fr; }

  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 16 / 10; }

  .stat-box { left: 16px; bottom: -20px; }

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

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px;
    display: none;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .main-nav .btn { margin-top: 14px; }

  .section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .hero-highlights { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
