/* =============================================
   SOLVO — Sistema de diseño (override de Bulma)
   Guía de marca: verde #00AE77 (naturaleza/equilibrio),
                  naranja #FE5000 (vivacidad/fuerza)
   ============================================= */

:root, html[data-theme="light"] {
  /* Forzar tema claro siempre: anula prefers-color-scheme del sistema */
  color-scheme: light only;

  /* Paleta SOLVO */
  --solvo-green:      #00AE77;
  --solvo-green-dark: #008C5F;
  --solvo-green-soft: #E6F7F0;
  --solvo-orange:     #FE5000;
  --solvo-orange-dark:#D44400;
  --solvo-orange-soft:#FFE8DC;
  --solvo-black:      #2C2A29;
  --solvo-teal:       #009EA0;
  --solvo-teal-soft:  #E0F3F3;
  --solvo-red:        #FE002F;
  --solvo-text:       #2C2A29;
  --solvo-muted:      #6B7280;
  --solvo-bg-soft:    #F7F8F7;
  --solvo-border:     #E5E7EB;
  --solvo-radius:     12px;
  --solvo-radius-lg:  16px;
  --solvo-radius-xl:  24px;
  --solvo-ink:        #1A1817;
  --solvo-gradient-brand: linear-gradient(120deg, #00AE77 0%, #009EA0 100%);
  --solvo-shadow-sm:  0 1px 2px rgba(16, 24, 40, 0.04), 0 2px 8px rgba(16, 24, 40, 0.05);
  --solvo-shadow-md:  0 8px 24px rgba(16, 24, 40, 0.08);
  --solvo-shadow-lg:  0 24px 56px rgba(16, 24, 40, 0.16);

  /* Mapeo a variables Bulma 1.0 (HSL) — sin tocar el CDN */
  --bulma-primary-h: 161; --bulma-primary-s: 100%; --bulma-primary-l: 34%;
  --bulma-link-h:    161; --bulma-link-s:    100%; --bulma-link-l:    34%;
  --bulma-warning-h:  18; --bulma-warning-s:  100%; --bulma-warning-l: 50%;
  --bulma-info-h:    181; --bulma-info-s:    100%; --bulma-info-l:    31%;
  --bulma-success-h: 161; --bulma-success-s: 100%; --bulma-success-l: 34%;

  --bulma-navbar-height: 4.5rem;
  --bulma-family-primary: 'Manrope', system-ui, -apple-system, sans-serif;
  --bulma-family-secondary: 'Manrope', system-ui, -apple-system, sans-serif;

  /* Forzar Bulma a usar siempre el esquema claro para fondos, tarjetas y texto */
  --bulma-scheme-main:        #ffffff;
  --bulma-scheme-main-bis:    #fafafa;
  --bulma-scheme-main-ter:    #f5f5f5;
  --bulma-background:         #ffffff;
  --bulma-body-background-color: #ffffff;
  --bulma-body-color:         var(--solvo-text);
  --bulma-text:               var(--solvo-text);
  --bulma-text-strong:        var(--solvo-black);
  --bulma-text-weak:          var(--solvo-muted);
  --bulma-card-background-color: #ffffff;
  --bulma-card-color:         var(--solvo-text);
  --bulma-card-header-background-color: #ffffff;
  --bulma-card-content-background-color: #ffffff;
  --bulma-section-background-color: transparent;
}

/* Ignorar el dark mode del sistema operativo del visitante */
@media (prefers-color-scheme: dark) {
  :root, html[data-theme="light"] {
    color-scheme: light only;
    --bulma-scheme-main: #ffffff;
    --bulma-body-background-color: #ffffff;
    --bulma-card-background-color: #ffffff;
    --bulma-body-color: var(--solvo-text);
  }
}

body {
  background-color: #ffffff;
}

/* Tipografía */
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--solvo-text);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .title, .subtitle, .section-title {
  letter-spacing: -0.01em;
}

