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

:root {
  /* Brand — tomado directamente del logo */
  --navy:        #0f172a;
  --navy-2:      #1e293b;
  --navy-3:      #334155;
  --accent:      #38bdf8;   /* azul cielo — acento vivo sobre navy */
  --accent-2:    #0ea5e9;
  --accent-glow: rgba(56,189,248,0.2);

  /* Backgrounds */
  --bg:   #080f1e;
  --bg-2: #0d1526;
  --bg-3: #111d35;

  /* Borders */
  --border:   rgba(255,255,255,0.07);
  --border-2: rgba(255,255,255,0.13);

  /* Text */
  --text:   #f1f5f9;
  --text-2: #94a3b8;
  --text-3: #64748b;

  /* App preview (light — igual que el sistema real) */
  --app-bg:     #f5f6f8;
  --app-card:   #ffffff;
  --app-border: #e2e8f0;
  --app-navy:   #0f172a;
  --app-muted:  #64748b;

  /* Subject card palettes */
  --s-blue-bg:   #dbeafe; --s-blue-t:   #1e40af; --s-blue-b:   #93c5fd;
  --s-green-bg:  #d1fae5; --s-green-t:  #065f46; --s-green-b:  #6ee7b7;
  --s-orange-bg: #ffedd5; --s-orange-t: #9a3412; --s-orange-b: #fdba74;
  --s-pink-bg:   #fce7f3; --s-pink-t:   #9d174d; --s-pink-b:   #f9a8d4;
  --s-slate-bg:  #f1f5f9; --s-slate-t:  #334155; --s-slate-b:  #cbd5e1;

  --radius:    14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.22s ease;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-accent: 0 8px 40px rgba(56,189,248,0.2);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { font-family: 'Space Grotesk', sans-serif; line-height: 1.15; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: linear-gradient(120deg, #e2e8f0 0%, var(--accent) 55%, #7dd3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: var(--radius-sm); font-weight: 600; transition: var(--transition); white-space: nowrap; }

.btn-primary {
  background: var(--navy);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), var(--shadow-accent);
}
.btn-primary:hover {
  background: var(--navy-2);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-accent);
  transform: translateY(-2px);
}
.btn-ghost { background: rgba(255,255,255,0.05); color: var(--text-2); border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,0.09); color: var(--text); border-color: var(--border-2); }
.btn-sm  { padding: 8px 18px; font-size: 14px; }
.btn-lg  { padding: 14px 28px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(8,15,30,0.90);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--border);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; gap: 36px; }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
}
.logo-icon { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { padding: 7px 14px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; color: var(--text-2); transition: var(--transition); }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-2); border-radius: 2px; transition: var(--transition); }

