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

:root {
  --xsoft-lime: #aadd22;
  --xsoft-dark: #3a491e;
  --xsoft-black: #000000;
  --xsoft-white: #ffffff;
  --xsoft-muted: #f6f7f4;
  --xsoft-text: #111111;
  --xsoft-gray: #5f6258;
  --xsoft-border: #e7e9e2;
  --xsoft-radius: 28px;
  --xsoft-shadow: 0 24px 80px rgba(0,0,0,.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Quicksand", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--xsoft-text);
  background: var(--xsoft-white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; left: -9999px; }
.xsoft-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--xsoft-border);
  backdrop-filter: blur(14px);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 24px; }
.site-brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.site-brand__mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--xsoft-lime);
  color: var(--xsoft-dark);
  font-weight: 600;
}
.site-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.site-brand__text strong { font-size: 21px; font-weight: 600; letter-spacing: -.03em; }
.site-brand__text small { margin-top: 4px; font-size: 11px; text-transform: uppercase; color: #6b6e62; font-weight: 600; letter-spacing: .04em; }
.custom-logo { max-height: 64px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 22px; }
.primary-nav__list { list-style: none; display: flex; gap: 25px; margin: 0; padding: 0; font-size: 15px; font-weight: 600; color: #55594d; }
.primary-nav__list a:hover { color: #000; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 25px; height: 3px; background: #111; margin: 5px 0; border-radius: 999px; }

.xsoft-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.xsoft-btn:hover { transform: translateY(-2px); }
.xsoft-btn--primary { background: var(--xsoft-lime); color: #111; box-shadow: 0 12px 30px rgba(170,221,34,.28); }
.xsoft-btn--outline { border-color: var(--xsoft-border); background: #fff; color: #111; }
.xsoft-btn--small { min-height: 42px; padding: 0 18px; font-size: 14px; }

.hero-section { position: relative; overflow: hidden; padding: 96px 0 112px; }
.hero-bg { position: absolute; border-radius: 999px; filter: blur(70px); pointer-events: none; }
.hero-bg--one { width: 370px; height: 370px; right: -110px; top: -120px; background: rgba(170,221,34,.35); }
.hero-bg--two { width: 330px; height: 330px; left: -120px; bottom: -160px; background: rgba(58,73,30,.15); }
.hero-grid { position: relative; display: grid; align-items: center; grid-template-columns: 1fr 1fr; gap: 60px; }
.eyebrow, .section-heading span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--xsoft-dark);
  background: #f3f7e8;
  border: 1px solid #e1ecc5;
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.hero-copy h1, .section-heading h2, .cta-box h2 {
  margin: 0;
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 600;
}
.hero-copy p { margin: 26px 0 0; max-width: 620px; color: var(--xsoft-gray); font-size: 19px; line-height: 1.75; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; font-weight: 600; color: #65685d; }

.hero-visual { border-radius: 38px; padding: 16px; background: var(--xsoft-dark); box-shadow: var(--xsoft-shadow); }
.dashboard-card { background: #fff; border-radius: 28px; padding: 24px; }
.dashboard-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
.dashboard-card__head span { display: block; color: #9a9d94; font-size: 13px; font-weight: 600; }
.dashboard-card__head strong { display: block; margin-top: 3px; font-size: 27px; font-weight: 600; letter-spacing: -.04em; }
.dashboard-card__head em, .dashboard-project em { font-style: normal; background: var(--xsoft-lime); color: #111; border-radius: 999px; padding: 8px 13px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.dashboard-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.dashboard-stats div { border: 1px solid var(--xsoft-border); background: #fafbf7; border-radius: 20px; padding: 15px; }
.dashboard-stats span { display: block; color: #969990; font-size: 12px; font-weight: 600; }
.dashboard-stats strong { display: block; font-size: 34px; font-weight: 600; letter-spacing: -.04em; }
.dashboard-project { margin-top: 18px; background: #0f100e; color: #fff; border-radius: 24px; padding: 22px; }
.dashboard-project div { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 20px; }
.dashboard-project span { display: block; height: 12px; margin-top: 12px; border-radius: 999px; background: rgba(255,255,255,.18); }
.dashboard-project span:nth-child(2) { width: 92%; }
.dashboard-project span:nth-child(3) { width: 67%; }
.dashboard-project span:nth-child(4) { width: 82%; }

.services-section, .process-section { padding: 88px 0; }
.services-section { background: var(--xsoft-muted); }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading h2 { font-size: clamp(30px, 3.6vw, 48px); }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: #fff; border: 1px solid var(--xsoft-border); border-radius: var(--xsoft-radius); padding: 30px; box-shadow: 0 8px 30px rgba(0,0,0,.04); transition: .2s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 50px rgba(0,0,0,.09); }
.service-card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 18px; background: var(--xsoft-lime); font-size: 24px; margin-bottom: 20px; }
.service-card h3, .process-card h3 { margin: 0; font-size: 22px; line-height: 1.1; font-weight: 600; }
.service-card p, .process-card p { margin: 12px 0 0; color: var(--xsoft-gray); line-height: 1.75; }

.systems-section { padding: 92px 0; background: var(--xsoft-dark); color: #fff; }
.systems-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 58px; align-items: center; }
.section-heading--dark span { color: var(--xsoft-lime); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); }
.section-heading--dark p { color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.75; margin-top: 22px; }
.systems-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.system-item { padding: 22px; border-radius: 24px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.08); font-weight: 600; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-card { border: 1px solid var(--xsoft-border); border-radius: var(--xsoft-radius); padding: 28px; }
.process-card > strong { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--xsoft-lime); margin-bottom: 22px; }

.cta-section { padding: 0 0 86px; }
.cta-box { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; background: #0d0e0b; color: #fff; border-radius: 34px; padding: 54px; }
.cta-box h2 { font-size: clamp(30px, 3.6vw, 48px); }
.cta-box p { color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.75; max-width: 720px; }

.site-footer { border-top: 1px solid var(--xsoft-border); padding: 30px 0; color: #6b6e62; font-size: 14px; }
.site-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-nav { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.page-content { padding: 70px 0; }
.xsoft-article h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1; letter-spacing: -.05em; }
.entry-content { font-size: 18px; color: #333; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .16s; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; left: 20px; right: 20px; top: 82px; display: none; flex-direction: column; align-items: stretch; background: #fff; border: 1px solid var(--xsoft-border); border-radius: 24px; padding: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.12); }
  .primary-nav.is-open { display: flex; }
  .primary-nav__list { flex-direction: column; gap: 14px; }
  .hero-grid, .systems-grid, .cta-box { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .xsoft-container { width: min(100% - 28px, 1180px); }
  .site-header__inner { min-height: 76px; }
  .site-brand__text small { display: none; }
  .hero-section { padding: 62px 0 72px; }
  .hero-copy h1 { font-size: 38px; }
  .cards-grid, .systems-list, .process-grid, .dashboard-stats { grid-template-columns: 1fr; }
  .hero-visual { padding: 10px; border-radius: 28px; }
  .dashboard-card { border-radius: 22px; padding: 18px; }
  .dashboard-project div { flex-direction: column; align-items: flex-start; }
  .services-section, .process-section, .systems-section { padding: 64px 0; }
  .cta-box { padding: 34px 24px; border-radius: 28px; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
}


/* Ajuste visual X-Soft v1.1: tipografía más cercana al logo */
.site-brand__text strong { font-weight: 800; letter-spacing: -.02em; }
.site-brand__text small { font-weight: 600; }
.hero-copy h1 { max-width: 720px; }
.primary-nav__list { font-weight: 700; }
.xsoft-btn { font-weight: 700; }

/* Ajuste visual X-Soft v1.2 */
.site-brand--logo { gap: 0; min-width: 0; }
.site-brand__logo-img,
.custom-logo {
  display: block;
  width: auto;
  height: 62px;
  max-width: 330px;
  object-fit: contain;
}
.site-header__inner { min-height: 88px; }

.hero-copy h1,
.section-heading h2,
.cta-box h2 {
  font-weight: 700;
  letter-spacing: -0.045em;
}
.hero-copy h1 {
  font-size: clamp(36px, 4.8vw, 58px);
  line-height: 1.08;
}
.dashboard-card__head strong,
.dashboard-stats strong,
.service-card h3,
.process-card h3 {
  font-weight: 700;
}
.primary-nav__list,
.xsoft-btn,
.eyebrow,
.section-heading span {
  font-weight: 700;
}

@media (max-width: 640px) {
  .site-brand__logo-img,
  .custom-logo {
    height: 48px;
    max-width: 230px;
  }
}


/* X-Soft v1.3 Placeholder Header */
.site-header__inner {
  min-height: 92px;
  gap: 28px;
}
.site-brand--logo {
  flex: 0 0 auto;
}
.site-brand__logo-img,
.custom-logo {
  display: block;
  width: auto;
  height: 54px;
  max-width: 460px;
  object-fit: contain;
}
.primary-nav {
  gap: 18px;
}
.primary-nav__list {
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
  color: #5f6258;
}
.xsoft-btn {
  font-weight: 600;
}
.xsoft-btn--small {
  min-height: 44px;
  padding: 0 22px;
  font-size: 15px;
}
.eyebrow,
.section-heading span {
  font-weight: 600;
}
.hero-section {
  padding: 84px 0 96px;
}
.hero-copy h1,
.section-heading h2,
.cta-box h2 {
  font-weight: 600;
  letter-spacing: -0.038em;
}
.hero-copy h1 {
  max-width: 640px;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.1;
}
.hero-copy p {
  max-width: 600px;
  font-size: 18px;
}
.dashboard-card__head strong,
.dashboard-stats strong,
.service-card h3,
.process-card h3 {
  font-weight: 600;
}
@media (max-width: 980px) {
  .primary-nav {
    top: 92px;
  }
}
@media (max-width: 640px) {
  .site-header__inner {
    min-height: 78px;
  }
  .site-brand__logo-img,
  .custom-logo {
    height: 40px;
    max-width: 260px;
  }
  .hero-copy h1 {
    font-size: 36px;
  }
}


/* X-Soft v1.4 - Ajuste fino header, logo y hero */
.site-header__inner {
  min-height: 78px;
  align-items: center;
}

.site-brand__logo-img,
.custom-logo {
  height: 46px;
  max-width: 340px;
}

.primary-nav__list {
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
}

.xsoft-btn--small {
  min-height: 42px;
  padding: 0 22px;
}

.hero-section {
  padding: 72px 0 90px;
}

.hero-copy h1 {
  max-width: 620px;
  font-size: clamp(34px, 4.1vw, 52px);
  line-height: 1.12;
  font-weight: 600;
}

.hero-copy p {
  max-width: 590px;
  font-size: 18px;
  line-height: 1.7;
}

.hero-grid {
  gap: 54px;
}

.hero-visual {
  max-width: 560px;
  margin-left: auto;
}

@media (max-width: 980px) {
  .primary-nav {
    top: 78px;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    min-height: 72px;
  }

  .site-brand__logo-img,
  .custom-logo {
    height: 34px;
    max-width: 230px;
  }

  .hero-section {
    padding: 54px 0 68px;
  }

  .hero-copy h1 {
    font-size: 35px;
  }
}


/* X-Soft v1.5 - Contenido Home y sección Por qué elegir */
.why-section {
  padding: 92px 0;
  background: #ffffff;
}

.why-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 58px;
  align-items: start;
}

.why-section .section-heading {
  margin-bottom: 0;
}

.why-section .section-heading p {
  margin-top: 22px;
  color: var(--xsoft-gray);
  font-size: 18px;
  line-height: 1.75;
}

.why-cards {
  display: grid;
  gap: 18px;
}

.why-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--xsoft-border);
  border-radius: 24px;
  background: #fafbf7;
}

.why-card > strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--xsoft-lime);
  color: #111;
}

.why-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 600;
}

.why-card p {
  margin: 8px 0 0;
  color: var(--xsoft-gray);
  line-height: 1.65;
}

@media (max-width: 980px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .why-section {
    padding: 64px 0;
  }

  .why-card {
    grid-template-columns: 1fr;
  }
}


/* X-Soft v1.6 - Corrección sticky header con barra admin y anclas */
.admin-bar .site-header {
  top: 32px;
}

#servicios,
#sistemas,
#proceso,
#contacto,
.why-section {
  scroll-margin-top: 130px;
}

.site-header {
  box-shadow: 0 8px 24px rgba(0,0,0,.035);
}

.site-brand__logo-img,
.custom-logo {
  height: 50px;
  max-width: 360px;
}

.hero-section {
  padding-top: 78px;
}

.services-section,
.process-section,
.why-section,
.systems-section {
  scroll-margin-top: 130px;
}

.site-footer {
  background: #ffffff;
}

.site-footer__inner > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-footer strong {
  color: var(--xsoft-dark);
  font-size: 17px;
}

.site-footer span {
  color: #6b6e62;
}

.footer-nav a:hover {
  color: var(--xsoft-dark);
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 980px) {
  #servicios,
  #sistemas,
  #proceso,
  #contacto,
  .why-section,
  .services-section,
  .process-section,
  .systems-section {
    scroll-margin-top: 120px;
  }
}

@media (max-width: 640px) {
  .site-brand__logo-img,
  .custom-logo {
    height: 38px;
    max-width: 250px;
  }

  .footer-nav {
    flex-wrap: wrap;
  }
}


/* X-Soft v1.7 - Hero mejorado y sección proceso refinada */
.dashboard-card--enhanced {
  padding: 26px;
}
.dashboard-stats--hero div {
  background: #fbfcf8;
}
.dashboard-project--enhanced {
  margin-top: 18px;
}
.dashboard-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.dashboard-list li {
  position: relative;
  padding-left: 22px;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
}
.dashboard-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--xsoft-lime);
  position: absolute;
  left: 0;
  top: 9px;
}
.dashboard-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.dashboard-mini-card {
  border: 1px solid var(--xsoft-border);
  background: #fafbf7;
  border-radius: 18px;
  padding: 16px;
}
.dashboard-mini-card span {
  display: block;
  color: #8d9185;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}
.dashboard-mini-card strong {
  display: block;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
  color: #161814;
}
.dashboard-mini-card--dark {
  background: var(--xsoft-dark);
  border-color: var(--xsoft-dark);
}
.dashboard-mini-card--dark span {
  color: rgba(255,255,255,.68);
}
.dashboard-mini-card--dark strong {
  color: #fff;
}
.section-heading--process h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  max-width: 760px;
}
.process-card h3 {
  font-size: 20px;
}
@media (max-width: 980px) {
  .dashboard-mini-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .dashboard-card--enhanced {
    padding: 18px;
  }
  .dashboard-mini-grid {
    gap: 10px;
  }
}


/* X-Soft v1.8 - Servicios internos */
.service-card {
  padding: 0;
  overflow: hidden;
}

.service-card__link {
  display: block;
  height: 100%;
  padding: 30px;
}

.service-card__more {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 600;
  color: var(--xsoft-dark);
}

.service-card:hover .service-card__more {
  text-decoration: underline;
}

.service-detail-hero {
  position: relative;
  padding: 86px 0 78px;
  overflow: hidden;
  background: linear-gradient(120deg, #ffffff 0%, #ffffff 62%, rgba(170,221,34,.22) 100%);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr .75fr;
  gap: 56px;
  align-items: center;
}

.service-back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--xsoft-dark);
  font-weight: 600;
}

.service-detail-copy h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.service-detail-copy p {
  margin: 24px 0 0;
  max-width: 700px;
  color: var(--xsoft-gray);
  font-size: 18px;
  line-height: 1.75;
}

.service-detail-card {
  border: 14px solid var(--xsoft-dark);
  border-radius: 34px;
  padding: 34px;
  background: #fff;
  box-shadow: var(--xsoft-shadow);
}

.service-detail-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--xsoft-lime);
  font-size: 30px;
  margin-bottom: 22px;
}

