:root {
  --blue-950: #041f45;
  --blue-900: #062f63;
  --blue-800: #0b4f8a;
  --blue-700: #146296;
  --blue-600: #2270ca;
  --blue-300: #8fc3ff;
  --cyan: #40d8ff;
  --ink: #0d1729;
  --muted: #61708a;
  --paper: #f5f9ff;
  --white: #ffffff;
  --line: rgba(10, 61, 115, 0.14);
  --glass: rgba(255, 255, 255, 0.78);
  --shadow: 0 24px 70px rgba(4, 31, 69, 0.18);
  --radius: 8px;
  --max: 1180px;
  --header-h: 80px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  background:
    radial-gradient(
      circle at 18% 8%,
      rgba(34, 112, 202, 0.22),
      transparent 30rem
    ),
    radial-gradient(
      circle at 86% 20%,
      rgba(64, 216, 255, 0.15),
      transparent 28rem
    ),
    linear-gradient(180deg, #f7fbff 0%, #eef6ff 38%, #ffffff 100%);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

body.is-demo-open {
  overflow: hidden;
}

body.is-demo-open [data-site-main],
body.is-demo-open .whatsapp,
body.is-demo-open .site-footer,
body.is-demo-open .scroll-meter {
  display: none;
}

.demo-viewer {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 60;
  display: flex;
  height: calc(100dvh - var(--header-h));
  padding: 0;
  background: #e3edf9;
}

.demo-viewer[hidden] {
  display: none;
}

body.is-demo-open .demo-viewer {
  display: flex;
}

.demo-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  min-height: 0;
  flex: 1;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--white);
  box-shadow: none;
}

.demo-shell__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.5rem;
  min-height: 2.5rem;
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.demo-shell__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.demo-shell__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--blue-600);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
   margin-top: 0.5rem;
}

.demo-shell__label {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(0.72rem, 2vw, 0.92rem);
  font-weight: 850;
  line-height: 1.2;
  margin-top: 0.5rem;
}

.demo-shell__hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
}

.demo-shell__frame {
  flex: 1;
  min-height: 0;
  padding: 1rem;
  margin: 0;
  background: #e3edf9;
  border-top: 1px solid var(--line);
}

.demo-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(10, 61, 115, 0.16);
  margin: 0;
  padding: 0;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(4, 31, 69, 0.08);
}

.nav-back {
  color: var(--cyan);
  font-weight: 900;
}

.nav-back[hidden] {
  display: none;
}

body.is-demo-open .nav-back {
  display: inline-flex;
}

