:root {
  --bg: #07111f;
  --bg-soft: #0d1726;
  --card: #101c2c;
  --card-2: #122033;
  --line: rgba(148, 163, 184, 0.16);
  --text: #e8eef7;
  --muted: #9fb0c7;
  --accent: #7aa2ff;
  --accent-2: #4fd18b;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1240px;
  --transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(122, 162, 255, 0.14), transparent 26%),
    radial-gradient(circle at top left, rgba(79, 209, 139, 0.08), transparent 22%),
    linear-gradient(180deg, #07111f 0%, #091321 100%);
  color: var(--text);
}

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

.home-shell {
  min-height: 100vh;
}

.home-header {
  width: min(var(--max), calc(100% - 64px));
  margin: 22px auto 0;
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 20px;
  position: sticky;
  top: 14px;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(8, 18, 32, 0.88), rgba(8, 18, 32, 0.78));
  border: 1px solid rgba(148, 163, 184, 0.10);
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.30);
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.home-brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1b2a44, #0f1b2d);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.06);
}

.home-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.home-brand__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.home-brand__copy strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.home-brand__copy span {
  font-size: 0.83rem;
  color: var(--muted);
}

.home-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.home-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.home-nav a:hover {
  color: var(--text);
}

.home-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.home-lang-select {
  min-width: 72px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0 12px;
  outline: none;
}

.home-lang-select option {
  color: #000;
}

