/* =============================================
   INNOVASYS — Estilos corporativos
   innovasys.com.py
   ============================================= */

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0d1f3c;
  --navy-light: #162d52;
  --blue: #1a7fe8;
  --blue-bright: #3fa0f7;
  --blue-pale: #e8f3fd;
  --gray-100: #f4f6f9;
  --gray-200: #e8edf3;
  --gray-500: #6b7a93;
  --gray-700: #3a4557;
  --white: #ffffff;
  --text: #0d1f3c;
}

html { scroll-behavior: smooth; }
body { font-family: "Inter", sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }

/* =============================================
   NAVEGACIÓN
   ============================================= */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,31,60,0.97);
  backdrop-filter: blur(12px);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-logo img { height: 42px; width: auto; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 0.88rem; letter-spacing: 0.02em;
  font-family: "Sora", sans-serif; font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--blue); color: #fff;
  padding: 0.5rem 1.4rem; border-radius: 6px;
  font-family: "Sora", sans-serif; font-size: 0.85rem; font-weight: 600;
  text-decoration: none; transition: background 0.2s;
}
.nav-cta:hover { background: var(--blue-bright); }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a1628 0%, #0d1f3c 50%, #0e2a4d 100%);
  display: flex; align-items: center;
  padding: 120px 5% 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(26,127,232,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  max-width: 1200px; margin: 0 auto; width: 100%;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(26,127,232,0.15);
  border: 1px solid rgba(26,127,232,0.3);
  color: var(--blue-bright);
  padding: 0.35rem 1rem; border-radius: 100px;
  font-size: 0.78rem; font-family: "Sora", sans-serif;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-eyebrow span {
  width: 6px; height: 6px; background: var(--blue-bright);
  border-radius: 50%; display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 1.5rem;
}
.hero h1 em { font-style: normal; color: var(--blue-bright); }
.hero-desc {
  font-size: 1.05rem; line-height: 1.8;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.5rem; font-weight: 300; max-width: 520px;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--blue); color: #fff;
  padding: 0.85rem 2rem; border-radius: 8px; text-decoration: none;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.9rem;
  transition: background 0.2s, transform 0.15s; display: inline-block;
}
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-2px); }
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  padding: 0.85rem 2rem; border-radius: 8px; text-decoration: none;
  font-family: "Sora", sans-serif; font-weight: 500; font-size: 0.9rem;
  transition: border-color 0.2s, color 0.2s, transform 0.15s; display: inline-block;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.7); color: #fff; transform: translateY(-2px); }

/* Stats card */
.hero-stats {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 2.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.stat-item { text-align: center; }
.stat-num { font-family: "Sora", sans-serif; font-size: 2.8rem; font-weight: 800; color: #fff; line-height: 1; }
.stat-num span { color: var(--blue-bright); }
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-top: 0.4rem; line-height: 1.4; }
.stat-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 0; grid-column: 1 / -1; }

/* =============================================
   SECCIONES BASE
   ============================================= */
section { padding: 100px 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-family: "Sora", sans-serif; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.75rem;
}
.section-title {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 1.2rem;
}
.section-sub { font-size: 1.05rem; color: var(--gray-500); line-height: 1.8; max-width: 600px; }

/* =============================================
   QUIÉNES SOMOS
   ============================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-pillars { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 2.5rem; }
.pillar { display: flex; gap: 1rem; align-items: flex-start; }
.pillar-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--blue-pale); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.pillar-icon svg { width: 20px; height: 20px; }
.pillar-text h4 { font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.95rem; color: var(--navy); margin-bottom: 0.25rem; }
.pillar-text p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.6; }
.about-visual {
  background: linear-gradient(145deg, #0d1f3c, #162d52);
  border-radius: 24px; padding: 3rem 2.5rem;
  display: flex; flex-direction: column; gap: 1.5rem;
}
.about-badge {
  background: rgba(26,127,232,0.15);
  border: 1px solid rgba(26,127,232,0.25);
  border-radius: 12px; padding: 1.25rem 1.5rem;
}
.about-badge h3 { font-family: "Sora", sans-serif; color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 0.3rem; }
.about-badge p { font-size: 0.83rem; color: rgba(255,255,255,0.55); line-height: 1.5; }
.about-badge-num { font-family: "Sora", sans-serif; font-size: 2rem; font-weight: 800; color: var(--blue-bright); }

/* =============================================
   SOLUCIONES
   ============================================= */
.solutions { background: var(--gray-100); }
.solutions-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 3.5rem; flex-wrap: wrap; gap: 1rem;
}
.solutions-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.sol-card {
  background: var(--white); border-radius: 20px; overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform 0.25s, box-shadow 0.25s;
}
.sol-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(13,31,60,0.12); }
.sol-card-header { padding: 2.5rem 2.5rem 2rem; }
.sol-logo { height: 56px; object-fit: contain; object-position: left; margin-bottom: 1.5rem; }
.sol-tag {
  display: inline-block; background: var(--blue-pale); color: var(--blue);
  font-family: "Sora", sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.8rem; border-radius: 100px; margin-bottom: 1rem;
}
.sol-tag.green { background: #eaf4ea; color: #2a7a2a; }
.sol-desc { font-size: 0.92rem; color: var(--gray-500); line-height: 1.7; }
.sol-features { padding: 0 2.5rem 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sol-feat { font-size: 0.8rem; color: var(--gray-700); background: var(--gray-100); padding: 0.3rem 0.75rem; border-radius: 100px; }
.sol-card-footer {
  padding: 1.5rem 2.5rem; border-top: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: space-between;
}
.sol-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--navy); color: #fff; text-decoration: none;
  padding: 0.7rem 1.5rem; border-radius: 8px;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.85rem;
  transition: background 0.2s;
}
.sol-link:hover { background: var(--blue); }
.sol-link svg { width: 14px; height: 14px; }

