/* ═══════════════════════════════════════════════════════════
   SIGYA — Sistemas Integrales Guzman y Andaur
   Tema Claro · Paleta de marca
   ═══════════════════════════════════════════════════════════ */

/* ── Variables de marca ── */
:root {
  /* Los 3 colores del logo */
  --navy:        #0d2558;
  --blue:        #1a56db;
  --orange:      #f47920;

  /* Derivados claros */
  --navy-light:  #1a3a7a;
  --blue-light:  #3b74f0;
  --orange-light:#ff9142;

  /* Fondos */
  --bg-white:    #ffffff;
  --bg-light:    #f5f7fa;
  --bg-section:  #eef2f9;
  --bg-navy:     #0d2558;

  /* Tintes suaves */
  --tint-blue:   rgba(26, 86, 219, 0.07);
  --tint-navy:   rgba(13, 37, 88, 0.06);
  --tint-orange: rgba(244, 121, 32, 0.08);

  /* Bordes */
  --border:      rgba(13, 37, 88, 0.1);
  --border-blue: rgba(26, 86, 219, 0.2);
  --border-orange: rgba(244, 121, 32, 0.25);

  /* Texto */
  --text-dark:   #0d2558;
  --text-body:   #2d4080;
  --text-muted:  #6b82b8;
  --text-light:  #ffffff;

  /* Gradientes */
  --grad-brand:  linear-gradient(135deg, #0d2558, #1a56db);
  --grad-accent: linear-gradient(135deg, #1a56db, #f47920);
  --grad-orange: linear-gradient(135deg, #f47920, #ff9142);
  --grad-hero:   linear-gradient(160deg, #0d2558 0%, #1a3a7a 40%, #1a56db 100%);

  /* Sombras */
  --shadow-sm:   0 2px 12px rgba(13, 37, 88, 0.08);
  --shadow-md:   0 8px 32px rgba(13, 37, 88, 0.12);
  --shadow-lg:   0 20px 60px rgba(13, 37, 88, 0.18);
  --shadow-blue: 0 8px 32px rgba(26, 86, 219, 0.3);
  --shadow-orange: 0 8px 32px rgba(244, 121, 32, 0.35);

  /* Tipografía */
  --font: 'Inter', 'Poppins', sans-serif;

  /* Radio */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Transiciones */
  --t: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-white);
  color: var(--text-body);
  overflow-x: hidden;
  line-height: 1.6;
  cursor: none;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
button { cursor: none; font-family: var(--font); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 10px; }

/* ── Custom Cursor ── */
.cursor {
  width: 10px; height: 10px;
  background: var(--orange);
  border-radius: 50%;
  position: fixed; pointer-events: none; z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s;
}
.cursor-follower {
  width: 34px; height: 34px;
  border: 2px solid rgba(244,121,32,0.5);
  border-radius: 50%;
  position: fixed; pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: left .12s ease, top .12s ease;
}

/* ── Loader ── */
.loader {
  position: fixed; inset: 0;
  background: var(--navy);
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-logo {
  font-size: 3rem; font-weight: 900; color: #fff;
  letter-spacing: .2em; margin-bottom: 8px;
  animation: pulse 1.5s ease-in-out infinite;
}
.loader-logo span { color: var(--orange); }
.loader-bar { width: 200px; height: 3px; background: rgba(255,255,255,.15); border-radius: 10px; overflow: hidden; margin: 16px auto 0; }
.loader-bar-fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--orange)); animation: loadBar 2s ease forwards; }
@keyframes loadBar { 0%{width:0%} 100%{width:100%} }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }

/* ── Scroll Progress Bar ── */
#scroll-bar {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 9999;
  background: linear-gradient(90deg, var(--navy), var(--blue), var(--orange));
  width: 0%; transition: width .1s linear;
  box-shadow: 0 0 8px rgba(244,121,32,.4);
}

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  transition: var(--t);
}
.navbar.scrolled {
  padding: 10px 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img {
  height: 46px; width: auto; object-fit: contain;
  transition: var(--t);
}
.nav-logo:hover .nav-logo-img { transform: scale(1.04); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 16px; border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 500;
  color: rgba(255,255,255,0.85); transition: var(--t);
}
.nav-link:hover { color: white; background: rgba(255,255,255,0.12); }

/* Una vez que el navbar toma fondo blanco al hacer scroll */
.navbar.scrolled .nav-link { color: var(--text-body); }
.navbar.scrolled .nav-link:hover { color: var(--blue); background: var(--tint-blue); }
.nav-cta {
  background: var(--grad-accent) !important;
  color: white !important;
  border-radius: var(--r-sm); font-weight: 700;
  padding: 10px 22px;
  box-shadow: var(--shadow-blue);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(26,86,219,.4); background: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--t); }

