:root {
  --primary: #2d94b6;
  --primary-2: #176d91;
  --accent: #25c7e9;
  --success: #2fbf8f;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f4f9fb;
  --text: #071017;
  --muted: #536372;
  --line: #ddebf0;
  --hero: #0a3150;
  --hero-2: #06131f;
  --logo-deep: #0e4f6a;
  --logo-soft: #e9f7fb;
  --shadow: 0 18px 45px rgba(14, 79, 106, .12);
  --shadow-strong: 0 28px 90px rgba(5, 28, 44, .24);
  --float-bg: rgba(255,255,255,.94);
  --float-border: #d8edf3;
  --float-icon: #176d91;
  --footer-bg: #f6fbfd;
  --footer-text: #071017;
  --footer-muted: #5d6b76;
  --footer-border: #d8edf3;
  --footer-panel: #ffffff;
}

[data-theme="dark"] {
  --bg: #061017;
  --surface: #0d1c25;
  --surface-2: #091821;
  --text: #f6fbff;
  --muted: #a9bdc8;
  --line: rgba(255,255,255,.12);
  --hero: #082940;
  --hero-2: #030b12;
  --shadow: 0 18px 45px rgba(0,0,0,.32);
  --shadow-strong: 0 28px 90px rgba(0,0,0,.44);
  --float-bg: rgba(7, 24, 36, .9);
  --float-border: rgba(255,255,255,.16);
  --float-icon: #25c7e9;
  --footer-bg: #061017;
  --footer-text: #f6fbff;
  --footer-muted: rgba(255,255,255,.68);
  --footer-border: rgba(255,255,255,.12);
  --footer-panel: rgba(255,255,255,.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
body.loaded .page-loader { opacity: 0; visibility: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { color: var(--muted); line-height: 1.9; margin-top: 0; font-size: 16px; }
h1, h2, h3 { margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(42px, 4.8vw, 68px); line-height: 1.04; font-weight: 900; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.14; font-weight: 900; text-wrap: balance; }
h3 { font-size: 22px; line-height: 1.32; font-weight: 850; }

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(37,199,233,.2), transparent 28%),
    linear-gradient(145deg, #061017, #092c3d);
  color: white;
  transition: opacity .45s ease, visibility .45s ease;
}
.loader-card {
  width: min(86vw, 360px);
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 34px 28px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 28px 90px rgba(0,0,0,.35);
  backdrop-filter: blur(18px);
}
.loader-card img {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 14px 24px rgba(37,199,233,.18));
}
.loader-mark {
  width: 190px;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
}
.loader-mark span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  animation: loadBar 1.15s ease-in-out infinite;
}
.page-loader p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(6, 21, 46, .05);
  transition: box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.site-header.compact { box-shadow: 0 16px 38px rgba(5, 20, 44, .13); }
.header-inner {
  max-width: 1180px;
  min-height: 84px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  transition: min-height .25s ease;
}
.site-header.compact .header-inner { min-height: 70px; }
.brand { flex: 0 0 auto; }
.brand img { width: 190px; height: auto; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 26px); font-size: 14px; font-weight: 850; }
.main-nav a { position: relative; padding: 30px 0; color: var(--text); transition: color .2s ease; }
.main-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 3px;
  border-radius: 99px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav a:hover:after, .main-nav a.active:after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  position: relative;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--logo-deep), var(--primary));
  box-shadow: 0 14px 28px rgba(45,148,182,.22), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover { box-shadow: 0 18px 36px rgba(45,148,182,.3), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-outline { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.78); }

