#como-iniciar.getting { position: relative; }
.gs-grid { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: stretch; margin-top: 12px; }
.gs-card { background:#fff; border:1px solid rgba(16,35,223,.12); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display:grid; grid-template-columns: 1fr; grid-template-rows: auto 1fr; position: relative; }
.gs-card.alt { grid-template-columns: 1fr; }
.gs-media { background: #ffffff; position: relative; height: 420px; display: grid; place-items: center; z-index: 0; }
.gs-img { width:100%; height:100%; object-fit: contain; display:block; filter: saturate(1.02) contrast(1.02); background: #f6f8ff; }
.gs-body { padding: 18px; display: grid; align-content: start; gap: 8px; z-index: 1; background: #fff; }
.gs-body h3 { margin: 0 0 4px; }
.gs-caption { color: var(--color-muted); margin: 4px 0 12px; }
.gs-intro { margin: 6px 0 12px; line-height: 1.7; }
.gs-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(16,35,223,.22); }
.gs-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }

@media (max-width: 980px) {
  .gs-grid { grid-template-columns: 1fr; }
  .gs-card, .gs-card.alt { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .gs-media { height: 260px; }
}
#confianza.trust {
  position: relative;
  color: #0e1628;
}
.trust-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.95));
}
.trust-bg::after {
  content: "";
  position: absolute;
  inset: -10%;
  pointer-events: none;
  background:
    radial-gradient(600px 240px at 18% 12%, rgba(16,35,223,.12), rgba(16,35,223,0) 60%),
    radial-gradient(520px 220px at 85% 25%, rgba(16,185,129,.10), rgba(16,185,129,0) 60%),
    radial-gradient(680px 260px at 50% 100%, rgba(16,35,223,.06), rgba(16,35,223,0) 60%);
  filter: blur(12px);
  animation: trustFloat 16s ease-in-out infinite alternate;
}
@keyframes trustFloat {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-14px) translateX(6px); }
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 12px;
}
.trust-card {
  background: #fff;
  border: 1px solid rgba(16,35,223,.12);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.trust-card h3 { margin: 0 0 8px; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.trust-list li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; }
.trust-list i { color: var(--color-primary); }
.trust-card.buyer { border-color: rgba(16,185,129,.22); }
.trust-card.buyer .trust-list i { color: #10b981; }

/* Cover placeholder */
.trust-cover {
  height: 282px;
  border-radius: 10px;
  margin: -4px -4px 10px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
}
.trust-cover.seller {
  background-image: linear-gradient(180deg, rgba(16,35,223,.18), rgba(16,35,223,.04)), url('media/images/chico_comercio_safecod.png');
  border-color: rgba(16,35,223,.25);
}
.trust-cover.buyer {
  background-image: linear-gradient(180deg, rgba(16,185,129,.18), rgba(16,185,129,.04)), url('media/images/chica_comercio_safecod.png');
  border-color: rgba(16,185,129,.3);
}

@media (max-width: 980px) {
  .trust-grid { grid-template-columns: 1fr; }
}
#como-funciona .tech-title {
  margin: 18px 0 6px;
  font-size: 20px;
}
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.tech-card {
  background: #fff;
  border: 1px solid rgba(16,35,223,.12);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}
.tech-card.seller {
  background: linear-gradient(180deg, rgba(16,35,223,.06), rgba(16,35,223,.02));
  border-color: rgba(16,35,223,.18);
}
.tech-card.buyer {
  background: linear-gradient(180deg, rgba(16,185,129,.06), rgba(16,185,129,.02));
  border-color: rgba(16,185,129,.22);
}
.tech-card h4 {
  margin: 0 0 12px;
}
.tech-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tech-item { display: grid; grid-template-columns: 28px 1fr; align-items: start; gap: 8px; }
.ticon { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color:#fff; background: linear-gradient(140deg, #1023df,#7a88ff); box-shadow: var(--shadow-sm); }
.ticon i { font-size: 14px; }

@media (max-width: 980px) {
  .tech-grid { grid-template-columns: 1fr; }
}
:root {
  --color-primary: #1023df;
  --color-primary-600: #0e1fcc;
  --color-text: #0e1628;
  --color-muted: #4b5566;
  --bg: #ffffff;
  --surface: #f6f8ff;
  --radius: 14px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(16, 35, 223, 0.08), 0 1px 2px rgba(16, 35, 223, 0.06);
  --shadow-md: 0 10px 20px rgba(16, 35, 223, 0.12), 0 3px 6px rgba(16, 35, 223, 0.10);
  --container: 1160px;
}

html,
body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--color-text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: grid;
  place-items: center;
  z-index: 9999;
}
.preloader-inner {
  display: grid;
  justify-items: center;
  gap: 14px;
}
.preloader .brand-logo {
  height: 38px;
}
.spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid rgba(16, 35, 223, 0.18);
  border-top-color: var(--color-primary);
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

* {
  box-sizing: border-box;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-primary-600);
}

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

