  /* =============================================
   PRESENCIA ONLINE — presencia.css
   ============================================= */

/* FUENTES */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800&family=Lato:wght@300;400;700&display=swap');

/* VARIABLES */
:root {
  --azul:        #1a6fcc;
  --azul-oscuro: #0f4d99;
  --verde:       #2db37a;
  --verde-oscuro:#1e8a5a;
  --oscuro:      #1a2332;
  --gris-texto:  #4a5568;
  --gris-claro:  #f4f7fb;
  --blanco:      #ffffff;
  --sombra:      0 4px 24px rgba(26,111,204,0.10);
  --sombra-hover:0 8px 32px rgba(26,111,204,0.18);
  --radio:       12px;
  --radio-lg:    20px;
  --transicion:  all 0.28s cubic-bezier(.4,0,.2,1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--gris-texto);
  background: var(--blanco);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* TIPOGRAFÍA */
h1, h2, h3, h4 {
  font-family: 'Raleway', sans-serif;
  color: var(--oscuro);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }

.seccion-titulo {
  text-align: center;
  margin-bottom: 14px;
}

.seccion-subtitulo {
  text-align: center;
  color: var(--gris-texto);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 48px;
}

/* BOTONES */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radio);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transicion);
  letter-spacing: 0.3px;
}

.btn-whatsapp {
  background: #25D366;
  color: var(--blanco);
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}

.btn-primario {
  background: var(--azul);
  color: var(--blanco);
  box-shadow: var(--sombra);
}
.btn-primario:hover {
  background: var(--azul-oscuro);
  transform: translateY(-2px);
  box-shadow: var(--sombra-hover);
}

.btn-outline {
  background: transparent;
  color: var(--azul);
  border: 2px solid var(--azul);
}
.btn-outline:hover {
  background: var(--azul);
  color: var(--blanco);
  transform: translateY(-2px);
}

/* CONTENEDOR */
.contenedor {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* SECCIONES */
.seccion {
  padding: 80px 0;
}

.seccion-alt {
  background: var(--gris-claro);
}

/* =============================================
   HEADER
   ============================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--blanco);
  border-bottom: 1px solid rgba(26,111,204,0.10);
  box-shadow: 0 2px 16px rgba(26,35,50,0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo img {
  height: 42px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gris-texto);
  transition: var(--transicion);
  position: relative;
  letter-spacing: 0.3px;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--verde);
  border-radius: 2px;
  transition: var(--transicion);
}

.nav a:hover { color: var(--azul); }
.nav a:hover::after { width: 100%; }

.nav .btn { margin-left: 8px; padding: 10px 20px; font-size: 0.85rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--oscuro);
  border-radius: 2px;
  transition: var(--transicion);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  background: linear-gradient(135deg, #f0f6ff 0%, #e8f5ee 50%, #f4f7fb 100%);
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(26,111,204,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45,179,122,0.12);
  color: var(--verde-oscuro);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
  margin-bottom: 20px;
  letter-spacing: 0.4px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--verde);
  border-radius: 50%;
  animation: pulso 2s ease-in-out infinite;
}

@keyframes pulso {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero h1 {
  margin-bottom: 16px;
}

.hero h1 span {
  color: var(--azul);
}

.hero-subtitulo {
  font-size: 1.15rem;
  color: var(--gris-texto);
  margin-bottom: 32px;
  font-weight: 300;
  line-height: 1.6;
}

.hero-diferenciales {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 36px;
}

.diferencial-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
  color: var(--oscuro);
}

.diferencial-item .icono {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  background: rgba(26,111,204,0.10);
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-imagen {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  position: relative;
}

.hero-imagen-marco {
  background: var(--blanco);
  border-radius: var(--radio-lg);
  box-shadow: var(--sombra-hover);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-imagen-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8f0fe, #e8f5ee);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--azul);
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
}

.hero-imagen-placeholder .icono-grande {
  font-size: 3rem;
}

/* HERO MOCKUPS */
.hero-mockups {
  position: relative;
  width: 460px;
  height: 360px;
}

.mockup {
  position: absolute;
  border-radius: 22px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 18px 40px rgba(26, 35, 50, 0.10),
    0 6px 16px rgba(26, 35, 50, 0.06);
  padding: 12px;
  transition: var(--transicion);
  overflow: hidden;
}

.mockup:hover {
  transform: translateY(-4px);
}

/* Jerarquía visual */
.mockup-1 {
  width: 228px;
  height: 146px;
  top: 6px;
  left: 14px;
  transform: rotate(-4deg);
  z-index: 3;
}

.mockup-2 {
  width: 228px;
  height: 150px;
  top: 36px;
  right: 8px;
  transform: rotate(3deg);
  z-index: 2;
}

.mockup-3 {
  width: 252px;
  height: 162px;
  bottom: 4px;
  left: 40px;
  transform: rotate(-2deg);
  z-index: 1;
}

.mockup-4 {
  width: 180px;
  height: 126px;
  bottom: 26px;
  right: 28px;
  transform: rotate(4deg);
  z-index: 4;
}

.mini-web {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 7px;
  overflow: hidden;
}

.mini-header {
  font-family: 'Raleway', sans-serif;
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--azul);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-title {
  font-family: 'Raleway', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--oscuro);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-text {
  font-size: 0.72rem;
  color: var(--gris-texto);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #22c55e;
  color: var(--blanco);
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(34,197,94,0.20);
}

/* =============================================
   PARA QUIÉN ES — NICHOS
   ============================================= */
.nichos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.nicho-card {
  background: var(--blanco);
  border: 2px solid rgba(26,111,204,0.08);
  border-radius: var(--radio-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transicion);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.nicho-card:hover {
  border-color: var(--azul);
  box-shadow: var(--sombra-hover);
  transform: translateY(-4px);
}

.nicho-icono {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e8f0fe, #e8f5ee);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.nicho-card h3 {
  font-size: 1rem;
  color: var(--oscuro);
}

.nicho-card p {
  font-size: 0.85rem;
  color: var(--gris-texto);
  line-height: 1.5;
}

.nicho-card .nicho-link {
  font-size: 0.82rem;
  color: var(--azul);
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
  margin-top: auto;
}

/* =============================================
   CÓMO FUNCIONA — 3 PASOS
   ============================================= */
.pasos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.pasos-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--azul), var(--verde));
  border-radius: 2px;
}