.theme-toggle, .menu-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--primary);
  font-size: 0;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease;
}
.theme-toggle:before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary) 10%, transparent); }
[data-theme="dark"] .theme-toggle:before { width: 15px; height: 15px; border: 0; background: currentColor; box-shadow: -5px 0 0 0 var(--surface), 0 0 0 5px color-mix(in srgb, var(--primary) 12%, transparent); }
.theme-toggle:hover, .menu-toggle:hover { transform: translateY(-2px); border-color: var(--primary); }
.theme-toggle span { display: none; }
.menu-toggle { display: none; border-radius: 7px; }
.menu-toggle span { display: block; width: 21px; height: 2px; margin: 3px 0; background: currentColor; }

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  max-height: 820px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(360px, .92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(34px, 5vw, 74px);
  padding: clamp(54px, 6vw, 76px) clamp(24px, 6vw, 118px);
  color: white;
  background:
    radial-gradient(circle at 78% 18%, rgba(37,199,233,.18), transparent 24%),
    linear-gradient(125deg, var(--hero), var(--hero-2));
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 16%, rgba(255,255,255,.09) 16.2%, transparent 16.6% 42%, rgba(37,199,233,.12) 42.2%, transparent 42.6%),
    linear-gradient(24deg, transparent 0 30%, rgba(255,255,255,.08) 30.2%, transparent 30.6% 68%, rgba(45,148,182,.12) 68.2%, transparent 68.6%);
  opacity: .85;
}
.network-bg { position: absolute; inset: 0; overflow: hidden; }
.network-bg span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
  box-shadow: 0 0 18px rgba(37,199,233,.7);
  animation: pulse 3.4s ease-in-out infinite;
}
.network-bg span:nth-child(1) { left: 9%; top: 28%; }
.network-bg span:nth-child(2) { left: 34%; top: 22%; animation-delay: .4s; }
.network-bg span:nth-child(3) { left: 46%; bottom: 14%; animation-delay: .8s; }
.network-bg span:nth-child(4) { right: 20%; top: 30%; animation-delay: 1.2s; }
.network-bg span:nth-child(5) { right: 11%; bottom: 23%; animation-delay: 1.6s; }
.network-bg span:nth-child(6) { left: 17%; bottom: 32%; animation-delay: 2s; }

.hero-art, .hero-copy { position: relative; z-index: 2; }
.hero-art { min-height: 480px; }
.product-system {
  position: relative;
  height: 460px;
  max-width: 590px;
  transform-style: preserve-3d;
}
.screen-main {
  position: absolute;
  left: 0;
  top: 72px;
  width: min(100%, 510px);
  height: 300px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(16,46,96,.92), rgba(3,13,36,.94)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 28px);
  box-shadow: var(--shadow-strong), inset 0 1px 0 rgba(255,255,255,.14);
  transform: perspective(900px) rotateY(10deg) rotateX(4deg);
  animation: floatPanel 6s ease-in-out infinite;
}
.screen-top { display: flex; gap: 8px; margin-bottom: 36px; }
.screen-top span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.32); }
.analytics-line {
  height: 78px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, transparent 0 18%, rgba(37,199,233,.9) 18.5% 20%, transparent 20.5% 44%, rgba(47,191,143,.92) 44.5% 46%, transparent 46.5%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.1);
}
.analytics-bars { display: flex; align-items: end; gap: 12px; height: 72px; margin: 22px 0; }
.analytics-bars i {
  flex: 1;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  animation: bars 1.8s ease-in-out infinite alternate;
}
.analytics-bars i:nth-child(1) { height: 42%; }
.analytics-bars i:nth-child(2) { height: 74%; animation-delay: .2s; }
.analytics-bars i:nth-child(3) { height: 55%; animation-delay: .4s; }
.analytics-bars i:nth-child(4) { height: 88%; animation-delay: .6s; }
.analytics-bars i:nth-child(5) { height: 64%; animation-delay: .8s; }
.metric-cards { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric-cards b {
  padding: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  font-size: 22px;
}
.metric-cards small { display: block; margin-top: 4px; color: rgba(255,255,255,.68); font-size: 11px; }
.server-stack {
  position: absolute;
  right: 18px;
  bottom: 2px;
  width: 206px;
  display: none;
  gap: 10px;
  opacity: .42;
  transform: perspective(800px) rotateY(-16deg);
}
.server-stack i {
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(37,199,233,.18), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.14);
  position: relative;
  overflow: hidden;
}
.server-stack i:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(37,199,233,.34), transparent);
  transform: translateX(-100%);
  animation: scan 2.6s linear infinite;
}
.live-badge, .floating-card {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(4,14,34,.72);
  color: white;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 42px rgba(0,0,0,.24);
  font-weight: 900;
}
.live-badge { left: 28px; top: 20px; padding: 10px 15px; font-size: 13px; }
.live-badge i { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 18px var(--success); }
.floating-card { padding: 12px 16px; font-size: 13px; }
.card-seo { right: 52px; top: 108px; animation: floatMini 5s ease-in-out infinite; }
.card-leads { left: 24px; bottom: 56px; animation: floatMini 5s ease-in-out infinite reverse; }