/* ── Utilidades ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section { padding: 110px 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 72px; }
.section-tag {
  display: inline-block; padding: 5px 18px;
  background: var(--tint-orange);
  border: 1px solid var(--border-orange);
  border-radius: 50px; font-size: .78rem; font-weight: 700;
  color: var(--orange); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px;
}
.section-title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.2; color: var(--navy); margin-bottom: 18px; }
.section-subtitle { font-size: 1.02rem; color: var(--text-muted); line-height: 1.75; }
.gradient-text {
  background: var(--grad-accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Botones ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--r-md);
  font-size: .95rem; font-weight: 700; border: none;
  cursor: none; transition: var(--t); position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--grad-accent); color: white;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(26,86,219,.4); }

.btn-secondary {
  background: white; color: var(--navy);
  border: 2px solid var(--border-blue);
}
.btn-secondary:hover { border-color: var(--blue); background: var(--tint-blue); transform: translateY(-2px); }

.btn-navy {
  background: var(--grad-brand); color: white;
  box-shadow: var(--shadow-md);
}
.btn-navy:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(13,37,88,.35); }

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E); color: white;
  box-shadow: 0 8px 32px rgba(37,211,102,.3);
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(37,211,102,.45); }

.btn-large { padding: 17px 36px; font-size: 1rem; border-radius: var(--r-lg); }
.btn-full { width: 100%; justify-content: center; }

/* ── Reveal Animations ── */
.reveal-fade, .reveal-up, .reveal-left, .reveal-right {
  opacity: 0; transition: opacity .75s cubic-bezier(.4,0,.2,1), transform .75s cubic-bezier(.4,0,.2,1);
}
.reveal-fade { transform: none; }
.reveal-up { transform: translateY(44px); }
.reveal-left { transform: translateX(-44px); }
.reveal-right { transform: translateX(44px); }
.reveal-fade.visible, .reveal-up.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .32s; }

/* ════════════════════════════
   HERO — fondo degradado navy
   ════════════════════════════ */
.hero {
  background: var(--grad-hero);
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 140px 32px 90px;
}

#particles-canvas { position: absolute; inset: 0; z-index: 0; opacity: .6; }

.hero-bg-orb { position: absolute; border-radius: 50%; filter: blur(80px); z-index: 0; animation: orbFloat 8s ease-in-out infinite; }
.orb-1 { width: 560px; height: 560px; background: radial-gradient(circle, rgba(26,86,219,.35), transparent 70%); top: -180px; right: -60px; }
.orb-2 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(244,121,32,.22), transparent 70%); bottom: -80px; left: -80px; animation-delay: 3s; }
.orb-3 { width: 260px; height: 260px; background: radial-gradient(circle, rgba(255,255,255,.06), transparent 70%); top: 40%; left: 28%; animation-delay: 1.5s; }
@keyframes orbFloat { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-28px) scale(1.04)} }

.hero-content { position: relative; z-index: 1; max-width: 620px; flex: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px;
  background: rgba(244,121,32,.15);
  border: 1px solid rgba(244,121,32,.4);
  border-radius: 50px; font-size: .8rem; font-weight: 600;
  color: #ffb380; margin-bottom: 28px;
}
.badge-dot { width: 7px; height: 7px; background: var(--orange); border-radius: 50%; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1;box-shadow:0 0 8px var(--orange)} 50%{opacity:.3;box-shadow:none} }

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 900; line-height: 1.05;
  color: white; letter-spacing: -.02em; margin-bottom: 24px;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, #ff9142, #f47920);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-subtitle { font-size: 1.08rem; color: rgba(255,255,255,.75); line-height: 1.8; margin-bottom: 40px; max-width: 510px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats { display: flex; align-items: center; gap: 28px; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num { font-size: 1.8rem; font-weight: 900; color: var(--orange); }
.hero-stat-label { font-size: .76rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .08em; }
.hero-stat-divider { width: 1px; height: 38px; background: rgba(255,255,255,.15); }

