/* =========================================================
   NOVA LANDING TEC — Hoja de estilos
   ---------------------------------------------------------
   Guía rápida para editar:
   · Colores  -> bloque ":root" (línea de abajo)
   · Ancho    -> variable --ancho
   · Todo lo demás usa esas variables, así que cambiando
     un color acá se actualiza toda la página.
   ========================================================= */

:root {
  /* --- Colores de marca (cambiá estos para adaptarlo a tu logo) --- */
  --primario:        #2b5cff;
  --primario-oscuro: #1b40c4;
  --primario-suave:  #eaf0ff;
  --acento:          #16d3a3;

  /* --- Neutros --- */
  --tinta:      #0d1526;
  --tinta-suave:#4d5c75;
  --linea:      #e4e9f2;
  --fondo:      #ffffff;
  --fondo-alt:  #f5f8fd;
  --oscuro:     #0b1526;
  --oscuro-alt: #14213c;

  /* --- Medidas --- */
  --ancho: 1140px;
  --radio: 16px;
  --radio-chico: 10px;
  --sombra: 0 1px 2px rgba(13, 21, 38, .04), 0 8px 24px rgba(13, 21, 38, .06);
  --sombra-fuerte: 0 12px 40px rgba(13, 21, 38, .14);

  --fuente: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* =========================================================
   BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--fuente);
  font-size: 17px;
  line-height: 1.65;
  color: var(--tinta-suave);
  background: var(--fondo);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  color: var(--tinta);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--primario); text-decoration: none; }
a:hover { text-decoration: underline; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--primario);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Enlace de accesibilidad (solo visible al navegar con teclado) */
.saltar {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--tinta);
  color: #fff;
  padding: .8rem 1.2rem;
  z-index: 200;
}
.saltar:focus { left: .5rem; top: .5rem; }

/* =========================================================
   ESTRUCTURA
   ========================================================= */
.contenedor {
  width: min(100% - 2.5rem, var(--ancho));
  margin-inline: auto;
}
.contenedor--angosto { width: min(100% - 2.5rem, 780px); }

