/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #0a0e14;
  --bg-2: #0f1420;
  --card: #131926;
  --card-line: rgba(255,255,255,0.08);
  --ink: #f5f7fa;
  --ink-soft: rgba(245,247,250,0.72);
  --ink-mute: rgba(245,247,250,0.5);
  --cyan: #22d3ee;
  --magenta: #c026d3;
  --grad: linear-gradient(120deg, var(--cyan), var(--magenta));

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; }
::selection { background: var(--magenta); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 9999; padding: .6rem 1rem; background: var(--ink); color: var(--bg); border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 1rem; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* =============================================================
   3. Nav
   ============================================================= */
.nav-wrap { position: sticky; top: 0; z-index: 100; }
.nav {
  max-width: 1400px; margin: 0 auto; padding: .96rem 1.12rem;
  display: grid; grid-template-columns: 36px 1fr 36px; align-items: center;
  transition: background .3s, padding .3s, border-color .3s; border-bottom: 1px solid transparent;
}
.nav-wrap.is-scrolled .nav { background: rgba(10,14,20,0.75); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); padding: .68rem 1.12rem; border-color: var(--card-line); }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
  width: 34px; height: 34px; grid-column: 1; justify-self: start; border-radius: 9px;
}
.nav-toggle:hover { background: rgba(255,255,255,0.06); }
.nav-toggle-bar { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease-out), opacity .3s var(--ease-out); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-logo { display: flex; align-items: center; gap: .8rem; font-weight: 800; font-size: 2.4rem; letter-spacing: -0.01em; grid-column: 2; justify-self: center; }
.nav-logo .logo-mark { width: 58px; height: 58px; }

/* =============================================================
   3b. Mobile menu (side panel)
   ============================================================= */
.mobile-menu-overlay {
  position: fixed; inset: 0; z-index: 290; background: rgba(6,7,10,0.6);
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease-out);
}
.mobile-menu-overlay.is-open { opacity: 1; pointer-events: auto; }

