/* Zeigar Automation — estilos comunes a todas las páginas (portada y servicios).
Lo propio de cada página va en su propio archivo o en su <style>. */
:root {
  --black: #0d1117;
  --steel: #2E5B8A;
  --steel-light: #4A7FB5;
  --steel-dark: #1A3A5C;
  --white: #F4F6F8;
  --offwhite: #E8ECF0;
  --gray: #6B7A8D;
  --light-gray: #D0D8E0;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { background: var(--white); color: var(--black); font-family: 'DM Sans', sans-serif; font-weight: 300; overflow-x: hidden; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 60px; height: 72px;
  background: rgba(13,17,23,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(74,127,181,0.15);
  transition: all 0.3s;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-wordmark { font-family: 'Bebas Neue', sans-serif; font-size: 26px; color: var(--white); letter-spacing: 5px; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-family: 'DM Mono', monospace; font-size: 10px; color: rgba(244,246,248,0.5);
  text-decoration: none; letter-spacing: 3px; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--steel-light); }
.nav-cta {
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  background: var(--steel); color: var(--white); border: none;
  padding: 10px 20px; cursor: pointer; transition: background 0.2s;
  text-decoration: none;
}
.nav-cta:hover { background: var(--steel-light); }
.nav-derecha { display: flex; align-items: center; gap: 20px; }
.nav-idioma {
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 3px;
  color: rgba(244,246,248,0.6); text-decoration: none;
  border: 1px solid rgba(244,246,248,0.22); padding: 9px 9px 9px 12px;
  transition: color 0.2s, border-color 0.2s;
}
.nav-idioma:hover, .nav-idioma:focus-visible { color: var(--steel-light); border-color: var(--steel-light); outline: none; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); }

/* ─── BOTONES ─── */
.btn-primary {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  background: var(--steel-light); color: var(--white); border: none;
  padding: 16px 32px; cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: #5A8FC5; transform: translateY(-1px); }
.btn-outline {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  background: transparent; color: var(--white); border: 1px solid rgba(244,246,248,0.3);
  padding: 16px 32px; cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block;
}
.btn-outline:hover { border-color: var(--steel-light); color: var(--steel-light); }
/* ─── SECTION COMMON ─── */
.section-wrap { padding: 100px 60px; max-width: 1100px; margin: 0 auto; }
.section-label {
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 5px;
  text-transform: uppercase; color: var(--steel); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--light-gray); max-width: 60px; }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(36px, 5vw, 56px); letter-spacing: 3px; margin-bottom: 16px; }
.section-sub { font-size: 15px; color: var(--gray); line-height: 1.7; max-width: 540px; margin-bottom: 60px; }

