/*
Theme Name:  Onix SA
Theme URI:   https://www.onixsa.com.ar/
Author:      Onix Buenos Aires S.A.
Description: Theme institucional a medida para Onix SA — ingeniería de software para la industria farmacéutica. Sitio de páginas fijas (sin blog): home, empresa, productos (SIRF, Onix, OnixLab, OnixSoft), contacto y solicitud de demo.
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: onix
Tags: institucional, one-page, custom-templates
*/

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

:root {
  --navy: #001c34;
  --navy-mid: #0a3a5c;
  --orange: #ff8c00;
  --orange-dark: #e67e00;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-700: #334155;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html { font-size: 19px; scroll-behavior: auto; } /* 1.2× base: todos los rem escalan */

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--navy);
  background-color: #fff;
  background-image:
    linear-gradient(rgba(0,28,52,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,28,52,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  overflow-x: hidden;
  line-height: 1.6;
}

.grecaptcha-badge{visibility: hidden;}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 0 2rem;
  transition: all 0.35s var(--ease);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(28px);
  box-shadow: 0 1px 0 rgba(0,28,52,0.08);
}

nav.scrolled { background: rgba(255,255,255,0.97);
  backdrop-filter: blur(28px);
  box-shadow: 0 1px 0 rgba(0,28,52,0.08);}

/* Nav sólido por defecto en todas las páginas (ver arriba). Solo el Home
   tiene hero claro y arranca con el nav transparente, hasta que se scrollea. */
.page-home .nav:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

/* Hamburger visible sobre cualquier fondo en páginas internas (nav blanco → barras navy ✓)
   En page-home el hero es claro, pero si el nav es transparente aseguramos visibilidad */
.page-home .nav-burger {
  background: white;
  border-color: var(--gray-200);
  box-shadow: 0 2px 8px rgba(0,28,52,0.08);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; height: 100px;
}
.nav.scrolled .nav-inner { height: 82px; }

/* Logo */
.nav-logo {
  display: flex; align-items: center; flex-shrink: 0;
  text-decoration: none;
}
.nav-logo svg { height: 50px; width: auto; transition: height 0.35s var(--ease); }
.nav.scrolled .nav-logo svg { height: 40px; }

/* Desktop links */
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; flex: 1; justify-content: center; }
.nav-links a {
  text-decoration: none; color: var(--navy); font-size: 0.875rem; font-weight: 600;
  padding: 0.5rem 1rem; border-radius: 8px;
  transition: all 0.2s var(--ease); white-space: nowrap;
}
.nav-links a:hover { color: var(--orange); background: rgba(255,140,0,0.07); }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: 30px /*calc(100% + 0.75rem)*/; left: 50%; transform: translateX(-50%) translateY(-8px);
  background: white; border-radius: 16px;
  box-shadow: 0 8px 48px rgba(0,28,52,0.13); border: 1px solid var(--gray-100);
  padding: 0.625rem; min-width: 200px;
  opacity: 0; pointer-events: none;
  transition: all 0.25s var(--ease);
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.7rem 1rem; border-radius: 10px; font-size: 0.875rem; font-weight: 600;
  color: var(--navy); text-decoration: none; margin-bottom: 2px;
  transition: all 0.18s;
}
.nav-dropdown-menu a span {color:var(--gray-500);}
.nav-dropdown-menu a:hover { background: var(--gray-50); color: var(--orange); }
.nav-dropdown-menu .dd-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}

/* Right cluster */
.nav-right { display: flex; align-items: center; gap: 0.875rem; flex-shrink: 0; }
.btn-login {
  font-size: 0.85rem; font-weight: 700; color: var(--navy);
  text-decoration: none; padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--gray-200); border-radius: 9px;
  transition: all 0.2s var(--ease); white-space: nowrap;
}
.btn-login:hover { background: var(--navy); color: white; border-color: var(--navy); }

/* Hamburger */
.nav-burger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--gray-50); border: 1.5px solid var(--gray-100);
  cursor: pointer; gap: 5px; transition: all 0.2s;
}
.nav-burger:hover { background: var(--gray-100); }
.nav-burger span {
  display: block; width: 20px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: all 0.3s var(--ease); transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE DRAWER ── */
.mobile-overlay {
  position: fixed; inset: 0; z-index: 950;
  background: rgba(0,28,52,0.5); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }

.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 960;
  width: min(340px, 90vw);
  background: white; box-shadow: -8px 0 60px rgba(0,28,52,0.15);
  transform: translateX(100%); transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 1.75rem; border-bottom: 1px solid var(--gray-100);
}
.mobile-nav-head svg { height: 38px; width: auto; }
.mobile-close {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--gray-50); border: 1.5px solid var(--gray-100);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 1rem; transition: all 0.2s;
}
.mobile-close:hover { background: var(--navy); color: white; border-color: var(--navy); }

.mobile-links {
  list-style: none; padding: 1.25rem 1rem; flex: 1;
  display: flex; flex-direction: column; gap: 0.25rem;
}
.mobile-links > li > a,
.mobile-sub-toggle {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.875rem 1rem; border-radius: 12px; width: 100%;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1rem; font-weight: 700;
  color: var(--navy); text-decoration: none; cursor: pointer;
  background: none; border: none; transition: all 0.2s;
}
.mobile-links > li > a:hover,
.mobile-sub-toggle:hover { background: var(--gray-50); color: var(--orange); }

.mobile-sub-arrow {
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--gray-100); display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; transition: all 0.25s;
}
.mobile-has-sub.open .mobile-sub-arrow { background: var(--orange); color: white; transform: rotate(180deg); }

.mobile-sub {
  list-style: none; padding: 0.375rem 0 0.375rem 1rem;
  display: none; flex-direction: column; gap: 0.125rem;
}
.mobile-has-sub.open .mobile-sub { display: flex; }
.mobile-sub li a {
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0.7rem 1rem; border-radius: 10px;
  font-size: 0.9rem; font-weight: 600; color: var(--gray-700);
  text-decoration: none; transition: all 0.18s;
}
.mobile-sub li a:hover { background: var(--gray-50); color: var(--orange); }
.mobile-sub .sub-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}

.mobile-footer {
  padding: 1.25rem 1.75rem 2rem;
  border-top: 1px solid var(--gray-100);
}
.mobile-footer .btn-primary { width: 100%; justify-content: center; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.625rem;
  background: var(--orange); color: white;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.95rem; font-weight: 700;
  padding: 0.9rem 2rem; border-radius: 12px; border: none; cursor: pointer;
  text-decoration: none; letter-spacing: -0.01em;
  transition: all 0.25s var(--ease);
  box-shadow: 0 4px 16px rgba(255,140,0,0.25);
}
.btn-primary i { transition: transform 0.22s var(--ease); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(255,140,0,0.38); }
.btn-primary:hover i { transform: translateX(4px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.625rem;
  background: transparent; color: white;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.95rem; font-weight: 700;
  padding: 0.875rem 2rem; border-radius: 12px; border: 1.5px solid rgba(255,255,255,0.3);
  text-decoration: none; letter-spacing: -0.01em;
  transition: all 0.25s var(--ease);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

/* hero-actions wrapper */
.hero-actions {
  display: inline-flex; align-items: center;
  gap: 0; flex-wrap: wrap;
  background: white;
  border: 1.5px solid var(--gray-100);
  border-radius: 16px;
  padding: 0.5rem;
  box-shadow: 0 4px 24px rgba(0,28,52,0.07);
}
.hero-actions .btn-primary {
  border-radius: 10px;
  box-shadow: none;
}
.hero-actions .btn-primary:hover {
  box-shadow: 0 6px 20px rgba(255,140,0,0.3);
}
.hero-sep {
  width: 1px; height: 32px; background: var(--gray-200);
  margin: 0 0.875rem; flex-shrink: 0;
}

.btn-video {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: none; border: none; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.875rem; font-weight: 700;
  color: var(--navy); text-decoration: none; padding: 0.25rem 1rem;
  transition: color 0.2s; white-space: nowrap;
}
.btn-video:hover { color: var(--orange); }

/* Play ring with pulse */
.play-ring {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  transition: all 0.25s var(--ease); flex-shrink: 0;
}
.play-ring::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid rgba(0,28,52,0.15);
  animation: ringpulse 2.5s ease-in-out infinite;
}
@keyframes ringpulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.35); }
}
.btn-video:hover .play-ring { background: var(--orange); transform: scale(1.08); box-shadow: 0 4px 16px rgba(255,140,0,0.35); }
.btn-video:hover .play-ring::before { border-color: rgba(255,140,0,0.3); }
.play-ring svg { width: 13px; fill: white; margin-left: 3px; }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 9rem 2rem 5rem; position: relative; overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(0,28,52,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,28,52,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 100%);
}
.hero-blob {
  position: absolute; top: -20%; right: -5%; width: 55%; height: 90%; pointer-events: none;
  background: radial-gradient(ellipse, rgba(255,140,0,0.07) 0%, transparent 65%);
  animation: blobdrift 9s ease-in-out infinite alternate;
}
@keyframes blobdrift { from { transform: translate(0,0) scale(1); } to { transform: translate(20px,-15px) scale(1.04); } }

