/* Landing de medición 3D Insize (/medicion-3d), 2026-11-04.
   Todo va bajo .m3d para no tocar el resto del sitio. Colores de :root en style.css. */

.m3d { color: #1d2433; overflow-x: hidden; }
.m3d h1, .m3d h2, .m3d h3 { color: var(--lace-blue); font-weight: 800; }
.m3d h1 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.15; margin-bottom: 1rem; }
.m3d h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.2; margin-bottom: .9rem; }
.m3d h3 { font-size: 1.1rem; line-height: 1.3; }
.m3d p { line-height: 1.6; }
/* style.css justifica todos los párrafos; en esta página se lee mejor alineado a la izquierda */
.m3d p, .m3d li, .m3d span, .m3d summary { text-align: left; }
.m3d .m3d-titulo p, .m3d .m3d-gracias p { text-align: center; }

.m3d-seccion { padding: 64px 0; }
.m3d-gris { background: #f3f6fa; }
.m3d-azul { background: var(--lace-blue); }
.m3d-azul h2, .m3d-azul h3, .m3d-azul p { color: #fff; }
.m3d-titulo { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.m3d-titulo p { color: #4a5568; }
.m3d-azul .m3d-titulo p { color: rgba(255, 255, 255, .85); }

.m3d-eyebrow { color: var(--lace-green); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .85rem; margin-bottom: .6rem; }
.m3d-lead { font-size: 1.15rem; color: #3a4456; }

/* Botones */
.m3d-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.m3d-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 6px; font-weight: 800; text-decoration: none; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s; cursor: pointer; }
.m3d-btn-primario { background: var(--lace-green); color: #fff; }
.m3d-btn-primario:hover { background: #2f8a28; color: #fff; }
.m3d-btn-wa { background: #fff; color: var(--lace-blue); border-color: var(--lace-blue); }
.m3d-btn-wa:hover { background: var(--lace-blue); color: #fff; }
.m3d-btn-secundario { background: transparent; color: var(--lace-blue); border-color: #c9d2e0; }
.m3d-btn-secundario:hover { border-color: var(--lace-blue); color: var(--lace-blue); }
.m3d-enlace { color: var(--lace-green); font-weight: 800; text-decoration: none; }
.m3d-enlace:hover { color: #2f8a28; text-decoration: underline; }

/* Encabezado */
.m3d-hero { padding: 48px 0 40px; background: linear-gradient(180deg, #f3f6fa 0%, #fff 100%); }
.m3d-hero-img { width: 100%; max-width: 440px; height: auto; mix-blend-mode: multiply; }
.m3d-garantias { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: #3a4456; font-weight: 600; }
.m3d-garantias i, .m3d-garantias svg { color: var(--lace-green); margin-right: 6px; }

/* Íconos en círculo. Font Awesome cambia cada <i> por un <svg> que toma el color del
   texto (currentColor), por eso el color va en el contenedor y no en el <i>. */
.m3d-icono { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; }
.m3d-icono i, .m3d-icono svg { color: inherit; }

/* Problema */
.m3d-problemas { display: grid; gap: 14px; }
.m3d-problemas > div { display: flex; gap: 16px; align-items: center; background: #f3f6fa; border-radius: 8px; padding: 16px; }
.m3d-problemas .m3d-icono { background: #fff; color: var(--lace-green); }
.m3d-problemas p { margin: 0; color: #4a5568; }
.m3d-problemas strong { display: block; color: var(--lace-blue); }

/* Tarjetas de tecnología */
.m3d-tarjeta { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 20px; height: 100%; display: flex; flex-direction: column; }
.m3d-tarjeta-img { background: #fff; border-radius: 8px; text-align: center; margin-bottom: 12px; }
.m3d-tarjeta-img img { width: 100%; max-width: 240px; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.m3d-lema { color: var(--lace-green); font-weight: 700; }
.m3d-tarjeta ul { padding-left: 18px; margin-bottom: 12px; color: #3a4456; font-size: .95rem; }
.m3d-tarjeta li { margin-bottom: 6px; }
.m3d-ideal { font-size: .95rem; color: #3a4456; }
.m3d-tarjeta .m3d-enlace { margin-top: auto; }

/* Selector */
.m3d-selector { max-width: 900px; margin: 0 auto; }
.m3d-pregunta { border: 0; padding: 0; margin: 0 0 22px; }
.m3d-pregunta legend { font-size: 1.05rem; font-weight: 800; color: var(--lace-blue); margin-bottom: 10px; float: none; width: auto; }
.m3d-opciones { display: flex; flex-wrap: wrap; gap: 10px; }
.m3d-opcion { background: #fff; border: 2px solid #d5dce8; border-radius: 6px; padding: 10px 16px; font-weight: 600; color: #2d3748; text-align: left; cursor: pointer; transition: border-color .15s, background-color .15s; }
.m3d-opcion:hover { border-color: var(--lace-blue); }
.m3d-opcion[aria-pressed="true"] { border-color: var(--lace-green); background: var(--lace-green-light); color: var(--lace-blue); }
.m3d-resultado { margin-top: 28px; background: #f3f6fa; border-left: 5px solid var(--lace-green); border-radius: 8px; padding: 24px; }
.m3d-resultado-etq { margin: 0; font-weight: 700; color: #4a5568; }
.m3d-resultado h3 { font-size: 1.4rem; margin: 4px 0 10px; }
.m3d-resultado-alt { font-style: italic; color: #4a5568; }

/* Razones */
.m3d-razones > div { text-align: left; }
.m3d-razones .m3d-icono { background: var(--lace-green); color: #fff; margin-bottom: 14px; }
.m3d-razones p { color: rgba(255, 255, 255, .85); }

/* Proceso */
.m3d-pasos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: none; }
.m3d-pasos li { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 20px; }
.m3d-paso-num { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--lace-green); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 10px; }
.m3d-pasos p { color: #4a5568; font-size: .95rem; margin: 0; }

/* Video */
.m3d-video { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #0b1324; }
.m3d-video-boton { position: absolute; inset: 0; border: 0; padding: 0; width: 100%; height: 100%; cursor: pointer; background: #0b1324; }
.m3d-video-boton img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.m3d-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: var(--lace-green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.m3d-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Evento */
.m3d-evento { padding: 0 0 8px; background: #f3f6fa; }
.m3d-evento-caja { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: #fff; border: 2px solid var(--lace-green); border-radius: 10px; padding: 24px 28px; }
.m3d-evento-caja h2 { margin-bottom: .4rem; }
.m3d-evento-caja p { margin: 0; }

/* Formulario */
.m3d-form .form-label { font-weight: 700; color: var(--lace-blue); margin-bottom: 4px; }
.m3d-form .form-control, .m3d-form .form-select { min-height: 48px; border: 1px solid #c9d2e0; }
.m3d-form .form-control:focus, .m3d-form .form-select:focus { border-color: var(--lace-green); box-shadow: 0 0 0 .2rem var(--lace-green-light); }
.m3d-asesor { display: flex; gap: 16px; align-items: flex-start; background: #f3f6fa; border-radius: 10px; padding: 18px; margin: 20px 0; }
.m3d-asesor-icono { flex: 0 0 56px; height: 56px; border-radius: 50%; background: var(--lace-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.m3d-asesor strong { display: block; color: var(--lace-blue); font-size: 1.1rem; }
.m3d-asesor span { display: block; color: #4a5568; margin-bottom: 6px; }
.m3d-asesor a { display: block; color: var(--lace-blue); text-decoration: none; font-weight: 600; margin-top: 4px; word-break: break-word; }
.m3d-asesor a:hover { color: var(--lace-green); }
.m3d-asesor a i, .m3d-asesor a svg { width: 18px; color: var(--lace-green); }
.m3d-recaptcha { font-size: 12px; color: #6b7280; margin: 10px 0 0; }
.m3d-recaptcha a { color: #6b7280; text-decoration: underline; }
.m3d-nota { color: #4a5568; font-size: .95rem; }

/* Preguntas frecuentes */
.m3d-faq { max-width: 860px; }
.m3d-faq h2 { text-align: center; margin-bottom: 24px; }
.m3d-faq details { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 0 18px; margin-bottom: 10px; }
.m3d-faq summary { cursor: pointer; font-weight: 800; color: var(--lace-blue); padding: 16px 0; list-style-position: outside; }
.m3d-faq details p { color: #3a4456; margin: 0 0 16px; }

/* Elementos del sitio que en esta página no van:
   - la cinta de logos de clientes del pie (alimentos y gobierno, no ayuda a vender equipo 3D);
   - el sello flotante de reCAPTCHA, que tapaba el WhatsApp. Google permite ocultarlo si se
     muestra su leyenda junto al formulario (.m3d-recaptcha). */
.vendor-carousel-movil { display: none !important; }
.grecaptcha-badge { visibility: hidden; }

/* WhatsApp flotante de la página: mismo lugar que el del resto del sitio (.float),
   debajo del botón de subir (#btn-back-to-top, bottom 116px) */
.m3d-wa-flotante { position: fixed; right: 40px; bottom: 40px; z-index: 1000; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); text-decoration: none; }
.m3d-wa-flotante:hover { color: #fff; background: #1ebe5b; }

/* Gracias */
.m3d-gracias { text-align: center; max-width: 760px; margin: 0 auto; }
.m3d-gracias-icono { font-size: 4rem; color: var(--lace-green); margin-bottom: 16px; }

/* Desde 992 px el menú del sitio flota encima del contenido (position: absolute, 140 px
   de alto); las demás páginas lo compensan con su banner. Aquí se compensa la primera sección. */
@media (min-width: 992px) {
  .m3d > section:first-child { padding-top: 188px; }
}
@media (max-width: 1199px) {
  .m3d-pasos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .m3d-seccion { padding: 44px 0; }
  .m3d-hero { padding: 28px 0 24px; }
  .m3d-hero-img { max-width: 280px; }
  .m3d-ctas .m3d-btn { width: 100%; }
  .m3d-pasos { grid-template-columns: 1fr; }
  .m3d-opcion { width: 100%; }
  .m3d-evento-caja { padding: 20px; }
  .m3d-evento-caja .m3d-btn { width: 100%; }
  .m3d-wa-flotante { right: 16px; bottom: 24px; width: 54px; height: 54px; font-size: 1.7rem; }
}