body.is-demo-open .site-nav > a:not(.nav-back):not(.nav-login) {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.scroll-meter {
  position: fixed;
  inset: 0 auto auto 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue-600));
  z-index: 80;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
  padding: 0.94rem clamp(1.25rem, 3vw, 2.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(4, 31, 69, 0.78);
  backdrop-filter: blur(18px);
  color: var(--white);
  font-size: 1.05rem;
  transition:
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(4, 31, 69, 0.95);
  box-shadow: 0 16px 40px rgba(4, 31, 69, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  min-width: 0;
  font-weight: 800;
  line-height: 1;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand span {
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-toggle {
  width: 58px;
  height: 58px;
  display: grid;
  place-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  display: block;
  border-radius: 99px;
  background: var(--white);
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 auto auto;
  width: min(88vw, 340px);
  height: calc(100dvh - var(--header-h));
  display: grid;
  align-content: start;
  padding: 1.25rem;
  background: rgba(4, 31, 69, 0.97);
  box-shadow: -20px 0 60px rgba(4, 31, 69, 0.28);
  transform: translateX(100%);
  transition: transform 280ms ease;
}

.site-nav.is-open {
  transform: translateX(0);
}

.site-nav a {
  padding: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.nav-login {
  margin-top: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  text-align: center;
}

.hero {
  width: min(var(--max), calc(100% - 2rem));
  min-height: auto;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin: 0 auto;
  padding: calc(var(--header-h) + 1.5rem) 0 1.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.8rem;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-accent {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue-600));
}

.text-highlight {
  background: linear-gradient(135deg, var(--blue-600), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

.hero h1 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(1.45rem, 3.6vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.section-heading h2,
.contact-panel h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(2rem, 7vw, 5.7rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-text,
.section-heading p,
.contact-panel p {
  max-width: 42rem;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.18rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-actions .button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.hero-actions .button svg {
  flex-shrink: 0;
  transition: transform 200ms ease;
}

.hero-actions .button:hover svg {
  transform: translateX(3px);
}

.hero-actions .button.secondary:hover svg {
  transform: rotate(15deg);
}

.button-glow {
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 8px 32px rgba(34, 112, 202, 0.35),
    0 4px 16px rgba(34, 112, 202, 0.2);
}

.button-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(135deg, var(--cyan), var(--blue-600), var(--cyan));
  background-size: 200% 200%;
  opacity: 0;
  z-index: -1;
  filter: blur(8px);
  transition: opacity 300ms ease;
  animation: glow-shift 3s ease infinite;
}

.button-glow:hover::before {
  opacity: 0.5;
}

@keyframes glow-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-trust {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-800);
}

.trust-badge svg {
  color: var(--blue-600);
}

.button,
.service-card a,
.price-card > a,
.contact-panel button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  padding: 0.76rem 1rem;
  font-weight: 850;
  cursor: pointer;
}

.primary,
.service-card a,
.price-card > a,
.contact-panel button {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: var(--white);
  box-shadow: 0 16px 32px rgba(34, 112, 202, 0.25);
}

.secondary {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue-900);
}

.button:hover,
.service-card a:hover,
.price-card > a:hover,
.contact-panel button:hover {
  transform: translateY(-2px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0;
}

.hero-metrics div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.hero-metrics dt {
  color: var(--blue-900);
  font-size: 1.1rem;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.system-stage {
  width: 100%;
  display: grid;
  place-items: center;
  perspective: 1100px;
}

.browser-shell {
  width: min(100%, 680px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius);
  background:
    linear-gradient(
      140deg,
      rgba(255, 255, 255, 0.92),
      rgba(219, 237, 255, 0.72)
    );
  box-shadow: var(--shadow);
  transform: rotateX(2deg) rotateY(-4deg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.browser-bar span {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 50%;
  background: var(--blue-300);
}

.browser-bar p {
  margin: 0 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.dashboard {
  display: grid;
  grid-template-columns: 56px 1fr;
  min-height: 460px;
  background: rgba(255, 255, 255, 0.56);
}

.dashboard aside {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 1rem;
  padding: 1rem 0;
  background: rgba(6, 47, 99, 0.94);
  color: var(--white);
}

.dashboard aside span {
  width: 24px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.dashboard aside .active {
  background: var(--cyan);
}

.dash-content {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.dash-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.dash-title p {
  margin: 0;
  color: var(--blue-950);
  font-weight: 900;
  font-size: 1rem;
}

.dash-subtitle {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.dash-growth {
  display: grid;
  justify-items: end;
  gap: 0.15rem;
  text-align: right;
}

.dash-growth__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(34, 112, 202, 0.12);
  color: var(--blue-700);
  font-size: 0.82rem;
  font-weight: 900;
}

.dash-growth__label {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.dash-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.82);
}

.dash-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.dash-grid strong {
  display: block;
  margin-top: 0.15rem;
  color: var(--blue-900);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.1;
}

.dash-trend {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
}

.dash-trend--up {
  color: var(--blue-700);
}

.dash-trend--warn {
  color: #b45309;
}

.dash-charts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.dash-chart-card {
  display: grid;
  gap: 0.65rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(238, 246, 255, 0.88));
  box-shadow: 0 8px 24px rgba(4, 31, 69, 0.06);
}

.chart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.chart-header p {
  margin: 0;
  color: var(--blue-950);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.2;
}

.chart-header span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
}

.chart-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
}

.chart-pill--up {
  background: rgba(34, 112, 202, 0.12);
  color: var(--blue-700);
}

.chart-bars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 0.4rem;
  min-height: 88px;
  padding: 0.5rem 0.25rem 0;
  border-radius: calc(var(--radius) - 2px);
  background:
    linear-gradient(180deg, transparent 24%, rgba(10, 61, 115, 0.04) 24%, rgba(10, 61, 115, 0.04) 25%, transparent 25%),
    linear-gradient(180deg, transparent 49%, rgba(10, 61, 115, 0.04) 49%, rgba(10, 61, 115, 0.04) 50%, transparent 50%),
    linear-gradient(180deg, transparent 74%, rgba(10, 61, 115, 0.04) 74%, rgba(10, 61, 115, 0.04) 75%, transparent 75%);
}

.chart-bars__col {
  display: grid;
  gap: 0.35rem;
  align-content: end;
  justify-items: center;
  height: 100%;
}

.chart-bars__col i {
  display: block;
  width: 100%;
  max-width: 1.35rem;
  height: var(--h);
  min-height: 12%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--blue-600));
  box-shadow: 0 -6px 16px rgba(34, 112, 202, 0.2);
  transition: transform 200ms ease;
}

.chart-bars__col.is-active i {
  background: linear-gradient(180deg, #5ee4ff, var(--blue-800));
  box-shadow: 0 -8px 20px rgba(34, 112, 202, 0.35);
}

.chart-bars__col span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
}

.chart-bars__col.is-active span {
  color: var(--blue-700);
  font-weight: 900;
}

.chart-donut-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chart-donut {
  position: relative;
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
}

.chart-donut__ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    var(--blue-600) 0deg 162deg,
    var(--cyan) 162deg 288deg,
    rgba(143, 195, 255, 0.45) 288deg 360deg
  );
  box-shadow: 0 6px 18px rgba(34, 112, 202, 0.2);
}

.chart-donut__hole {
  position: absolute;
  inset: 0.55rem;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  text-align: center;
}

.chart-donut__hole strong {
  color: var(--blue-900);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}

.chart-donut__hole span {
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 700;
}

.chart-legend {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
  min-width: 0;
}

.chart-legend li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
}

.chart-legend b {
  margin-left: auto;
  color: var(--blue-900);
  font-weight: 900;
}

.chart-legend__dot {
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
}

.chart-legend__dot--1 {
  background: var(--blue-600);
}

.chart-legend__dot--2 {
  background: var(--cyan);
}

.chart-legend__dot--3 {
  background: var(--blue-300);
}

.chart-line {
  width: 100%;
  height: auto;
  display: block;
}

.chart-line__path {
  filter: drop-shadow(0 2px 4px rgba(34, 112, 202, 0.25));
}

.chart-spark-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.chart-spark-stats div {
  padding: 0.45rem 0.55rem;
  border-radius: calc(var(--radius) - 2px);
  background: rgba(34, 112, 202, 0.06);
  text-align: center;
}

.chart-spark-stats strong {
  display: block;
  color: var(--blue-900);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.1;
}

.chart-spark-stats span {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
}

.dash-highlights {
  display: grid;
  gap: 0.55rem;
}

.dash-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(34, 112, 202, 0.14);
  border-radius: var(--radius);
  background: rgba(4, 31, 69, 0.94);
}