/* Navbar */
#main-navbar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--solvo-border);
  transition: box-shadow 0.2s;
}
#main-navbar.has-shadow {
  box-shadow: 0 4px 20px rgba(16, 24, 40, 0.08);
}
#main-navbar { min-height: 4.5rem; }
#main-navbar .navbar-brand,
#main-navbar .navbar-menu { min-height: 4.5rem; }
#main-navbar .navbar-item img.navbar-logo { max-height: none; }
#main-navbar .navbar-start > .navbar-item,
#main-navbar .navbar-start > .has-dropdown > .navbar-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--solvo-black);
}
#main-navbar .navbar-start > a.navbar-item { position: relative; }
#main-navbar .navbar-start > a.navbar-item::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.9rem;
  height: 2px;
  border-radius: 2px;
  background: var(--solvo-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
#main-navbar .navbar-start > a.navbar-item:hover { background: transparent; color: var(--solvo-green-dark); }
#main-navbar .navbar-start > a.navbar-item:hover::after { transform: scaleX(1); }
#main-navbar .navbar-dropdown {
  border-radius: var(--solvo-radius);
  border-top: 3px solid var(--solvo-green);
  box-shadow: var(--solvo-shadow-lg);
  min-width: 300px;
}
.navbar-cta { font-weight: 700; }
.navbar-lang .button { font-weight: 700; }
main { margin-top: 4.5rem; }
.navbar-logo {
  height: 44px;
  max-height: none;
  width: auto;
  display: block;
}
.navbar-burger-logo {
  height: 28px;
  width: auto;
}
.navbar-dropdown-header {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--solvo-muted);
  padding: 0.6rem 1rem 0.3rem;
}
.navbar-item .navbar-item-meta {
  display: block;
  font-size: 0.75rem;
  color: var(--solvo-muted);
  margin-top: 0.1rem;
}

/* Hero */
/* Fondo oscuro de marca (gradiente + malla de puntos) compartido por
   hero, páginas de producto, bandas oscuras y autenticación */
.hero-solvo,
.page-hero,
.section-dark,
.auth-section {
  position: relative;
  background-color: var(--solvo-ink);
  background-image:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(0, 174, 119, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(254, 80, 0, 0.12), transparent 70%);
  overflow: hidden;
}
.hero-solvo::after,
.page-hero::after,
.section-dark::after,
.auth-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.6;
}
.hero-solvo > *,
.page-hero > *,
.section-dark > *,
.auth-section > * { position: relative; z-index: 1; }

.hero-solvo {
  min-height: min(calc(88vh - 4.5rem), 820px);
  display: flex;
  align-items: center;
  padding: 6rem 1.5rem 5rem;
}
.hero-solvo > .container { width: 100%; }
.hero-solvo .title {
  font-size: clamp(2.5rem, 5.6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #ffffff;
}
.hero-solvo .title .accent {
  background: linear-gradient(90deg, #00D18F 0%, #00AE77 45%, #2CC5C7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-solvo .subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #D1D5DB;
  font-weight: 400;
  max-width: 640px;
}
.hero-solvo .button.is-primary {
  background-color: var(--solvo-green);
  border-color: var(--solvo-green);
  font-weight: 600;
}
.hero-solvo .button.is-primary:hover {
  background-color: var(--solvo-green-dark);
  border-color: var(--solvo-green-dark);
}
.hero-solvo .button.is-outlined {
  border-color: rgba(255,255,255,0.5);
  color: #ffffff;
  font-weight: 600;
}
.hero-solvo .button.is-outlined:hover {
  background-color: var(--solvo-orange);
  border-color: var(--solvo-orange);
  color: #ffffff;
}

/* Product cards */
.product-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--solvo-radius-lg);
  border: 1px solid var(--solvo-border);
  background-color: #ffffff;
  color: var(--solvo-text);
  box-shadow: var(--solvo-shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  height: 100%;
}
.product-card::before,
.service-card::before,
.client-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--solvo-gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.product-card:hover::before,
.service-card:hover::before,
.client-card:hover::before { transform: scaleX(1); }
.product-card .title,
.product-card p.title { color: var(--solvo-black); }
.product-card .has-text-grey { color: var(--solvo-muted) !important; }
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 174, 119, 0.18);
  border-color: var(--solvo-green);
}
.product-card--featured {
  border-top: 4px solid var(--solvo-orange);
}
.product-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Icon utility classes — clases legacy mantenidas como alias */
.icon-primary, .icon-blue   { background: var(--solvo-green-soft);  color: var(--solvo-green); }
.icon-teal,    .icon-green  { background: var(--solvo-teal-soft);   color: var(--solvo-teal); }
.icon-orange,  .icon-amber  { background: var(--solvo-orange-soft); color: var(--solvo-orange); }
.icon-neutral, .icon-violet { background: #F3F4F6;                  color: var(--solvo-muted); }

/* Sections */
.section,
.section-alt,
.section-band-green {
  color: var(--solvo-text);
}
.section-alt {
  background-color: var(--solvo-bg-soft);
}
.section-band-green {
  background-image: linear-gradient(180deg, var(--solvo-green-soft) 0%, #ffffff 100%);
  background-color: #ffffff;
}
.section-title {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--solvo-black);
}
.section-title--with-logo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 0.85rem;
}
.section-title__logo {
  height: 0.9em;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: 0.05em;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--solvo-green-dark);
  background-color: var(--solvo-green-soft);
  border: 1px solid rgba(0, 174, 119, 0.25);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1rem;
}
.section-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--solvo-orange);
}
.section-subtitle {
  color: var(--solvo-muted);
  font-size: 1.12rem;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
}