.service-detail-card h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 600;
}

.service-detail-card p {
  margin: 16px 0 0;
  color: var(--xsoft-gray);
  line-height: 1.75;
}

.service-detail-content {
  padding: 86px 0;
  background: var(--xsoft-muted);
}

.service-detail-content-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.service-detail-content h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.service-feature-list {
  display: grid;
  gap: 16px;
}

.service-feature-item {
  padding: 22px 24px;
  border: 1px solid var(--xsoft-border);
  border-radius: 22px;
  background: #fff;
  font-weight: 600;
  color: #262821;
}

@media (max-width: 980px) {
  .service-detail-grid,
  .service-detail-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .service-detail-hero {
    padding: 58px 0 64px;
  }

  .service-detail-card {
    border-width: 10px;
    padding: 24px;
  }

  .service-card__link {
    padding: 26px;
  }
}


/* X-Soft v1.10 - Fix servicios internos + menú inicio */
.primary-nav__list {
  gap: 22px;
}

.footer-nav {
  flex-wrap: wrap;
}

.footer-nav a {
  font-weight: 600;
}

@media (max-width: 1100px) {
  .primary-nav__list {
    gap: 18px;
    font-size: 13px;
  }
}


/* X-Soft v1.11 - Sección Sistemas mejorada */
.systems-section--enhanced {
  padding: 96px 0;
}

