/* ========================================
   SOR WEBS — styles.css
   Archetype: Glassmorphism Modern
   Palette: Navy #0A1628 / Teal #2DD4BF / White / Light grey
   ======================================== */

/* --- RESET & BASE ---------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0A1628;
  --navy-2:    #0F1F3D;
  --navy-3:    #162444;
  --teal:      #2DD4BF;
  --teal-dim:  #1EA896;
  --teal-glow: rgba(45,212,191,.18);
  --white:     #FFFFFF;
  --grey-light:#F8FAFC;
  --grey-mid:  #E2E8F0;
  --grey-text: #64748B;
  --dark-text: #0F172A;
  --red:       #EF4444;
  --card-glass:rgba(255,255,255,.06);
  --card-border:rgba(255,255,255,.10);
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 20px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.15);
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--dark-text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- CURSOR ----------------------------- */
.cursor, .cursor-follower {
  pointer-events: none;
  position: fixed;
  border-radius: 50%;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity .3s;
}
.cursor {
  width: 8px; height: 8px;
  background: var(--teal);
  top: 0; left: 0;
}
.cursor-follower {
  width: 32px; height: 32px;
  border: 1.5px solid rgba(45,212,191,.5);
  top: 0; left: 0;
  transition: top .12s, left .12s, width .2s, height .2s;
}
@media (hover: none) { .cursor, .cursor-follower { display: none; } }

/* --- SPLASH ----------------------------- */
.splash {
  position: fixed; inset: 0;
  background: var(--navy);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 9000;
  animation: splash-out .5s ease-in 2s forwards;
}
.splash-logo svg { animation: splash-logo-in .6s ease .2s both; }
.splash-bar {
  width: 120px; height: 2px;
  background: rgba(255,255,255,.1);
  margin-top: 24px; border-radius: 2px; overflow: hidden;
}
.splash-bar::after {
  content: '';
  display: block; height: 100%;
  background: var(--teal);
  animation: splash-bar-fill 1.6s ease .2s forwards;
}
@keyframes splash-logo-in { from { opacity:0; transform: scale(.8); } to { opacity:1; transform: scale(1); } }
@keyframes splash-bar-fill { from { width: 0; } to { width: 100%; } }
@keyframes splash-out { to { opacity: 0; pointer-events: none; visibility: hidden; } }

/* --- NAVBAR ----------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background .3s, padding .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(10,22,40,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; gap: 40px;
}
.nav-logo {
  display: flex; align-items: center; gap: 6px;
  font-weight: 900; font-size: 1.4rem;
  letter-spacing: -1px; line-height: 1;
  color: var(--white);
}
.logo-s { color: var(--white); }
.logo-o { color: var(--teal); }
.logo-r { color: var(--white); }
.logo-tag {
  font-size: .75rem; font-weight: 500;
  color: rgba(255,255,255,.5); letter-spacing: .5px;
  margin-left: 4px; margin-top: 4px;
  font-style: italic;
}
.nav-links {
  display: flex; gap: 32px;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255,255,255,.75);
  font-size: .875rem; font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--teal); }
.nav-cta { margin-left: 8px; }
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 4px; margin-left: auto;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 900;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.mobile-menu a {
  color: var(--white); font-size: 1.25rem; font-weight: 600;
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--teal); }

/* --- BUTTONS ---------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: .9375rem; font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--teal);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--teal-dim);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(45,212,191,.35);
}
.btn-outline {
  border: 1.5px solid rgba(255,255,255,.25);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}
.btn-outline.dark {
  border-color: rgba(10,22,40,.25);
  color: var(--dark-text);
}
.btn-outline.dark:hover { border-color: var(--teal); color: var(--teal); }
.btn-large { padding: 16px 32px; font-size: 1rem; border-radius: 10px; }
.btn-sm { padding: 9px 18px; font-size: .8125rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-shimmer::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  animation: shimmer 2.5s infinite 1s;
}
@keyframes shimmer { to { left: 140%; } }

/* --- SECTIONS --------------------------- */
.section { padding: 100px 0; }
.section-light { background: var(--grey-light); }
.section-white { background: var(--white); }
.section-dark { background: var(--navy); color: var(--white); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -.5px; margin-bottom: 16px;
}
.section-dark .section-header h2 { color: var(--white); }
.section-sub {
  font-size: 1.0625rem; color: var(--grey-text);
  max-width: 560px; margin: 0 auto;
}
.section-dark .section-sub { color: rgba(255,255,255,.6); }
.section-label {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--grey-text);
  margin-bottom: 12px;
}
.label-teal { color: var(--teal); }
.section-dark .section-label { color: rgba(255,255,255,.4); }