/* Code block */
.code-block {
  background: #1A1817;
  color: #E5E7EB;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  font-family: 'Fira Mono', 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  border: 1px solid #2C2A29;
}
.code-block .keyword { color: #5EE3B4; }
.code-block .string  { color: #FFB088; }
.code-block .comment { color: #6B7280; }
.code-block .builtin { color: #FFD18A; }

/* Banner PyLatam (legacy — conservar por compatibilidad) */
.pylatam-banner {
  background: linear-gradient(90deg, var(--solvo-green) 0%, var(--solvo-teal) 100%);
  border-radius: var(--solvo-radius-lg);
  color: white;
  padding: 2.5rem;
}
.pylatam-banner .tag-badge {
  background: rgba(255, 255, 255, 0.18);
  color: white;
  border-radius: 20px;
  padding: 0.25rem 0.85rem;
  font-size: 0.8rem;
  display: inline-block;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

/* Tarjeta PyCon Latam */
.pylatam-card {
  background-color: #ffffff;
  border: 1px solid var(--solvo-border);
  border-radius: var(--solvo-radius-lg);
  padding: 2.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.pylatam-logo {
  max-width: 320px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: transform 0.2s;
}
.pylatam-logo:hover {
  transform: scale(1.03);
}
.pylatam-card__hashtag {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--solvo-muted);
}
.pylatam-card__lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--solvo-text);
}
.pylatam-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pylatam-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--solvo-border);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--solvo-text);
}
.pylatam-bullets li:first-child { border-top: 0; }
.pylatam-bullets li i {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--solvo-green-soft);
  color: var(--solvo-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.pylatam-bullets li strong {
  color: var(--solvo-black);
  font-weight: 700;
}
@media (max-width: 768px) {
  .pylatam-card { padding: 1.5rem; }
  .pylatam-logo { max-width: 220px; }
}

/* Marco con click-to-play para video de presentación */
.video-frame {
  position: relative;
  border-radius: var(--solvo-radius-lg);
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
  border: 1px solid var(--solvo-border);
  aspect-ratio: 16 / 9;
}
.video-frame__cover {
  position: relative;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--solvo-bg-soft) 100%);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: background-color 0.2s;
}
.video-frame__cover:hover {
  background: linear-gradient(180deg, #ffffff 0%, var(--solvo-green-soft) 100%);
}
.video-frame__cover img {
  max-width: 70%;
  max-height: 55%;
  object-fit: contain;
  display: block;
}
.video-frame__play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--solvo-green);
  color: #ffffff;
  font-size: 1.4rem;
  box-shadow: 0 8px 20px rgba(0, 174, 119, 0.35);
  transition: transform 0.15s, background-color 0.15s;
}
.video-frame__play i { margin-left: 4px; } /* compensa el triángulo */
.video-frame__cover:hover .video-frame__play {
  background-color: var(--solvo-green-dark);
  transform: scale(1.08);
}
.video-frame__hint {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--solvo-muted);
}
.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: var(--solvo-black);
}
.video-frame.is-playing .video-frame__cover { display: none; }

