:root {
  --color-primary: #E11D48;
  --color-primary-soft: rgba(200, 35, 51, 0.1);
  --color-surface-hover: rgba(248, 250, 252, 0.06);
  --color-bg: #ffffff;
  --color-bg-alt: #f5f5f7;
  --color-text: #111827;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.12);
  --radius-lg: 1.25rem;
  --radius-md: .75rem;
  --radius-full: 999px;
}

html[data-theme="dark"] {
  --color-bg: #020617;
  --color-bg-alt: #020617;
  --color-text: #f9fafb;
  --color-muted: #9ca3af;
  --color-border: #1f2937;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(248,113,113,.08), transparent 45%), var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

#footer-placeholder { margin-top: auto; }

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

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

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}




/* NAVBAR */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: linear-gradient(to right, rgba(100, 16, 16, 0.96), rgba(225,29,72,.96));
  color: #f9fafb;
  border-bottom: 1px solid rgba(248,250,252,.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 600;
  color: inherit;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: radial-gradient(circle at 0% 0, #fecaca, #b91c1c);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  overflow: hidden; 
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.brand-name {
  letter-spacing: .04em;
  font-size: 1.05rem;
}

.brand-tagline {
  font-size: .75rem;
  opacity: .8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  padding: .4rem .65rem;
  border-radius: 999px;
  font-size: .9rem;
  white-space: nowrap;
}

.nav-links a:hover {
  background: rgba(248,250,252,.12);
  text-decoration: none;
}

.nav-item-has-children {
  position: relative;
}

.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #020617;
  border-radius: .75rem;
  padding: .5rem;
  box-shadow: var(--shadow-soft);
  list-style: none;
  display: none;
}

.nav-submenu li a {
  display: block;
  padding: .45rem .6rem;
  border-radius: .5rem;
  font-size: .85rem;
}

.nav-submenu li a:hover {
  background: rgba(248,250,252,.08);
}

.nav-item-has-children.nav-submenu-open .nav-submenu {
  display: block;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.lang-toggle,
.theme-toggle {
  border-radius: 999px;
  border: 1px solid rgba(248,250,252,.35);
  background: rgba(15,23,42,.5);
  color: inherit;
  padding: .25rem .6rem;
  font-size: .75rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  cursor: pointer;
}

.nav-whatsapp {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #22c55e;
  color: #022c22;
  font-size: 1.1rem;
}

/* Mobile nav */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    background: #020617;
    padding: 1rem 1.5rem 1.5rem;
    transform: translateY(-120%);
    opacity: 0;              /* 👈 oculto visualmente */
    pointer-events: none;     /* 👈 no recibe clics */
    transition: transform .18s ease-out, opacity .18s ease-out;
  }

  body.nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;              /* 👈 ahora sí se ve */
    pointer-events: auto;    /* 👈 vuelve a ser clicable */
  }

  .nav-actions {
    gap: .25rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-item-has-children .nav-submenu {
    position: static;
    box-shadow: none;
    background: transparent;
    padding-left: 1rem;
  }

}

/* HERO COMMON */

.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-kicker {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .7rem;
  color: var(--color-muted);
  margin-bottom: .6rem;
}

.page-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0 0 .8rem;
}

.page-subtitle {
  max-width: 640px;
  color: var(--color-muted);
  margin: 0;
}

.page-title:hover,
.page-title:focus-visible {
  color: var(--color-primary);
  transition: color 0.15s ease;
}


.page-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 2.25rem;
  align-items: center;
}

.hero-card {
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.3rem;
  background: radial-gradient(circle at top left, rgba(254,249,195,.18), transparent 55%), #020617;
  color: #f9fafb;
  box-shadow: var(--shadow-soft);
}

/* ===== Card hover/tap (reutilizable) ===== */
.hero-card {
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
  will-change: transform;
}

@media (hover: hover) {
  .hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    border-color: var(--color-primary);
  }
}