.hero-copy { max-width: 680px; justify-self: end; }
.eyebrow { margin: 0 0 14px; color: var(--primary); font-weight: 900; text-transform: uppercase; font-size: 13px; letter-spacing: .08em; }
.hero .eyebrow, .typing { color: var(--accent); }
.hero-copy p:not(.eyebrow):not(.typing) { max-width: 610px; color: rgba(255,255,255,.9); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.85; font-weight: 650; }
.typing { min-height: 32px; margin: 20px 0 14px; font-size: clamp(22px, 2.4vw, 32px); font-weight: 900; }
.typing span:after { content: ""; display: inline-block; width: 3px; height: .9em; margin-left: 5px; background: currentColor; transform: translateY(3px); animation: blink .7s step-end infinite; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 30px; }
.trust-row span {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.13);
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 850;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.proof-section {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  padding: 78px 22px 88px;
}
.proof-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}
.proof-head h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.3vw, 46px);
}
.proof-head p:not(.eyebrow) {
  max-width: 620px;
  margin-inline: auto;
  line-height: 1.8;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--line));
  border-radius: 16px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 8%, transparent), transparent 48%),
    var(--surface);
  box-shadow: 0 18px 55px rgba(10, 31, 65, .08);
}
.proof-grid article {
  min-height: 154px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 92%, var(--logo-soft));
}
.proof-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1;
}
.proof-grid b {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}
.proof-grid span {
  color: var(--muted);
  display: block;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.65;
}

.section { padding: 104px clamp(22px, 6vw, 118px); }
.section-row, .section-center, .services-grid, .portfolio-grid, .pricing-grid, .blog-grid, .contact-grid {
  max-width: 1120px;
  margin-inline: auto;
}
.section-row {
  margin-bottom: 50px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.section-row h2 { max-width: 780px; }
.section-center { max-width: 780px; margin-bottom: 50px; text-align: center; }
.section-center p { max-width: 650px; margin: 16px auto 0; }

.services-grid, .portfolio-grid, .pricing-grid, .blog-grid, .contact-grid { display: grid; gap: 22px; }
.services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card {
  position: relative;
  min-height: 300px;
  padding: 38px 30px 32px;
  text-align: center;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.service-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 12%, transparent), transparent 38%);
  opacity: 0;
  transition: opacity .25s ease;
}
.service-card:hover { transform: translateY(-10px); border-color: color-mix(in srgb, var(--primary) 70%, var(--line)); box-shadow: 0 24px 65px rgba(15, 80, 160, .18); }
.service-card:hover:before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.service-card p { margin-bottom: 22px; line-height: 1.78; }
.service-card a { color: var(--primary); font-weight: 900; font-size: 14px; }