/* Hero Visual */
.hero-visual { position: relative; z-index: 1; flex: 1; display: flex; justify-content: center; align-items: center; padding-left: 60px; }

.hero-card {
  border-radius: var(--r-xl); padding: 24px; width: 360px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 64px rgba(0,0,0,.3);
  animation: heroCardFloat 6s ease-in-out infinite;
}
@keyframes heroCardFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

.card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.card-dots { display: flex; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red{background:#ff5f57} .dot.yellow{background:#febc2e} .dot.green{background:#28c840}
.card-title-small { font-size: .78rem; color: rgba(255,255,255,.4); margin-left: auto; }

.code-block { font-family:'Courier New',monospace; font-size:.84rem; }
.code-line { padding: 3px 0; color: rgba(255,255,255,.75); }
.code-line.indent { padding-left: 20px; }
.code-line.mt { margin-top: 12px; }
.code-line.output { margin-top:8px; padding:6px 10px; background:rgba(244,121,32,.12); border-radius:6px; border-left:2px solid var(--orange); }
.code-keyword{color:#80bfff} .code-var{color:#fff} .code-key{color:#a8d8a8} .code-string{color:#ffcc80} .code-num{color:#ff9142} .code-fn{color:#80bfff} .code-success{color:#80ffa0}

.hero-float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; border-radius: var(--r-md);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
  min-width: 160px;
}
.fc-1 { top: -24px; right: -24px; animation: floatCard1 5s ease-in-out infinite; }
.fc-2 { bottom: 36px; right: -44px; animation: floatCard2 6s ease-in-out infinite; }
.fc-3 { bottom: -16px; left: -16px; animation: floatCard1 7s ease-in-out infinite reverse; }
@keyframes floatCard1 { 0%,100%{transform:translateY(0) rotate(-2deg)} 50%{transform:translateY(-10px) rotate(2deg)} }
@keyframes floatCard2 { 0%,100%{transform:translateY(0) rotate(1deg)} 50%{transform:translateY(-14px) rotate(-1deg)} }
.fc-icon { font-size: 1.4rem; }
.fc-title { font-size:.8rem; font-weight:700; color:white; display:block; }
.fc-sub { font-size:.7rem; color:rgba(255,255,255,.55); display:block; }

.hero-scroll-indicator {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 1;
  opacity: 0; animation: fadeInUp 1s ease 2s forwards; color: rgba(255,255,255,.4);
}
@keyframes fadeInUp { from{opacity:0;transform:translateX(-50%) translateY(20px)} to{opacity:.5;transform:translateX(-50%) translateY(0)} }
.scroll-mouse { width:22px; height:36px; border:2px solid rgba(255,255,255,.3); border-radius:11px; display:flex; justify-content:center; padding-top:6px; }
.scroll-wheel { width:4px; height:7px; background:var(--orange); border-radius:2px; animation:scrollDown 2s ease-in-out infinite; }
@keyframes scrollDown { 0%{transform:translateY(0);opacity:1} 100%{transform:translateY(12px);opacity:0} }
.hero-scroll-indicator span { font-size:.68rem; text-transform:uppercase; letter-spacing:.12em; }

.hero::after {
  content:''; position:absolute; bottom:0; left:8%; right:8%; height:1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), var(--orange), rgba(255,255,255,.2), transparent);
}

/* ════════════════════════════
   TECNOLOGÍAS
   ════════════════════════════ */
.trusted-section {
  padding: 56px 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}