.systems-header {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 46px;
  align-items: end;
  margin-bottom: 46px;
}

.systems-header .section-heading {
  margin-bottom: 0;
}

.systems-header .section-heading h2 {
  max-width: 820px;
}

.systems-header > p {
  margin: 0 0 8px;
  color: rgba(255,255,255,.72);
  font-size: 18px;
  line-height: 1.75;
}

.systems-showcase {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 24px;
  align-items: stretch;
}

.systems-feature-card {
  min-height: 100%;
  padding: 34px;
  border-radius: 30px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 60px rgba(0,0,0,.12);
}

.systems-feature-card__label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--xsoft-lime);
  color: #111;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.systems-feature-card h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 600;
}

.systems-feature-card p {
  margin: 20px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 17px;
  line-height: 1.75;
}

.systems-feature-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
}

.systems-feature-card li {
  color: rgba(255,255,255,.9);
  font-weight: 600;
}

.systems-list--cards {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.system-item--card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  transition: transform .2s ease, background .2s ease;
}

.system-item--card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.12);
}

.system-item--card span {
  display: inline-flex;
  margin-bottom: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(170,221,34,.16);
  color: var(--xsoft-lime);
  font-size: 12px;
  font-weight: 700;
}

.system-item--card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
}

.system-item--card p {
  margin: 10px 0 0;
  color: rgba(255,255,255,.68);
  line-height: 1.65;
  font-weight: 500;
}