.service-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  position: relative;
  color: #0d2a78;
  filter: drop-shadow(0 12px 16px rgba(45,148,182,.15));
}
[data-theme="dark"] .service-icon { color: var(--accent); }
.service-icon:before, .service-icon:after { content: ""; position: absolute; border: 5px solid currentColor; }
.monitor:before { width: 62px; height: 44px; border-radius: 8px; left: 7px; top: 7px; }
.monitor:after { width: 36px; height: 17px; border-top: 0; border-inline: 0; left: 20px; bottom: 8px; }
.mobile:before { width: 34px; height: 62px; border-radius: 9px; left: 21px; top: 4px; }
.mobile:after { width: 8px; height: 0; border-width: 2px; left: 34px; bottom: 12px; }
.cloud:before { width: 56px; height: 32px; border-radius: 24px; left: 10px; top: 28px; }
.cloud:after { width: 29px; height: 29px; border-radius: 50%; left: 19px; top: 13px; background: var(--surface); }
.seo:before { width: 60px; height: 40px; border-radius: 7px; left: 8px; top: 13px; }
.seo:after { content: "SEO"; border: 0; inset: 23px auto auto 17px; font-size: 20px; font-weight: 900; }
.curve:before { width: 54px; height: 54px; border-radius: 50%; border-top-color: transparent; left: 11px; top: 10px; }
.curve:after { width: 10px; height: 10px; border-radius: 50%; left: 8px; top: 25px; background: currentColor; }
.database:before { width: 52px; height: 48px; border-radius: 50% / 18%; left: 12px; top: 12px; }
.database:after { width: 52px; height: 16px; border-radius: 50%; left: 12px; top: 14px; background: transparent; }