/* Firmador Libre — showcase multi-SO */
.firmador-showcase {
  background-color: #ffffff;
  border: 1px solid var(--solvo-border);
  border-radius: var(--solvo-radius-lg);
  padding: 1.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.firmador-showcase__header {
  text-align: center;
  margin-bottom: 1.5rem;
}
.firmador-showcase__header img {
  max-width: 200px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 0.75rem;
}
.firmador-showcase__caption {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--solvo-muted);
}
.firmador-os-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.firmador-os {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
}
.firmador-os__shot {
  border: 1px solid var(--solvo-border);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--solvo-bg-soft);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, transform 0.15s;
}
.firmador-os__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.firmador-os:hover .firmador-os__shot {
  border-color: var(--solvo-green);
  transform: translateY(-2px);
}
.firmador-os figcaption {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--solvo-text);
  text-align: center;
  letter-spacing: 0.02em;
}
@media (max-width: 500px) {
  .firmador-os-grid { grid-template-columns: 1fr; }
}

/* Carrusel Organilab — capturas en movimiento */
.organilab-carousel {
  background-color: #ffffff;
  border: 1px solid var(--solvo-border);
  border-radius: var(--solvo-radius-lg);
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.organilab-carousel__stage {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--solvo-bg-soft);
  border: 1px solid var(--solvo-border);
}
.organilab-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.organilab-slide.is-active {
  opacity: 1;
  visibility: visible;
}
.organilab-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.organilab-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.6rem 0.85rem;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(44,42,41,0.82) 100%);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.organilab-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.85rem;
}
.organilab-carousel__arrow {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--solvo-border);
  background-color: #ffffff;
  color: var(--solvo-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}
.organilab-carousel__arrow:hover {
  border-color: var(--solvo-teal);
  color: var(--solvo-teal);
  background-color: var(--solvo-teal-soft);
}
.organilab-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex: 1 1 auto;
}
.organilab-carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background-color: var(--solvo-border);
  cursor: pointer;
  transition: background-color 0.15s, transform 0.15s;
}
.organilab-carousel__dot:hover { background-color: var(--solvo-muted); }
.organilab-carousel__dot.is-active {
  background-color: var(--solvo-teal);
  transform: scale(1.3);
}

/* Caja de captura placeholder (mientras existen screenshots) */
.screenshot-placeholder {
  border: 2px dashed var(--solvo-border);
  background: var(--solvo-bg-soft);
  border-radius: var(--solvo-radius);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--solvo-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 1.5rem;
}

/* ============ Páginas de autenticación (login / reset password) ============ */
.auth-section {
  min-height: calc(100vh - 4.5rem);
  padding: 4rem 1.5rem 6rem;
}

.auth-card {
  background-color: #ffffff;
  color: var(--solvo-text);
  border-radius: var(--solvo-radius-lg);
  padding: 2.5rem 2rem 1.75rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  border: 1px solid var(--solvo-border);
}
.auth-card__header {
  text-align: center;
  margin-bottom: 1.75rem;
}
.auth-card__logo {
  display: block;
  width: auto;
  height: 38px;
  margin: 0 auto 1.25rem;
}
.auth-card__icon-success,
.auth-card__icon-error {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  font-size: 1.8rem;
}
.auth-card__icon-success {
  background-color: var(--solvo-green-soft);
  color: var(--solvo-green);
}
.auth-card__icon-error {
  background-color: var(--solvo-orange-soft);
  color: var(--solvo-orange-dark);
}
.auth-card__title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--solvo-black);
  letter-spacing: -0.01em;
  margin: 0.4rem 0 0.3rem;
}
.auth-card__subtitle {
  color: var(--solvo-muted);
  font-size: 0.92rem;
}
.auth-form .label {
  color: var(--solvo-text);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.auth-form .input {
  background-color: #ffffff;
  color: var(--solvo-text);
  border-color: var(--solvo-border);
}
.auth-form .input:focus,
.auth-form .input:active {
  border-color: var(--solvo-green);
  box-shadow: 0 0 0 3px rgba(0, 174, 119, 0.18);
}
.auth-card__link {
  color: var(--solvo-green);
  font-weight: 600;
}
.auth-card__link:hover {
  color: var(--solvo-green-dark);
  text-decoration: underline;
}
.auth-card__footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--solvo-border);
  text-align: center;
}
.auth-card__footer a:hover { color: var(--solvo-green) !important; }

