/*
Theme Name: Systecnologia Comercial
Theme URI: https://systecnologia.co
Author: Systecnologia S.A.S.
Description: Sitio comercial B2B para Systecnologia S.A.S., enfocado en conversión, software empresarial y servicios TI.
Version: 1.0.0
Requires at least: 6.8
Tested up to: 7.1
Requires PHP: 8.0
Text Domain: systecnologia
*/

:root {
  --ink: #171821;
  --muted: #5f6472;
  --line: #e5e8ef;
  --panel: #ffffff;
  --soft: #f6f8fb;
  --blue: #1479d4;
  --blue-dark: #233b98;
  --violet: #6d278d;
  --gray-logo: #6e6e71;
  --success: #19a974;
  --shadow: 0 18px 45px rgba(20, 28, 45, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(229, 232, 239, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  min-height: 74px;
  margin: 0 auto;
  padding: 0 22px;
  gap: 20px;
}

.brand img {
  width: 214px;
  height: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #2f3340;
  font-size: 0.94rem;
  font-weight: 650;
}

.menu a:hover {
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 760;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 12px 28px rgba(20, 121, 212, 0.25);
}

.btn-secondary {
  color: var(--blue-dark);
  background: white;
  border-color: var(--line);
}

.btn-whatsapp {
  color: white;
  background: #168a58;
}

.section {
  padding: 88px 22px;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.55rem, 6vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.13rem;
}

.hero {
  overflow: hidden;
  padding: 92px 22px 70px;
  background:
    radial-gradient(circle at 74% 24%, rgba(20, 121, 212, 0.16), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #f4f8fc 58%, #eef1f9 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 44px;
}

.hero-copy {
  min-width: 0;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.trust-strip span {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.75);
  color: #353a48;
  font-size: 0.88rem;
  font-weight: 720;
}

.dashboard {
  position: relative;
  min-height: 500px;
  padding: 22px;
  border: 1px solid rgba(229, 232, 239, 0.9);
  border-radius: 8px;
  background: #111827;
  box-shadow: var(--shadow);
}

.dash-bar,
.dash-grid,
.pos-row {
  position: relative;
  z-index: 1;
}

.dash-bar {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  color: white;
  font-weight: 740;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.metric,
.chart,
.pos-row,
.screen-list {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.metric {
  padding: 18px;
  color: white;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 2rem;
}

.chart {
  display: flex;
  align-items: end;
  height: 176px;
  padding: 14px;
  gap: 8px;
}

.chart span {
  flex: 1;
  min-height: 38px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #1aa5e8, #6d278d);
}

.chart span:nth-child(2) { height: 62%; }
.chart span:nth-child(3) { height: 84%; }
.chart span:nth-child(4) { height: 48%; }
.chart span:nth-child(5) { height: 76%; }
.chart span:nth-child(6) { height: 93%; }

.pos-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
}

.pos-row div,
.screen-list li {
  color: #dbeafe;
  font-size: 0.9rem;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 25px rgba(20, 28, 45, 0.05);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  font-weight: 900;
}

.card p,
.method p,
.sector p {
  color: var(--muted);
  font-size: 0.96rem;
}

.card-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue-dark);
  font-weight: 820;
}

.problems {
  background: #ffffff;
}

.problem-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  color: #343948;
  font-weight: 670;
}

.check {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: white;
  background: var(--success);
  font-size: 0.8rem;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 42px;
}

.screen {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.screen-top {
  display: flex;
  gap: 8px;
  padding-bottom: 16px;
}

.screen-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line);
}

.screen-body {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 14px;
}

.screen-list {
  margin: 0;
  padding: 16px 16px 16px 30px;
  background: #111827;
}

.screen-list li {
  margin-bottom: 10px;
}

.data-card {
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(20, 121, 212, 0.1), rgba(109, 39, 141, 0.09));
}

.data-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 2.3rem;
  color: var(--blue-dark);
}

.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 18px;
}

.flow-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.flow-panel h3 {
  color: var(--blue-dark);
}

.flow-panel ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.flow-logo {
  display: grid;
  place-items: center;
  min-width: 150px;
  padding: 20px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--violet), var(--blue-dark));
  font-weight: 900;
}

.dark {
  background: #151a26;
  color: white;
}

.dark .lead,
.dark .card p {
  color: #c9d2e3;
}

.dark .card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.method {
  position: relative;
  padding-left: 54px;
}

.method span {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: white;
  background: var(--blue-dark);
  font-weight: 860;
}

.cta {
  padding: 72px 22px;
  background: linear-gradient(135deg, #1b2380, #0f83d4 52%, #68268e);
  color: white;
}

.cta .lead {
  color: rgba(255, 255, 255, 0.84);
}

.contact {
  background: white;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #343948;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.contact-form textarea,
.contact-form .full {
  grid-column: 1 / -1;
}

.site-footer {
  padding: 42px 22px;
  background: #10131d;
  color: #dce3f1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.footer-logo {
  width: 220px;
  margin-bottom: 14px;
}

.footer-list {
  display: grid;
  gap: 8px;
  color: #bfc8da;
}

.floating-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: white;
  background: #168a58;
  box-shadow: 0 14px 32px rgba(22, 138, 88, 0.35);
  font-weight: 900;
}

@media (max-width: 940px) {
  .menu {
    display: none;
  }

  .hero-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .dashboard {
    min-height: auto;
  }

  .grid-3,
  .grid-4,
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand img {
    width: 168px;
  }

  .nav {
    min-height: 66px;
    padding: 0 16px;
  }

  .section,
  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding-top: 58px;
  }

  .grid-3,
  .grid-4,
  .problem-list,
  .trust-strip,
  .flow,
  .contact-form,
  .screen-body {
    grid-template-columns: 1fr;
  }

  .flow-logo {
    min-height: 82px;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .contact-form .btn {
    width: 100%;
  }
}
