/* =============================================
   ArrayGo Software — Estilos principales
   ============================================= */

:root[data-theme="dark"] {
  --bg:        #1f1f1f;
  --bg2:       #262626;
  --bg3:       #2e2e2e;
  --text:      #ede9e3;
  --text-muted:#8a8680;
  --border:    #333333;
  --accent:    #f16b27;
  --salmon:    #ff9c8f;
  --accent-bg: rgba(241,107,39,0.10);
  --salmon-bg: rgba(255,156,143,0.12);
  --card-bg:   #262626;
  --card-bg2:  #2e2e2e;
  --nav-bg:    rgba(31,31,31,0.94);
  --shadow:    0 4px 32px rgba(0,0,0,0.4);
  --hero-dim:  brightness(0.18) saturate(0.6);
}
:root[data-theme="light"] {
  --bg:        #f4f1ec;
  --bg2:       #ece8e1;
  --bg3:       #ffffff;
  --text:      #1c1b19;
  --text-muted:#7a7670;
  --border:    #ddd8d0;
  --accent:    #e05e1e;
  --salmon:    #e8806e;
  --accent-bg: rgba(208,94,40,0.08);
  --salmon-bg: rgba(232,128,110,0.10);
  --card-bg:   #ffffff;
  --card-bg2:  #f4f1ec;
  --nav-bg:    rgba(244,241,236,0.94);
  --shadow:    0 4px 32px rgba(0,0,0,0.07);
  --hero-dim:  brightness(0.45) saturate(0.8);
}

/* Violeta: exclusivo de la card de Sistema de gestión (Corralones). No se usa en ningún otro lugar del sitio. */
:root{
  --violeta-900:#240E3A;
  --violeta-800:#521f6e;
  --violeta-700:#6D28D9;
  --violeta-100:#efe7fb;
  --amarillo:   #e8ff3d;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.35s, color 0.35s;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.35s, border-color 0.35s;
}
.nav-logo {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.875rem; color: var(--text-muted);
  text-decoration: none; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 1rem; }

/* THEME TOGGLE */
.theme-toggle {
  display: flex; align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.2rem;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.theme-toggle:hover { opacity: 1; }
.theme-icon {
  display: none;
  width: 20px; height: 20px;
  fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
[data-theme="dark"]  .theme-icon-dark  { display: block; stroke: #ede9e3; }
[data-theme="dark"]  .theme-icon-light { display: none; }
[data-theme="light"] .theme-icon-light { display: block; stroke: #1c1b19; }
[data-theme="light"] .theme-icon-dark  { display: none; }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 7rem 5% 5rem;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('https://images.unsplash.com/photo-1593642632559-0c6d3fc62b89?auto=format&fit=crop&w=1600&q=80');
  background-size: cover; background-position: center center;
  filter: var(--hero-dim);
  transition: filter 0.35s;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(31,31,31,0.82) 0%, rgba(31,31,31,0.25) 70%);
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.5rem;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.68);
  line-height: 1.75; max-width: 520px;
  margin-bottom: 2.5rem; font-weight: 300;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--salmon); color: #fff;
  font-family: 'Manrope', sans-serif; font-weight: 600;
  font-size: 0.9rem; padding: 0.8rem 1.6rem;
  border-radius: 8px; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-salmon { background: var(--salmon); color: #111 !important; }
.btn-salmon:hover { background: var(--salmon); filter: brightness(1.08); }
.btn-orange { background: var(--accent); color: #fff; }
.btn-orange:hover { background: var(--accent); filter: brightness(1.1); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: rgba(255,255,255,0.85);
  font-family: 'Manrope', sans-serif; font-weight: 500;
  font-size: 0.9rem; padding: 0.8rem 1.6rem;
  border-radius: 8px; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.22);
  transition: background 0.2s, transform 0.15s; cursor: pointer;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-1px); }

/* SECTIONS */
section { padding: 5.25rem 5%; }
.section-alt { background: var(--bg2); transition: background 0.35s; }
.section-header { text-align: center; margin-bottom: 2.85rem; }
.section-header h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 700; letter-spacing: -0.025em;
  margin-bottom: 0.65rem;
}
.section-header p {
  color: var(--text-muted); font-size: 0.95rem;
  max-width: 480px; margin: 0 auto; line-height: 1.65;
}
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); display: inline-block; margin-bottom: 0.75rem;
}