/* Bloque expandible para detalles del demo */
.demo-toggle .checkbox {
  font-weight: 600;
  color: var(--solvo-text);
}
.demo-toggle .checkbox input { margin-right: 0.4rem; }
.demo-block {
  background-color: var(--solvo-green-soft);
  border: 1px solid var(--solvo-green);
  border-radius: var(--solvo-radius);
  padding: 1.25rem 1.25rem 0.5rem;
  margin: 0.5rem 0 1.25rem;
  animation: fadeInSoft 0.25s ease;
}
.demo-block__head {
  color: var(--solvo-green-dark);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
@keyframes fadeInSoft {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Contact section */
.contact-section {
  background-color: var(--solvo-bg-soft);
}
.contact-card {
  background-color: #ffffff;
  color: var(--solvo-text);
  border-radius: var(--solvo-radius-lg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  border: 1px solid var(--solvo-border);
}
.contact-card .title { color: var(--solvo-black); }
.contact-card label,
.contact-card .label { color: var(--solvo-text); }
.contact-card input,
.contact-card textarea,
.contact-card .input,
.contact-card .textarea {
  background-color: #ffffff;
  color: var(--solvo-text);
  border-color: var(--solvo-border);
}

/* Animate.css triggers on scroll */
.animate-on-scroll {
  opacity: 0;
}
.animate-on-scroll.animated {
  opacity: 1;
}

/* Supported project badge */
.supported-badge {
  background: var(--solvo-orange-soft);
  color: var(--solvo-orange-dark);
  border: 1px solid #FCC8AB;
  border-radius: 6px;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Servicios profesionales: tarjetas livianas */
.service-card {
  position: relative;
  overflow: hidden;
  box-shadow: var(--solvo-shadow-sm);
  background-color: #ffffff;
  color: var(--solvo-text);
  border: 1px solid var(--solvo-border);
  border-radius: var(--solvo-radius);
  padding: 1.75rem;
  height: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-card .title { color: var(--solvo-black); }
.service-card .has-text-grey { color: var(--solvo-muted) !important; }
.service-card:hover {
  border-color: var(--solvo-green);
  box-shadow: 0 6px 20px rgba(0, 174, 119, 0.10);
}
.service-card .service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: var(--solvo-green-soft);
  color: var(--solvo-green);
  margin-bottom: 1rem;
}

/* Footer */
.footer-solvo {
  background-color: var(--solvo-ink);
  color: #D1D5DB;
  padding: 4.5rem 1.5rem 2rem;
  border-top: 4px solid transparent;
  border-image: var(--solvo-gradient-brand) 1;
}
.footer-solvo .footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
}
.footer-solvo h4 {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-solvo a {
  color: #D1D5DB;
  transition: color 0.15s;
}
.footer-solvo a:hover {
  color: var(--solvo-green);
}
.footer-solvo .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #9CA3AF;
}

/* Tarjeta de caso de cliente */
.client-card {
  position: relative;
  overflow: hidden;
  box-shadow: var(--solvo-shadow-sm);
  background-color: #ffffff;
  color: var(--solvo-text);
  border: 1px solid var(--solvo-border);
  border-radius: var(--solvo-radius-lg);
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.client-card:hover {
  border-color: var(--solvo-green);
  box-shadow: 0 12px 32px rgba(0, 174, 119, 0.12);
  transform: translateY(-2px);
}
.client-card__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.client-card__head .card-icon {
  width: 48px;
  height: 48px;
  font-size: 1.25rem;
  margin: 0;
}
.client-card__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--solvo-muted);
}
.client-card__name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--solvo-black);
  letter-spacing: -0.01em;
  margin-bottom: 0.65rem;
}
.client-card__desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--solvo-muted);
  margin-bottom: 1rem;
  flex-grow: 1;
}
.client-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--solvo-green);
  text-decoration: none;
  align-self: flex-start;
}
.client-card__link:hover {
  color: var(--solvo-green-dark);
  text-decoration: underline;
}