.mobile-menu {
  position: fixed; top: 0; left: 0; z-index: 300;
  width: min(78vw, 300px); height: 100dvh;
  background: var(--bg-2); border-right: 1px solid var(--card-line);
  padding: 1.3rem 1.3rem 2rem;
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform .4s var(--ease-out);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--card-line); }
.mobile-menu-brand { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.02rem; }
.mobile-menu-close { width: 34px; height: 34px; border-radius: 50%; background: var(--card); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.mobile-menu-link { padding: 1.05rem .4rem; font-size: 1.05rem; font-weight: 600; color: var(--ink-soft); border-bottom: 1px solid var(--card-line); transition: color .2s; }
.mobile-menu-link:hover, .mobile-menu-link:active { color: var(--ink); }
.mobile-menu-link.is-active { color: var(--cyan); }
.mobile-menu-ctas { display: flex; flex-direction: column; gap: .8rem; margin-top: 1.6rem; }
body.menu-open { overflow: hidden; }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .8rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: .92rem; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s, color .3s, border-color .3s; white-space: nowrap; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(34,211,238,0.18); }
.btn-ghost { border: 1.5px solid var(--card-line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-accent {
  border: none;
  background: var(--grad);
  color: #06070a;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(34,211,238,0.3); }
.btn-sm { padding: .6rem 1.1rem; font-size: .82rem; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* =============================================================
   5. Hero
   ============================================================= */
.hero { position: relative; min-height: 92svh; display: flex; align-items: center; overflow: clip; padding: 5rem 1.4rem; }
.hero-gradient {
  position: absolute; inset: -20%; z-index: -2;
  background:
    radial-gradient(circle 560px at var(--mx, 30%) var(--my, 35%), rgba(34,211,238,0.28), transparent 60%),
    radial-gradient(circle 620px at calc(100% - var(--mx, 30%)) calc(100% - var(--my, 35%)), rgba(192,38,211,0.26), transparent 60%),
    var(--bg);
  filter: blur(60px) saturate(140%);
  transition: background .4s ease;
}
.hero-bracket { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: 46vw; max-width: 620px; color: rgba(255,255,255,0.05); z-index: -1; pointer-events: none; }

.floating-icons { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.float-icon {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 96px; height: 96px; border-radius: 24px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: floatBob 7s ease-in-out infinite;
}
.float-icon svg { width: 44px; height: 44px; }
.float-icon-cyan { color: var(--cyan); box-shadow: 0 16px 38px rgba(34,211,238,0.24); }
.float-icon-magenta { color: var(--magenta); box-shadow: 0 16px 38px rgba(192,38,211,0.24); }

.float-icon-1 { top: 17%; left: 7%; animation-delay: 0s; }
.float-icon-2 { top: 13%; right: 9%; width: 82px; height: 82px; border-radius: 20px; animation-delay: 1.6s; animation-duration: 10.5s; }
.float-icon-2 svg { width: 38px; height: 38px; }
.float-icon-3 { bottom: 23%; left: 4%; width: 78px; height: 78px; border-radius: 20px; animation-delay: 3.2s; animation-duration: 8s; }
.float-icon-3 svg { width: 36px; height: 36px; }
.float-icon-4 { bottom: 14%; right: 5%; animation-delay: 1s; animation-duration: 9.6s; }
.float-icon-5 { top: 46%; left: 1%; width: 72px; height: 72px; border-radius: 18px; animation-delay: 2.3s; animation-duration: 7.4s; }
.float-icon-5 svg { width: 32px; height: 32px; }
.float-icon-6 { top: 50%; right: 1%; width: 72px; height: 72px; border-radius: 18px; animation-delay: .5s; animation-duration: 8.8s; }
.float-icon-6 svg { width: 32px; height: 32px; }

@keyframes floatBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }

@media (max-width: 1024px) { .floating-icons { display: none; } }
.hero-inner { width: 100%; max-width: 1140px; margin: 0 auto; text-align: center; }
.eyebrow { font-size: .86rem; font-weight: 600; color: var(--cyan); margin-bottom: 1.3rem; letter-spacing: .01em; }
.hero-title { font-size: clamp(3.2rem, 8.6vw, 6.2rem); font-weight: 800; line-height: 1.18; }
.hero-sub { margin: 2rem auto 0; max-width: 58ch; font-size: 1.55rem; font-weight: 700; color: var(--ink); }
.hero-actions { margin-top: 2.4rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.scroll-cue {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; margin-top: 2.6rem; border-radius: 50%;
  border: 1.5px solid rgba(34,211,238,0.5); background: rgba(34,211,238,0.1); color: var(--cyan);
  box-shadow: 0 0 0 rgba(34,211,238,0.4);
  transition: border-color .3s, background .3s, box-shadow .3s;
  animation: scrollCueBounce 2.2s ease-in-out infinite;
}
.scroll-cue:hover { border-color: var(--cyan); background: rgba(34,211,238,0.18); box-shadow: 0 0 22px rgba(34,211,238,0.35); }
.scroll-cue svg { width: 24px; height: 24px; }
@keyframes scrollCueBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* =============================================================
   6. Insight statement
   ============================================================= */
.insight { max-width: 900px; margin: 0 auto; padding: 5rem 1.4rem; text-align: center; }
.insight-text { font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.35; }
.insight-text em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.insight-sub { margin-top: 1.4rem; color: var(--ink-mute); font-size: .8rem; max-width: 56ch; margin-inline: auto; }
.insight-sub a { color: var(--ink-mute); text-decoration: underline; }
.insight-sub a:hover { color: var(--cyan); }

/* =============================================================
   6b. Explore (tarjetas de navegación en Inicio)
   ============================================================= */
.explore-grid { max-width: 1400px; margin: 0 auto; padding: 0 1.4rem 5rem; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.explore-card { display: flex; flex-direction: column; gap: .9rem; background: var(--card); border: 1px solid var(--card-line); border-radius: 20px; padding: 1.8rem; transition: transform .4s var(--ease-out), border-color .4s; }
.explore-card:hover { transform: translateY(-6px); border-color: rgba(34,211,238,0.35); }
.explore-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(34,211,238,0.12); color: var(--cyan); }
.explore-card h3 { font-size: 1.08rem; }
.explore-card p { color: var(--ink-mute); font-size: .9rem; flex-grow: 1; }
.explore-cta { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 700; color: var(--cyan); }

/* =============================================================
   7. Sections
   ============================================================= */
.section { max-width: 1400px; margin: 0 auto; padding: 5rem 1.4rem; }
.section-dark { max-width: none; background: var(--bg-2); padding: 5.5rem 1.4rem; }

/* =============================================================
   7b. Section head (encabezado de sección dentro de la landing)
   ============================================================= */
.section-head-inner { max-width: 1400px; margin: 0 auto 3rem; }
.section-head-inner.align-left { text-align: left; }
.section-head-inner.align-center { text-align: center; max-width: 680px; }
.section-title { font-size: clamp(1.9rem, 3.8vw, 2.7rem); line-height: 1.25; padding-bottom: .08em; }
.section-lead { margin-top: 1rem; color: var(--ink-soft); font-size: 1.02rem; max-width: 56ch; }
.align-center .section-lead { margin-inline: auto; }

.section-head-inner.with-media { display: grid; gap: 2rem; align-items: center; text-align: left; }
@media (min-width: 860px) {
  .section-head-inner.with-media { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .section-head-inner.with-media .section-head-media { order: 2; }
  .section-head-inner.with-media.media-left .section-head-media { order: -1; }
}
.section-head-media { border-radius: 22px; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 26px 56px rgba(0,0,0,0.4); }
.section-head-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* =============================================================
   8. Feature grid
   ============================================================= */
.features-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-card { background: var(--card); border: 1px solid var(--card-line); border-radius: 20px; padding: 1.7rem; transition: transform .4s var(--ease-out), border-color .4s; }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(34,211,238,0.35); }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(34,211,238,0.12); color: var(--cyan); margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.feature-card p { color: var(--ink-mute); font-size: .92rem; }

/* =============================================================
   9. Demos grid + browser mockup
   ============================================================= */
.demos-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 1400px; margin: 0 auto; }
.demos-grid-compact { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.demos-grid-compact .demo-preview { aspect-ratio: 16/10; }
@media (min-width: 900px) { .demos-grid-compact { grid-template-columns: repeat(3, 1fr); } }
.demo-card { display: block; background: var(--card); border: 1px solid var(--card-line); border-radius: 18px; overflow: hidden; transition: transform .45s var(--ease-out), border-color .45s, box-shadow .45s var(--ease-out); }
.demo-card:hover { transform: translateY(-8px) rotateX(2deg); border-color: rgba(34,211,238,0.4); box-shadow: 0 30px 60px rgba(0,0,0,0.4); }

.demo-preview { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.demo-preview-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem; display: flex; flex-direction: column; gap: .5rem; }
.demo-preview-kicker { font-size: .64rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; display: inline-flex; align-items: center; gap: .4rem; }
.demo-preview-title { font-size: clamp(1.02rem, 2.4vw, 1.28rem); font-weight: 800; line-height: 1.18; }
.demo-preview-italic { font-style: italic; }
.demo-preview-pill { align-self: flex-start; font-size: .62rem; font-weight: 700; padding: .35rem .75rem; border-radius: 999px; margin-top: .15rem; }
.demo-preview-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* Dental — glassmorphism, sobre foto real */
.demo-preview-dental { background: linear-gradient(0deg, rgba(12,33,30,0.85) 0%, rgba(12,33,30,0.1) 62%), url("demos/clinica-dental/assets/img/hero.jpg") center/cover; color: #eefaf8; }
.demo-preview-dental .demo-preview-content { margin: .9rem; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,0.1); backdrop-filter: blur(14px) saturate(180%); -webkit-backdrop-filter: blur(14px) saturate(180%); border: 1px solid rgba(255,255,255,0.22); border-radius: 18px; padding: 1.1rem 1.2rem; }
.demo-preview-dental .demo-preview-kicker { color: #5eead4; }
.demo-preview-dental .demo-preview-title { font-family: "Manrope", sans-serif; }
.demo-preview-dental .demo-preview-pill { background: #eefaf8; color: #0f2e2a; }

/* Hotel — editorial cálido, sobre foto real */
.demo-preview-hotel { background: linear-gradient(0deg, rgba(36,31,24,0.85) 0%, rgba(36,31,24,0.04) 68%), url("demos/hotel-boutique/assets/img/hero.jpg") center/cover; color: #f6f0e4; }
.demo-preview-hotel .demo-preview-kicker { color: #e8c396; }
.demo-preview-hotel .demo-preview-title { font-family: "Fraunces", serif; font-size: clamp(1.08rem, 2.6vw, 1.34rem); }
.demo-preview-hotel .demo-preview-pill { background: #f6f0e4; color: #241f18; }

/* Spa — onda líquida, sobre foto real */
.demo-preview-spa { background: linear-gradient(0deg, rgba(74,28,40,0.8) 0%, rgba(74,28,40,0.06) 62%), url("demos/spa-belleza/assets/img/hero.jpg?v=2") center/cover; color: #fdf3f1; }
.demo-preview-spa .demo-preview-content { left: 1rem; right: 1rem; bottom: 1rem; border-radius: 48% 52% 42% 58% / 55% 45% 55% 45%; background: rgba(253,243,241,0.14); backdrop-filter: blur(8px); padding: 1.6rem 1.5rem; }
.demo-preview-spa .demo-preview-kicker { color: #eec3d1; }
.demo-preview-spa .demo-preview-title { font-family: "Cormorant", serif; font-size: clamp(1.15rem, 2.8vw, 1.4rem); }
.demo-preview-spa .demo-preview-pill { background: #4a1c28; color: #fdf3f1; }

/* Constructora — industrial, sobre foto real */
.demo-preview-constructora { background: linear-gradient(0deg, rgba(17,20,23,0.9) 0%, rgba(17,20,23,0.08) 62%), url("demos/constructora/assets/img/hero.jpg") center/cover; color: #f3f1ec; }
.demo-preview-constructora .demo-preview-kicker { background: #f2a93b; color: #111417; align-self: flex-start; padding: .25rem .6rem; border-radius: 3px; }
.demo-preview-constructora .demo-preview-title { font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; font-size: clamp(1.2rem, 3vw, 1.55rem); letter-spacing: .01em; }
.demo-preview-constructora .demo-preview-pill { background: transparent; border: 1.5px solid #f2a93b; color: #f2a93b; }

/* Abogados — editorial de prestigio, sobre foto real */
.demo-preview-abogados { background: linear-gradient(0deg, rgba(13,20,32,0.9) 0%, rgba(13,20,32,0.1) 64%), url("demos/abogados/assets/img/hero.jpg") center/cover; color: #f2efe6; }
.demo-preview-abogados .demo-preview-content { align-items: center; text-align: center; }
.demo-preview-abogados .demo-preview-kicker { color: #c9a24b; }
.demo-preview-abogados .demo-preview-title { font-family: "Libre Baskerville", serif; font-style: italic; font-size: clamp(1rem, 2.4vw, 1.18rem); }
.demo-preview-abogados .demo-preview-pill { background: #c9a24b; color: #0d1420; }

/* Seguridad — táctico, sobre foto real */
.demo-preview-seguridad { background: linear-gradient(0deg, rgba(10,13,16,0.9) 0%, rgba(10,13,16,0.08) 60%), url("demos/seguridad-privada/assets/img/hero.jpg") center/cover; color: #eef1f4; }
.demo-preview-seguridad .demo-preview-dot { background: #3ecf6e; box-shadow: 0 0 0 3px rgba(62,207,110,0.25); }
.demo-preview-seguridad .demo-preview-kicker { color: #2f7dff; }
.demo-preview-seguridad .demo-preview-title { font-family: "Rajdhani", sans-serif; text-transform: uppercase; font-weight: 700; font-size: clamp(1.15rem, 2.8vw, 1.42rem); }
.demo-preview-seguridad .demo-preview-pill { background: #2f7dff; color: #eef1f4; }

.demo-caption { padding: 1.4rem 1.5rem 1.6rem; }
.demo-caption h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.demo-caption p { color: var(--ink-mute); font-size: .88rem; margin-bottom: 1rem; }
.demo-cta { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 700; color: var(--cyan); }

/* =============================================================
   10. Plans
   ============================================================= */
.plans-section { max-width: 1400px; }
.plans-columns { display: grid; gap: 1.6rem; align-items: start; }
@media (min-width: 900px) { .plans-columns { grid-template-columns: 1fr 1fr; gap: 2rem; } }

.plan-col { position: relative; background: var(--card); border: 1px solid var(--card-line); border-radius: 24px; padding: 2.2rem; display: flex; flex-direction: column; }

.plan-col-head { padding-bottom: 1.6rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--card-line); }
.plan-col-head h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.plan-col-title-accent { color: var(--cyan); }
.plan-col-tagline { font-size: .82rem; font-weight: 700; color: var(--cyan); letter-spacing: .01em; margin-bottom: .6rem; }
.plan-col-price { font-size: 2.2rem; font-weight: 800; margin-bottom: 1rem; }
.plan-col-price span { font-size: .9rem; font-weight: 600; color: var(--ink-mute); }
.plan-col-price-note { font-size: .82rem; font-weight: 700; letter-spacing: .01em; margin-bottom: 1rem; color: var(--cyan); }
.plan-col-desc { color: var(--ink-soft); font-size: .95rem; max-width: 48ch; }

.plan-block { margin-bottom: 1.8rem; }
.plan-block h4 { font-size: .82rem; font-weight: 700; letter-spacing: .01em; color: var(--cyan); margin-bottom: 1rem; }

.plan-list { display: flex; flex-direction: column; gap: .85rem; }
.plan-list li { display: flex; align-items: flex-start; gap: .65rem; font-size: .92rem; color: var(--ink-soft); line-height: 1.5; }
.plan-list li svg { flex-shrink: 0; margin-top: .15rem; }
.plan-list .li-check { color: var(--cyan); }
.plan-list strong { color: var(--cyan); }
.plan-list-no li { color: var(--ink-mute); }
.plan-list-no .li-no { color: var(--ink-mute); }

.plan-col .btn-block { margin-top: auto; }
.plan-col-actions { margin-top: auto; display: flex; flex-direction: column; gap: .8rem; }

.plans-shared { margin-top: 2rem; background: var(--card); border: 1px solid var(--card-line); border-radius: 24px; padding: 2rem 2.2rem; }
.plans-shared h4 { font-size: .95rem; font-weight: 700; margin-bottom: 1rem; }
.plans-shared-text { color: var(--ink-soft); font-size: .92rem; line-height: 1.6; }

/* =============================================================
   11. Process
   ============================================================= */
.process-layout { max-width: 1400px; margin: 0 auto; display: grid; gap: 2.2rem; align-items: center; }
@media (min-width: 860px) { .process-layout { grid-template-columns: 1.1fr .9fr; gap: 3rem; } }
.process-media { border-radius: 22px; overflow: hidden; aspect-ratio: 1/1; box-shadow: 0 26px 56px rgba(0,0,0,0.4); }
.process-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.process-grid { display: flex; flex-direction: column; gap: 1.8rem; }
.process-num { display: block; font-size: 1.6rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .8rem; }
.process-step h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.process-step p { color: var(--ink-mute); font-size: .92rem; }

/* =============================================================
   13. Footer
   ============================================================= */
.footer { max-width: 1400px; margin: 0 auto; padding: 4.5rem 1.4rem 2.2rem; border-top: 1px solid var(--card-line); }
.footer-grid { display: grid; gap: 2.2rem 1.6rem; grid-template-columns: repeat(2, 1fr); margin-bottom: 2.8rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 700px) { .footer-brand { grid-column: auto; } }
.footer-logo { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.05rem; }
.footer-tagline { margin-top: .9rem; color: var(--ink-mute); font-size: .88rem; max-width: 30ch; line-height: 1.55; }
.footer-col-title { font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 1.1rem; }
.footer-links { display: flex; flex-direction: column; gap: .7rem; font-size: .88rem; color: var(--ink-soft); }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--cyan); }
.footer-static { color: var(--ink-mute); }
.footer-bottom { padding-top: 1.8rem; border-top: 1px solid var(--card-line); }
.footer-copy { color: var(--ink-mute); font-size: .8rem; }

/* =============================================================
   14. Floating WhatsApp button
   ============================================================= */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #06070a;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 34px rgba(0,0,0,0.42); }
.whatsapp-float-ring { position: absolute; inset: 0; border-radius: 50%; background: #25d366; opacity: .55; animation: waPulse 2.4s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .whatsapp-float-ring { animation: none; display: none; } }
@media (max-width: 540px) { .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; } }

/* =============================================================
   16b. Legal content
   ============================================================= */
.legal-content { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: 2.2rem; }
.legal-content h2 { font-size: 1.25rem; margin-bottom: .9rem; }
.legal-content p, .legal-content li { color: var(--ink-soft); font-size: .96rem; line-height: 1.7; }
.legal-content ul { padding-left: 1.2rem; display: flex; flex-direction: column; gap: .55rem; }
.legal-updated { color: var(--ink-mute); font-size: .85rem; }

/* =============================================================
   16. Contact form
   ============================================================= */
.contact-form { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.3rem; }
.form-row { display: grid; gap: 1.3rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: .55rem; }
.form-label { font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.form-label .req { color: var(--magenta); }
.form-label .opt { font-weight: 400; color: var(--ink-mute); font-size: .82rem; }
.form-field input, .form-field textarea {
  font: inherit; color: var(--ink); background: var(--card); border: 1.5px solid var(--card-line);
  border-radius: 12px; padding: .85rem 1rem; transition: border-color .2s;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--cyan); outline: none; }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: .78rem; color: var(--ink-mute); }
.form-status { padding: .9rem 1.1rem; border-radius: 12px; font-size: .88rem; }
.form-status.is-success { background: rgba(34,211,238,0.1); color: var(--ink); border: 1px solid rgba(34,211,238,0.3); }
.form-status.is-error { background: rgba(248,113,113,0.1); color: var(--ink); border: 1px solid rgba(248,113,113,0.35); }
.contact-alt { text-align: center; margin-top: 2rem; color: var(--ink-mute); font-size: .92rem; }
.contact-alt a { color: var(--cyan); font-weight: 600; }

/* =============================================================
   15b. Mobile density
   ============================================================= */
@media (max-width: 640px) {
  .hero { min-height: auto; padding: 6.5rem 1.2rem 3.2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .insight { padding: 3.2rem 1.2rem; }
  .section, .section-dark, .plans-section { padding: 3.4rem 1.2rem; }
  .explore-grid { gap: .9rem; padding: 0 1.2rem 3.4rem; }
  .section-head-inner { margin-bottom: 2.2rem; }

  .process-layout { gap: 1.8rem; }
  .process-grid { gap: 1.6rem; }

  .contact-form { gap: 1.1rem; }
  .form-row { gap: 1rem; }

  .footer { padding: 3.2rem 1.2rem 2rem; }
  .footer-grid { gap: 2rem 1.2rem; margin-bottom: 2.2rem; }
}

/* Beneficios, portafolio y servicios: dos columnas desde tablet chica hacia abajo */
@media (max-width: 767px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .feature-card { padding: 1rem; }
  .feature-card:hover { transform: none; }
  .feature-icon { width: 34px; height: 34px; margin-bottom: .7rem; }
  .feature-icon svg { width: 17px; height: 17px; }
  .feature-card h3 { font-size: .92rem; }
  .feature-card p { font-size: .78rem; line-height: 1.45; }

  .demos-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .demo-preview-content { padding: 1.05rem; gap: .35rem; }
  .demo-preview-dental .demo-preview-content { margin: .6rem; padding: .9rem 1rem; }
  .demo-preview-spa .demo-preview-content { left: .6rem; right: .6rem; bottom: .6rem; padding: 1.2rem 1.1rem; }
  .demo-preview-dental .demo-preview-title,
  .demo-preview-hotel .demo-preview-title,
  .demo-preview-spa .demo-preview-title,
  .demo-preview-constructora .demo-preview-title,
  .demo-preview-abogados .demo-preview-title,
  .demo-preview-seguridad .demo-preview-title { font-size: .92rem; }
  .demo-preview-kicker { font-size: .58rem; }
  .demo-preview-pill { font-size: .58rem; padding: .3rem .6rem; white-space: nowrap; }
  .demo-caption { padding: 1rem 1.1rem 1.2rem; }
  .demo-caption h3 { font-size: .96rem; }
  .demo-caption p { font-size: .78rem; }

  .plans-columns { gap: 1.2rem; }
  .plan-col { padding: 1.5rem; }
  .plan-block { margin-bottom: 1.4rem; }
  .plans-shared { padding: 1.6rem 1.4rem; margin-top: 1.2rem; }
}

/* =============================================================
   15. Reveal
   ============================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