/* STATEMENT BLOCKS — provisional, a definir en pasada de diseño */
.statement-block {
  text-align: center; padding: 4.5rem 5%;
}
.statement-block h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; letter-spacing: -0.025em;
  max-width: 640px; margin: 0 auto;
}
.statement-block p {
  color: var(--text-muted); font-size: 0.95rem;
  max-width: 480px; margin: 0.9rem auto 0; line-height: 1.65;
}
.statement-block-cierre h2 { color: var(--accent); }
#pensado-argentina {
  background: var(--accent-bg);
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
}

/* ===== SISTEMA DE GESTIÓN — card (base neutra del tema, hover revela violeta) ===== */
.sistema-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  transition: background 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
}
.sistema-card:hover {
  background: linear-gradient(135deg, var(--violeta-900) 0%, var(--violeta-800) 100%);
  border-color: var(--violeta-800);
}
.sistema-card-body { padding: 2.6rem 2.4rem; display: flex; flex-direction: column; justify-content: center; }
.sistema-tag {
  display: inline-flex; align-self: flex-start;
  background: var(--violeta-100); color: var(--violeta-700);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 100px; margin-bottom: 1.1rem;
  transition: background 0.4s, color 0.4s;
}
.sistema-card:hover .sistema-tag { background: rgba(255,255,255,0.14); color: #e4d4ff; }
.sistema-card-body h3 {
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.35rem;
  margin-bottom: 0.75rem; letter-spacing: -0.01em; color: var(--text);
  transition: color 0.4s;
}
.sistema-card:hover .sistema-card-body h3 { color: #fff; }
.sistema-card-body p {
  color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; margin-bottom: 1rem;
  transition: color 0.4s;
}
.sistema-card:hover .sistema-card-body p { color: rgba(255,255,255,0.72); }
.sistema-rubros {
  font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.02em;
  margin-bottom: 1.4rem; line-height: 1.8;
  transition: color 0.4s;
}
.sistema-card:hover .sistema-rubros { color: rgba(255,255,255,0.5); }
.sistema-link {
  color: var(--violeta-700); font-size: 0.88rem; font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.35rem;
  transition: color 0.4s, gap 0.2s;
}
.sistema-card:hover .sistema-link { color: #fff; }
.sistema-link:hover { gap: 0.6rem; }
.sistema-visual { position: relative; overflow: hidden; background: #0e0c12; min-height: 300px; }
.sistema-visual video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(0.85) brightness(0.9);
  transition: filter 0.4s, transform 0.4s;
}
.sistema-card:hover .sistema-visual video { filter: saturate(1) brightness(1); transform: scale(1.03); }
.sistema-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--card-bg) 0%, transparent 18%);
  transition: background 0.4s;
}
.sistema-card:hover .sistema-visual::after {
  background: linear-gradient(90deg, var(--violeta-900) 0%, transparent 18%);
}

.trait-row {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  gap: 0.3rem 0; max-width: 900px; margin: 3rem auto 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.5rem 0.75rem;
}
.trait-item {
  display: flex; align-items: center; gap: 0.65rem;
  color: var(--text); font-size: 0.85rem; font-weight: 500;
  padding: 0.6rem 1.4rem;
  position: relative;
}
.trait-item:not(:last-child)::after {
  content: '';
  position: absolute; right: -0.15rem; top: 50%; transform: translateY(-50%);
  width: 1px; height: 1.15rem; background: var(--border);
}
.trait-item svg {
  width: 30px; height: 30px; padding: 7px; box-sizing: border-box; display: block; flex-shrink: 0;
  background: var(--accent-bg); border-radius: 50%;
  stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
@media (max-width: 640px) {
  .trait-row { border-radius: 20px; padding: 0.75rem 1rem; }
  .trait-item { padding: 0.5rem 0.9rem; }
  .trait-item:not(:last-child)::after { display: none; }
}

/* ===== SITIOS WEB — cards con mini-imagen animada (se adaptan al tema, sin violeta de fondo) ===== */
.web-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 820px; margin: 0 auto; }
.web-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 18px;
  overflow: hidden; transition: transform 0.2s, border-color 0.2s, background 0.35s;
}
.web-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.mini-frame { position: relative; width: 100%; height: 180px; overflow: hidden; }
.mini-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.web-card-body { padding: 1.5rem 1.6rem; }
.web-card-body h4 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; color: var(--text); }
.web-card-body p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; }