.paso-card {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}

.paso-numero {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--azul), var(--azul-oscuro));
  color: var(--blanco);
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(26,111,204,0.3);
  position: relative;
  z-index: 1;
}

.paso-card h3 { margin-bottom: 10px; }

/* =============================================
   QUÉ INCLUYE — DIFERENCIALES
   ============================================= */
.incluye-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 840px;
  margin: 0 auto;
}

.incluye-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--blanco);
  border-radius: var(--radio-lg);
  padding: 24px;
  box-shadow: var(--sombra);
  transition: var(--transicion);
}

.incluye-item:hover {
  box-shadow: var(--sombra-hover);
  transform: translateY(-2px);
}

.incluye-icono {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--azul), var(--verde));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.incluye-texto h3 { font-size: 1rem; margin-bottom: 4px; }
.incluye-texto p { font-size: 0.87rem; }

/* =============================================
   DEMOS
   ============================================= */
.demos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.demo-card {
  background: var(--blanco);
  border-radius: var(--radio-lg);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: var(--transicion);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.demo-card:hover {
  box-shadow: var(--sombra-hover);
  transform: translateY(-5px);
}

.demo-preview {
  height: 180px;
  background: linear-gradient(135deg, #e8f0fe, #e8f5ee);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}

.demo-preview::after {
  content: 'Ver demo →';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26,111,204,0.9), transparent);
  color: white;
  padding: 20px 16px 12px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  opacity: 0;
  transition: var(--transicion);
}

.demo-card:hover .demo-preview::after { opacity: 1; }

.demo-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.demo-info h3 { font-size: 1rem; }
.demo-info p { font-size: 0.85rem; }

/* =============================================
   POR QUÉ ELEGIRNOS
   ============================================= */
.porque-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.porque-item {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radio-lg);
  background: var(--blanco);
  box-shadow: var(--sombra);
  transition: var(--transicion);
}

.porque-item:hover {
  box-shadow: var(--sombra-hover);
  transform: translateY(-4px);
}

.porque-icono {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.porque-item h3 { margin-bottom: 10px; }

/* =============================================
   BLOG — 6 TARJETAS
   ============================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--blanco);
  border-radius: var(--radio-lg);
  padding: 28px 24px;
  box-shadow: var(--sombra);
  transition: var(--transicion);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-bottom: 3px solid transparent;
}

.blog-card:hover {
  box-shadow: var(--sombra-hover);
  transform: translateY(-4px);
  border-bottom-color: var(--verde);
}

.blog-nicho {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
  color: var(--azul);
  background: rgba(26,111,204,0.08);
  padding: 4px 10px;
  border-radius: 99px;
  width: fit-content;
}

.blog-card h3 {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--oscuro);
}

.blog-leer {
  font-size: 0.82rem;
  color: var(--azul);
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
  margin-top: auto;
}

/* =============================================
   CONTACTO
   ============================================= */
.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contacto-info h2 { margin-bottom: 16px; }
.contacto-info p { margin-bottom: 28px; }

.contacto-canales {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.canal-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--gris-claro);
  border-radius: var(--radio);
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  color: var(--oscuro);
}

.canal-item .canal-icono {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contacto-form {
  background: var(--blanco);
  border-radius: var(--radio-lg);
  padding: 36px;
  box-shadow: var(--sombra-hover);
}

.form-grupo {
  margin-bottom: 18px;
}

.form-grupo label {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--oscuro);
  margin-bottom: 6px;
}

.form-grupo input,
.form-grupo select,
.form-grupo textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(26,111,204,0.12);
  border-radius: var(--radio);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--oscuro);
  background: var(--blanco);
  transition: var(--transicion);
  outline: none;
}

.form-grupo input:focus,
.form-grupo select:focus,
.form-grupo textarea:focus {
  border-color: var(--azul);
  box-shadow: 0 0 0 3px rgba(26,111,204,0.10);
}

