/* 🎨 Variables */
@import url('https://fonts.googleapis.com/css2?family=Clash+Display:wght@500;700&family=Manrope:wght@400;600&display=swap');

:root {
  --bg: #0f172a;
  --bg-2: #1e293b;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --brand: #00ffc3;
  --brand-2: #38bdf8;
  --card-glass: rgba(30, 41, 59, 0.7);
}

/* 🔄 Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
   font-family: "Manrope", sans-serif; /* Fuente para párrafos */
}

/* HERO */
.hero-contacto {
  text-align: center;
  padding: 80px 20px 60px;
  background: radial-gradient(1000px 600px at 50% -10%, rgba(0,245,160,.15), transparent),
              radial-gradient(1000px 600px at 80% 10%, rgba(0,97,255,.15), transparent);
}
.hero-contacto h1 {
  margin-top: 10px;
         font-size: 2rem;
  margin-top: 45px;
  font-weight: 800;
  margin-bottom: 16px;
  background: #00ffbf;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-contacto p {
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #cbd5e1;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Clash Display", sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
     color: #e2e8f0;
}
body {

  background: linear-gradient(180deg, var(--bg), var(--bg-2));
  color: var(--text);
  line-height: 1.6;

  overflow-x: hidden;
}
.contenedor-principal{
    padding: 30px;
}
/* 📰 Encabezados */
.titulo1 {
 
  font-size: 2rem;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.intro-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 800px;
}

/* 📄 Sección de artículos */
.blog-articulo {
  background: var(--card-glass);
  border: 1px solid rgba(0, 255, 200, 0.15);
  border-radius: 18px;
  padding: 30px;
  margin-bottom: 40px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 25px rgba(0, 255, 200, 0.1);
  transition: 0.3s ease;
}

.blog-articulo:hover {
  transform: translateY(-5px);
  border-color: var(--brand);
  box-shadow: 0 0 30px rgba(0, 255, 200, 0.25);
}

/* 📦 Grid de tarjetas */
.ofrecemos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 255, 200, 0.15);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--brand);
  box-shadow: 0 0 18px rgba(0, 255, 200, 0.3);
}

.card .icono {
  font-size: 2rem;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--brand);
}

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.blog-img {
  width: 100%;
  max-height: 160px;
  object-fit: contain;
  margin: 10px 0;
  border-radius: 10px;
}

/* 📊 Comparaciones */
.beneficios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.beneficio-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 255, 200, 0.15);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  transition: 0.3s;
}

.beneficio-card:hover {
  border-color: var(--brand);
  box-shadow: 0 0 15px rgba(0, 255, 200, 0.2);
}

.beneficio-card h4 {
  color: var(--brand);
  margin-bottom: 5px;
  font-size: 1rem;
}

/* ✅ Conclusión */
.sobre-nosotros {
  margin-top: 20px;
  padding: 15px;
  background: rgba(56, 189, 248, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px;
}

.sobre-nosotros h3 {
  color: var(--brand-2);
  margin-bottom: 10px;
}

/* 🔘 Botón "Leer más" */
.btn-conocenos2 {
  margin-top: 15px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #0f172a;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-conocenos2:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 255, 200, 0.6);
}

/* 🔽 Texto oculto */
.texto-extra {
  display: none;
  margin-top: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--brand-2);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.texto-extra.mostrar {
  display: block;
  animation: fadeIn 0.6s ease;
}

/* ✨ Animaciones */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .titulo1 { font-size: 1.6rem; }
  .intro-text { font-size: 1rem; }
  .blog-articulo { padding: 20px; }
}


    /* Contenedor para ambos botones flotantes */
    .floating-buttons {
      position: fixed;
      bottom: 25px;
      right: 25px;
      display: flex;
      gap: 15px;
      z-index: 999;
    }

    .whatsapp-float {
      text-decoration: none;
      /* elimina la rayita */
      display: none;
      /* oculto al cargar */
      position: fixed;
      bottom: 25px;
      right: 25px;
      z-index: 9999;
      width: 55px;
      height: 55px;
      background-color: #25d366;
      color: white;
      border-radius: 50%;
      align-items: center;
      justify-content: center;
      font-size: 26px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s ease;
    }

    .whatsapp-float:hover {
      transform: scale(1.1);
      background-color: #20c154;
    }


#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0f172a;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* Ocultar con fade-out */
#loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* Spinner elegante */
.spinner {
  width: 80px;
  height: 80px;
  border: 6px solid rgba(0, 255, 200, 0.2);
  border-top: 6px solid #00ffc8;
  border-radius: 50%;
  animation: spin 1.2s linear infinite, glow 2s ease-in-out infinite alternate;
  box-shadow: 0 0 20px rgba(0, 255, 200, 0.4);
}

/* Animación de rotación */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Efecto de brillo intermitente */
@keyframes glow {
  from { box-shadow: 0 0 10px rgba(0, 255, 200, 0.4); }
  to { box-shadow: 0 0 30px rgba(0, 255, 200, 0.9); }
}

/* Texto elegante */
.loader-text {
  margin-top: 20px;
  font-size: 1.2rem;
  font-family: 'Clash Display', sans-serif;
  background: linear-gradient(90deg, #00ffc8, #007bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeIn 1.5s ease-in-out infinite alternate;
  letter-spacing: 1px;
}

/* Animación del texto */
@keyframes fadeIn {
  from { opacity: 0.5; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(-3px); }
}