/* ============================================================
   Innfortec — Public Site Design System (site.css)
   STANDALONE — does NOT depend on app.css or Bootstrap.
   Aesthetic: Structured Light Corporate
   Palette:
     Orange   #F36C21  (accent / CTA)
     Navy     #2B307E  (brand primary / headings)
     Near-blk #231F20  (body text)
     White    #ffffff  (base)
     Soft bg  #F8F9FB  (alternate sections)
   Fonts:   DM Serif Display (headlines) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --s-bg:           #ffffff;
  --s-bg-soft:      #F8F9FB;
  --s-bg-card:      #ffffff;
  --s-bg-card-hi:   #F4F5FB;
  --s-bg-navy:      #2B307E;

  /* Brand */
  --s-orange:       #F36C21;
  --s-orange-dark:  #D45A12;
  --s-orange-light: rgba(243, 108, 33, 0.10);
  --s-orange-line:  rgba(243, 108, 33, 0.30);
  --s-navy:         #2B307E;
  --s-navy-mid:     #3D4499;
  --s-navy-light:   rgba(43, 48, 126, 0.08);
  --s-navy-line:    rgba(43, 48, 126, 0.18);

  /* Text */
  --s-text:         #231F20;
  --s-text-muted:   #5C5A6B;
  --s-text-faint:   #9896A6;
  --s-text-inv:     #ffffff;

  /* Borders */
  --s-border:       rgba(43, 48, 126, 0.12);
  --s-border-hi:    rgba(43, 48, 126, 0.28);

  /* Radius */
  --s-r-sm:  6px;
  --s-r:     12px;
  --s-r-lg:  16px;
  --s-r-xl:  24px;

  /* Typography */
  --s-font-display: 'DM Serif Display', Georgia, serif;
  --s-font-body:    'DM Sans', system-ui, sans-serif;

  /* Easing */
  --s-ease:        220ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --s-ease-bounce: 340ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --s-shadow-sm:  0 1px 3px rgba(43, 48, 126, 0.08), 0 1px 2px rgba(43, 48, 126, 0.06);
  --s-shadow:     0 4px 16px rgba(43, 48, 126, 0.10), 0 1px 4px rgba(43, 48, 126, 0.06);
  --s-shadow-lg:  0 12px 40px rgba(43, 48, 126, 0.14), 0 4px 12px rgba(43, 48, 126, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--s-bg);
  color: var(--s-text);
  font-family: var(--s-font-body);
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Reduced motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Skip link (a11y) ──────────────────────────────────────── */
.s-skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  background: var(--s-orange);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: var(--s-r-sm);
  text-decoration: none;
  z-index: 9999;
  transition: top var(--s-ease);
}
.s-skip-link:focus {
  top: 1rem;
}

/* ── Layout Helpers ────────────────────────────────────────── */
.s-container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ── Header / Navbar ───────────────────────────────────────── */
.s-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--s-border);
  transition: background var(--s-ease), box-shadow var(--s-ease);
}

.s-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--s-shadow);
}

.s-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 1.5rem;
}

/* Logo image wordmark */
.s-wordmark {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.s-wordmark img {
  height: 60px;
  width: auto;
  display: block;
}

/* Desktop nav links */
.s-nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.s-nav-links a {
  display: block;
  padding: 0.4rem 0.875rem;
  color: var(--s-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--s-r-sm);
  transition: color var(--s-ease), background var(--s-ease);
}

.s-nav-links a:hover,
.s-nav-links a:focus-visible {
  color: var(--s-navy);
  background: var(--s-navy-light);
}

.s-nav-links a:focus-visible {
  outline: 2px solid var(--s-orange);
  outline-offset: 2px;
}

/* CTA button in nav */
.s-btn-login {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.2rem;
  background: var(--s-orange);
  color: #ffffff;
  font-family: var(--s-font-body);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: var(--s-r-sm);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--s-ease), box-shadow var(--s-ease), transform var(--s-ease-bounce);
  min-height: 44px;
}

.s-btn-login:hover,
.s-btn-login:focus-visible {
  background: var(--s-orange-dark);
  box-shadow: 0 4px 16px rgba(243, 108, 33, 0.40);
  transform: translateY(-1px);
  color: #ffffff;
  text-decoration: none;
}

