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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #0d0d0d;
  color: #f5f5f5;
  line-height: 1.6;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #111;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: auto;
  height: 30px;
  display: block;
}

.brand-name {
  font-size: 1.6em;
  font-weight: 700;
  color: #60a5fa;
  margin: 0;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: #f5f5f5;
  text-decoration: none;
  transition: color 0.3s;
}

nav a:hover {
  color: #60a5fa;
}

/* GRUPO DERECHA DEL HEADER */
.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* SELECTOR DE IDIOMA */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
}

.lang-btn {
  background: none;
  border: none;
  color: #666;
  font-size: 0.78em;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  padding: 5px 7px;
  border-radius: 4px;
  transition: color 0.3s;
  letter-spacing: 0.05em;
}

.lang-btn:hover {
  color: #60a5fa;
}

.lang-btn.active {
  color: #60a5fa;
  font-weight: 700;
}

.lang-sep {
  color: #333;
  font-size: 0.75em;
  user-select: none;
}

/* BOTON MENU MOVIL */
.menu-btn {
  display: none;
  font-size: 1.8em;
  cursor: pointer;
  color: #60a5fa;
}

/* HERO */
.hero {
  text-align: center;
  padding: 120px 20px;
  background: linear-gradient(135deg, #60a5fa20, #ffffff05);
}

.hero-kicker {
  margin: 0 auto 16px;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero h1 {
  max-width: 840px;
  margin: 0 auto 20px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.12;
}

.hero-lead,
.hero-support {
  max-width: 760px;
  margin: 0 auto 16px;
  color: #ccc;
}

.hero-lead {
  font-size: 1.06rem;
}

.hero-support {
  margin-bottom: 30px;
  color: #9ca3af;
}

button {
  background-color: #60a5fa;
  color: #0d0d0d;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

button:hover {
  transform: scale(1.05);
  background-color: #3b82f6;
}

/* SECCIONES */
.content {
  padding: 80px 20px;
  text-align: center;
}

.content h2 {
  margin-bottom: 30px;
  font-size: 1.8em;
  color: #60a5fa;
}

.content-alt {
  background: linear-gradient(180deg, #111 0%, #0d0d0d 100%);
}

.section-intro {
  max-width: 840px;
  margin: 0 auto 42px;
  color: #c4c4c4;
}

/* CARDS */
.cards-propias {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card-propia {
  background-color: #111;
  border-radius: 15px;
  padding: 30px;
  width: 300px;
  box-shadow: 0 0 15px #60a5fa20;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-propia:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px #60a5fa40;
}

.card-titulo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2em;
  font-weight: 700;
  color: #60a5fa;
  margin-bottom: 14px;
  border-bottom: 1px solid #60a5fa30;
  padding-bottom: 12px;
}

.card-icon {
  font-size: 1.4em;
  flex-shrink: 0;
}

.card-desc {
  color: #aaa;
  font-size: 0.9em;
  line-height: 1.7;
  text-align: left;
}

/* QUIENES SOMOS */
.sobre-intro {
  max-width: 700px;
  margin: 0 auto 30px;
  color: #ccc;
  font-size: 0.95em;
  line-height: 1.8;
}

.sobre-intro p {
  margin-bottom: 15px;
}

.sobre-equipo-intro {
  font-size: 1.05em;
  color: #f5f5f5;
  margin-bottom: 40px;
}

/* TARJETAS EQUIPO */
.equipo-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin: 10px auto 0;
  max-width: 1000px;
  padding: 0 20px;
}

.equipo-card {
  background-color: #111;
  border-radius: 15px;
  padding: 35px 40px;
  flex: 1;
  min-width: 280px;
  max-width: 460px;
  box-shadow: 0 0 15px #60a5fa20;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.equipo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px #60a5fa40;
}

.equipo-foto-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  background-color: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.equipo-foto-wrapper::before {
  content: "\F4E0";
  font-family: "bootstrap-icons";
  font-size: 5em;
  color: #60a5fa30;
  position: absolute;
}

.equipo-foto {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.equipo-nombre {
  font-size: 1.3em;
  font-weight: 700;
  color: #60a5fa;
  margin-bottom: 14px;
  border-bottom: 1px solid #60a5fa30;
  padding-bottom: 12px;
  width: 100%;
}

.equipo-desc {
  color: #aaa;
  font-size: 0.9em;
  line-height: 1.7;
  text-align: left;
  flex-grow: 1;
  margin-bottom: 20px;
}

.equipo-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: auto;
}

.btn-equipo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #60a5fa;
  color: #0d0d0d;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9em;
  transition: all 0.3s;
}

.btn-equipo:hover {
  background-color: #3b82f6;
  color: #0d0d0d;
  transform: scale(1.05);
}

/* EJEMPLOS DE AUTOMATIZACIONES */
.ejemplos-section {
  margin-top: 60px;
}

.ejemplos-titulo {
  font-size: 1.2em;
  font-weight: 700;
  color: #f5f5f5;
  margin-bottom: 8px;
}

.ejemplos-subtitle {
  color: #666;
  font-size: 0.85em;
  margin-bottom: 28px;
}

.ejemplos-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
  margin: 0 auto;
}

.ejemplo-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: #111;
  border-radius: 12px;
  padding: 20px 24px;
  border-left: 3px solid #60a5fa25;
  text-align: left;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.ejemplo-card:hover {
  border-left-color: #60a5fa;
  box-shadow: 0 0 18px #60a5fa15;
}

.ejemplo-icon {
  font-size: 1.8em;
  color: #60a5fa;
  flex-shrink: 0;
  margin-top: 2px;
}

.ejemplo-card h4 {
  font-size: 0.95em;
  font-weight: 700;
  color: #f5f5f5;
  margin-bottom: 6px;
}

.ejemplo-card p {
  font-size: 0.85em;
  color: #aaa;
  line-height: 1.65;
  margin: 0;
}

/* ARTICULOS */
.article-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.article-card {
  display: block;
  text-decoration: none;
  background: linear-gradient(180deg, #151515, #101010);
  border: 1px solid #1d2633;
  border-radius: 18px;
  padding: 24px;
  text-align: left;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: #60a5fa55;
  box-shadow: 0 16px 36px #00000040;
}

.article-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #60a5fa18;
  color: #93c5fd;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.article-card h3 {
  font-size: 1.05rem;
  color: #f3f4f6;
  margin-bottom: 12px;
  line-height: 1.45;
}

.article-card p {
  color: #9ca3af;
  margin: 0;
  font-size: 0.92rem;
}

/* PROCESO */
.proceso-subtitle {
  color: #ccc;
  font-size: 0.95em;
  max-width: 600px;
  margin: -10px auto 50px;
}

.proceso-steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.proceso-steps::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #60a5fa40 15%, #60a5fa40 85%, transparent);
  z-index: 0;
}