.cursor { position: absolute; }
.cursor svg { width: 100%; height: 100%; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35)); }

/* Marcas y estudios: cursor amarillo, doble anillo amarillo al hacer clic */
.frame-a .cursor { width: 17px; height: 17px; top: 38%; left: 35%; animation: cursorMoveA 2.4s ease-in-out infinite; }
.frame-a .cursor svg path { fill: var(--amarillo); }
.frame-a .ripple, .frame-a .ripple2 {
  position: absolute; width: 22px; height: 22px; border-radius: 50%;
  top: 58%; left: 62%; border: 2px solid var(--amarillo); background: transparent;
  transform: translate(-50%,-50%) scale(0.4);
  animation: rippleA 2.4s ease-out infinite;
}
.frame-a .ripple { background: var(--amarillo); border: none; }
.frame-a .ripple2 { animation-delay: 0.16s; }
@keyframes rippleA {
  0%, 54% { opacity: 0; transform: translate(-50%,-50%) scale(0.4); }
  58%     { opacity: 0.95; transform: translate(-50%,-50%) scale(0.7); }
  75%     { opacity: 0.5; transform: translate(-50%,-50%) scale(2.1); }
  88%, 100% { opacity: 0; transform: translate(-50%,-50%) scale(2.4); }
}
@keyframes cursorMoveA {
  0%   { top: 38%; left: 35%; opacity: 0; transform: scale(1); }
  15%  { opacity: 1; }
  52%  { top: 58%; left: 62%; opacity: 1; transform: scale(1); }
  58%  { top: 58%; left: 62%; transform: scale(0.78); }
  68%  { top: 58%; left: 62%; transform: scale(1); }
  90%  { opacity: 1; }
  100% { top: 38%; left: 35%; opacity: 0; transform: scale(1); }
}

/* Empresas: cursor violeta (color de ícono puntual, no de fondo), viaja horizontal y abre mini-formulario */
.frame-b .cursor { width: 15px; height: 15px; top: 32%; left: 82%; animation: cursorMoveB 3.2s ease-in-out infinite; }
.frame-b .cursor svg path { fill: var(--violeta-700); }
.frame-b .form-icon {
  position: absolute; top: 30%; left: 24%; width: 38px; height: 29px;
  transform: translate(-50%,-50%) scale(0.5); opacity: 0;
  animation: formIconB 3.2s ease-out infinite;
}
.frame-b .form-icon svg { width: 100%; height: 100%; }
@keyframes formIconB {
  0%, 56% { opacity: 0; transform: translate(-50%,-50%) scale(0.5); }
  62%     { opacity: 1; transform: translate(-50%,-50%) scale(0.92); }
  76%     { opacity: 1; transform: translate(-50%,-50%) scale(1); }
  92%, 100% { opacity: 0; transform: translate(-50%,-50%) scale(0.9); }
}
@keyframes cursorMoveB {
  0%   { top: 32%; left: 82%; opacity: 0; transform: scale(1); }
  20%  { opacity: 1; }
  56%  { top: 30%; left: 24%; opacity: 1; transform: scale(1); }
  62%  { top: 30%; left: 24%; transform: scale(0.8); }
  72%  { top: 30%; left: 24%; transform: scale(1); }
  92%  { opacity: 1; }
  100% { top: 32%; left: 82%; opacity: 0; transform: scale(1); }
}

.sitios-cta { text-align: center; margin-top: 2.5rem; }
.example-link {
  color: var(--salmon); font-size: 0.9rem; font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.3rem;
  transition: gap 0.2s;
}
.example-link:hover { gap: 0.55rem; }