@media (max-width: 980px) {
  .systems-header,
  .systems-showcase {
    grid-template-columns: 1fr;
  }

  .systems-list--cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .systems-section--enhanced {
    padding: 68px 0;
  }

  .systems-list--cards {
    grid-template-columns: 1fr;
  }

  .systems-feature-card {
    padding: 26px;
  }
}


/* X-Soft v1.12 - Ajustes sección Sistemas y Por qué elegir */
.systems-section--enhanced {
  padding: 86px 0;
}

.systems-showcase {
  grid-template-columns: .74fr 1.26fr;
}

.systems-feature-card {
  padding: 28px;
}

.systems-feature-card h3 {
  font-size: clamp(24px, 2.5vw, 33px);
}

.systems-feature-card p {
  font-size: 16px;
  line-height: 1.68;
}

.systems-feature-card ul {
  gap: 9px;
  margin-top: 22px;
}

.systems-feature-card li {
  font-size: 15px;
}

.system-item--card {
  padding: 21px;
}

.system-item--card h3 {
  font-size: 18px;
}

.system-item--card p {
  font-size: 15px;
  line-height: 1.58;
}

.systems-cta {
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: 26px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.systems-cta strong {
  display: block;
  font-size: 21px;
  line-height: 1.2;
  margin-bottom: 5px;
}

.systems-cta span {
  display: block;
  color: rgba(255,255,255,.72);
  line-height: 1.6;
}

.why-section {
  background: linear-gradient(180deg, #ffffff 0%, #fafbf7 100%);
}

.why-card {
  background: #ffffff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,.06);
}

.why-card > strong {
  font-weight: 700;
}

@media (max-width: 980px) {
  .systems-showcase {
    grid-template-columns: 1fr;
  }

  .systems-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .systems-section--enhanced {
    padding: 68px 0;
  }

  .systems-cta {
    padding: 22px;
  }

  .systems-cta .xsoft-btn {
    width: 100%;
  }
}


/* X-Soft v1.13 - Contact Form 7 */
.contact-section {
  padding: 94px 0;
  background: linear-gradient(135deg, #0d0e0b 0%, #18210f 58%, #2c3a17 100%);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-copy .eyebrow {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
  color: var(--xsoft-lime);
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.contact-copy > p {
  margin: 24px 0 0;
  max-width: 620px;
  color: rgba(255,255,255,.74);
  font-size: 18px;
  line-height: 1.75;
}

.contact-info-box {
  margin-top: 34px;
  padding: 26px;
  border-radius: 26px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}

.contact-info-box strong {
  display: block;
  margin-bottom: 14px;
  font-size: 18px;
}

.contact-info-box ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: rgba(255,255,255,.82);
  line-height: 1.5;
}

.contact-form-card {
  background: #fff;
  color: #111;
  border-radius: 32px;
  padding: 34px;
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
}

.contact-form-card h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 600;
}

.contact-form-card > p {
  margin: 10px 0 24px;
  color: var(--xsoft-gray);
  line-height: 1.6;
}

.contact-form-card .wpcf7 form {
  display: grid;
  gap: 14px;
}

.contact-form-card .wpcf7 p {
  margin: 0;
}

.contact-form-card label {
  display: block;
  color: #33362f;
  font-size: 14px;
  font-weight: 600;
}

.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 15px;
  border: 1px solid var(--xsoft-border);
  border-radius: 16px;
  background: #fafbf7;
  color: #111;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-form-card textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  border-color: var(--xsoft-lime);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(170,221,34,.18);
}

.contact-form-card input[type="submit"],
.contact-form-card .wpcf7-submit {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--xsoft-lime);
  color: #111;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(170,221,34,.28);
  transition: transform .2s ease, opacity .2s ease;
}