.trusted-label { text-align:center; font-size:.78rem; text-transform:uppercase; letter-spacing:.14em; color:var(--text-muted); margin-bottom:24px; font-weight:600; }
.trusted-logos { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; }
.tech-badge {
  padding: 7px 20px; border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: var(--bg-white);
  font-size:.82rem; font-weight:700; color:var(--text-muted);
  transition: var(--t);
}
.tech-badge:hover {
  border-color: var(--blue); color: var(--blue);
  background: var(--tint-blue); transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ════════════════════════════
   SERVICIOS
   ════════════════════════════ */
.services-section { background: var(--bg-light); }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.service-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl); padding: 36px 30px;
  transition: var(--t); position: relative; overflow: hidden; cursor: none;
}
.service-card::after {
  content:''; position:absolute; bottom:0; left:0; right:0; height:3px;
  background: var(--grad-accent); transform:scaleX(0); transition:transform .35s ease;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover { transform: translateY(-8px); border-color: var(--border-blue); box-shadow: var(--shadow-md); }

.service-card-special {
  background: linear-gradient(140deg, #f0f5ff, #fff8f3);
  border-color: var(--border-blue);
}

.service-icon-wrap { margin-bottom: 22px; }
.service-icon {
  width: 60px; height: 60px;
  background: var(--tint-blue);
  border: 1.5px solid var(--border-blue);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); transition: var(--t);
}
.service-card:hover .service-icon {
  background: var(--blue); color: white;
  box-shadow: 0 8px 24px rgba(26,86,219,.35);
  transform: scale(1.05);
}
.service-title { font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.service-desc { font-size: .88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; }
.service-features { margin-bottom: 20px; }
.service-features li { font-size: .82rem; color: var(--text-body); padding: 4px 0 4px 16px; position: relative; }
.service-features li::before { content:'→'; position:absolute; left:0; color:var(--orange); font-size:.75rem; }
.service-arrow { display:flex; align-items:center; color:var(--blue); opacity:0; transform:translateX(-8px); transition:var(--t); }
.service-card:hover .service-arrow { opacity:1; transform:translateX(0); }

/* ════════════════════════════
   ESTADÍSTICAS — fondo navy
   ════════════════════════════ */
.stats-section { background: var(--grad-brand); position: relative; overflow: hidden; }

.stats-bg-pattern {
  position: absolute; inset: 0; pointer-events: none; opacity: .04;
  background-image:
    linear-gradient(rgba(255,255,255,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.stats-section .section-header .section-tag {
  background: rgba(244,121,32,.2); border-color: rgba(244,121,32,.5); color: #ffb380;
}
.stats-section .section-title { color: white; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.stat-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl); padding: 44px 28px;
  text-align: center; transition: var(--t);
  backdrop-filter: blur(8px);
}
.stat-card:hover { background: rgba(255,255,255,.12); transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,.2); }
.stat-icon { font-size: 2.2rem; margin-bottom: 14px; display: block; }
.stat-number { display:inline; font-size:3.2rem; font-weight:900; color:white; line-height:1; }
.stat-suffix { display:inline; font-size:2rem; font-weight:900; color:var(--orange); }
.stat-label { display:block; margin-top:10px; font-size:.88rem; color:rgba(255,255,255,.6); font-weight:500; }

/* ════════════════════════════
   PROCESO — fondo blanco
   ════════════════════════════ */
.process-section { background: var(--bg-white); }

.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline-line {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, transparent, var(--blue), var(--orange), transparent);
  transform: translateX(-50%);
}

.timeline-item { display:flex; align-items:flex-start; margin-bottom:56px; position:relative; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }

.timeline-content {
  width: calc(50% - 40px); border-radius: var(--r-xl); padding: 28px 32px;
  background: var(--bg-white); border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm); transition: var(--t);
}
.timeline-content:hover { transform: scale(1.02); border-color: var(--border-blue); box-shadow: var(--shadow-md); }

.timeline-dot {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  border-radius: 50%; border: 3px solid var(--bg-white);
  box-shadow: 0 0 0 3px rgba(26,86,219,.2); z-index: 1; top: 28px;
}

.timeline-step { font-size: 2.8rem; font-weight: 900; color: var(--orange); opacity: .2; line-height: 1; margin-bottom: 6px; }
.timeline-title { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.timeline-desc { font-size: .88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.timeline-tags { display:flex; flex-wrap:wrap; gap:6px; }
.timeline-tags span {
  padding: 3px 11px; background: var(--tint-blue); border: 1px solid var(--border-blue);
  border-radius: 50px; font-size: .73rem; color: var(--blue); font-weight: 600;
}

/* ════════════════════════════
   TESTIMONIOS — fondo sección
   ════════════════════════════ */
.testimonials-section { background: var(--bg-section); }

.testimonials-carousel { position: relative; overflow: hidden; }
.testimonials-track { display:flex; gap:24px; transition:transform .5s cubic-bezier(.4,0,.2,1); }

.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--r-xl); padding: 36px 32px;
  box-shadow: var(--shadow-sm); transition: var(--t);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border-blue); }