.hero-card:active,
.hero-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
}

html[data-theme="dark"] .hero-card:hover,
html[data-theme="dark"] .hero-card:active,
html[data-theme="dark"] .hero-card:focus-within {
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.35);
  border-color: rgba(59, 130, 246, .9);
}


.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(248,250,252,.18);
  font-size: .75rem;
  margin-bottom: .75rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: .75rem;
  font-size: .85rem;
}

.hero-stat-label {
  opacity: .75;
}

.hero-stat-value {
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}

.btn {
  border-radius: 999px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem 1.1rem;
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
}

/* -----------------------------------
   Botón primario (btn-primary)
----------------------------------- */
.btn-primary {
  display: inline-block;
  padding: 12px 22px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: background 0.2s ease, transform 0.12s ease;
}

.btn-primary:hover {
  background: var(--color-primary-hover, #c9152a);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Compatibilidad con modo oscuro */
[data-theme="dark"] .btn-primary {
  box-shadow: none;
}

.btn-secondary {
  display: inline-block;
  padding: 12px 22px;
  background: transparent;
  border: 2px solid var(--color-border);
  color: var(--color-text);
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}


.btn-secondary:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-primary);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn-outline:hover {
  border-color: var(--color-primary);
}

@media (max-width: 900px) {
  .page-hero-layout {
    grid-template-columns: minmax(0,1fr);
  }
}


.btn-primary,
.btn-secondary,
.btn-outline,
.whatsapp-fab {
  text-decoration: none !important;
}

/* SECTIONS */

.section {
  padding: 1.5rem 0 2.5rem;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.3rem;
}

.section-kicker {
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .18em;
  color: var(--color-muted);
}

.section-title {
  font-size: 1.5rem;
  margin: 0;
}

.section-title:hover,
.section-title:focus-visible {
  color: var(--color-primary);
  transition: color 0.15s ease;
}

.section-description {
  max-width: 640px;
  color: var(--color-muted);
}




.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.service-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

html[data-theme="dark"] .service-card {
  background: #020617;
}

/* =========================
   Service card interaction
========================= */

.service-card {
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
  will-change: transform;
}

/* Hover SOLO en desktop */
@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    border-color: var(--color-primary);
  }
}

/* Tap / focus (móvil y teclado) */
.service-card:active,
.service-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
}

html[data-theme="dark"] .service-card:hover,
html[data-theme="dark"] .service-card:active,
html[data-theme="dark"] .service-card:focus-within {
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.35);
  border-color: rgba(59, 130, 246, .9);
}


.service-icon {
  width: 48px;
  height: 48px;
  border-radius: .12rem;
  display: grid;
  place-items: center;
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: .35rem;
  color: var(--color-primary);
}

.service-title {
  font-size: 1rem;
  margin: 0;
}

.service-text {
  font-size: .9rem;
  color: var(--color-muted);
}

.service-meta {
  margin-top: auto;
  font-size: .8rem;
  color: var(--color-muted);
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0,2fr) minmax(0,3fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: minmax(0,1fr);
  }
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  margin-bottom: .7rem;
  overflow: hidden;
}

html[data-theme="dark"] .faq-item {
  background: #020617;
}

.faq-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem .9rem;
  cursor: pointer;
}

.faq-item-title {
  font-size: .9rem;
  font-weight: 500;
}

.faq-chevron {
  transition: transform .15s ease-out;
}

.faq-item.open .faq-chevron {
  transform: rotate(90deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 .9rem;
  font-size: .9rem;
  color: var(--color-muted);
  transition: max-height .18s ease-out, padding .18s ease-out;
}

.faq-item.open .faq-body {
  max-height: 240px;
  padding-bottom: .8rem;
}


/* ===== Card hover/tap (reutilizable) ===== */
.faq-item {
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
  will-change: transform;
}

@media (hover: hover) {
  .faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    border-color: var(--color-primary);
  }
}

