/* =====================================================================
   Landing PMS hotelero — estilos
   Look claro y vivo: gradientes azul→turquesa, auroras animadas,
   navbar píldora con glass, tarjetas flotantes y mockups "en vivo".
   ===================================================================== */

/* ------------------------------ Tokens ------------------------------ */
:root {
  /* Color */
  --ink:            #0E1B2C;
  --text:           #1A2536;
  --text-secondary: #5B6B7F;
  --bg:             #F7FAFD;
  --bg-tinted:      #F0F5FB;
  --surface:        #FFFFFF;
  --border:         #E3EAF3;

  --blue:   #2E86DE;
  --teal:   #16B8A6;
  --violet: #7C6AE6;
  --rose:   #E8618C;
  --green:  #3BAE68;
  --accent: #F7A928;
  --accent-deep: #F58F29;
  --accent-text: #331F04;

  --grad-brand: linear-gradient(115deg, #2E86DE, #16B8A6);
  --grad-warm:  linear-gradient(115deg, #FFB443, #F58F29);

  /* Oscuro (secciones de contraste) */
  --dark-1: #0D2137;
  --dark-2: #123049;
  --text-on-dark:   #E8EEF6;
  --text-on-dark-2: #9FB3CC;

  /* Estados (mockups) */
  --st-free:     #34A06A;
  --st-occupied: #3E7CC1;
  --st-checkout: #F5A524;
  --st-blocked:  #94A3B8;

  /* Tipografía */
  --font-display: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Métricas */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-md: 0 6px 22px rgba(14, 27, 44, .07);
  --shadow-lg: 0 22px 60px rgba(14, 27, 44, .14);
  --container: 1140px;
}

/* ------------------------------ Reset ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; }
p, ul { margin: 0; }
button { font: inherit; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Compensa el navbar flotante al navegar por anclas */
section[id] { scroll-margin-top: 96px; }

/* --------------------------- Auroras -------------------------------- */
.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.aurora i {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  animation: drift 24s ease-in-out infinite alternate;
}
.aurora .a1 { width: 560px; height: 560px; top: -180px; left: -120px; background: #BFE0FF; }
.aurora .a2 { width: 520px; height: 520px; top: 10%; right: -160px; background: #B9F0E5; animation-delay: -8s; animation-duration: 28s; }
.aurora .a3 { width: 420px; height: 420px; bottom: -160px; left: 30%; background: #FFE3B3; animation-delay: -14s; animation-duration: 32s; }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(60px, 30px) scale(1.12); }
  100% { transform: translate(-40px, 50px) scale(.95); }
}

/* ----------------------------- Botones ------------------------------ */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .25s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn-accent {
  background: var(--grad-warm);
  color: var(--accent-text);
  box-shadow: 0 8px 24px rgba(245, 143, 41, .35);
}
.btn-accent:hover { box-shadow: 0 12px 32px rgba(245, 143, 41, .5); transform: translateY(-2px); }
/* Brillo que barre el botón al pasar el mouse */
.btn-accent::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  transition: left .5s ease;
}
.btn-accent:hover::after { left: 130%; }

.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-md);
}
.btn-outline:hover { border-color: #C8D6E8; transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-block { width: 100%; border-radius: var(--radius-md); }
.btn-nav { height: 40px; padding: 0 20px; font-size: 14.5px; }

/* ------------------------------ Navbar ------------------------------ */
.navbar {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 100;
}
.navbar-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 62px;
  padding: 0 12px 0 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(14, 27, 44, .07);
  box-shadow: 0 8px 30px rgba(14, 27, 44, .08);
  transition: background .25s ease, box-shadow .25s ease;
}
.navbar.is-scrolled .navbar-inner {
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 36px rgba(14, 27, 44, .14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-logo { width: 34px; height: 34px; }
.brand-logo svg { width: 100%; height: 100%; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links .btn-nav { color: var(--accent-text); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  width: 42px;
  height: 42px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle svg { width: 100%; height: 100%; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ------------------------------- Hero ------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 158px;
  padding-bottom: 110px;
  background: var(--bg);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27, 79, 132, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 79, 132, .055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(760px 520px at 32% 12%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(760px 520px at 32% 12%, #000 0%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text-secondary);
  margin-bottom: 26px;
}
.flag { width: 20px; height: 14px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(14, 27, 44, .08); }
.flag-inline { display: inline-block; vertical-align: -2px; }

.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
/* Gradiente animado que recorre el destacado del titular */
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #2E86DE, #16B8A6, #2E86DE);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 7s linear infinite;
}
@keyframes shine {
  0%   { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

.hero-sub {
  margin-top: 22px;
  font-size: 18px;
  max-width: 34em;
  color: var(--text-secondary);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
  color: var(--text-secondary);
  font-size: 14.5px;
}
.hero-checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-checks li::before {
  content: "";
  width: 17px;
  height: 17px;
  flex: none;
  background: var(--teal);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
}

/* --------------------- Ventana de app (mockups) --------------------- */
.hero-visual { position: relative; }
.app-window {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(14, 27, 44, .07);
}
/* Leve inclinación 3D que se endereza al pasar el mouse */
.app-tilt {
  transform: perspective(1100px) rotateY(-5deg) rotateX(2.5deg);
  transition: transform .6s cubic-bezier(.2, .7, .3, 1), box-shadow .6s ease;
}
.hero-visual:hover .app-tilt {
  transform: perspective(1100px) rotateY(0) rotateX(0);
  box-shadow: 0 30px 80px rgba(14, 27, 44, .2);
}

.app-window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: #F4F7FB;
  border-bottom: 1px solid var(--border);
}
.app-window-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D6DEE8;
}
.app-window-title {
  margin-left: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.occ-chip {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--blue);
  background: #E7F1FD;
  border: 1px solid #CBE2F9;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.occ-chip b { font-weight: 700; }
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #1F7A4D;
  background: #E5F7EE;
  border: 1px solid #BFE8D2;
  padding: 4px 10px;
  border-radius: 999px;
}
.occ-chip + .live-badge { margin-left: 8px; }
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2BAE6E;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(43, 174, 110, .5); }
  50%      { box-shadow: 0 0 0 5px rgba(43, 174, 110, 0); }
}
.app-window-body { padding: 18px; }

/* Matriz de habitaciones (hero) */
.matrix {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.room-cell {
  border-radius: var(--radius-sm);
  padding: 9px 6px 7px;
  text-align: center;
  color: #fff;
  min-width: 0;
  transition: background .45s ease, color .45s ease;
}
.room-cell .rn { display: block; font-weight: 700; font-size: 14px; line-height: 1.1; }
.room-cell .rs { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: .04em; opacity: .85; text-transform: uppercase; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.room-free     { background: var(--st-free); }
.room-occupied { background: var(--st-occupied); }
.room-checkout { background: var(--st-checkout); color: var(--accent-text); }
.room-blocked  { background: var(--st-blocked); }
/* Destello cuando una celda cambia de estado "en vivo" */
.room-cell.flash { animation: cellFlash 1s ease-out; }
@keyframes cellFlash {
  0%   { box-shadow: 0 0 0 0 rgba(46, 134, 222, .6); transform: scale(1); }
  35%  { transform: scale(1.08); }
  100% { box-shadow: 0 0 0 14px rgba(46, 134, 222, 0); transform: scale(1); }
}

.matrix-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--text-secondary);
}
.matrix-legend span { display: inline-flex; align-items: center; gap: 7px; }
.leg { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.leg-free     { background: var(--st-free); }
.leg-occupied { background: var(--st-occupied); }
.leg-checkout { background: var(--st-checkout); }
.leg-blocked  { background: var(--st-blocked); }

/* Tarjetas de notificación flotando sobre el mockup */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(14, 27, 44, .07);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  animation: bob 6s ease-in-out infinite alternate;
}
.fc-invoice { top: -46px; right: -14px; animation-delay: -1.5s; }
.fc-checkin { bottom: -26px; left: -24px; }
.fc-bcu     { bottom: -30px; right: 28px; animation-delay: -3.5s; }
@keyframes bob {
  0%   { transform: translateY(-7px); }
  100% { transform: translateY(7px); }
}
.fc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex: none;
}
.fc-icon svg { width: 19px; height: 19px; }
.fc-text { display: grid; line-height: 1.3; }
.fc-text strong { font-size: 13.5px; color: var(--ink); }
.fc-text small { font-size: 11.5px; color: var(--text-secondary); }

/* ---------------------- Cinta en movimiento ------------------------- */
.marquee {
  position: relative;
  padding: 34px 0;
  overflow: hidden;
}
.marquee-band {
  transform: rotate(-1.3deg) scale(1.02);
  background: var(--grad-brand);
  box-shadow: 0 14px 40px rgba(46, 134, 222, .25);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  padding: 15px 0;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.mq-item {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .015em;
  white-space: nowrap;
  padding-right: 18px;
}
.mq-item::before {
  content: "✦";
  color: rgba(255, 255, 255, .65);
  font-size: 12px;
  padding-right: 18px;
}

/* ----------------------------- Secciones ---------------------------- */
.section { position: relative; padding: 100px 0; }
.section-tinted { background: var(--bg-tinted); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #E7F1FD;
  border: 1px solid #CBE2F9;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 18px;
}
.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad-brand);
}
.kicker-dark {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .18);
  color: #7FDCCB;
}
.section-head h2, .split-copy h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ink);
}
.section-sub {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 38em;
}