/* ─── ETIQUETAS ─── */
.tag {
  font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: 2px;
  text-transform: uppercase; padding: 4px 10px;
  background: rgba(46,91,138,0.12); color: var(--steel); border: 1px solid rgba(46,91,138,0.2);
}
/* ─── CTA BAND ─── */
.cta-band {
  background: linear-gradient(90deg, var(--steel-dark), var(--steel));
  padding: 80px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-text { position: relative; z-index: 1; }
.cta-title { font-family: 'Bebas Neue', sans-serif; font-size: 48px; color: var(--white); letter-spacing: 3px; line-height: 1; margin-bottom: 8px; }
.cta-sub { font-size: 14px; color: rgba(244,246,248,0.5); }
.cta-action { position: relative; z-index: 1; flex-shrink: 0; }

/* ─── WHATSAPP FLOTANTE ─── */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s; text-decoration: none;
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 26px rgba(0,0,0,0.3); }
.wa-float::after {
  content: 'WhatsApp'; position: absolute; right: 68px;
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  background: var(--black); color: var(--white); padding: 8px 12px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.wa-float:hover::after { opacity: 1; }

/* ─── MENÚ MÓVIL ─── */
.mobile-menu {
  position: fixed; top: 72px; left: 0; right: 0; z-index: 99;
  background: rgba(13,17,23,0.98); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(74,127,181,0.15);
  display: none; flex-direction: column; padding: 8px 24px 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'DM Mono', monospace; font-size: 11px; color: rgba(244,246,248,0.7);
  text-decoration: none; letter-spacing: 3px; text-transform: uppercase;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu a:last-child { border-bottom: none; color: var(--steel-light); }
.hamburger span { transition: transform 0.2s, opacity 0.2s; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── FOOTER ─── */
footer {
  background: var(--black); padding: 60px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  border-top: 1px solid rgba(74,127,181,0.15);
}
.footer-brand { }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-wordmark { font-family: 'Bebas Neue', sans-serif; font-size: 24px; color: var(--white); letter-spacing: 5px; }
.footer-desc { font-size: 13px; color: rgba(244,246,248,0.35); line-height: 1.7; max-width: 240px; }
.footer-col-title { font-family: 'DM Mono', monospace; font-size: 9px; color: var(--steel-light); letter-spacing: 4px; text-transform: uppercase; margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: rgba(244,246,248,0.35); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  background: var(--black); padding: 20px 60px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-family: 'DM Mono', monospace; font-size: 9px; color: rgba(244,246,248,0.2); letter-spacing: 2px; }

/* ─── FONDOS DE SECCIÓN ─── */
.srv-blanco { background: var(--white); }
.srv-gris   { background: var(--offwhite); }

/* ─── CÓMO TRABAJAMOS (portada y servicios) ─── */
.srv-proceso {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  margin-top: 48px; counter-reset: none;
}
.srv-paso { border-top: 2px solid var(--steel); padding-top: 24px; }
.srv-paso-num { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 3px; color: var(--steel); }
.srv-paso-titulo {
  font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 24px;
  letter-spacing: 2px; margin: 10px 0; text-transform: uppercase;
}
.srv-paso-texto { font-size: 13.5px; line-height: 1.7; color: var(--gray); }

/* ─── PREGUNTAS FRECUENTES (portada y servicios) ─── */
.srv-faq { margin-top: 40px; display: flex; flex-direction: column; gap: 3px; max-width: 860px; }
.srv-faq-item { background: var(--white); border-left: 3px solid transparent; transition: border-color 0.2s; }
.srv-faq-item[open] { border-left-color: var(--steel); }
.srv-faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 56px 22px 26px; position: relative;
}
.srv-faq-item summary::-webkit-details-marker { display: none; }
.srv-faq-item summary::after {
  content: '+'; position: absolute; right: 26px; top: 50%; transform: translateY(-50%);
  font-family: 'DM Mono', monospace; font-size: 20px; color: var(--steel);
}
.srv-faq-item[open] summary::after { content: '−'; }
.srv-faq-item summary:focus-visible { outline: 2px solid var(--steel-light); outline-offset: -2px; }
.srv-faq-pregunta { display: inline; font-size: 16px; font-weight: 400; color: var(--black); line-height: 1.5; }
.srv-faq-respuesta { padding: 0 56px 24px 26px; font-size: 14px; line-height: 1.75; color: var(--gray); }

.proceso-sub { max-width: 640px; }
@media (max-width: 1000px) {
  .srv-proceso { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .srv-proceso { grid-template-columns: 1fr; }
  .srv-faq-item summary { padding: 20px 48px 20px 20px; }
  .srv-faq-item summary::after { right: 20px; }
  .srv-faq-respuesta { padding: 0 20px 22px 20px; }
}

/* ─── REDES SOCIALES ─── */
.redes { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; }
.redes a {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(74,127,181,0.35); color: rgba(244,246,248,0.6);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.redes a:hover, .redes a:focus-visible { color: var(--white); background: var(--steel); border-color: var(--steel); outline: none; }
.redes--pie { margin-top: 20px; }
.contact-redes { padding-left: 64px; }   /* alineado con el texto de los otros datos de contacto */
.contact-redes .redes { margin-top: 8px; }
.redes--claro a { border-color: var(--light-gray); color: var(--steel); }
.redes--claro a:hover, .redes--claro a:focus-visible { color: var(--white); }

/* ─── COMPARTIR (franja inferior del pie) ─── */
.compartir { display: flex; align-items: center; gap: 12px; }
.compartir-titulo { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: rgba(244,246,248,0.3); }
.redes--compartir { gap: 6px; }
.redes--compartir a { width: 30px; height: 30px; border-color: rgba(244,246,248,0.12); color: rgba(244,246,248,0.4); }

/* ─── MÓVIL ─── */
@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-derecha { gap: 16px; }
  .wa-float { bottom: 16px; right: 16px; width: 52px; height: 52px; }
  .wa-float::after { display: none; }
  .section-wrap { padding: 72px 24px; }
  .cta-band { flex-direction: column; padding: 60px 24px; text-align: center; }
  footer { grid-template-columns: 1fr 1fr; padding: 48px 24px; }
  .footer-bottom { padding: 16px 24px; flex-direction: column; gap: 8px; text-align: center; }
}
