/* =========================
   FUENTES
========================= */

@font-face {
  font-family: 'Arista Pro';
  src:
    url('assets/fonts/arista-pro/AristaPro-SemiBold.woff2') format('woff2'),
    url('assets/fonts/arista-pro/AristaPro-SemiBold.woff') format('woff');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Arista Pro';
  src:
    url('assets/fonts/arista-pro/AristaPro-ExtraLight.woff2') format('woff2'),
    url('assets/fonts/arista-pro/AristaPro-ExtraLight.woff') format('woff');
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'Arista Pro';
  src:
    url('assets/fonts/arista-pro/AristaPro-Regular.woff2') format('woff2'),
    url('assets/fonts/arista-pro/AristaPro-Regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Area Normal';
  src:
    url('assets/fonts/area-normal/AreaNormal-Regular.woff2') format('woff2'),
    url('assets/fonts/area-normal/AreaNormal-Regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Area Normal';
  src:
    url('assets/fonts/area-normal/AreaNormal-Bold.woff2') format('woff2'),
    url('assets/fonts/area-normal/AreaNormal-Bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

/* =========================
   RESET
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}


:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-top-fallback: 0px;
  --safe-top-effective: max(var(--safe-top), var(--safe-top-fallback));
  --safe-top-cover-height: var(--safe-top-effective);
  --safe-top-color: #4d5560;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-bottom-fallback: 0px;
  --safe-bottom-effective: max(var(--safe-bottom), var(--safe-bottom-fallback));
  --safe-bottom-cover-height: var(--safe-bottom-effective);
  --safe-bottom-color: #4d5560;
  --frame-header-height: 138px;
}

@media (hover: none) and (pointer: coarse) {
  :root {
    --safe-top-fallback: 20px;
    --safe-bottom-fallback: 20px;
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

body {
  position: relative;
  background: #6f6f6f;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  /* IMPORTANTE: Permitir el scroll normal */
  overflow-x: hidden; 
  overflow-y: auto;
}

.safe-area-top-mask {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: var(--safe-top-cover-height, 0px) !important;
  min-height: 0;
  background: var(--safe-top-color, #4d5560) !important; /* Gris navegador sutil, sin transparencias */
  pointer-events: none;
  z-index: 2147483647 !important; /* El máximo posible */
  display: block !important;
}

.safe-area-bottom-mask {
  position: fixed !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: var(--safe-bottom-cover-height, 0px) !important;
  min-height: 0;
  background: var(--safe-bottom-color, #4d5560) !important;
  pointer-events: none;
  z-index: 2147483647 !important;
  display: block !important;
}

/* =========================
   FONDOS GLOBALES
========================= */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  /* Mantenemos un valor negativo para que esté detrás de todo el contenido */
  z-index: -10; 
  background: linear-gradient(180deg, #00bcc4 0%, #122749 100%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  /* Más atrás que el gradiente */
  z-index: -20; 
  background: #6f6f6f;
  pointer-events: none;
}

/* =========================
   EVITAR DRAG
========================= */

.logo,
.mockup-macbook,
.mockup-iphone,
.mockup-ipad,
.card-icon,
.software-btn-icon img,
.marca-svg,
.software-imagen {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* =========================
   LAYOUT GENERAL
========================= */

.pagina-principal,
.pagina-software {
  position: relative;
  color: #122749;
  /* CAMBIO: Elimina o comenta esta línea */
  /* isolation: isolate; */ 
  background: transparent;
  
  /* Asegúrate de que el z-index sea menor que el de la máscara */
  z-index: 1; 
}

.pagina-principal {
  min-height: 100vh;
  /* CAMBIO: Deja que el contenido fluya para que el header absolute suba */
  overflow-y: auto; 
  overflow-x: hidden; 
  color: #ffffff;
  padding-top: calc(var(--safe-top-effective) + var(--frame-header-height));
}

.pagina-principal.bg-dinamico::before {
  background: linear-gradient(180deg, #00bcc4 0%, #122749 100%);
}

.pagina-software {
  position: relative;
  color: #122749;
  isolation: isolate;
  background: transparent;
}

.pagina-software::before {
  content: none;
  display: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 110px;
  padding-right: 110px;
}

/* =========================
   GLASS GLOBAL UNIFICADO
========================= */

.glass {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.10);
  box-shadow:
    inset 0px 2px 6px rgba(0, 0, 0, 0.12),
    inset 0px 1px 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: inherit;
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(
    225deg,
    transparent 0%,
    transparent 7%,
    rgba(255, 255, 255, 0.62) 13%,
    rgba(255, 255, 255, 0.62) 87%,
    transparent 93%,
    transparent 100%
  );
  mix-blend-mode: normal;
  filter: brightness(1.2);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.glass-hover {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.glass-hover:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

.glass-card {
  background: rgba(255, 255, 255, 0.08);
}

/* Cards: mantener look actual */
.pagina-principal .card.glass::before {
  background: linear-gradient(
    225deg,
    transparent 0%,
    transparent 3%,
    rgba(255, 255, 255, 0.62) 9%,
    rgba(255, 255, 255, 0.62) 91%,
    transparent 97%,
    transparent 100%
  );
}

/* Formulario página 5: degradado empieza mucho más cerca de las esquinas */
.pagina-contacto .contacto-visual.glass::before {
  background: linear-gradient(
    225deg,
    transparent 0%,
    transparent 1%,
    rgba(255, 255, 255, 0.62) 6%,
    rgba(255, 255, 255, 0.62) 94%,
    transparent 99%,
    transparent 100%
  );
}

/* Botones enviar/flecha: un poco más de distancia antes de perder contorno */
.btn-enviar.glass::before,
.contacto-indicador-subida.glass::before {
  background: linear-gradient(
    225deg,
    transparent 0%,
    transparent 9%,
    rgba(255, 255, 255, 0.62) 15%,
    rgba(255, 255, 255, 0.62) 85%,
    transparent 91%,
    transparent 100%
  );
}

/* CTAs principales: un poco menos de distancia al inicio del degradado */
.boton-demo.glass::before,
.boton-final.glass::before,
.elegirnos-contacto-btn.glass::before,
.boton-agendar-demo.glass::before {
  background: linear-gradient(
    225deg,
    transparent 0%,
    transparent 6%,
    rgba(255, 255, 255, 0.62) 12%,
    rgba(255, 255, 255, 0.62) 88%,
    transparent 94%,
    transparent 100%
  );
}

/* Solo FAQ: menos distancia (ajuste fino) */
.pagina-faq .faq-item.glass::before {
  background: linear-gradient(
    225deg,
    transparent 0%,
    transparent 1%,
    rgba(255, 255, 255, 0.64) 6%,
    rgba(255, 255, 255, 0.62) 94%,
    transparent 99%,
    transparent 100%
  );
}

/* Botón flecha: bastante distancia antes de perder contorno */
.contacto-indicador-subida.glass::before {
  background: linear-gradient(
    225deg,
    transparent 0%,
    transparent 18%,
    rgba(255, 255, 255, 0.62) 24%,
    rgba(255, 255, 255, 0.62) 76%,
    transparent 82%,
    transparent 100%
  );
}

/* =========================
   HEADER
========================= */

.frame-1 {
  position: absolute; /* Cambiado de fixed a absolute */
  top: var(--safe-top-effective);
  left: 0;
  width: 100%;
  background: rgba(67, 67, 101, 0.2);
  overflow: visible;
  /* El z-index debe ser alto para estar sobre el contenido, 
     pero menor al de .safe-area-top-mask */
  z-index: 100; 
}

.frame-1::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.18) 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.header-inner {
  position: relative;
  z-index: 2;
  height: 138px;
  display: flex;
  align-items: center;
}

.logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: visible;
}

.logo {
  width: 312px;
  max-width: none;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 0 0 -26px;
  transform: translateY(-6px);
  z-index: 2;
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  padding-top: 40px;
  padding-bottom: 90px;
}

.hero-contenido {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 520px;
}

.hero-texto {
  flex: 0 1 48%;
  max-width: 760px;
  min-width: 0;
}

.titulo-principal {
  margin: 0 0 28px 0;
  text-align: left;
  font-family: 'Arista Pro', sans-serif;
  font-style: normal;
  font-size: 50px;
  line-height: 1.06;
  color: #ffffff;
}

.titulo-linea-1 {
  display: block;
  font-weight: 600;
  white-space: nowrap;
}

.titulo-linea-2,
.titulo-linea-3 {
  display: block;
  font-weight: 300;
  white-space: nowrap;
}

.texto-secundario {
  margin: 0 0 34px 0;
  text-align: left;
  font-family: 'Area Normal', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.45;
  color: #ffffff;
  max-width: 100%;
  word-break: normal;
  white-space: normal;
}

.texto-secundario strong {
  font-weight: 700;
}

.texto-secundario-nowrap {
  white-space: nowrap;
}

/* =========================
   BOTONES PRINCIPALES
========================= */

.boton-demo {
  width: 290px;
  min-height: 57px;
  border-radius: 62px;
}

.boton-final {
  width: 334px;
  min-height: 70px;
  border-radius: 62px;
}

.texto-boton {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: inherit;
  padding: 16px 24px;
  font-family: 'Area Normal', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 23px;
  letter-spacing: 0.24em;
  text-align: center;
  color: #ffffff;
  text-decoration: none;
}

.texto-boton-final {
  width: 100%;
}

/* =========================
   MOCKUPS
========================= */

.hero-mockups {
  flex: 0 1 48%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.mockups-stage {
  width: 100%;
  max-width: 781px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.mockups-group {
  --mockup-scale: 1;
  position: relative;
  width: 781px;
  height: 516px;
  flex: 0 0 auto;
  transform: translate(2%, -8%) scale(var(--mockup-scale));
  transform-origin: center center;
  will-change: transform;
}

.mockup-macbook {
  position: absolute;
  width: 753px;
  height: auto;
  left: 28px;
  top: 0;
  object-fit: contain;
}

.mockup-iphone {
  position: absolute;
  width: 334px;
  height: auto;
  left: 0;
  top: 266px;
  object-fit: contain;
  z-index: 2;
}

.mockup-ipad {
  position: absolute;
  width: 217px;
  height: auto;
  left: 474px;
  top: 227px;
  object-fit: contain;
  z-index: 1;
}

/* =========================
   METRICAS
========================= */

.seccion-metricas {
  padding-top: 20px;
  padding-bottom: 70px;
}

.titulo-seccion {
  margin: 0 0 48px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Area Normal', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.2;
  color: #ffffff;
}

.metricas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.metrica {
  margin: 0;
  min-height: 217px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Area Normal', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 35px;
  line-height: 1.15;
  color: #ffffff;
}

.metrica-1 {
  justify-content: center;
  text-align: center;
  transform: translateX(-8%);
}

.metrica-3 {
  justify-content: center;
  text-align: center;
  transform: translateX(8%);
}

/* =========================
   CARDS
========================= */

.cards {
  padding-top: 10px;
  padding-bottom: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  min-height: 393px;
  border-radius: 31px;
  display: block;
  padding: 42px 28px 30px 28px;
}

.card-icon {
  position: static;
  object-fit: contain;
  margin-bottom: 26px;
}

.icon-1 {
  width: 42px;
  height: 42px;
}

.icon-2 {
  width: 45px;
  height: 45px;
}

.icon-3 {
  width: 45px;
  height: 45px;
}

.icon-4 {
  width: 52px;
  height: 52px;
}

.card-title {
  margin: 0 0 18px 0;
  display: block;
  text-align: left;
  font-family: 'Area Normal', sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 19px;
  line-height: 1.35;
  color: #ffffff;
}

.title-light {
  font-weight: 400;
}

.card-text {
  margin: 0;
  text-align: left;
  font-family: 'Area Normal', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: #ffffff;
}

/* =========================
   CTA FINAL
========================= */

.cta-final {
  padding-top: 10px;
  padding-bottom: 95px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* =========================
   PAGINA SOFTWARE
========================= */

.software-alcance {
  width: 100%;
}

.software-alcance-foto {
  position: relative;
  width: 100%;
  min-height: 1407px;
  overflow: hidden;
  background: transparent;
}

.software-alcance-foto::before {
  background: linear-gradient(
    180deg,
    rgba(220, 222, 221, 1) 0%,
    rgba(203, 204, 204, 1) 50%,
    rgba(186, 186, 186, 1) 100%
  );
}
.software-alcance-contenido {
  position: relative;
  width: 1440px;
  min-height: 1407px;
  margin: 0 auto;
  z-index: 2;
}

.software-alcance-titulo {
  position: absolute;
  width: 1007px;
  height: 81px;
  left: calc(50% - 1007px / 2 - 0.5px);
  top: 64px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Arista Pro', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 50px;
  line-height: 55px;
  color: #122749;
}

.software-palabra {
  color: #00bcc4;
  margin-left: 0;
  white-space: nowrap;
}

.software-signo {
  color: #122749;
}

/* =========================
   BOTONES SOFTWARE
========================= */

.software-btn {
  position: absolute;
  width: 310px;
  height: 68px;
  left: 110px;
  border-radius: 14px;
  text-decoration: none;
  display: block;
}

.software-btn-1 { top: 201px; }
.software-btn-2 { top: 298px; }
.software-btn-3 { top: 395px; }
.software-btn-4 { top: 492px; }
.software-btn-5 { top: 589px; }

.software-btn-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.software-btn-text {
  position: absolute;
  font-family: 'Area Normal', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  line-height: 23px;
  display: flex;
  align-items: center;
  color: #122749;
}

.software-btn-icon-1 {
  width: 41px;
  height: 41px;
  left: 13px;
  top: 14px;
}

.software-btn-text-1 {
  width: 230px;
  height: 39px;
  left: 65px;
  top: 14px;
}

.software-btn-icon-2,
.software-btn-icon-3,
.software-btn-icon-4 {
  width: 38px;
  height: 38px;
  left: 16px;
  top: 15px;
}

.software-btn-icon-5 {
  width: 38px;
  height: 38px;
  left: 18px;
  top: 15px;
}

.software-btn-text-2,
.software-btn-text-3,
.software-btn-text-4,
.software-btn-text-5 {
  width: 230px;
  height: 39px;
  left: 65px;
  top: 14px;
}

.software-btn-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.software-btn.active {
  background: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0px 2px 6px rgba(0, 0, 0, 0.10),
    inset 0px 1px 1px rgba(255, 255, 255, 0.10),
    0px 10px 20px rgba(255, 255, 255, 0.06);
}

/* =========================
   IMAGEN SOFTWARE
========================= */

.software-imagen-wrap {
  position: absolute;
  width: 794px;
  height: 470px;
  left: 503px;
  top: 201px;
  background: #122749;
  border-radius: 18px;
  overflow: hidden;
}

.software-imagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   DESCRIPCION SOFTWARE
========================= */

.software-descripcion {
  position: absolute;
  width: 794px;
  min-height: 107px;
  left: 503px;
  top: 691px;
  font-family: 'Area Normal', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 26px;
  display: block;
  margin: 0;
  padding-top: 12px;
  text-align: center;
  color: #122749;
}

/* =========================
   AGENDAR DEMO
========================= */

.boton-agendar-demo {
  position: absolute;
  width: 280px;
  height: 70px;
  left: calc(50% - 280px / 2);
  top: 861px;
  border-radius: 62px;
}

.texto-boton-agendar-demo {
  position: absolute;
  width: 322px;
  height: 31px;
  left: calc(50% - 322px / 2);
  top: 19px;
  font-family: 'Area Normal', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 17px;
  line-height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: 0.24em;
  color: #122749;
}

/* =========================
   TITULO EMPRESAS RATRONIC
========================= */

.titulo-empresas-ratronic {
  position: absolute;
  width: 1007px;
  min-height: 81px;
  left: calc(50% - 1007px / 2 + 0.5px);
  top: 1032px;
  margin: 0;
  font-family: 'Arista Pro', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 50px;
  line-height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #122749;
}

.ratronic-palabra {
  color: #00bcc4;
  margin-left: 0;
  white-space: nowrap;
}

.titulo-frase-compacta {
  display: inline;
  white-space: nowrap;
}

/* =========================
   MARCAS
========================= */

.marcas-wrap {
  position: absolute;
  width: 1220px;
  left: 50%;
  transform: translateX(-50%);
  top: 1162px;
  display: grid;
  gap: 16px;
}

.marcas-carousel {
  width: 100%;
  overflow: hidden;
}

.marcas-carousel-inferior {
  transform: scaleX(-1);
}

.marcas-carousel-inferior .marca-item {
  transform: scaleX(-1);
}

.marcas-track {
  display: flex;
  align-items: center;
  gap: 24px;
  transform: translateX(0);
}

.marca-item {
  flex: 0 0 180px;
  height: 92px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.marca-item:hover,
.marca-item:focus-within {
  transform: translateY(-3px) scale(1.03);
  background-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 20px rgba(18, 39, 73, 0.16);
}

.marcas-carousel-inferior .marca-item:hover,
.marcas-carousel-inferior .marca-item:focus-within {
  transform: scaleX(-1) translateY(-3px) scale(1.03);
}

.marca-logo {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.empresas-centro-ancla {
  position: absolute;
  width: 1px;
  height: 1px;
  left: 0;
  top: 1270px;
  scroll-margin-top: 50vh;
  pointer-events: none;
}

.marca-svg {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.marca-svg-1,
.marca-svg-2,
.marca-svg-3 {
  width: 245px;
}

/* =========================
   PAGINA 3 (POR QUE ELEGIRNOS + VIDEO)
========================= */

.pagina-elegirnos {
  position: relative;
  width: 100%;
  color: #ffffff;
  background: transparent;
  isolation: isolate;
}

.pagina-elegirnos::before {
  content: none;
  display: none;
  background: none;
}

.elegirnos-video {
  position: relative;
  width: 100%;
  min-height: 2684px;
  background: transparent;
}

.elegirnos-video-contenido {
  position: relative;
  width: 1440px;
  max-width: 100%;
  min-height: 2684px;
  margin: 0 auto;
  z-index: 2;
}

.elegirnos-video::before {
  background: linear-gradient(
    180deg,
    rgba(186, 186, 186, 1) 0%,
    rgba(0, 188, 196, 1) 100%
  );
}

.elegirnos-titulo {
  position: absolute;
  width: 1007px;
  min-height: 81px;
  left: 217px;
  top: 104px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Arista Pro', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 50px;
  line-height: 1;
  color: rgba(255, 255, 255, 1);
}

.elegirnos-media {
  position: absolute;
  width: 497px;
  height: 283px;
  background: rgba(217, 217, 217, 1);
  border-radius: 10px;
}

.elegirnos-media-1 {
  left: 213px;
  top: 280px;
}

.elegirnos-media-2 {
  left: 730px;
  top: 663px;
}

.elegirnos-media-3 {
  left: 213px;
  top: 1046px;
}

.elegirnos-media-4 {
  left: 730px;
  top: 1429px;
}

.elegirnos-texto {
  position: absolute;
  width: 466px;
  height: 288px;
  margin: 0;
  color: rgba(255, 255, 255, 1);
  text-align: left;
  vertical-align: top;
}

.elegirnos-texto-titulo {
  display: block;
  font-family: 'Area Normal', sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 20px;
  line-height: 27px;
  letter-spacing: 0.11em;
}

.elegirnos-texto-titulo-nowrap {
  white-space: nowrap;
}

.elegirnos-texto-descripcion {
  display: block;
  margin-top: 24px;
  font-family: 'Area Normal', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.46;
  letter-spacing: 0;
}

.elegirnos-texto-1 {
  left: 779px;
  top: 280px;
}

.elegirnos-texto-2 {
  left: 217px;
  top: 663px;
}

.elegirnos-texto-3 {
  width: 448px;
  left: 779px;
  top: 1046px;
}

.elegirnos-texto-4 {
  left: 217px;
  top: 1429px;
}

.elegirnos-texto-secundario {
  display: block;
  margin-top: 24px;
  font-family: 'Arista Pro', sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.01;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 1);
  min-height: 20px;
}

.elegirnos-linea {
  position: absolute;
  width: 1220px;
  height: 0;
  left: calc(50% - 1220px / 2);
  top: 1812px;
  border: 1px solid #ffffff;
  transform: rotate(0.1deg);
}

.elegirnos-asi-funciona-titulo {
  position: absolute;
  width: 330px;
  height: 81px;
  left: calc(50% - 330px / 2 - 445px);
  top: 2057px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  font-family: 'Arista Pro', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 62px;
  line-height: 68px;
  color: #ffffff;
}

.elegirnos-asi-funciona-subtitulo {
  position: absolute;
  width: 330px;
  height: 81px;
  left: calc(50% - 330px / 2 - 445px);
  top: 2198px;
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  font-family: 'Area Normal', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 22px;
  line-height: 29px;
  color: #ffffff;
}

.elegirnos-video-placeholder {
  position: absolute;
  width: 723px;
  height: 433px;
  left: 607px;
  top: 1898px;
  background: #d9d9d9;
  border-radius: 12px;
}

.elegirnos-video-player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

.elegirnos-contacto-btn {
  position: absolute;
  width: 434px;
  height: 70px;
  left: calc(50% - 434px / 2);
  top: 2414px;
  border-radius: 62px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.elegirnos-contacto-texto {
  position: static;
  width: auto;
  height: auto;
  padding: 0 30px;
  font-family: 'Area Normal', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 17px;
  line-height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: 0.24em;
  color: #ffffff;
}

.elegirnos-linea-2 {
  position: absolute;
  width: 1220px;
  height: 0;
  left: calc(50% - 1220px / 2);
  top: 2580px;
  border: 1px solid #ffffff;
}

.elegirnos-centro-ancla {
  position: absolute;
  width: 1px;
  height: 1px;
  left: 0;
  top: 2127px;
  scroll-margin-top: 50vh;
  pointer-events: none;
}

/* =========================
   PAGINA 4 (PREGUNTAS FRECUENTES)
========================= */

.pagina-faq {
  position: relative;
  width: 100%;
  color: #122749;
  isolation: isolate;
  background: transparent;
}

.pagina-faq::before {
  content: none;
  display: none;
  background: none;
}

.faq-seccion {
  position: relative;
  width: 100%;
  min-height: 741px;
  background: transparent;
}

.faq-seccion::before {
  background: linear-gradient(
    180deg,
    #dcdedd 0%,
    #cbcccc 51.97%,
    #bababa 96.95%
  );
}

.faq-contenido {
  position: relative;
  width: 1440px;
  min-height: 741px;
  margin: 0 auto;
}

.faq-titulo {
  position: absolute;
  width: 494px;
  height: 81px;
  left: calc(50% - 494px / 2 - 363px);
  top: 94px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  font-family: 'Arista Pro', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 50px;
  line-height: 50px;
  color: #122749;
}

.faq-titulo-primera-linea,
.faq-titulo-segunda-linea {
  display: block;
}

.faq-titulo-segunda-linea {
  margin-left: 0;
}

.faq-subtitulo {
  position: absolute;
  width: 353px;
  height: 81px;
  left: calc(50% - 353px / 2 - 433.5px);
  top: 204px;
  margin: 0;
  font-family: 'Area Normal', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 35px;
  color: #122749;
  text-align: left;
}

.faq-subtitulo-destacado {
  font-weight: 700;
}

.faq-item {
  position: absolute;
  width: 725px;
  min-height: 68px;
  left: 523px;
  padding: 0;
  background: rgba(0, 0, 0, 0.004);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  cursor: pointer;
  overflow: hidden;
}

.faq-item.glass::before {
  pointer-events: none;
  padding: 1.5px;
  background: linear-gradient(
    225deg,
    transparent 0%,
    transparent 3%,
    rgba(255, 255, 255, 0.68) 8%,
    rgba(255, 255, 255, 0.62) 92%,
    transparent 97%,
    transparent 100%
  );
  filter: brightness(1.24);
}

.faq-item-pregunta {
  position: relative;
  width: 100%;
  min-height: 68px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.004);
  border-radius: 14px;
  border: 1px solid transparent;
  box-sizing: border-box;
  overflow: hidden;
}

.faq-item-pregunta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  padding: 1.5px;
  background: linear-gradient(
    225deg,
    transparent 0%,
    transparent 3%,
    rgba(255, 255, 255, 0.68) 8%,
    rgba(255, 255, 255, 0.62) 92%,
    transparent 97%,
    transparent 100%
  );
  mix-blend-mode: screen;
  filter: brightness(1.24);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.faq-item-1 { top: 94px; }
.faq-item-2 { top: 191px; }
.faq-item-3 { top: 288px; }
.faq-item-4 { top: 385px; }
.faq-item-5 { top: 482px; }
.faq-item-6 { top: 579px; }

.faq-item-texto {
  position: static;
  width: 100%;
  min-height: 39px;
  font-family: 'Area Normal', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 17px;
  line-height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #122749;
}

.faq-item-respuesta {
  width: 100%;
  margin-top: 0;
  padding: 18px 61px 22px;
  font-family: 'Area Normal', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 27px;
  color: #122749;
  text-align: left;
  white-space: pre-line;
  display: none;
}

.faq-item.open .faq-item-respuesta {
  display: block;
}

.faq-demo-link {
  color: #122749;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.faq-bold {
  font-weight: 700;
}

.faq-demo-link:hover,
.faq-demo-link:focus {
  color: #122749;
}

/* =========================
   PAGINA 5 (CONTACTO)
========================= */

.pagina-contacto {
  position: relative;
  width: 100%;
  color: #ffffff;
  isolation: isolate;
  background: transparent;
}

.pagina-contacto::before {
  content: none;
  display: none;
  background: none;
}

.contacto-seccion {
  position: relative;
  width: 100%;
  min-height: 1198px;
  background: transparent;
}

.contacto-seccion::before {
  background: linear-gradient(
    180deg,
    rgba(18, 39, 73, 1) 0%,
    rgba(0, 188, 196, 1) 100%
  );
}

.contacto-contenido {
  position: relative;
  width: 1440px;
  height: 1198px;
  margin: 0 auto;
}

.contacto-visual {
  position: absolute;
  width: 620px;
  height: 599px;
  left: 714px;
  top: 101px;
  background: #d9d9d9;
  overflow: hidden;
}


.contacto-titulo {
  position: absolute;
  width: 326px;
  height: 81px;
  left: calc(50% - 326px / 2 - 447px);
  top: 104px;
  margin: 0;
  display: flex;
  align-items: center;
  font-family: 'Arista Pro', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 50px;
  line-height: 50px;
  color: #ffffff;
}

.contacto-subtitulo {
  position: absolute;
  width: 419px;
  height: 81px;
  left: calc(50% - 419px / 2 - 400.5px);
  top: 214px;
  margin: 0;
  font-family: 'Area Normal', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: #ffffff;
}

.contacto-subtitulo-nowrap {
  white-space: nowrap;
}

.contacto-mockups {
  position: absolute;
  width: 781px;
  height: 516px;
  left: 20px;
  top: 210px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.contacto-mockups .mockups-stage {
  width: 781px;
  max-width: none;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.contacto-mockups .mockups-group {
  --mockup-scale: 1;
  left: -4.5%;
  width: 781px;
  height: 516px;
  transform: scale(var(--mockup-scale));
  transform-origin: top left;
}

.contacto-indicador-subida {
  position: absolute;
  left: 50%;
  margin-left: -32px;
  top: 742px;
  width: 64px;
  height: 64px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  z-index: 4;
}

.contacto-indicador-subida-icono {
  font-family: 'Material Symbols Rounded';
  font-size: 52px;
  line-height: 1;
  color: #FFFFFF;
  font-weight: 300;
  font-style: normal;
  font-variation-settings:
    'FILL' 0,
    'wght' 300,
    'GRAD' 0,
    'opsz' 48;
}

.contacto-linea-separadora {
  position: absolute;
  left: 50%;
  top: 846px;
  width: 1220px;
  max-width: calc(100% - 72px);
  height: 0;
  transform: translateX(-50%);
  border: 1px solid #ffffff;
  background: transparent;
}

.contacto-footer {
  position: absolute;
  left: 50%;
  top: 888px;
  transform: translateX(-50%);
  width: 1220px;
  height: 250px;
  display: block;
  color: #FFFFFF;
}

.footer-col {
  position: absolute;
  top: 0;
}

.footer-col-contacto {
  left: 0;
  width: 360px;
}
.footer-col-acerca {
  left: 526px;
  width: 247px;
  margin-left: 0;
}
.footer-col-newsletter {
  right: -70px;
  width: 339px;
  margin-left: 0;
}

.footer-col-contacto .footer-titulo {
  text-align: left;
  margin-left: 0;
}

.footer-col-acerca .footer-titulo,
.footer-col-newsletter .footer-titulo {
  margin-top: 0;
}

.footer-titulo {
  margin: 0 0 14px;
  font-family: 'Area Normal', sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 13px;
  line-height: 30px;
  color: #FFFFFF;
}

.footer-contacto-lista {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-left: 0;
}

.footer-contacto-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  column-gap: 0;
  font-family: 'Area Normal', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 27px;
  color: #FFFFFF;
}

.footer-contacto-item span {
  white-space: nowrap;
}

.footer-contacto-item a,
.footer-contacto-item a:visited,
.footer-contacto-item a:hover,
.footer-contacto-item a:active {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF;
  text-decoration: none;
}

.footer-contacto-item a {
  display: inline;
  width: fit-content;
  justify-self: start;
}

.footer-icono {
  justify-self: start;
  width: 24px;
  height: 24px;
  margin-top: 0;
  flex-shrink: 0;
}

.footer-icono-whatsapp {
  width: 24px;
  height: 24px;
  margin-top: 0;
  margin-left: 0;
  justify-self: start;
  transform: scale(2.1);
  transform-origin: center;
}

.footer-contacto-item--whatsapp {
  align-items: center;
  margin-bottom: 0;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  font-family: 'Area Normal', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 34px;
  color: #FFFFFF;
  text-decoration: none;
}

.footer-newsletter-texto {
  margin: 0 0 10px;
  font-family: 'Area Normal', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 30px;
  color: #FFFFFF;
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-newsletter-input {
  width: 262px;
  height: 38px;
  box-sizing: border-box;
  border: 1px solid #FFFFFF;
  border-radius: 28px;
  background: transparent;
  padding: 0 16px;
  font-family: 'Area Normal', sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 38px;
  color: #FFFFFF;
  outline: none;
  box-shadow: none;
}

.footer-newsletter-input::placeholder {
  color: #FFFFFF;
  line-height: 38px;
}

.footer-newsletter-input:focus,
.footer-newsletter-input:focus-visible {
  border: 1px solid #FFFFFF;
  outline: none;
  box-shadow: none;
}

.footer-newsletter-checkbox-wrap {
  margin-top: 11px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-newsletter-checkbox-wrap .checkbox-label {
  display: flex;
  align-items: center;
  min-height: 18px;
  line-height: 1.2;
}

.footer-newsletter-checkbox-wrap .custom-checkbox {
  margin-right: 0;
}

.footer-newsletter-btn {
  margin-top: 18px;
  width: 113px;
  height: 34px;
  border: none;
  border-radius: 32px;
  font-family: 'Area Normal', sans-serif;
  font-weight: 800;
  font-size: 11px;
  line-height: 1;
  text-align: center;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  -webkit-appearance: none;
}

.footer-icono-placeholder {
  width: 24px;
  height: 24px;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1320px) {
  .container {
    padding-left: 70px;
    padding-right: 70px;
  }

  .mockups-group {
    --mockup-scale: 0.88;
  }

  .titulo-principal {
    font-size: 46px;
  }

  .logo {
    margin-left: -22px;
  }

  .elegirnos-video-contenido {
    width: 100%;
    padding-left: 70px;
    padding-right: 70px;
  }

  .elegirnos-titulo {
    width: 100%;
    left: 0;
  }

  .software-alcance-contenido,
  .software-alcance-foto {
    min-height: 1414px;
  }

  .software-alcance-contenido {
    width: 100%;
  }

  .software-alcance-titulo {
    width: calc(100% - 80px);
    left: 50%;
    transform: translateX(-50%);
  }

  .software-imagen-wrap {
    width: 750px;
    height: 444px;
    left: calc(50% - 750px / 2 + 150px);
    top: 201px;
  }

  .software-descripcion {
    width: 750px;
    left: calc(50% - 750px / 2 + 150px);
    top: 679px;
  }

  .titulo-empresas-ratronic {
    width: calc(100% - 80px);
    left: 50%;
    transform: translateX(-50%);
  }

  .marcas-wrap {
    width: calc(100% - 80px);
    gap: 40px;
  }
}

@media (max-width: 1199px) {
  :root {
    --frame-header-height: 118px;
  }

  .container {
    padding-left: 60px;
    padding-right: 60px;
  }

  .header-inner {
    height: 118px;
  }

  .logo {
    width: 250px;
    margin-left: -18px;
    transform: translateY(-4px);
  }

  .hero {
    padding-top: 50px;
    padding-bottom: 70px;
  }

  .hero-contenido {
    gap: 30px;
    min-height: auto;
  }

  .titulo-principal {
    font-size: 38px;
  }

  .titulo-linea-1,
  .titulo-linea-2,
  .titulo-linea-3 {
    white-space: normal;
  }

  .texto-secundario {
    font-size: 20px;
  }

  .mockups-group {
    --mockup-scale: 0.78;
  }

  .titulo-seccion {
    font-size: 38px;
  }

  .metrica {
    font-size: 30px;
    min-height: 180px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .software-alcance-foto,
  .software-alcance-contenido {
    min-height: 1382px;
  }

  .software-alcance-titulo {
    font-size: 42px;
    line-height: 1.15;
    top: 56px;
  }

  .software-btn {
    left: 70px;
  }

  .software-imagen-wrap {
    width: 690px;
    height: 409px;
    left: calc(50% - 690px / 2 + 120px);
    top: 210px;
  }

  .software-descripcion {
    width: 690px;
    height: auto;
    min-height: 107px;
    left: calc(50% - 690px / 2 + 120px);
    top: 648px;
    font-size: 16px;
    line-height: 25px;
  }

  .boton-agendar-demo {
    top: 807px;
  }

  .titulo-empresas-ratronic {
    top: 957px;
    font-size: 42px;
    line-height: 1.15;
  }

  .marcas-wrap {
    top: 1107px;
  }

  .marca-item {
    flex-basis: 165px;
    height: 84px;
  }
}

@media (max-width: 991px) {
  .container {
    padding-left: 36px;
    padding-right: 36px;
  }

  .hero-contenido {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-texto,
  .hero-mockups {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }

  .hero-mockups {
    justify-content: center;
  }

  .mockups-group {
    --mockup-scale: 0.72;
  }

  .metricas {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .metrica {
    min-height: 120px;
  }

  .metrica-1,
  .metrica-3 {
    justify-content: center;
    text-align: center;
    transform: none;
  }

  .elegirnos-video,
  .elegirnos-video-contenido {
    min-height: auto;
  }

  .elegirnos-video-contenido {
    display: flex;
    flex-direction: column;
    padding-left: 36px;
    padding-right: 36px;
  }

  .elegirnos-titulo {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    min-height: auto;
    margin: 0 auto 26px;
    font-size: 38px;
    order: 1;
  }

  .elegirnos-media,
  .elegirnos-texto {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  .elegirnos-media {
    height: auto;
    aspect-ratio: 497 / 283;
    margin-bottom: 42px;
  }

  .elegirnos-media-1 {
    margin-top: 10px;
    order: 3;
  }

  .elegirnos-texto {
    height: auto;
    margin-bottom: 12px;
  }

  .elegirnos-texto-1 { order: 2; }
  .elegirnos-texto-2 { order: 4; }
  .elegirnos-media-2 { order: 5; }
  .elegirnos-texto-3 { order: 6; }
  .elegirnos-media-3 { order: 7; }
  .elegirnos-texto-4 { order: 8; }
  .elegirnos-media-4 { order: 9; }

  .elegirnos-texto-2 {
    margin-top: 10px;
  }

  .elegirnos-linea,
  .elegirnos-asi-funciona-titulo,
  .elegirnos-asi-funciona-subtitulo,
  .elegirnos-video-placeholder,
  .elegirnos-contacto-btn,
  .elegirnos-linea-2,
  .faq-contenido,
  .faq-titulo,
  .faq-subtitulo,
  .faq-item {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  .elegirnos-linea {
    order: 10;
    margin-top: 36px;
    margin-bottom: 32px;
  }

  .elegirnos-asi-funciona-titulo {
    order: 11;
    height: auto;
    margin-bottom: 14px;
    font-size: 48px;
    line-height: 1.05;
  }

  .elegirnos-asi-funciona-subtitulo {
    order: 12;
    height: auto;
    margin-bottom: 24px;
    font-size: 22px;
    line-height: 1.32;
  }

  .elegirnos-video-placeholder {
    order: 13;
    height: auto;
    aspect-ratio: 723 / 433;
    margin-bottom: 24px;
  }

  .elegirnos-contacto-btn {
    order: 14;
    height: 64px;
    max-width: 500px;
    margin-bottom: 24px;
  }

  .elegirnos-linea-2 {
    order: 15;
    margin-bottom: 32px;
  }

  .elegirnos-contacto-texto {
    position: static;
    width: 100%;
    height: 100%;
    padding: 0 22px;
    font-size: 16px;
    line-height: 1.2;
  }

  .faq-seccion,
  .faq-contenido {
    min-height: auto;
  }

  .faq-contenido {
    padding-left: 36px;
    padding-right: 36px;
    padding-bottom: 70px;
  }

  .faq-titulo {
    height: auto;
    margin-bottom: 14px;
    font-size: 38px;
    line-height: 1.1;
  }


  .faq-subtitulo {
    width: 100%;
    max-width: 520px;
    height: auto;
    margin-bottom: 22px;
  }

  .faq-item {
    height: auto;
    min-height: 68px;
    margin-bottom: 14px;
  }

  .faq-item.open {
    min-height: 68px;
  }

  .faq-item-pregunta {
    min-height: 68px;
    padding: 0;
  }

  .faq-item-texto {
    position: static;
    width: 100%;
    height: auto;
    display: block;
    padding: 14px 22px;
  }

  .faq-item-respuesta {
    padding: 12px 22px 20px;
  }

  .software-alcance-foto,
  .software-alcance-contenido {
    min-height: 1553px;
    width: 100%;
  }

  .software-alcance-titulo {
    width: calc(100% - 48px);
    font-size: 34px;
    line-height: 1.2;
    top: 42px;
  }

  .software-btn {
    left: 50%;
    width: 370px;
    height: 68px;
    transform: translateX(-50%);
  }

  .software-btn-1 { top: 185px; }
  .software-btn-2 { top: 265px; }
  .software-btn-3 { top: 345px; }
  .software-btn-4 { top: 425px; }
  .software-btn-5 { top: 505px; }

  .software-btn.glass-hover:hover {
    transform: translateX(-50%) translateY(-2px);
  }

  .software-btn-icon-1 {
    width: 41px;
    height: 41px;
    left: 16px;
    top: 13px;
  }

  .software-btn-icon-2,
  .software-btn-icon-3,
  .software-btn-icon-4,
  .software-btn-icon-5 {
    width: 38px;
    height: 38px;
    left: 18px;
    top: 15px;
  }

  .software-btn-text,
  .software-btn-text-1,
  .software-btn-text-2,
  .software-btn-text-3,
  .software-btn-text-4,
  .software-btn-text-5 {
    left: 72px;
    top: 0;
    width: 270px;
    height: 68px;
    font-size: 17px;
    line-height: 23px;
  }

  .software-imagen-wrap {
    width: calc(100% - 72px);
    max-width: 720px;
    height: auto;
    aspect-ratio: 827 / 490;
    left: 50%;
    transform: translateX(-50%);
    top: 620px;
  }

  .software-descripcion {
    width: calc(100% - 72px);
    left: 50%;
    transform: translateX(-50%);
    top: 1149px;
    min-height: auto;
    font-size: 16px;
    line-height: 25px;
  }

  .boton-agendar-demo {
    top: 1294px;
    left: 50%;
    transform: translateX(-50%);
  }

  .boton-agendar-demo.glass-hover:hover {
    transform: translateX(-50%) translateY(-2px);
  }

  .titulo-empresas-ratronic {
    width: calc(100% - 48px);
    left: 50%;
    transform: translateX(-50%);
    top: 1409px;
    height: auto;
    font-size: 34px;
    line-height: 1.2;
  }

  .marcas-wrap {
    width: calc(100% - 60px);
    top: 1499px;
  }

  .marca-item {
    flex-basis: 150px;
    height: 80px;
  }

  .pagina-contacto,
  .contacto-seccion,
  .contacto-contenido {
    min-height: auto;
  }

  .contacto-contenido {
    width: 100%;
    padding: 56px 36px 70px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .contacto-visual,
  .contacto-titulo,
  .contacto-subtitulo {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 720px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .contacto-visual {
    aspect-ratio: 620 / 568;
  }

  .contacto-titulo {
    order: 1;
    font-size: 42px;
    line-height: 1.05;
    max-width: 520px;
  }

  .contacto-subtitulo {
    order: 2;
    font-size: 20px;
    line-height: 1.45;
    max-width: 520px;
  }

  .contacto-mockups {
    position: relative;
    order: 3;
    width: 484px;
    max-width: 100%;
    height: 320px;
    left: auto;
    top: auto;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
  }

  .contacto-mockups .mockups-group {
    --mockup-scale: 0.62;
    transform: scale(var(--mockup-scale));
    transform-origin: top left;
  }

  .contacto-visual {
    order: 4;
  }
}

/* =========================
   MOBILE NATURAL PAGINA 2
========================= */

@media (max-width: 767px) {
  :root {
    --frame-header-height: 92px;
  }

  .header-inner {
    height: 92px;
  }

  .logo {
    width: 170px;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .elegirnos-video,
  .elegirnos-video-contenido {
    min-height: auto;
  }

  .elegirnos-video-contenido {
    padding-top: 38px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .elegirnos-titulo {
    margin-bottom: 22px;
    font-size: 28px;
    line-height: 1.18;
    text-align: center;
  }

  .elegirnos-texto-1 {
    margin-top: 8px;
  }

  .elegirnos-texto,
  .elegirnos-texto-titulo,
  .elegirnos-texto-descripcion,
  .elegirnos-asi-funciona-titulo,
  .elegirnos-asi-funciona-subtitulo {
    text-align: center;
  }

  .elegirnos-asi-funciona-titulo,
  .elegirnos-asi-funciona-subtitulo {
    justify-content: center;
  }

  .elegirnos-texto-titulo,
  .elegirnos-texto-descripcion {
    overflow-wrap: anywhere;
  }

  .elegirnos-media-1 {
    margin-top: 0;
  }

  .elegirnos-texto-titulo {
    font-size: 17px;
    line-height: 1.35;
    letter-spacing: 0.06em;
  }

  .elegirnos-texto-descripcion {
    margin-top: 10px;
    font-size: 17px;
    line-height: 1.35;
    letter-spacing: 0.06em;
  }

  .elegirnos-texto-secundario {
    margin-top: 18px;
    font-size: 18px;
  }

  .elegirnos-linea {
    margin-top: 26px;
    margin-bottom: 22px;
  }

  .elegirnos-asi-funciona-titulo {
    font-size: 34px;
    margin-bottom: 10px;
  }

  .elegirnos-asi-funciona-subtitulo {
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 18px;
  }

  .elegirnos-contacto-btn {
    height: 60px;
    margin-bottom: 20px;
  }

  .elegirnos-contacto-texto {
    font-size: 14px;
    letter-spacing: 0.16em;
  }

  .faq-contenido {
    padding-top: 38px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 56px;
  }

  .faq-titulo {
    font-size: 28px;
    margin-bottom: 12px;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .faq-titulo-primera-linea,
  .faq-titulo-segunda-linea {
    display: inline;
  }

  .faq-titulo-segunda-linea {
    margin-left: 0.22em;
  }

  .faq-subtitulo {
    font-size: 18px;
    line-height: 1.45;
    margin-bottom: 18px;
    text-align: center;
  }

  .faq-item-texto {
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.4;
  }

  .faq-item-respuesta {
    padding: 10px 16px 18px;
    font-size: 15px;
    line-height: 1.5;
  }

  .hero {
    padding-top: 24px;
    padding-bottom: 42px;
  }

  .titulo-principal {
    font-size: 30px;
    line-height: 1.12;
    margin-bottom: 18px;
  }

  .texto-secundario {
    font-size: 17px;
    line-height: 1.45;
    margin-bottom: 24px;
  }

  .boton-demo,
  .boton-final {
    width: 100%;
    max-width: 320px;
  }

  .texto-boton {
    font-size: 14px;
    letter-spacing: 0.18em;
    padding: 15px 18px;
  }

  .hero-mockups {
    margin-top: 6px;
  }

  .mockups-stage {
    overflow: hidden;
    height: 260px;
  }

  .mockups-group {
    --mockup-scale: 0.5;
    transform: scale(var(--mockup-scale)) translateY(-60px);
    transform-origin: center center;
  }

  .titulo-seccion {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 24px;
  }

  .metrica {
    min-height: 95px;
    font-size: 26px;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 42px;
  }

  .card {
    min-height: auto;
    padding: 28px 22px 24px;
    border-radius: 24px;
  }

  .card-icon {
    margin-bottom: 18px;
  }

  .card-title {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .card-text {
    font-size: 14px;
    line-height: 1.55;
  }

  .cta-final {
    padding-top: 0;
    padding-bottom: 50px;
  }

  .software-alcance-foto,
  .software-alcance-contenido {
    min-height: auto;
  }

  .software-alcance-contenido {
    width: 100%;
    padding: 38px 20px 56px;
  }

  .software-alcance-titulo,
  .software-btn,
  .software-imagen-wrap,
  .software-descripcion,
  .boton-agendar-demo,
  .titulo-empresas-ratronic,
  .marcas-wrap {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
  }

  .software-alcance-titulo {
    width: 100%;
    height: auto;
    margin: 0 0 24px 0;
    font-size: clamp(20px, 6.1vw, 28px);
    line-height: 1.18;
    text-align: center;
  }

  .software-palabra {
    margin-left: 0;
  }

  .software-btn {
    width: 100%;
    max-width: 420px;
    height: 64px;
    margin: 0 auto 12px;
    display: block;
  }

  .software-btn:last-of-type {
    margin-bottom: 22px;
  }

  .software-btn.glass-hover:hover {
    transform: translateY(-2px);
  }

  .software-btn-text,
  .software-btn-text-1,
  .software-btn-text-2,
  .software-btn-text-3,
  .software-btn-text-4,
  .software-btn-text-5 {
    left: 72px;
    top: 0;
    width: calc(100% - 90px);
    height: 64px;
    font-size: 16px;
    line-height: 22px;
  }

  .software-btn-icon-1 {
    width: 38px;
    height: 38px;
    left: 18px;
    top: 13px;
  }

  .software-btn-icon-2,
  .software-btn-icon-3,
  .software-btn-icon-4,
  .software-btn-icon-5 {
    width: 36px;
    height: 36px;
    left: 18px;
    top: 14px;
  }

  .software-imagen-wrap {
    width: 100%;
    height: auto;
    aspect-ratio: 827 / 490;
    margin: 0 auto 22px;
    border-radius: 16px;
  }

  .software-descripcion {
    width: 100%;
    min-height: auto;
    margin: 0 auto 28px;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
  }

  .boton-agendar-demo {
    width: 260px;
    height: 64px;
    margin: 0 auto 34px;
    display: flex;
  }

  .boton-agendar-demo.glass-hover:hover {
    transform: translateY(-2px);
  }

  .texto-boton-agendar-demo {
    position: static;
    width: 100%;
    height: auto;
    padding: 0 16px;
    font-size: 14px;
    line-height: 23px;
    letter-spacing: 0.14em;
  }

  .titulo-empresas-ratronic {
    width: 100%;
    min-height: auto;
    margin: 0 0 22px 0;
    font-size: clamp(20px, 6.1vw, 28px);
    line-height: 1.18;
  }

  .marcas-wrap {
    width: 100%;
    gap: 12px;
  }

  .marcas-track {
    --marcas-gap: 10px;
    gap: var(--marcas-gap);
  }

  .marca-item {
    flex: 0 0 calc((100% - (var(--marcas-gap) * 2)) / 3);
    max-width: calc((100% - (var(--marcas-gap) * 2)) / 3);
    min-width: 0;
    height: clamp(62px, 18vw, 74px);
    padding: 6px;
  }

  /* Mobile glass alineado visualmente con desktop, con ajustes suaves para pantalla chica */
  .glass {
    background: rgba(255, 255, 255, 0.10);
    box-shadow:
      inset 0px 2px 6px rgba(0, 0, 0, 0.12),
      inset 0px 1px 1px rgba(255, 255, 255, 0.08),
      0 6px 16px rgba(12, 22, 57, 0.14);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
  }

  .glass::before {
    padding: 1.35px;
    background: linear-gradient(
      225deg,
      transparent 0%,
      transparent 7%,
      rgba(255, 255, 255, 0.52) 18%,
      rgba(255, 255, 255, 0.52) 82%,
      transparent 93%,
      transparent 100%
    );
    filter: brightness(1.16);
  }

  .glass-hover:hover {
    background: rgba(255, 255, 255, 0.16);
  }


  .contacto-contenido {
    padding: 38px 20px 56px;
    gap: 18px;
  }

  .contacto-mockups {
    width: 352px;
    max-width: 100%;
    height: 232px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
  }

  .contacto-mockups .mockups-group {
    --mockup-scale: 0.45;
    transform: scale(var(--mockup-scale));
    transform-origin: top left;
  }

  .contacto-titulo {
    font-size: 28px;
    line-height: 1.18;
    max-width: 100%;
    text-align: center;
    justify-content: center;
  }

  .contacto-subtitulo {
    font-size: 18px;
    line-height: 1.45;
    max-width: 100%;
    text-align: center;
  }


  .contacto-visual {
    width: 100%;
    max-width: 420px;
    height: auto;
    min-height: 680px;
    aspect-ratio: auto;
    overflow: visible;
    padding: 28px 20px 24px;
    border-radius: 18px;
  }

  .form-demo {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: auto;
  }

  .form-titulo,
  .field-wrapper label,
  .line-input,
  .checkbox-wrapper,
  .btn-enviar {
    position: static;
  }

  .form-titulo {
    width: 100%;
    height: auto;
    margin-bottom: 6px;
    font-size: 24px;
    line-height: 1.2;
  }

  .input-group.row-inputs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .field-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .field-wrapper label {
    font-size: 14px;
    line-height: 1.3;
  }

  .line-input,
  .line-short,
  .line-full,
  #nombre,
  #apellido,
  #empresa,
  #email,
  #telefono {
    width: 100%;
    left: auto;
    top: auto;
  }

  .checkbox-wrapper {
    left: auto;
    top: auto;
    align-items: flex-start;
    margin-top: 4px;
  }

  .checkbox-label {
    line-height: 1.35;
  }

  .btn-enviar {
    left: auto;
    top: auto;
    margin-top: 6px;
  }

  .contacto-indicador-subida,
  .contacto-linea-separadora {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    margin-left: auto;
    margin-right: auto;
  }

  .contacto-indicador-subida {
    margin-top: 18px;
    margin-bottom: 12px;
    order: 5;
  }

  .contacto-linea-separadora {
    width: 100%;
    max-width: 420px;
    order: 6;
  }

}

@media (prefers-reduced-motion: reduce) {
  .software-imagen,
  .software-descripcion {
    transition: none !important;
  }
}

@media (max-width: 480px) {
  .mockups-group {
    --mockup-scale: 0.4;
    transform: scale(var(--mockup-scale)) translateY(-70px);
    transform-origin: center center;
  }

  .metrica {
    font-size: 24px;
  }

  .titulo-seccion {
    font-size: 24px;
  }

  .texto-boton {
    font-size: 13px;
    letter-spacing: 0.14em;
  }

  .software-alcance-contenido {
    padding: 34px 12px 50px;
  }

  .software-alcance-titulo {
    font-size: clamp(18px, 6vw, 24px);
    margin-bottom: 20px;
  }

  .software-btn {
    height: 60px;
    margin-bottom: 10px;
    border-radius: 12px;
  }

  .software-btn-text,
  .software-btn-text-1,
  .software-btn-text-2,
  .software-btn-text-3,
  .software-btn-text-4,
  .software-btn-text-5 {
    left: 64px;
    width: calc(100% - 78px);
    height: 60px;
    font-size: 15px;
  }

  .software-btn-icon-1,
  .software-btn-icon-2,
  .software-btn-icon-3,
  .software-btn-icon-4,
  .software-btn-icon-5 {
    left: 16px;
    top: 12px;
    width: 34px;
    height: 34px;
  }

  .software-btn:last-of-type {
    margin-bottom: 18px;
  }

  .software-imagen-wrap {
    border-radius: 12px;
    margin-bottom: 18px;
  }

  .software-descripcion {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .boton-agendar-demo {
    width: 240px;
    height: 60px;
    margin-bottom: 30px;
  }

  .texto-boton-agendar-demo {
    font-size: 14px;
    letter-spacing: 0.12em;
  }

  .titulo-empresas-ratronic {
    font-size: clamp(18px, 6vw, 24px);
    margin-bottom: 18px;
  }

  .marcas-wrap {
    margin-bottom: 6px;
  }

  .marca-item {
    flex-basis: calc((100% - (var(--marcas-gap, 10px) * 2)) / 3);
    max-width: calc((100% - (var(--marcas-gap, 10px) * 2)) / 3);
    height: min(68px, 19vw);
  }


  .contacto-contenido {
    padding: 34px 12px 50px;
  }

  .contacto-titulo {
    font-size: 24px;
  }

  .contacto-subtitulo {
    font-size: 16px;
    line-height: 1.5;
  }


  .contacto-visual {
    min-height: 650px;
    padding: 24px 16px 20px;
    border-radius: 16px;
  }

  .form-titulo {
    font-size: 21px;
  }

  .btn-enviar {
    width: 100%;
    max-width: 220px;
  }

  .contacto-mockups {
    width: 305px;
    max-width: 100%;
    height: 202px;
    margin-left: auto;
    margin-right: auto;
  }

  .contacto-mockups .mockups-group {
    --mockup-scale: 0.39;
    transform: scale(var(--mockup-scale));
    transform-origin: top left;
  }
}



@media (max-width: 480px) {
  .elegirnos-contacto-btn {
    max-width: 100%;
  }

  .elegirnos-contacto-texto {
    letter-spacing: 0.12em;
  }

  .faq-item-texto {
    font-size: 14px;
    line-height: 1.35;
  }

  .faq-item-respuesta {
    font-size: 14px;
    line-height: 1.45;
  }
}

@media (max-width: 360px) {
  .elegirnos-titulo {
    font-size: 24px;
  }

  .elegirnos-texto-titulo,
  .elegirnos-texto-descripcion {
    font-size: 15px;
    line-height: 1.35;
  }

  .faq-titulo {
    font-size: 26px;
  }

  .contacto-mockups {
    width: 266px;
    height: 175px;
  }

  .contacto-mockups .mockups-group {
    --mockup-scale: 0.34;
    transform: scale(var(--mockup-scale));
    transform-origin: top left;
  }
}
/* =========================
   FIX ANDROID / MOBILE GLASS
========================= */

@media (max-width: 767px) and (hover: none) and (pointer: coarse) {
  @supports not (-webkit-touch-callout: none) {
    .glass {
      backdrop-filter: blur(9px);
      -webkit-backdrop-filter: blur(9px);
      background: rgba(255, 255, 255, 0.10);
      box-shadow:
        inset 0px 2px 6px rgba(0, 0, 0, 0.12),
        inset 0px 1px 1px rgba(255, 255, 255, 0.08),
        0 6px 16px rgba(12, 22, 57, 0.14);
    }

    .glass::before {
      background: linear-gradient(
        225deg,
        transparent 0%,
        transparent 7%,
        rgba(255, 255, 255, 0.52) 18%,
        rgba(255, 255, 255, 0.52) 82%,
        transparent 93%,
        transparent 100%
      );
      filter: brightness(1.16);
    }

    .glass-hover:hover {
      background: rgba(255, 255, 255, 0.16);
    }

  }
}

/* =========================
   FIX IOS / IPHONE GLASS
========================= */

@supports (-webkit-touch-callout: none) {
  @media (max-width: 767px) {
    .glass {
      backdrop-filter: blur(9px);
      -webkit-backdrop-filter: blur(9px);
      background: rgba(255, 255, 255, 0.10);
      box-shadow:
        inset 0px 2px 6px rgba(0, 0, 0, 0.12),
        inset 0px 1px 1px rgba(255, 255, 255, 0.08),
        0 6px 16px rgba(12, 22, 57, 0.14);
    }

    .glass::before {
      background: linear-gradient(
        225deg,
        transparent 0%,
        transparent 7%,
        rgba(255, 255, 255, 0.52) 18%,
        rgba(255, 255, 255, 0.52) 82%,
        transparent 93%,
        transparent 100%
      );
      filter: brightness(1.16);
    }

    .glass-hover:hover {
      background: rgba(255, 255, 255, 0.16);
    }

    body::before,
    body::after {
      position: absolute;
      min-height: 100%;
    }
  }
}

/* FORMULARIO CONTACTO (desktop basado en Figma) */
.contacto-visual {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  z-index: 3;
}

.form-demo {
  position: relative;
  width: 100%;
  height: 100%;
}

.form-titulo {
  position: absolute;
  width: 517px;
  height: 50px;
  left: 62px;
  top: 40px;
  margin: 0;
  font-family: 'Arista Pro', sans-serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 33px;
  display: flex;
  align-items: center;
  color: #FFFFFF;
}

.field-wrapper label {
  position: absolute;
  font-family: 'Area Normal', sans-serif;
  font-weight: 800;
  font-size: 15px;
  line-height: 30px;
  color: #FFFFFF;
}

.field-wrapper .label-opcional {
  font-weight: 400;
}

label[for="nombre"] { left: 72px; top: 121px; width: 101px; }
label[for="apellido"] { left: 315px; top: 121px; width: 101px; }
label[for="empresa"] { left: 72px; top: 204px; width: 190px; }
label[for="email"] { left: 72px; top: 293px; width: 190px; }
label[for="telefono"] { left: 72px; top: 382px; width: 257px; }

.line-input {
  position: absolute;
  background: transparent;
  border: none;
  border-bottom: 1px solid #FFFFFF;
  color: #FFFFFF;
  outline: none;
  padding-bottom: 8px;
  font-size: 17px;
  line-height: 1.35;
}

.form-demo .line-input {
  font-size: 14px !important;
}

.line-short { width: 215px; top: 153px; }
#nombre { left: 72px; }
#apellido { left: 315px; width: 234px; }

.line-full { width: 477px; left: 72px; }
#empresa { top: 241px; }
#email { top: 332px; }
#telefono { top: 421px; }

.checkbox-wrapper {
  position: absolute;
  left: 72px;
  top: 475px;
  display: flex;
  align-items: center;
  z-index: 5;
}

.custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid #FFFFFF;
  background: rgba(0, 0, 0, 0.004);
  cursor: pointer;
  position: relative;
  margin-right: 10px;
  z-index: 6;
}

.custom-checkbox:checked::after {
  content: 'check';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Material Symbols Rounded';
  font-size: 16px;
  line-height: 1;
  color: #FFFFFF;
  font-weight: 300;
  font-style: normal;
  font-variation-settings:
    'FILL' 0,
    'wght' 300,
    'GRAD' 0,
    'opsz' 48;
}

.checkbox-label {
  font-family: 'Area Normal', sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 30px;
  color: #FFFFFF;
  cursor: pointer;
  position: relative;
  z-index: 6;
}

.btn-enviar {
  position: absolute;
  width: 112px;
  height: 44px;
  border: none;
  left: 72px;
  top: 527px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 32px;
  font-family: 'Area Normal', sans-serif;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  color: #FFFFFF;
  cursor: pointer;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}

@media (max-width: 767px) {
  .contacto-visual {
    width: 100%;
    max-width: 420px;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    overflow: visible;
    padding: 28px 20px 24px;
    border-radius: 18px;
  }

  .form-demo {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: auto;
  }

  .form-titulo,
  .field-wrapper label,
  .line-input,
  .checkbox-wrapper,
  .btn-enviar {
    position: static;
  }

  .form-titulo {
    width: 100%;
    height: auto;
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 24px;
    line-height: 1.2;
  }

  .input-group.row-inputs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .field-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .field-wrapper label {
    font-size: 14px;
    line-height: 1.3;
  }

  .line-input,
  .line-short,
  .line-full,
  #nombre,
  #apellido,
  #empresa,
  #email,
  #telefono {
    width: 100%;
    left: auto;
    top: auto;
  }

  .checkbox-wrapper {
    left: auto;
    top: auto;
    align-items: flex-start;
    margin-top: 4px;
  }

  .checkbox-label {
    line-height: 1.35;
  }

  .btn-enviar {
    left: auto;
    top: auto;
    margin-top: 6px;
  }
}

@media (max-width: 480px) {
  .contacto-visual {
    min-height: 0;
    padding: 24px 16px 20px;
    border-radius: 16px;
  }

  .form-titulo {
    font-size: 21px;
  }

  .btn-enviar {
    width: 100%;
    max-width: 220px;
  }
}

@media (max-width: 767px) {
  .contacto-seccion {
    min-height: auto;
  }

  .contacto-contenido {
    height: auto;
    min-height: auto;
    padding-bottom: 24px;
  }

  .contacto-indicador-subida {
    margin-top: 14px;
    margin-bottom: 8px;
  }

  .contacto-linea-separadora {
    margin-bottom: 4px;
  }

  .contacto-footer {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 420px;
    margin: 8px auto 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    order: 7;
    height: auto;
  }

  .footer-col {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
  }

  .footer-col-contacto,
  .footer-col-acerca,
  .footer-col-newsletter {
    width: 100%;
    margin-left: 0;
  }

  .footer-newsletter-form,
  .footer-newsletter-input {
    width: 100%;
    max-width: 100%;
  }

  .footer-contacto-item span {
    white-space: normal;
  }

  .bg-dinamico.bg-middle-visible::before,
  .bg-dinamico.bg-top-visible::before,
  .bg-dinamico.bg-bottom-visible::before {
    position: absolute;
    top: 0;
    bottom: auto;
    height: 100%;
    background-size: 100% 100%;
  }
}

/* =========================
   FONDOS DINAMICOS POR SECCION
========================= */

.bg-dinamico {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent !important;
}

.bg-dinamico::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

.bg-dinamico.bg-middle-visible::before {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-size: 100% 100vh;
  background-size: 100% 100dvh;
}

.bg-dinamico.bg-top-visible::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-size: 100% 100vh;
  background-size: 100% 100dvh;
}

.bg-dinamico.bg-bottom-visible::before {
  position: absolute;
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-size: 100% 100vh;
  background-size: 100% 100dvh;
}

@media (max-width: 767px) and (orientation: landscape) {
  .marcas-track {
    --marcas-gap: 12px;
  }

  .marca-item {
    height: clamp(50px, 12vw, 62px);
    padding: 4px;
  }
}


/* Evita bloque blanco en autocompletado de navegador sobre formulario */
.form-demo input:-webkit-autofill,
.form-demo input:-webkit-autofill:hover,
.form-demo input:-webkit-autofill:focus,
.form-demo input:-webkit-autofill:active,
.footer-newsletter-input:-webkit-autofill,
.footer-newsletter-input:-webkit-autofill:hover,
.footer-newsletter-input:-webkit-autofill:focus,
.footer-newsletter-input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff;
  transition: background-color 9999s ease-out 0s;
}

.landing-toast {
  position: fixed;
  right: 24px;
  bottom: 28px;
  max-width: 460px;
  width: calc(100% - 32px);
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(145deg, rgba(8, 27, 52, 0.95), rgba(16, 44, 79, 0.93));
  box-shadow: 0 18px 42px rgba(8, 19, 40, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #f4f9ff;
  display: flex;
  flex-direction: column;
  gap: 5px;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
  z-index: 9999;
}

.landing-toast.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.landing-toast strong {
  font-family: 'Arista Pro', sans-serif;
  font-size: 16px;
  letter-spacing: .02em;
}

.landing-toast span {
  font-family: 'Area Normal', sans-serif;
  font-size: 13px;
  line-height: 1.35;
  color: #d6e7ff;
}

.landing-toast--success { border-left: 4px solid #00bcc4; }
.landing-toast--error { border-left: 4px solid #ff6b85; }
.landing-toast--info { border-left: 4px solid #6bb4ff; }



.form-demo,
.form-demo-success {
  width: 100%;
}

.form-demo-success {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 420px;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 10px;
}

.form-demo-success[hidden] {
  display: none !important;
}

.form-success-text {
  font-family: 'Area Normal', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #ffffff;
  margin: 0;
  max-width: 42ch;
}

#btnNuevoEnvio {
  align-self: center;
  min-width: 220px;
}


.form-success-title {
  font-family: 'Arista Pro', sans-serif;
  color: #ffffff;
  margin: 0;
  font-size: clamp(28px, 3.2vw, 34px);
}


.form-success-text a,
.form-success-text a:visited,
.form-success-text a:hover,
.form-success-text a:active {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.line-input-error {
  border-bottom-color: #ff6b85 !important;
  box-shadow: 0 8px 16px rgba(255, 107, 133, 0.2);
}

.field-error-msg {
  display: block;
  margin-top: 8px;
  font-family: 'Area Normal', sans-serif;
  font-size: 12px;
  color: #ffd2dc;
}

.form-demo .field-error-msg {
  position: absolute;
  margin: 0;
  display: block;
  font-size: 11px;
  color: #ffb8c6;
  text-align: left;
  z-index: 6;
  pointer-events: none;
}