.contact-form-card input[type="submit"]:hover,
.contact-form-card .wpcf7-submit:hover {
  transform: translateY(-2px);
}

.contact-form-card .wpcf7-not-valid-tip {
  margin-top: 5px;
  font-size: 13px;
}

.contact-form-card .wpcf7-response-output {
  margin: 14px 0 0 !important;
  padding: 12px 14px !important;
  border-radius: 14px;
  font-size: 14px;
}

@media (max-width: 980px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-section {
    padding: 68px 0;
  }

  .contact-form-card {
    padding: 24px;
    border-radius: 26px;
  }
}


/* X-Soft v1.14 - Footer completo */
.site-footer--complete {
  border-top: 0;
  padding: 0;
  background: #0d0e0b;
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr .85fr .85fr 1fr;
  gap: 42px;
  padding: 64px 0 44px;
}

.footer-brand p {
  max-width: 390px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.68);
  line-height: 1.7;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  background: #fff;
}

.footer-logo img {
  display: block;
  height: 46px;
  width: auto;
  max-width: 290px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.footer-badges span {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(170,221,34,.14);
  color: var(--xsoft-lime);
  font-size: 12px;
  font-weight: 700;
}

.footer-col h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
}

.footer-col a,
.footer-col span {
  color: rgba(255,255,255,.68);
  line-height: 1.45;
  transition: color .2s ease;
}

