/* ========================================
   HOME — Estilos específicos de index.html
   ========================================
   Hero, mockups, stats, secciones, servicios,
   proceso, precios, testimonios, FAQ, back-to-top.
*/

/* ========================================
   SECCIÓN HERO (HERO SECTION)
   ========================================
   Sección principal de bienvenida. Contiene título prominente, descripción,
   botones de acción y una imagen mockup interactiva del producto.
   Incluye animaciones escalonadas (staggered) para entrada gradual del contenido.
*/
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 3rem 4rem;
  overflow: hidden;
}

/* Grid de dos columnas: contenido a la izquierda, mockup a la derecha */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

.hero-left {
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  opacity: 0;
  animation: slideUp 0.8s var(--ease) 0.3s forwards;
}

.hero-tag::before {
  content: "";
  width: 30px;
  height: 1.5px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-h);
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: slideUp 0.8s var(--ease) 0.5s forwards;
}

.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.hero-title em::after {
  content: "";
  position: absolute;
  bottom: 0.1em;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0.4;
  border-radius: 2px;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text2);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: slideUp 0.8s var(--ease) 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: slideUp 0.8s var(--ease) 0.9s forwards;
}

/* ========================================
   ANIMACIONES Y EFECTOS PRINCIPALES
   ========================================
   Animaciones reutilizables para entrada de contenido y efectos interactivos.
   Estas animaciones mejoran la percepción de movimiento y dinamismo.
*/

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animación de flotación para mockup de pantalla */
@keyframes mockupFloat {
  0%,
  100% {
    transform: rotateY(-8deg) rotateX(4deg) translateY(0);
  }

  50% {
    transform: rotateY(-8deg) rotateX(4deg) translateY(-12px);
  }
}

/* Animación de brillo pulsante */
@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

/* Efecto shimmer (destello) sutil en elementos placeholder */
@keyframes shimmer {
  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

/* ========================================
   MOCKUPS
   ======================================== */
.hero-right {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: slideUp 1s var(--ease) 1s forwards;
}

/* Por defecto: desktop visible, mobile oculto */
.hero-right-mobile {
  display: none;
}

/* ---- Wrapper compartido ---- */
.mockup-wrapper,
.phone-wrapper {
  position: relative;
  width: 100%;
  perspective: 1200px;
}

.mockup-wrapper {
  max-width: 520px;
}

.phone-wrapper {
  max-width: 280px;
}

/* ---- Pantalla desktop (navegador) ---- */
.mockup-screen {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.5),
    0 0 60px var(--glow2);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.6s var(--ease);
  animation: mockupFloat 6s ease-in-out infinite;
  will-change: transform;
}

.mockup-screen:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }

.mockup-url {
  margin-left: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 14px;
  border-radius: 6px;
  font-size: 0.7rem;
  color: var(--text3);
  flex: 1;
  text-align: center;
}

/* ---- Contenido compartido del mockup (desktop y phone) ---- */
.mockup-body {
  padding: 20px;
  position: relative;
}

.mockup-body .line {
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  animation: shimmer 2s ease-in-out infinite;
}

/* Barra nav simulada */
.mockup-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.line-logo {
  width: 60px;
  height: 10px;
  background: linear-gradient(90deg, rgba(0, 229, 160, 0.3), rgba(0, 229, 160, 0.1)) !important;
  border-radius: 4px;
}

.mockup-nav-links {
  display: flex;
  gap: 10px;
}

.line-nav-link {
  width: 36px;
  height: 6px;
  border-radius: 3px;
}

/* Hero simulado */
.mockup-hero-section {
  margin-bottom: 20px;
}

.line-heading {
  width: 75%;
  height: 16px;
  margin-bottom: 10px;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.06)) !important;
  border-radius: 4px;
}

.line-subheading {
  width: 55%;
  height: 10px;
  margin-bottom: 14px;
  border-radius: 4px;
}

.line-text {
  width: 90%;
  height: 6px;
  margin-bottom: 16px;
  border-radius: 3px;
}

.line-cta-btn {
  width: 35%;
  height: 22px;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--accent), #00c484) !important;
  opacity: 0.5;
}

/* Tarjetas simuladas */
.mockup-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mockup-card {
  height: 70px;
  border-radius: 10px;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.04),
      rgba(0, 229, 160, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.05);
  animation: shimmer 2s ease-in-out infinite;
}