.faq-item:active,
.faq-item:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
}

html[data-theme="dark"] .faq-item:hover,
html[data-theme="dark"] .faq-item:active,
html[data-theme="dark"] .faq-item:focus-within {
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.35);
  border-color: rgba(59, 130, 246, .9);
}



/* Testimonials */

.testimonial-strip {
  border-radius: var(--radius-lg);
  padding: 1rem 1.2rem;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  display: grid;
  grid-template-columns: minmax(0,2.2fr) minmax(0,3fr);
  gap: 1.2rem;
  align-items: center;
}

@media (max-width: 800px) {
  .testimonial-strip {
    grid-template-columns: minmax(0,1fr);
  }
}

.testimonial-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: #22c55e1a;
  color: #16a34a;
  font-size: .8rem;
}

html[data-theme="dark"] .testimonial-badge {
  background: rgba(22,163,74,.15);
}

.testimonial-quotes {
  display: grid;
  gap: .5rem;
  font-size: .85rem;
  color: var(--color-muted);
}

/* ===== Card hover/tap (reutilizable) ===== */
.testimonial-strip {
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
  will-change: transform;
}

@media (hover: hover) {
  .testimonial-strip:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    border-color: var(--color-primary);
  }
}

.testimonial-strip:active,
.testimonial-strip:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
}

html[data-theme="dark"] .testimonial-strip:hover,
html[data-theme="dark"] .testimonial-strip:active,
html[data-theme="dark"] .testimonial-strip:focus-within {
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.35);
  border-color: rgba(59, 130, 246, .9);
}



/* Footer */

.site-footer {
  margin-top: 2.5rem;
  border-top: 1px solid var(--color-border);
  background: radial-gradient(circle at top, rgba(248,113,113,.16), transparent 55%), #020617;
  color: #e5e7eb;
  position: relative;
}

.footer-grid {
  padding: 2.2rem 1.5rem 1.7rem;
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1.2fr));
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  }
}
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: minmax(0,1fr);
  }
}

.footer-brand {
  display: flex;
  gap: .8rem;
  align-items: center;
}

.footer-brand .brand-mark {
  width: 42px;
  height: 42px;
}

.footer-brand .brand-name {
  font-size: 1rem;
}

.footer-section h3 {
  font-size: .9rem;
  margin: 0 0 .5rem;
}

.footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .85rem;
  display: grid;
  gap: .35rem;
}

.footer-section li i {
  margin-right: .3rem;
}

.footer-social {
  display: flex;
  gap: .6rem;
  font-size: 1.1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(148,163,184,.4);
  font-size: .8rem;
}

.footer-bottom-inner {
  padding: .7rem 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: .75rem;
}

/* WhatsApp FAB */

.whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 2rem;
  width: 54px;
  height: 54px;
  border-radius: 999px;

  background: #25D366; /* Verde oficial WhatsApp */
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1.6rem;
  z-index: 40;

  box-shadow:
    0 8px 20px rgba(37, 211, 102, 0.45);

  transition:
    transform 0.18s ease,
    box-shadow 0.22s ease,
    background 0.2s ease;
}
.whatsapp-fab:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-fab:active {
  transform: scale(0.94);
  box-shadow:
    0 6px 14px rgba(37, 211, 102, 0.35);
}
.whatsapp-fab i {
  color: #ffffff;
}
html[data-theme="dark"] .whatsapp-fab {
  box-shadow:
    0 10px 24px rgba(37, 211, 102, 0.6);
}




/* Generic content */

.prose {
  font-size: .95rem;
  color: var(--color-muted);
  max-width: 720px;
}

.prose p {
  margin: 0 0 .8rem;
}

.prose ul {
  margin: 0 0 .8rem;
  padding-left: 1.1rem;
}

/* Utilities */

.chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .7rem;
  border-radius: 999px;
  font-size: .8rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}