.s-btn-login:focus-visible {
  outline: 2px solid var(--s-navy);
  outline-offset: 3px;
}

/* Hamburger — mobile toggle */
.s-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--s-border);
  border-radius: var(--s-r-sm);
  cursor: pointer;
  color: var(--s-text-muted);
  transition: border-color var(--s-ease), background var(--s-ease), color var(--s-ease);
  flex-shrink: 0;
}

.s-hamburger:hover,
.s-hamburger:focus-visible {
  border-color: var(--s-orange);
  background: var(--s-orange-light);
  color: var(--s-orange);
}

.s-hamburger:focus-visible {
  outline: 2px solid var(--s-orange);
  outline-offset: 2px;
}

.s-hamburger svg {
  width: 20px;
  height: 20px;
}

/* Mobile menu overlay */
.s-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 5rem 1.5rem 2rem;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity var(--s-ease), transform var(--s-ease);
}

.s-mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.s-mobile-menu a {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  color: var(--s-navy);
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--s-r);
  border: 1px solid var(--s-border);
  transition: color var(--s-ease), border-color var(--s-ease), background var(--s-ease);
}

.s-mobile-menu a:hover,
.s-mobile-menu a:focus-visible {
  color: var(--s-navy);
  border-color: var(--s-navy-line);
  background: var(--s-navy-light);
}

.s-mobile-menu a:focus-visible {
  outline: 2px solid var(--s-orange);
  outline-offset: 2px;
}

.s-mobile-menu .s-btn-login {
  margin-top: 0.75rem;
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 0.875rem 1.5rem;
  min-height: 52px;
  border-radius: var(--s-r);
  border: none;
}

.s-mobile-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--s-border);
  border-radius: var(--s-r-sm);
  cursor: pointer;
  color: var(--s-text-muted);
  transition: border-color var(--s-ease), background var(--s-ease), color var(--s-ease);
}

.s-mobile-close:hover {
  border-color: var(--s-navy-line);
  color: var(--s-navy);
  background: var(--s-navy-light);
}

.s-mobile-close:focus-visible {
  outline: 2px solid var(--s-orange);
  outline-offset: 2px;
}

.s-mobile-close svg {
  width: 18px;
  height: 18px;
}

/* ── Hero ──────────────────────────────────────────────────── */
.s-hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 6rem;
  text-align: center;
  background-color: var(--s-bg);
  /* Subtle navy dot-grid texture */
  background-image:
    radial-gradient(circle, rgba(43, 48, 126, 0.055) 1px, transparent 1px);
  background-size: 26px 26px;
}

/* Contenido del hero por encima del cursor-trail */
.s-hero > .s-container { position: relative; z-index: 2; }

/* Hero canvas cursor-trail — posicionado absolutamente detrás del contenido */
.s-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  display: block;
}

/* Soft gradient wash from top */
.s-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(
    180deg,
    rgba(43, 48, 126, 0.04) 0%,
    transparent 100%
  );
  pointer-events: none;
}

/* Orange line at bottom of hero */
.s-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--s-orange-line) 25%,
    var(--s-orange) 50%,
    var(--s-orange-line) 75%,
    transparent 100%
  );
}

.s-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--s-orange-light);
  border: 1px solid var(--s-orange-line);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--s-navy);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeInDown 0.55s ease both;
}

.s-hero-eyebrow svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.s-hero-headline {
  font-family: var(--s-font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 400; /* DM Serif Display is inherently bold in Regular */
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--s-navy);
  max-width: 860px;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s 0.08s ease both;
}

/* Orange highlighted span in headline */
.s-hero-headline em {
  font-style: italic;
  color: var(--s-orange);
}

.s-hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--s-text-muted);
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: 2.75rem;
  line-height: 1.7;
  animation: fadeInUp 0.6s 0.18s ease both;
}

.s-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
  animation: fadeInUp 0.6s 0.28s ease both;
}

/* Primary CTA — orange fill */
.s-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.85rem;
  background: var(--s-orange);
  color: #ffffff;
  font-family: var(--s-font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: var(--s-r);
  border: none;
  cursor: pointer;
  min-height: 48px;
  transition: background var(--s-ease), box-shadow var(--s-ease), transform var(--s-ease-bounce);
}