.seccion {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  scroll-margin-top: 80px;
}
.seccion--clara  { background: var(--fondo-alt); }
.seccion--oscura { background: var(--oscuro); color: #b9c6dd; }
.seccion--oscura h2, .seccion--oscura h3, .seccion--oscura strong { color: #fff; }

.titulo-seccion {
  max-width: 640px;
  margin: 0 auto clamp(2.2rem, 5vw, 3.5rem);
  text-align: center;
}
.titulo-seccion p:last-child { font-size: 1.06rem; }
.titulo-seccion--claro p { color: #a9b8d2; }

/* Etiquetas pequeñas de sección */
.etiqueta {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primario);
  margin: 0 0 .7rem;
}
.etiqueta--claro { color: var(--acento); }
.etiqueta--chica { font-size: .7rem; margin-bottom: .35rem; }

.parrafo-grande { font-size: 1.12rem; }

/* Rejillas */
.rejilla { display: grid; gap: 1.5rem; }
.rejilla--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

/* =========================================================
   BOTONES
   ========================================================= */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.7rem;
  border: 2px solid transparent;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.boton:hover { text-decoration: none; transform: translateY(-2px); }

.boton--primario {
  background: var(--primario);
  color: #fff;
  box-shadow: 0 6px 18px rgba(43, 92, 255, .28);
}
.boton--primario:hover { background: var(--primario-oscuro); }

.boton--secundario {
  background: transparent;
  border-color: var(--linea);
  color: var(--tinta);
}
.boton--secundario:hover { border-color: var(--primario); color: var(--primario); }

.seccion--oscura .boton--secundario { border-color: rgba(255,255,255,.28); color: #fff; }
.seccion--oscura .boton--secundario:hover { border-color: #fff; }

.boton--chico { padding: .65rem 1.25rem; font-size: .95rem; }
.boton--ancho { width: 100%; }

/* =========================================================
   CABECERA
   ========================================================= */
.cabecera {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linea);
}
.cabecera__interior {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.marca img { height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__lista { display: flex; gap: 1.6rem; }
.nav__lista a {
  color: var(--tinta);
  font-weight: 500;
  font-size: .97rem;
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
}
.nav__lista a:hover { text-decoration: none; color: var(--primario); border-bottom-color: var(--primario); }

/* Botón de menú (solo en celular) */
.menu-boton {
  display: none;
  align-items: center;
  gap: .55rem;
  background: none;
  border: 1px solid var(--linea);
  border-radius: 100px;
  padding: .5rem .9rem;
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  color: var(--tinta);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.menu-boton__barras,
.menu-boton__barras::before,
.menu-boton__barras::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--tinta);
  border-radius: 2px;
  content: "";
}
.menu-boton__barras { position: relative; }
.menu-boton__barras::before { position: absolute; top: -6px; }
.menu-boton__barras::after  { position: absolute; top: 6px; }

/* =========================================================
   PORTADA
   ========================================================= */
.portada {
  background:
    radial-gradient(900px 420px at 12% 0%, #eef3ff 0%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--linea);
}
.portada__interior {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.portada h1 { margin-bottom: 1rem; }
.resalte {
  background: linear-gradient(180deg, transparent 62%, rgba(22, 211, 163, .32) 62%);
  padding: 0 .1em;
}
.portada__botones {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin: 1.8rem 0 1.6rem;
}
.portada__ventajas {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--tinta);
}
.portada__ventajas li { display: flex; align-items: center; gap: .5rem; }
.portada__ventajas li::before {
  content: "";
  width: 18px; height: 18px;
  flex: none;
  border-radius: 50%;
  background: var(--acento) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.portada__imagen img { filter: drop-shadow(0 20px 45px rgba(13, 21, 38, .13)); }

/* =========================================================
   TARJETAS
   ========================================================= */
.tarjeta {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  padding: 1.8rem;
  box-shadow: var(--sombra);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.tarjeta:hover {
  transform: translateY(-3px);
  border-color: #cfdbf5;
  box-shadow: var(--sombra-fuerte);
}
.tarjeta p { font-size: .98rem; }

.tarjeta--simple { box-shadow: none; background: #fff; }
.tarjeta__numero {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--primario);
  margin-bottom: .6rem;
}

.icono {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primario-suave);
  color: var(--primario);
  margin-bottom: 1.1rem;
}
.icono svg { width: 24px; height: 24px; }

/* Listas con tilde */
.lista-check { margin-top: 1rem; display: grid; gap: .5rem; }
.lista-check li {
  position: relative;
  padding-left: 1.7rem;
  font-size: .95rem;
}
.lista-check li::before {
  content: "";
  position: absolute;
  left: 0; top: .45em;
  width: 15px; height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316d3a3' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* =========================================================
   PASOS DEL PROCESO
   ========================================================= */
.pasos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.paso {
  background: var(--oscuro-alt);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radio);
  padding: 1.7rem;
}
.paso__numero {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primario);
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}
.paso h3 { margin-bottom: .4rem; }
.paso p { font-size: .96rem; color: #a9b8d2; }

/* =========================================================
   PROYECTOS
   ========================================================= */
.proyecto {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: transform .15s ease, box-shadow .15s ease;
}
.proyecto:hover { transform: translateY(-3px); box-shadow: var(--sombra-fuerte); }
.proyecto img { width: 100%; background: var(--fondo-alt); }
.proyecto__texto { padding: 1.3rem 1.5rem 1.7rem; }
.proyecto__texto h3 { margin-bottom: .35rem; }
.proyecto__texto p { font-size: .95rem; }

/* =========================================================
   PLANES
   ========================================================= */
.planes { align-items: stretch; }
.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  padding: 2rem 1.8rem;
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
}
.plan--destacado {
  border: 2px solid var(--primario);
  box-shadow: 0 16px 44px rgba(43, 92, 255, .16);
}
.plan__cinta {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primario);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}
.plan h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.plan__descripcion { font-size: .95rem; min-height: 3rem; }
.plan__precio {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--tinta);
  line-height: 1.1;
  margin: .4rem 0 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--linea);
}
.plan__precio--texto { font-size: 1.6rem; }
.plan__desde {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--tinta-suave);
}
.plan .lista-check { flex: 1; margin-bottom: 1.6rem; }

.nota-planes {
  margin-top: 2rem;
  text-align: center;
  font-size: .95rem;
  color: var(--tinta-suave);
}

/* =========================================================
   DOS COLUMNAS (sobre nosotros / contacto)
   ========================================================= */
.dos-columnas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.dos-columnas--contacto { align-items: start; }

.datos { display: grid; gap: 1rem; margin-top: 1.8rem; }
.datos li {
  display: grid;
  gap: .1rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--acento);
}
.datos strong { color: var(--tinta); }
.datos span { font-size: .95rem; }

/* =========================================================
   TESTIMONIOS (por si activás la sección)
   ========================================================= */
.testimonio {
  margin: 0;
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  padding: 1.8rem;
  box-shadow: var(--sombra);
}
.testimonio p { font-size: 1.02rem; color: var(--tinta); }
.testimonio p::before { content: "“"; }
.testimonio p::after  { content: "”"; }
.testimonio footer { margin-top: 1.1rem; display: grid; }
.testimonio footer span { font-size: .9rem; }