.badge-pill {
  padding: .25rem .6rem;
  border-radius: 999px;
  font-size: .75rem;
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

/* Image strip / galería home */

.image-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .image-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .image-strip {
    grid-template-columns: minmax(0, 1fr);
  }
}

.image-strip-item {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.image-strip-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.image-strip-item figcaption {
  font-size: .85rem;
  padding: .6rem .75rem .7rem;
  color: var(--color-muted);
}

/* ===== Card hover/tap (reutilizable) ===== */
.image-strip-item {
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
  will-change: transform;
}

@media (hover: hover) {
  .image-strip-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    border-color: var(--color-primary);
  }
}

.image-strip-item:active,
.image-strip-item:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
}

html[data-theme="dark"] .image-strip-item:hover,
html[data-theme="dark"] .image-strip-item:active,
html[data-theme="dark"] .image-strip-item:focus-within {
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.35);
  border-color: rgba(59, 130, 246, .9);
}





.sage-logo {
  width: 180px;
  margin-bottom: 1.2rem;
  display: block;
}
.sage-logomini {
  width: 80px;
  margin-bottom: 1.2rem;
  display: block;
}

/* Logos de herramientas de soporte remoto */
.partner-logos {
  display: flex;
  flex-wrap: wrap;

  justify-content: flex-start; /* alinea a la izquierda */
  align-items: center;

  column-gap: 1rem;
  row-gap: 1.25rem;

  margin-top: 1.25rem;
}



.partner-logos img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
  filter: grayscale(10%);
}

.partner-logos img:hover {
  opacity: 1;
  transform: translateY(-2px);
  filter: grayscale(0%);
}

/* Listas destacadas (para los casos típicos y la descripción de herramientas) */
.highlight-list {
  max-width: 700px;
  margin: 0 1.5rem; /* antes era 0 auto */
}

/* Lista con bullets personalizados */
.bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.bullet-list li::before {
  content: "\f101";
  font-family: "Font Awesome 6 Free";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary); /* usa tu rojo Solutech si ya lo tienes como variable */
}

/* Ajuste en móviles */
@media (max-width: 640px) {
  .partner-logos {
    gap: 1rem;
  }

  .bullet-list li {
    margin-bottom: 0.5rem;
  }
}

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
}

/* ---------------------------------------------
   HERO META (pequeñas estadísticas bajo el hero)
------------------------------------------------*/
.hero-meta {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.hero-meta-item dt {
  font-size: .85rem;
  text-transform: uppercase;
  opacity: .7;
  margin-top: 1.5rem;
}

.hero-meta-item dd {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.5rem 0 0;
}

/* ---------------------------------------------
   HERO ASIDE PANEL (recuadro negro del lado derecho)
------------------------------------------------*/
.hero-panel {
  background: #0f1624;
  padding: 1.8rem;
  border-radius: 1rem;
  color: #fff;
  margin-top: 3rem;
}

.hero-panel-kicker {
  font-size: .75rem;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: .3rem;
}

.hero-panel-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: .6rem;
}

.hero-panel-text {
  opacity: .9;
  line-height: 1.45rem;
  margin-bottom: .8rem;
}


/* ===== Card hover/tap (reutilizable) ===== */
.hero-panel {
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
  will-change: transform;
}

@media (hover: hover) {
  .hero-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    border-color: var(--color-primary);
  }
}

.hero-panel:active,
.hero-panel:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
}

html[data-theme="dark"] .hero-panel:hover,
html[data-theme="dark"] .hero-panel:active,
html[data-theme="dark"] .hero-panel:focus-within {
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.35);
  border-color: rgba(59, 130, 246, .9);
}