.about-section {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .93fr 1.07fr;
  align-items: center;
  gap: clamp(52px, 7vw, 88px);
}
.about-copy h2 { max-width: 570px; margin-bottom: 22px; }
.about-copy p { max-width: 575px; line-height: 1.9; font-size: 17px; }
.skill-bars { display: grid; gap: 22px; margin-top: 28px; }
.skill-bars strong { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 11px; font-size: 14px; line-height: 1.4; }
.skill-bars b { display: block; height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--text) 12%, transparent); overflow: hidden; }
.skill-bars i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.skill-bars i.filled { width: var(--bar); }
.solution-board {
  position: relative;
  min-height: 430px;
  padding: 28px;
  border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--line));
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 48%, rgba(37,199,233,.18), transparent 30%),
    linear-gradient(145deg, #071827, #0d3142);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}
.solution-board:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .55;
}
.board-center {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 230px;
  transform: translate(-50%, -50%);
  z-index: 2;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(5,18,30,.82);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.board-center span { color: var(--accent); font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.board-center strong { display: block; margin: 10px 0; color: white; font-size: 23px; line-height: 1.18; }
.board-center p { margin: 0; color: rgba(255,255,255,.72); line-height: 1.55; font-size: 13px; }
.board-item {
  position: absolute;
  z-index: 2;
  width: 205px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.board-item b { display: block; margin-bottom: 8px; color: white; font-size: 18px; }
.board-item span { color: rgba(255,255,255,.74); line-height: 1.55; font-size: 13px; }
.item-hosting { left: 28px; top: 32px; }
.item-web { right: 28px; top: 58px; }
.item-seo { left: 46px; bottom: 42px; }
.item-support { right: 42px; bottom: 34px; }

.portfolio-section, .blog-section { background: var(--surface-2); }
.filter-row { max-width: 780px; margin: 0 auto 44px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.filter-row button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 7px;
  padding: 12px 18px;
  font-weight: 850;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.filter-row button:hover { transform: translateY(-2px); border-color: var(--primary); }
.filter-row button.active { background: var(--primary); color: white; border-color: var(--primary); box-shadow: 0 14px 30px rgba(45,148,182,.2); }
.portfolio-grid, .blog-grid, .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.portfolio-card, .blog-card, .price-card {
  overflow: hidden;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: opacity .25s ease, transform .25s ease, box-shadow .25s ease;
}
.portfolio-card:hover, .blog-card:hover, .price-card:hover { transform: translateY(-8px); box-shadow: 0 26px 70px rgba(15,80,160,.16); }
.portfolio-card.hidden { opacity: 0; transform: scale(.96); pointer-events: none; position: absolute; }
.portfolio-img, .blog-img { min-height: 178px; position: relative; overflow: hidden; }
.portfolio-img:after, .blog-img:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.2), transparent);
  transform: translateX(-100%);
  animation: sheen 5s ease-in-out infinite;
}
.portfolio-card div:last-child { padding: 24px; }
.portfolio-card h3 { margin-bottom: 12px; }
.portfolio-card span, .blog-card a { color: var(--primary); font-weight: 900; font-size: 13px; }
.web-img, .app-img, .data-img, .blog-tech, .blog-security, .blog-cloud {
  background:
    radial-gradient(circle at 24% 28%, rgba(37,199,233,.82), transparent 24%),
    linear-gradient(135deg, #062864, #1d78b7 55%, #dff8ff);
}
.app-img, .blog-security {
  background:
    radial-gradient(circle at 56% 36%, rgba(37,199,233,.82), transparent 25%),
    linear-gradient(135deg, #08142f, #3464b7 55%, #eef9ff);
}
.data-img, .blog-cloud {
  background:
    radial-gradient(circle at 68% 28%, rgba(49,201,91,.62), transparent 26%),
    linear-gradient(135deg, #f8fbff, #257fbd 52%, #082d65);
}

.pricing-section { background: var(--bg); }
.pricing-grid { align-items: stretch; }
.price-card { padding: 30px 22px 32px; border-color: color-mix(in srgb, var(--primary) 70%, var(--line)); }
.price-card.featured {
  color: white;
  background:
    radial-gradient(circle at 88% 8%, rgba(37,199,233,.24), transparent 24%),
    linear-gradient(160deg, var(--logo-deep), #071923);
  transform: translateY(-14px);
}
.price-card.featured:hover { transform: translateY(-20px); }
.price-card.featured p, .price-card.featured li { color: rgba(255,255,255,.84); }
.price-card small {
  float: right;
  padding: 10px 13px;
  border-radius: 0 0 8px 8px;
  background: white;
  color: #07101f;
  font-weight: 900;
}
.price { margin: 30px 0 24px; text-align: center; font-size: 38px; font-weight: 900; }
.price span { color: #9aa1ac; text-decoration: line-through; }
.price-card .btn { width: 100%; margin-bottom: 26px; }
.price-card ul { margin: 0; padding: 26px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 16px; }
.price-card li { color: var(--muted); font-weight: 650; line-height: 1.55; }
.price-card li:before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 12%, transparent); }

.blog-card { padding-bottom: 28px; }
.blog-img span {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 1;
  padding: 6px 9px;
  border-radius: 4px;
  background: #07101f;
  color: white;
  font-size: 11px;
  font-weight: 900;
}
.blog-meta { display: flex; justify-content: space-between; gap: 14px; padding: 20px 22px 0; color: #8a94a5; font-size: 12px; }
.blog-card h3, .blog-card p, .blog-card a { display: block; margin-inline: 22px; }
.blog-card h3 { margin-top: 18px; margin-bottom: 16px; font-size: 20px; line-height: 1.35; }
.blog-card p { line-height: 1.82; }
.blog-card a { margin-top: 18px; }

.contact-section { background: linear-gradient(180deg, var(--bg), var(--surface-2)); padding-bottom: 138px; }
.contact-grid { grid-template-columns: .78fr 1fr; align-items: start; gap: 26px; }
.contact-info {
  position: relative;
  overflow: hidden;
  padding: 42px 34px;
  border-radius: 12px;
  color: white;
  background:
    radial-gradient(circle at 92% 0%, rgba(255,255,255,.12), transparent 24%),
    linear-gradient(145deg, #0b394f, var(--primary));
  box-shadow: var(--shadow-strong);
}
.contact-info h3 { margin-bottom: 16px; line-height: 1.3; font-size: 26px; }
.contact-info p { max-width: 380px; color: rgba(255,255,255,.9); line-height: 1.86; font-weight: 650; }
.contact-info em { color: white; line-height: 1.65; }
.contact-info ul { padding: 0; margin: 34px 0 28px; list-style: none; display: grid; gap: 18px; }
.contact-info li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  background: rgba(255,255,255,.07);
}
.contact-info li span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255,255,255,.13);
  color: white;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .02em;
}
.contact-info b { display: block; margin-bottom: 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.78); }
.contact-info em { min-width: 0; font-style: normal; font-weight: 850; word-break: normal; overflow-wrap: anywhere; }
.social-row { display: flex; flex-wrap: wrap; gap: 12px; }
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  place-items: center;
  min-width: 126px;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.24);
  color: white;
  font-weight: 900;
  font-size: 13px;
  transition: transform .2s ease, background .2s ease;
}
.social-row a:hover { transform: translateY(-2px); background: rgba(255,255,255,.18); }
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
  padding: 38px 34px;
  border: 1px solid color-mix(in srgb, var(--primary) 65%, var(--line));
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.contact-form label { display: grid; gap: 10px; color: var(--text); font-size: 13px; font-weight: 850; line-height: 1.35; }
.wide { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid color-mix(in srgb, var(--line) 86%, var(--text));
  border-radius: 7px;
  padding: 13px 14px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 12%, transparent); }