/* --- REVEAL ANIMATIONS ----------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal[data-split] { opacity: 1; transform: none; }

/* --- HERO ------------------------------- */
.hero {
  position: relative; min-height: 100vh;
  background: var(--navy);
  display: flex; align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: .55;
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(45,212,191,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,212,191,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.hero-content {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(45,212,191,.12);
  border: 1px solid rgba(45,212,191,.25);
  color: var(--teal);
  font-size: .8125rem; font-weight: 600; letter-spacing: .3px;
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 900; line-height: 1.08;
  letter-spacing: -1.5px; color: var(--white);
  margin-bottom: 20px;
}
.accent-text {
  background: linear-gradient(135deg, var(--teal), #67e8f9);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.0625rem; color: rgba(255,255,255,.65);
  max-width: 500px; margin-bottom: 36px; line-height: 1.7;
}
.br-desk { display: block; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats {
  display: flex; align-items: center; gap: 28px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-size: 1.5rem; font-weight: 800;
  color: var(--white); line-height: 1;
}
.stat-suffix { color: var(--teal); font-weight: 800; font-size: 1.2rem; }
.stat-label { font-size: .75rem; color: rgba(255,255,255,.5); margin-top: 2px; }
.stat-div { width: 1px; height: 36px; background: rgba(255,255,255,.1); }

/* Hero mockup */
.hero-mockup {
  position: relative; display: flex;
  align-items: flex-end; justify-content: center;
}
.mockup-laptop {
  width: 380px; max-width: 100%;
  background: #1a2744;
  border-radius: 12px 12px 6px 6px;
  border: 1.5px solid rgba(255,255,255,.1);
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.05);
  overflow: hidden;
  animation: float-laptop 5s ease-in-out infinite;
}
@keyframes float-laptop {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.laptop-screen {
  background: #0d1a36; padding: 14px; min-height: 220px;
}
.screen-nav {
  height: 8px; background: rgba(255,255,255,.06);
  border-radius: 4px; margin-bottom: 12px;
}
.screen-hero { padding: 12px; margin-bottom: 10px; }
.screen-h1 {
  height: 10px; width: 70%; background: rgba(255,255,255,.2);
  border-radius: 4px; margin-bottom: 8px;
}
.screen-sub {
  height: 6px; width: 85%; background: rgba(255,255,255,.08);
  border-radius: 4px; margin-bottom: 12px;
}
.screen-btn {
  height: 20px; width: 100px;
  background: var(--teal); border-radius: 5px; opacity: .8;
}
.screen-cards { display: flex; gap: 8px; padding: 0 4px; }
.screen-card {
  flex: 1; height: 50px; border-radius: 6px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}
.c2 { background: rgba(45,212,191,.1); }
.laptop-base {
  height: 18px; background: #243050;
  border-radius: 0 0 6px 6px;
  display: flex; justify-content: center; align-items: center;
}
.laptop-notch { width: 60px; height: 4px; background: rgba(0,0,0,.3); border-radius: 4px; }

.mockup-phone {
  width: 110px;
  background: #1a2744;
  border-radius: 16px;
  border: 1.5px solid rgba(255,255,255,.12);
  overflow: hidden;
  position: absolute;
  bottom: -20px; right: -20px;
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
  animation: float-phone 5s ease-in-out infinite .8s;
}
@keyframes float-phone {
  0%,100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}
.phone-screen { background: #0d1a36; padding: 8px; min-height: 160px; }
.phone-nav { height: 5px; background: rgba(255,255,255,.08); border-radius: 3px; margin-bottom: 10px; }
.phone-hero { padding: 4px; }
.phone-h1 { height: 8px; width: 80%; background: rgba(255,255,255,.2); border-radius: 3px; margin-bottom: 8px; }
.phone-btn { height: 18px; width: 70%; background: var(--teal); border-radius: 4px; opacity: .7; }

.mockup-glow {
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(45,212,191,.2), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}

.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.35); font-size: .7rem; letter-spacing: 1px;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse { 0%,100% { opacity:.3; } 50% { opacity:.8; } }

/* --- PROBLEMA -------------------------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.problem-card {
  background: var(--white);
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(239,68,68,.3);
}
.problem-icon { margin-bottom: 14px; }
.problem-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--dark-text); }
.problem-card p { font-size: .875rem; color: var(--grey-text); line-height: 1.6; }

/* --- SOLUCIÓN -------------------------- */
.solution-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.pillar {
  text-align: center;
  background: var(--card-glass);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(45,212,191,.12);
}
.pillar-icon {
  width: 64px; height: 64px;
  background: rgba(45,212,191,.1);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.pillar h3 { color: var(--white); font-size: 1.125rem; font-weight: 700; margin-bottom: 10px; }
.pillar p { color: rgba(255,255,255,.6); font-size: .9375rem; line-height: 1.65; }

/* --- SERVICIOS ------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(45,212,191,.12);
  border-color: rgba(45,212,191,.4);
}
.service-icon {
  width: 52px; height: 52px;
  background: rgba(45,212,191,.08);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-card h3 { font-size: .9375rem; font-weight: 700; margin-bottom: 8px; color: var(--dark-text); }
.service-card p { font-size: .8125rem; color: var(--grey-text); line-height: 1.6; }

/* --- PARA QUIÉN ------------------------ */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}
.client-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; text-align: center;
  background: var(--white);
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 28px 16px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.client-card:hover {
  transform: translateY(-5px);
  border-color: var(--teal);
  box-shadow: 0 6px 24px rgba(45,212,191,.12);
}
.client-icon { flex-shrink: 0; }
.client-card span { font-size: .8125rem; font-weight: 600; color: var(--dark-text); }

/* --- BENEFICIOS ------------------------ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 860px; margin: 0 auto;
}
.benefit-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card-glass);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform var(--transition);
}
.benefit-item:hover { transform: translateY(-3px); }
.benefit-check { flex-shrink: 0; margin-top: 2px; }
.benefit-item h4 { color: var(--white); font-size: .9375rem; font-weight: 700; margin-bottom: 4px; }
.benefit-item p { color: rgba(255,255,255,.55); font-size: .875rem; line-height: 1.6; }

/* --- PROCESO --------------------------- */
.process-steps {
  display: flex; gap: 0; position: relative;
  max-width: 1000px; margin: 0 auto;
}
.process-step {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative;
}
.step-num {
  font-size: 2.5rem; font-weight: 900;
  color: rgba(45,212,191,.15); letter-spacing: -2px;
  margin-bottom: 4px; line-height: 1;
}
.step-connector {
  position: absolute; top: 50px; left: 60%;
  width: 80%; height: 1px;
  background: linear-gradient(90deg, var(--teal), rgba(45,212,191,.15));
}
.step-icon {
  width: 56px; height: 56px;
  background: rgba(45,212,191,.08);
  border: 1.5px solid rgba(45,212,191,.25);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step-content { padding: 0 8px; }
.step-content h3 { font-size: .9375rem; font-weight: 700; color: var(--dark-text); margin-bottom: 8px; }
.step-content p { font-size: .8125rem; color: var(--grey-text); line-height: 1.6; }

/* --- DEMOS ----------------------------- */
.demos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.demo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--grey-mid);
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--white);
}
.demo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.demo-preview {
  aspect-ratio: 16/9; position: relative;
  overflow: hidden;
}
.demo-browser-bar {
  display: flex; align-items: center; gap: 8px;
  background: #1a1a2e; padding: 8px 14px;
  position: relative; z-index: 2;
}
.db-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.2);
}
.db-url {
  font-size: .65rem; color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.06);
  padding: 2px 10px; border-radius: 20px; flex: 1; text-align: center;
  letter-spacing: .5px;
}
.demo-screen {
  padding: 14px 12px;
  height: calc(100% - 34px);
  display: flex; flex-direction: column; gap: 10px;
}
.ds-h1 { height: 10px; border-radius: 3px; background: rgba(255,255,255,.3); margin-bottom: 6px; }
.ds-sub { height: 7px; border-radius: 3px; background: rgba(255,255,255,.15); margin-bottom: 10px; }
.ds-btn-sm { height: 18px; width: 80px; border-radius: 5px; }
.ds-w50 { width: 50%; } .ds-w55 { width: 55%; } .ds-w60 { width: 60%; }
.ds-w65 { width: 65%; } .ds-w70 { width: 70%; } .ds-w75 { width: 75%; }
.ds-w80 { width: 80%; } .ds-w90 { width: 90%; }
.ds-line { height: 7px; border-radius: 3px; background: rgba(0,0,0,.1); }
.ds-mt { margin-top: 6px; }