.hero-inner {
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,140,0,0.09); color: var(--orange);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.375rem 0.875rem; border-radius: 100px;
  border: 1px solid rgba(255,140,0,0.22); margin-bottom: 1.5rem;
}
.badge-dot { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.7)} }

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.35rem); font-weight: 800;
  line-height: 1.04; letter-spacing: -0.035em; color: var(--navy); margin-bottom: 1.5rem;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .accent {
  color: var(--orange);
  position: relative; display: inline-block;
}
.hero-title .accent::after {
  content: '';
  position: absolute; bottom: 2px; left: 0; right: 0; height: 4px;
  background: var(--orange); border-radius: 2px; opacity: 0.35;
  transform: scaleX(0); transform-origin: left;
  transition: transform 1s cubic-bezier(0.4,0,0.2,1) 0.6s;
}
.hero-title .accent.active::after { transform: scaleX(1); }

.hero-sub {
  font-size: 1.1rem; color: var(--gray-500); line-height: 1.75;
  max-width: 480px; margin-bottom: 2.75rem; font-weight: 400;
}
.hero-actions {align-items: center; gap: 1.75rem; flex-wrap: wrap; }

/* hero right card */
.hero-card {
  background: white; border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0,28,52,0.1); border: 1px solid var(--gray-100);
  padding: 2rem; position: relative;
}
.hero-card-label {
  font-size: 0.72rem; font-weight: 700; color: var(--gray-400);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.live-badge {
  background: rgba(0,200,83,0.1); color: #00a352;
  font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 100px;
}

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.stat-box { background: var(--gray-50); border-radius: 14px; padding: 1.25rem; }
.stat-big {
  font-size: 1.85rem; font-weight: 800; color: var(--navy);
  letter-spacing: -0.04em; line-height: 1;
}
.stat-big .o { color: var(--orange); }
.stat-sm { font-size: 0.75rem;line-height:1rem; color: var(--gray-500); font-weight: 500; margin-top: 0.3rem; }
.bar-label { display: flex; justify-content: space-between; font-size: 0.78rem; font-weight: 600; color: var(--gray-500); margin-bottom: 0.5rem; }
.bar-track { height: 8px; background: var(--gray-100); border-radius: 100px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--orange), #ffaa44); border-radius: 100px; width: 0; transition: width 1.6s cubic-bezier(0.4,0,0.2,1) 1.2s; }

.float-chip {
  position: absolute; background: var(--navy); color: white;
  border-radius: 12px; padding: 0.75rem 1.125rem;
  font-size: 0.78rem; font-weight: 600;
  box-shadow: 0 12px 40px rgba(0,28,52,0.22);
  display: flex; align-items: center; gap: 0.5rem; white-space: nowrap;
}
.float-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.chip-1 { top: -1.25rem; right: -1.5rem; animation: chipfloat 4s ease-in-out infinite; }
.chip-2 { bottom: -1.25rem; left: -1.5rem; animation: chipfloat 4s ease-in-out infinite -2s; }
@keyframes chipfloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ── STATS BAR ── */
.stats { background-color: var(--navy); background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 64px 64px; padding: 4.5rem 2rem; }
.stats-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center;
}
.s-item { position: relative; }
.s-item + .s-item::before {
  content: ''; position: absolute; left: 0; top: 15%; height: 70%; width: 1px;
  background: rgba(255,255,255,0.1);
}
.s-num { font-size: clamp(2rem, 3.5vw, 2.95rem); font-weight: 800; color: white; letter-spacing: -0.04em; line-height: 1; margin-bottom: 0.5rem; }
.s-num .o { color: var(--orange); }
.s-lbl { font-size: 0.875rem; color: rgba(255,255,255,0.45); font-weight: 500; }

/* ── SECTION HELPERS ── */
.section-label {
  font-size: 0.68rem; font-weight: 700; color: var(--orange);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.875rem;
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800;
  color: var(--navy); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.25rem;
}
.section-sub {
  font-size: 1rem; color: var(--gray-500); line-height: 1.8; font-weight: 400;
}

/* ── ABOUT ── */
.about { padding: 8rem 2rem; background: white; }
.about-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center;
}
.about-features { display: flex; flex-direction: column; gap: 1.125rem; margin-top: 2rem; }
.about-feat {
  display: flex; align-items: flex-start; gap: 0.875rem;
}
.feat-icon {
  width: 36px; height: 36px; flex-shrink: 0; margin-top: 2px;
  background: rgba(255,140,0,0.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.feat-icon i { color: var(--orange); font-size: 0.875rem; }
.feat-text { font-size: 0.92rem; color: var(--gray-700); font-weight: 500; line-height: 1.55; }

.about-visual { position: relative; }
.about-frame {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4/3; position: relative; overflow: hidden;
}
.about-frame img {width:100%;height:auto;aspect-ratio:4/3;object-fit: cover;}
.about-frame::before {
  content: ''; position: absolute; top: -40%; right: -20%;
  width: 80%; height: 130%;
  background: radial-gradient(circle, rgba(255,140,0,0.14) 0%, transparent 65%);
}
.about-logo-wh { width: 65%; filter: brightness(0) invert(1); opacity: 0.9; position: relative; z-index: 1; }
.about-year-badge {
  position: absolute; bottom: -1.75rem; right: -1rem;
  background: white; border-radius: 18px; padding: 1.25rem 1.625rem;
  box-shadow: 0 16px 60px rgba(0,28,52,0.14); border: 1px solid var(--gray-100);
  text-align: center;
}
.year-num { font-size: 2.35rem; font-weight: 800; color: var(--orange); letter-spacing: -0.05em; line-height: 1; }
.year-lbl { font-size: 0.72rem; color: var(--gray-500); font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; margin-top: 0.25rem; }

/* ── PRODUCTS TABS ── */
.products { padding: 8rem 2rem; background: var(--gray-50); }
.products-inner { max-width: 1280px; margin: 0 auto; }
.products-header { text-align: center; max-width: 620px; margin: 0 auto 4rem; }

.products-tabs {
  display: grid; grid-template-columns: 300px 1fr; gap: 2rem; align-items: start;
}

/* --- Tab menu (left) --- */
.tabs-menu { display: flex; flex-direction: column; gap: 0.625rem; position: sticky; top: 6rem; }

.tab-btn {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.375rem 1.5rem; width: 100%;
  background: white; border: 1.5px solid var(--gray-100); border-radius: 16px;
  cursor: pointer; text-align: left; font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all 0.28s var(--ease); position: relative; overflow: hidden;
}

.tab-btn .tab-meta img {width:100%;}
.tab-btn.active .tab-meta img {filter: brightness(0) invert(1);}

.tab-btn::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--orange); border-radius: 0 3px 3px 0;
  transform: scaleY(0); transform-origin: center;
  transition: transform 0.28s var(--ease);
}
.tab-btn:hover { border-color: var(--gray-200); box-shadow: 0 4px 20px rgba(0,28,52,0.06); }
.tab-btn.active { background: var(--navy); border-color: var(--navy); box-shadow: 0 8px 32px rgba(0,28,52,0.2); }
.tab-btn.active::before { transform: scaleY(1); }