textarea { resize: vertical; }
textarea[name="mensaje"] { min-height: 132px; }
.form-note { margin: 0; color: var(--primary); font-weight: 900; }

.scroll-top, .chat-button {
  position: fixed;
  right: 24px;
  z-index: 45;
  display: grid;
  place-items: center;
  border: 1px solid var(--float-border);
  border-radius: 16px;
  background: var(--float-bg);
  color: var(--float-icon);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px rgba(5, 24, 36, .18);
  font-size: 0;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.scroll-top:hover, .chat-button:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--primary) 60%, var(--float-border)); }
.scroll-top { bottom: 118px; width: 46px; height: 46px; cursor: pointer; opacity: 0; transform: translateY(12px); transition: .22s ease; }
.scroll-top:before { content: ""; width: 10px; height: 10px; border-left: 2.5px solid currentColor; border-top: 2.5px solid currentColor; transform: rotate(45deg) translate(2px, 2px); }
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.chat-button {
  bottom: 42px;
  width: 46px;
  height: 46px;
}
.chat-button:before {
  content: "";
  display: grid;
  place-items: center;
  width: 21px;
  height: 16px;
  border: 2.4px solid currentColor;
  border-radius: 6px;
}
.chat-button:after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-left: 2.4px solid currentColor;
  border-bottom: 2.4px solid currentColor;
  bottom: 14px;
  right: 13px;
  transform: skewY(-22deg);
}

