/* InvoiceDemo — shared styles for static SEO landing pages.
   Self-contained, no external deps, mobile-first. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #1a1f36;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
a { color: #2d37c7; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid #eaeaf2;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  font-weight: 800;
  font-size: 19px;
  color: #1a1f36;
  letter-spacing: -0.01em;
}
.brand span { color: #2d37c7; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav a {
  color: #4a4f6e;
  font-weight: 500;
  font-size: 15px;
}
.site-nav a:hover { color: #2d37c7; text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}
.btn-primary {
  background: #2d37c7;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(45, 55, 199, 0.28);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(45, 55, 199, 0.38);
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: #1a1f36 !important;
  border: 1px solid #d8dde6;
}
.btn-ghost:hover {
  border-color: #2d37c7;
  color: #2d37c7 !important;
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 70px 0 50px;
  background:
    radial-gradient(circle at 15% 10%, rgba(45, 55, 199, 0.08), transparent 50%),
    radial-gradient(circle at 90% 30%, rgba(255, 117, 56, 0.07), transparent 50%);
}
.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.hero h1 span { color: #2d37c7; }
.hero p.lead {
  font-size: clamp(17px, 2vw, 20px);
  color: #4a4f6e;
  margin: 0 0 30px;
  max-width: 700px;
  line-height: 1.55;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-cta .small-note {
  font-size: 14px;
  color: #6b7280;
}

/* Sections */
section.content {
  padding: 56px 0;
}
section.content + section.content {
  border-top: 1px solid #f1f2f6;
}
section.content h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 0 0 14px;
  letter-spacing: -0.015em;
  font-weight: 800;
  color: #1a1f36;
}
section.content h3 {
  font-size: 21px;
  margin: 28px 0 10px;
  font-weight: 700;
  color: #1a1f36;
}
section.content p {
  margin: 0 0 14px;
  color: #2c3245;
}
section.content ul, section.content ol {
  padding-left: 22px;
  margin: 0 0 18px;
}
section.content li {
  margin-bottom: 8px;
  color: #2c3245;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 30px;
}
.feature-card {
  padding: 22px;
  border: 1px solid #eaeaf2;
  border-radius: 14px;
  background: #fafbff;
}
.feature-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: #2d37c7;
}
.feature-card p {
  margin: 0;
  font-size: 15px;
  color: #4a4f6e;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 36px;
}
.price-card {
  padding: 28px;
  border: 1px solid #eaeaf2;
  border-radius: 16px;
  background: #fff;
}
.price-card.featured {
  border-color: #2d37c7;
  box-shadow: 0 12px 40px rgba(45, 55, 199, 0.12);
  position: relative;
}
.price-card.featured::before {
  content: 'Más popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #2d37c7;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.price-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
}
.price-card .price {
  font-size: 36px;
  font-weight: 800;
  color: #1a1f36;
  margin: 12px 0 4px;
}
.price-card .price small {
  font-size: 15px;
  font-weight: 500;
  color: #6b7280;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}
.price-card li {
  padding: 8px 0;
  font-size: 15px;
  color: #2c3245;
  border-bottom: 1px solid #f1f2f6;
}
.price-card li::before {
  content: '✓';
  color: #16a34a;
  font-weight: 700;
  margin-right: 8px;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid #eaeaf2;
  padding: 18px 0;
}
.faq-item summary {
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  color: #1a1f36;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: #2d37c7;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  margin-top: 10px;
  color: #4a4f6e;
  font-size: 15.5px;
}

/* Footer */
.site-footer {
  background: #0f1626;
  color: #b8c0d8;
  padding: 40px 0 30px;
  margin-top: 60px;
  font-size: 14.5px;
}
.site-footer a { color: #d8dde6; }
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-bottom: 26px;
}
.site-footer h4 {
  color: #fff;
  font-size: 14px;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li { margin-bottom: 7px; }
.site-footer .legal {
  border-top: 1px solid #1f2940;
  padding-top: 18px;
  font-size: 13px;
  color: #6b7280;
}

/* Breadcrumb */
.breadcrumb {
  padding: 14px 0;
  font-size: 13.5px;
  color: #6b7280;
}
.breadcrumb a { color: #6b7280; }
.breadcrumb a:hover { color: #2d37c7; }
.breadcrumb span { margin: 0 6px; }

/* Final CTA banner */
.cta-banner {
  background: linear-gradient(120deg, #2d37c7, #1a1f8c);
  color: #fff;
  padding: 50px 0;
  text-align: center;
  border-radius: 18px;
  margin: 60px 0 0;
}
.cta-banner h2 {
  color: #fff;
  margin-top: 0;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  max-width: 620px;
  margin: 12px auto 24px;
}
.cta-banner .btn-primary {
  background: #fff;
  color: #2d37c7 !important;
}

/* Responsive */
@media (max-width: 600px) {
  .site-nav { display: none; }
  .hero { padding: 50px 0 36px; }
  section.content { padding: 40px 0; }
}
