/* ============================================================
   CUSTOM PROPERTIES  (duplicated here — style.css is not enqueued)
   ============================================================ */
:root {
  --blue:        #2563EB;
  --blue-dark:   #1D4ED8;
  --blue-light:  #EFF6FF;
  --green:       #10B981;
  --green-dark:  #059669;
  --dark:        #0F172A;
  --dark-2:      #1E293B;
  --gray:        #64748B;
  --gray-light:  #94A3B8;
  --light:       #F8FAFC;
  --border:      #E2E8F0;
  --white:       #FFFFFF;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:      0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 20px 40px rgba(0,0,0,.12);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  .25s ease;
  --font:        'Inter', system-ui, -apple-system, sans-serif;
  --max-w:       1200px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot--green {
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.3); }
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
h2 { font-size: clamp(1.85rem, 4vw, 2.9rem); font-weight: 700; line-height: 1.18; letter-spacing: -.018em; }
h3 { font-size: 1.35rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
p  { color: var(--gray); line-height: 1.7; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  font-family: var(--font);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: none;
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,.5);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}
.btn-ghost {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.3);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.6);
}
.btn-ghost-sm {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.25rem;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 600;
  background: rgba(255,255,255,.15);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(4px);
  transition: var(--transition);
}
.btn-ghost-sm:hover {
  background: rgba(255,255,255,.25);
}
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background .3s ease, box-shadow .3s ease;
  padding: 1.25rem 0;
}
.site-header.scrolled {
  background: rgba(15,23,42,.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
  padding: .85rem 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-logo img {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  transition: color .2s;
}
.main-nav a:hover { color: var(--white); }
.nav-cta {
  padding: .6rem 1.4rem;
  background: var(--blue) !important;
  color: var(--white) !important;
  border-radius: 8px;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
  transition: var(--transition) !important;
}
.nav-cta:hover {
  background: var(--blue-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,.45) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .25rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 7rem 0 5rem;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow--blue {
  width: 700px;
  height: 700px;
  top: -200px;
  left: -200px;
  background: radial-gradient(circle, rgba(37,99,235,.28) 0%, transparent 70%);
}
.hero-glow--green {
  width: 500px;
  height: 500px;
  top: auto;
  bottom: -150px;
  left: 55%;
  background: radial-gradient(circle, rgba(16,185,129,.2) 0%, transparent 70%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
/* --- hero content --- */
.hero-content { color: var(--white); }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem 1rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
}
.hero-title {
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-sub {
  color: rgba(255,255,255,.65);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 520px;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-trust > span {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  font-weight: 500;
}
.hero-badges { display: flex; gap: .6rem; flex-wrap: wrap; }
.badge-tech {
  padding: .3rem .8rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.75);
}

/* --- hero visual --- */
.hero-visual {
  position: relative;
  height: 480px;
}
.hero-card {
  position: absolute;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  gap: .85rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  animation: float-card 4s ease-in-out infinite;
}
.hero-card--1 { top: 0; left: 0; width: 210px; animation-delay: 0s; }
.hero-card--2 { top: 70px; right: 0; width: 220px; animation-delay: 1.5s; }
.hero-card--3 {
  bottom: 110px;
  left: 20px;
  width: 200px;
  flex-direction: column;
  align-items: flex-start;
  animation-delay: .8s;
}
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.hcard-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hcard-icon--green { background: rgba(16,185,129,.2); color: var(--green); }
.hcard-icon--blue  { background: rgba(37,99,235,.2); color: #60A5FA; }
.hcard-label { font-size: .7rem; color: rgba(255,255,255,.5); margin-bottom: .1rem; }
.hcard-value { font-size: .9rem; font-weight: 700; color: var(--white); }
.hcard-value span { font-size: .75rem; font-weight: 500; color: var(--green); margin-left: .3rem; }
.hcard-stars { font-size: 1rem; color: #FBBF24; letter-spacing: .05em; margin-bottom: .4rem; }
.hcard-quote { font-size: .8rem; color: rgba(255,255,255,.75); line-height: 1.5; margin-bottom: .5rem; }
.hcard-author { font-size: .72rem; color: rgba(255,255,255,.45); font-style: italic; }

/* --- hero browser mockup --- */
.hero-mockup {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 320px;
  background: rgba(30,41,59,.8);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
  backdrop-filter: blur(12px);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: .65rem 1rem;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mockup-bar span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-bar span:nth-child(1) { background: #FF5F56; }
.mockup-bar span:nth-child(2) { background: #FFBD2E; }
.mockup-bar span:nth-child(3) { background: #27C93F; }
.mockup-screen { padding: 1rem; }
.mock-header {
  height: 12px;
  border-radius: 4px;
  background: rgba(255,255,255,.1);
  margin-bottom: .75rem;
  width: 60%;
}
.mock-hero-block {
  height: 90px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(37,99,235,.5), rgba(16,185,129,.3));
  margin-bottom: .75rem;
}
.mock-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; }
.mock-card {
  height: 60px;
  border-radius: 6px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.06);
}

/* --- hero wave separator --- */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}
.hero-wave svg {
  display: block;
  width: 100%;
  height: 70px;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-section {
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
  overflow: hidden;
}
.marquee-label {
  text-align: center;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-light);
  margin-bottom: 1.25rem;
}
.marquee-wrap { overflow: hidden; position: relative; }
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-item {
  padding: 0 2.5rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray);
  white-space: nowrap;
  border-right: 1px solid var(--border);
  transition: color .2s;
}
.marquee-item:hover { color: var(--blue); }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   SECTION LAYOUT
   ============================================================ */
.section {
  padding: 6rem 0;
  background: var(--white);
}
.section--dark {
  background: var(--dark);
  color: var(--white);
}
.section--dark p { color: rgba(255,255,255,.6); }
.section--light {
  background: var(--light);
}
.section-header {
  margin-bottom: 4rem;
}
.section-header--center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}
.section-header--light h2,
.section-header--light p { color: var(--white); }
.section-header--light p { color: rgba(255,255,255,.65); }
.section-tag {
  display: inline-block;
  padding: .35rem .9rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--blue-light);
  color: var(--blue);
  margin-bottom: 1rem;
}
.section-tag--glow {
  background: rgba(37,99,235,.15);
  color: #60A5FA;
  border: 1px solid rgba(37,99,235,.25);
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p { max-width: 540px; }
.section-header--center p { margin: 0 auto; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s ease, transform .3s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
/* Service screen — icon header */
.service-screen {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.svc-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.svc-icon svg {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.25));
}
.svc-icon-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.sc-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: .5rem .75rem;
  background: rgba(0,0,0,.2);
}
.sc-bar i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  font-style: normal;
}
.sc-bar i:nth-child(1) { background: rgba(255,255,255,.5); }
.sc-bar i:nth-child(2) { background: rgba(255,255,255,.35); }
.sc-bar i:nth-child(3) { background: rgba(255,255,255,.2); }
.sc-ui {
  padding: .75rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.sc-nav {
  height: 10px;
  border-radius: 3px;
  background: rgba(255,255,255,.2);
  width: 70%;
}
.sc-hero-block {
  height: 45px;
  border-radius: 6px;
  background: rgba(255,255,255,.15);
}
.sc-products, .sc-cols {
  display: grid;
  gap: .4rem;
}
.sc-products { grid-template-columns: repeat(3,1fr); }
.sc-cols { grid-template-columns: 1fr 1fr; }
.sc-products > div, .sc-cols > div {
  height: 30px;
  border-radius: 4px;
  background: rgba(255,255,255,.12);
}
/* chat mock */
.sc-chat { display: flex; flex-direction: column; gap: .35rem; }
.sc-bubble {
  height: 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.25);
  width: 70%;
}
.sc-bubble--user  { align-self: flex-end; background: rgba(255,255,255,.45); width: 55%; }
.sc-bubble--wide  { width: 85%; }
.sc-bubble--short { width: 35%; }
/* flow mock */
.sc-flow {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-top: .3rem;
}
.sc-flow--row2 { margin-top: .3rem; }
.sc-node {
  width: 28px; height: 22px;
  border-radius: 5px;
  background: rgba(255,255,255,.25);
  border: 1px solid rgba(255,255,255,.3);
  flex-shrink: 0;
}
.sc-node--sm    { width: 22px; height: 18px; }
.sc-node--start { background: rgba(255,255,255,.45); }
.sc-node--end   { background: rgba(255,255,255,.35); }
.sc-arrow { font-size: .7rem; color: rgba(255,255,255,.6); flex-shrink: 0; }
/* service body */
.service-body {
  padding: 1.75rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-body .btn { margin-top: auto; white-space: normal; text-align: center; justify-content: center; }
.service-platform {
  display: inline-block;
  padding: .3rem .8rem;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.service-platform--green  { background: rgba(16,185,129,.12); color: var(--green-dark); }
.service-platform--purple { background: rgba(124,58,237,.12); color: #7C3AED; }
.service-platform--dark   { background: rgba(8,145,178,.12);  color: #0891B2; }
.service-platform--ai     { background: rgba(168,85,247,.15); color: #A855F7; }
.service-platform--auto   { background: rgba(249,115,22,.15);  color: #EA580C; }
.service-platform--teal   { background: rgba(13,148,136,.15);  color: #0D9488; }
.service-platform--google { background: rgba(66,133,244,.15);  color: #1A73E8; }
.service-platform--meta   { background: rgba(24,119,242,.15);  color: #1877F2; }
.service-platform--slate  { background: rgba(37,99,235,.12);   color: #3B82F6; }
.service-body h3 { margin-bottom: .75rem; color: var(--dark); }
.service-body > p { margin-bottom: 1.25rem; font-size: .9rem; }
.service-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.service-features li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .875rem;
  color: var(--gray);
  line-height: 1.5;
}
.service-features li::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-color: var(--blue);
  background-size: cover;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, #1D4ED8 0%, #0F172A 60%, #065F46 100%);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  position: relative;
}
.stat-block {
  text-align: center;
  padding: 1.5rem 3.5rem;
  flex: 1;
  min-width: 160px;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}
.stat-num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .1rem;
  margin-bottom: .5rem;
}
.counter {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -.03em;
}
.stat-suf {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}
.stat-block > p {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  letter-spacing: .01em;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.07);
  cursor: pointer;
}
.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}
.portfolio-card:hover .portfolio-thumb {
  transform: scale(1.03);
}
.portfolio-thumb {
  position: relative;
  height: 106px;
  overflow: hidden;
  transition: transform .4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pt-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .88;
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.88);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: opacity .35s ease;
  padding: 2rem;
}
.po-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.8);
  text-align: center;
  line-height: 1.6;
}
.portfolio-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
}
.portfolio-platform {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--green);
  margin-bottom: .25rem;
}
.portfolio-info h4 {
  color: var(--white);
  font-size: .95rem;
}
.portfolio-metric {
  font-size: .8rem;
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
  padding: .3rem .7rem;
  background: rgba(16,185,129,.12);
  border-radius: 6px;
  border: 1px solid rgba(16,185,129,.2);
}

/* ============================================================
   WHY
   ============================================================ */
.why-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
  align-items: center;
}
.why-left h2 { margin-bottom: 1rem; }
.why-left > p { margin-bottom: 2rem; max-width: 400px; }
.why-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.why-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
}
.why-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.why-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(16,185,129,.1));
  border: 1px solid rgba(37,99,235,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.why-card h4 { margin-bottom: .35rem; font-size: .95rem; }
.why-card p { font-size: .82rem; line-height: 1.55; }

/* ============================================================
   PROCESS
   ============================================================ */
.process-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 1rem;
}
.process-step {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 2rem 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--light);
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.process-step:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.08);
}
.ps-num {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--blue);
  margin-bottom: .75rem;
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ps-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-light), rgba(16,185,129,.1));
  border: 1px solid rgba(37,99,235,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--blue);
}
.process-step h4 { margin-bottom: .5rem; font-size: .95rem; }
.process-step p { font-size: .8rem; line-height: 1.55; }
.process-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 .5rem;
  font-size: 1.3rem;
  color: var(--gray-light);
  margin-top: 0;
  opacity: 0;
  transition: opacity .55s ease;
}
.process-arrow.visible { opacity: 1; }