/* Demo restaurant */
.demo-restaurant { background: linear-gradient(135deg, #1a0a0a 0%, #2d1010 100%); }
.ds-hero.ds-r { background: rgba(255,255,255,.05); border-radius: 6px; padding: 12px; }
.ds-btn-sm { background: #c5301e; }
.ds-cards-row { display: flex; gap: 8px; }
.ds-card { flex: 1; height: 45px; border-radius: 6px; }
.dc-r { background: rgba(197,48,30,.25); border: 1px solid rgba(197,48,30,.2); }

/* Demo barberia */
.demo-barberia { background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%); }
.ds-hero.ds-b { background: rgba(255,255,255,.05); border-radius: 6px; padding: 12px; }
.ds-btn-sm.ds-btn-b { background: #f59e0b; }
.ds-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: 1; }
.ds-img-block { border-radius: 6px; }
.db-dark { background: rgba(255,255,255,.08); }
.ds-text-block { display: flex; flex-direction: column; justify-content: center; padding: 4px; }

/* Demo clinica */
.demo-clinica { background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); }
.ds-hero.ds-c { background: rgba(255,255,255,.7); border-radius: 6px; padding: 12px; }
.ds-h1 { background: rgba(0,0,0,.2); }
.ds-sub { background: rgba(0,0,0,.1); }
.ds-btn-sm.ds-btn-c { background: #0284c7; }
.ds-services-row { display: flex; gap: 8px; }
.ds-service-card { flex: 1; height: 40px; border-radius: 5px; }
.dc-c { background: rgba(2,132,199,.15); border: 1px solid rgba(2,132,199,.2); }

/* Demo tienda */
.demo-tienda { background: linear-gradient(135deg, #faf7f0 0%, #f0ebe0 100%); }
.ds-hero.ds-t { background: rgba(0,0,0,.05); border-radius: 6px; padding: 12px; margin-bottom: 8px; }
.ds-product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; flex: 1; }
.ds-product { border-radius: 5px; }
.dc-t { background: rgba(180,120,60,.15); border: 1px solid rgba(180,120,60,.2); }

.demo-info {
  padding: 20px 24px 24px;
}
.demo-badge {
  display: inline-block;
  font-size: .65rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--teal);
  background: rgba(45,212,191,.1); border: 1px solid rgba(45,212,191,.2);
  padding: 2px 8px; border-radius: 20px; margin-bottom: 10px;
}
.demo-info h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 6px; }
.demo-info p { font-size: .875rem; color: var(--grey-text); margin-bottom: 16px; line-height: 1.5; }
.demo-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.demo-soon {
  display: inline-block;
  font-size: .75rem; font-weight: 600; letter-spacing: .5px;
  color: var(--grey-text);
  background: var(--grey-light);
  border: 1px solid var(--grey-mid);
  padding: 6px 14px; border-radius: 6px;
}

/* --- CTA COMERCIAL --------------------- */
.section-cta {
  padding: 120px 0;
  background: var(--navy);
  text-align: center; position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(45,212,191,.12), transparent 70%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 2; }
.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; color: var(--white);
  margin: 12px 0 20px; letter-spacing: -.5px;
}
.cta-content p {
  color: rgba(255,255,255,.6); font-size: 1.0625rem;
  max-width: 520px; margin: 0 auto 36px; line-height: 1.7;
}