/* ===== HERO ===== */
.hero { position: relative; padding: 130px 0 80px; overflow: hidden; }
.hero-bg { position: fixed; inset: 0; pointer-events: none; z-index: -1; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.12; }
.orb-1 { width: 700px; height: 700px; background: var(--navy-2); top: -200px; left: -100px; }
.orb-2 { width: 500px; height: 500px; background: var(--accent); top: 0; right: -150px; animation: orb-drift 14s ease-in-out infinite; }
.orb-3 { width: 400px; height: 400px; background: #0f172a; bottom: -100px; left: 30%; }
.grid-overlay {
  position: absolute; inset: 0;
  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: 56px 56px;
}
@keyframes orb-drift { 0%,100%{transform:translate(0,0);} 50%{transform:translate(-30px,20px);} }

.hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.hero-content { position: relative; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px;
  background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.2);
  font-size: 13px; font-weight: 500; color: var(--accent);
  margin-bottom: 28px;
}
.hero-title { font-size: clamp(36px, 4.5vw, 58px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 22px; }
.hero-subtitle { font-size: 17px; color: var(--text-2); line-height: 1.75; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-proof { display: flex; flex-direction: column; gap: 9px; }
.proof-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.proof-item svg { flex-shrink: 0; }

/* ===== APP WINDOW ===== */
.hero-visual { position: relative; }
.app-window {
  background: var(--app-card);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 0 0 1px var(--app-border), 0 32px 80px rgba(0,0,0,0.6), 0 0 60px rgba(56,189,248,0.06);
}
.app-titlebar {
  background: var(--app-navy); display: flex; align-items: center; gap: 12px; padding: 11px 16px;
}
.app-dots { display: flex; gap: 6px; }
.app-dots span { width: 10px; height: 10px; border-radius: 50%; }
.app-dots span:nth-child(1) { background: #ff5f57; }
.app-dots span:nth-child(2) { background: #febc2e; }
.app-dots span:nth-child(3) { background: #28c840; }
.app-breadcrumb { display: flex; align-items: center; gap: 6px; flex: 1; }
.app-breadcrumb-item   { font-size: 11px; color: rgba(255,255,255,0.35); }
.app-breadcrumb-sep    { font-size: 11px; color: rgba(255,255,255,0.2); }
.app-breadcrumb-active { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.8); }
.app-status { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #4ade80; font-weight: 600; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1;} 50%{opacity:0.4;} }

.app-body { padding: 12px; background: var(--app-bg); }
.schedule-table { border-radius: 8px; overflow: hidden; border: 1px solid var(--app-border); background: var(--app-card); }
.sch-header-row, .sch-row { display: grid; grid-template-columns: 54px repeat(5, 1fr); }
.sch-header-row { background: var(--app-navy); }
.sch-row { border-bottom: 1px solid var(--app-border); }
.sch-row:last-child { border-bottom: none; }
.sch-cell { padding: 6px 5px; min-height: 50px; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--app-border); }
.sch-cell:last-child { border-right: none; }
.sch-day-header { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.65); letter-spacing: 0.04em; text-transform: uppercase; min-height: 28px; }
.sch-time-header { min-height: 28px; }
.sch-time { font-size: 9px; font-weight: 600; color: var(--app-muted); }
.empty-cell { background: rgba(0,0,0,0.018); }

.subject-card {
  width: 100%; border-radius: 5px; padding: 5px 7px;
  font-size: 10px; font-weight: 700; line-height: 1.25;
  display: flex; flex-direction: column; gap: 2px;
  cursor: default; transition: transform 0.15s ease; border-width: 1px; border-style: solid;
}
.subject-card:hover { transform: scale(1.04); }
.subject-card span { font-size: 8.5px; font-weight: 400; opacity: 0.75; }

.subject-card.blue   { background: var(--s-blue-bg);   color: var(--s-blue-t);   border-color: var(--s-blue-b); }
.subject-card.green  { background: var(--s-green-bg);  color: var(--s-green-t);  border-color: var(--s-green-b); }
.subject-card.orange { background: var(--s-orange-bg); color: var(--s-orange-t); border-color: var(--s-orange-b); }
.subject-card.pink   { background: var(--s-pink-bg);   color: var(--s-pink-t);   border-color: var(--s-pink-b); }
.subject-card.slate  { background: var(--s-slate-bg);  color: var(--s-slate-t);  border-color: var(--s-slate-b); }

.conflict-card {
  background: #fef3c7; color: #92400e; border-color: #fbbf24;
  animation: conflict-blink 1.2s ease-in-out infinite;
}
@keyframes conflict-blink { 0%,100%{border-color:#fbbf24;} 50%{border-color:#f59e0b; box-shadow:0 0 6px rgba(245,158,11,0.45);} }

.app-toolbar { display: flex; align-items: center; gap: 8px; padding: 8px 4px 2px; }
.toolbar-btn { display: flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 6px; font-size: 11px; font-weight: 600; transition: var(--transition); }
.btn-generate { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.btn-generate:hover { background: #dbeafe; }
.btn-publish  { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.btn-publish:hover  { background: #dcfce7; }
.conflict-tag { margin-left: auto; display: flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 600; color: #92400e; background: #fef3c7; border: 1px solid #fcd34d; padding: 4px 10px; border-radius: 6px; }

.float-badge {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: rgba(8,15,30,0.94); border: 1px solid rgba(56,189,248,0.2);
  padding: 9px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 600; color: var(--text);
  backdrop-filter: blur(12px); white-space: nowrap;
  box-shadow: var(--shadow-accent);
}
.float-badge svg { color: var(--accent); }
.float-top    { top: -18px; right: -20px; animation: float-bob 4s ease-in-out infinite; }
.float-bottom { bottom: -18px; left: -20px; animation: float-bob 4s ease-in-out infinite 2s; }
@keyframes float-bob { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-7px);} }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-header { text-align: center; max-width: 620px; margin: 0 auto 64px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 16px; border-radius: 100px;
  background: rgba(56,189,248,0.08); border: 1px solid rgba(56,189,248,0.18);
  font-size: 12px; font-weight: 700; color: var(--accent);
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px;
}
.section-title    { font-size: clamp(28px, 3.8vw, 44px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
.section-subtitle { font-size: 17px; color: var(--text-2); line-height: 1.7; }

/* ===== BENEFITS ===== */
.benefits { background: var(--bg); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.benefit-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.benefit-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), #7dd3fc);
  opacity: 0; transition: var(--transition);
}
.benefit-card:hover { border-color: var(--border-2); transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit-card:hover::after { opacity: 1; }
.benefit-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(56,189,248,0.08); border: 1px solid rgba(56,189,248,0.16);
  color: var(--accent); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.benefit-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.benefit-card p  { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--bg-2); }
.steps-grid {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px; align-items: center;
}
.step-card {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 22px; text-align: center;
  transition: var(--transition);
}
.step-card:hover { border-color: rgba(56,189,248,0.25); transform: translateY(-3px); }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); border: 1px solid rgba(56,189,248,0.3);
  color: var(--accent); font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-family: 'Space Grotesk', sans-serif;
}
.step-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.step-card p  { font-size: 13px; color: var(--text-2); line-height: 1.65; }
.step-arrow { font-size: 22px; color: rgba(56,189,248,0.25); }

/* ===== FOR WHO ===== */
.for-who { background: var(--bg); }
.roles-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.role-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 18px; transition: var(--transition);
}
.role-card:hover { border-color: rgba(56,189,248,0.2); transform: translateY(-4px); box-shadow: var(--shadow); }
.role-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.role-avatar {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; font-family: 'Space Grotesk', sans-serif;
  background: var(--navy); border: 1px solid rgba(56,189,248,0.2); color: var(--accent);
}
.role-name { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.role-tag {
  font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 100px;
  background: rgba(56,189,248,0.08); color: var(--accent); border: 1px solid rgba(56,189,248,0.15);
}
.role-list { display: flex; flex-direction: column; gap: 7px; }
.role-list li { font-size: 12px; color: var(--text-2); padding-left: 14px; position: relative; line-height: 1.4; }
.role-list li::before { content: ''; position: absolute; left: 0; top: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: 0.5; }

/* ===== STATS BANNER ===== */
.stats-banner {
  background: var(--navy);
  border-top: 1px solid rgba(56,189,248,0.1);
  border-bottom: 1px solid rgba(56,189,248,0.1);
  padding: 56px 0;
}
.stats-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.stat-block { text-align: center; }
.stat-n {
  font-size: 36px; font-weight: 900; font-family: 'Space Grotesk', sans-serif;
  color: var(--accent); letter-spacing: -0.04em; line-height: 1; margin-bottom: 6px;
}
.stat-l { font-size: 13px; color: var(--text-2); max-width: 160px; line-height: 1.4; }
.stat-sep { width: 1px; height: 44px; background: rgba(56,189,248,0.15); }

/* ===== PRICING ===== */
.pricing { background: var(--bg-2); }

.pricing-toggle {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-bottom: 48px;
}
.toggle-label { font-size: 14px; font-weight: 500; color: var(--text-3); transition: var(--transition); cursor: pointer; }
.toggle-label.active { color: var(--text); font-weight: 600; }
.toggle-switch {
  position: relative; width: 48px; height: 26px;
  background: var(--navy); border: 1px solid rgba(56,189,248,0.2);
  border-radius: 100px; transition: var(--transition); cursor: pointer;
  flex-shrink: 0;
}
.toggle-switch.on { background: rgba(56,189,248,0.15); border-color: rgba(56,189,248,0.4); }
.toggle-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--text-3); transition: var(--transition);
}
.toggle-switch.on .toggle-thumb { left: 25px; background: var(--accent); }

.plans-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  align-items: start;
}

.plan-card {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  position: relative; transition: var(--transition);
}
.plan-card:hover { border-color: var(--border-2); transform: translateY(-4px); box-shadow: var(--shadow); }

.plan-featured {
  background: var(--navy);
  border-color: rgba(56,189,248,0.3);
  box-shadow: 0 0 0 1px rgba(56,189,248,0.15), var(--shadow-accent);
  transform: translateY(-8px);
}
.plan-featured:hover { transform: translateY(-12px); }

.plan-popular {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--navy);
  font-size: 11px; font-weight: 800; padding: 4px 14px;
  border-radius: 100px; white-space: nowrap; letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-header { margin-bottom: 24px; }
.plan-name { font-size: 20px; font-weight: 800; font-family: 'Space Grotesk', sans-serif; margin-bottom: 8px; }
.plan-desc { font-size: 13px; color: var(--text-2); line-height: 1.55; }

.plan-price {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 10px;
}
.price-currency { font-size: 16px; font-weight: 600; color: var(--text-2); margin-bottom: 2px; align-self: flex-start; margin-top: 6px; }
.price-amount {
  font-size: 48px; font-weight: 900; font-family: 'Space Grotesk', sans-serif;
  color: var(--text); letter-spacing: -0.04em; line-height: 1;
  transition: var(--transition);
}
.plan-featured .price-amount { color: var(--accent); }
.price-period { font-size: 14px; color: var(--text-3); }

.plan-groups {
  font-size: 13px; color: var(--text-2);
  padding: 8px 12px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  margin-bottom: 24px; text-align: center;
}
.plan-groups strong { color: var(--text); }
.plan-featured .plan-groups { background: rgba(56,189,248,0.06); border-color: rgba(56,189,248,0.15); }

.plan-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.feat-yes { color: var(--text-2); }
.feat-no  { color: var(--text-3); }
.feat-yes::before { content: ''; display: inline-block; width: 16px; height: 16px; border-radius: 50%; background: rgba(56,189,248,0.12); border: 1px solid rgba(56,189,248,0.25); flex-shrink: 0; background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2 2 4-4' stroke='%2338bdf8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.feat-no::before  { content: ''; display: inline-block; width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,0.03); border: 1px solid var(--border); flex-shrink: 0; background-image: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2l4 4M6 2L2 6' stroke='%2364748b' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }

.btn-plan { width: 100%; justify-content: center; padding: 13px; font-size: 15px; border-radius: var(--radius-sm); }
.btn-plan-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-2);
}
.btn-plan-outline:hover { border-color: rgba(56,189,248,0.35); color: var(--accent); background: rgba(56,189,248,0.05); }
.btn-plan-primary {
  background: var(--accent); color: var(--navy);
  border: none; font-weight: 700;
  box-shadow: 0 4px 20px rgba(56,189,248,0.3);
}
.btn-plan-primary:hover { background: #7dd3fc; box-shadow: 0 6px 28px rgba(56,189,248,0.45); transform: translateY(-1px); }

.pricing-note {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 36px; font-size: 14px; color: var(--text-3);
}
.pricing-note a { color: var(--accent); font-weight: 600; }
.pricing-note a:hover { text-decoration: underline; }

/* ===== CONTACT ===== */
.contact { background: var(--bg); position: relative; overflow: hidden; }
.contact-glow {
  position: absolute; width: 600px; height: 400px; border-radius: 50%;
  background: var(--accent); filter: blur(160px); opacity: 0.04;
  top: 0; left: 50%; transform: translateX(-50%); pointer-events: none;
}
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; position: relative; }
.contact-left .section-tag { margin-bottom: 20px; }
.contact-title { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
.contact-body  { font-size: 16px; color: var(--text-2); line-height: 1.75; margin-bottom: 28px; }
.contact-features { display: flex; flex-direction: column; gap: 12px; }
.cf-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.cf-dot  { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  border: 1px solid rgba(56,189,248,0.2);
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.02em;
  transition: var(--transition);
}
.contact-phone:hover {
  border-color: rgba(56,189,248,0.5);
  background: rgba(56,189,248,0.06);
  box-shadow: var(--shadow-accent);
}

.contact-right {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-2); }
input, textarea {
  width: 100%; background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  font-family: inherit; font-size: 15px; padding: 12px 16px;
  outline: none; transition: var(--transition); resize: vertical;
}
input::placeholder, textarea::placeholder { color: var(--text-3); }
input:focus, textarea:focus { border-color: rgba(56,189,248,0.4); box-shadow: 0 0 0 3px rgba(56,189,248,0.08); }

/* ===== FOOTER ===== */
.footer { background: var(--navy); border-top: 1px solid var(--border); padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 60px; padding-bottom: 40px; }
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: var(--text-3); line-height: 1.65; max-width: 260px; }
.footer-links { display: flex; gap: 56px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-heading { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-2); margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: var(--text-3); transition: var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-3); }

/* ===== ANIMATIONS ===== */
[data-animate] { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
[data-animate="fade-left"] { transform: translateX(36px); }
[data-animate].visible { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */

/* Tablet grande */
@media (max-width: 1060px) {
  .roles-row      { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid  { grid-template-columns: repeat(2, 1fr); }
  .plans-grid     { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .plan-featured  { transform: none; }
  .plan-featured:hover { transform: translateY(-4px); }
  .steps-grid     { grid-template-columns: 1fr 1fr; gap: 16px; }
  .step-arrow     { display: none; }
}

/* Tablet */
@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .hero { padding: 100px 0 60px; }

  .hero-inner     { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-actions   { justify-content: center; }
  .hero-proof     { align-items: center; }
  .hero-visual    { order: -1; }
  .float-top, .float-bottom { display: none; }

  /* Tabla de horarios: scroll horizontal en tablet */
  .app-body       { padding: 8px; overflow-x: auto; }
  .schedule-table { min-width: 420px; }
  .app-window     { max-width: 100%; margin: 0 auto; overflow: hidden; }

  .contact-wrap   { grid-template-columns: 1fr; gap: 36px; }
  .contact-right  { padding: 24px; }
}

/* Móvil */
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero    { padding: 88px 0 48px; }

  /* Navbar */
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; top: 60px;
    background: rgba(8,15,30,0.97);
    padding: 28px 24px; gap: 6px; z-index: 99;
    overflow-y: auto;
  }
  .nav-links.open a { font-size: 18px; padding: 12px 8px; border-radius: 8px; }
  .nav-toggle { display: flex; }
  .nav-cta    { display: none; }

  /* Hero */
  .hero-title    { font-size: 32px; }
  .hero-subtitle { font-size: 15px; }
  .hero-actions  { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-badge    { font-size: 12px; }

  /* Schedule preview: solo 3 días en móvil */
  .app-body       { padding: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .schedule-table { min-width: 340px; }
  .sch-header-row,
  .sch-row        { grid-template-columns: 44px repeat(5, 1fr); }
  .sch-day-header { font-size: 9px; }
  .sch-time       { font-size: 8px; }
  .subject-card   { font-size: 9px; padding: 4px 5px; }
  .subject-card span { font-size: 7.5px; }
  .app-toolbar    { flex-wrap: wrap; gap: 6px; }
  .toolbar-btn    { font-size: 10px; padding: 5px 9px; }
  .conflict-tag   { font-size: 9px; margin-left: 0; }

  /* Sections */
  .section-title    { font-size: 26px; }
  .section-subtitle { font-size: 15px; }
  .section-header   { margin-bottom: 40px; }

  /* Benefits */
  .benefits-grid { grid-template-columns: 1fr; gap: 10px; }

  /* Steps */
  .steps-grid    { grid-template-columns: 1fr; gap: 10px; }
  .step-card     { padding: 22px 18px; }

  /* Roles */
  .roles-row     { grid-template-columns: 1fr; gap: 10px; }
  .role-card     { padding: 18px 16px; }
  .role-top      { margin-bottom: 12px; }

  /* Stats */
  .stats-banner  { padding: 40px 0; }
  .stats-inner   { gap: 20px; flex-direction: column; }
  .stat-sep      { display: none; }
  .stat-n        { font-size: 30px; }
  .stat-l        { max-width: 100%; }

  /* Pricing */
  .pricing-toggle { gap: 10px; }
  .plan-card      { padding: 24px 20px; }
  .price-amount   { font-size: 40px; }
  .pricing-note   { flex-direction: column; text-align: center; }

  /* Contact */
  .contact-right   { padding: 20px 16px; }
  .contact-phone   { font-size: 16px; padding: 12px 18px; width: 100%; justify-content: center; }

  /* Footer */
  .footer          { padding: 40px 0 0; }
  .footer-inner    { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-links    { flex-wrap: wrap; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
}

/* Móvil muy chico */
@media (max-width: 380px) {
  .hero-title  { font-size: 28px; }
  .btn-lg      { padding: 13px 20px; font-size: 14px; }
  .plan-card   { padding: 20px 16px; }
}