.proceso-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.paso-circulo {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #111;
  border: 2px solid #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  z-index: 1;
  box-shadow: 0 0 18px #60a5fa25;
  transition: box-shadow 0.3s, transform 0.3s;
}

.paso-circulo:hover {
  box-shadow: 0 0 30px #60a5fa50;
  transform: scale(1.08);
}

.paso-circulo i {
  font-size: 1.6em;
  color: #60a5fa;
}

.paso-num {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  background-color: #60a5fa;
  color: #0d0d0d;
  border-radius: 50%;
  font-size: 0.72em;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.paso-titulo {
  font-size: 1em;
  font-weight: 700;
  color: #f5f5f5;
  margin-bottom: 10px;
}

.paso-desc {
  font-size: 0.85em;
  color: #aaa;
  line-height: 1.65;
}

/* FAQ */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.faq-item {
  text-align: left;
  background: #111;
  border: 1px solid #1f1f1f;
  border-radius: 16px;
  padding: 24px;
}

.faq-item h3 {
  color: #f5f5f5;
  margin-bottom: 10px;
  font-size: 1rem;
}

.faq-item p {
  color: #aaa;
  margin: 0;
}

/* CONTACTO */
.contacto-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

a.btn-contacto {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #60a5fa !important;
  color: #0d0d0d !important;
  text-decoration: none !important;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1em;
  transition: all 0.3s;
}

a.btn-contacto:hover {
  background-color: #3b82f6 !important;
  color: #0d0d0d !important;
  transform: scale(1.05);
}

.contacto-form {
  max-width: 580px;
  margin: 0 auto 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contacto-form input,
.contacto-form textarea {
  width: 100%;
  background-color: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 14px 18px;
  color: #f5f5f5;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9em;
  transition: border-color 0.3s;
  outline: none;
  resize: vertical;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
  border-color: #60a5fa;
}

.contacto-form input::placeholder,
.contacto-form textarea::placeholder {
  color: #444;
}

.contacto-form button[type="submit"] {
  align-self: center;
  background-color: #60a5fa;
  color: #0d0d0d;
  border: none;
  padding: 12px 32px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  font-size: 1em;
  transition: all 0.3s;
}

.contacto-form button[type="submit"]:hover:not(:disabled) {
  transform: scale(1.05);
  background-color: #3b82f6;
}

.contacto-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.privacy-note {
  margin: -2px 0 0;
  color: #9ca3af;
  font-size: 0.82em;
  line-height: 1.7;
  text-align: left;
}

.privacy-note a {
  color: #93c5fd;
  text-decoration: none;
}

.privacy-note a:hover {
  color: #60a5fa;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #d1d5db;
  font-size: 0.84em;
  line-height: 1.6;
  text-align: left;
}

.privacy-check input {
  width: auto;
  margin-top: 3px;
  accent-color: #60a5fa;
}

.form-result {
  text-align: center;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.88em;
  display: none;
}

.form-result.success {
  display: block;
  background-color: #10b98118;
  color: #10b981;
  border: 1px solid #10b98135;
}

.form-result.error {
  display: block;
  background-color: #ef444418;
  color: #ef4444;
  border: 1px solid #ef444435;
}

.contacto-divider {
  color: #555;
  font-size: 0.85em;
  margin: 10px 0 20px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background-color: #111;
  font-size: 0.9em;
  color: #888;
}

.footer-social {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

a.btn-footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  text-decoration: none;
  color: #0d0d0d;
  background-color: #60a5fa;
  transition: all 0.25s ease;
  font-size: 1.1rem;
}

a.btn-footer-social:hover {
  background-color: #3b82f6;
  transform: translateY(-1px);
}

.footer-links {
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.footer-links a,
.footer-links button {
  border: none;
  background: none;
  padding: 0;
  color: #9ca3af;
  font: inherit;
  font-size: 0.92em;
  text-decoration: none;
  cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover {
  color: #60a5fa;
}

/* ANIMACION HERO */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-kicker {
  animation: fadeInDown 0.7s ease both;
}

.hero h1 {
  animation: fadeInDown 0.7s ease 0.12s both;
}

.hero-lead {
  animation: fadeInDown 0.7s ease 0.24s both;
}

.hero-support {
  animation: fadeInDown 0.7s ease 0.36s both;
}

.hero button {
  animation: fadeInDown 0.7s ease 0.48s both;
}

/* ANIMACIONES DE SCROLL */
.fade-up {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* BOTON FLOTANTE WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7em;
  box-shadow: 0 4px 16px #25D36640;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px #25D36660;
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }

  nav {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #111;
    flex-direction: column;
    align-items: center;
    width: 100%;
    display: none;
    padding: 20px 0;
  }

  nav.show {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

  .hero {
    padding: 100px 20px;
  }

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

  .equipo-card {
    width: 90%;
    max-width: 400px;
  }

  .proceso-steps {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .proceso-steps::before {
    display: none;
  }

  .proceso-step {
    width: 100%;
    max-width: 320px;
    padding: 0;
  }

  .proceso-step:not(:last-child)::after {
    content: '';
    display: block;
    width: 2px;
    height: 20px;
    background-color: #60a5fa35;
    margin: 0 auto;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .brand {
    gap: 8px;
  }

  .brand-logo {
    height: 24px;
  }

  .brand-name {
    font-size: 1.3em;
  }

  .hero-lead,
  .hero-support,
  .section-intro,
  .faq-item p {
    font-size: 0.92rem;
  }

  button {
    padding: 8px 16px;
  }
}