.s-btn-primary:hover,
.s-btn-primary:focus-visible {
  background: var(--s-orange-dark);
  box-shadow: 0 6px 20px rgba(243, 108, 33, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
  text-decoration: none;
}

.s-btn-primary:focus-visible {
  outline: 2px solid var(--s-navy);
  outline-offset: 3px;
}

.s-btn-primary svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Ghost / secondary CTA — navy outline */
.s-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  background: transparent;
  color: var(--s-navy);
  font-family: var(--s-font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1.5px solid var(--s-navy-line);
  border-radius: var(--s-r);
  cursor: pointer;
  min-height: 48px;
  transition: color var(--s-ease), border-color var(--s-ease), background var(--s-ease);
}

.s-btn-ghost:hover,
.s-btn-ghost:focus-visible {
  color: var(--s-navy);
  border-color: var(--s-navy);
  background: var(--s-navy-light);
  text-decoration: none;
}

.s-btn-ghost:focus-visible {
  outline: 2px solid var(--s-orange);
  outline-offset: 2px;
}

.s-btn-ghost svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Hero partner / trust strip */
.s-hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--s-border);
  animation: fadeInUp 0.6s 0.42s ease both;
  flex-wrap: wrap;
}

.s-trust-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--s-text-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.s-trust-partners {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.s-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--s-text-muted);
  background: var(--s-bg-soft);
  border: 1px solid var(--s-border);
  border-radius: var(--s-r-sm);
  padding: 0.35rem 0.875rem;
}

.s-trust-badge svg {
  width: 15px;
  height: 15px;
  color: var(--s-navy);
}

/* ── Section anatomy ───────────────────────────────────────── */
.s-section {
  padding: 6rem 0;
  position: relative;
}

/* Alternate background for even visual rhythm */
.s-section-alt {
  background: var(--s-bg-soft);
}

.s-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--s-navy);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.85rem;
  background: var(--s-orange-light);
  border: 1px solid var(--s-orange-line);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
}

.s-section-tag svg {
  width: 12px;
  height: 12px;
}

.s-section-title {
  font-family: var(--s-font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--s-navy);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.s-section-desc {
  font-size: 1.0625rem;
  color: var(--s-text-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 3.5rem;
}

/* ── Card Grid ─────────────────────────────────────────────── */
.s-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.s-card {
  background: var(--s-bg-card);
  border: 1px solid var(--s-border);
  border-radius: var(--s-r-lg);
  padding: 1.875rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  box-shadow: var(--s-shadow-sm);
  transition:
    border-color var(--s-ease),
    box-shadow var(--s-ease),
    transform var(--s-ease-bounce),
    background var(--s-ease);
}

/* Top orange accent bar — appears on hover */
.s-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--s-navy), var(--s-orange));
  opacity: 0;
  transition: opacity var(--s-ease);
}

.s-card:hover {
  border-color: var(--s-navy-line);
  background: var(--s-bg-card-hi);
  box-shadow: var(--s-shadow-lg);
  transform: translateY(-4px);
}

.s-card:hover::before {
  opacity: 1;
}

/* Card icon container */
.s-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--s-navy-light);
  border: 1px solid var(--s-navy-line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.375rem;
  color: var(--s-navy);
  transition: background var(--s-ease), border-color var(--s-ease), color var(--s-ease);
}

.s-card-icon svg {
  width: 22px;
  height: 22px;
}

.s-card:hover .s-card-icon {
  background: var(--s-orange-light);
  border-color: var(--s-orange-line);
  color: var(--s-orange);
}

.s-card-title {
  font-family: var(--s-font-display);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--s-navy);
  margin-bottom: 0.625rem;
  line-height: 1.3;
}

.s-card-desc {
  font-size: 0.9rem;
  color: var(--s-text-muted);
  line-height: 1.7;
}

/* Product card tags (partner brands) */
.s-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 1rem;
}

.s-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--s-navy);
  background: var(--s-navy-light);
  border: 1px solid var(--s-navy-line);
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
}

/* Featured product card (License Manager — own product) */
.s-card-featured {
  border-color: var(--s-orange-line);
  background: linear-gradient(135deg, rgba(243, 108, 33, 0.04), rgba(255, 255, 255, 1));
}

.s-card-featured::after {
  content: 'Desarrollo propio';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--s-orange);
  background: var(--s-orange-light);
  border: 1px solid var(--s-orange-line);
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
}