.form-grupo textarea { resize: vertical; min-height: 110px; }

.form-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--oscuro);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo img {
  height: 50px;
  width: auto;
  opacity: 0.9;
  filter: brightness(0) invert(1);
}

.footer-logo p {
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--blanco);
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
  transition: var(--transicion);
}

.footer-col a:hover {
  color: var(--verde);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255,255,255,0.50);
  font-size: 0.82rem;
  transition: var(--transicion);
}

.footer-legal a:hover { color: var(--verde); }

/* =============================================
   FLOTANTES
   ============================================= */
.flotantes {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  z-index: 2000;
}

.whatsapp-float img { width: 35px; height: 35px; }
.whatsapp-float:hover { transform: scale(1.05); }

.instagram-float {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #E4405F;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  z-index: 2000;
}

.instagram-float img { width: 35px; }
.instagram-float:hover { transform: translateY(-3px) scale(1.05); }

.facebook-float {
  position: fixed;
  bottom: 172px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #1877F2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  z-index: 2000;
}

.facebook-float img { width: 35px; }
.facebook-float:hover { transform: translateY(-3px) scale(1.05); }

.flotante-wa  { background: #25D366; }
/* .flotante-ig  { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); } */
/* .flotante-fb  { background: #1877F2; } */

/* =============================================
   ANIMACIONES SCROLL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .nichos-grid { grid-template-columns: repeat(2, 1fr); }
  .demos-grid  { grid-template-columns: repeat(2, 1fr); }
  .blog-grid   { grid-template-columns: repeat(2, 1fr); }
  .porque-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-contenido {
    max-width: 720px;
  }

  .hero-imagen {
    min-height: 320px;
  }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav.abierto {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--blanco);
    padding: 20px 24px;
    border-bottom: 1px solid rgba(26,111,204,0.10);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    gap: 18px;
  }
  .hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-imagen { display: none; }
  .hero-diferenciales { grid-template-columns: 1fr; }

  .pasos-grid { grid-template-columns: 1fr; }
  .pasos-grid::before { display: none; }

  .incluye-grid { grid-template-columns: 1fr; }
  .nichos-grid  { grid-template-columns: 1fr 1fr; }
  .demos-grid   { grid-template-columns: 1fr; }
  .blog-grid    { grid-template-columns: 1fr; }
  .porque-grid  { grid-template-columns: 1fr; }

  .contacto-inner { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .nichos-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
.hero-demo {
  position: relative;
  width: 360px;
  height: 300px;
}

/* WEB */
.demo-web {
  position: relative;
  z-index: 3;
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transform: rotate(-2deg);
}

/* NAV */
.demo-nav {
  display: flex;
  justify-content: space-around;
  font-size: 0.65rem;
  padding: 8px;
  background: #f4f7fb;
  font-weight: 600;
  color: #555;
}

/* HERO */
.demo-hero {
  padding: 16px;
  text-align: center;
  background: linear-gradient(135deg, #e8f0fe, #dff3ea);
  border-bottom: 1px solid #eee;
}

.demo-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--oscuro);
}

.demo-sub {
  font-size: 0.7rem;
  color: var(--gris-texto);
  margin-bottom: 8px;
}

.demo-btn {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  padding: 8px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 6px;
  box-shadow: 0 6px 14px rgba(34,197,94,0.4);
}

/* SECCIONES */
.demo-sections {
  display: flex;
  gap: 6px;
  padding: 10px;
}

.demo-box {
  flex: 1;
  height: 36px;
  background: linear-gradient(135deg, #eef2f7, #e3e8ef);
  border-radius: 8px;
}


/* FONDOS */
.demo-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  background: white;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.demo-back-1 {
  transform: rotate(-6deg);
  opacity: 0.6;
}

.demo-back-2 {
  transform: rotate(6deg);
  opacity: 0.4;
}

/* HERO CON FOTO DE FONDO */
.hero-foto {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  background: none;
}
.hero-foto::before { display: none; }
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,77,153,0.90) 0%, rgba(26,111,204,0.78) 50%, rgba(26,35,50,0.65) 100%);
}
.hero-foto .hero-inner {
  position: relative;
  z-index: 1;
  padding: 140px 0 100px;
  grid-template-columns: 1fr;
  max-width: 700px;
}
.hero-foto h1 { color: var(--blanco); }
.hero-foto h1 span { color: #7dd3fc; }
.hero-foto .hero-subtitulo { color: rgba(255,255,255,0.82); }
.hero-foto .hero-badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.90);
}
.hero-foto .hero-badge::before { background: #7dd3fc; }
.hero-foto .diferencial-item { color: rgba(255,255,255,0.90); }
.hero-foto .diferencial-item .icono { background: rgba(255,255,255,0.15); }
.btn-ghost-blanco {
  background: transparent;
  color: var(--blanco);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-ghost-blanco:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--blanco);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .hero-foto .hero-inner { padding: 20px 24px 80px; }
  .hero-foto .hero-cta .btn { width: 100%; justify-content: center; }
}

/* NAP footer - Google local SEO */
.footer-nap {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
  line-height: 1.6;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