/* ---------------------------------------------
   SECTION SOFT
------------------------------------------------*/
.section--soft {
  background: #fafafa;
}
html[data-theme="dark"] .section--soft {
  background: #020617;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}


/* ---------------------------------------------
   FEATURES GRID (Qué nos diferencia)
------------------------------------------------*/
.features-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature-card {
  background: #fff;
  border-radius: .75rem;
  padding: 1.4rem;
  border: 1px solid #eee;
  box-shadow: var(--shadow-soft);
}


/* ===== Card hover/tap (reutilizable) ===== */
.feature-card {
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
  will-change: transform;
}

@media (hover: hover) {
  .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    border-color: var(--color-primary);
  }
}

.feature-card:active,
.feature-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
}

html[data-theme="dark"] .feature-card:hover,
html[data-theme="dark"] .feature-card:active,
html[data-theme="dark"] .feature-card:focus-within {
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.35);
  border-color: rgba(59, 130, 246, .9);
}


.feature-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .4rem;
}

.feature-text {
  opacity: .85;
  line-height: 1.5rem;
}

/* ---------------------------------------------
   CLIENT TAGS (burbujas de clientes)
------------------------------------------------*/
.client-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0;
}

.client-tag {
  background: #ececec;
  padding: .4rem .75rem;
  border-radius: 50px;
  font-size: .85rem;
  color: #333;
}

/* Descripción bajo los tags */
.client-note {
  margin-top: 1.2rem;
  font-size: .95rem;
  opacity: .8;
}

/* ---------------------------------------------
   STEPS LIST (lista numerada moderna)
------------------------------------------------*/
.steps-list {
  list-style: none;
  counter-reset: step-counter;
  margin: 2rem 0;
  padding: 0;
}

.steps-item {
  counter-increment: step-counter;
  padding-left: 3rem;
  position: relative;
  margin-bottom: 1.8rem;
}

.steps-item::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: #E11D48; /* rojo solutech */
  color: #fff;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

.steps-title {
  font-size: 1.15rem;
  margin-bottom: .3rem;
}

.steps-text {
  opacity: .85;
  line-height: 1.5rem;
}

/* ---------------------------------------------
   CTA PANEL FINAL
------------------------------------------------*/
.cta-panel {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #eee;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.cta-panel-actions {
  display: flex;
  gap: 1rem;
}

.cta-panel-actions .btn-primary,
.cta-panel-actions .btn-outline {
  min-width: 180px;
}



/* ---------------------------------------------
   CLIENTES – GRID RESPONSIVE
------------------------------------------------*/

/* Base: móvil primero */
.section--soft .client-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 columnas en móvil */
  align-items: center;
  justify-items: center;
  margin-top: 2rem;
}

/* Cada cliente */
.client-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

/* Logos */
.client-item img {
  max-width: 120px;     /* se ajusta solo, no rompe la columna */
  height: auto;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.95;
  transition:  transform .25s ease, filter .25s ease, opacity .25s ease, border-color .18s ease;
  width: 140px;
  height: 80px; /* tamaño mínimo mientras carga o si falla */
  border-radius: 6px;
  object-fit: contain;
}

/* Hover (desktop) */
.client-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
  opacity: 1;
  border-color: var(--color-primary);
  will-change: transform;
}

/* Nombre */
.client-name {
  font-size: 0.8rem;
  opacity: 0.85;
}

/* ---------------------------------------------
   BREAKPOINTS
------------------------------------------------*/