.testimonial-quote { font-size: 4rem; line-height: .8; color: var(--orange); opacity: .3; margin-bottom: 14px; font-family: Georgia,serif; }
.testimonial-text { font-size:.92rem; color:var(--text-muted); line-height:1.8; margin-bottom:24px; font-style:italic; }
.testimonial-author { display:flex; align-items:center; gap:12px; }
.testimonial-avatar {
  width:44px; height:44px; border-radius:50%;
  background: var(--grad-accent); display:flex; align-items:center; justify-content:center;
  font-size:.82rem; font-weight:800; color:white; flex-shrink:0;
}
.testimonial-name { display:block; font-size:.88rem; font-weight:700; color:var(--navy); }
.testimonial-role { display:block; font-size:.76rem; color:var(--text-muted); }
.testimonial-stars { color:var(--orange); font-size:.82rem; letter-spacing:2px; margin-left:auto; }

.carousel-controls { display:flex; align-items:center; justify-content:center; gap:16px; margin-top:36px; }
.carousel-btn {
  width:42px; height:42px; border-radius:50%;
  background: white; border: 1.5px solid var(--border);
  color: var(--navy); display:flex; align-items:center; justify-content:center;
  transition: var(--t); box-shadow: var(--shadow-sm);
}
.carousel-btn:hover { background: var(--blue); color: white; border-color: var(--blue); transform: scale(1.1); }

.carousel-dots { display:flex; gap:8px; }
.carousel-dot {
  width:8px; height:8px; border-radius:50%;
  background: var(--border); border: none; transition: var(--t); cursor: none;
}
.carousel-dot.active { background: var(--orange); width: 24px; border-radius: 4px; box-shadow: 0 0 8px rgba(244,121,32,.5); }

/* ════════════════════════════
   GALERÍA
   ════════════════════════════ */
.gallery-section { background: var(--bg-white); }

.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto; gap: 18px;
}
.gallery-item {
  border-radius: var(--r-lg); overflow: hidden; position: relative;
  min-height: 220px; cursor: none;
  background: var(--bg-section); border: 1.5px solid var(--border);
  transition: var(--t);
}
.gallery-item.large { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }

.gallery-inner {
  position: absolute; inset: 0; padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  z-index: 1;
}
.gallery-icon { font-size: 2.8rem; }
.gallery-category { display:block; font-size:.72rem; text-transform:uppercase; letter-spacing:.1em; color:var(--blue); font-weight:700; margin-bottom:5px; }
.gallery-title { font-size:1rem; font-weight:800; color:var(--navy); }