.site-footer {
  padding: 88px clamp(22px, 6vw, 118px) 34px;
  color: var(--footer-text);
  background:
    radial-gradient(circle at 12% 10%, rgba(37,199,233,.13), transparent 28%),
    var(--footer-bg);
  border-top: 1px solid var(--footer-border);
}
.footer-cta {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border: 1px solid color-mix(in srgb, var(--primary) 24%, var(--footer-border));
  border-radius: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 14%, transparent), transparent 52%),
    var(--footer-panel);
  box-shadow: 0 22px 70px rgba(14,79,106,.14);
}
.footer-cta .eyebrow { color: var(--primary); margin-bottom: 10px; }
.footer-cta h2 { max-width: 720px; color: var(--footer-text); font-size: clamp(28px, 3vw, 42px); }
.footer-cta .btn { flex: 0 0 auto; }
.footer-main {
  max-width: 1120px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: minmax(250px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: 34px;
}
.footer-brand img { width: 210px; margin-bottom: 18px; }
.footer-brand p { max-width: 410px; color: var(--footer-muted); margin: 0; line-height: 1.85; }
.footer-col { display: grid; align-content: start; gap: 12px; }
.footer-col h3 { color: var(--footer-text); font-size: 16px; margin-bottom: 6px; }
.footer-col a, .footer-col span {
  color: var(--footer-muted);
  font-size: 14px;
  font-weight: 700;
  transition: color .2s ease, transform .2s ease;
}
.footer-col a:hover { color: var(--accent); transform: translateX(3px); }
.footer-bottom {
  max-width: 1120px;
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--footer-border);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--footer-muted);
  font-size: 13px;
}
.footer-bottom div { display: flex; gap: 18px; }
.footer-bottom a { color: var(--footer-muted); font-weight: 800; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .72s ease, transform .72s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes loadBar {
  0% { transform: translateX(-110%); }
  50% { transform: translateX(80%); }
  100% { transform: translateX(260%); }
}
@keyframes pulse { 50% { transform: scale(1.9); opacity: .24; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes floatPanel { 0%,100% { transform: perspective(900px) rotateY(10deg) rotateX(4deg) translateY(0); } 50% { transform: perspective(900px) rotateY(7deg) rotateX(2deg) translateY(-14px); } }
@keyframes floatMini { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes bars { to { filter: brightness(1.22); transform: scaleY(.84); } }
@keyframes scan { to { transform: translateX(100%); } }
@keyframes sheen { 0%, 65% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

@media (max-width: 1060px) {
  .header-inner { min-height: 74px; }
  .main-nav {
    position: absolute;
    inset: 74px 18px auto;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 8px 0; }
  .main-nav a:after { bottom: 2px; }
  .menu-toggle { display: grid; }
  .header-actions .btn { display: none; }
  .brand img { width: 164px; }
  .hero, .about-section, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; max-height: none; padding-top: 54px; }
  .hero-copy { justify-self: start; }
  .hero-art { order: 2; min-height: 430px; }
  .product-system { max-width: 620px; }
  .proof-section { padding: 64px 18px 74px; }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-grid article { min-height: 140px; }
  .solution-board { min-height: 500px; }
  .board-center { width: 240px; }
  .services-grid, .portfolio-grid, .pricing-grid, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 720px) {
  p { line-height: 1.78; }
  h1 { font-size: clamp(34px, 10.8vw, 48px); line-height: 1.08; }
  h2 { font-size: clamp(27px, 8vw, 38px); line-height: 1.16; }
  h3 { line-height: 1.36; }
  .section { padding: 74px 18px; }
  .section-row { flex-direction: column; align-items: flex-start; }
  .header-inner { padding-inline: 14px; }
  .brand img { width: 148px; }
  .theme-toggle, .menu-toggle { width: 40px; height: 40px; }
  .hero { padding: 46px 18px 64px; gap: 28px; }
  .hero-art { min-height: 322px; }
  .product-system { height: 322px; }
  .screen-main { top: 32px; height: 244px; padding: 16px; transform: none; }
  .screen-top { margin-bottom: 24px; }
  .analytics-line { height: 62px; }
  .analytics-bars { height: 54px; gap: 8px; margin: 16px 0; }
  .metric-cards { gap: 8px; }
  .metric-cards b { padding: 9px; font-size: 17px; }
  .metric-cards small { font-size: 9px; }
  .server-stack { display: none; }
  .live-badge { left: 10px; top: 0; font-size: 11px; padding: 8px 11px; }
  .floating-card { display: none; }
  .proof-section { padding: 58px 18px 66px; }
  .proof-grid { grid-template-columns: 1fr; padding: 12px; gap: 12px; }
  .proof-grid article { min-height: auto; padding: 20px; }
  .hero-actions .btn { width: 100%; }
  .services-grid, .portfolio-grid, .pricing-grid, .blog-grid { grid-template-columns: 1fr; }
  .price-card.featured, .price-card.featured:hover { transform: none; }
  .contact-form { grid-template-columns: 1fr; padding: 24px 18px; }
  .contact-info { padding: 26px 20px; }
  .about-copy p { font-size: 16px; }
  .skill-bars strong { font-size: 13px; }
  .site-footer { padding-inline: 18px; }
  .footer-cta { padding: 24px 20px; }
  .footer-cta .btn { width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; }
  .footer-brand img { width: 180px; }
  .footer-bottom { flex-direction: column; }
  .solution-board { min-height: auto; display: grid; gap: 14px; padding: 18px; }
  .board-center, .board-item { position: relative; inset: auto; width: 100%; transform: none; }
  .board-center { order: -1; }
  .scroll-top, .chat-button { right: 16px; }
  .scroll-top { bottom: 106px; }
  .chat-button { bottom: 38px; }
}
