:root {
  --blue: #00c2ff;
}

/* RESET */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: white;
  background-color: #050a12;
  overflow-x: hidden;
}

/* HERO */
.hero {
  min-height: 100vh;
  background: url('fondo.png') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.85));
}

/* CONTENEDOR PRINCIPAL */
.hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column; /* Móvil por defecto */
  align-items: center;
  padding: 20px;
}

/* CONTENIDO (TARJETA PRINCIPAL) */
.content {
  max-width: 500px;
  width: 100%;
  padding: 30px;
  text-align: center;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
}

.brand { 
  font-size: 13px; 
  color: var(--blue); 
  margin-bottom: 15px; 
  letter-spacing: 1px; 
  font-weight: 700; 
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ai-icon {
  background: var(--blue);
  color: #000;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
}

h1 { font-size: 32px; margin-bottom: 15px; line-height: 1.2; }
.sub { font-size: 16px; color: #cbd5e1; margin-bottom: 5px; }
.trust { font-size: 14px; margin-bottom: 25px; color: #9bdfff; }

/* BOTONES CUADRÍCULA CON ICONOS */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  min-height: 140px; /* Espacio para el icono */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 15px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  text-align: center;
  transition: 0.3s;
  gap: 12px;
}

.btn-icon {
  width: 32px;
  height: 32px;
  color: var(--blue);
  stroke-width: 1.5px;
}

.btn:hover { 
  background: rgba(0, 194, 255, 0.08); 
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 194, 255, 0.15);
}

/* BOTÓN ANCHO (OTROS PROBLEMAS) */
.btn.full { 
  grid-column: span 2; 
  min-height: 70px; 
  flex-direction: row; 
  gap: 15px;
}

.btn.full .btn-icon {
  width: 24px;
  height: 24px;
}

/* BOTÓN FIJO "CONSULTAR SIN COSTO" */
.btn-free {
  position: fixed;
  bottom: 85px;
  left: 20px;
  right: 20px;
  height: 65px;
  background: linear-gradient(45deg, #0099cc, #00c2ff);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  border-radius: 14px;
  text-decoration: none;
  z-index: 100;
  box-shadow: 0 8px 20px rgba(0, 194, 255, 0.3);
  transition: 0.3s;
}

.btn-free:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}

.social {
  margin-top: 20px;
  font-size: 13px;
  color: #cbd5e1;
}

/* ABOGADO IMAGEN */
.abogado {
  height: 45vh;
  display: block;
}

.abogado-wrapper {
  margin-top: 20px;
  order: 2;
}

/* BARRA INFERIOR DE BENEFICIOS */
.benefits {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #050a12;
  display: flex;
  justify-content: space-around;
  padding: 15px 0;
  font-size: 12px;
  z-index: 110;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ESPACIADOR MÓVIL (Para que el botón fijo no tape contenido) */
.spacer { height: 100px; }

/* --- MODO ESCRITORIO (PC) --- */
@media (min-width: 992px) {
  
  .hero-container {
    flex-direction: row; 
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 50px;
  }

  .content {
    text-align: left;
    margin-left: 50px;
  }

  .brand { justify-content: flex-start; }

  .abogado-wrapper {
    margin-top: 0;
    margin-right: 50px;
  }

  .abogado {
    height: 85vh; /* Tamaño imponente en PC */
  }

  .btn-free {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: 20px;
  }

  .spacer { display: none; }
}

/* --- MODO MÓVIL ESPECÍFICO --- */
@media (max-width: 768px) {
  h1 { font-size: 24px; }
  .abogado { height: 30vh; opacity: 0.8; }
  .btn-free { bottom: 70px; }
}
/* ============================= */
/* MOBILE EXPERIENCE (FIX PRO) */
/* ============================= */

.mobile-layout {
display: none;
}

@media (max-width: 768px) {

.desktop-layout {
display: none;
}

.mobile-layout {
display: block;
min-height: 100vh;
padding: 30px 20px;
background: url("fondo2.png") center/cover no-repeat;
}

.mobile-container {
max-width: 420px;
margin: auto;
padding-bottom: 120px;
text-align: center;
}

/* TITULOS CENTRADOS */
.mobile-title {
font-size: 28px;
font-weight: 800;
margin-bottom: 6px;
}

.mobile-subtitle {
font-size: 14px;
color: #9fb3c8;
margin-bottom: 25px;
}

/* TARJETAS */
.mobile-card {
display: flex;
align-items: center;
gap: 14px;

```
padding: 16px;
margin-bottom: 14px;

border-radius: 16px;
background: rgba(0,0,0,0.55);
border: 1px solid rgba(0,194,255,0.35);

text-decoration: none;
color: white;

backdrop-filter: blur(10px);
transition: 0.2s ease;
```

}

.mobile-card:active {
transform: scale(0.97);
}

/* ICONOS RESPONSIVE (CLAVE) */
.icon {
width: 14vw;
height: 14vw;

```
max-width: 52px;
max-height: 52px;

display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
```

}

.icon img {
width: 100%;
height: 100%;
object-fit: contain;
filter: drop-shadow(0 0 10px #00c2ff);
}

/* TEXTO */
.mobile-card h3 {
font-size: 16px;
margin: 0;
text-align: left;
}

.subtext {
font-size: 13px;
color: #9fb3c8;
text-align: left;
}

/* FLECHA */
.arrow {
margin-left: auto;
font-size: 20px;
color: #00c2ff;
}

/* TEXTO CONFIANZA */
.mobile-social {
text-align: center;
font-size: 13px;
color: #9fb3c8;
margin-top: 25px;
}

/* BOTÓN FIJO */
.cta-fixed {
position: fixed;
bottom: 18px;
left: 16px;
right: 16px;
height: 58px;

```
border-radius: 14px;
background: linear-gradient(90deg, #00c2ff, #00e0ff);

color: #000;
font-weight: 800;

display: flex;
align-items: center;
justify-content: center;

text-decoration: none;
box-shadow: 0 8px 25px rgba(0,194,255,0.4);

z-index: 999;
```

}

/* OCULTAR BARRA INFERIOR */
.benefits {
display: none;
}

}