section {
  padding: 72px 0;
  border-top: 1px solid rgba(16, 35, 223, 0.06);
}
/* Compensación para anclas con header fijo */
[id] { scroll-margin-top: 90px; }

h1,
h2,
h3 {
  letter-spacing: -0.02em;
}

h2 {
  font-size: 32px;
  margin: 0 0 12px;
}

p.lead {
  color: var(--color-muted);
  font-size: 18px;
}

/* Header */
header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(16, 35, 223, 0.08);
  transform: translateZ(0);
  width: 100%;
}

.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; padding: 12px 0; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 700;
}

.logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
}

/* Logo imagen */
.brand-logo {
  display: block;
  height: 32px;
  width: auto;
}

nav a {
  color: var(--color-text);
  font-weight: 500;
  margin-left: 16px;
}
nav a.cta { margin-left: 18px; padding: 8px 14px; border-radius: 10px; background: var(--color-primary); color: #fff; box-shadow: var(--shadow-sm); }

/* Mobile nav */
.menu-toggle { display: none; background: var(--color-primary); color: #fff; border: none; border-radius: 10px; padding: 8px 12px; box-shadow: var(--shadow-sm); }
#primary-nav { display: flex; align-items: center; justify-self: end; }

/* Colapsa el menú un poco antes (tablets/iPad landscape) */
@media (max-width: 1160px) {
  #primary-nav { position: fixed; top: 56px; right: 12px; background: rgba(255,255,255,.98); backdrop-filter: blur(8px); border: 1px solid rgba(16,35,223,.12); border-radius: 12px; padding: 10px; box-shadow: var(--shadow-md); display: none; flex-direction: column; align-items: stretch; gap: 8px; z-index: 9999; }
  #primary-nav a { margin: 0; padding: 8px 10px; }
  .menu-toggle { display: inline-flex; justify-self: end; }
  .nav-open #primary-nav { display: flex; }
  .brand-logo { height: 28px; }
}

@media (max-width: 980px) {
  #primary-nav { position: fixed; top: 56px; right: 12px; background: rgba(255,255,255,.98); backdrop-filter: blur(8px); border: 1px solid rgba(16,35,223,.12); border-radius: 12px; padding: 10px; box-shadow: var(--shadow-md); display: none; flex-direction: column; align-items: stretch; gap: 8px; z-index: 9999; }
  #primary-nav a { margin: 0; padding: 8px 10px; }
  .menu-toggle { display: inline-flex; justify-self: end; }
  .nav-open #primary-nav { display: flex; }
}
nav a[href^="#"] { scroll-margin-top: 80px; }

nav a.cta {
  margin-left: 18px;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* Hero */
.hero {
  padding-top: 64px; /* compensa header fijo */
  position: relative;
  overflow: clip;
  min-height: 56vh;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
  position: relative;
  z-index: 1;
  min-height: 56vh;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 12px;
  color: #ffffff;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  max-width: 60ch;
}

/* Animación de palabras (GSAP) */
.reveal-word {
  display: inline-block;
  will-change: transform, opacity;
}

/* Taglines rotativas en el hero */
.taglines {
  position: relative;
  margin-top: 14px;
  min-height: 26px;
}
.tagline {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  color: #ffffff;
  font-weight: 600;
  background: rgba(16, 35, 223, 0.22);
  border: 1px solid rgba(255,255,255,.25);
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
}

.actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}

.btn {
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid rgba(16, 35, 223, 0.16);
}

.btn.primary {
  background: var(--color-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

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

.pill {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: #ffffff;
}

.visual {
  min-height: 360px;
  position: relative;
}

/* Hero video background */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Evita efectos indeseados al hacer pin del video */
.hero-video.is-pinned video {
  will-change: transform;
}

/* Flujo de cards de rating que suben detrás del contenido */
.ratings-flow {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: auto;
  width: 46%;
  right: 2.5%;
  max-width: 580px;
  z-index: 0; /* sobre el video, debajo del copy */
  pointer-events: none;
  overflow: hidden;
}

.rating-chip {
  position: absolute;
  display: grid;
  align-content: start;
  gap: 6px;
  width: 220px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(16, 35, 223, 0.18);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
}

.rating-chip .badge {
  color: #fff;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 11px;
  display: inline-block;
}

.rating-chip .score {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

/* Diferenciación por tipo */
.rating-chip.buyer .badge { /* azul (comprador) */
  background: linear-gradient(83deg, #1023df, #7a88ff);
}
.rating-chip.buyer .score {
  color: var(--color-primary);
}
.rating-chip.seller .badge { /* verde (vendedor) */
  background: linear-gradient(83deg, #10b981, #6ee7b7);
}
.rating-chip.seller .score {
  color: #10b981;
}

/* Casos negativos y advertencia */
.rating-chip.negative .badge {
  background: linear-gradient(83deg, #ef4444, #f97316); /* rojo → naranja para el chip */
}
.rating-chip.negative .score {
  color: #ef4444; /* rojo */
}
.rating-chip.warning .badge {
  background: linear-gradient(83deg, #f59e0b, #fcd34d); /* naranja/amarillo */
}
.rating-chip.warning .score {
  color: #f59e0b; /* naranja */
}

@media (max-width: 980px) {
  .ratings-flow {
    left: 0;
    width: 100%;
    max-width: none;
    opacity: 0.5;
  }
}

@media (max-width: 680px) {
  .ratings-flow {
    display: none; /* evita ruido visual en pantallas muy pequeñas */
  }
}

.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to bottom,
      rgba(16, 23, 40, 0.25),
      rgba(16, 23, 40, 0.45)
    );
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

.hero-copy {
  background: transparent;
  color: #ffffff;
}

.card {
  position: absolute;
  right: 12%;
  top: 10%;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(16, 35, 223, 0.12);
  padding: 18px 16px;
  width: 220px;
  box-shadow: var(--shadow-md);
}

.card.alt {
  top: 52%;
  right: 0;
}

.badge {
  display: inline-block;
  background: linear-gradient(83deg, #1023df, #7a88ff);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
}

.score {
  margin-top: 10px;
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
}

/* Asegura legibilidad dentro de cards sobre fondo blanco */
.card p,
.rating-chip p {
  color: var(--color-muted);
}

/* Grids y tarjetas */
.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.about-grid {
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}
.about-grid .intro p {
  font-size: 17px;
  line-height: 1.6;
}

/* Features (Quiénes somos) */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  justify-content: flex-start;
}
.feature {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: start;
  align-content: start;
  background: #fff;
  border: 1px solid rgba(16, 35, 223, 0.12);
  border-radius: var(--radius);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
  min-height: 110px; /* más compacta */
  position: relative;
  z-index: 0;
  flex: 1 1 100%;
  max-width: 100%;
  will-change: transform, filter, opacity;
  backface-visibility: hidden;
}
.feature:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(16, 35, 223, 0.24);
  z-index: 1;
}
.feature h3 {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.2;
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, #1023df, #7a88ff);
  box-shadow: var(--shadow-sm);
  align-self: start;
  margin-top: 1px; /* normaliza alineación vertical */
}
.icon svg, .icon i { opacity: .95; font-size: 16px; }

.chip {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}

.panel {
  background: #fff;
  border: 1px solid rgba(16, 35, 223, 0.12);
  border-radius: var(--radius);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  background: #fff;
  border: 1px solid rgba(16, 35, 223, 0.12);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  min-height: 150px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}

.num {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 8px;
  transform: translateZ(0);
  transition: transform .25s ease;
}

/* Microinteracciones para pasos */
.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(16, 35, 223, 0.14), 0 4px 10px rgba(16, 35, 223, 0.1);
  border-color: rgba(16, 35, 223, 0.22);
}
.step:hover .num { transform: scale(1.08); }
.step:hover::after { transform: scaleX(1); }
.step::before {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -40%;
  right: -40%;
  background: linear-gradient(120deg, transparent 35%, rgba(16,35,223,.08) 50%, transparent 65%);
  transform: translateX(-80%);
  transition: transform .6s ease;
  pointer-events: none;
}
.step:hover::before { transform: translateX(80%); }
.step::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(16,35,223,.0), rgba(16,35,223,.45), rgba(16,35,223,.0));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s ease;
}
.step.active {
  border-color: rgba(16, 35, 223, 0.22);
  box-shadow: var(--shadow-md);
}
.step.active::after { transform: scaleX(1); }
.step.active .num { transform: scale(1.08); }

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan {
  background: #fff;
  border: 1px solid rgba(16, 35, 223, 0.12);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: grid;
  align-content: start;
  gap: 8px;
}

.plan.highlight {
  border-color: rgba(16, 35, 223, 0.28);
  box-shadow: var(--shadow-md);
}

.price {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 6px 0 10px;
}

.plan ul {
  padding-left: 18px;
  color: var(--color-muted);
  margin: 8px 0;
}

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.member {
  background: #fff;
  border: 1px solid rgba(16, 35, 223, 0.12);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  min-height: 140px;
  display: grid;
  align-content: start;
  gap: 8px;
  text-align: center;
}
.member .email { color: var(--color-primary); font-weight: 600; text-decoration: none; }
.member .email:hover { text-decoration: underline; }

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.photo {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  object-fit: cover;
  justify-self: center;
  box-shadow: var(--shadow-sm);
}

.form {
  background: linear-gradient(180deg, rgba(16,35,223,.05), rgba(16,35,223,.02)), #ffffff;
  border: 1px solid rgba(16, 35, 223, 0.18);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}


.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
/* Mejor distribución del formulario */
.form .row {
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 18px 18px;
  margin-bottom: 16px;
}
.form .actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.form .actions .btn { white-space: nowrap; }
.form .hint { color: var(--color-muted); font-size: 13px; }
/* Asegura que inputs ocupen el ancho disponible */
.form input, .form textarea { width: 100%; box-sizing: border-box; }

label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: var(--color-text);
}

input,
textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(16, 35, 223, 0.18);
  font: inherit;
  background: #ffffff;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(16, 35, 223, 0.35);
  border-color: transparent;
}

footer { margin-top: 40px; }
.site-footer { background: linear-gradient(180deg, #0e1fcc, #1023df); color: #ffffff; }
.site-footer a { color: #ffffff; opacity: .9; text-decoration: none; }
.site-footer a:hover { opacity: 1; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; align-items: start; gap: 16px; padding: 32px 0; }
.footer-brand { display: inline-flex; align-items: center; }
.footer-logo { height: 36px; }
.footer-nav { display: grid; gap: 8px; }
.footer-social { display: grid; gap: 8px; }
.footer-social a { display: inline-flex; align-items: center; gap: 8px; }
.footer-social i { font-size: 16px; }
.footer-copy { justify-self: end; opacity: .85; text-align: right; }
.muted { color: var(--color-muted); }

@media (max-width: 980px) {
  .footer-inner { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .footer-nav { gap: 10px; }
  .footer-social { gap: 10px; justify-self: center; }
  .footer-social a { justify-content: center; }
  .footer-brand { justify-self: center; }
  .footer-copy { justify-self: center; text-align: center; }
}

/* Fondo gradiente para "Quiénes somos" */
#sobre {
  position: relative;
  overflow: hidden;
}
#sobre::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 380px at 15% 0%, rgba(16, 35, 223, 0.10), rgba(16, 35, 223, 0.00) 60%),
    radial-gradient(700px 320px at 95% 10%, rgba(16, 35, 223, 0.08), rgba(16, 35, 223, 0.00) 60%),
    linear-gradient(180deg, rgba(16, 35, 223, 0.05), rgba(16, 35, 223, 0.02));
}

/* Micro-interacciones */
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(16, 35, 223, 0.14), 0 3px 8px rgba(16, 35, 223, 0.12);
}

.plan:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(16, 35, 223, 0.14), 0 4px 10px rgba(16, 35, 223, 0.1);
}

/* Accesibilidad del foco para enlaces */
a:focus {
  outline: 3px solid rgba(16, 35, 223, 0.35);
  outline-offset: 2px;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature {
    flex: 1 1 100%;
    max-width: 100%;
  }
  /* Formularios en una sola columna en tablets */
  .form .row { grid-template-columns: 1fr; }
  .hero-grid {
    min-height: 50vh;
  }
  .hero-copy {
    background: transparent; /* evitar card blanco sobre el video en mobile/tablet */
  }
  .cards-4 {
    grid-template-columns: 1fr 1fr;
  }
  .pricing,
  .team {
    grid-template-columns: 1fr;
  }
  nav a {
    margin-left: 12px;
  }
}

@media (max-width: 680px) {
  .cards-4 {
    grid-template-columns: 1fr;
  }
  .row { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; gap: 16px; margin-bottom: 14px; }
  .form { padding: 16px; }
  .form .actions { flex-direction: column; align-items: stretch; }
  .form .actions .btn { width: 100%; }
  .hero h1 {
    font-size: 34px;
  }
  .hero-grid {
    min-height: 44vh;
  }
}