.s-card-featured .s-card-icon {
  background: var(--s-orange-light);
  border-color: var(--s-orange-line);
  color: var(--s-orange);
}

/* ── Contact Section ───────────────────────────────────────── */
.s-contact-intro {
  margin-bottom: 3rem;
}

.s-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.s-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--s-bg-card);
  border: 1px solid var(--s-border);
  border-radius: var(--s-r-lg);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--s-shadow-sm);
  transition: border-color var(--s-ease), box-shadow var(--s-ease), transform var(--s-ease-bounce);
}

.s-contact-item:hover,
.s-contact-item:focus-visible {
  border-color: var(--s-orange-line);
  box-shadow: 0 6px 24px rgba(243, 108, 33, 0.15);
  transform: translateY(-3px);
}

.s-contact-item:focus-visible {
  outline: 2px solid var(--s-orange);
  outline-offset: 2px;
}

.s-contact-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: var(--s-navy-light);
  border: 1px solid var(--s-navy-line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--s-navy);
  margin-top: 0.1rem;
  transition: background var(--s-ease), border-color var(--s-ease), color var(--s-ease);
}

.s-contact-item:hover .s-contact-icon {
  background: var(--s-orange-light);
  border-color: var(--s-orange-line);
  color: var(--s-orange);
}

.s-contact-icon svg {
  width: 20px;
  height: 20px;
}

.s-contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--s-text-faint);
  margin-bottom: 0.35rem;
}

.s-contact-value {
  font-size: 0.9375rem;
  color: var(--s-navy);
  font-weight: 500;
  word-break: break-all;
}

/* Non-link contact card */
.s-contact-plain {
  cursor: default;
}

.s-contact-plain:hover {
  transform: none;
  border-color: var(--s-border);
  box-shadow: var(--s-shadow-sm);
}

.s-contact-plain:hover .s-contact-icon {
  background: var(--s-navy-light);
  border-color: var(--s-navy-line);
  color: var(--s-navy);
}

/* Placeholder notice */
.s-placeholder-note {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--s-navy);
  background: var(--s-orange-light);
  border: 1px dashed var(--s-orange-line);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  margin-top: 0.25rem;
}

/* ── Navy CTA banner ───────────────────────────────────────── */
.s-cta-banner {
  background: var(--s-navy);
  border-radius: var(--s-r-xl);
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 5rem;
}