.tab-icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  transition: all 0.28s var(--ease);
}
.tab-icon-sift  { background: rgba(255,140,0,0.12); color: var(--orange); }
.tab-icon-onix  { background: rgba(0,28,52,0.08);   color: var(--navy); }
.tab-icon-lab   { background: rgba(0,28,52,0.08);    color: var(--navy); }
.tab-icon-soft  { background: rgba(255,140,0,0.12);  color: var(--orange); }
.tab-btn.active .tab-icon { background: rgba(255,255,255,0.12); color: white; }

.tab-meta { flex: 1; min-width: 0; }
.tab-name {
  font-size: 1rem; font-weight: 800; color: var(--navy);
  letter-spacing: -0.01em; display: block;
  transition: color 0.28s;
}
.tab-btn.active .tab-name { color: white; }
.tab-sub {
  font-size: 0.72rem; color: var(--gray-400); font-weight: 500;
  display: block; margin-top: 0.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color 0.28s;
}
.tab-btn.active .tab-sub { color: rgba(255,255,255,0.45); }
.tab-arrow {
  font-size: 0.75rem; color: var(--gray-300); flex-shrink: 0;
  transition: all 0.28s var(--ease);
}
.tab-btn.active .tab-arrow { color: var(--orange); transform: translateX(3px); }

/* --- Tab panels (right) --- */
.tabs-content { position: relative; min-height: 420px; }
.tab-panel {
  display: none; background: white; border-radius: 22px; padding: 3rem;
  border: 1px solid var(--gray-100);
  box-shadow: 0 4px 40px rgba(0,28,52,0.05);
}
.tab-panel.active { display: block; }

.tab-panel-head { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1rem; }
.tab-panel-head img {width:100%;}
.tab-panel-icon {
  width: 68px; height: 68px; border-radius: 18px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.75rem;
}
.tab-panel-icon-sift  { background: rgba(255,140,0,0.1);  color: var(--orange); }
.tab-panel-icon-onix  { background: rgba(0,28,52,0.07);   color: var(--navy); }
.tab-panel-icon-lab   { background: rgba(0,28,52,0.08);   color: var(--navy); }
.tab-panel-icon-soft  { background: rgba(255,140,0,0.1);  color: var(--orange); }

.tab-panel-title {
  font-size: 1.85rem; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1;
}
.tab-panel-fullname {
  font-size: 0.73rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--gray-400); margin-top: 0.35rem;
}
.tab-panel-divider {
  height: 1px; background: var(--gray-100); margin: 1.75rem 0;
}
.tab-panel-desc {
  font-size: 1rem; color: var(--gray-500); line-height: 1.8; margin-bottom: 2rem;
}
.tab-feats {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; margin-bottom: 2.25rem;
}
.tab-feats li {
  display: flex; align-items: flex-start; gap: 0.625rem;
  font-size: 0.88rem; color: var(--gray-700); font-weight: 500; line-height: 1.45;
}
.feat-check {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
}
.feat-check i { font-size: 0.6rem; }
.feat-check-sift  { background: rgba(255,140,0,0.12); color: var(--orange); }
.feat-check-onix  { background: rgba(0,28,52,0.08);   color: var(--navy); }
.feat-check-lab   { background: rgba(0,28,52,0.08);    color: var(--navy); }
.feat-check-soft  { background: rgba(255,140,0,0.12);  color: var(--orange); }

.tab-panel-tag-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0.75rem; border-radius: 100px; margin-bottom: 1rem;
}
.pill-sift { background: rgba(255,140,0,0.1); color: var(--orange); }
.pill-onix { background: rgba(0,28,52,0.07);  color: var(--navy); }
.pill-lab  { background: rgba(0,28,52,0.08);   color: var(--navy); }
.pill-soft { background: rgba(255,140,0,0.1);  color: var(--orange); }

@media (max-width: 900px) {
  .products-tabs { grid-template-columns: 1fr; }
  .tabs-menu { flex-direction: row; flex-wrap: wrap; position: static; }
  .tab-btn { flex: 1 1 calc(50% - 0.3rem); }
  .tab-sub { display: none; }
  .tab-feats { grid-template-columns: 1fr; }
}