/* =============================================
   PRESENCIA NACIONAL
   ============================================= */
.presencia-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.depto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.depto {
  background: var(--gray-100); border-radius: 8px;
  padding: 0.6rem 0.9rem; font-size: 0.8rem;
  color: var(--gray-700); font-weight: 500;
  display: flex; align-items: center; gap: 0.5rem;
}
.depto::before { content: ""; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; flex-shrink: 0; }
.presencia-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
.pstat { background: var(--navy); border-radius: 16px; padding: 1.75rem; }
.pstat-num { font-family: "Sora", sans-serif; font-size: 2.2rem; font-weight: 800; color: #fff; }
.pstat-num sup { font-size: 1rem; color: var(--blue-bright); }
.pstat-label { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-top: 0.3rem; }

/* =============================================
   POR QUÉ INNOVASYS
   ============================================= */
.porque { background: var(--navy); padding: 100px 5%; }
.porque-inner { max-width: 1200px; margin: 0 auto; }
.porque .section-title { color: #fff; }
.porque .section-label { color: var(--blue-bright); }
.porque .section-sub { color: rgba(255,255,255,0.55); }
.porque-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.pq-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 2rem;
  transition: background 0.2s, border-color 0.2s;
}
.pq-card:hover { background: rgba(26,127,232,0.08); border-color: rgba(26,127,232,0.3); }
.pq-icon {
  width: 48px; height: 48px; background: rgba(26,127,232,0.15);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.pq-icon svg { width: 22px; height: 22px; }
.pq-card h3 { font-family: "Sora", sans-serif; font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 0.6rem; }
.pq-card p { font-size: 0.87rem; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* =============================================
   CONTACTO
   ============================================= */
.contacto { background: var(--gray-100); }
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2.5rem; }
.cinfo { display: flex; gap: 1rem; align-items: flex-start; }
.cinfo-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--navy); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.cinfo-icon svg { width: 18px; height: 18px; }
.cinfo-text strong { display: block; font-family: "Sora", sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 0.2rem; }
.cinfo-text span, .cinfo-text a { font-size: 0.88rem; color: var(--gray-500); text-decoration: none; }
.cinfo-text a:hover { color: var(--blue); }

/* WhatsApp CTA buttons */
.wa-cta-btn {
  display: flex; align-items: center; gap: 1rem;
  background: #25d366; color: #fff; text-decoration: none;
  padding: 1.25rem 1.75rem; border-radius: 14px;
  font-family: "Sora", sans-serif; font-weight: 700; font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.wa-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(37,211,102,0.45); }
.wa-cta-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.wa-cta-label { font-size: 0.75rem; font-weight: 400; opacity: 0.85; margin-bottom: 2px; }
.wa-note {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 12px; padding: 1.25rem 1.5rem;
  display: flex; gap: 0.75rem; align-items: flex-start;
}
.wa-note p { font-size: 0.82rem; color: var(--gray-500); line-height: 1.6; }

/* =============================================
   WHATSAPP FLOTANTE
   ============================================= */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 200;
  display: flex; flex-direction: column; gap: 0.8rem; align-items: flex-end;
}
.wa-btn {
  display: flex; align-items: center; gap: 0.6rem;
  background: #25d366; color: #fff; text-decoration: none;
  padding: 0.7rem 1.2rem 0.7rem 0.9rem; border-radius: 100px;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.82rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.wa-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* =============================================
   FOOTER
   ============================================= */
footer { background: #080f1e; padding: 3rem 5%; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer-logo img { height: 36px; width: auto; opacity: 0.8; }
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.3); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.8); }

/* =============================================
   ANIMACIONES
   ============================================= */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   RESPONSIVE — TABLET (≤900px)
   ============================================= */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .solutions-cards,
  .presencia-grid, .contacto-grid { grid-template-columns: 1fr; }
  .porque-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hero { padding: 100px 5% 60px; }
  .hero-stats { padding: 1.75rem 1.25rem; gap: 1.25rem; }
  .stat-num { font-size: 2.2rem; }
}

/* =============================================
   RESPONSIVE — MOBILE (≤600px)
   ============================================= */
@media (max-width: 600px) {
  .porque-grid, .depto-grid, .presencia-stats { grid-template-columns: 1fr; }
  .hero { padding: 90px 4% 50px; min-height: auto; }
  .hero-grid { gap: 2rem; }
  .hero h1 { font-size: 1.75rem; line-height: 1.2; }
  .hero-desc { font-size: 0.93rem; margin-bottom: 1.75rem; }
  .hero-eyebrow { font-size: 0.68rem; padding: 0.3rem 0.75rem; }
  .hero-btns { flex-direction: column; gap: 0.75rem; }
  .btn-primary, .btn-outline { text-align: center; padding: 0.8rem 1.5rem; font-size: 0.85rem; width: 100%; }
  .hero-stats { padding: 1.25rem 1rem; gap: 1rem; border-radius: 14px; margin-top: 2rem; }
  .stat-num { font-size: 1.9rem; }
  .stat-label { font-size: 0.75rem; }
  section { padding: 70px 4%; }
  .nav-cta { font-size: 0.78rem; padding: 0.45rem 1rem; }
  .sol-card-header { padding: 1.75rem 1.5rem 1.25rem; }
  .sol-features { padding: 0 1.5rem 1.25rem; }
  .sol-card-footer { padding: 1.25rem 1.5rem; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .about-visual { padding: 2rem 1.5rem; }
  .pq-card { padding: 1.5rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .wa-cta-btn { padding: 1rem 1.25rem; font-size: 0.9rem; }
}