.mockup-card:nth-child(2) {
  animation-delay: 0.3s;
}

.mockup-card:nth-child(3) {
  animation-delay: 0.6s;
}

/* ---- Mockup teléfono ---- */
.phone-frame {
  background: #1a1a1f;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  padding: 12px;
  position: relative;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 40px var(--glow2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.phone-notch {
  width: 100px;
  height: 22px;
  background: #1a1a1f;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-screen {
  background: var(--card);
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text2);
}

.phone-status-icons {
  display: flex;
  gap: 4px;
}

.line-icon {
  width: 14px;
  height: 6px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15) !important;
}

/* Nav del phone: logo + burger */
.phone-nav {
  margin-bottom: 16px !important;
}

.line-burger {
  width: 18px;
  height: 10px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12) !important;
}

/* Cards del phone: 2 columnas (más estrecho) */
.phone-cards {
  grid-template-columns: repeat(2, 1fr) !important;
}

.phone-cards .mockup-card {
  height: 55px;
}

.mockup-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: blur(40px);
  z-index: -1;
  animation: glowPulse 4s ease-in-out infinite;
}

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  padding: 3rem;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.stat-val {
  font-family: var(--font-h);
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.stat-lbl {
  font-size: 0.85rem;
  color: var(--text3);
  margin-top: 0.3rem;
  letter-spacing: 0.5px;
}

/* ========================================
   SECCIONES GENÉRICAS
   ======================================== */
.section {
  position: relative;
  z-index: 1;
  padding: 7rem 3rem;
}

.section-dark {
  background: var(--bg2);
}

.section-head {
  max-width: 650px;
  margin: 0 auto 4.5rem;
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-tag::before,
.section-tag::after {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

.section-head h2 {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-head p {
  color: var(--text2);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ========================================
   SECCIÓN DE SERVICIOS
   ========================================
   Grid de tres columnas con tarjetas de servicios interactivas.
   Cada tarjeta incluye icono, título y descripción con efecto hover.
*/
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Tarjeta de servicio con efectos hover y línea de brillo superior */
.svc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease);
  cursor: default;
  will-change: transform;
}

/* Línea de brillo en la parte superior que aparece al hover */
.svc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
      transparent,
      var(--accent),
      transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.svc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 160, 0.15);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 30px var(--glow);
}

.svc-card:hover::before {
  opacity: 1;
}

/* Icono de servicio con fondo degradado */
.svc-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg,
      rgba(0, 229, 160, 0.12),
      rgba(0, 201, 255, 0.08));
  border: 1px solid rgba(0, 229, 160, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.svc-card h3 {
  font-family: var(--font-b);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  letter-spacing: -0.3px;
}

.svc-card p {
  color: var(--text2);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ========================================
   PROCESO
   ======================================== */
.process-track {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding-left: 60px;
}

.process-line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: linear-gradient(180deg,
      var(--accent),
      var(--accent2),
      transparent);
}

.proc-step {
  position: relative;
  margin-bottom: 4rem;
  padding-left: 40px;
}

.proc-step:last-child {
  margin-bottom: 0;
}

.proc-dot {
  position: absolute;
  left: -48px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.proc-dot::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.proc-step:hover .proc-dot {
  box-shadow: 0 0 20px var(--glow);
  transform: scale(1.3);
}

.proc-step h3 {
  font-family: var(--font-b);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.proc-step span {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.proc-step p {
  color: var(--text2);
  font-size: 0.95rem;
  max-width: 500px;
  line-height: 1.7;
}

/* ========================================
   SECCIÓN DE PRECIOS
   ========================================
   Grid de dos columnas con tarjetas de planes de precios.
   Una tarjeta está destacada (popular) con bordes y sombras especiales.
   Incluye lista de características y botón de compra.
*/
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

/* Tarjeta de plan de precios */
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease);
  will-change: transform;
}

/* Variante destacada (plan popular/recomendado) */
.price-card.pop {
  border-color: var(--accent);
  box-shadow: 0 0 60px rgba(0, 229, 160, 0.08);
}

.price-card.pop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top,
      rgba(0, 229, 160, 0.06),
      transparent 60%);
  pointer-events: none;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

/* Badge de "Popular" en tarjeta destacada */
.pop-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--accent);
  color: var(--bg);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.price-tier-name {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.price-card h3 {
  font-family: var(--font-b);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

/* Valor de precio con tamaño prominente */
.price-val {
  font-family: var(--font-h);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.price-val-custom {
  font-size: 1.8rem;
  font-family: var(--font-b);
  color: var(--text2);
  padding: 0.5rem 0;
}

.price-val small {
  font-size: 1rem;
  color: var(--text2);
  font-family: var(--font-b);
  font-weight: 400;
}

.price-sub {
  font-size: 0.85rem;
  color: var(--text3);
  margin-bottom: 2rem;
}

/* Lista de características del plan */
.price-list {
  list-style: none;
  margin-bottom: 2.5rem;
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.55rem 0;
  font-size: 0.93rem;
  color: var(--text2);
}

/* Icono de check (marca de verificación) */
.price-list li .ck {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 229, 160, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.price-list li .ck svg {
  color: var(--accent);
}

.price-card .btn {
  width: 100%;
  justify-content: center;
}

/* ========================================
   SECCIÓN DE TESTIMONIOS
   ========================================
   Grid de tres columnas con tarjetas de testimonios de clientes.
   Incluye calificación de estrellas, cita y información del autor.
*/
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Tarjeta de testimonio */
.test-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.2rem;
  transition: all 0.4s var(--ease);
  will-change: transform;
}

.test-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 160, 0.12);
}

/* Estrellas de calificación (emoji o símbolos) */
.test-stars {
  color: #ffc857;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.test-card blockquote {
  color: var(--text2);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* Autor del testimonio */
.test-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* Avatar circular del autor con iniciales o gradiente */
.test-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--bg);
}