/* Cliente / logos placeholder (legacy, conservar) */
.client-logo {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--solvo-text);
  letter-spacing: 0.04em;
  border: 1px solid var(--solvo-border);
  border-radius: 8px;
  padding: 0.5rem 1.25rem;
  background-color: #ffffff;
  font-size: 0.95rem;
  transition: border-color 0.15s, color 0.15s;
}
a:hover .client-logo {
  border-color: var(--solvo-green);
  color: var(--solvo-green);
}


/* =============================================
   Presencia corporativa — botones, bandas y bloques de impacto
   ============================================= */

/* Botones */
.button.is-primary {
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 174, 119, 0.28);
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.button.is-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 174, 119, 0.36);
}
.button.is-accent {
  background-color: var(--solvo-orange);
  border-color: var(--solvo-orange);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(254, 80, 0, 0.30);
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.button.is-accent:hover,
.button.is-accent:focus {
  background-color: var(--solvo-orange-dark);
  border-color: var(--solvo-orange-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(254, 80, 0, 0.38);
}
.button.is-ghost-light {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-weight: 600;
}
.button.is-ghost-light:hover {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
  color: #ffffff;
}

/* Hero: badge, chips de confianza y visual */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1rem 0.4rem 0.5rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #E5E7EB;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge__dot {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background-color: var(--solvo-green);
  color: #ffffff;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #D1D5DB;
  font-size: 0.82rem;
  font-weight: 600;
}
.trust-chip i { color: var(--solvo-green); }
.hero-visual {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 400px);
  aspect-ratio: 1;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 174, 119, 0.35) 0%, rgba(0, 174, 119, 0) 70%);
  filter: blur(8px);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  animation: solvoSpin 60s linear infinite;
}
.hero-visual img {
  position: relative;
  z-index: 1;
  width: 78%;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
}
@keyframes solvoSpin { to { transform: rotate(360deg); } }

/* Franja de clientes bajo el hero */
.trust-strip {
  background-color: #ffffff;
  border-bottom: 1px solid var(--solvo-border);
  padding: 1.75rem 1.5rem;
}
.trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2.5rem;
}
.trust-strip__label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--solvo-muted);
}
.trust-strip__name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #9CA3AF;
  transition: color 0.15s;
  white-space: nowrap;
}
.trust-strip__name:hover { color: var(--solvo-black); }

