:root {
  --bg: #071017;
  --bg-deep: #04090d;
  --panel: #0c171f;
  --panel-2: #101d26;
  --line: rgba(170, 203, 215, .15);
  --line-strong: rgba(170, 203, 215, .25);
  --text: #f5f8fa;
  --muted: #9aaab5;
  --cyan: #18d9e6;
  --cyan-soft: #7cf5fb;
  --blue: #396dff;
  --green: #76f5be;
  --danger: #ff627d;
  --font-body: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "DM Sans", system-ui, sans-serif;
  --container: 1180px;
  --radius: 24px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .32);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { width: 100%; max-width: 100%; min-width: 0; margin: 0; }
html { scroll-behavior: smooth; overflow-x: clip; touch-action: pan-y; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  touch-action: pan-y;
}
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img, svg, video, canvas { max-width: 100%; }
img, video { height: auto; }
img { display: block; }
button { color: inherit; }
::selection { background: var(--cyan); color: #051014; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 14px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

header, main, footer, section { width: 100%; max-width: 100%; min-width: 0; }
.container { width: 100%; max-width: calc(var(--container) + 40px); min-width: 0; margin-inline: auto; padding-inline: 20px; position: relative; z-index: 2; }
.hero-layout > *, .contact-layout > *, .cpx-solutions__grid > *, .internal-grid > *, .internal-process > * { min-width: 0; }
.section { padding: 120px 0; position: relative; }
.section-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 92%);
}