/* ≥ 640px → 3 columnas */
@media (min-width: 640px) {
  .section--soft .client-grid {
    gap: 2rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .client-item img {
    max-width: 130px;
  }
}

/* ≥ 1024px → 4 columnas */
@media (min-width: 1024px) {
  .section--soft .client-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ≥ 1280px → 5 columnas */
@media (min-width: 1280px) {
  .section--soft .client-grid {
    max-width: 1200px;      /* para que no se pegue a los bordes */
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}




/* Contenedor clickeable del logo */
.client-item a{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .55rem .75rem;          /* aquí se crea el “fondo” */
  border-radius: 14px;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

/* Logo: gris por defecto */
.client-item img{
  filter: grayscale(100%);
  opacity: .82;
  transition: filter .22s ease, opacity .22s ease, transform .22s ease;
}

/* Desktop hover */
@media (hover:hover){
  .client-item a:hover{
    background: rgba(15, 23, 42, .06);  /* fondo neutro */
    box-shadow: 0 10px 22px rgba(2, 6, 23, .10);
    transform: translateY(-2px);
  }

  .client-item a:hover img{
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.04);
  }
}




/* Dark mode: fondo neutro para que el logo resalte */
html[data-theme="dark"] .client-item a{
  background: transparent;
}

@media (hover:hover){
  html[data-theme="dark"] .client-item a:hover{
    background: rgba(226, 232, 240, .08);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .35);
  }
}

/* Móvil / touch: al tocar (active) se ve el color + fondo */
@media (hover:none){
  .client-item a:active{
    background: rgba(15, 23, 42, .08);
    box-shadow: 0 10px 22px rgba(2, 6, 23, .12);
    transform: scale(.98);
  }

  .client-item a:active img{
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.03);
  }

  html[data-theme="dark"] .client-item a:active{
    background: rgba(226, 232, 240, .10);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .35);
  }
}








/* Logo del footer (reemplaza la S) */
.footer-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}
.brand-mark img,
.footer-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


/* =======================================
   FAQ PAGE (faq.html) - acordeón general
======================================= */

.faq-accordion {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Caja de cada sección del FAQ grande */
.faq-section {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  overflow: hidden;
}

html[data-theme="dark"] .faq-section {
  background: #020617;
}

/* Header clickable de la sección (nivel 1) */
.faq-section-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  background: transparent;
  border: 0;
  text-align: left;
  position: relative
}

.faq-section-toggle h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

/* Contenido colapsable de la sección (lista de preguntas) */
.faq-section-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.1rem;
  transition: max-height .22s ease-out, padding .22s ease-out;
}

/* Cuando la sección está abierta */
.faq-section.open .faq-section-content {
  max-height: 5000px; /* grande a propósito */
  padding-bottom: 1.1rem;
}

/* Dentro del FAQ grande, dejamos más aire para las respuestas */
.faq-accordion .faq-item {
  background: #fffcfc;               /* CAMBIA ESTE COLOR */
  border-radius: var(--radius-md);
  border: 1px solid rgba(148,163,184,.45);
  margin-bottom: .75rem;
}

.faq-accordion .faq-item .faq-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 .9rem;
  font-size: .9rem;
  color: var(--color-muted);
  transition: max-height .18s ease-out, padding .18s ease-out;
}

.faq-accordion .faq-item.open .faq-body {
  max-height: 1200px;
  padding-bottom: .85rem;
}

/* Chevron de cada pregunta (nivel 2) */
.faq-accordion .faq-item-header {
  width: 100%;
  background: transparent;
  border: 0;
  padding: .95rem 1rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-accordion .faq-chevron {
  transition: transform .18s ease-out;
}

.faq-accordion .faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

/* Link dentro de las respuestas del FAQ grande */
.faq-accordion .faq-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .55rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-primary);
}

.faq-accordion .faq-link:hover {
  text-decoration: underline;
}

html[data-theme="dark"] .faq-accordion .faq-item {
  background: #050b2b;               /* Color para tema oscuro */
  border-color: rgba(30,64,175,.6);
}

/* ===== Colores de texto en modo oscuro para FAQ ===== */
html[data-theme="dark"] .faq-accordion .faq-item-header h3,
html[data-theme="dark"] .faq-accordion .faq-item-header,
html[data-theme="dark"] .faq-accordion .faq-body,
html[data-theme="dark"] .faq-accordion .faq-body p,
html[data-theme="dark"] .faq-accordion .faq-link {
  color: #e5e7eb !important; /* gris claro legible */
}

html[data-theme="dark"] .faq-accordion .faq-chevron i {
  color: #94a3b8 !important; /* gris medio para el ícono */
}