.dash-highlight__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(64, 216, 255, 0.18);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 900;
}

.dash-highlight strong {
  display: block;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.3;
}

.dash-highlight span {
  display: block;
  margin-top: 0.1rem;
  color: rgba(200, 233, 255, 0.78);
  font-size: 0.72rem;
  line-height: 1.35;
}

.section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.25rem;
}

.section-heading h2,
.contact-panel h2 {
  font-size: clamp(2rem, 7vw, 4rem);
}

.method-grid,
.services-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.method-card,
.service-card,
.price-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: 0 12px 38px rgba(4, 31, 69, 0.08);
  backdrop-filter: blur(14px);
}

.method-card {
  padding: 1rem 1.05rem;
}

.method-card span {
  color: var(--blue-600);
  font-weight: 950;
}

.method-card h3,
.service-card h3,
.price-card h3 {
  margin: 0.7rem 0 0.55rem;
  color: var(--blue-950);
  font-size: 1.25rem;
}

.method-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-card div {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}

.service-card ul,
.price-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.45;
}

.service-card li,
.price-card li {
  position: relative;
  padding-left: 1rem;
}

.service-card li::before,
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--blue-600);
}

.service-card a,
.price-card > a {
  width: fit-content;
  min-width: 5rem;
}

.projects-shell {
  display: grid;
  gap: 1rem;
}