.cursor-glow {
  position: fixed;
  z-index: 0;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(24,217,230,.065), transparent 68%);
  opacity: 0;
  transition: opacity .25s ease;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan-soft);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow span { width: 28px; height: 1px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5, 12, 17, .82);
  backdrop-filter: blur(20px);
  border-color: var(--line);
}
.nav-wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.brand { width: 228px; flex: 0 0 auto; }
.main-nav { display: flex; align-items: center; gap: 31px; }
.main-nav > a:not(.nav-cta) { color: #c0ccd3; font-size: .93rem; font-weight: 600; transition: color .2s ease; }
.main-nav > a:not(.nav-cta):hover { color: var(--text); }
.nav-cta {
  padding: 12px 19px;
  border: 1px solid rgba(24,217,230,.5);
  color: var(--cyan-soft);
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 700;
  transition: .25s ease;
  box-shadow: inset 0 0 0 1px rgba(24,217,230,.04);
}
.nav-cta:hover { background: var(--cyan); color: #041014; transform: translateY(-2px); }
.menu-button { display: none; background: transparent; border: 0; width: 44px; height: 44px; padding: 12px; }
.menu-button span { display: block; height: 2px; background: var(--text); margin: 6px 0; transition: .25s ease; }

.hero {
  min-height: 100vh;
  padding: 150px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 10%, rgba(24,217,230,.13), transparent 30%),
    radial-gradient(circle at 10% 80%, rgba(57,109,255,.09), transparent 34%),
    var(--bg-deep);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.hero-orb-one { width: 330px; height: 330px; right: 4%; top: 15%; background: rgba(24,217,230,.08); }
.hero-orb-two { width: 280px; height: 280px; left: -8%; bottom: 10%; background: rgba(57,109,255,.09); }
.hero-layout { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 74px; padding-bottom: 100px; }
.hero-copy { position: relative; z-index: 3; }
.hero h1 {
  margin: 0;
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 6.3vw, 6.25rem);
  line-height: .96;
  letter-spacing: -.065em;
  font-weight: 700;
}
.hero h1 em {
  display: block;
  font-style: normal;
  color: transparent;
  background: linear-gradient(102deg, var(--cyan-soft), var(--cyan) 45%, #78a7ff);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-text { max-width: 650px; margin: 28px 0 0; color: #b3c0c8; font-size: 1.1rem; line-height: 1.7; }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 23px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .22s ease, background .22s ease, border-color .22s ease, color .22s ease;
}
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--cyan); color: #041014; box-shadow: 0 12px 36px rgba(24,217,230,.2); }
.button-primary:hover { background: var(--cyan-soft); }
.button-ghost { border-color: var(--line-strong); background: rgba(255,255,255,.02); color: var(--text); }
.button-ghost:hover, .button-outline:hover { border-color: rgba(24,217,230,.55); color: var(--cyan-soft); }
.button-outline { border-color: var(--line-strong); background: transparent; }
.hero-proof { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px 20px; color: #72848f; font-size: .79rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.hero-proof span:not(:last-child)::after { content: "/"; margin-left: 20px; color: rgba(255,255,255,.16); }

.hero-system { position: relative; min-width: 0; perspective: 1200px; }
.system-frame {
  border: 1px solid rgba(137,213,226,.23);
  background: linear-gradient(145deg, rgba(14,28,37,.96), rgba(6,14,20,.97));
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.025), 0 0 90px rgba(24,217,230,.06);
  transform: rotateY(-6deg) rotateX(2deg);
  transform-style: preserve-3d;
}
.system-topbar { height: 47px; display: flex; align-items: center; justify-content: space-between; padding: 0 17px; border-bottom: 1px solid var(--line); color: #6f818d; font-size: .65rem; letter-spacing: .05em; }
.system-topbar b { color: var(--green); font-size: .59rem; }
.system-dots { display: flex; gap: 5px; }
.system-dots i { width: 6px; height: 6px; border-radius: 50%; background: #2b3b45; }
.system-dots i:first-child { background: var(--cyan); }
.system-body { min-height: 468px; display: grid; grid-template-columns: 46px 1fr; }
.system-sidebar { border-right: 1px solid var(--line); padding: 18px 13px; display: flex; flex-direction: column; gap: 19px; }
.system-sidebar span { display: block; width: 18px; height: 18px; border: 1px solid #2d3d47; border-radius: 5px; }
.system-sidebar span.active { background: rgba(24,217,230,.16); border-color: rgba(24,217,230,.55); box-shadow: 0 0 14px rgba(24,217,230,.15); }
.system-main { padding: 23px; min-width: 0; }
.dashboard-head { display: flex; justify-content: space-between; align-items: center; }
.dashboard-head small, .dashboard-head strong { display: block; }
.dashboard-head small { color: #69808c; font-size: .63rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 5px; }
.dashboard-head strong { font-family: var(--font-display); font-size: 1rem; }
.live-pill { display: flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 99px; background: rgba(118,245,190,.07); color: #91ffd0; font-size: .59rem; border: 1px solid rgba(118,245,190,.15); }
.live-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 1.8s infinite; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.metric-row article { min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.018); }
.metric-row small, .metric-row strong, .metric-row span { display: block; }
.metric-row small { color: #728690; font-size: .57rem; }
.metric-row strong { font-family: var(--font-display); font-size: 1.2rem; margin-top: 5px; }
.metric-row span { color: var(--green); font-size: .55rem; margin-top: 4px; }
.automation-map { height: 177px; margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; background: radial-gradient(circle at center, rgba(24,217,230,.045), transparent 60%); position: relative; overflow: hidden; }
.automation-map::before { content: "FLUJO AUTOMÁTICO"; position: absolute; top: 10px; left: 12px; color: #536772; font-size: .5rem; letter-spacing: .11em; }
.node { position: absolute; width: 74px; height: 48px; padding: 7px; background: #0b1921; border: 1px solid #263a45; border-radius: 8px; z-index: 2; box-shadow: 0 9px 20px rgba(0,0,0,.25); }
.node span { display: inline-grid; place-items: center; width: 21px; height: 17px; border-radius: 4px; color: #041014; background: var(--cyan); font-size: .45rem; font-weight: 900; }
.node b { display: block; margin-top: 4px; font-size: .55rem; color: #c5d1d7; }
.node-web { left: 5%; top: 70px; }
.node-ai { left: 29%; top: 55px; }
.node-crm { left: 54%; top: 82px; }
.node-wa { right: 4%; top: 50px; }
.node-ai span { background: #8c97ff; }
.node-crm span { background: var(--green); }
.node-wa span { background: #5df5aa; }
.connector { position: absolute; height: 1px; background: linear-gradient(90deg, rgba(24,217,230,.15), var(--cyan), rgba(24,217,230,.15)); transform-origin: left; z-index: 1; }
.connector::after { content: ""; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 9px var(--cyan); animation: travel 2s infinite linear; }
.c1 { width: 23%; left: 18%; top: 95px; transform: rotate(-8deg); }
.c2 { width: 24%; left: 42%; top: 86px; transform: rotate(10deg); }
.c3 { width: 25%; left: 66%; top: 96px; transform: rotate(-13deg); }
.system-bottom { display: grid; grid-template-columns: .72fr 1.28fr; gap: 11px; margin-top: 12px; }
.mini-chart, .ai-message { height: 76px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.015); }
.mini-chart { display: flex; align-items: flex-end; gap: 5px; padding: 13px; }
.mini-chart i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(to top, rgba(24,217,230,.25), var(--cyan)); min-height: 16px; }
.mini-chart i:nth-child(2) { height: 45%; }.mini-chart i:nth-child(3) { height: 70%; }.mini-chart i:nth-child(4) { height: 52%; }.mini-chart i:nth-child(5) { height: 92%; }.mini-chart i:nth-child(6) { height: 68%; }.mini-chart i:nth-child(7) { height: 100%; }
.ai-message { display: flex; gap: 9px; align-items: center; padding: 12px; }
.ai-message > span { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto; border-radius: 8px; background: rgba(123,144,255,.13); color: #9eaaff; }
.ai-message p { margin: 0; color: #91a1aa; font-size: .54rem; line-height: 1.5; }
.ai-message small { display: block; color: #d8e1e5; font-size: .58rem; font-weight: 700; }
.float-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 13px; background: rgba(11,25,33,.92); border: 1px solid rgba(136,215,228,.25); box-shadow: var(--shadow); backdrop-filter: blur(10px); animation: float 4s ease-in-out infinite; }
.float-card > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(24,217,230,.13); color: var(--cyan); font-size: .7rem; font-weight: 900; }
.float-card small, .float-card b { display: block; }
.float-card small { color: #657985; font-size: .53rem; }
.float-card b { font-size: .62rem; margin-top: 3px; }
.float-one { left: -34px; bottom: 65px; }
.float-two { right: -26px; top: 98px; animation-delay: -2s; }

.trust-strip { border-top: 1px solid var(--line); padding: 24px 0 26px; display: grid; grid-template-columns: auto 1fr; gap: 35px; align-items: center; overflow: hidden; }
.trust-strip > p { margin: 0; color: #73858f; font-size: .74rem; white-space: nowrap; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent); }
.marquee-track { width: max-content; display: flex; align-items: center; gap: 24px; animation: marquee 28s linear infinite; }
.marquee-track span { color: #aab7be; font-size: .72rem; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.marquee-track i { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); }

.section-heading { display: grid; grid-template-columns: 1.5fr .7fr; gap: 90px; align-items: end; margin-bottom: 56px; }
.section-heading h2, .center-heading h2, .faq-intro h2, .contact-copy h2, .ecosystem-copy h2 {
  font-family: var(--font-display);
  margin: 0;
  font-size: clamp(2.35rem, 4.5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.052em;
}
.section-heading > p, .ecosystem-copy > p, .faq-intro > p, .contact-copy > p { margin: 0; color: var(--muted); line-height: 1.75; font-size: 1rem; }

.services { background: #081219; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 400px; position: relative; padding: 34px 31px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; transition: background .3s ease, transform .3s ease; }
.service-card::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -100px; bottom: -120px; background: radial-gradient(circle, rgba(24,217,230,.15), transparent 70%); transition: .35s ease; }
.service-card:hover { background: rgba(24,217,230,.035); }
.service-card:hover::after { transform: translate(-30px, -35px) scale(1.4); }
.service-number { color: #536670; font-size: .68rem; letter-spacing: .14em; }
.service-symbol { width: 58px; height: 58px; margin: 56px 0 24px; display: grid; place-items: center; border: 1px solid rgba(24,217,230,.25); color: var(--cyan); font-family: var(--font-display); font-size: 1.1rem; border-radius: 16px; background: rgba(24,217,230,.04); box-shadow: inset 0 0 20px rgba(24,217,230,.025); }
.service-card h3 { margin: 0 0 13px; font-family: var(--font-display); font-size: 1.42rem; letter-spacing: -.03em; }
.service-card p { margin: 0; color: #8799a3; line-height: 1.62; }
.service-card ul, .plan-card ul { list-style: none; padding: 0; margin: 22px 0 0; }
.service-card li { color: #b1bec5; font-size: .78rem; padding: 5px 0; }
.service-card li::before { content: "—"; color: var(--cyan); margin-right: 9px; }
.featured-service { background: linear-gradient(145deg, rgba(24,217,230,.08), rgba(57,109,255,.03)); }

.projects-section { overflow: hidden; background: var(--bg-deep); }
/* Galería horizontal de trabajos: cada pieza conserva contenido visible sin hover. */
.cpx-projects { display: grid; gap: clamp(16px, 2vw, 25px); }
.cpx-project-card {
  position: relative;
  display: block;
  width: 100%;
  min-height: clamp(210px, 24vw, 320px);
  overflow: hidden;
  border: 1px solid rgba(170, 203, 215, .14);
  border-radius: clamp(16px, 2vw, 24px);
  padding: 0;
  color: var(--text);
  background: #071017;
  box-shadow: 0 24px 65px rgba(0,0,0,.28);
  cursor: pointer;
  text-align: left;
  isolation: isolate;
  transition: border-color .4s ease, box-shadow .4s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.cpx-project-card__image,
.cpx-project-card__art {
  position: absolute;
  inset: 0;
  z-index: -3;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) saturate(.35) contrast(1.06);
  opacity: .78;
  transform: scale(1.01);
  transition: filter .45s ease, opacity .45s ease, transform .55s cubic-bezier(.2,.7,.2,1);
}
.cpx-project-card__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(2,7,10,.9) 0%, rgba(2,7,10,.58) 52%, rgba(2,7,10,.76) 100%);
  transition: background .45s ease;
}
.cpx-project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 32%, rgba(24,217,230,.08) 50%, transparent 68%);
  transform: translateX(-100%);
  transition: transform .65s ease;
}
.cpx-project-card__number { position: absolute; top: 24px; left: 28px; color: rgba(255,255,255,.38); font-size: .66rem; letter-spacing: .16em; }
.cpx-project-card__content { position: absolute; left: clamp(28px, 6vw, 76px); bottom: clamp(28px, 5vw, 58px); z-index: 2; display: flex; flex-direction: column; align-items: flex-start; max-width: min(70%, 700px); }
.cpx-project-card__category { color: var(--cyan-soft); font-size: clamp(.62rem, 1vw, .74rem); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cpx-project-card__title { margin-top: 10px; font-family: var(--font-display); font-size: clamp(2.25rem, 6.2vw, 5.35rem); line-height: .96; letter-spacing: -.065em; text-wrap: balance; text-shadow: 0 8px 32px rgba(0,0,0,.45); transition: color .4s ease, text-shadow .4s ease; }
.cpx-project-card__meta { margin-top: 14px; color: rgba(222,231,235,.68); font-size: clamp(.7rem, 1.2vw, .85rem); letter-spacing: .03em; }
.cpx-project-card__arrow { position: absolute; top: 24px; right: 27px; display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: var(--cyan-soft); background: rgba(3,9,13,.45); font-size: 1.15rem; transition: border-color .35s ease, background .35s ease, transform .35s ease; }
.cpx-project-card:hover { border-color: rgba(24,217,230,.38); box-shadow: 0 30px 75px rgba(0,0,0,.38), inset 0 0 0 1px rgba(24,217,230,.05); transform: translateY(-2px); }
.cpx-project-card:hover .cpx-project-card__image,
.cpx-project-card:hover .cpx-project-card__art { filter: grayscale(82%) saturate(.55) contrast(1.08); opacity: .9; transform: scale(1.035); }
.cpx-project-card:hover::after { transform: translateX(100%); }
.cpx-project-card:hover .cpx-project-card__title { color: #fff; text-shadow: 0 0 30px rgba(24,217,230,.18); }
.cpx-project-card:hover .cpx-project-card__arrow { border-color: rgba(24,217,230,.62); background: rgba(24,217,230,.1); transform: translate(3px,-3px); }
.cpx-project-card:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-color: var(--cyan); }
.cpx-project-card:active { transform: scale(.995); }

/* Vista previa cinematográfica del proyecto Modo Avión. */
.cpx-project-card--modo .cpx-project-card__image {
  object-position: center 48%;
  filter: brightness(1.18) saturate(1.02) contrast(1.04);
  opacity: .78;
  transform: scale(1.01);
  transition: filter 550ms ease, opacity 550ms ease, transform 550ms cubic-bezier(.2,.7,.2,1);
}
.cpx-project-card--modo .cpx-project-card__overlay {
  background: linear-gradient(90deg, rgba(2,6,12,.82) 0%, rgba(2,6,12,.65) 30%, rgba(2,6,12,.22) 58%, rgba(2,6,12,.34) 100%);
}
.cpx-project-card--modo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 68% 36%, rgba(206,160,70,.18), transparent 32%);
  opacity: .8;
  transition: opacity 550ms ease;
}
.cpx-project-card--modo .cpx-project-card__number,
.cpx-project-card--modo .cpx-project-card__content,
.cpx-project-card--modo .cpx-project-card__arrow { z-index: 2; }
.cpx-project-card--modo:hover .cpx-project-card__image {
  filter: brightness(1.28) saturate(1.08) contrast(1.04);
  opacity: .86;
  transform: scale(1.04);
}
.cpx-project-card--modo:hover::before { opacity: .9; }

/* Preview real de la aplicación móvil Social Parque F5. */
.cpx-project-card--social .cpx-project-card__image,
.cpx-project-card--marcelo .cpx-project-card__image {
  object-position: center;
  filter: saturate(1.04) contrast(1.04);
  opacity: .84;
  transform: scale(1.01);
  transition: filter 550ms ease, opacity 550ms ease, transform 550ms cubic-bezier(.2,.7,.2,1);
}
.cpx-project-card--social .cpx-project-card__overlay,
.cpx-project-card--marcelo .cpx-project-card__overlay {
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2,8,12,.88) 0%, rgba(2,8,12,.7) 34%, rgba(2,8,12,.24) 66%, rgba(2,8,12,.1) 100%),
    linear-gradient(180deg, rgba(2,8,12,.06) 0%, rgba(2,8,12,.08) 48%, rgba(2,8,12,.62) 100%);
}
.cpx-project-card--social::before,
.cpx-project-card--marcelo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 72% 38%, rgba(72,255,47,.12), transparent 34%);
  opacity: .7;
  transition: opacity 550ms ease;
}
.cpx-project-card--social .cpx-project-card__number,
.cpx-project-card--social .cpx-project-card__content,
.cpx-project-card--social .cpx-project-card__arrow,
.cpx-project-card--marcelo .cpx-project-card__number,
.cpx-project-card--marcelo .cpx-project-card__content,
.cpx-project-card--marcelo .cpx-project-card__arrow { z-index: 2; }
.cpx-project-card--social:hover .cpx-project-card__image,
.cpx-project-card--marcelo:hover .cpx-project-card__image {
  filter: brightness(1.05) saturate(1.08) contrast(1.04);
  opacity: .92;
  transform: scale(1.04);
}
.cpx-project-card--social:hover::before,
.cpx-project-card--marcelo:hover::before { opacity: .9; }

.cpx-project-card--marcelo .cpx-project-card__image { object-position: center 25%; }

/* Miniatura editorial del proyecto Héctor Prahim. */
.cpx-project-card--hector .cpx-project-card__image {
  object-position: center 27%;
  filter: saturate(.82) contrast(1.06);
  opacity: .8;
  transform: scale(1.01);
  transition: filter 550ms ease, opacity 550ms ease, transform 550ms cubic-bezier(.2,.7,.2,1);
}
.cpx-project-card--hector .cpx-project-card__overlay {
  background:
    linear-gradient(180deg, rgba(2,6,10,.04) 0%, rgba(2,6,10,.14) 38%, rgba(2,6,10,.58) 70%, rgba(2,6,10,.9) 100%),
    linear-gradient(90deg, rgba(2,6,10,.62) 0%, rgba(2,6,10,.2) 48%, rgba(2,6,10,.06) 100%);
}
.cpx-project-card--hector::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 67% 34%, rgba(222,202,166,.14), transparent 34%);
  opacity: .72;
  transition: opacity 550ms ease;
}
.cpx-project-card--hector .cpx-project-card__number,
.cpx-project-card--hector .cpx-project-card__content,
.cpx-project-card--hector .cpx-project-card__arrow { z-index: 2; }
.cpx-project-card--hector:hover .cpx-project-card__image {
  filter: brightness(1.08) saturate(.9) contrast(1.06);
  opacity: .88;
  transform: scale(1.04);
}
.cpx-project-card--hector:hover::before { opacity: .9; }

/* Fondos abstractos locales para los casos que aún no tienen captura final. */
.cpx-project-card--social .cpx-project-card__art { background: radial-gradient(circle at 76% 48%, transparent 0 11%, rgba(255,255,255,.12) 11.3% 11.6%, transparent 12% 20%, rgba(255,255,255,.08) 20.3% 20.6%, transparent 21%), linear-gradient(125deg,#071510,#193a2c,#07110d); }
.cpx-project-card--hector .cpx-project-card__art { background: linear-gradient(105deg, transparent 58%, rgba(255,255,255,.14) 58.2% 74%, transparent 74.2%), linear-gradient(125deg,#15120f,#3c332b,#171411); }
.cpx-project-card--comercio .cpx-project-card__art { background: linear-gradient(135deg, transparent 58%, rgba(255,255,255,.1) 58.2% 76%, transparent 76.2%), linear-gradient(125deg,#08151a,#153642,#081216); }

/* Se conservan estos fondos para las fichas modales de los proyectos anteriores. */
.visual-fernando { background: linear-gradient(135deg, #30106e, #ff3f6f 58%, #ffaf36); }
.visual-fernando::before { width: 260px; height: 260px; background: rgba(255,221,70,.55); right: -40px; top: -60px; }
.visual-fernando::after { width: 230px; height: 230px; border: 28px solid rgba(255,255,255,.12); right: 12%; bottom: -100px; }
.visual-social { background: linear-gradient(140deg, #0f5d31, #082d1c); }
.visual-social::before { width: 370px; height: 370px; border: 1px solid rgba(255,255,255,.16); right: -110px; top: 20px; box-shadow: inset 0 0 0 45px rgba(255,255,255,.03), inset 0 0 0 90px rgba(255,255,255,.025); }
.visual-social::after { width: 90px; height: 90px; background: #a8f26d; right: 17%; top: 18%; box-shadow: 0 0 0 23px rgba(168,242,109,.08); }
.visual-hector { background: linear-gradient(135deg, #1e1813, #5d3a25 65%, #b98d5f); }
.visual-hector::before { width: 190px; height: 290px; background: linear-gradient(135deg, #e9d9bd, #8e6c4c); right: 13%; top: 12%; border-radius: 4px; transform: rotate(7deg); box-shadow: -24px 24px 60px rgba(0,0,0,.4); }
.visual-hector::after { width: 165px; height: 3px; background: rgba(255,255,255,.6); right: 15%; top: 49%; transform: rotate(7deg); box-shadow: 0 18px 0 rgba(255,255,255,.28), 0 36px 0 rgba(255,255,255,.18); }
.visual-comercio { background: linear-gradient(135deg, #132e3c, #0c7582 60%, #38ccd4); }
.visual-comercio::before { width: 185px; height: 280px; right: 15%; top: 12%; background: #f5f8fa; border-radius: 22px; box-shadow: -18px 23px 45px rgba(0,0,0,.24); }
.visual-comercio::after { width: 130px; height: 100px; right: calc(15% + 28px); top: 24%; background: linear-gradient(135deg, #ffbb45, #ff617c); border-radius: 15px; box-shadow: 0 125px 0 -17px #d9e8eb, 0 160px 0 -17px #d9e8eb; }

.ecosystem { background: #09151c; overflow: hidden; }
.ecosystem-layout { display: grid; grid-template-columns: .83fr 1.17fr; gap: 110px; align-items: center; }
.ecosystem-copy > p { margin-top: 25px; max-width: 570px; }
.benefit-list { margin: 34px 0; border-top: 1px solid var(--line); }
.benefit-list > div { display: grid; grid-template-columns: 38px 1fr; gap: 15px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.benefit-list span { color: var(--cyan); font-size: .67rem; padding-top: 3px; }
.benefit-list p { margin: 0; color: #7f929d; font-size: .85rem; line-height: 1.5; }
.benefit-list strong { display: block; margin-bottom: 4px; color: #e7edf0; font-size: .94rem; }
.ecosystem-diagram { aspect-ratio: 1/1; position: relative; max-width: 620px; margin-inline: auto; }
.ecosystem-diagram::before { content: ""; position: absolute; inset: 20%; border-radius: 50%; background: radial-gradient(circle, rgba(24,217,230,.12), transparent 68%); filter: blur(30px); }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(24,217,230,.16); }
.orbit-one { inset: 13%; animation: spin 35s linear infinite; }
.orbit-two { inset: 28%; border-style: dashed; animation: spin 22s linear reverse infinite; }
.core-node { position: absolute; z-index: 3; left: 50%; top: 50%; width: 150px; height: 150px; transform: translate(-50%,-50%); border-radius: 38px; display: grid; place-items: center; align-content: center; gap: 8px; background: linear-gradient(145deg, #10232d, #09151c); border: 1px solid rgba(24,217,230,.35); box-shadow: 0 0 0 18px rgba(24,217,230,.03), 0 30px 60px rgba(0,0,0,.4), inset 0 0 35px rgba(24,217,230,.05); }
.core-node img { width: 62px; }
.core-node span { color: #bcd0d8; font-size: .72rem; font-weight: 700; }
.satellite { position: absolute; z-index: 3; width: 104px; height: 104px; border: 1px solid var(--line-strong); border-radius: 28px; background: rgba(10,24,32,.95); display: grid; place-items: center; align-content: center; gap: 7px; box-shadow: 0 20px 40px rgba(0,0,0,.28); }
.satellite b { font-family: var(--font-display); font-size: 1rem; color: var(--cyan); }
.satellite span { color: #788a94; font-size: .65rem; }
.sat-web { left: 5%; top: 13%; }.sat-crm { right: 2%; top: 13%; }.sat-ai { right: -1%; top: 59%; }.sat-data { right: 31%; bottom: -1%; }.sat-wa { left: 0; top: 64%; }
.connection-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.connection-lines path { stroke: rgba(24,217,230,.25); stroke-width: 1.4; fill: none; stroke-dasharray: 5 8; animation: dash 18s linear infinite; }

.process { background: var(--bg-deep); }
.process-line { display: grid; grid-template-columns: repeat(5,1fr); position: relative; margin-top: 80px; }
.process-line::before { content: ""; position: absolute; top: 35px; left: 3%; right: 3%; height: 1px; background: linear-gradient(90deg, transparent, rgba(24,217,230,.5), transparent); }
.process-step { position: relative; padding: 0 22px 0 0; }
.process-step > span { display: block; color: #52646e; font-size: .65rem; margin-bottom: 16px; }
.process-dot { position: relative; z-index: 2; width: 12px; height: 12px; margin: 0 0 32px; border-radius: 50%; background: var(--bg-deep); border: 2px solid var(--cyan); box-shadow: 0 0 0 7px var(--bg-deep), 0 0 22px rgba(24,217,230,.45); }
.process-step h3 { margin: 0 0 11px; font-family: var(--font-display); font-size: 1.15rem; }
.process-step p { margin: 0; color: #81949e; line-height: 1.58; font-size: .85rem; }

.sectors-section { background: linear-gradient(180deg, #071017, #09151c); }
.center-heading { text-align: center; max-width: 850px; margin: 0 auto 54px; }
.center-heading .eyebrow { justify-content: center; }
.sector-cloud { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; max-width: 1000px; margin: auto; }
.sector-cloud span { padding: 15px 21px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.018); color: #b2bec4; font-weight: 600; font-size: .9rem; transition: .25s ease; }
.sector-cloud span:hover { border-color: rgba(24,217,230,.45); color: var(--cyan-soft); transform: translateY(-3px); }

.plans { background: var(--bg-deep); overflow: hidden; }
.plans-grid { display: grid; grid-template-columns: repeat(3,1fr); align-items: stretch; gap: 17px; }
.plan-card { position: relative; padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.018); display: flex; flex-direction: column; min-height: 540px; }
.plan-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 55px; }
.plan-top span { color: #566973; font-size: .68rem; }
.plan-top small { color: var(--cyan); text-transform: uppercase; letter-spacing: .1em; font-weight: 800; font-size: .62rem; }
.plan-card h3 { margin: 0 0 16px; font-family: var(--font-display); font-size: 2rem; line-height: 1.1; letter-spacing: -.05em; }
.plan-card > p { margin: 0; color: #83959f; line-height: 1.62; }
.plan-card ul { margin: 32px 0; padding-top: 26px; border-top: 1px solid var(--line); }
.plan-card li { color: #b4c0c6; padding: 8px 0; font-size: .86rem; }
.plan-card li::before { content: "✓"; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 10px; border-radius: 50%; color: var(--cyan); background: rgba(24,217,230,.08); font-size: .62rem; }
.button-plan { margin-top: auto; border-color: var(--line-strong); }
.featured-plan { border-color: rgba(24,217,230,.45); background: linear-gradient(145deg, rgba(24,217,230,.09), rgba(57,109,255,.035)); box-shadow: 0 25px 70px rgba(0,0,0,.26), inset 0 0 50px rgba(24,217,230,.025); transform: translateY(-16px); }
.featured-plan .button { margin-top: auto; }
.popular { position: absolute; top: 0; left: 34px; transform: translateY(-50%); background: var(--cyan); color: #041014; font-size: .57rem; font-weight: 900; letter-spacing: .1em; padding: 7px 10px; border-radius: 99px; }

.faq-section { background: #09151c; }
.faq-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; align-items: start; }
.faq-intro { position: sticky; top: 125px; }
.faq-intro > p { margin: 24px 0; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 25px 0; display: flex; justify-content: space-between; gap: 20px; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--cyan); font-family: var(--font-body); font-size: 1.35rem; transition: transform .25s ease; }
details[open] summary span { transform: rotate(45deg); }
details p { margin: -7px 44px 26px 0; color: #8497a1; line-height: 1.65; }

.contact-section { position: relative; padding: 125px 0; overflow: hidden; background: #050b0f; }
.contact-section .reveal { opacity: 1; transform: none; }
.contact-glow { position: absolute; width: 720px; height: 720px; right: -200px; bottom: -360px; border-radius: 50%; background: radial-gradient(circle, rgba(24,217,230,.16), transparent 68%); filter: blur(20px); }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.contact-copy > p { margin: 25px 0 0; max-width: 570px; }
.contact-direct { margin-top: 43px; padding-top: 26px; border-top: 1px solid var(--line); }
.contact-direct > span { display: block; color: #657983; font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.contact-direct a { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.contact-direct b { color: var(--cyan); margin-left: 6px; }
.contact-form { padding: 34px; border: 1px solid rgba(24,217,230,.22); border-radius: 25px; background: rgba(12,25,33,.78); box-shadow: var(--shadow), inset 0 0 50px rgba(24,217,230,.02); backdrop-filter: blur(12px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; color: #b8c3c9; font-size: .75rem; font-weight: 700; margin-bottom: 17px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: 8px; padding: 14px 15px; border: 1px solid #263843; border-radius: 11px; background: #081219; color: var(--text); outline: none; transition: border .2s ease, box-shadow .2s ease; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: rgba(24,217,230,.65); box-shadow: 0 0 0 3px rgba(24,217,230,.08); }
.contact-form textarea { resize: vertical; min-height: 125px; }
.contact-form option { background: #081219; }
.form-submit { width: 100%; border: 0; }
.form-note { margin: 13px 0 0; color: #657983; text-align: center; font-size: .67rem; }

/* Formulario futurista conectado directamente con WhatsApp. */
.cpx-contact-form { position: relative; padding: clamp(24px,3.5vw,40px); overflow: hidden; border: 1px solid rgba(24,217,230,.22); border-radius: 24px; background: linear-gradient(145deg,rgba(14,29,38,.94),rgba(5,13,19,.98)); box-shadow: 0 28px 75px rgba(0,0,0,.34), inset 0 1px rgba(255,255,255,.04); }
.cpx-contact-form::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.25; background-image:linear-gradient(rgba(24,217,230,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(24,217,230,.08) 1px,transparent 1px); background-size:42px 42px; mask-image:linear-gradient(135deg,#000,transparent 55%); }
.cpx-contact-form__intro, .cpx-contact-form__field, .cpx-contact-form__grid, .cpx-contact-form__submit, .cpx-contact-form__note { position:relative; z-index:1; }
.cpx-contact-form__intro { margin-bottom:28px; }
.cpx-contact-form__intro span { color:var(--cyan-soft); font-size:.67rem; font-weight:700; letter-spacing:.15em; }
.cpx-contact-form__intro p { margin:9px 0 0; color:#81949e; font-size:.8rem; line-height:1.55; }
.cpx-contact-form__grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.cpx-contact-form__field { margin-bottom:17px; }
.cpx-contact-form__field label { display:block; margin-bottom:8px; color:#c7d3d9; font-size:.75rem; font-weight:600; }
.cpx-contact-form__field input, .cpx-contact-form__field select, .cpx-contact-form__field textarea { width:100%; border:1px solid rgba(170,203,215,.18); border-radius:12px; outline:0; color:#f5f8fa; background:rgba(2,9,13,.82); padding:13px 14px; font-size:.92rem; line-height:1.4; transition:border-color .22s ease,box-shadow .22s ease,background .22s ease; }
.cpx-contact-form__field input, .cpx-contact-form__field select { min-height:49px; }
.cpx-contact-form__field textarea { min-height:120px; resize:vertical; max-height:300px; }
.cpx-contact-form__field select { cursor:pointer; color-scheme:dark; }
.cpx-contact-form__field input::placeholder, .cpx-contact-form__field textarea::placeholder { color:#60737d; opacity:1; }
.cpx-contact-form__field input:focus, .cpx-contact-form__field select:focus, .cpx-contact-form__field textarea:focus { border-color:rgba(24,217,230,.72); background:rgba(3,13,18,.96); box-shadow:0 0 0 3px rgba(24,217,230,.08),0 0 24px rgba(24,217,230,.08); }
.cpx-contact-form__field [aria-invalid="true"] { border-color:#ff7b8e; box-shadow:0 0 0 3px rgba(255,98,125,.08); }
.cpx-contact-form__error { display:block; min-height:17px; margin-top:6px; color:#ff93a3; font-size:.68rem; line-height:1.35; opacity:0; transform:translateY(-2px); transition:opacity .2s ease,transform .2s ease; }
.cpx-contact-form__error:not(:empty) { opacity:1; transform:none; }
.cpx-contact-form__submit { position:relative; z-index:1; display:flex; justify-content:center; align-items:center; gap:9px; width:100%; min-height:54px; overflow:hidden; border:1px solid rgba(0,247,255,.72); border-radius:12px; color:#031014; background:linear-gradient(105deg,#16c7d5,#42e3ec); box-shadow:0 13px 34px rgba(0,191,255,.16); font-weight:700; cursor:pointer; transition:transform .18s ease,box-shadow .25s ease,filter .25s ease; }
.cpx-contact-form__submit::before { content:""; position:absolute; inset:0; background:linear-gradient(105deg,transparent 25%,rgba(255,255,255,.42) 50%,transparent 74%); transform:translateX(-120%); transition:transform .45s ease; }
.cpx-contact-form__submit span { position:relative; transition:transform .25s ease; }
.cpx-contact-form__submit:hover { filter:brightness(1.06); box-shadow:0 0 25px rgba(0,234,255,.2),0 15px 36px rgba(0,0,0,.25); }
.cpx-contact-form__submit:hover::before, .cpx-contact-form__submit.is-sending::before { transform:translateX(120%); }
.cpx-contact-form__submit:hover span { transform:translate(3px,-2px); }
.cpx-contact-form__submit:active, .cpx-contact-form__submit.is-sending { transform:scale(.98); }
.cpx-contact-form__submit:focus-visible { outline:2px solid #fff; outline-offset:3px; }
.cpx-contact-form__note { margin:12px 0 0; color:#627680; font-size:.65rem; line-height:1.45; text-align:center; }

.site-footer { background: #03080b; border-top: 1px solid var(--line); padding: 54px 0 25px; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 50px; padding-bottom: 42px; }
.footer-brand { width: 250px; }
.footer-top p { max-width: 440px; margin: 0; color: #6f828c; line-height: 1.6; text-align: right; }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-top: 1px solid var(--line); padding-top: 23px; color: #60737d; font-size: .72rem; }
.footer-bottom > div { display: flex; gap: 25px; }
.footer-bottom > a { justify-self: end; }
.footer-bottom a:hover { color: var(--cyan-soft); }

.whatsapp-float { position: fixed; z-index: 900; right: 23px; bottom: 23px; width: 57px; height: 57px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #06140c; box-shadow: 0 14px 40px rgba(0,0,0,.35); transition: transform .2s ease; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); }
.whatsapp-float svg { width: 31px; fill: currentColor; }

.project-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 30px; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.project-modal.open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(1,5,8,.82); backdrop-filter: blur(12px); }
.modal-card { position: relative; z-index: 2; width: min(980px, 100%); max-height: 90vh; overflow: auto; border-radius: 25px; border: 1px solid var(--line-strong); background: #09151c; display: grid; grid-template-columns: 1.08fr .92fr; box-shadow: 0 40px 100px rgba(0,0,0,.55); transform: translateY(20px) scale(.98); transition: transform .25s ease; }
.project-modal.open .modal-card { transform: translateY(0) scale(1); }
.modal-close { position: absolute; z-index: 3; top: 13px; right: 13px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(4,10,14,.65); color: white; font-size: 1.5rem; cursor: pointer; }
.modal-visual { min-height: 540px; position: relative; overflow: hidden; }
.modal-visual::before { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.modal-content { padding: 60px 45px; display: flex; flex-direction: column; justify-content: center; }
.modal-content h2 { margin: 0 0 18px; font-family: var(--font-display); font-size: 2.5rem; letter-spacing: -.055em; }
.modal-content > p { margin: 0; color: #8fa0aa; line-height: 1.7; }
.modal-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 35px; }
.modal-tags span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 99px; color: #9aabb3; font-size: .69rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes pulse { 0%,100% { opacity: .5; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.2); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dash { to { stroke-dashoffset: -220; } }
@keyframes travel { from { transform: translateX(-130px); opacity: 0; } 15% { opacity: 1; } to { transform: translateX(0); opacity: 0; } }

@media (max-width: 1100px) {
  .hero-layout { gap: 34px; }
  .hero h1 { font-size: clamp(3.3rem, 7vw, 5.2rem); }
  .system-body { min-height: 430px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .ecosystem-layout { gap: 50px; }
  .process-line { grid-template-columns: repeat(3,1fr); gap: 45px 20px; }
  .process-line::before { display: none; }
  .process-dot { margin-bottom: 24px; }
  .faq-layout, .contact-layout { gap: 55px; }
}

@media (max-width: 880px) {
  .container { width: 100%; max-width: 100%; padding-inline: 15px; }
  .section { padding: 88px 0; }
  .nav-wrap { height: 72px; }
  .brand { width: 205px; }
  .menu-button { display: block; position: relative; z-index: 4; }
  .menu-button.active span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button.active span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; width: 100%; max-width: 100%; min-width: 0; overflow-x: hidden; overflow-y: auto; background: rgba(5,12,17,.98); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 80px max(24px, env(safe-area-inset-right)) 80px max(24px, env(safe-area-inset-left)); gap: 24px; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .25s ease; }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav > a:not(.nav-cta) { font-family: var(--font-display); font-size: 2rem; }
  .nav-cta { margin-top: 10px; font-size: 1rem; padding: 15px 23px; }
  .hero { padding-top: 125px; min-height: auto; }
  .hero-layout { grid-template-columns: 1fr; padding-bottom: 70px; }
  .hero-text { max-width: 700px; }
  .hero-system { width: min(680px, 100%); margin: 20px auto 0; }
  .float-one { left: 5px; }.float-two { right: 5px; }
  .trust-strip { grid-template-columns: 1fr; gap: 14px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 43px; }
  .section-heading > p { max-width: 650px; }
  .ecosystem-layout { grid-template-columns: 1fr; }
  .ecosystem-copy { max-width: 680px; }
  .ecosystem-diagram { width: min(600px, 100%); }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: auto; }
  .featured-plan { transform: none; }
  .faq-layout, .contact-layout { grid-template-columns: 1fr; }
  .faq-intro { position: static; max-width: 650px; }
  .contact-copy { max-width: 750px; }
  .modal-card { grid-template-columns: 1fr; }
  .modal-visual { min-height: 340px; }
}

@media (max-width: 620px) {
  .section { padding: 72px 0; }
  .hero { padding-top: 105px; }
  .hero-layout { gap: 0; padding-bottom: 48px; }
  .hero h1 { max-width: 100%; font-size: clamp(2.65rem, 13vw, 4.2rem); overflow-wrap: break-word; word-break: normal; }
  .hero-text { font-size: 1rem; line-height: 1.6; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions, .hero-actions .button { width: 100%; max-width: 100%; min-width: 0; }
  .button { width: 100%; }
  .hero-proof { gap: 9px 13px; }
  .hero-proof span:not(:last-child)::after { margin-left: 13px; }
  .hero-system { display: none; }
  .system-frame { transform: none; border-radius: 15px; }
  .system-body { min-height: 350px; grid-template-columns: 33px 1fr; }
  .system-sidebar { padding: 14px 8px; }
  .system-sidebar span { width: 15px; height: 15px; }
  .system-main { padding: 14px; }
  .dashboard-head strong { font-size: .85rem; }
  .live-pill { display: none; }
  .metric-row article { padding: 9px; }
  .metric-row small { font-size: .46rem; }
  .metric-row strong { font-size: .9rem; }
  .automation-map { height: 150px; }
  .node { width: 58px; height: 43px; padding: 5px; }
  .node b { font-size: .47rem; }
  .system-bottom { grid-template-columns: 1fr; }
  .mini-chart { display: none; }
  .ai-message { height: 65px; }
  .float-card { display: none; }
  .trust-strip { padding-bottom: 22px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 350px; padding: 27px 24px; }
  .service-symbol { margin-top: 40px; }
  .cpx-project-card { min-height: clamp(230px, 68vw, 300px); }
  .cpx-project-card__content { left: 22px; bottom: 25px; max-width: calc(100% - 44px); }
  .cpx-project-card__title { font-size: clamp(2rem, 11vw, 3.2rem); }
  .cpx-project-card__meta { max-width: calc(100% - 46px); }
  .cpx-project-card__number { top: 19px; left: 21px; }
  .cpx-project-card__arrow { top: 16px; right: 17px; width: 42px; height: 42px; }
  .cpx-project-card--modo .cpx-project-card__image,
  .cpx-project-card--modo:hover .cpx-project-card__image {
    object-position: 58% center;
    filter: brightness(1.16) saturate(1.02) contrast(1.04);
    opacity: .68;
    transform: scale(1.01);
  }
  .cpx-project-card--hector .cpx-project-card__image,
  .cpx-project-card--hector:hover .cpx-project-card__image {
    object-position: 65% center;
    filter: brightness(1.04) saturate(.84) contrast(1.05);
    opacity: .76;
    transform: scale(1.01);
  }
  .cpx-project-card--social .cpx-project-card__image,
  .cpx-project-card--social:hover .cpx-project-card__image {
    object-position: 68% center;
    filter: brightness(1.03) saturate(1.04) contrast(1.04);
    opacity: .86;
    transform: scale(1.01);
  }
  .cpx-project-card--marcelo .cpx-project-card__image,
  .cpx-project-card--marcelo:hover .cpx-project-card__image {
    object-position: center 25%;
    transform: scale(1.01);
  }
  .ecosystem-diagram { transform: scale(.9); margin: -30px auto; }
  .satellite { width: 84px; height: 84px; border-radius: 22px; }
  .satellite span { font-size: .56rem; }
  .core-node { width: 125px; height: 125px; border-radius: 30px; }
  .core-node img { width: 51px; }
  .process-line { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .process-step { display: grid; grid-template-columns: 34px 14px 1fr; column-gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .process-step > span { grid-row: 1 / span 2; margin: 0; padding-top: 4px; }
  .process-dot { grid-row: 1 / span 2; margin: 4px 0 0; }
  .process-step h3, .process-step p { grid-column: 3; }
  .process-step p { margin-top: 7px; }
  .sector-cloud span { padding: 12px 16px; font-size: .8rem; }
  .plan-card { padding: 27px 23px; }
  .plan-top { margin-bottom: 42px; }
  .faq-layout { gap: 40px; }
  summary { font-size: .96rem; }
  details p { margin-right: 0; }
  .contact-section { padding: 75px 0; }
  .contact-layout { gap: 38px; }
  .cpx-contact-form { padding: 22px 17px 86px; border-radius: 18px; }
  .cpx-contact-form__grid { grid-template-columns: 1fr; gap: 0; }
  .cpx-contact-form__field input, .cpx-contact-form__field select, .cpx-contact-form__field textarea { font-size: 16px; }
  .contact-form { padding: 22px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { flex-direction: column; }
  .footer-top p { text-align: left; }
  .footer-bottom { grid-template-columns: 1fr; gap: 18px; }
  .footer-bottom > a { justify-self: start; }
  .whatsapp-float { width: 52px; height: 52px; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  .project-modal { padding: 12px; }
  .modal-card { border-radius: 18px; }
  .modal-visual { min-height: 260px; }
  .modal-content { padding: 38px 24px 30px; }
  .modal-content h2 { font-size: 2.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .cursor-glow { display: none; }
  .cpx-contact-form__submit::before { display: none; }
  .cpx-contact-form__submit, .cpx-contact-form__submit span, .cpx-contact-form__error { transform: none !important; }
  .cpx-project-card, .cpx-project-card::after, .cpx-project-card__image, .cpx-project-card__art, .cpx-project-card__arrow { transform: none !important; }
}