/* --- CONTACTO -------------------------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800; margin: 12px 0 16px; line-height: 1.15;
}
.contact-info > p {
  font-size: 1.0625rem; color: var(--grey-text);
  margin-bottom: 32px; line-height: 1.7;
}
.contact-channels { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.contact-channel {
  display: flex; align-items: center; gap: 16px;
  background: var(--white);
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-channel:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 16px rgba(45,212,191,.1);
}
.channel-icon {
  width: 40px; height: 40px;
  background: rgba(45,212,191,.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.channel-label { display: block; font-size: .75rem; color: var(--grey-text); font-weight: 500; }
.channel-value { display: block; font-size: .9375rem; font-weight: 600; color: var(--dark-text); }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-actions .btn-outline { border-color: rgba(10,22,40,.2); color: var(--dark-text); }
.contact-actions .btn-outline:hover { border-color: var(--teal); color: var(--teal); }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: .8125rem; font-weight: 600;
  color: var(--dark-text); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--grey-mid);
  border-radius: 8px;
  font-family: var(--font); font-size: .9375rem;
  color: var(--dark-text); background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none; appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #94a3b8; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(45,212,191,.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-error { display: block; font-size: .75rem; color: var(--red); margin-top: 4px; min-height: 1rem; }
.form-note { font-size: .75rem; color: var(--grey-text); text-align: center; margin-top: 12px; }
.form-success {
  display: flex; align-items: center; gap: 12px;
  background: rgba(45,212,191,.08);
  border: 1px solid rgba(45,212,191,.25);
  border-radius: 10px; padding: 16px;
  margin-top: 16px;
}
.form-success p { font-size: .9375rem; color: var(--dark-text); font-weight: 500; }

/* --- FOOTER ---------------------------- */
.footer {
  background: #060e1c;
  padding: 64px 0 0;
  color: rgba(255,255,255,.5);
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand p { font-size: .875rem; line-height: 1.6; }
.footer-links, .footer-contact {
  display: flex; flex-direction: column; gap: 10px;
}
.footer-col-title {
  font-size: .75rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: rgba(255,255,255,.25);
  margin-bottom: 6px;
}
.footer-links a, .footer-contact a {
  font-size: .875rem; color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer-links a:hover, .footer-contact a:hover { color: var(--teal); }
.footer-logo .logo-tag { color: rgba(255,255,255,.3); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 24px; text-align: center;
  font-size: .8125rem;
  max-width: 1180px; margin: 0 auto;
}

/* --- RESPONSIVE ------------------------ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .clients-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text { order: 1; }
  .hero-mockup { order: 2; margin: 0 auto; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .br-desk { display: none; }
  .mockup-laptop { width: 320px; }
  .solution-pillars { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; gap: 32px; }
  .step-connector { display: none; }
  .process-step { flex-direction: row; text-align: left; gap: 16px; }
  .step-num { font-size: 1.5rem; margin-bottom: 0; }
  .demos-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-wrap { padding: 24px; }
  .process-step { align-items: flex-start; }
  .hero-stats { gap: 16px; }
  .stat-div { height: 28px; }
  .problem-grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .hero-ctas { flex-direction: column; }
  .btn-large { padding: 14px 24px; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
}
