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

:root {
  --navy:        #0F1F3D;
  --navy-mid:    #1A3260;
  --green:       #00A878;
  --green-light: #00C48C;
  --white:       #FFFFFF;
  --gray-bg:     #F5F7FA;
  --gray-border: #E2E8F0;
  --gray-text:   #64748B;
  --text:        #1E293B;
  --radius:      12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,31,61,0.97);
  backdrop-filter: blur(12px);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.35rem; font-weight: 800;
  color: var(--white); letter-spacing: -0.5px; text-decoration: none;
}
.nav-logo span { color: var(--green); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 0.9rem; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 8px; font-weight: 600 !important;
}
.nav-cta:hover { background: var(--green-light) !important; }
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,0.8); border-radius: 2px;
}

/* ── HERO ── */
.hero {
  background: var(--navy);
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 2rem 60px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,168,120,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(0,168,120,0.12);
  border: 1px solid rgba(0,168,120,0.3);
  color: var(--green-light);
  font-size: 0.8rem; font-weight: 600;
  padding: 0.35rem 0.85rem; border-radius: 999px;
  margin-bottom: 1.5rem; letter-spacing: 0.5px; text-transform: uppercase;
}
.hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800;
  color: var(--white); line-height: 1.15; letter-spacing: -1px; margin-bottom: 1.25rem;
}
.hero h1 em { font-style: normal; color: var(--green); }
.hero p {
  color: rgba(255,255,255,0.68); font-size: 1.1rem;
  line-height: 1.7; margin-bottom: 2rem; max-width: 480px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--green); color: var(--white);
  padding: 0.85rem 1.8rem; border-radius: 10px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: background 0.2s, transform 0.15s; display: inline-block;
}
.btn-primary:hover { background: var(--green-light); transform: translateY(-1px); }
.btn-verify {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-top: 1rem;
  color: var(--green-light);
  font-size: 0.95rem; font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(0,196,140,0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-verify:hover { color: var(--white); border-color: var(--white); }
.btn-ghost {
  color: rgba(255,255,255,0.75); padding: 0.85rem 1.5rem; border-radius: 10px;
  font-weight: 500; font-size: 1rem; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.2s, color 0.2s; display: inline-block;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

/* ── SEAL ── */
.hero-seal { display: flex; justify-content: center; align-items: center; }
.seal-wrap {
  position: relative; width: 320px; height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.seal-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px dashed rgba(0,168,120,0.3);
  animation: spin 20s linear infinite;
}
.seal-ring-2 {
  position: absolute; inset: 20px; border-radius: 50%;
  border: 1px solid rgba(0,168,120,0.15);
  animation: spin 30s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
.seal-core {
  width: 220px; height: 220px;
  background: linear-gradient(135deg, #1A3260, #0F1F3D);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 2px solid rgba(0,168,120,0.4);
  box-shadow: 0 0 60px rgba(0,168,120,0.2);
  gap: 0.5rem; padding: 1rem;
}
.seal-icon { width: 48px; height: 48px; color: var(--green); }
.seal-label {
  font-family: 'Sora', sans-serif; font-size: 0.75rem; font-weight: 700;
  color: var(--white); letter-spacing: 2px; text-transform: uppercase;
}
.seal-ts { font-size: 0.6rem; color: var(--green); font-family: monospace; opacity: 0.8; }
.seal-check {
  background: var(--green); width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: absolute; bottom: 40px; right: 40px;
  box-shadow: 0 0 20px rgba(0,168,120,0.6);
  animation: pulse-check 2s ease-in-out infinite;
}
@keyframes pulse-check {
  0%, 100% { box-shadow: 0 0 20px rgba(0,168,120,0.6); }
  50%       { box-shadow: 0 0 35px rgba(0,168,120,0.9); }
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--gray-bg); border-bottom: 1px solid var(--gray-border); padding: 1.2rem 2rem;
}
.trust-bar-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 500; color: var(--gray-text);
}
.trust-item svg { color: var(--green); flex-shrink: 0; }

/* ── SECTIONS ── */
section { padding: 80px 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--green); margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800;
  color: var(--navy); line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 1rem;
}
.section-sub { color: var(--gray-text); font-size: 1.05rem; max-width: 560px; line-height: 1.7; }

/* ── HOW ── */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.step {
  background: var(--gray-bg); border: 1px solid var(--gray-border);
  border-radius: var(--radius); padding: 1.75rem;
}
.step-num {
  font-family: 'Sora', sans-serif; font-size: 2.5rem; font-weight: 800;
  color: rgba(0,168,120,0.15); line-height: 1; margin-bottom: 0.75rem;
}
.step h3 { font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.step p   { font-size: 0.9rem; color: var(--gray-text); line-height: 1.6; }

/* ── FEATURES ── */
.features { background: var(--navy); }
.features .eyebrow   { color: var(--green-light); }
.features .section-title { color: var(--white); }
.features .section-sub   { color: rgba(255,255,255,0.6); }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.feature-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 1.75rem;
  transition: border-color 0.2s, background 0.2s;
}
.feature-card:hover { border-color: rgba(0,168,120,0.35); background: rgba(0,168,120,0.06); }
.feature-icon {
  width: 44px; height: 44px; background: rgba(0,168,120,0.15);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; color: var(--green-light);
}
.feature-card h3 { font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.feature-card p  { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.65; }
.feature-tag {
  display: inline-block; margin-top: 0.75rem;
  background: rgba(0,168,120,0.15); color: var(--green-light);
  font-size: 0.72rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 4px;
}
.law-callout {
  background: var(--navy-mid); border-radius: var(--radius); padding: 1.5rem 2rem;
  margin-top: 2.5rem; display: flex; gap: 1rem; align-items: flex-start;
  border: 1px solid rgba(0,168,120,0.2);
}
.law-callout svg { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.law-callout p   { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.6; }
.law-callout strong { color: var(--white); }

/* ── PRICING ── */
.pricing { background: var(--gray-bg); }
.pricing-center { display: flex; justify-content: center; margin-top: 3rem; }
.price-card {
  background: var(--white); border: 2px solid var(--navy); border-radius: 16px;
  padding: 2.5rem 3rem; text-align: center; max-width: 420px; width: 100%;
  position: relative; box-shadow: 0 20px 60px rgba(15,31,61,0.1);
}
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--navy); color: var(--white);
  font-size: 0.75rem; font-weight: 700; padding: 0.35rem 1rem;
  border-radius: 999px; letter-spacing: 0.5px; white-space: nowrap;
}
.price-amount { font-family: 'Sora', sans-serif; font-size: 3.5rem; font-weight: 800; color: var(--navy); line-height: 1; margin: 1.5rem 0 0.25rem; }
.price-amount span { font-size: 1.5rem; font-weight: 600; vertical-align: top; margin-top: 0.5rem; display: inline-block; }
.price-unit { color: var(--gray-text); font-size: 0.9rem; margin-bottom: 2rem; }
.price-features { list-style: none; text-align: left; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.price-features li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.925rem; color: var(--text); line-height: 1.5; }
.price-features li svg { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.price-divider { border: none; border-top: 1px solid var(--gray-border); margin: 1.25rem 0; }
.price-transbank { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.8rem; color: var(--gray-text); margin-bottom: 1.5rem; }
.transbank-badge { background: #E8001D; color: white; font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 4px; }
.price-cta { display: block; background: var(--navy); color: var(--white); padding: 1rem; border-radius: 10px; font-weight: 600; font-size: 1rem; text-decoration: none; transition: background 0.2s; }
.price-cta:hover { background: var(--navy-mid); }
.price-note { font-size: 0.8rem; color: var(--gray-text); margin-top: 1rem; }

/* ── BLOG ── */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.blog-card {
  border: 1px solid var(--gray-border); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none; color: inherit; display: block;
}
.blog-card:hover { box-shadow: 0 8px 30px rgba(15,31,61,0.1); transform: translateY(-2px); }
.blog-thumb { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.blog-thumb-1 { background: linear-gradient(135deg, #E8F4F0, #C8EDE3); }
.blog-thumb-2 { background: linear-gradient(135deg, #EEF2FF, #C7D2FE); }
.blog-thumb-3 { background: linear-gradient(135deg, #FFF7ED, #FED7AA); }
.blog-body { padding: 1.25rem; }
.blog-tag { font-size: 0.72rem; font-weight: 700; color: var(--green); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 0.5rem; }
.blog-card h3 { font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; line-height: 1.4; }
.blog-card p  { font-size: 0.875rem; color: var(--gray-text); line-height: 1.6; }
.blog-meta    { font-size: 0.78rem; color: var(--gray-text); margin-top: 0.75rem; }

/* blog/index.php */
.blog-hero { background: var(--navy); padding: 120px 2rem 60px; }
.blog-hero .section-title { color: var(--white); }
.blog-hero .section-sub   { color: rgba(255,255,255,0.6); }
.blog-hero .eyebrow        { color: var(--green-light); }

/* ── FAQ ── */
.faq-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; max-width: 720px; }
details { background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
summary { font-weight: 600; cursor: pointer; color: var(--navy); font-size: 0.975rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.25rem; color: var(--green); flex-shrink: 0; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 0.85rem; font-size: 0.9rem; color: var(--gray-text); line-height: 1.7; }

/* ── CTA FINAL ── */
.cta-final { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); text-align: center; }
.cta-final h2 { font-family: 'Sora', sans-serif; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; color: var(--white); letter-spacing: -0.5px; margin-bottom: 1rem; }
.cta-final p  { color: rgba(255,255,255,0.65); font-size: 1.05rem; margin-bottom: 2rem; }

/* ── FOOTER ── */
footer { background: #080F1E; color: rgba(255,255,255,0.45); padding: 2.5rem 2rem; text-align: center; font-size: 0.85rem; }
footer a      { color: var(--green); text-decoration: none; }
footer strong { color: rgba(255,255,255,0.8); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.5rem; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav { padding: 0 1rem; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(15,31,61,0.98); padding: 1rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li   { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links a    { display: block; padding: 0.85rem 1.5rem; }
  .nav-burger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-seal  { order: -1; }
  .seal-wrap  { width: 220px; height: 220px; }
  .seal-core  { width: 150px; height: 150px; }
  .seal-icon  { width: 36px; height: 36px; }
  section     { padding: 60px 1.25rem; }
  .hero       { padding: 90px 1.25rem 50px; }
  .price-card { padding: 2rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .seal-ring, .seal-ring-2, .seal-check { animation: none; }
}