.footer-col a:hover {
  color: var(--xsoft-lime);
}

.footer-cta {
  display: inline-flex;
  margin-top: 22px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--xsoft-lime);
  color: #111 !important;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
}

.footer-bottom__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 22px 0;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,.58);
  font-size: 14px;
}

.footer-bottom .footer-nav {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.footer-bottom .footer-nav a {
  color: rgba(255,255,255,.68);
  font-size: 14px;
  font-weight: 600;
}

.footer-bottom .footer-nav a:hover {
  color: var(--xsoft-lime);
}

@media (max-width: 1100px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .footer-main {
    grid-template-columns: 1fr;
    padding: 46px 0 34px;
  }

  .footer-bottom__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom .footer-nav {
    flex-wrap: wrap;
  }

  .footer-logo img {
    height: 38px;
    max-width: 240px;
  }
}


/* X-Soft v1.15 - Footer compacto y datos comerciales */
.footer-main {
  padding: 48px 0 34px;
  gap: 38px;
}

.footer-brand p {
  margin-top: 16px;
  line-height: 1.62;
}

.footer-logo {
  padding: 10px 12px;
  border-radius: 16px;
}

.footer-logo img {
  height: 42px;
}

.footer-badges {
  margin-top: 18px;
}

.footer-col h3 {
  margin-bottom: 14px;
}

.footer-col ul {
  gap: 9px;
}

.footer-cta {
  margin-top: 18px;
}

.footer-bottom__inner {
  padding: 18px 0;
}

.footer-legal {
  display: grid;
  gap: 4px;
}

.footer-legal small {
  color: rgba(255,255,255,.45);
  font-size: 13px;
}

@media (max-width: 720px) {
  .footer-main {
    padding: 38px 0 28px;
    gap: 30px;
  }

  .footer-logo img {
    height: 36px;
  }

  .footer-bottom__inner {
    padding: 16px 0;
  }
}


/* X-Soft v1.16 - Ajuste responsive menú móvil/tablet */
@media (max-width: 980px) {
  .primary-nav > .xsoft-btn {
    display: none;
  }

  .primary-nav {
    gap: 0;
  }

  .primary-nav__list {
    width: 100%;
  }

  .primary-nav__list li a {
    display: block;
    width: 100%;
    padding: 10px 4px;
  }
}

@media (max-width: 640px) {
  .primary-nav {
    left: 14px;
    right: 14px;
  }
}
