/* ===== VARIABLES ===== */
:root {
  --navy:      #0d2040;
  --blue:      #3b6fd4;
  --blue-dark: #2a55b0;
  --orange:    #e87c1e;
  --white:     #ffffff;
  --bg:        #f5f7fb;
  --text:      #1a2332;
  --muted:     #6b7280;
  --border:    #e2e8f0;
  --radius:    14px;
  --shadow:    0 4px 24px rgba(13,32,64,0.10);
  --max:       1100px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== UTILIDADES ===== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--navy); color: var(--white); }
.tag {
  display: inline-block;
  background: rgba(59,111,212,0.12);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-dark .tag { background: rgba(255,255,255,0.12); color: #a5bff5; }

/* ===== TIPOGRAFÍA ===== */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; letter-spacing: -.5px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.25; margin-bottom: 16px; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
p  { color: var(--muted); }
.section-dark p { color: rgba(255,255,255,0.70); }
.lead { font-size: 1.15rem; max-width: 620px; }

/* ===== BOTONES ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: none; transition: all .2s ease; text-decoration: none;
}
.btn-primary   { background: var(--blue);   color: var(--white); }
.btn-primary:hover   { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(59,111,212,0.35); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-secondary:hover { background: rgba(255,255,255,0.10); }
.btn-outline   { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover   { background: var(--blue); color: var(--white); }
.btn-orange    { background: var(--orange); color: var(--white); }
.btn-orange:hover    { background: #c96a10; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,124,30,0.35); }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ===== HEADER / NAV ===== */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(13,32,64,0.06);
}
nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 42px; }
.nav-logo span { font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.nav-links {
  display: flex; align-items: center; gap: 8px;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  padding: 6px 12px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--navy); background: var(--bg); }
.nav-cta { margin-left: 8px; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .3s; }
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 24px 20px; border-top: 1px solid var(--border);
  background: var(--white);
}
.mobile-menu a {
  font-size: 15px; font-weight: 500; color: var(--text);
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6e 100%);
  color: var(--white);
  padding: 90px 0 80px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(59,111,212,0.25) 0%, transparent 65%);
}
.hero-inner {
  position: relative;
  display: flex; align-items: center; gap: 60px;
}
.hero-content { flex: 1; }
.hero-content h1 { color: var(--white); margin-bottom: 20px; }
.hero-content h1 span { color: #7aabff; }
.hero-content .lead { color: rgba(255,255,255,0.80); margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { margin-top: 32px; display: flex; gap: 24px; flex-wrap: wrap; }
.hero-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: rgba(255,255,255,0.70);
}
.hero-badge .dot { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; }
.hero-logo-display {
  flex: 0 0 280px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.92);
  border-radius: 28px;
  padding: 36px 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}
.hero-logo-display img {
  width: 200px;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-icon { font-size: 2rem; margin-bottom: 14px; }
.feature-card h3 { color: var(--navy); }

/* ===== STEPS (CÓMO FUNCIONA) ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 56px;
  position: relative;
}
.step { text-align: center; }
.step-number {
  width: 56px; height: 56px;
  background: var(--blue);
  color: var(--white);
  font-size: 1.4rem; font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(59,111,212,0.35);
}
.step h3 { color: var(--white); }
.step p { color: rgba(255,255,255,0.65); font-size: 15px; }

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
  max-width: 760px;
  margin-left: auto; margin-right: auto;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(59,111,212,0.10);
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--white);
  font-size: 12px; font-weight: 700; letter-spacing: .5px;
  padding: 4px 16px; border-radius: 100px;
  white-space: nowrap;
}
.pricing-name { font-size: 14px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.pricing-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.pricing-amount .price { font-size: 2.8rem; font-weight: 800; color: var(--navy); }
.pricing-amount .period { font-size: 15px; color: var(--muted); }
.pricing-sub { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.pricing-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.pricing-features li::before { content: '✓'; color: var(--blue); font-weight: 700; font-size: 15px; flex-shrink: 0; }
.pricing-note { text-align: center; margin-top: 24px; font-size: 14px; color: var(--muted); }

/* ===== CTA BANNER ===== */
.cta-banner { text-align: center; padding: 80px 0; }
.cta-banner h2 { color: var(--white); }
.cta-banner .lead { color: rgba(255,255,255,0.75); margin: 0 auto 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  font-size: 1.5rem;
  background: rgba(59,111,212,0.10);
  border-radius: 12px;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item h3 { color: var(--navy); margin-bottom: 4px; }
.contact-item a { color: var(--blue); font-size: 14px; }
.contact-item p { font-size: 14px; }

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.60);
  padding: 36px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 32px; }
.footer-logo span { font-weight: 700; color: var(--white); font-size: 15px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 13px; }

/* ===== MANUAL PAGE ===== */
.manual-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6e 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.manual-hero h1 { color: var(--white); }
.manual-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-top: 12px; }
.manual-content { max-width: 820px; margin: 0 auto; padding: 60px 24px; }
.manual-section { margin-bottom: 52px; }
.manual-section h2 { color: var(--navy); border-bottom: 2px solid var(--border); padding-bottom: 12px; margin-bottom: 24px; }
.manual-section h3 { color: var(--navy); margin: 20px 0 8px; font-size: 1.05rem; }
.manual-section p  { color: var(--text); font-size: 15px; margin-bottom: 12px; }
.manual-section ul { padding-left: 20px; list-style: disc; }
.manual-section ul li { color: var(--text); font-size: 15px; margin-bottom: 6px; }
.tip {
  background: rgba(59,111,212,0.08);
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 16px 0;
  font-size: 14px; color: var(--text);
}

/* ===== PRIVACY PAGE ===== */
.privacy-content { max-width: 820px; margin: 0 auto; padding: 60px 24px; }
.privacy-content h2 { color: var(--navy); font-size: 1.3rem; margin: 36px 0 12px; }
.privacy-content p  { font-size: 15px; color: var(--text); margin-bottom: 14px; }
.privacy-content ul { padding-left: 20px; list-style: disc; margin-bottom: 14px; }
.privacy-content ul li { font-size: 15px; color: var(--text); margin-bottom: 6px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-logo-display { order: -1; padding: 24px; }
  .hero-logo-display img { width: 130px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .pricing-card { padding: 28px 24px; }
}
@media (max-width: 480px) {
  .btn-lg { padding: 14px 24px; font-size: 15px; }
  .hero { padding: 60px 0; }
}