/* Opcional: mejora visual cuando está abierto */
html[data-theme="dark"] .faq-accordion .faq-item.open {
  background: #0a133d; /* un poco más claro para diferenciarla */
}

.faq-section-toggle .faq-chevron {
  transition: transform .18s ease;
}

.faq-section.is-open .faq-chevron {
  transform: rotate(180deg);
}

/* ===============================
   FAQ nivel 1: + / - (sin rotar)
=============================== */

/* Por defecto: + */
.faq-section-toggle::after{
  content: "+";
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1;
  margin-left: auto;
  color: var(--color-text);
}

/* Abierto: - */
.faq-section-toggle[aria-expanded="true"]::after{
  content: "−"; /* signo menos bonito */
}

/* modo oscuro */
html[data-theme="dark"] .faq-section-toggle::after{
  color: #e5e7eb;
}



/* ===== Card hover/tap (reutilizable) ===== */
.faq-section {
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
  will-change: transform;
}

@media (hover: hover) {
  .faq-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    border-color: var(--color-primary);
  }
}

.faq-section:active,
.faq-section:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
}

html[data-theme="dark"] .faq-section:hover,
html[data-theme="dark"] .faq-section:active,
html[data-theme="dark"] .faq-section:focus-within {
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.35);
  border-color: rgba(59, 130, 246, .9);
}




/* CONTACT PAGE */
.contact-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1rem;
}
@media (max-width: 1000px){
  .contact-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px){
  .contact-grid{ grid-template-columns: 1fr; }
}

.contact-card{
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 1rem;
}
html[data-theme="dark"] .contact-card{
  background:#020617;
}


/* ===== Card hover/tap (reutilizable) ===== */
.contact-card {
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
  will-change: transform;
}

@media (hover: hover) {
  .contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    border-color: var(--color-primary);
  }
}

.contact-card:active,
.contact-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
}

html[data-theme="dark"] .contact-card:hover,
html[data-theme="dark"] .contact-card:active,
html[data-theme="dark"] .contact-card:focus-within {
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.35);
  border-color: rgba(59, 130, 246, .9);
}



.contact-icon{
  font-size: 1.25rem;
  margin-bottom: .35rem;
  color: var(--color-primary);
}
.contact-title{
  font-size: 1rem;
  margin: 0 0 .25rem;
}
.contact-text{
  font-size: .92rem;
  color: var(--color-muted);
  margin: 0 0 .5rem;
}
.contact-link{
  font-weight: 600;
  text-decoration: none;
}

.contact-split{
  display:grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
  gap: 1.25rem;
  align-items:start;
}
@media (max-width: 980px){
  .contact-split{ grid-template-columns: 1fr; }
}

.contact-panel{
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 1rem;
}
html[data-theme="dark"] .contact-panel{
  background:#020617;
}

/* ===== Card hover/tap (reutilizable) ===== */
.contact-panel {
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
  will-change: transform;
}

@media (hover: hover) {
  .contact-panel:hover {
    transform: translateY(0px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    border-color: var(--color-primary);
  }
}

.contact-panel:active,
.contact-panel:focus-within {
  transform: translateY(0px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
}

html[data-theme="dark"] .contact-panel:hover,
html[data-theme="dark"] .contact-panel:active,
html[data-theme="dark"] .contact-panel:focus-within {
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.35);
  border-color: rgba(59, 130, 246, .9);
}

.contact-form label{
  display:block;
  font-size:.9rem;
  font-weight:600;
  margin-bottom:.35rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea{
  width:100%;
  border:1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  border-radius: .7rem;
  padding: .7rem .75rem;
  outline:none;
}
.contact-form textarea{ resize: vertical; }

.form-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .85rem;
}
@media (max-width: 700px){
  .form-grid{ grid-template-columns: 1fr; }
}
.form-field--full{ grid-column: 1 / -1; }

.form-actions{
  display:flex;
  gap: .75rem;
  margin-top: .9rem;
  flex-wrap: wrap;
  align-items:center;
}
.form-note{
  margin-top:.8rem;
  font-size:.85rem;
  color: var(--color-muted);
}

.map-embed{
  position:relative;
  width:100%;
  padding-top: 70%;
  border-radius: var(--radius-md);
  overflow:hidden;
  border:1px solid var(--color-border);
}
.map-embed iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

/* Turnstile */
.cf-turnstile{
  margin-top: .25rem;
}

/* ---------------------------------------------
   FEATURE LIST (listas con íconos PERSONALIZADOS)
------------------------------------------------*/

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-left: 1.25rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin-bottom: .6rem;
  line-height: 1.45;
}