/* ── WHY US ── */
.why { padding: 8rem 2rem; background-color: var(--navy); background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 64px 64px; position: relative; overflow: hidden; }
.why::before {
  content: ''; position: absolute; top: -30%; right: -10%; width: 60%; height: 120%;
  background: radial-gradient(ellipse, rgba(255,140,0,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.why-inner { max-width: 1280px; margin: 0 auto; }
.why-header { text-align: center; max-width: 600px; margin: 0 auto 4rem; }
.why-header .section-title { color: white; }
.why-header .section-sub { color: rgba(255,255,255,0.45); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.why-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 2.5rem;
  transition: all 0.3s var(--ease);
}
.why-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,140,0,0.28); transform: translateY(-5px); }
.why-icon {
  width: 52px; height: 52px; background: rgba(255,140,0,0.14);
  border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.why-icon i { color: var(--orange); font-size: 1.25rem; }
.why-card-title { font-size: 1.1rem; font-weight: 700; color: white; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.why-card-text { font-size: 0.9rem; color: rgba(255,255,255,0.45); line-height: 1.7; }

/* ── DIFERENCIA ── */
.diff { padding: 7rem 2rem; background: white; position: relative; }
.diff-inner { max-width: 1280px; margin: 0 auto; }
.diff-header { text-align: center; max-width: 600px; margin: 0 auto 4rem; }

.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.diff-item {
  position: relative; padding: 0 2rem; text-align: left;
  border-left: 1px solid var(--gray-100);
}
.diff-grid .diff-item:first-child { border-left: none; padding-left: 0; }

.diff-num {
  display: block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.06em;
  color: rgba(255,140,0,0.45); margin-bottom: 1.25rem;
}
.diff-icon {
  width: 52px; height: 52px; background: rgba(255,140,0,0.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; transition: all 0.3s var(--ease);
}
.diff-icon i { color: var(--orange); font-size: 1.15rem; }
.diff-item:hover .diff-icon { background: var(--orange); transform: translateY(-3px); }
.diff-item:hover .diff-icon i { color: white; }

.diff-item-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.65rem; letter-spacing: -0.01em; }
.diff-item-text { font-size: 0.88rem; color: var(--gray-500); line-height: 1.65; }

@media (max-width: 1024px) {
  .diff-grid { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .diff-grid .diff-item:nth-child(2n+1) { border-left: none; padding-left: 0; }
}
@media (max-width: 640px) {
  .diff-grid { grid-template-columns: 1fr; row-gap: 0; }
  .diff-item {
    border-left: none; padding: 2rem 0;
    border-top: 1px solid var(--gray-100);
  }
  .diff-grid .diff-item:first-child { border-top: none; padding-top: 0; }
}

/* ── CLIENTS ── */
.clients { padding: 7rem 2rem; background: white; }
.clients-inner { max-width: 1280px; margin: 0 auto; }
.clients-header { text-align: center; margin-bottom: 4rem; }

.marquee-wrap {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, white 12%, white 88%, transparent);
  mask: linear-gradient(90deg, transparent, white 12%, white 88%, transparent);
}
.marquee-track {
  display: flex; gap: 1.5rem; width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.client-chip {
  flex-shrink: 0; width: 168px; /*height: 66px;*/
  background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; color: var(--gray-400);
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: all 0.25s var(--ease);overflow:hidden;
}

.client-chip img {width:100%;height:auto;}

.client-chip:hover { background: white; border-color: var(--gray-200); color: var(--navy); box-shadow: 0 8px 24px rgba(0,28,52,0.07); }

/* ── CONTACT ── */
.contact { padding: 8rem 2rem; background: var(--gray-50); }
.contact-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 6rem; align-items: start;
}
.contact-info { padding-top: 0.5rem; }
.contact-info .section-title { margin-bottom: 1rem; }
.contact-info .section-sub { margin-bottom: 2.5rem; }

.c-details { display: flex; flex-direction: column; gap: 1.25rem; }
.c-row { display: flex; align-items: flex-start; gap: 1rem; }
.c-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: white; border: 1px solid var(--gray-100); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,28,52,0.05);
}
.c-icon i { color: var(--navy); font-size: 0.875rem; }
.c-lbl { font-size: 0.72rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.07em; }
.c-val { font-size: 0.9rem; color: var(--navy); font-weight: 600; margin-top: 0.1rem; }
.c-val a { color: inherit; text-decoration: none; }
.c-val a:hover { color: var(--orange); }

.form-box {
  background: white; border-radius: 24px; padding: 3rem;
  box-shadow: 0 4px 40px rgba(0,28,52,0.06); border: 1px solid var(--gray-100);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.fg { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.25rem; }
.fg.span2 { grid-column: 1 / -1; }
.fg label { font-size: 0.8rem; font-weight: 700; color: var(--navy); }
.fg label span { color: var(--orange); }
.fg input, .fg textarea, .fg select {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.9rem; color: var(--navy);
  background: var(--gray-50); border: 1.5px solid var(--gray-100);
  border-radius: 10px; padding: 0.875rem 1.125rem; outline: none; width: 100%;
  transition: all 0.2s var(--ease);
}
.fg input:focus, .fg textarea:focus {
  border-color: var(--orange); background: white;
  box-shadow: 0 0 0 4px rgba(255,140,0,0.09);
}
.fg textarea { resize: vertical; min-height: 110px; }
.btn-submit { width: 100%; justify-content: center; font-size: 1rem; }

/* ── FOOTER ── */
.footer { background: var(--navy); padding: 4.5rem 2rem 2rem; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1.5fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 2rem;
}
.footer-logo { height:60px; opacity:0.5; width: auto; margin-bottom: 1.5rem; filter: brightness(0) invert(1); display: block; }
.footer-brand-text { font-size: 0.875rem; color: rgba(255,255,255,0.38); line-height: 1.7; max-width: 210px; margin-bottom: 1.5rem; }
.f-col-title { font-size: 0.75rem; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 1.25rem; }
.f-links { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.f-links a { font-size: 0.875rem; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.f-links a:hover { color: rgba(255,255,255,0.85); }
.f-contact-list { list-style: none; display: flex; flex-direction: column; gap: 0.875rem; }
.f-c-item { display: flex; align-items: flex-start; gap: 0.625rem; }
.f-c-item i { color: var(--orange); font-size: 0.8rem; margin-top: 3px; flex-shrink: 0; }
.f-c-text { font-size: 0.8rem; color: rgba(255,255,255,0.4); line-height: 1.5; }
.f-c-text a { color: inherit; text-decoration: none; transition: color 0.2s; }
.f-c-text a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.f-copy { font-size: 0.8rem; color: rgba(255,255,255,0.25); }
.f-privacy-link { text-decoration: none; transition: color 0.2s ease; }
.f-privacy-link:hover { color: rgba(255,255,255,0.6); }

/* ── VIDEO MODAL ── */
.modal {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,5,15,0.93); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.modal.open { opacity: 1; pointer-events: all; }
.modal-box {
  width: 100%; max-width: 960px; position: relative;
  transform: scale(0.94) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.modal.open .modal-box { transform: scale(1) translateY(0); }
.modal-close-btn {
  position: absolute; top: -3rem; right: 0;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1); color: white; font-size: 1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.modal-close-btn:hover { background: var(--orange); border-color: var(--orange); }
.video-ratio { position: relative; padding-bottom: 56.25%; border-radius: 16px; overflow: hidden; background: #000; }
.video-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-sub { max-width: 100%; }
  .hero-actions { flex-wrap: wrap; }
  .hero-right { display: none; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .btn-login { display: none; }
  .nav-burger { display: flex; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
  .hero-actions { gap: 1rem; }
}

/* ══════════════════════════════════════
   SIRF PAGE — specific styles
══════════════════════════════════════ */

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.45);
  margin-bottom: 2.25rem;
}
.breadcrumb a { color: inherit; text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: rgba(255,255,255,0.85); }
.breadcrumb-sep { font-size: 0.65rem; opacity: 0.4; }
.breadcrumb-current { color: var(--orange); }

/* Product hero */
.product-hero {
  background: var(--navy) no-repeat center center;
  background-size: cover;
  position: relative; overflow: hidden;
  padding: 9rem 2rem 6rem; min-height: 78vh;
  display: flex; align-items: center;
}

/* Un fondo por página: sólo cambia la imagen, el resto se hereda */
.page-sirf     .product-hero { background-image: url(images/bg-farmacia.webp?v=2); }
.page-onix     .product-hero { background-image: url(images/bg-onix.webp?v=2); }
.page-onixlab  .product-hero { background-image: url(images/bg-onixlab.webp?v=2); }
.page-onixsoft .product-hero { background-image: url(images/bg-onixsoft.webp?v=2); }

.product-hero::before {
  content: ''; position: absolute; top: -20%; right: -8%; width: 55%; height: 110%;
  background: radial-gradient(ellipse, rgba(255,140,0,0.09) 0%, transparent 65%);
  pointer-events: none;
}
.product-hero-grid {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 100%);
}

/* Grilla del hero: texto (izquierda) · tarjeta de capacidades (borde derecho).
   El espacio sobrante queda libre en el medio — es el mismo encolumnado
   que tenían OnixLab y OnixSoft, ahora igual en las cuatro páginas. */
.product-hero-inner {
  --card-col: clamp(280px, 26vw, 360px);   /* ancho de la tarjeta de capacidades */
  --text-max: 520px;                       /* tope del bloque de texto */
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: grid;
  grid-template-columns: minmax(0, var(--text-max)) var(--card-col);
  justify-content: space-between;
  column-gap: 2rem;
  align-items: center;
  position: relative; z-index: 1;
}

.product-hero-left,
.product-highlight-card { position: relative; z-index: 1; min-width: 0; }

.product-hero span.lineee {position:absolute;bottom:0;left:0;width:100%;height:24px;background:#FFF;}

.product-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,140,0,0.12); color: var(--orange);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 0.35rem 0.875rem; border-radius: 100px;
  border: 1px solid rgba(255,140,0,0.25); margin-bottom: 1.5rem;
}

.product-name {
  font-size: clamp(3rem, 7vw, 5.85rem); font-weight: 800;
  color: white; line-height: 0.9; letter-spacing: -0.05em;
  margin-bottom: 0.5rem;
}
.product-name img {width:100%;max-width:600px;filter:brightness(0) invert(1);}
.product-name .accent-letter { color: var(--orange); }

.product-fullname {
  font-size: clamp(1rem, 1.8vw, 1.3rem); font-weight: 500;
  color: rgba(255,255,255,0.55); line-height: 1.4;
  margin-bottom: 2rem; letter-spacing: -0.01em;
}

.product-desc {
  font-size: 1rem; color: rgba(255,255,255,0.62); line-height: 1.8;
  max-width: 480px; margin-bottom: 2.5rem;
}

.product-cta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* Right panel — highlight card */
.product-highlight-card {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px; padding: 2.5rem;
  backdrop-filter: blur(8px);
}
.phc-label {
  font-size: 0.7rem; font-weight: 700; color: rgba(255,255,255,0.35);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.75rem;
}
.phc-stat {
  margin-bottom: 1.5rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.phc-stat:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.phc-num {
  font-size: 2rem; font-weight: 800; color: white;
  letter-spacing: -0.04em; line-height: 1;
}
.phc-num .o { color: var(--orange); }
.phc-txt { font-size: 0.82rem; color: #FFF; margin-top: 0.3rem; font-weight: 500; }

/* Feature sections */
.features-section { padding: 4rem 2rem; background: white; }
.features-section.alt { background: var(--gray-50); }
.features-inner { max-width: 1280px; margin: 0 auto; }
.features-header { margin-bottom: 2rem; }
.features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border: 1.5px solid var(--gray-100); border-radius: 16px; overflow: hidden;
  background: white;
}
.feature-card {
  display: flex; align-items: center; gap: 0.875rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1.5px solid var(--gray-100);
  border-right: 1.5px solid var(--gray-100);
  transition: background 0.2s;
}
.feature-card:nth-child(even) { border-right: none; }
.feature-card:nth-last-child(-n+2) { border-bottom: none; }
.feature-card:hover { background: var(--gray-50); }
.feature-icon {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem;
}
.fi-orange { background: var(--orange); color: #FFF; }
.fi-navy   { background: #FFF; color: var(--navy); }
.feature-text { font-size: 0.85rem; color: var(--gray-700); font-weight: 500; line-height: 1.4; }

/* Section icon bar */
.section-icon-bar {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem;
}
.section-icon-circle {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.sic-orange { background: var(--orange); color: #FFF; }
.sic-navy   { background: #FFF; color: var(--navy); }

/* CTA Strip */
.cta-strip {
  background-color: var(--orange); background-image: linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px); background-size: 64px 64px;
  padding: 5rem 2rem; text-align: center; position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(255,255,255,0.08) 0%, transparent 70%);
}
.cta-strip-inner { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
.cta-strip-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); margin-bottom: 1rem;
}
.cta-strip-title {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 800;
  color: white; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 1rem;
}
.cta-strip-sub {
  font-size: 1rem; color: rgba(255,255,255,0.75); margin-bottom: 2.25rem;
}
.cta-strip .btn-white {
  display: inline-flex; align-items: center; gap: 0.625rem;
  background: white; color: var(--orange);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.95rem; font-weight: 700;
  padding: 0.9rem 2.25rem; border-radius: 12px; border: none; cursor: pointer;
  text-decoration: none; letter-spacing: -0.01em;
  transition: all 0.25s var(--ease);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.cta-strip .btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 48px rgba(0,0,0,0.2); }
.cta-strip .btn-white i { transition: transform 0.22s var(--ease); }
.cta-strip .btn-white:hover i { transform: translateX(4px); }

/* Screenshots */
.screenshots-section {
  padding: 6rem 2rem; background-color: var(--navy); background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px); background-size: 64px 64px; position: relative; overflow: hidden;
}
.screenshots-section::before {
  content: ''; position: absolute; bottom: -20%; left: -10%; width: 55%; height: 110%;
  background: radial-gradient(ellipse, rgba(255,140,0,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.screenshots-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.screenshots-inner .section-label { color: var(--orange); }
.screenshots-inner .section-title { color: white; }
.screenshots-inner .section-sub { color: rgba(255,255,255,0.45); }

.screenshots-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3.5rem;
}
.screenshot-card {
  border-radius: 16px; overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  transition: all 0.35s var(--ease);
}
.screenshot-card:hover { transform: translateY(-6px); box-shadow: 0 36px 80px rgba(0,0,0,0.45); border-color: rgba(255,140,0,0.3); }

.sc-chrome {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1rem; background: rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sc-dot { width: 10px; height: 10px; border-radius: 50%; }
.sc-dot-r { background: #ff5f57; }
.sc-dot-y { background: #febc2e; }
.sc-dot-g { background: #28c840; }
.sc-title-bar {
  flex: 1; background: rgba(255,255,255,0.08); border-radius: 4px;
  height: 16px; margin-left: 0.5rem;
}
.screenshot-card img { width: 100%; height: auto; display: block; }
.sc-caption { padding: 1.25rem 1.5rem; }
.sc-caption strong {
  display: block; font-size: 0.88rem; font-weight: 700;
  color: white; margin-bottom: 0.3rem;
}
.sc-caption p { font-size: 0.8rem; color: rgba(255,255,255,0.4); line-height: 1.55; }

/* SIRF responsive */

/* Notebook grande: tarjeta más compacta */
@media (max-width: 1440px) {
  .product-hero { padding: 8.5rem 1.5rem 5.5rem; }
  .product-hero-inner { column-gap: 2rem; }
  .product-highlight-card { padding: 1.75rem; border-radius: 20px; }
  .phc-num { font-size: 1.65rem; }
  .phc-stat { margin-bottom: 1.15rem; padding-bottom: 1.15rem; }
}

/* Notebook chico y tablet apaisada: las dos columnas se ajustan */
@media (max-width: 1200px) {
  .product-hero { padding: 8rem 1.5rem 5rem; min-height: 0; }
  .product-hero-inner {
    --text-max: 500px;
    --card-col: clamp(250px, 28vw, 320px);
    column-gap: 2rem;
  }
}

/* Tablet vertical y smartphone: una sola columna */
@media (max-width: 900px) {
  .product-hero { padding: 7rem 1.5rem 4.5rem; }
  .product-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2.25rem;
  }
  .product-hero-left,
  .product-highlight-card { grid-column: 1; }
  .product-highlight-card { padding: 1.75rem; }
  .product-desc { max-width: 620px; }
}

@media (max-width: 760px) {
  .product-hero { padding: 6.5rem 1.25rem 4rem; }
  .breadcrumb { margin-bottom: 1.5rem; }
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; }
  .screenshots-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .product-name { font-size: 3.75rem; }
  .product-cta { flex-direction: column; align-items: flex-start; }
  .product-cta .btn-primary, .product-cta .btn-outline { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════
   EMPRESA PAGE — specific styles
══════════════════════════════════════ */

/* ── EMPRESA HERO ── */
.empresa-hero {
  background: var(--navy); position: relative; overflow: hidden;
  padding: 10rem 2rem 8rem; min-height: 76vh;
  display: flex; align-items: center;
}
.empresa-hero::before {
  content: ''; position: absolute; top: -15%; right: -8%; width: 55%; height: 120%;
  background: radial-gradient(ellipse, rgba(255,140,0,0.09) 0%, transparent 65%);
  pointer-events: none;
}
.empresa-hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 100%);
}
.empresa-hero-inner {
  max-width: 1280px; margin: 0 auto; width: 100%; position: relative; z-index: 1;
}

.empresa-eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 2rem;
}
.empresa-eyebrow::after {
  content: ''; flex-shrink: 0; width: 36px; height: 2px;
  background: var(--orange); border-radius: 2px;
}

.empresa-title {
  font-size: clamp(2.35rem, 4.6vw, 4.35rem); font-weight: 800;
  color: white; line-height: 1.05; letter-spacing: -0.04em;
  max-width: 820px; margin-bottom: 1.75rem;
}
.empresa-title .accent { color: var(--orange); }

.empresa-sub {
  font-size: 1.1rem; color: rgba(255,255,255,0.5);
  line-height: 1.75; max-width: 520px; margin-bottom: 3.5rem; font-weight: 400;
}

.empresa-stats {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
}
.empresa-stat {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; backdrop-filter: blur(8px);
}
.empresa-stat-num {
  font-size: 1.75rem; font-weight: 800; color: white;
  letter-spacing: -0.04em; line-height: 1;
}
.empresa-stat-num .o { color: var(--orange); }
.empresa-stat-lbl {
  font-size: 0.75rem; color: rgba(255,255,255,0.38);
  font-weight: 500; line-height: 1.35; max-width: 80px;
}

/* ── HISTORIA / TIMELINE ── */
.historia-section { padding: 8rem 2rem; background: white; }
.historia-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; align-items: start;
}
.historia-text { position: sticky; top: 7rem; }
.historia-lead {
  font-size: 1rem; color: var(--gray-500); line-height: 1.8; margin-bottom: 1.25rem;
}
.historia-lead strong { color: var(--navy); font-weight: 700; }
.historia-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 700; color: var(--orange);
  text-decoration: none; margin-top: 0.5rem;
  transition: gap 0.2s var(--ease);
}
.historia-link:hover { gap: 0.75rem; }

/* Timeline */
.timeline { display: flex; flex-direction: column; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 21px; top: 22px; bottom: 22px;
  width: 2px; background: linear-gradient(to bottom, var(--orange), var(--gray-100));
  border-radius: 2px;
}
.tl-item {
  display: flex; gap: 2rem; position: relative; padding-bottom: 3rem;
  opacity: 0; transform: translateX(20px);
}
.tl-item:last-child { padding-bottom: 0; }

.tl-marker { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.tl-dot {
  width: 44px; height: 44px; border-radius: 50%;
  background: white; border: 2px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; z-index: 1; position: relative;
  transition: all 0.4s var(--ease);
}
.tl-dot i { font-size: 0.85rem; color: var(--gray-400); transition: all 0.4s; }
.tl-item.in-view .tl-dot {
  border-color: var(--orange); background: #FFF;
  box-shadow: 0 0 0 6px rgba(255,140,0,0.08);
}
.tl-item.in-view .tl-dot i { color: var(--orange); }
.tl-year {
  font-size: 0.68rem; font-weight: 800; color: var(--gray-400);
  letter-spacing: 0.05em; margin-top: 0.5rem; white-space: nowrap;
  transition: color 0.4s;
}
.tl-item.in-view .tl-year { background:var(--orange); padding:3px 5px;border-radius:4px;color:#FFF;}

.tl-content { padding-top: 0.5rem; }
.tl-tag {
  display: inline-block; font-size: 0.66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--orange); background: rgba(255,140,0,0.1);
  padding: 0.2rem 0.6rem; border-radius: 100px; margin-bottom: 0.625rem;
}
.tl-title {
  font-size: 1.05rem; font-weight: 800; color: var(--navy);
  letter-spacing: -0.02em; margin-bottom: 0.5rem; line-height: 1.25;
}
.tl-text { font-size: 0.875rem; color: var(--gray-500); line-height: 1.75; }

/* ── MISIÓN / VISIÓN ── */
.mvv-section { padding: 8rem 2rem; background: var(--gray-50); }
.mvv-inner { max-width: 1280px; margin: 0 auto; }
.mvv-header { text-align: center; max-width: 600px; margin: 0 auto 4rem; }
.mvv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.mvv-card {
  background: white; border: 1.5px solid var(--gray-100);
  border-radius: 24px; padding: 3rem;
  position: relative; overflow: hidden;
  transition: all 0.35s var(--ease);
  opacity: 0; transform: translateY(36px);
}
.mvv-card:hover { border-color: rgba(255,140,0,0.22); box-shadow: 0 16px 56px rgba(0,28,52,0.08); transform: translateY(-5px); }
.mvv-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), #ffb347);
  border-radius: 24px 24px 0 0;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.mvv-card:hover::after { transform: scaleX(1); }

.mvv-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1.75rem;
}
.mvv-icon-orange { background: rgba(255,140,0,0.1); color: var(--orange); }
.mvv-icon-navy   { background: rgba(0,28,52,0.08);  color: var(--navy); }
.mvv-label {
  font-size: 0.68rem; font-weight: 700; color: var(--orange);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem;
}
.mvv-title {
  font-size: 1.25rem; font-weight: 800; color: var(--navy);
  letter-spacing: -0.03em; margin-bottom: 1.125rem; line-height: 1.15;
}
.mvv-text { font-size: 0.925rem; color: var(--gray-500); line-height: 1.8; }

/* ── VALORES ── */
.valores-section {
  padding: 8rem 2rem; background-color: var(--navy); background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px); background-size: 64px 64px; position: relative; overflow: hidden;
}
.valores-section::before {
  content: ''; position: absolute; bottom: -20%; right: -8%; width: 55%; height: 120%;
  background: radial-gradient(ellipse, rgba(255,140,0,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.valores-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.valores-header { text-align: center; max-width: 560px; margin: 0 auto 4rem; }
.valores-header .section-title { color: white; }
.valores-header .section-sub { color: rgba(255,255,255,0.45); }

.valores-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.valor-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 2rem;
  transition: all 0.3s var(--ease);
  opacity: 0; transform: translateY(28px) scale(0.97);
}
.valor-card:hover {
  background: rgba(255,255,255,0.08); border-color: rgba(255,140,0,0.28); transform: translateY(-5px) scale(1);
}
.valor-icon {
  width: 46px; height: 46px; border-radius: 11px;
  background: rgba(255,140,0,0.12); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; margin-bottom: 1.25rem;
}
.valor-name {
  font-size: 1rem; font-weight: 800; color: white;
  letter-spacing: -0.015em; margin-bottom: 0.5rem;
}
.valor-desc { font-size: 0.82rem; color: rgba(255,255,255,0.38); line-height: 1.65; }

/* ── EMPRESA RESPONSIVE ── */
@media (max-width: 1024px) {
  .historia-inner { grid-template-columns: 1fr; gap: 4rem; }
  .historia-text { position: static; }
}
@media (max-width: 900px) {
  .mvv-grid { grid-template-columns: 1fr; }
  .valores-grid { grid-template-columns: repeat(2, 1fr); }
  .empresa-stats { gap: 0.75rem; }
}
@media (max-width: 600px) {
  .valores-grid { grid-template-columns: 1fr; }
  .empresa-title { font-size: 2.2rem; }
  .empresa-stat { padding: 0.75rem 1.125rem; }
}

/* ══════════════════════════════════════
   CONTACTO PAGE — specific styles
══════════════════════════════════════ */

/* ── HERO (compact) ── */
.contacto-hero {
  background: var(--navy); position: relative; overflow: hidden;
  padding: 10rem 2rem 6rem; min-height: 46vh;
  display: flex; align-items: center;
}
.contacto-hero::before {
  content: ''; position: absolute; top: -20%; left: -8%; width: 55%; height: 130%;
  background: radial-gradient(ellipse, rgba(255,140,0,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.contacto-hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 100%);
}
.contacto-hero-inner {
  max-width: 1280px; margin: 0 auto; width: 100%; position: relative; z-index: 1;
}

/* ── MAIN SECTION ── */
.contacto-section { padding: 7rem 2rem 9rem; background: white; }
.contacto-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 6rem; align-items: start;
}

/* ── FORM ── */
.contacto-form-wrap { }
.contacto-form-header { margin-bottom: 2.25rem; }

.contacto-form { display: flex; flex-direction: column; gap: 1.125rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.125rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-label {
  font-size: 0.72rem; font-weight: 700; color: var(--navy);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.form-label .req { color: var(--orange); margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
  width: 100%; padding: 0.875rem 1.125rem;
  border: 1.5px solid var(--gray-100); border-radius: 12px;
  font-family: inherit; font-size: 0.925rem; color: var(--navy);
  background: var(--gray-50);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  outline: none; -webkit-appearance: none; appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--gray-400); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--orange); background: white;
  box-shadow: 0 0 0 3px rgba(255,140,0,0.1);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23647188' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.125rem center;
  padding-right: 2.75rem; cursor: pointer;
}
.form-textarea { resize: vertical; min-height: 148px; line-height: 1.65; }

.form-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.5rem; flex-wrap: wrap; }
.form-note { font-size: 0.78rem; color: var(--gray-400); }

/* Contact Form 7: mismo look que los inputs propios del sitio */
.contacto-form .wpcf7-form-control-wrap { display: block; }
.contacto-form input.wpcf7-not-valid,
.contacto-form select.wpcf7-not-valid,
.contacto-form textarea.wpcf7-not-valid { border-color: #ef4444; }
.contacto-form .wpcf7-not-valid-tip { font-size: 0.78rem; margin-top: 0.35rem; }
.contacto-form.sent .wpcf7-response-output { display: none !important; }
.contacto-form .wpcf7-spinner { margin: 0 0 0 0.75rem; }
.contacto-form input.btn-primary { display: inline-flex; }
.contacto-form .btn-full { width: 100%; justify-content: center; }

/* Success state */
.contacto-form-success {
  display: none; text-align: center; padding: 3rem 2rem;
  background: rgba(255,140,0,0.05); border: 1.5px solid rgba(255,140,0,0.2);
  border-radius: 20px;
}
.contacto-form-success.show { display: block; }
.success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,140,0,0.12); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 1.25rem;
}
.success-title { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: 0.5rem; }
.success-sub   { font-size: 0.9rem; color: var(--gray-500); }

/* ── INFO CARDS ── */
.contacto-info-wrap { display: flex; flex-direction: column; gap: 0; }
.contacto-info-header { margin-bottom: 1.75rem; }
.info-cards { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }

.info-card {
  display: flex; align-items: flex-start; gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--gray-50); border: 1.5px solid var(--gray-100);
  border-radius: 16px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  text-decoration: none;
}
.info-card:hover { border-color: rgba(255,140,0,0.25); box-shadow: 0 6px 24px rgba(0,28,52,0.07); }
.info-icon {
  width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0;
  background: rgba(255,140,0,0.1); color: var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.info-icon.ic-navy { background: rgba(0,28,52,0.08); color: var(--navy); }
.info-icon.ic-green { background: rgba(22,163,74,0.1); color: #16a34a; }
.info-content { flex: 1; }
.info-lbl {
  font-size: 0.66rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--orange); margin-bottom: 0.3rem;
}
.info-val {
  font-size: 0.92rem; font-weight: 600; color: var(--navy);
  line-height: 1.45; word-break: break-word;
}
.info-val a { color: inherit; text-decoration: none; transition: color 0.2s; }
.info-val a:hover { color: var(--orange); }
.info-sub { font-size: 0.78rem; color: var(--gray-400); margin-top: 0.15rem; }

/* ── MAP ── */
.contacto-map-wrap {
  border-radius: 20px; overflow: hidden;
  border: 1.5px solid var(--gray-100);
  box-shadow: 0 8px 40px rgba(0,28,52,0.09);
  position: relative;
}
.contacto-map-wrap iframe {
  width: 100%; height: 280px; display: block; border: 0;
}
.map-badge {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem;
  background: white; border-radius: 12px; padding: 0.75rem 1rem;
  display: flex; align-items: center; gap: 0.75rem;
  box-shadow: 0 4px 20px rgba(0,28,52,0.12);
  pointer-events: none;
}
.map-badge-icon {
  width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
  background: rgba(255,140,0,0.1); color: var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
}
.map-badge-text { font-size: 0.78rem; color: var(--navy); font-weight: 600; line-height: 1.3; }
.map-badge-sub  { font-size: 0.7rem; color: var(--gray-400); }

/* ── CONTACTO RESPONSIVE ── */
@media (max-width: 1100px) {
  .contacto-inner { grid-template-columns: 1fr; gap: 4.5rem; }
  .contacto-info-wrap { max-width: 580px; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .form-submit-row { flex-direction: column; align-items: flex-start; }
  .form-submit-row .btn-primary { width: 100%; justify-content: center; }
  .contacto-map-wrap iframe { height: 220px; }
}

/* ══════════════════════════════════════
   SHARED PRODUCT — split section
   (reutilizable en onix, onixlab, onixsoft)
══════════════════════════════════════ */
.split-section { padding: 7rem 2rem; background: white; }
.split-section.s-alt { background: var(--gray-50); }
.split-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
/* invertido: imagen a la derecha */
.split-inner.s-reverse { direction: rtl; }
.split-inner.s-reverse > * { direction: ltr; }

/* Columna imagen */
.split-img-wrap {
  border-radius: 24px; overflow: hidden; position: relative;
  box-shadow: 0 28px 80px rgba(0,28,52,0.14);
}
.split-img-wrap img {
  width: 100%; height: 440px; object-fit: cover; display: block;
  transition: transform 0.65s var(--ease);
}
.split-img-wrap:hover img { transform: scale(1.03); }

/* Badge flotante sobre la imagen */
.split-img-badge {
  position: absolute; bottom: 1.25rem; left: 1.25rem; right: 1.25rem;
  background: rgba(255,255,255,0.95); border-radius: 14px;
  padding: 0.875rem 1.125rem;
  display: flex; align-items: center; gap: 0.875rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0,28,52,0.12);
}
.sib-icon {
  width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
}
.sib-icon.sib-navy   { background: #FFF; color: var(--navy); }
.sib-icon.sib-orange { background: var(--orange); color: #FFF; }
.sib-text { font-size: 0.8rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.sib-sub  { font-size: 0.68rem; color: var(--gray-400); margin-top: 0.1rem; }

/* Columna texto */
.split-text { }
.split-checks { display: flex; flex-direction: column; gap: 0.875rem; margin-top: 2rem; }
.split-check {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 1.25rem; border-radius: 14px;
  background: var(--gray-50); border: 1.5px solid var(--gray-100);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.split-check:hover { border-color: rgba(0,28,52,0.14); box-shadow: 0 4px 16px rgba(0,28,52,0.06); }
.split-check-icon {
  width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
}
.sci-navy   { background: #FFF; color: var(--navy); }
.sci-orange { background: var(--orange); color: #FFF; }
.sci-green  { background: rgba(22,163,74,0.1);  color: #16a34a; }
.split-check-text { font-size: 0.875rem; color: var(--gray-500); line-height: 1.65; }
.split-check-text strong { display: block; font-size: 0.9rem; color: var(--navy); font-weight: 700; margin-bottom: 0.15rem; }

/* Split responsive */
@media (max-width: 1024px) {
  .split-inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .split-inner.s-reverse { direction: ltr; }
  .split-img-wrap img { height: 300px; }
}

/* ── fi / sic extra tones ── */
.sic-indigo  { background: var(--orange); color: #FFF; }
.sic-teal    { background: #FFF; color: var(--navy); }

/* ══════════════════════════════════════
   SHARED PRODUCT — pillars strip
   (OnixSoft y otros)
══════════════════════════════════════ */
.pillars-section { padding: 5.5rem 2rem; background: var(--gray-50); }
.pillars-section.p-dark { background: var(--navy); }
.pillars-inner  { max-width: 1280px; margin: 0 auto; }
.pillars-header { max-width: 580px; margin-bottom: 3rem; }

.pillars-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.pillar-card {
  background: white; border: 1.5px solid var(--gray-100);
  border-radius: 20px; padding: 2rem 1.75rem;
  transition: all 0.3s var(--ease);
  opacity: 0; transform: translateY(24px);
}
.p-dark .pillar-card {
  background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.08); color: white;
}
.pillar-card:hover {
  border-color: rgba(255,140,0,0.25);
  box-shadow: 0 8px 32px rgba(0,28,52,0.07);
  transform: translateY(-4px) !important; /* override gsap clearProps */
}
.pillar-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 1.25rem;
}
.pi-indigo { background: var(--orange);  color: #FFF; }
.pi-navy   { background: #FFF;   color: var(--navy); }
.pi-orange { background: var(--orange);  color: #FFF; }
.pi-blue   { background: #FFF;   color: var(--navy); }
.pillar-title {
  font-size: 1rem; font-weight: 800; color: var(--navy);
  letter-spacing: -0.015em; margin-bottom: 0.5rem; line-height: 1.25;
}
.p-dark .pillar-title { color: white; }
.pillar-text { font-size: 0.82rem; color: var(--gray-500); line-height: 1.65; }
.p-dark .pillar-text { color: rgba(255,255,255,0.45); }

/* ── Partner chips ── */
.partner-row  { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 1.75rem; }
.partner-chip {
  padding: 0.5rem 1.125rem;
  border: 1.5px solid var(--gray-100); border-radius: 100px;
  background: var(--gray-50); font-size: 0.78rem; font-weight: 700;
  color: var(--gray-500); transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.partner-chip:hover { border-color: rgba(255,140,0,0.3); color: var(--orange); background: rgba(255,140,0,0.05); }

@media (max-width: 1024px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .pillars-grid { grid-template-columns: 1fr; } }

.contacto-eyebrow a {color:var(--orange);text-decoration:none;}

/* ══════════════════════════════════════
   SOLICITAR DEMO — landing page
══════════════════════════════════════ */

/* ── Hero ── */
.demo-hero {
  background: var(--navy); position: relative; overflow: hidden;
  padding: 10rem 2rem 6rem; min-height: 58vh; display: flex; align-items: center;
}
.demo-hero::before {
  content: ''; position: absolute; top: -20%; right: -8%; width: 55%; height: 130%;
  background: radial-gradient(ellipse, rgba(255,140,0,0.09) 0%, transparent 65%);
  pointer-events: none;
}
.demo-hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 100%);
}
.demo-hero-inner { max-width: 900px; margin: 0 auto; width: 100%; position: relative; z-index: 1; text-align: center; }
.demo-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1.75rem;
  background: rgba(255,140,0,0.1); border: 1px solid rgba(255,140,0,0.2);
  padding: 0.4rem 1rem; border-radius: 100px;
}
.demo-hero-title {
  font-size: clamp(2.2rem, 4.2vw, 4rem); font-weight: 800;
  color: white; line-height: 1.07; letter-spacing: -0.04em; margin-bottom: 1.5rem;
}
.demo-hero-title .accent { color: var(--orange); }
.demo-hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,0.5);
  line-height: 1.75; max-width: 580px; margin: 0 auto 2.5rem; font-weight: 400;
}
.demo-hero-cta { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* Stats bar */
.demo-stats-bar {
  display: flex; align-items: stretch; justify-content: center; gap: 0; flex-wrap: wrap;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; margin-top: 4rem; overflow: hidden; backdrop-filter: blur(8px);
}
.demo-stat {
  flex: 1; min-width: 140px; text-align: center; padding: 1.5rem 1.25rem;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.demo-stat:last-child { border-right: none; }
.demo-stat-num {
  font-size: 1.7rem; font-weight: 800; color: white;
  letter-spacing: -0.04em; line-height: 1;
}
.demo-stat-num .o { color: var(--orange); }
.demo-stat-lbl { font-size: 0.72rem; color: rgba(255,255,255,0.4); margin-top: 0.35rem; font-weight: 500; }

/* ── Módulos / Qué vas a ver ── */
.demo-modules-section { padding: 7rem 2rem; background: var(--gray-50); }
.demo-modules-inner   { max-width: 1280px; margin: 0 auto; }
.demo-modules-header  { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }

.demo-modules-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.demo-module-card {
  background: white; border: 1.5px solid var(--gray-100);
  border-radius: 24px; padding: 2.25rem; position: relative; overflow: hidden;
  transition: all 0.35s var(--ease);
  opacity: 0; transform: translateY(28px);
}
.demo-module-card:hover {
  border-color: rgba(255,140,0,0.25); box-shadow: 0 20px 56px rgba(0,28,52,0.09);
  transform: translateY(-5px);
}
.demo-module-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), #ffb347);
  border-radius: 24px 24px 0 0;
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.demo-module-card:hover::after { transform: scaleX(1); }

.demo-module-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.dmi-orange { background: rgba(255,140,0,0.1); color: var(--orange); }
.dmi-navy   { background: rgba(0,28,52,0.08); color: var(--navy); }
.dmi-blue   { background: rgba(0,28,52,0.08);   color: var(--navy); }

.demo-module-tag {
  font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--orange); background: rgba(255,140,0,0.08);
  padding: 0.2rem 0.6rem; border-radius: 100px; display: inline-block; margin-bottom: 0.75rem;
}
.demo-module-title {
  font-size: 1.1rem; font-weight: 800; color: var(--navy);
  letter-spacing: -0.02em; margin-bottom: 1rem; line-height: 1.2;
}
.demo-module-list { display: flex; flex-direction: column; gap: 0.5rem; }
.demo-module-item {
  display: flex; align-items: flex-start; gap: 0.625rem;
  font-size: 0.82rem; color: var(--gray-500); line-height: 1.55;
}
.demo-module-item::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--orange); flex-shrink: 0; margin-top: 0.44rem;
}

/* ── Prueba social / screenshot ── */
.demo-proof-section { padding: 7rem 2rem; background: white; }
.demo-proof-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5.5rem; align-items: center;
}
.demo-proof-img {
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 28px 80px rgba(0,28,52,0.13); position: relative;
}
.demo-proof-img .sc-chrome { background: rgba(0,28,52,0.07); border-bottom: 1px solid rgba(0,28,52,0.08); }
.demo-proof-img .sc-dot-r { background: #ff5f57; }
.demo-proof-img .sc-dot-y { background: #febc2e; }
.demo-proof-img .sc-dot-g { background: #28c840; }
.demo-proof-img .sc-title-bar { background: rgba(0,28,52,0.08); }
.demo-proof-img img { width: 100%; height: auto; display: block; }

.demo-trust-list { display: flex; flex-direction: column; gap: 1.125rem; margin-top: 2.25rem; }
.demo-trust-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 1.25rem; border-radius: 14px;
  background: var(--gray-50); border: 1.5px solid var(--gray-100);
  transition: border-color 0.25s var(--ease);
}
.demo-trust-item:hover { border-color: rgba(255,140,0,0.2); }
.demo-trust-icon {
  width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
  background: rgba(255,140,0,0.1); color: var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
}
.demo-trust-text { font-size: 0.875rem; color: var(--gray-500); line-height: 1.65; }
.demo-trust-text strong { display: block; font-size: 0.9rem; color: var(--navy); font-weight: 700; margin-bottom: 0.1rem; }

/* ── Form section ── */
.demo-form-section { padding: 7rem 2rem; background: var(--gray-50); }
.demo-form-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 6rem; align-items: start;
}
.demo-form-left { position: sticky; top: 7rem; }
.demo-form-benefits { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.demo-benefit {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 0.875rem 1.125rem; border-radius: 12px;
  border: 1.5px solid var(--gray-100); background: white;
}
.demo-benefit-icon {
  width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
  background: rgba(255,140,0,0.1); color: var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem;
}
.demo-benefit-text { font-size: 0.85rem; color: var(--gray-500); line-height: 1.55; }
.demo-benefit-text strong { display: block; color: var(--navy); font-weight: 700; font-size: 0.875rem; }

/* ── Demo responsive ── */
@media (max-width: 1024px) {
  .demo-modules-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-proof-inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .demo-form-inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .demo-form-left { position: static; }
}
@media (max-width: 640px) {
  .demo-modules-grid { grid-template-columns: 1fr; }
  .demo-stats-bar { flex-direction: row; }
  .demo-stat { min-width: 120px; }
}

/* ── BOTONES FLOTANTES (WhatsApp + Subir) ── */
.float-actions {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 999;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}
.float-btn {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}
.float-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,0.22); }

.float-btn-whatsapp {
  background: #25d366; color: white; font-size: 1.6rem;
}

.float-btn-up {
  background: rgba(0,28,52,0.55); color: rgba(255,255,255,0.85); font-size: 1.1rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(8px);
}
.float-btn-up.visible {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}

@media (max-width: 640px) {
  .float-actions { right: 1rem; bottom: 1rem; gap: 0.6rem; }
  .float-btn { width: 50px; height: 50px; font-size: 1.4rem; }
  .float-btn-up { font-size: 1rem; }
}

/* ══════════════════════════════════════
   WORDPRESS — páginas genéricas, 404 y
   estilos que agrega el editor de bloques
   ══════════════════════════════════════ */

.basic-section { background: #fff; padding: 5rem 2rem 6rem; }
.basic-inner {
  max-width: 800px; margin: 0 auto;
  color: #33475b; font-size: 1rem; line-height: 1.8;
}
.basic-inner h2 { font-size: 1.6rem; color: var(--navy); margin: 2.5rem 0 1rem; letter-spacing: -0.02em; }
.basic-inner h3 { font-size: 1.2rem; color: var(--navy); margin: 2rem 0 0.75rem; }
.basic-inner p { margin-bottom: 1.25rem; }
.basic-inner ul, .basic-inner ol { margin: 0 0 1.5rem 1.25rem; }
.basic-inner li { margin-bottom: 0.5rem; }
.basic-inner a { color: var(--orange); }
.basic-inner img { max-width: 100%; height: auto; border-radius: 12px; }
.basic-inner blockquote {
  border-left: 3px solid var(--orange); padding-left: 1.25rem;
  margin: 0 0 1.5rem; color: #5a6b7f; font-style: italic;
}
.basic-links {
  list-style: none; margin: 0; padding: 0; max-width: 460px;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.basic-links li { margin: 0; }
.basic-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.125rem 1.375rem; background: var(--gray-50);
  border: 1.5px solid var(--gray-100); border-radius: 14px;
  color: var(--navy) !important; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; transition: all 0.22s var(--ease);
}
.basic-links a::after {
  content: "\2192"; color: var(--orange); font-weight: 700;
  transition: transform 0.22s var(--ease); flex-shrink: 0;
}
.basic-links a:hover {
  background: #fff; border-color: var(--orange);
  box-shadow: 0 8px 24px rgba(255,140,0,0.12); transform: translateY(-2px);
}
.basic-links a:hover::after { transform: translateX(4px); }

/* Barra de administración de WordPress: no debe tapar la nav fija */
body.admin-bar .nav { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .nav { top: 46px; } }

/* Alineaciones del editor */
.alignleft  { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, .screen-reader-text { font-size: 0.8rem; color: #7a8a9a; }