/* ============================================================
   TECH BADGES
   ============================================================ */
.tech-section {
  background: var(--light);
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}
.tech-label {
  text-align: center;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-light);
  margin-bottom: 2rem;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: .75rem;
}
.tech-badge {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem .9rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.tech-badge:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.07);
  transform: translateY(-1px);
}
.tech-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testi-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow .3s, transform .3s;
}
.testi-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.testi-stars { font-size: 1.1rem; color: #FBBF24; letter-spacing: .08em; }
.testi-quote {
  font-size: .925rem;
  color: var(--dark);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.testi-author strong {
  display: block;
  font-size: .875rem;
  color: var(--dark);
}
.testi-author span {
  font-size: .78rem;
  color: var(--gray-light);
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .3s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.blog-thumb {
  position: relative;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.blog-thumb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .9;
}
.blog-cat {
  position: absolute;
  bottom: .6rem;
  left: .75rem;
  display: inline-block;
  padding: .25rem .65rem;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 100px;
  font-size: .68rem;
  font-weight: 700;
  color: var(--white);
  backdrop-filter: blur(8px);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.blog-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-date { font-size: .75rem; color: var(--gray-light); margin-bottom: .5rem; }
.blog-body h4 { margin-bottom: .5rem; }
.blog-body h4 a { color: var(--dark); transition: color .2s; }
.blog-body h4 a:hover { color: var(--blue); }
.blog-excerpt { font-size: .875rem; margin-bottom: 1.25rem; flex: 1; }
.blog-btn {
  display: flex;
  width: 100%;
  padding: .7rem 1.25rem;
  font-size: .85rem;
  margin-top: auto;
  white-space: normal;
  text-align: center;
  justify-content: center;
  box-sizing: border-box;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
}
.contact-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.contact-info { color: var(--white); }
.contact-info h2 { color: var(--white); margin-bottom: 1rem; }
.contact-info > p { color: rgba(255,255,255,.65); font-size: 1.05rem; margin-bottom: 2rem; }
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.clink {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  transition: color .2s;
}
.clink svg { color: var(--green); flex-shrink: 0; }
.clink:hover { color: var(--white); }

/* contact form */
.contact-form-wrap {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(16px);
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  letter-spacing: .02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-width: 0;
  padding: .85rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--white);
  font-family: var(--font);
  font-size: .9rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.3); }
.form-group select option { background: var(--dark-2); color: var(--white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.2);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  text-align: center;
  margin-top: -.25rem;
}
.form-note a { color: rgba(255,255,255,.6); text-decoration: underline; }
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 3rem 2rem;
  text-align: center;
}
.form-success h3 { color: var(--white); }
.form-success p { color: rgba(255,255,255,.65); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #080F1E;
  color: rgba(255,255,255,.6);
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding: 4rem 0;
}
.footer-brand img { margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand p { font-size: .875rem; color: rgba(255,255,255,.45); line-height: 1.7; max-width: 280px; }
.footer-social {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.footer-col h4 {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.footer-col a { font-size: .875rem; color: rgba(255,255,255,.5); transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-contact li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .875rem;
  color: rgba(255,255,255,.5);
}
.footer-contact svg { color: var(--green); flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,.5); transition: color .2s; }
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.5rem 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.35); }
.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-legal a { font-size: .78rem; color: rgba(255,255,255,.35); transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { padding: 6rem 0 4rem; min-height: auto; }
  .hero-wave { display: none; }
  .why-layout { grid-template-columns: 1fr; gap: 3rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-track { gap: .5rem; }
  .stat-divider { display: none; }
  .stats-inner { gap: 0; }
  .stat-block { padding: 1.5rem 2rem; }
}

@media (max-width: 820px) {
  .services-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15,23,42,.97);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    z-index: 999;
  }
  .main-nav.open { opacity: 1; pointer-events: all; }
  .main-nav ul {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  .main-nav a { font-size: 1.25rem; }
  .nav-toggle { display: flex; z-index: 1000; position: relative; }
  .site-header { background: rgba(15,23,42,.95); backdrop-filter: blur(16px); }

  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .why-right { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.25rem; }
  .section { padding: 4rem 0; }
  .contact-section { padding: 5rem 0; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .section-header { margin-bottom: 2.5rem; }
  .process-track { flex-direction: column; align-items: stretch; }
  .process-arrow { display: none; }
}

/* ============================================================
   CONTACT PAGE (fondo claro — overrides del form oscuro)
   ============================================================ */
.contact-page .contact-info { color: var(--dark); }
.contact-page .contact-info h2 { color: var(--dark); }
.contact-page .contact-info > p { color: var(--gray); }
.contact-page .clink { color: var(--dark-2); }
.contact-page .clink:hover { color: var(--blue); }
.contact-page .clink svg { color: var(--blue); }
.contact-page .contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  backdrop-filter: none;
}
.contact-page .form-group label {
  color: var(--dark-2);
}
.contact-page .form-group input,
.contact-page .form-group select,
.contact-page .form-group textarea {
  background: var(--light);
  border: 1.5px solid var(--border);
  color: var(--dark);
}
.contact-page .form-group input::placeholder,
.contact-page .form-group textarea::placeholder { color: var(--gray-light); }
.contact-page .form-group select option { background: var(--white); color: var(--dark); }
.contact-page .form-group input:focus,
.contact-page .form-group select:focus,
.contact-page .form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.contact-page .form-note { color: var(--gray-light); }
.contact-page .form-note a { color: var(--blue); }
.contact-page .form-success h3 { color: var(--dark); }
.contact-page .form-success p { color: var(--gray); }

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-direction: column; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-wrap { padding: 1rem; }
  .container { padding: 0 1rem; }
  .hero-tag { font-size: .72rem; }
}