.project-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 1fr;
  gap: 1rem;
  transition:
    grid-template-columns 420ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 220ms ease,
    transform 220ms ease;
}

.project-expanded-grid[hidden] {
  display: none;
}

.project-expanded-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.project-active-column,
.project-mini-column {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.project-card,
.project-detail {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9),
    rgba(247, 251, 255, 0.82)
  );
  box-shadow: 0 18px 46px rgba(4, 31, 69, 0.1);
}

.project-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 0.95rem;
  min-height: 20rem;
  padding: 1rem;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease,
    gap 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    min-height 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 220ms ease,
    padding 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: auto -18% -36% 32%;
  height: 9rem;
  border-radius: 999px;
  background: rgba(64, 216, 255, 0.18);
  filter: blur(24px);
  pointer-events: none;
}

.project-card:hover {
  border-color: rgba(34, 112, 202, 0.34);
  box-shadow: 0 24px 58px rgba(4, 31, 69, 0.15);
  transform: translateY(-3px);
}

.projects-shell.is-expanded .project-card:not(.is-active) {
  min-height: 13.5rem;
  gap: 0.55rem;
  padding: 0.85rem;
  opacity: 0.56;
  transform: scale(0.975);
}

.projects-shell.is-expanded .project-card:not(.is-active):hover {
  opacity: 0.78;
}

.project-card.is-active {
  order: -1;
  min-height: 34rem;
  grid-column: auto;
  grid-row: auto;
  border-color: rgba(34, 112, 202, 0.42);
  box-shadow: 0 26px 70px rgba(4, 31, 69, 0.18);
  transform: translateY(-2px);
}

.project-card.is-active > .project-visual,
.project-card.is-active > h3,
.project-card.is-active > p,
.project-card.is-active > .project-open {
  display: none;
}

.project-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  min-height: 0;
  border: 1px solid rgba(34, 112, 202, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(4, 31, 69, 0.95), rgba(11, 79, 138, 0.88)),
    var(--blue-900);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    aspect-ratio 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 220ms ease;
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-visual-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 0.35rem;
  padding: 0.35rem;
  background: linear-gradient(
    135deg,
    rgba(4, 31, 69, 0.94),
    rgba(20, 98, 150, 0.86)
  );
}

.project-visual-gallery img {
  min-width: 0;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.project-visual-gallery img:first-child {
  grid-row: span 2;
}

.project-kicker {
  margin: 0;
  color: var(--blue-600);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(1.85rem, 8vw, 2.65rem);
  line-height: 0.98;
  transition:
    font-size 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    line-height 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-detail h3 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(1.45rem, 5vw, 2rem);
  line-height: 1.05;
}

.project-card p,
.project-detail p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.project-card > p {
  color: #405a7c;
  font-weight: 650;
  max-height: 9rem;
  overflow: hidden;
  transition:
    max-height 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 200ms ease;
}

.projects-shell.is-expanded .project-card:not(.is-active) .project-visual {
  aspect-ratio: 16 / 7;
  opacity: 0.82;
}

.projects-shell.is-expanded .project-card:not(.is-active) h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  line-height: 1.05;
}

.projects-shell.is-expanded .project-card:not(.is-active) > p {
  max-height: 0;
  opacity: 0;
}

