:root {
  --navy: #0A3161;
  --navy-dark: #072345;
  --red: #B31942;
  --red-dark: #8f1435;
  --white: #FFFFFF;
  --gray-text: #4a5568;
  --gray-bg: #f5f7fa;
  --border: #e2e6ec;
  --whatsapp: #25D366;
  --whatsapp-dark: #1ebe57;
  --radius: 12px;
  --max-width: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--navy-dark);
  background: var(--white);
  line-height: 1.5;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  color: var(--navy);
  font-weight: 800;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 8px;
}

.section-lead {
  text-align: center;
  color: var(--gray-text);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--gray-bg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-1px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.icon-whatsapp {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn-header {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
}

.brand-name {
  font-weight: 800;
  color: var(--navy);
  font-size: 0.85rem;
  line-height: 1.15;
}

.main-nav {
  display: none;
  gap: 24px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  color: var(--navy-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--red);
}

@media (min-width: 860px) {
  .main-nav {
    display: flex;
  }
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 72px 0 80px;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
}

.hero-logo {
  width: 96px;
  height: 96px;
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--white);
  font-size: 2.1rem;
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero-subtitle {
  color: #cbd8ea;
  font-size: 1.1rem;
  margin-bottom: 32px;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 2.6rem;
  }
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  position: relative;
}

.step-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.step-number {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--gray-text);
  font-size: 0.92rem;
}

/* Pricing */
.price-table-wrap {
  overflow-x: auto;
  margin-bottom: 28px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(10, 49, 97, 0.08);
  min-width: 480px;
}

.price-table thead {
  background: var(--navy);
}

.price-table th {
  color: var(--white);
  text-align: left;
  padding: 16px 20px;
  font-size: 0.95rem;
}

.price-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
}

.price-table tbody tr:last-child td {
  border-bottom: none;
}

.price-table td:last-child {
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
}

.price-min td {
  background: var(--gray-bg);
  font-weight: 700;
}

#precios .btn {
  display: flex;
  width: fit-content;
  margin: 0 auto;
}

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  text-align: center;
  padding: 20px;
}

.trust-icon {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.trust-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.trust-item p {
  color: var(--gray-text);
  font-size: 0.92rem;
}

.trust-disclaimer {
  background: var(--gray-bg);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 20px 24px;
  max-width: 780px;
  margin: 0 auto;
}

.trust-disclaimer p {
  color: var(--gray-text);
  font-size: 0.92rem;
  line-height: 1.6;
}

.trust-disclaimer strong {
  color: var(--navy);
}

/* Donde ayudamos - compact, secondary */
.section-compact {
  padding: 36px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.compact-title {
  font-size: 1.1rem;
  color: var(--gray-text);
  font-weight: 600;
  margin-bottom: 20px;
}

.flags-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto;
}

.flag {
  font-size: 1.3rem;
  line-height: 1;
  cursor: default;
  opacity: 0.9;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.flag:hover {
  transform: scale(1.25);
  opacity: 1;
}

/* Payments */
.payment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 560px;
  margin: 0 auto 24px;
}

@media (min-width: 560px) {
  .payment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.payment-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.payment-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.payment-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.payment-item p {
  color: var(--gray-text);
  font-size: 0.9rem;
}

.payment-note {
  text-align: center;
  color: var(--gray-text);
  font-size: 0.9rem;
  max-width: 620px;
  margin: 0 auto;
}

/* CTA / Contacto */
.cta-section {
  background: var(--red);
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-section h2 {
  color: var(--white);
}

.cta-section p {
  color: #ffd9e2;
  margin-bottom: 28px;
}

.cta-section .btn-whatsapp {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #b9c6d9;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
}

.footer-logo {
  width: 32px;
  height: 32px;
}

.social-links {
  display: flex;
  gap: 18px;
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: background 0.15s ease;
}

.social-link:hover {
  background: var(--red);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-copy {
  font-size: 0.82rem;
  color: #8a9ab3;
}