/* ============================================================
   SINGLE POST / ARTÍCULO
   ============================================================ */
.article-hero {
  position: relative;
  background: var(--dark);
  padding: 7rem 0 4rem;
  overflow: hidden;
}
.article-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.article-meta-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.article-cat {
  display: inline-block;
  padding: .3rem .9rem;
  background: rgba(37,99,235,.25);
  border: 1px solid rgba(37,99,235,.4);
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  color: #93C5FD;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
}
.article-date {
  font-size: .8rem;
  color: var(--gray-light);
}
.article-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.article-excerpt {
  font-size: 1.1rem;
  color: #94A3B8;
  line-height: 1.7;
}
.article-section { padding-top: 3rem; }
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}
.article-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.article-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin: 2rem 0 .75rem;
}
.article-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  margin: 1.5rem 0 .5rem;
}
.article-content p { margin-bottom: 1.1rem; line-height: 1.8; color: #374151; }
.article-content ul,
.article-content ol { margin: 0 0 1.25rem 1.5rem; }
.article-content li { margin-bottom: .5rem; line-height: 1.7; color: #374151; }
.article-content strong { font-weight: 700; color: var(--dark); }
.article-content a { color: var(--blue); text-decoration: underline; }
.article-content blockquote {
  border-left: 4px solid var(--blue);
  padding: 1rem 1.5rem;
  background: var(--blue-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--dark-2);
}
.article-back { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.sidebar-card h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: .75rem; }
.sidebar-card p { font-size: .9rem; color: var(--gray); line-height: 1.6; }
.sidebar-links { list-style: none; padding: 0; margin: 0; }
.sidebar-links li { border-bottom: 1px solid var(--border); }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a {
  display: block;
  padding: .65rem 0;
  font-size: .875rem;
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}
.sidebar-links a:hover { color: var(--blue-dark); }
@media (max-width: 860px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .article-sidebar .sidebar-card { margin-top: 0 !important; }
}
@media (max-width: 540px) {
  .article-content { padding: 1.5rem; }
  .article-sidebar { grid-template-columns: 1fr; }
}

/* ---- Legal pages ---- */
.article-hero .article-meta { font-size: .85rem; color: rgba(255,255,255,.5); margin-top: .5rem; }
.article-hero h1.legal-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -.01em;
}
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  color: #374151;
  font-size: .95rem;
  line-height: 1.75;
}
.legal-content h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin: 2rem 0 .5rem;
  padding-bottom: .35rem;
  border-bottom: 2px solid var(--blue);
  display: inline-block;
  letter-spacing: 0;
}
.legal-content p { margin-bottom: .85rem; }
.legal-content ul {
  margin: .35rem 0 .85rem 1.4rem;
  list-style: disc;
}
.legal-content ul li { margin-bottom: .3rem; }
.legal-content a { color: var(--blue); text-decoration: underline; }
.legal-content strong { color: #0F172A; }