.home-btn {
  height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.home-btn:hover {
  transform: translateY(-1px);
}

.home-btn--ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.home-btn--ghost:hover {
  border-color: rgba(122, 162, 255, 0.45);
  background: rgba(255, 255, 255, 0.05);
}

.home-btn--primary {
  background: linear-gradient(135deg, #7aa2ff 0%, #5d8eff 100%);
  color: #07111f;
  box-shadow: 0 14px 34px rgba(122, 162, 255, 0.26);
}

.home-btn--primary:hover {
  box-shadow: 0 18px 40px rgba(122, 162, 255, 0.3);
}

.home-btn--secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.home-main {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 88px;
}

.home-hero {
  min-height: calc(100vh - 140px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);
  align-items: center;
  gap: 54px;
  padding: 34px 0 56px;
}

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8fb4ff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.home-hero__content h1 {
  margin: 0;
  font-size: clamp(2.9rem, 5.3vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  max-width: 720px;
}

.home-hero__text {
  margin: 26px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.78;
}

.home-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.home-hero__visual {
  display: grid;
  gap: 20px;
  align-content: center;
}

.hero-preview-card {
  background: linear-gradient(180deg, rgba(18, 32, 51, 0.92), rgba(11, 22, 36, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-preview-card--main {
  min-height: 230px;
  border-color: rgba(122, 162, 255, 0.28);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(122, 162, 255, 0.08) inset;
}

.hero-preview-card__kicker {
  display: inline-block;
  color: #8fb4ff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-preview-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.hero-preview-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.home-section {
  padding: 84px 0 0;
}

.home-section__header {
  max-width: 760px;
  margin-bottom: 28px;
}

.home-section__header h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.home-grid {
  display: grid;
  gap: 18px;
}

.home-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-card {
  background: linear-gradient(180deg, rgba(16, 28, 44, 0.96), rgba(10, 20, 34, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  min-height: 220px;
}

.home-card h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.home-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.home-section--cta {
  padding-bottom: 24px;
}

.home-cta-box {
  background:
    radial-gradient(circle at top right, rgba(122, 162, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(17, 30, 47, 0.98), rgba(10, 20, 34, 0.98));
  border: 1px solid rgba(122, 162, 255, 0.18);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.home-cta-box h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.home-cta-box p {
  margin: 16px 0 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.72;
  font-size: 1.03rem;
}

.home-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.home-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-footer__brand strong {
  font-size: 1rem;
}

.home-footer__brand span {
  color: var(--muted);
  font-size: 0.88rem;
}

.home-footer__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.home-footer__links a {
  color: var(--muted);
  font-size: 0.94rem;
  transition: color var(--transition);
}

.home-footer__links a:hover {
  color: var(--text);
}

@media (max-width: 1080px) {
  .home-header {
    width: min(var(--max), calc(100% - 32px));
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 18px;
    justify-items: start;
    top: 10px;
  }

  .home-nav,
  .home-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 18px;
  }

  .home-grid--3 {
    grid-template-columns: 1fr;
  }

    .home-grid--2 {
    grid-template-columns: 1fr;
  }

  .home-card--feature {
    min-height: auto;
  }

  .home-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .home-main {
    width: min(var(--max), calc(100% - 24px));
    padding-top: 24px;
  }

  .home-header,
  .home-footer {
    width: min(var(--max), calc(100% - 24px));
  }

  .home-hero__content h1 {
    font-size: 2.35rem;
  }

  .hero-preview-card,
  .home-card,
  .home-cta-box {
    border-radius: 18px;
    padding: 20px;
  }

  .home-btn {
    width: 100%;
  }

  .home-hero__actions {
    flex-direction: column;
  }
}
.home-section-intro {
  margin: 14px 0 0;
  max-width: 860px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.home-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-grid--feature {
  gap: 22px;
  align-items: stretch;
}

.home-card--feature {
  min-height: 200px;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.home-card__kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  color: #8fb4ff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 700;
}

.home-card--feature h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.home-card--feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
  font-size: 1rem;
  max-width: 95%;
}
.home-visual {
  margin-top: 28px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 25px 80px rgba(0,0,0,0.45);

  max-width: 1100px;     /* 🔴 CLAVE */
  margin-left: auto;     /* centra */
  margin-right: auto;    /* centra */
}

.home-visual img {
  width: 100%;
  height: auto;
  display: block;
}
.home-visual {
  background: linear-gradient(
    180deg,
    rgba(16, 28, 44, 0.9),
    rgba(10, 20, 34, 0.9)
  );
  padding: 14px;
}
/* ===== HERO PROOF (BADGES DE CREDIBILIDAD) ===== */

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-proof span {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(122, 162, 255, 0.05);
border: 1px solid rgba(122, 162, 255, 0.12);
color: #a8bbff;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}
/* ===== HOME FAQ ===== */

.home-faq-list {
  display: grid;
  gap: 14px;
  max-width: 980px;
}

.home-faq-item {
  background: linear-gradient(180deg, rgba(16, 28, 44, 0.96), rgba(10, 20, 34, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.home-faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-weight: 700;
}

.home-faq-question span {
  font-size: 1.02rem;
  line-height: 1.35;
}

.home-faq-question strong {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(122, 162, 255, 0.22);
  color: #8fb4ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.home-faq-answer {
  display: none;
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.72;
  max-width: 860px;
}

.home-faq-item.is-open {
  border-color: rgba(122, 162, 255, 0.24);
}

.home-faq-item.is-open .home-faq-answer {
  display: block;
}

.home-faq-item.is-open .home-faq-question strong {
  background: rgba(122, 162, 255, 0.10);
}
@media (max-width: 768px) {
  .home-header {
    width: calc(100% - 24px);
    margin: 14px auto 0;
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
    position: relative;
    top: auto;
  }

  .home-brand {
    width: 100%;
  }

  .home-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    flex-wrap: wrap;
  }

  .home-nav a {
    font-size: 0.9rem;
  }

  .home-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 82px 1fr 1fr;
    gap: 10px;
  }

  .home-lang-select,
  .home-actions .home-btn {
    width: 100%;
    height: 44px;
  }

  .home-main {
    width: calc(100% - 24px);
    padding-top: 34px;
  }

  .home-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 16px 0 42px;
  }

  .home-hero__content h1 {
    font-size: clamp(2.25rem, 11vw, 3.15rem);
    line-height: 1.02;
  }

  .home-hero__text {
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 22px;
  }

  .hero-proof {
    margin-top: 24px;
  }

  .home-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-hero__actions .home-btn {
    width: 100%;
    min-height: 48px;
  }
}