*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --navy: #0b1228;
  --navy2: #0f172a;
  --blue: #0ea5e9;
  --cyan: #38bdf8;
  --light: #f0f6ff;
  --muted: #94a3b8;
  --slate: #475569;
  --border: rgba(14, 165, 233, 0.15);
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* HERO */
.hero {
  background: var(--band-bg);
  padding: 80px 32px 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-kicker {
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--kicker);
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 span {
  color: var(--blue);
}
.hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--blue-btn);
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--blue-btn-hover);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: var(--light);
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-block;
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* SECTIONS */
.section {
  padding: 72px 32px;
  background: var(--section-bg-alt);
}
.section.bg-dark {
  background: var(--band-bg);
}
.section.bg-light {
  background: var(--section-bg);
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-kicker {
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--kicker);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}
.section-title span {
  color: var(--blue);
}
.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}
.text-center {
  text-align: center;
}
.text-center .section-desc {
  margin: 0 auto;
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--card-border);
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 48px rgba(14, 165, 233, 0.12);
  transform: translateY(-4px);
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.service-card .subtitle {
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.service-card .desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.price-box {
  background: var(--section-bg);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 28px;
  text-align: center;
}
.price-box .label {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
  display: block;
}
.price-box .amount {
  font-size: 36px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -1px;
}
.price-box .amount span {
  font-size: 18px;
  color: var(--blue);
  font-weight: 700;
}

.features-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}
.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.features-list li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 800;
  font-size: 14px;
  margin-top: 1px;
  flex-shrink: 0;
}

.service-cta {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--blue-btn);
  color: #fff;
  border-radius: 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
  margin-top: auto;
}
.service-cta:hover {
  background: var(--blue-btn-hover);
  transform: translateY(-1px);
}

/* PROCESS */
.proceso-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.paso-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--card-bg);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--card-border);
}
.paso-num {
  min-width: 40px;
  height: 40px;
  background: var(--blue-btn);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
}
.paso-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.paso-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  border-radius: 28px;
  padding: 56px 48px;
  text-align: center;
  margin-top: 48px;
}
.cta-banner h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.cta-banner p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.btn-white {
  background: #fff;
  color: var(--blue);
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 800;
  transition: all 0.2s;
  display: inline-block;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}
.back-link:hover {
  color: var(--blue);
}

/* ═══ TRANSICIONES, BORDES Y ANIMACIONES (paleta celeste + tema) ═══ */
.seam { height: 120px; pointer-events: none; }
.seam-dark-light {
  background: linear-gradient(to bottom, var(--band-bg) 0%, color-mix(in srgb, var(--band-bg), var(--section-bg)) 50%, var(--section-bg) 100%);
}
.seam-light-dark {
  background: linear-gradient(to bottom, var(--section-bg) 0%, color-mix(in srgb, var(--section-bg), var(--band-bg)) 50%, var(--band-bg) 100%);
}
@media (max-width: 768px) { .seam { height: 72px; } }
.section, .seam { transition: background-color 0.3s ease; }

.service-card, .paso-card {
  box-shadow: 0 1px 2px rgba(11, 18, 40, 0.04), 0 6px 16px rgba(11, 18, 40, 0.05);
}

.paso-num, .service-icon-wrap { transition: transform 0.25s ease; }
.service-card:hover .service-icon-wrap { transform: scale(1.08); }
.paso-card:hover .paso-num { transform: scale(1.08); }


/* ─── CTA banner aclarado en MODO CLARO (dark queda con el degradé azul) ─── */
:root[data-theme="light"] .cta-banner {
  background: var(--featured-bg);
}
:root[data-theme="light"] .cta-banner h2 {
  color: var(--text);
}
:root[data-theme="light"] .cta-banner p {
  color: var(--text-muted);
}
:root[data-theme="light"] .cta-banner .btn-white {
  background: var(--blue-btn);
  color: #fff;
}