/* Subtle dot grid on navy banner */
.s-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(243, 108, 33, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

/* Orange glow */
.s-cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(243, 108, 33, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.s-cta-banner-title {
  font-family: var(--s-font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  color: #ffffff;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.s-cta-banner-sub {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.70);
  max-width: 440px;
  margin-inline: auto;
  margin-bottom: 2rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.s-cta-banner .s-btn-primary {
  position: relative;
  z-index: 1;
}

/* ── Footer ────────────────────────────────────────────────── */
.s-footer {
  background: var(--s-bg-soft);
  border-top: 1px solid var(--s-border);
  padding: 3rem 0 2rem;
  margin-top: 0;
}

.s-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.s-footer-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.s-footer-brand img {
  height: 52px;
  width: auto;
  display: block;
  opacity: 0.95;
  transition: opacity var(--s-ease);
}

.s-footer-brand:hover img,
.s-footer-brand:focus-visible img {
  opacity: 1;
}

.s-footer-brand:focus-visible {
  outline: 2px solid var(--s-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.s-footer-copy {
  font-size: 0.8125rem;
  color: var(--s-text-faint);
  text-align: center;
}

.s-footer-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.s-footer-links a {
  font-size: 0.8125rem;
  color: var(--s-text-faint);
  text-decoration: none;
  transition: color var(--s-ease);
}

.s-footer-links a:hover,
.s-footer-links a:focus-visible {
  color: var(--s-navy);
}

.s-footer-links a:focus-visible {
  outline: 2px solid var(--s-orange);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Discrete employee access link */
.s-footer-links .s-link-admin {
  color: var(--s-text-faint);
  border-left: 1px solid var(--s-border);
  padding-left: 1.25rem;
}

.s-footer-links .s-link-admin:hover {
  color: var(--s-navy);
}

/* ── Keyframe animations ───────────────────────────────────── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── "Próximamente" page ───────────────────────────────────── */
.s-soon-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.s-soon-logo img {
  height: 72px;
  width: auto;
}

/* ── Dark Mode — Token Overrides ──────────────────────────────── */
/*
   Dark Palette (Innfortec nocturno):
   Base bg       #0E0F22  — deep navy-charcoal
   Soft surface  #13152E  — slightly lighter for alt sections
   Card bg       #181A35  — card surface
   Card hi       #1E2040  — hovered card
   Navy tokens lighten to lavender-white for legibility on dark bg
   Text          #E8E9F2  — light lavender-white (body)
   Text muted    #9EA0BE  — cool gray-lavender (secondary)
   Text faint    #5C5E80  — subtle hints
   Orange        #F36C21  — stays pure, pops on dark
*/
:root[data-theme="dark"] {
  /* Backgrounds */
  --s-bg:           #0E0F22;
  --s-bg-soft:      #13152E;
  --s-bg-card:      #181A35;
  --s-bg-card-hi:   #1E2040;
  --s-bg-navy:      #1E2040;

  /* Brand — orange stays; navy tokens lighten for dark bg legibility */
  --s-orange:       #F36C21;
  --s-orange-dark:  #D45A12;
  --s-orange-light: rgba(243, 108, 33, 0.14);
  --s-orange-line:  rgba(243, 108, 33, 0.35);
  --s-navy:         #F2F3FA;
  --s-navy-mid:     #C7CAEA;
  --s-navy-light:   rgba(168, 174, 221, 0.12);
  --s-navy-line:    rgba(168, 174, 221, 0.22);

  /* Text */
  --s-text:         #ECEDF5;
  --s-text-muted:   #AFB2CE;
  --s-text-faint:   #74769A;
  --s-text-inv:     #0E0F22;

  /* Borders */
  --s-border:       rgba(168, 174, 221, 0.12);
  --s-border-hi:    rgba(168, 174, 221, 0.25);

  /* Shadows — deeper on dark */
  --s-shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.30), 0 1px 2px rgba(0, 0, 0, 0.20);
  --s-shadow:     0 4px 16px rgba(0, 0, 0, 0.40), 0 1px 4px rgba(0, 0, 0, 0.25);
  --s-shadow-lg:  0 12px 40px rgba(0, 0, 0, 0.55), 0 4px 12px rgba(0, 0, 0, 0.30);
}

/* Dark header — translucent deep navy */
[data-theme="dark"] .s-header {
  background: rgba(14, 15, 34, 0.88);
  border-bottom-color: rgba(168, 174, 221, 0.10);
}

[data-theme="dark"] .s-header.scrolled {
  background: rgba(14, 15, 34, 0.97);
}

/* Dark mobile menu overlay */
[data-theme="dark"] .s-mobile-menu {
  background: rgba(14, 15, 34, 0.98);
}

/* Dark hero dot-grid — subtle lavender dots */
[data-theme="dark"] .s-hero {
  background-image: radial-gradient(circle, rgba(168, 174, 221, 0.06) 1px, transparent 1px);
}

[data-theme="dark"] .s-hero::before {
  background: linear-gradient(180deg, rgba(168, 174, 221, 0.04) 0%, transparent 100%);
}

/* Dark featured card — orange tint on dark surface */
[data-theme="dark"] .s-card-featured {
  border-color: rgba(243, 108, 33, 0.30);
  background: linear-gradient(135deg, rgba(243, 108, 33, 0.07), rgba(24, 26, 53, 1));
}

/* CTA banner in dark mode: use card surface + subtle border */
[data-theme="dark"] .s-cta-banner {
  background: #181A35;
  border: 1px solid rgba(168, 174, 221, 0.15);
}

/* Dark footer */
[data-theme="dark"] .s-footer {
  background: #0A0B1A;
  border-top-color: rgba(168, 174, 221, 0.10);
}

/* Admin link separator in dark mobile footer */
[data-theme="dark"] .s-footer-links .s-link-admin {
  border-left-color: rgba(168, 174, 221, 0.12);
}

/* ── Logo backdrop in dark mode ───────────────────────────────── *
   The color logo has a navy "fortec" wordmark that disappears on
   dark backgrounds. A white pill-shaped backdrop keeps it legible.
   Applied to header, footer, and proximamente logo.
*/
/* Logo: variante a color (claro) y variante aclarada (oscuro). Ambas
   transparentes, SIN caja. Se intercambian según el tema. */
img.s-logo-dark { display: none; }
[data-theme="dark"] img.s-logo-light { display: none; }
[data-theme="dark"] img.s-logo-dark { display: block; }

/* Efecto hover del logo: escala suave + brillo naranja */
.s-wordmark img,
.s-footer-brand img {
  transition: transform var(--s-ease-bounce), filter var(--s-ease), opacity var(--s-ease);
  transform-origin: left center;
  will-change: transform;
}
.s-wordmark:hover img,
.s-wordmark:focus-visible img,
.s-footer-brand:hover img,
.s-footer-brand:focus-visible img {
  transform: scale(1.06);
  filter: drop-shadow(0 6px 14px rgba(243, 108, 33, 0.45));
}
@media (prefers-reduced-motion: reduce) {
  .s-wordmark:hover img,
  .s-footer-brand:hover img,
  .s-wordmark:focus-visible img,
  .s-footer-brand:focus-visible img {
    transform: none;
  }
}

/* ── Theme Toggle Button ──────────────────────────────────────── */
.s-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--s-border);
  border-radius: var(--s-r-sm);
  cursor: pointer;
  color: var(--s-text-muted);
  flex-shrink: 0;
  transition:
    border-color var(--s-ease),
    background var(--s-ease),
    color var(--s-ease);
  position: relative;
  overflow: hidden;
}

.s-theme-toggle:hover,
.s-theme-toggle:focus-visible {
  border-color: var(--s-orange-line);
  background: var(--s-orange-light);
  color: var(--s-orange);
}

.s-theme-toggle:focus-visible {
  outline: 2px solid var(--s-orange);
  outline-offset: 2px;
}

/* Icon slots — crossfade between sun (light) and moon (dark) */
.s-theme-toggle .s-toggle-icon {
  position: absolute;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 200ms ease, transform 200ms ease;
}

.s-theme-toggle .s-toggle-sun  { opacity: 1; transform: scale(1) rotate(0deg); }
.s-theme-toggle .s-toggle-moon { opacity: 0; transform: scale(0.6) rotate(-30deg); }

[data-theme="dark"] .s-theme-toggle .s-toggle-sun  { opacity: 0; transform: scale(0.6) rotate(30deg); }
[data-theme="dark"] .s-theme-toggle .s-toggle-moon { opacity: 1; transform: scale(1) rotate(0deg); }

/* Mobile menu theme toggle — full-width row style */
.s-mobile-menu .s-theme-toggle {
  width: 100%;
  height: 52px;
  border-radius: var(--s-r);
  justify-content: flex-start;
  padding-inline: 1.25rem;
  gap: 0.875rem;
  font-family: var(--s-font-body);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--s-navy);
  overflow: visible;
}

.s-mobile-menu .s-theme-toggle .s-toggle-icon {
  position: static;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.s-mobile-toggle-label {
  /* Label text inside mobile toggle */
}

/* ── Mobile Breakpoints ────────────────────────────────────── */
@media (max-width: 768px) {
  /* Hide desktop nav, show hamburger */
  .s-nav-links,
  .s-nav-login-desktop {
    display: none;
  }

  .s-hamburger {
    display: flex;
  }

  .s-hero {
    padding: 5rem 0 4rem;
  }

  .s-hero-trust {
    gap: 1.25rem;
    flex-direction: column;
    align-items: center;
  }

  .s-section {
    padding: 4.5rem 0;
  }

  .s-grid {
    grid-template-columns: 1fr;
  }

  .s-contact-grid {
    grid-template-columns: 1fr;
  }

  .s-cta-banner {
    padding: 2.5rem 1.5rem;
  }

  .s-footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .s-footer-links {
    justify-content: center;
  }

  .s-footer-links .s-link-admin {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--s-border);
    padding-top: 0.5rem;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .s-container {
    padding-inline: 1rem;
  }

  .s-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .s-btn-primary,
  .s-btn-ghost {
    justify-content: center;
    width: 100%;
  }

  .s-trust-partners {
    justify-content: center;
  }
}

/* ── Catálogo de productos ─────────────────────────────────── */
.s-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 2rem; }
.s-chip {
  display: inline-flex; align-items: center; padding: .45rem .95rem;
  border-radius: 999px; font-size: .9rem; font-weight: 500;
  text-decoration: none; color: var(--s-text, #231F20);
  background: var(--s-bg-soft, #F8F9FB);
  border: 1px solid var(--s-border, rgba(43,48,126,.12));
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.s-chip:hover { border-color: var(--s-orange, #F36C21); }
.s-chip-active {
  background: var(--s-orange, #F36C21); color: #fff; border-color: var(--s-orange, #F36C21);
}
.s-prod-group {
  display: flex; align-items: center; gap: .6rem;
  font-size: 1.25rem; font-weight: 600; color: var(--s-text, #231F20);
  margin: 2.25rem 0 1.1rem; padding-bottom: .55rem;
  border-bottom: 1px solid var(--s-border, rgba(43,48,126,.12));
}
.s-prod-group:first-of-type { margin-top: .5rem; }
.s-prod-group-count {
  font-size: .8rem; font-weight: 600; color: var(--s-orange, #F36C21);
  background: rgba(243,108,33,.1); border-radius: 999px; padding: .1rem .55rem;
}
.s-prod-card { display: flex; flex-direction: column; }
.s-prod-card .s-card-desc { flex: 1 1 auto; }
.s-prod-img {
  width: 100%; height: 160px; object-fit: cover; border-radius: 12px; margin-bottom: 1rem;
}

/* ── Detalle de producto ───────────────────────────────────── */
.s-prod-back {
  display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1.75rem;
  text-decoration: none; color: var(--s-text-muted, #5C5A6B);
  font-weight: 600; font-size: .9rem;
}
.s-prod-back i { width: 16px; height: 16px; }
.s-prod-back:hover { color: var(--s-orange, #F36C21); }

.s-prod-detail { display: grid; grid-template-columns: 1fr; gap: 2.25rem; align-items: start; }
@media (min-width: 880px) {
  .s-prod-detail { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 3rem; }
  .s-prod-detail-media { position: sticky; top: 6rem; }
}

/* Panel de media */
.s-prod-hero {
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--s-border, rgba(43,48,126,.12));
  box-shadow: var(--s-shadow-sm, 0 1px 3px rgba(0,0,0,.06));
}
.s-prod-hero-img { display: block; width: 100%; height: auto; }
/* Logo de marca / icono sobre fondo oscuro */
.s-prod-hero-brand {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4/3; padding: 2.5rem;
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(243,108,33,.18), transparent 55%),
    linear-gradient(150deg, #1c1f4a 0%, #0f1130 100%);
  border-color: transparent;
}
.s-prod-hero-logo { max-width: 78%; max-height: 56%; object-fit: contain; }
.s-prod-hero-icon { width: 88px; height: 88px; color: var(--s-orange, #F36C21); }

/* Cuerpo de info */
.s-card-tag-accent {
  background: rgba(243,108,33,.1); color: var(--s-orange, #F36C21);
  border-color: rgba(243,108,33,.25); font-weight: 600;
}
.s-prod-detail-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.15;
  margin: 1rem 0 .75rem; color: var(--s-text, #231F20);
}
.s-prod-lead {
  font-size: 1.15rem; line-height: 1.6; font-weight: 500;
  color: var(--s-text, #231F20); margin: 0 0 1.25rem;
}
.s-prod-desc {
  font-size: 1rem; line-height: 1.75; color: var(--s-text-muted, #5C5A6B);
  margin: 0 0 2rem;
}

/* Caja de características */
.s-prod-feats-box {
  background: var(--s-bg-soft, #F8F9FB);
  border: 1px solid var(--s-border, rgba(43,48,126,.12));
  border-radius: 16px; padding: 1.5rem 1.6rem; margin: 0 0 2rem;
}
.s-prod-feats-title {
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--s-text-muted, #5C5A6B); margin: 0 0 1rem;
}
.s-prod-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.s-prod-feats li {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .97rem; line-height: 1.5; color: var(--s-text, #231F20);
}
.s-prod-feats li i {
  flex-shrink: 0; width: 18px; height: 18px; margin-top: .12rem;
  color: var(--s-orange, #F36C21);
}

.s-prod-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