/* ------------------------------ Cards ------------------------------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-md);
  transition: transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
/* Hairline de gradiente que aparece arriba de la card al hacer hover */
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 19px; font-weight: 700; margin: 18px 0 10px; color: var(--ink); }
.card p { font-size: 15px; color: var(--text-secondary); }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: #EEF2F7;
  color: var(--text-secondary);
  transition: transform .3s ease;
}
.card-icon svg { width: 24px; height: 24px; }
.card:hover .card-icon, .journey-step:hover .card-icon { transform: scale(1.08) rotate(-3deg); }

/* Chips de ícono con color propio (menos "banco", más vivo) */
.ic-blue   { background: #E7F1FD; color: var(--blue); }
.ic-teal   { background: #E0F6F2; color: #0F9E8C; }
.ic-amber  { background: #FEF3DF; color: #DE8A00; }
.ic-violet { background: #EFEBFD; color: var(--violet); }
.ic-rose   { background: #FDEBF1; color: #D64D77; }
.ic-green  { background: #E8F7EC; color: #2F9E57; }

/* --------------------- Recorrido del huésped ------------------------ */
.journey {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.journey-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.journey-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.journey-step h3 { font-size: 18px; font-weight: 700; margin: 18px 0 10px; color: var(--ink); }
.journey-step p { font-size: 14.5px; color: var(--text-secondary); }
.step-num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .32;
}

/* -------------------- Secciones divididas (split) ------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}
.split-reverse { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.split-reverse .split-copy { order: 1; }
.split-reverse .split-visual { order: 0; }

.section-dark {
  background: linear-gradient(200deg, var(--dark-2), var(--dark-1));
  color: var(--text-on-dark);
  overflow: hidden;
}
.section-dark .aurora i { opacity: .3; }
.section-dark .aurora .a1 { background: #1E6FD0; }
.section-dark .aurora .a2 { background: #14A08F; }
.section-dark h2 { color: #fff; }
.section-dark .container { position: relative; }

.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  gap: 20px;
}
.feature-list li {
  position: relative;
  padding-left: 34px;
  font-size: 15.5px;
  color: var(--text-on-dark-2);
}
.feature-list li strong { display: block; color: #fff; font-size: 16px; margin-bottom: 2px; }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(22, 184, 166, .2) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2316B8A6" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / 11px no-repeat;
}
.feature-list-light li { color: var(--text-secondary); }
.feature-list-light li strong { color: var(--ink); }
.feature-list-light li::before {
  background-color: #E0F6F2;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%230F9E8C" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>');
}

/* ------------------------- Planning board --------------------------- */
.planner { padding: 16px 16px 20px; }
.planner-head {
  display: grid;
  grid-template-columns: 46px repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}
.planner-row {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 4px;
  align-items: center;
  margin-top: 8px;
}
.planner-room {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-align: center;
}
.planner-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  height: 32px;
  border-radius: var(--radius-sm);
  background:
    repeating-linear-gradient(90deg,
      #F4F7FB 0, #F4F7FB calc(100% / 7 - 2px),
      #fff calc(100% / 7 - 2px), #fff calc(100% / 7));
}
.pbar {
  grid-row: 1;
  grid-column: var(--s) / var(--e);
  align-self: center;
  height: 24px;
  border-radius: 7px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 24px;
  padding: 0 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 6px rgba(14, 27, 44, .18);
}
.pbar-blue   { background: #3E7CC1; }
.pbar-teal   { background: #21937D; }
.pbar-purple { background: #7A63C9; }
.pbar-rose   { background: #C95677; }
.pbar-amber  { background: var(--accent); color: var(--accent-text); }
.pbar-gray   { background: var(--st-blocked); }
.pbar-drag {
  animation: dragBar 6s ease-in-out infinite;
  box-shadow: 0 6px 16px rgba(245, 165, 36, .45);
  cursor: grabbing;
}
@keyframes dragBar {
  0%, 30%  { transform: translateX(0); }
  45%, 75% { transform: translateX(calc(100% / 3 + 2px)); }
  90%, 100% { transform: translateX(0); }
}

/* ------------------------ Visual on-premise ------------------------- */
.server-visual {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: 48px 24px;
  background: var(--bg-tinted);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.server-rack {
  width: min(320px, 100%);
  display: grid;
  gap: 10px;
  padding: 18px;
  background: var(--dark-1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: bob 7s ease-in-out infinite alternate;
}
.server-unit {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1A3C5E;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  padding: 12px 14px;
}
.server-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2BAE6E;
  animation: pulse 2s ease-in-out infinite;
}
.led-dim { background: rgba(255, 255, 255, .25); animation: none; }
.server-slots {
  margin-left: auto;
  width: 55%;
  height: 10px;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg,
    rgba(255, 255, 255, .2) 0, rgba(255, 255, 255, .2) 7px,
    transparent 7px, transparent 12px);
}
.server-caption {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #0F9E8C;
}
.server-caption svg { width: 18px; height: 18px; }

/* ------------------------------ Módulos ----------------------------- */
.cards-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-module h3 { font-size: 17.5px; }
.card-soon .card-icon { background: #EEF2F7; color: var(--text-secondary); }
.badge-soon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--violet);
  background: #EFEBFD;
  border: 1px solid #DCD4F9;
  padding: 4px 10px;
  border-radius: 999px;
}

/* -------------------------------- FAQ ------------------------------- */
.faq-list {
  max-width: 780px;
  display: grid;
  gap: 14px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.faq-item:hover { box-shadow: var(--shadow-lg); }
.faq-item[open] { border-color: #C9DCF2; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: #E7F1FD;
  color: var(--blue);
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.faq-icon svg { width: 15px; height: 15px; }
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--grad-brand);
  color: #fff;
}
.faq-answer {
  padding: 0 56px 22px 24px;
  font-size: 15px;
  color: var(--text-secondary);
}
.faq-item[open] .faq-answer { animation: faqOpen .35s ease; }
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ------------------------------ Contacto ---------------------------- */
.section-cta {
  background: linear-gradient(120deg, #1B6FD8, #14A08F);
  color: #fff;
  overflow: hidden;
}
.section-cta .aurora i { opacity: .35; }
.section-cta .aurora .a1 { background: #FFD98A; }
.section-cta .aurora .a2 { background: #8FD8FF; }
.section-cta .container { position: relative; }
.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}
.cta-copy h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -.015em; }
.cta-copy p { margin-top: 18px; font-size: 17px; color: rgba(255, 255, 255, .85); max-width: 30em; }
.contact-email { color: #FFD98A; font-weight: 600; text-decoration: none; }
.contact-email:hover { text-decoration: underline; }

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 30px 80px rgba(10, 40, 60, .35);
  color: var(--text);
  display: grid;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field { display: grid; gap: 7px; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.form-field .optional { font-weight: 400; color: var(--text-secondary); }
.form-field input,
.form-field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #DCEBFB;
}
.form-field input.is-error,
.form-field textarea.is-error { border-color: #C53030; }

.form-status { font-size: 14px; min-height: 1.4em; margin: 0; }
.form-status.ok  { color: #276749; }
.form-status.err { color: #C53030; }

/* ------------------------------ Footer ------------------------------ */
.footer {
  background: var(--ink);
  color: var(--text-on-dark-2);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.brand-footer { color: #fff; }
.brand-footer .brand-name { font-size: 16px; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a {
  color: var(--text-on-dark-2);
  text-decoration: none;
  font-size: 14px;
}
.footer-nav a:hover { color: #fff; }
.footer-note { font-size: 13.5px; }

/* -------------------- Animaciones de aparición ---------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px) scale(.985);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Escalonado dentro de grupos de cards */
.reveal-group .reveal:nth-child(2) { transition-delay: .1s; }
.reveal-group .reveal:nth-child(3) { transition-delay: .2s; }
.reveal-group .reveal:nth-child(4) { transition-delay: .1s; }
.reveal-group .reveal:nth-child(5) { transition-delay: .2s; }
.reveal-group .reveal:nth-child(6) { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pbar-drag, .live-dot, .server-led, .float-card, .server-rack,
  .aurora i, .hero h1 em, .marquee-track, .faq-item[open] .faq-answer { animation: none; }
  .app-tilt { transform: none; }
}

/* ---------------------------- Responsive ---------------------------- */
@media (max-width: 1023px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding-top: 132px; padding-bottom: 76px; }
  .hero-visual { max-width: 560px; }
  .cards-3, .journey, .cards-modules { grid-template-columns: repeat(2, 1fr); }
  .split, .split-reverse { grid-template-columns: 1fr; gap: 44px; }
  .split-reverse .split-copy { order: 0; }
  .split-reverse .split-visual { order: 1; }
  .cta-panel { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 76px 0; }
  .fc-bcu { display: none; }
  .fc-invoice { top: -34px; right: -4px; }
  .fc-checkin { bottom: -20px; left: -6px; }
}

@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 12px 16px 16px;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 6px; font-size: 16px; color: var(--text); }
  .nav-links .btn-nav { margin-top: 10px; height: 46px; color: var(--accent-text); }

  .container { padding-inline: 18px; }
  .cards-3, .journey, .cards-modules { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .hero-sub { font-size: 16.5px; }
  .matrix { grid-template-columns: repeat(4, 1fr); }
  .matrix .hide-mobile { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .occ-chip { display: none; }
  .app-tilt { transform: none; }
  .float-card { padding: 10px 12px; }
  .fc-text strong { font-size: 12.5px; }
  .fc-text small { font-size: 10.5px; }
  .fc-invoice { top: -28px; }
  .fc-checkin { bottom: -16px; }
}