.feature-list i {
  color: var(--color-primary);
  margin-top: .15rem;
  flex-shrink: 0;
}

.feature-list span {
  display: inline-block;
}

html[data-theme="dark"] .feature-list i {
  color: #60a5fa;
}

.footer-legal-links {
  display: inline-flex;
  gap: .5rem;
  font-size: .85rem;
  opacity: .85;
}

.footer-legal-links a {
  text-decoration: none;
}

.footer-legal-links a:hover {
  text-decoration: underline;
}

.faq-section-head {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.faq-section-desc {
  font-size: 0.85rem;
  color: var(--color-muted);
  font-weight: 400;
}

html[data-theme="dark"] .faq-section-desc {
  color: #9ca3af;
}

/* =======================================
   TESTIMONIAL SLIDER
======================================= */

.testimonial-slider{
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: .65rem;
  margin-top: .85rem;
}

.ts-track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 1rem;

  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: .15rem .2rem .35rem;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: none; /* Firefox */
}
.ts-track::-webkit-scrollbar{ display:none; }

.ts-card{
  scroll-snap-align: start;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: .95rem 1rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: .55rem;

  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ts-card:hover{
  transform: translateY(-2px);
  border-color: rgba(148,163,184,.8);
}

.ts-stars{
  display: inline-flex;
  gap: .2rem;
  color: #f59e0b;
  font-size: .9rem;
}

.ts-text{
  margin: 0;
  color: var(--color-text);
  line-height: 1.45;
  font-size: .95rem;
}

.ts-meta{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  font-size: .85rem;
}

.ts-name{
  font-weight: 700;
  color: var(--color-text);
}

.ts-where{
  color: var(--color-muted);
  white-space: nowrap;
}

/* Flechas */
.ts-nav{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  display: grid;
  place-items: center;
  cursor: pointer;

  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.ts-nav:hover{
  transform: translateY(-1px);
  border-color: rgba(148,163,184,.9);
}

.ts-nav:active{
  transform: translateY(0);
}

.ts-nav i{
  color: var(--color-text);
}

/* Dark */
html[data-theme="dark"] .ts-card{
  background: #020617;
}

html[data-theme="dark"] .ts-nav{
  background: #020617;
}

/* Mobile: ocultar flechas y dejar swipe */
@media (max-width: 720px){
  .testimonial-slider{
    grid-template-columns: 1fr;
  }
  .ts-nav{
    display: none;
  }
  .ts-track{
    grid-auto-columns: minmax(80%, 1fr);
    padding-left: .1rem;
    padding-right: .1rem;
  }
}

.hero-faq-ws {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
  justify-content: center;
}

.section-faq {
  padding: 0.5rem 0 2.5rem;
  text-align: center;
}

.prose-final {
  justify-content: center;
  color: var(--color-muted);
  font-size: .95rem;
}

.btn-row{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  align-items:center;
}

.service-list{
  margin:.75rem 0 0;
  padding-left:1.05rem;
  display:grid;
  gap:.35rem;
  opacity:.92;
}
.service-list li{ line-height:1.35; }

#footer-placeholder {
  margin-top: auto;
}