/* =========================================================
   PREGUNTAS FRECUENTES
   ========================================================= */
.faq { display: grid; gap: .8rem; }
.faq details {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: var(--radio-chico);
  padding: 0 1.4rem;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 2.2rem 1.15rem 0;
  font-weight: 600;
  color: var(--tinta);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 14px; height: 14px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b5cff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.faq details[open] summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b5cff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}
.faq details p { padding-bottom: 1.3rem; font-size: .98rem; }

/* =========================================================
   CONTACTO Y FORMULARIO
   ========================================================= */
.contacto__datos { display: grid; gap: 1.2rem; margin-top: 2rem; }
.contacto__datos li { display: flex; gap: .9rem; align-items: flex-start; }
.contacto__datos strong { display: block; color: #fff; font-size: .95rem; }
.contacto__datos a { color: var(--acento); }
.contacto__icono {
  flex: none;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: var(--acento);
}
.contacto__icono svg { width: 20px; height: 20px; }

.formulario-caja {
  background: #fff;
  border-radius: var(--radio);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}
.campo { margin-bottom: 1.1rem; }
.campo label {
  display: block;
  font-size: .92rem;
  font-weight: 600;
  color: var(--tinta);
  margin-bottom: .4rem;
}
.campo input,
.campo select,
.campo textarea {
  width: 100%;
  padding: .8rem .9rem;
  border: 1px solid var(--linea);
  border-radius: var(--radio-chico);
  font: inherit;
  font-size: .98rem;
  color: var(--tinta);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.campo textarea { resize: vertical; min-height: 110px; }
.campo input:focus,
.campo select:focus,
.campo textarea:focus {
  outline: none;
  border-color: var(--primario);
  box-shadow: 0 0 0 3px rgba(43, 92, 255, .15);
}
.campo input::placeholder,
.campo textarea::placeholder { color: #9aa7bd; }
.campo .error { border-color: #e0464b; }

.formulario-caja__nota {
  margin-top: .9rem;
  font-size: .85rem;
  text-align: center;
}
.formulario-caja__error {
  margin-top: .8rem;
  font-size: .9rem;
  color: #c62a2f;
  background: #fdeceb;
  border-radius: var(--radio-chico);
  padding: .7rem .9rem;
  text-align: center;
}

/* =========================================================
   PIE DE PÁGINA
   ========================================================= */
.pie {
  background: var(--oscuro);
  color: #93a3c0;
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
  font-size: .95rem;
}
.pie__interior {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.pie__marca img { height: 38px; width: auto; margin-bottom: 1rem; }
.pie__marca p { max-width: 32ch; }
.pie__enlaces {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}
.pie__enlaces h3 {
  color: #fff;
  font-size: .93rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .9rem;
}
.pie__enlaces ul { display: grid; gap: .55rem; }
.pie__enlaces a { color: #93a3c0; }
.pie__enlaces a:hover { color: #fff; text-decoration: none; }

.pie__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  padding-top: 1.5rem;
  padding-bottom: 3.5rem; /* deja aire para el botón flotante de WhatsApp */
  font-size: .88rem;
  color: #6f7f9c;
}
.pie__legal p { margin: 0; }

/* =========================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================= */
.wa-flotante {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .42);
  transition: transform .15s ease;
}
.wa-flotante:hover { transform: scale(1.06); }
.wa-flotante svg { width: 30px; height: 30px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .portada__interior,
  .dos-columnas {
    grid-template-columns: 1fr;
  }
  .portada__imagen { order: -1; max-width: 540px; margin-inline: auto; }
  .dos-columnas__imagen { max-width: 460px; margin-inline: auto; }
  .pie__interior { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .menu-boton { display: inline-flex; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    background: #fff;
    border-bottom: 1px solid var(--linea);
    box-shadow: var(--sombra);
    padding: 1.2rem 1.25rem 1.6rem;
  }
  .nav.abierto { display: flex; }
  .nav__lista { flex-direction: column; gap: 0; }
  .nav__lista a {
    display: block;
    padding: .8rem 0;
    border-bottom: 1px solid var(--linea);
  }
  .nav__lista a:hover { border-bottom-color: var(--linea); }
  .cabecera__interior { position: relative; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .portada__botones .boton { width: 100%; }
  .plan__descripcion { min-height: auto; }
  .wa-flotante { width: 52px; height: 52px; }
}

/* Respeta a quien prefiere menos movimiento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
  .boton:hover, .tarjeta:hover, .proyecto:hover, .wa-flotante:hover { transform: none; }
}

/* Impresión */
@media print {
  .cabecera, .wa-flotante, .portada__botones, .formulario-caja { display: none; }
  body { color: #000; font-size: 12pt; }
}