.project-open {
  width: fit-content;
  min-height: 2.55rem;
  border: 1px solid rgba(34, 112, 202, 0.22);
  border-radius: var(--radius);
  background: rgba(34, 112, 202, 0.08);
  color: var(--blue-900);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.project-open {
  align-self: end;
  position: relative;
  z-index: 1;
  max-height: 4rem;
  padding: 0.72rem 0.95rem;
  overflow: hidden;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    max-height 220ms ease,
    opacity 180ms ease,
    padding 220ms ease,
    transform 180ms ease;
}

.project-open:hover {
  border-color: rgba(34, 112, 202, 0.45);
  background: rgba(34, 112, 202, 0.14);
  transform: translateY(-1px);
}

.project-detail {
  display: grid;
  gap: 1.2rem;
  padding: 1rem;
  animation: detailIn 260ms ease both;
}

.project-card .project-detail {
  position: relative;
  z-index: 1;
  margin-top: 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.project-detail[hidden] {
  display: none;
}

.project-detail-copy {
  display: grid;
  gap: 0.65rem;
}

.project-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.project-shot {
  overflow: hidden;
  min-height: 11rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(4, 31, 69, 0.08), rgba(64, 216, 255, 0.12)),
    var(--white);
}

.project-shot img {
  width: 100%;
  height: 100%;
  min-height: 11rem;
  object-fit: cover;
}

.project-shot.is-empty {
  display: grid;
  place-items: center;
  padding: 1rem;
  color: var(--muted);
  font-weight: 850;
  text-align: center;
}

.demo-access {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid rgba(34, 112, 202, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.demo-copy {
  max-width: 42rem;
  color: #405a7c;
  font-weight: 700;
}

.demo-link {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2.75rem;
  padding: 0.8rem 1.15rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: var(--white);
  font-weight: 950;
  box-shadow: 0 18px 38px rgba(34, 112, 202, 0.22);
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 180ms ease;
}

.demo-link::after {
  content: "";
  position: absolute;
  inset: -35% auto -35% -45%;
  width: 42%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  filter: blur(10px);
  opacity: 0;
  transform: translateX(0) rotate(12deg);
  transition:
    opacity 160ms ease,
    transform 380ms cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.demo-link:hover {
  transform: translateY(-1px);

}

.demo-link:active,
.demo-link.is-launching {
  transform: translateY(1px) scale(0.98);
}

.demo-link.is-launching::after {
  opacity: 1;
  transform: translateX(360%) rotate(12deg);
}

.demo-link.is-disabled {
  pointer-events: none;
  background: #94a3b8;
  box-shadow: none;
}

.demo-link.is-disabled::after {
  display: none;
}

.price-card {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
}

.price-card.featured {
  border-color: rgba(34, 112, 202, 0.48);
  background: linear-gradient(
    180deg,
    rgba(34, 112, 202, 0.12),
    rgba(255, 255, 255, 0.88)
  );
}

.plan-label {
  margin: 0;
  color: var(--blue-700);
  font-weight: 950;
  text-transform: uppercase;
}

.price-card h3 {
  font-size: 1.75rem;
}

.price-card input {
  width: 7rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 900;
}

.price-card li input {
  width: 5.4rem;
  font-size: inherit;
}

.contact-panel {
  display: grid;
  gap: 1.6rem;
  padding: 1.2rem;
  background:
    linear-gradient(135deg, rgba(4, 31, 69, 0.94), rgba(34, 112, 202, 0.9)),
    url("imginicio/fondo3.webp") center / cover;
  color: var(--white);
}

.contact-panel h2,
.contact-panel .eyebrow,
.contact-panel p {
  color: var(--white);
}

.contact-panel p {
  opacity: 0.84;
}

.contact-panel form {
  display: grid;
  gap: 0.75rem;
}

.contact-panel input,
.contact-panel textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  outline: none;
}

.contact-panel textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-panel input::placeholder,
.contact-panel textarea::placeholder {
  color: rgba(255, 255, 255, 0.76);
}

.contact-panel input:focus,
.contact-panel textarea:focus {
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.captcha-wrap {
  max-width: 100%;
  overflow: hidden;
}

.whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  width: clamp(3.2rem, 11vw, 4.7rem);
  filter: drop-shadow(0 14px 24px rgba(4, 31, 69, 0.22));
}

.site-footer {
  display: grid;
  gap: 1rem;
  padding: 2rem 1rem;
  border-top: 1px solid var(--line);
  background: #eaf4ff;
}

.site-footer section {
  display: grid;
  gap: 0.45rem;
}

.site-footer h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: 1rem;
}

.site-footer a,
.site-footer p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 680ms ease,
    transform 680ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes detailIn {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 839px) {
  .hero {
    gap: 1.1rem;
    padding: calc(var(--header-h) + 1rem) 0 1rem;
  }

  .hero h1 {
    font-size: clamp(1.28rem, 5vw, 1.72rem);
    line-height: 1.12;
  }

  .hero-text {
    margin-top: 0.85rem;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 1.25rem;
  }

  .hero-actions .button {
    min-height: 46px;
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
  }

  .hero-trust {
    margin-top: 1.5rem;
    padding-top: 1rem;
  }

  .system-stage {
    perspective: none;
  }

  .browser-shell {
    width: 100%;
    transform: none;
  }

  .dashboard {
    min-height: 320px;
  }

  .dash-content {
    gap: 0.65rem;
    padding: 0.75rem;
  }

  .dash-grid {
    gap: 0.4rem;
  }

  .dash-grid article {
    padding: 0.5rem 0.45rem;
  }

  .dash-grid span {
    font-size: 0.62rem;
    line-height: 1.2;
  }

  .dash-grid strong {
    font-size: 0.95rem;
  }

  .dash-grid .dash-trend {
    margin-top: 0.2rem;
    font-size: 0.58rem;
  }

  .chart-bars {
    min-height: 72px;
  }

  .dash-highlights {
    gap: 0.4rem;
  }

  .dash-highlight {
    padding: 0.6rem 0.7rem;
  }
}

@media (min-width: 560px) {
  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dash-charts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dash-chart-card--wide {
    grid-column: 1 / -1;
  }

  .method-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 840px) {
  :root {
    --header-h: 90px;
  }

  .site-header {
    min-height: var(--header-h);
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .site-nav a {
    padding: 0.875rem 1.05rem;
    border: 0;
    border-radius: var(--radius);
  }

  .site-nav a:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  .nav-login {
    margin-top: 0;
  }

  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    padding: calc(var(--header-h) + 1.25rem) 0 1.5rem;
  }

  .hero-metrics {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-shell.is-expanded .project-expanded-grid {
    grid-template-columns: minmax(0, 2fr) minmax(240px, 0.95fr);
    column-gap: 1rem;
    row-gap: 0;
  }

  .projects-shell.is-expanded .project-card.is-active,
  .projects-shell.is-expanded .project-card:not(.is-active) {
    grid-column: auto;
    grid-row: auto;
  }

  .project-detail {
    padding: 1.25rem;
  }

  .project-card .project-detail {
    padding: 0;
  }

  .project-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-panel {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
    padding: 2rem;
  }
}

@media (min-width: 900px) {
  .method-grid {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
  }

  .method-card {
    min-height: 0;
  }
}

@media (min-width: 1120px) {
  .method-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .projects-shell.is-expanded .project-expanded-grid {
    grid-template-columns: minmax(0, 2.05fr) minmax(260px, 0.95fr);
    column-gap: 1rem;
    row-gap: 0;
  }

  .projects-shell.is-expanded .project-card.is-active,
  .projects-shell.is-expanded .project-card:not(.is-active) {
    grid-column: auto;
    grid-row: auto;
  }

  .project-detail {
    grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
    align-items: start;
  }

  .project-detail-copy {
    grid-column: 1;
  }

  .project-preview-grid,
  .demo-access {
    grid-column: 2;
  }

  .project-card.is-active .project-detail {
    grid-template-columns: 1fr;
  }

  .project-card.is-active .project-detail-copy,
  .project-card.is-active .project-preview-grid,
  .project-card.is-active .demo-access {
    grid-column: auto;
  }

  .pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: calc((100vw - var(--max)) / 2);
  }
}

@media (max-width: 360px) {
  .brand span {
    max-width: 10.5rem;
  }

  .hero {
    width: min(var(--max), calc(100% - 1rem));
  }

  .captcha-wrap {
    transform: scale(0.84);
    transform-origin: left center;
  }
}
