/* ─────────────────────────────────────────
   SERVISOFTWARE — styles.css
   Diseño +20% · Logo PNG · Inter
   ───────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #FFFFFF;
  color: #0A1E35;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* Base aumentada 20%: 1rem = 19.2px en vez de 16px */
  font-size: 19.2px;
}

/* ── BARRA SUPERIOR ── */
.sw-topbar {
  background: #0033A0;
  padding: 10.8px 3.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sw-topbar-left {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
}
.sw-topbar-right {
  font-size: 0.7rem;
  color: #7EC8FF;
  font-weight: 400;
}

/* ── LOGO ── */
.sw-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.sw-logo-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex-shrink: 0;
}
.sw-logo-img--sm { width: 42px; height: 42px; }
.sw-logo-text {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: #0A1E35;
}
.sw-logo-text--sm { font-size: 0.9rem; }
.sw-logo-text em  { font-style: normal; color: #0055CC; }

/* ── NAVEGACIÓN ── */
.sw-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 3.6rem;
  border-bottom: 0.5px solid #DDE8F2;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  transition: box-shadow 0.3s;
}
.sw-navlinks { display: flex; gap: 2.4rem; list-style: none; }
.sw-navlinks a {
  font-size: 0.8rem;
  color: #4A6A8A;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.sw-navlinks a:hover  { color: #0033A0; }
.sw-navlinks a.active { color: #0033A0; font-weight: 600; border-bottom-color: #0055CC; }
.sw-nav-cta {
  background: #0055CC;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.6rem 1.32rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}
.sw-nav-cta:hover { background: #0033A0; }

/* ── HERO ── */
.sw-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.8rem;
  align-items: center;
  padding: 6rem 3.6rem 5.4rem;
  border-bottom: 0.5px solid #DDE8F2;
}
.sw-hero-left {
  border-left: 3.6px solid #0055CC;
  padding-left: 2.1rem;
}
.sw-hero-tag {
  font-size: 0.68rem;
  color: #0055CC;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.sw-hero-h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 3.36rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #0A1E35;
  margin-bottom: 1.5rem;
}
.sw-hero-h1 em { font-style: italic; color: #0055CC; font-weight: 800; }
.sw-hero-sub {
  font-size: 0.95rem;
  color: #4A6A8A;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 2.4rem;
  max-width: 520px;
}
.sw-hero-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.sw-btn-primary {
  background: #0055CC;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.9rem 1.8rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}
.sw-btn-primary:hover { background: #0033A0; }
.sw-btn-ghost {
  background: transparent;
  color: #0055CC;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.9rem 1.8rem;
  border-radius: 4px;
  border: 1.5px solid #0055CC;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}
.sw-btn-ghost:hover { background: #0055CC; color: #fff; }

/* ── HERO DERECHO ── */
.sw-hero-right { display: flex; flex-direction: column; gap: 1.05rem; }

/* Card del logo en el hero */
.sw-hero-logo-box {
  background: #F8FAFD;
  border: 0.5px solid #DDE8F2;
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.sw-hero-logo-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
}
.sw-hero-logo-name {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: #0A1E35;
}
.sw-hero-logo-name em { font-style: normal; color: #0055CC; }
.sw-hero-logo-tag {
  font-size: 0.72rem;
  color: #8AABCC;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
  text-align: center;
}

.sw-stat-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 1.5rem;
  border: 0.5px solid #DDE8F2;
  border-radius: 6px;
  background: #F8FAFD;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.sw-stat-row:hover { border-color: #0055CC; background: #F0F5FF; transform: translateX(5px); }
.sw-stat-n {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 2.1rem;
  color: #0033A0;
  min-width: 86px;
  line-height: 1;
}
.sw-stat-n span { color: #0077DD; font-size: 1.3rem; font-weight: 600; }
.sw-stat-l { font-size: 0.82rem; color: #6A8AAA; font-weight: 400; line-height: 1.4; }

/* ── SECCIONES ── */
.sw-sec { padding: 6rem 3.6rem; border-bottom: 0.5px solid #DDE8F2; }
.sw-sec-tag {
  font-size: 0.68rem;
  color: #0055CC;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.sw-sec-accent { width: 38px; height: 3px; background: #0055CC; border-radius: 2px; margin-bottom: 1.8rem; }
.sw-sec-h {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #0A1E35;
  margin-bottom: 0.9rem;
}
.sw-sec-sub { font-size: 0.95rem; color: #4A6A8A; max-width: 580px; line-height: 1.75; font-weight: 300; }

/* ── PILLARS ── */
.sw-pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3.6rem; }
.sw-pillar {
  border: 0.5px solid #DDE8F2;
  border-radius: 8px;
  padding: 1.8rem;
  background: #FAFCFF;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sw-pillar:hover { border-color: #0055CC; box-shadow: 0 2px 16px rgba(0,85,204,0.09); }
.sw-pillar-icon  { font-size: 24px; color: #0055CC; margin-bottom: 1.2rem; }
.sw-pillar-title { font-size: 0.95rem; font-weight: 700; color: #0A1E35; margin-bottom: 0.6rem; }
.sw-pillar-text  { font-size: 0.85rem; color: #6A8AAA; line-height: 1.65; font-weight: 300; }

/* ── MISIÓN ── */
.sw-mision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; margin-top: 3.6rem; }
.sw-mision-card { border: 0.5px solid #DDE8F2; border-radius: 8px; padding: 2.4rem; background: #F8FAFD; }
.sw-mision-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0055CC;
  margin-bottom: 0.9rem;
  font-weight: 600;
}
.sw-mision-text { font-size: 0.95rem; color: #4A6A8A; line-height: 1.8; font-weight: 300; }
.sw-mision-text strong { color: #0A1E35; font-weight: 600; }

/* ── MERCADO ── */
.sw-mercado-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: #DDE8F2;
  border-radius: 8px;
  overflow: hidden;
  border: 0.5px solid #DDE8F2;
  margin-top: 3.6rem;
}
.sw-mercado-tile { background: #fff; padding: 1.8rem 2.1rem; transition: background 0.2s; }
.sw-mercado-tile:hover { background: #F0F5FF; }
.sw-mercado-dot  { width: 6px; height: 6px; border-radius: 50%; background: #0055CC; margin-bottom: 0.9rem; }
.sw-mercado-name { font-size: 0.95rem; font-weight: 700; color: #0A1E35; margin-bottom: 0.4rem; }
.sw-mercado-desc { font-size: 0.82rem; color: #8AABCC; line-height: 1.55; font-weight: 300; }

/* ── VALORES ── */
.sw-valores-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; margin-top: 3.6rem; }
.sw-valor {
  padding: 1.5rem 1.8rem;
  border-left: 3.6px solid #0055CC;
  background: #F8FAFD;
  border-radius: 0 6px 6px 0;
  transition: background 0.2s;
}
.sw-valor:hover  { background: #EFF5FF; }
.sw-valor-title  { font-size: 0.95rem; font-weight: 700; color: #0033A0; margin-bottom: 0.5rem; }
.sw-valor-text   { font-size: 0.85rem; color: #6A8AAA; line-height: 1.6; font-weight: 300; }

/* ── METODOLOGÍA ── */
.sw-metodologia {
  margin-top: 3.6rem;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: #DDE8F2;
  border-radius: 8px;
  overflow: hidden;
  border: 0.5px solid #DDE8F2;
}
.sw-paso { background: #fff; padding: 1.8rem 2.1rem; transition: background 0.2s; }
.sw-paso:hover   { background: #F0F5FF; }
.sw-paso-n       { font-size: 2.1rem; font-weight: 800; color: #C8D8EE; line-height: 1; margin-bottom: 0.9rem; }
.sw-paso-title   { font-size: 0.95rem; font-weight: 700; color: #0A1E35; margin-bottom: 0.4rem; }
.sw-paso-desc    { font-size: 0.82rem; color: #8AABCC; line-height: 1.55; font-weight: 300; }

/* ── CONTACTO ── */
.sw-contact-strip {
  background: #F0F5FF;
  border: 0.5px solid #C0D8F8;
  border-radius: 8px;
  padding: 3rem;
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.4rem;
  flex-wrap: wrap;
}
.sw-contact-title { font-size: 1.45rem; font-weight: 700; color: #0A1E35; margin-bottom: 0.5rem; line-height: 1.35; }
.sw-contact-sub   { font-size: 0.9rem; color: #4A6A8A; font-weight: 300; }
.sw-contact-info  { display: flex; flex-direction: column; gap: 0.72rem; align-items: flex-end; }
.sw-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #4A6A8A;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s;
}
.sw-contact-item:hover { color: #0033A0; }
.sw-contact-item i { color: #0055CC; font-size: 18px; }

/* ── LEMA ── */
.sw-lema {
  padding: 6rem 3.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  border-bottom: 0.5px solid #DDE8F2;
  background: #F8FAFD;
}
.sw-lema-logo-img {
  width: 220px;
  height: 220px;
  object-fit: contain;
}
.sw-lema-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #0033A0;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.sw-lema-sub { font-size: 0.95rem; color: #8AABCC; font-weight: 300; max-width: 500px; line-height: 1.7; }

/* ── FOOTER ── */
.sw-footer {
  padding: 1.8rem 3.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  background: #F8FAFD;
  border-top: 0.5px solid #DDE8F2;
}
.sw-footer-logo  { gap: 0.6rem; }
.sw-footer-copy  { font-size: 0.75rem; color: #8AABCC; font-weight: 300; }

/* ── ANIMACIONES ── */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1060px) {
  .sw-topbar    { padding: 9px 1.8rem; }
  .sw-nav       { padding: 1.2rem 1.8rem; }
  .sw-navlinks  { display: none; }
  .sw-hero      { grid-template-columns: 1fr; gap: 3rem; padding: 4.2rem 1.8rem 3.6rem; }
  .sw-hero-logo-img { width: 160px; height: 160px; }
  .sw-sec       { padding: 4.2rem 1.8rem; }
  .sw-pillars   { grid-template-columns: 1fr; }
  .sw-mision-grid  { grid-template-columns: 1fr; }
  .sw-mercado-grid { grid-template-columns: repeat(2,1fr); }
  .sw-valores-grid { grid-template-columns: 1fr; }
  .sw-metodologia  { grid-template-columns: repeat(2,1fr); }
  .sw-contact-strip { flex-direction: column; align-items: flex-start; }
  .sw-contact-info  { align-items: flex-start; }
  .sw-footer        { flex-direction: column; align-items: flex-start; padding: 1.8rem; }
  .sw-lema          { padding: 4.2rem 1.8rem; }
  .sw-lema-logo-img { width: 180px; height: 180px; }
}
@media (max-width: 600px) {
  .sw-mercado-grid { grid-template-columns: 1fr; }
  .sw-metodologia  { grid-template-columns: 1fr; }
  .sw-hero-h1      { font-size: 2rem; }
}
