/* ============================================================
   SEIMS AUTOMATIZACIONES - ESTILO CORPORATIVO PREMIUM
   Diseño moderno, técnico y con contraste profesional
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --azul-oscuro: #081b33;
  --azul-medio: #103a71;
  --azul-claro: #0b6cf0;
  --azul-electrico: #1a8cff;
  --gris-fondo: #0f172a;
  --gris-card: #1e293b;
  --gris-texto: #cbd5e1;
  --gris-claro: #f1f5f9;
  --blanco: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(0,0,0,0.4);
  --fuente: "Poppins", "Inter", sans-serif;
}

/* ------------------------------
   General
------------------------------ */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--fuente);
  background-color: var(--gris-fondo);
  color: var(--gris-texto);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: 600;
  color: var(--blanco);
  margin-top: 0;
  letter-spacing: -0.5px;
}

p {
  color: var(--gris-texto);
}

a {
  color: var(--azul-electrico);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--blanco);
}

/* ------------------------------
   Header
------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: linear-gradient(90deg, var(--azul-oscuro), var(--azul-medio));
  color: var(--blanco);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.site-header .logo {
  height: 60px;
  transition: transform 0.3s ease;
}

.site-header .logo:hover {
  transform: scale(1.05);
}

nav a {
  color: var(--gris-claro);
  margin: 0 12px;
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--azul-electrico);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* ------------------------------
   Contenedor principal
------------------------------ */
.container {
  padding: 60px 24px;
  max-width: 1200px;
  margin: 100px auto;
}

/* ------------------------------
   Secciones y organización
------------------------------ */
section {
  margin-bottom: 60px;
  background: var(--gris-card);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

section:nth-child(even) {
  background: var(--azul-medio);
}

section h2 {
  color: var(--blanco);
  border-left: 4px solid var(--azul-electrico);
  padding-left: 10px;
  margin-bottom: 20px;
}

/* ------------------------------
   Tarjetas / Artículos
------------------------------ */
article {
  background: var(--gris-fondo);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
  border: 1px solid rgba(255,255,255,0.05);
}

article:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(11,108,240,0.3);
}

article img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

article h3 {
  color: var(--azul-electrico);
  font-size: 1.2rem;
  margin-top: 8px;
}

/* ------------------------------
   Video
------------------------------ */
.video {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.video iframe {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(11,108,240,0.4);
}

/* ------------------------------
   Botones y CTA
------------------------------ */
.btn, button {
  background: linear-gradient(90deg, var(--azul-claro), var(--azul-electrico));
  color: var(--blanco);
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(11,108,240,0.4);
}

.btn:hover, button:hover {
  background: var(--azul-electrico);
  transform: translateY(-3px);
  box-shadow: 0 6px 22px rgba(11,108,240,0.6);
}

.cta-strip {
  background: linear-gradient(90deg, var(--azul-electrico), var(--azul-claro));
  color: var(--blanco);
  text-align: center;
  padding: 50px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-strip p {
  font-size: 1.3rem;
  font-weight: 500;
}

.cta-strip a {
  display: inline-block;
  background: var(--blanco);
  color: var(--azul-medio);
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 18px;
  transition: all 0.3s ease;
}

.cta-strip a:hover {
  background: var(--gris-claro);
  color: var(--azul-oscuro);
}

/* ------------------------------
   Formularios
------------------------------ */
form {
  background: var(--gris-fondo);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

form label {
  display: block;
  margin-bottom: 18px;
  color: var(--blanco);
  font-weight: 500;
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  font-family: var(--fuente);
  font-size: 1rem;
  background: #1e293b;
  color: var(--gris-claro);
  transition: all 0.2s ease;
}

form input:focus,
form textarea:focus {
  border-color: var(--azul-electrico);
  box-shadow: 0 0 0 3px rgba(11,108,240,0.3);
  outline: none;
}

/* ------------------------------
   Footer
------------------------------ */
.site-footer {
  background: linear-gradient(180deg, var(--azul-medio), var(--azul-oscuro));
  color: var(--gris-claro);
  text-align: center;
  padding: 40px 20px;
  margin-top: 80px;
  border-top: 3px solid var(--azul-electrico);
  box-shadow: 0 -2px 20px rgba(0,0,0,0.5);
}

.site-footer a {
  color: var(--azul-electrico);
  margin: 0 6px;
}

.site-footer a:hover {
  color: var(--blanco);
}

/* ------------------------------
   Responsividad
------------------------------ */
@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    text-align: center;
    padding: 16px 20px;
  }

  nav {
    margin-top: 10px;
  }

  .container {
    padding: 30px 16px;
    margin: 60px 16px;
  }

  section {
    padding: 24px;
  }

  .cta-strip p {
    font-size: 1.1rem;
  }
}