.test-author strong {
  display: block;
  font-size: 0.88rem;
}

.test-author span {
  font-size: 0.78rem;
  color: var(--text3);
}

/* ========================================
   SECCIÓN FAQ (PREGUNTAS FRECUENTES)
   ========================================
   Acordeón interactivo con preguntas y respuestas expandibles.
   Las respuestas se abren/cierran con animación suave de max-height.
*/
.faq-wrap {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

/* Botón de pregunta - ocupa el ancho completo y es clickeable */
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-b);
  font-size: 1.02rem;
  font-weight: 500;
  text-align: left;
  padding: 1.4rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.faq-q:hover {
  color: var(--accent);
}

/* Icono de plus/cruz que rota cuando se abre */
.faq-q .plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--accent);
  transition: all 0.3s;
  flex-shrink: 0;
}

/* Estado abierto del acordeón */
.faq-item.open .faq-q .plus {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

/* Respuesta (inicialmente oculta) */
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-a p {
  color: var(--text2);
  font-size: 0.93rem;
  line-height: 1.7;
  padding-bottom: 1.4rem;
}

/* Respuesta visible cuando está abierto */
.faq-item.open .faq-a {
  max-height: 200px;
}

/* ========================================
   BOTÓN VOLVER ARRIBA
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px var(--glow2);
}

/* ========================================
   RESPONSIVE — HOME
   ======================================== */

/* Breakpoint para tablets landscape (1024px) */
@media (max-width: 1024px) {
  /* Hero section: pasar de dos columnas a una sola */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  /* En tablets: ocultar mockup desktop, mostrar mockup teléfono */
  .hero-right-desktop {
    display: none;
  }

  .hero-right-mobile {
    display: flex;
  }

  /* Grids: de 3 columnas a 2 */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Ocultar botón volver arriba en tablets y móviles */
  .back-to-top {
    display: none;
  }
}

/* Breakpoint para móviles (768px) */
@media (max-width: 768px) {
  .hero {
    padding: 7rem 1.5rem 3rem;
  }

  .hero-tag {
    justify-content: center;
  }

  /* Reducir tamaño del phone mockup en móviles */
  .phone-wrapper {
    max-width: 220px;
  }

  .phone-screen {
    min-height: 350px;
  }

  .section {
    padding: 5rem 1.5rem;
  }

  /* Convertir grids a columna única */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .test-grid {
    grid-template-columns: 1fr;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Reducir tamaño de valores estadísticos */
  .stat-val {
    font-size: 2.2rem;
  }

  /* Ajustes en proceso track para proceso/flujo */
  .process-track {
    padding-left: 50px;
  }

  .proc-dot {
    left: -38px;
  }
}