@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Poppins:wght@600&display=swap');

/* === ANIMACIONES === */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}

/* === CONFIGURACIÓN GENERAL === */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #E2E8F0;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #0F172A;
}

/* === ENCABEZADO === */
header {
    background-color: #0F172A;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 10;
    animation: fadeIn 0.8s ease-out;
}

header h1 {
    color: #38BDF8;
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    margin: 0;
    text-shadow: 0 0 8px rgba(56,189,248,0.5);
    transition: text-shadow 0.3s ease;
}

header h1:hover {
    text-shadow: 0 0 15px rgba(56,189,248,0.9);
}

nav {
    display: flex;
}

nav a {
    color: #E2E8F0;
    margin: 0 10px;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #38BDF8;
    left: 0;
    bottom: -3px;
    transition: width 0.3s ease;
}

nav a:hover {
    color: #38BDF8;
}

nav a:hover::after {
    width: 100%;
}

/* === BOTÓN HAMBURGUESA === */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: #38BDF8;
    cursor: pointer;
}

/* === HERO === */
.hero {
    background: linear-gradient(135deg, #38BDF8, #0EA5E9);
    color: #fff;
    padding: 120px 20px;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    text-align: center;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, rgba(14,165,233,0.5), rgba(15,23,42,0));
}

/* === SECCIÓN PRODUCTOS === */
.destacados {
    background-color: #0F172A;
    border-radius: 20px;
    padding: 100px 20px;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: translateY(0);
}

.cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 40px;
}

.card {
    background-color: #1E293B;
    border-radius: 12px;
    padding: 25px;
    width: 260px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(56,189,248,0.4);
}

.card h3 {
    color: #38BDF8;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.card p {
    color: #E2E8F0;
    font-size: 0.95rem;
}

/* === BADGE DESTACADO === */
.badge {
    position: absolute;
    top: -12px;
    right: -18px;
    background: linear-gradient(135deg, #38BDF8, #0EA5E9);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 0 8px rgba(14, 165, 233, 0.5);
    animation: pulse 2.5s infinite;
    text-decoration: none;
    cursor: pointer;
}

/* Hero badge */
.hero-badge {
    position: relative;
    display: inline-block;
    margin-top: 10px;
}

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

/* === SECCIÓN AUTOMATIZACIONES === */
#automatizaciones {
    background-color: #1E293B;
    border-radius: 10px;
    margin-top: 80px;
    padding: 100px 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    text-align: center;
}

/* === SECCIÓN CONTACTO === */
#contacto {
    background-color: #0F172A;
    border-radius: 10px;
    margin-top: 80px;
    padding: 100px 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    text-align: center;
}

/* === BOTONES === */
.boton {
    background-color: #0F172A;
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.boton:hover {
    background-color: #1E293B;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(56, 189, 248, 0.3);
}

/* === PIE DE PÁGINA === */
footer {
    background-color: #0F172A;
    text-align: center;
    padding: 20px;
    color: #94A3B8;
    font-size: 0.9rem;
}

/* === EFECTO REVEAL === */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 15px 20px;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        text-align: center;
        background-color: #0F172A;
        padding: 15px 0;
        border-top: 1px solid #334155;
    }

    nav.active {
        display: flex;
    }

    nav a {
        margin: 10px 0;
        font-size: 1.1rem;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

    .hero {
        padding: 80px 15px;
        margin-top: 20px;
    }

    .destacados,
    #automatizaciones,
    #contacto {
        padding: 60px 15px;
        margin-top: 40px;
    }
  /* === TARJETA PROMOCIONAL === */
.servicio-web {
  display: flex;
  justify-content: center;
  margin: 60px 0 40px;
  padding: 40px 20px;
}

.web-card {
  background-color: #1E293B;
  border-radius: 20px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
  max-width: 650px;
  text-align: center;
  padding: 50px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.web-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.3);
}

.web-card h2 {
  font-family: 'Poppins', sans-serif;
  color: #60A5FA;
  font-size: 1.9rem;
  margin-bottom: 15px;
}

.web-card p {
  font-size: 1rem;
  color: #E2E8F0;
  margin-bottom: 25px;
  line-height: 1.6;
}

.btn-web {
  background: #38BDF8;
  color: #0F172A;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-web:hover {
  background: #0EA5E9;
  transform: translateY(-3px);
}


}