.gallery-overlay {
  position:absolute; inset:0;
  background: linear-gradient(135deg, rgba(13,37,88,.97), rgba(26,86,219,.92));
  display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity .35s ease; z-index:2;
}
.gallery-overlay-content { padding:28px; text-align:center; color:white; }
.gallery-overlay-content h3 { font-size:1.2rem; font-weight:800; margin-bottom:10px; }
.gallery-overlay-content p { font-size:.86rem; line-height:1.7; opacity:.85; margin-bottom:14px; }
.gallery-tag { display:inline-block; padding:4px 14px; background:rgba(244,121,32,.3); border-radius:50px; font-size:.72rem; font-weight:700; color:#ffcc99; }

.gallery-item:hover .gallery-overlay { opacity:1; }
.gallery-item:hover { transform:scale(1.02); border-color:var(--border-blue); box-shadow:var(--shadow-md); }

/* ════════════════════════════
   VENTAJAS — fondo sección
   ════════════════════════════ */
.advantages-section { background: var(--bg-light); }

.comparison-grid { display:grid; grid-template-columns:1fr auto 1fr; gap:28px; align-items:start; max-width:960px; margin:0 auto; }
.comparison-vs { font-size:1.3rem; font-weight:900; color:var(--text-muted); padding-top:76px; text-align:center; }

.comparison-col { border-radius: var(--r-xl); overflow:hidden; background:white; border:1.5px solid var(--border); box-shadow: var(--shadow-sm); }
.comparison-header { padding:22px 28px; text-align:center; display:flex; align-items:center; justify-content:center; gap:10px; }
.comparison-header.others { background:var(--bg-light); border-bottom:1px solid var(--border); }
.comparison-header.sigya { background:var(--grad-brand); border-bottom:none; }
.comparison-header.others h3 { font-size:1rem; font-weight:700; color:var(--text-muted); }
.comparison-header.sigya h3 { font-size:1rem; font-weight:700; color:white; }
.comparison-header.sigya .logo-icon { color:var(--orange); font-size:1.4rem; }

.comparison-items { padding:8px 0; }
.comparison-item { display:flex; align-items:center; gap:12px; padding:13px 24px; font-size:.88rem; transition:var(--t); }
.comparison-item:hover { background:var(--tint-blue); }

.comp-icon { width:22px; height:22px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:.78rem; font-weight:800; flex-shrink:0; }
.comparison-item.negative .comp-icon { background:rgba(239,68,68,.1); color:#ef4444; }
.comparison-item.negative { color:var(--text-muted); }
.comparison-item.positive .comp-icon { background:rgba(26,86,219,.1); color:var(--blue); }
.comparison-item.positive { color:var(--text-body); font-weight:500; }

/* ════════════════════════════
   CTA — fondo navy
   ════════════════════════════ */
.cta-section {
  padding: 110px 32px; text-align:center; position:relative; overflow:hidden;
  background: var(--grad-hero);
}
.cta-orb { position:absolute; border-radius:50%; filter:blur(80px); }
.cta-orb-1 { width:500px; height:500px; background:radial-gradient(circle,rgba(26,86,219,.3),transparent 70%); top:-200px; left:-100px; }
.cta-orb-2 { width:400px; height:400px; background:radial-gradient(circle,rgba(244,121,32,.2),transparent 70%); bottom:-150px; right:-100px; }

.cta-content { position:relative; z-index:1; max-width:680px; margin:0 auto; }
.cta-section .section-tag { background:rgba(244,121,32,.18); border-color:rgba(244,121,32,.45); color:#ffb380; }
.cta-title { font-size:clamp(2.2rem,4vw,3.3rem); font-weight:900; color:white; margin-bottom:18px; line-height:1.2; }
.cta-title .gradient-text { background:linear-gradient(135deg,#ff9142,#f47920); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.cta-subtitle { font-size:1.02rem; color:rgba(255,255,255,.72); line-height:1.8; margin-bottom:40px; }
.cta-actions { display:flex; gap:18px; justify-content:center; flex-wrap:wrap; margin-bottom:22px; }
.cta-note { font-size:.8rem; color:rgba(255,255,255,.4); }

/* Botón blanco para CTA sobre fondo oscuro */
.btn-white {
  background: white; color: var(--navy); font-weight: 800;
  box-shadow: 0 8px 28px rgba(0,0,0,.2);
}
.btn-white:hover { transform:translateY(-3px); box-shadow:0 16px 40px rgba(0,0,0,.3); }

/* ════════════════════════════
   CONTACTO
   ════════════════════════════ */
.contact-section { background: var(--bg-white); }

.contact-grid { display:grid; grid-template-columns:1fr 1.4fr; gap:48px; align-items:start; }
.contact-cards { display:flex; flex-direction:column; gap:14px; }

.contact-card {
  display:flex; align-items:center; gap:18px;
  padding:20px 24px; border-radius:var(--r-lg);
  background:white; border:1.5px solid var(--border);
  box-shadow:var(--shadow-sm); transition:var(--t);
}
.contact-card:not(.no-link):hover { transform:translateX(6px); border-color:var(--border-blue); box-shadow:var(--shadow-md); }

.contact-card-icon { width:50px; height:50px; border-radius:var(--r-sm); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.email-icon { background:var(--tint-blue); border:1.5px solid var(--border-blue); color:var(--blue); }
.whatsapp-icon { background:rgba(37,211,102,.1); border:1.5px solid rgba(37,211,102,.25); color:#25D366; }
.location-icon { background:var(--tint-orange); border:1.5px solid var(--border-orange); color:var(--orange); }

.contact-card-info { flex:1; }
.contact-card-label { display:block; font-size:.72rem; color:var(--text-muted); text-transform:uppercase; letter-spacing:.08em; margin-bottom:3px; font-weight:600; }
.contact-card-value { display:block; font-size:.9rem; font-weight:700; color:var(--navy); }
.contact-card-arrow { color:var(--blue); font-size:1.1rem; opacity:0; transition:var(--t); }
.contact-card:not(.no-link):hover .contact-card-arrow { opacity:1; }

.contact-form-wrap {}
.contact-form {
  border-radius:var(--r-xl); padding:36px 34px;
  background:white; border:1.5px solid var(--border); box-shadow:var(--shadow-md);
}
.form-title { font-size:1.25rem; font-weight:800; color:var(--navy); margin-bottom:24px; }
.form-group { margin-bottom:18px; }
.form-group label { display:block; font-size:.78rem; font-weight:700; color:var(--text-body); text-transform:uppercase; letter-spacing:.08em; margin-bottom:7px; }
.form-group input,
.form-group select,
.form-group textarea {
  width:100%; padding:12px 16px;
  background:var(--bg-light); border:1.5px solid var(--border);
  border-radius:var(--r-sm); color:var(--navy); font-family:var(--font); font-size:.9rem;
  transition:var(--t); outline:none; -webkit-appearance:none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color:var(--text-muted); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color:var(--blue); box-shadow:0 0 0 3px rgba(26,86,219,.1); background:white;
}
.form-group select option { background:white; color:var(--navy); }
.form-group textarea { resize:vertical; min-height:110px; }

/* ════════════════════════════
   FOOTER — fondo navy
   ════════════════════════════ */
.footer { background: var(--navy); }
.footer-top { padding: 72px 0 52px; }

.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr; gap:44px; }

.footer-logo-img { height:48px; width:auto; object-fit:contain; filter:brightness(0) invert(1); margin-bottom:6px; }
.footer-tagline { font-size:.8rem; color:rgba(255,255,255,.4); margin-bottom:14px; font-style:italic; }
.footer-desc { font-size:.86rem; color:rgba(255,255,255,.5); line-height:1.7; margin-bottom:22px; }

.footer-social { display:flex; gap:8px; }
.social-btn {
  width:36px; height:36px; border-radius:var(--r-sm);
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.5);
  transition:var(--t);
}
.social-btn:hover { background:var(--blue); border-color:var(--blue); color:white; transform:translateY(-2px); }
.social-btn.whatsapp:hover { background:#25D366; border-color:#25D366; }

.footer-col-title { font-size:.78rem; font-weight:800; text-transform:uppercase; letter-spacing:.14em; color:rgba(255,255,255,.9); margin-bottom:18px; }
.footer-links { display:flex; flex-direction:column; gap:10px; }
.footer-links a { font-size:.86rem; color:rgba(255,255,255,.45); transition:var(--t); }
.footer-links a:hover { color:var(--orange); padding-left:6px; }

.footer-contact-items { display:flex; flex-direction:column; gap:12px; }
.footer-contact-item { display:flex; align-items:center; gap:10px; font-size:.84rem; color:rgba(255,255,255,.45); }
.footer-contact-item svg { color:var(--orange); flex-shrink:0; }
.footer-contact-item a { color:rgba(255,255,255,.45); transition:var(--t); }
.footer-contact-item a:hover { color:var(--orange); }

.footer-bottom { padding:22px 0; border-top:1px solid rgba(255,255,255,.08); }
.footer-bottom .container { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; }
.footer-bottom p { font-size:.78rem; color:rgba(255,255,255,.3); }

/* ════════════════════════════
   FLOTANTES
   ════════════════════════════ */
.whatsapp-fab {
  position:fixed; bottom:32px; right:32px; width:58px; height:58px;
  border-radius:50%; background:linear-gradient(135deg,#25D366,#128C7E);
  color:white; display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 28px rgba(37,211,102,.4); z-index:999; transition:var(--t);
  animation:fabPulse 3s ease-in-out infinite;
}
.whatsapp-fab:hover { transform:scale(1.14); box-shadow:0 16px 44px rgba(37,211,102,.55); animation:none; }
@keyframes fabPulse { 0%,100%{box-shadow:0 8px 28px rgba(37,211,102,.4)} 50%{box-shadow:0 8px 40px rgba(37,211,102,.65),0 0 0 10px rgba(37,211,102,.08)} }

.whatsapp-fab-tooltip {
  position:absolute; right:68px;
  background:white; border:1px solid var(--border); color:var(--navy);
  padding:7px 14px; border-radius:var(--r-sm); font-size:.8rem; font-weight:600;
  white-space:nowrap; opacity:0; pointer-events:none; transition:var(--t);
  box-shadow:var(--shadow-md);
}
.whatsapp-fab:hover .whatsapp-fab-tooltip { opacity:1; }

.back-to-top {
  position:fixed; bottom:102px; right:32px; width:42px; height:42px;
  border-radius:50%; background:white; border:1.5px solid var(--border);
  color:var(--navy); display:flex; align-items:center; justify-content:center;
  z-index:999; opacity:0; transform:translateY(16px); transition:var(--t);
  box-shadow:var(--shadow-sm);
}
.back-to-top.visible { opacity:1; transform:translateY(0); }
.back-to-top:hover { background:var(--navy); color:white; transform:translateY(-3px); box-shadow:var(--shadow-md); }

/* ════════════════════════════
   RESPONSIVE
   ════════════════════════════ */
@media (max-width: 1100px) {
  .hero { flex-direction:column; text-align:center; padding-top:150px; }
  .hero-content { max-width:100%; }
  .hero-subtitle,.hero-actions,.hero-stats { max-width:100%; }
  .hero-actions,.hero-stats { justify-content:center; }
  .hero-visual { padding-left:0; margin-top:56px; }
  .hero-card { width:320px; }
  .services-grid { grid-template-columns:repeat(2,1fr); }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position:fixed; top:0; right:-100%; bottom:0; width:78%; max-width:300px;
    background:white; flex-direction:column; padding:96px 28px 40px; gap:6px;
    transition:right .3s ease; border-left:1px solid var(--border);
    box-shadow:var(--shadow-lg);
  }
  .nav-links.open { right:0; }
  .nav-link { width:100%; padding:13px 16px; font-size:.95rem; }
  .nav-toggle { display:flex; }
  .nav-toggle span { background:var(--navy); }

  .section { padding:72px 0; }
  .section-header { margin-bottom:44px; }
  .hero { padding:112px 24px 56px; }
  .container { padding:0 20px; }
  .hero-title { font-size:clamp(2.2rem,8vw,3.2rem); }
  .hero-card { width:100%; max-width:300px; }
  .fc-1,.fc-2,.fc-3 { display:none; }

  .services-grid { grid-template-columns:1fr; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .gallery-grid { grid-template-columns:1fr; }
  .gallery-item.large { grid-column:span 1; }
  .gallery-item.tall { grid-row:span 1; }

  .timeline-line { left:22px; }
  .timeline-item,.timeline-item:nth-child(even) { flex-direction:column; padding-left:52px; }
  .timeline-dot { left:22px; transform:translateX(-50%); }
  .timeline-content { width:100%; }

  .testimonials-track { gap:14px; }
  .testimonial-card { flex:0 0 85%; }
  .comparison-grid { grid-template-columns:1fr; }
  .comparison-vs { padding-top:0; }
  .contact-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; gap:28px; }
  .footer-bottom .container { flex-direction:column; text-align:center; }
  .cta-actions { flex-direction:column; align-items:center; }
}

/* ════════════════════════════
   SKIP LINK — Accesibilidad
   ════════════════════════════ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--navy);
  color: white;
  padding: 10px 20px;
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 700;
  z-index: 99999;
  transition: top .2s ease;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ════════════════════════════
   FAQ
   ════════════════════════════ */
.faq-section { background: var(--bg-light); }

.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: var(--t);
}
.faq-item:hover { border-color: var(--border-blue); box-shadow: var(--shadow-sm); }
.faq-item[open] { border-color: var(--blue); box-shadow: var(--shadow-md); }

.faq-question {
  padding: 20px 28px;
  font-size: .98rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  transition: var(--t);
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform .3s ease;
  line-height: 1;
}
.faq-item[open] .faq-question::after { transform: rotate(45deg); color: var(--orange); }
.faq-item[open] .faq-question { color: var(--blue); }

.faq-answer {
  padding: 0 28px 22px;
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.8;
  border-top: 1px solid var(--border);
  margin: 0 28px;
  padding-top: 18px;
}
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--blue); font-weight: 600; text-decoration: underline; }
.faq-answer strong { color: var(--navy); }

@media (max-width: 480px) {
  .hero-stats { flex-direction:column; gap:12px; }
  .hero-stat-divider { display:none; }
  .stats-grid { grid-template-columns:1fr; }
  .stat-card { padding:32px 20px; }
  .contact-form { padding:24px 20px; }
  .whatsapp-fab { bottom:20px; right:20px; width:52px; height:52px; }
  .back-to-top { bottom:82px; right:20px; }
}