/* Banda de cifras */
.stats-band {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 1.5rem;
  background: var(--solvo-gradient-brand);
}
.stats-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.stats-band > * { position: relative; z-index: 1; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat {
  text-align: center;
  padding: 0.5rem 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}
.stat:first-child { border-left: 0; }
.stat__value {
  display: block;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}
.stat__value .stat__affix { color: rgba(255, 255, 255, 0.7); }
.stat__label {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

/* Secciones oscuras: tipografía y tarjetas */
.section-dark { color: #D1D5DB; }
.section-dark .section-title,
.section-dark .title { color: #ffffff; }
.section-dark .section-subtitle,
.section-dark .has-text-grey { color: #9CA3AF !important; }
.section-dark .section-eyebrow {
  color: #5EE3B4;
  background-color: rgba(0, 174, 119, 0.12);
  border-color: rgba(0, 174, 119, 0.35);
}
.section-dark .product-card {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: none;
  backdrop-filter: blur(4px);
}
.section-dark .product-card .title,
.section-dark .product-card p.title { color: #ffffff; }
.section-dark .product-card .has-text-grey { color: #9CA3AF !important; }
.section-dark .product-card:hover {
  border-color: rgba(0, 174, 119, 0.6);
  background-color: rgba(255, 255, 255, 0.07);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.section-dark .icon-primary,
.section-dark .icon-blue {
  background: rgba(0, 174, 119, 0.15);
  color: #5EE3B4;
}
.section-dark .button.is-light {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.section-dark .button.is-light:hover {
  background-color: rgba(255, 255, 255, 0.16);
}

/* Fondo suave de marca para alternar ritmo */
.section-tint {
  background-color: #ffffff;
  background-image:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(0, 174, 119, 0.08), transparent 70%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(254, 80, 0, 0.05), transparent 70%);
}

/* Servicios numerados */
.service-card__num {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--solvo-green-soft);
  -webkit-text-stroke: 1px rgba(0, 174, 119, 0.35);
}

/* Contacto en dos paneles */
.contact-split {
  border-radius: var(--solvo-radius-xl);
  overflow: hidden;
  box-shadow: var(--solvo-shadow-lg);
  background-color: #ffffff;
  border: 1px solid var(--solvo-border);
}
.contact-split > .columns { margin: 0; }
.contact-split > .columns > .column.contact-split__aside,
.contact-split > .columns > .column.contact-split__form {
  padding: 3rem 2.5rem !important;
}
.contact-split__aside .section-title { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.contact-points {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}
.contact-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #D1D5DB;
  font-size: 0.95rem;
}
.contact-points li:first-child { border-top: 0; }
.contact-points li i {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background-color: rgba(0, 174, 119, 0.15);
  color: #5EE3B4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-points strong { color: #ffffff; display: block; }
.contact-split__form .label { color: var(--solvo-text); }
.contact-split__form .input,
.contact-split__form .textarea,
.contact-split__form input,
.contact-split__form textarea,
.contact-split__form select {
  background-color: #ffffff;
  color: var(--solvo-text);
  border-color: var(--solvo-border);
}

/* Hero de páginas internas (productos / soluciones) */
.page-hero {
  padding: 2rem 1.5rem 5rem;
}
.page-hero .breadcrumb { margin-bottom: 2.5rem; }
.page-hero .breadcrumb a { color: #9CA3AF; }
.page-hero .breadcrumb a:hover { color: #ffffff; }
.page-hero .breadcrumb li + li::before { color: #4B5563; }
.page-hero .breadcrumb li.is-active a { color: #ffffff; }
.page-hero .title {
  color: #ffffff;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.page-hero .subtitle,
.page-hero .has-text-grey { color: #D1D5DB !important; line-height: 1.6; }
.page-hero .section-eyebrow,
.page-hero .tag {
  color: #5EE3B4;
  background-color: rgba(0, 174, 119, 0.12);
  border: 1px solid rgba(0, 174, 119, 0.35);
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.page-hero .button.is-light {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}
.page-hero .button.is-light:hover {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
}
.page-hero__visual {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 220px;
  border-radius: 48px;
  background: linear-gradient(145deg, rgba(0, 174, 119, 0.28), rgba(0, 158, 160, 0.10));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 16px rgba(255, 255, 255, 0.02), 0 30px 60px rgba(0, 0, 0, 0.40);
  color: #ffffff;
  font-size: 5.5rem;
  transform: rotate(-4deg);
}
.page-hero__visual i { transform: rotate(4deg); }
.page-hero__visual img {
  max-width: 70%;
  max-height: 70%;
  transform: rotate(4deg);
  background-color: #ffffff;
  border-radius: 16px;
  padding: 0.75rem;
}

/* CTA a todo ancho al cierre de las páginas */
.cta-band {
  background: var(--solvo-gradient-brand);
  color: #ffffff;
  padding: 4.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band .title {
  color: #ffffff;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cta-band .subtitle,
.cta-band .has-text-grey {
  color: rgba(255, 255, 255, 0.88) !important;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.cta-band .button.is-primary,
.cta-band .button.is-success {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--solvo-green-dark);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
.cta-band .button.is-primary:hover,
.cta-band .button.is-success:hover {
  background-color: var(--solvo-ink);
  border-color: var(--solvo-ink);
  color: #ffffff;
}

/* Empleos (/jobs) */
.jobs-english {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.98rem;
  color: var(--solvo-text);
}
.jobs-english i {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--solvo-orange-soft);
  color: var(--solvo-orange-dark);
  font-size: 1.1rem;
}
.job-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid var(--solvo-border);
  border-left: 4px solid var(--solvo-green);
  border-radius: var(--solvo-radius-lg);
  box-shadow: var(--solvo-shadow-sm);
  padding: 2rem 2.25rem;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.job-card:hover {
  box-shadow: var(--solvo-shadow-md);
  transform: translateY(-2px);
}
.job-card--empty { border-left-width: 1px; padding: 3rem 2rem; }
.job-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.job-card__title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--solvo-black);
  margin: 0.25rem 0 0.5rem;
}
.job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--solvo-muted);
}
.job-card__meta i { color: var(--solvo-green); margin-right: 0.4rem; }
.job-card__summary {
  color: var(--solvo-text);
  line-height: 1.65;
  max-width: 820px;
}
.job-card__summary p + p { margin-top: 0.6rem; }
.job-card__meta .job-card__deadline { color: var(--solvo-orange-dark); }
.job-card__meta .job-card__deadline i { color: var(--solvo-orange); }
.job-card__details {
  margin-top: 1rem;
  border: 1px solid var(--solvo-border);
  border-radius: var(--solvo-radius);
  background-color: var(--solvo-bg-soft);
}
.job-card__details summary {
  cursor: pointer;
  padding: 0.75rem 1rem;
  font-weight: 700;
  color: var(--solvo-green-dark);
}
.job-card__details[open] summary { border-bottom: 1px solid var(--solvo-border); }
.job-card__description {
  padding: 1rem 1.25rem;
  line-height: 1.65;
  color: var(--solvo-text);
}
.job-card__description p + p { margin-top: 0.75rem; }
.job-card__subtitle {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--solvo-green-dark);
  margin-bottom: 0.6rem;
}
.job-list { list-style: none; margin: 0; padding: 0; }
.job-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.3rem 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--solvo-text);
}
.job-list li i { color: var(--solvo-green); margin-top: 0.25rem; flex: 0 0 auto; width: 1rem; }
.job-list__english {
  margin-top: 0.35rem;
  padding: 0.5rem 0.75rem !important;
  border-radius: 8px;
  background-color: var(--solvo-orange-soft);
  font-weight: 700;
}
.job-list .job-list__english i { color: var(--solvo-orange-dark); }
@media (max-width: 768px) {
  .job-card { padding: 1.5rem 1.25rem; }
}

/* Footer: columna de contacto */
.footer-contact li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.footer-contact i { color: var(--solvo-green); margin-top: 0.2rem; width: 1rem; }
.footer-solvo .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-right: 0.4rem;
  transition: background-color 0.15s, color 0.15s;
}
.footer-solvo .footer-social a:hover {
  background-color: var(--solvo-green);
  color: #ffffff;
}

/* Responsive */
@media (max-width: 1023px) {
  #main-navbar .navbar-start > a.navbar-item::after { display: none; }
  .navbar-menu.is-active { box-shadow: var(--solvo-shadow-lg); }
}
@media (max-width: 768px) {
  .hero-solvo { min-height: 0; padding: 4rem 1rem 3.5rem; }
  .pylatam-banner { padding: 1.75rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .stat { border-left: 0; }
  .page-hero { padding: 1.5rem 1rem 3.5rem; }
  .page-hero__visual { width: 150px; height: 150px; font-size: 3.75rem; border-radius: 32px; margin-top: 1rem; }
  .contact-split > .columns > .column.contact-split__aside,
  .contact-split > .columns > .column.contact-split__form { padding: 2rem 1.25rem !important; }
  .trust-strip__inner { gap: 0.75rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual::after { animation: none; }
  .animate-on-scroll { opacity: 1; }
  .animate__animated { animation: none !important; }
  .button.is-primary:hover,
  .button.is-accent:hover,
  .product-card:hover,
  .client-card:hover { transform: none; }
}

/* Que el navbar fijo no tape el destino al saltar a un ancla o tras el swap htmx del formulario */
html { scroll-padding-top: 5.5rem; }