/* TRATO DIRECTO */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem; max-width: 1050px; margin: 0 auto;
}
.service-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s, background 0.35s;
}
.service-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.service-icon {
  width: 44px; height: 44px; background: var(--accent-bg); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem; color: var(--accent);
}
.service-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-weight: 700; font-size: 1rem; margin-bottom: 0.65rem; letter-spacing: -0.01em; color: var(--text); }
.service-card p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.65; }
.process-tagline { text-align: center; font-size: 1rem; color: var(--text-muted); margin-top: 2.5rem; }
.process-tagline strong { color: var(--salmon); }

/* NOSOTROS */
.about-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; max-width: 880px; margin: 0 auto;
}
.about-text h2 {
  font-family: 'Sora', sans-serif; font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700; letter-spacing: -0.025em; margin-bottom: 1.1rem;
}
.about-text p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.78; }
.about-text p + p { margin-top: 0.85rem; }
.about-team { display: flex; gap: 1.5rem; margin-top: 2rem; flex-wrap: wrap; }
.about-person { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; text-align: center; }
.about-avatar-img {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  border: 2px solid var(--salmon); display: block;
}
.about-person-name { font-weight: 700; font-size: 0.88rem; display: block; text-decoration: none; color: var(--text); }
.about-person-role { color: var(--salmon); font-size: 0.78rem; font-weight: 500; }
.about-visual {
  background: var(--card-bg2); border: 1px solid var(--border); border-left: 3px solid var(--salmon);
  border-radius: 18px; padding: 2rem;
  transition: background 0.35s, border-color 0.35s;
}
.about-stat { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 1.5rem; }
.about-stat:last-child { margin-bottom: 0; }
.stat-num { font-family: 'Sora', sans-serif; font-size: 2rem; font-weight: 700; color: var(--accent); letter-spacing: -0.03em; }
.stat-label { color: var(--text-muted); font-size: 0.875rem; line-height: 1.45; }

/* PARA VOS SI... */
.check-list { list-style: none; max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.check-item { display: flex; align-items: center; gap: 0.9rem; font-size: 0.95rem; color: var(--text); }
.check-mark {
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
  background: var(--salmon-bg); display: flex; align-items: center; justify-content: center;
}
.check-mark svg { width: 14px; height: 14px; stroke: var(--salmon); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* CONTACTO */
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start; max-width: 820px; margin: 0 auto;
}
.contact-left h2 {
  font-family: 'Sora', sans-serif; font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700; letter-spacing: -0.025em; margin-bottom: 0.75rem;
}
.contact-left p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; margin-bottom: 1.75rem; }
.contact-info { color: var(--text-muted); font-size: 0.82rem; margin-top: 1.25rem; line-height: 1.8; }
.contact-right h3 { font-weight: 700; font-size: 0.95rem; margin-bottom: 1.2rem; color: var(--text); }
.expect-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.expect-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }
.expect-num {
  width: 22px; height: 22px; flex-shrink: 0; background: var(--salmon-bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: var(--salmon);
}

/* FOOTER */
footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 2rem 5%; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  transition: background 0.35s, border-color 0.35s;
}
.footer-logo { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--text); text-decoration: none; }
.footer-logo span { color: var(--accent); }
footer p { color: var(--text-muted); font-size: 0.78rem; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero-content > * { animation: fadeUp 0.65s ease both; }
.hero h1   { animation-delay: 0.22s; }
.hero-sub  { animation-delay: 0.36s; }
.hero-btns { animation-delay: 0.5s; }

/* MOBILE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .sistema-card { grid-template-columns: 1fr; }
  .sistema-visual { min-height: 200px; order: -1; }
  .sistema-visual::after { background: linear-gradient(0deg, var(--card-bg) 0%, transparent 25%); }
  .sistema-card:hover .sistema-visual::after { background: linear-gradient(0deg, var(--violeta-900) 0%, transparent 25%); }
  .web-cards { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
  footer { flex-direction: column; text-align: center; }
}
