/* Font loaded via <link> in HTML for reliability */

/* ============================
   CSS Variables
   ============================ */
:root {
  --navy:         #1E3657;
  --navy-deep:    #0F1F33;
  --navy-mid:     #243F68;
  --accent:       #2E72B8;
  --accent-hover: #225A96;
  --accent-light: #E8F2FF;
  --white:        #FFFFFF;
  --off-white:    #F5F8FC;
  --blue-tint:    #EBF3FF;
  --grey-50:      #EDF2F8;
  --grey-100:     #DDE5EF;
  --grey-200:     #BFCEDE;
  --grey-400:     #7A8FA3;
  --grey-600:     #4E6072;
  --grey-900:     #18222E;

  --font: 'Plus Jakarta Sans', system-ui, sans-serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   26px;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 4px rgba(15, 31, 51, 0.07);
  --shadow-md:  0 4px 20px rgba(15, 31, 51, 0.10);
  --shadow-lg:  0 12px 48px rgba(15, 31, 51, 0.14);

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --t:           0.22s ease;
  --t-slow:      0.38s ease;
}

/* ============================
   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(--grey-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: 70px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--grey-900);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 700; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }

p { line-height: 1.72; color: var(--grey-600); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ============================
   Layout
   ============================ */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--alt  { background: var(--off-white); }
.section--blue { background: var(--blue-tint); }
.section--navy { background: var(--navy); }

/* ============================
   Buttons
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--t);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn--primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn--white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--lg { padding: 16px 34px; font-size: 1rem; }

/* ============================
   Navigation
   ============================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-100);
  transition: box-shadow var(--t);
}
.nav.scrolled { box-shadow: var(--shadow-md); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav__logo { height: 34px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--grey-600);
  transition: color var(--t);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--navy);
  transition: width var(--t);
  border-radius: 2px;
}
.nav__links a:hover,
.nav__links a.active { color: var(--navy); }
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

.nav__right { display: flex; align-items: center; gap: 16px; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--t);
}

.nav__mobile {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--grey-100);
  padding: 20px 24px 28px;
  box-shadow: var(--shadow-lg);
  z-index: 199;
  flex-direction: column;
  gap: 4px;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--grey-900);
  padding: 12px 0;
  border-bottom: 1px solid var(--grey-100);
  transition: color var(--t);
}
.nav__mobile a:hover { color: var(--navy); }
.nav__mobile .btn { margin-top: 12px; }
.nav__mobile .btn--primary { color: white; }
.about-photo__img--mobile { display: none; object-position: center bottom; }

/* ============================
   Hero
   ============================ */
.hero {
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--blue-tint) 0%, var(--white) 55%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(30, 54, 87, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 2;
}

/* Hero code scroll background */
.hero__code-scroll {
  position: absolute;
  top: -30px;
  right: 0;
  width: 50%;
  padding: 0 48px 0 0;
  pointer-events: none;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Courier New', monospace;
  font-size: 0.82rem;
  line-height: 1.95;
  color: rgba(30, 54, 87, 0.09);
  z-index: 1;
  will-change: transform;
  user-select: none;
  margin: 0;
  white-space: pre;
  overflow: hidden;
  max-width: 100%;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Hero content — load animations (no scroll required) */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--grey-600);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  animation: heroFadeUp 0.6s var(--ease-spring) 0.05s both;
}
.hero__title {
  margin-bottom: 22px;
  animation: heroFadeUp 0.7s var(--ease-spring) 0.18s both;
}
.hero__title em { font-style: normal; color: var(--navy); }
.hero__subtitle {
  font-size: 1.1rem;
  color: var(--grey-600);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.72;
  animation: heroFadeUp 0.7s var(--ease-spring) 0.3s both;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  animation: heroFadeUp 0.7s var(--ease-spring) 0.42s both;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  background: #34C759;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

/* Hero visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
  animation: heroFadeUp 0.8s var(--ease-spring) 0.12s both;
}
.hero__arch {
  position: absolute;
  width: 340px;
  height: 170px;
  border: 52px solid var(--grey-100);
  border-bottom: none;
  border-radius: 200px 200px 0 0;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  will-change: transform;
}
.hero__arch-inner {
  position: absolute;
  width: 200px;
  height: 100px;
  border: 32px solid var(--grey-50);
  border-bottom: none;
  border-radius: 120px 120px 0 0;
  top: 110px;
  left: 50%;
  transform: translateX(-50%);
  will-change: transform;
}
.hero__stat-cards { position: absolute; width: 100%; height: 100%; }
.hero__stat {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: 16px 22px;
  box-shadow: var(--shadow-md);
}
.hero__stat:nth-child(1) { bottom: 60px; left: 0;  animation: float 5s ease-in-out 0.0s infinite; }
.hero__stat:nth-child(2) { bottom: 120px; right: 0; animation: float 5s ease-in-out 1.6s infinite; }
.hero__stat:nth-child(3) { top: 50px; right: 20px;  animation: float 5s ease-in-out 0.9s infinite; }
.hero__stat-number {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.hero__stat-label { font-size: 0.78rem; color: var(--grey-400); margin-top: 4px; font-weight: 600; }

/* ============================
   Marquee
   ============================ */
.marquee { overflow: hidden; background: var(--navy); padding: 14px 0; }
.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marqueeScroll 22s linear infinite;
  align-items: center;
}
.marquee__track span {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.marquee__dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================
   Section Labels
   ============================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-header { max-width: 620px; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1.05rem; }
.section-header--center { text-align: center; margin-left: auto; margin-right: auto; }

/* ============================
   Cards
   ============================ */
.card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-top: 3px solid transparent;
  border-radius: var(--radius-xl);
  padding: 36px;
  transition: all 0.35s var(--ease-out);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: transparent;
  border-top-color: var(--navy);
}

/* ============================
   Grid
   ============================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

/* ============================
   Service Overview Title (index.html)
   ============================ */
.svc-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--grey-900);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.pricing-card--featured .svc-title { color: var(--white); }

/* ============================
   USP Grid
   ============================ */
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.usp-item__icon {
  width: 46px;
  height: 46px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.usp-item__icon svg { width: 20px; height: 20px; }
.usp-item h4 { font-size: 1rem; margin-bottom: 8px; color: var(--grey-900); }
.usp-item p { font-size: 0.875rem; }

/* ============================
   Portfolio
   ============================ */
.portfolio-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
.portfolio-card {
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  transition: all 0.35s var(--ease-out);
}
.portfolio-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.portfolio-card__browser {
  background: var(--grey-50);
  padding: 12px 16px 0;
  border-bottom: 1px solid var(--grey-100);
}
.browser-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.browser-dots { display: flex; gap: 6px; }
.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.browser-dot:nth-child(1) { background: #FF5F57; }
.browser-dot:nth-child(2) { background: #FFBD2E; }
.browser-dot:nth-child(3) { background: #28CA41; }
.browser-url {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  font-size: 0.75rem;
  color: var(--grey-600);
  font-family: var(--font);
  font-weight: 600;
}
.portfolio-card__preview {
  background: linear-gradient(135deg, #1E3657 0%, #2D4A6E 50%, #1a4080 100%);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.portfolio-card__preview--screenshot {
  background: #0a0a0a;
  display: block;
  padding: 0;
}
.portfolio-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s var(--ease-spring);
}
.portfolio-card:hover .portfolio-screenshot {
  transform: scale(1.03);
}
.portfolio-preview-logo { text-align: center; color: white; }
.portfolio-preview-logo .logo-arch {
  width: 60px; height: 30px;
  border: 10px solid rgba(255,255,255,0.4);
  border-bottom: none;
  border-radius: 40px 40px 0 0;
  margin: 0 auto 8px;
}
.portfolio-preview-logo .logo-text {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  color: rgba(255,255,255,0.9);
}
.portfolio-card__info { padding: 24px; }
.portfolio-card__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 10px;
}
.portfolio-card__title { font-family: var(--font); font-size: 1.1rem; font-weight: 800; color: var(--grey-900); margin-bottom: 6px; }
.portfolio-card__desc { font-size: 0.875rem; color: var(--grey-600); margin-bottom: 16px; }
.portfolio-coming {
  background: var(--white);
  border: 2px dashed var(--grey-200);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  text-align: center;
}
.portfolio-coming__icon {
  width: 56px; height: 56px;
  background: var(--accent-light);
  border-radius: var(--radius-lg);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.portfolio-coming h4 { font-size: 1rem; margin-bottom: 8px; color: var(--grey-900); }
.portfolio-coming p { font-size: 0.875rem; color: var(--grey-400); margin-bottom: 16px; }

/* ============================
   About Teaser
   ============================ */
.about-teaser { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; }
.about-teaser__photo {
  width: 280px; height: 320px;
  background: var(--grey-100);
  border-radius: var(--radius-xl);
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.about-teaser__photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.about-teaser__photo-label {
  background: var(--navy);
  color: white;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 10px 18px;
  width: 100%;
  text-align: center;
  letter-spacing: 0.04em;
}
.about-teaser__name { font-family: var(--font); font-size: 1.7rem; font-weight: 900; color: var(--grey-900); margin-bottom: 4px; }
.about-teaser__role { font-size: 0.82rem; font-weight: 700; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px; }
.about-teaser__text { font-size: 1rem; color: var(--grey-600); margin-bottom: 16px; line-height: 1.8; }

/* ============================
   CTA Banner
   ============================ */
.cta-banner {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -60px;
  width: 320px; height: 320px;
  border: 56px solid rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -100px; left: 160px;
  width: 240px; height: 240px;
  border: 40px solid rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}
.cta-banner__text h2 { color: var(--white); margin-bottom: 10px; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.cta-banner__text p { color: rgba(255,255,255,0.7); font-size: 1rem; }
.cta-banner__actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ============================
   Page Hero (inner pages)
   ============================ */
.page-hero {
  background: var(--navy);
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -40px;
  width: 360px; height: 360px;
  border: 56px solid rgba(255,255,255,0.04);
  border-radius: 50%;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 220px;
  width: 260px; height: 260px;
  border: 38px solid rgba(255,255,255,0.03);
  border-radius: 50%;
}
.page-hero__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; position: relative; z-index: 1; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 540px; position: relative; z-index: 1; }

/* ============================
   Service Detail (palvelut)
   ============================ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 64px 0;
  border-bottom: 1px solid var(--grey-100);
}
.service-detail:last-of-type { border-bottom: none; }
.service-detail--reverse { direction: rtl; }
.service-detail--reverse > * { direction: ltr; }
.service-detail__badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.service-detail__number {
  width: 36px; height: 36px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-detail__tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.service-detail h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.service-detail__price-block { display: flex; align-items: baseline; gap: 6px; margin: 20px 0; }
.service-detail__price-num { font-family: var(--font); font-size: 2.8rem; font-weight: 900; color: var(--navy); line-height: 1; }
.service-detail__price-suffix { font-size: 0.9rem; color: var(--grey-400); font-weight: 600; }
.service-detail__desc { font-size: 1rem; color: var(--grey-600); margin-bottom: 28px; line-height: 1.75; }
.service-detail__delivery {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  border: 1px solid rgba(46,114,184,0.2);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 28px;
}
.service-detail__delivery svg { width: 14px; height: 14px; }
.service-detail__visual {
  border-radius: var(--radius-lg);
  height: 340px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(30,54,87,0.08);
}
.service-detail__visual > svg {
  display: block;
  width: 100%;
  height: 100%;
}

.feature-list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--grey-600); }
.feature-list li::before {
  content: '';
  display: block;
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ============================
   Process Steps
   ============================ */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: process; }
.process-step { position: relative; }
.process-step::before {
  counter-increment: process;
  content: counter(process, decimal-leading-zero);
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 12px;
}
.process-step__line {
  position: absolute;
  top: 11px;
  left: calc(100% - 12px);
  width: calc(100% - 12px);
  height: 1px;
  background: var(--grey-100);
}
.process-step:last-child .process-step__line { display: none; }
.process-step h4 { font-size: 1rem; margin-bottom: 8px; }
.process-step p { font-size: 0.875rem; }

/* ============================
   Pricing
   ============================ */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; align-items: start; }
.pricing-card {
  border: 2px solid var(--grey-100);
  border-radius: var(--radius-xl);
  padding: 38px;
  position: relative;
  background: var(--white);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring), border-color 0.2s ease;
  will-change: transform;
}
.pricing-grid .pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(15, 31, 51, 0.14);
  border-color: var(--grey-200);
}
.pricing-card--featured {
  background: var(--navy);
  border-color: var(--navy);
  transform: scale(1.02);
}
.pricing-grid .pricing-card--featured:hover {
  transform: scale(1.02) translateY(-10px);
  box-shadow: 0 24px 60px rgba(15, 31, 51, 0.22);
  border-color: var(--navy);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.pricing-card--featured .pricing-badge { background: var(--white); color: var(--navy); }
.pricing-card__name { font-size: 0.92rem; font-weight: 800; letter-spacing: 0.10em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.pricing-card--featured .pricing-card__name { color: rgba(255,255,255,0.6); }
.pricing-card__price { font-family: var(--font); font-size: 3rem; font-weight: 900; color: var(--grey-900); line-height: 1; margin-bottom: 4px; }
.pricing-card--featured .pricing-card__price { color: var(--white); }
.pricing-card__price-suffix { font-size: 0.9rem; font-weight: 600; color: var(--grey-400); }
.pricing-card--featured .pricing-card__price-suffix { color: rgba(255,255,255,0.55); }
.pricing-card__tagline { font-size: 0.875rem; color: var(--grey-600); margin: 12px 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--grey-100); }
.pricing-card--featured .pricing-card__tagline { color: rgba(255,255,255,0.65); border-color: rgba(255,255,255,0.15); }
.pricing-card__features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pricing-card__features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; color: var(--grey-600); }
.pricing-card--featured .pricing-card__features li { color: rgba(255,255,255,0.85); }
.check-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}
.pricing-card--featured .check-icon { background-color: rgba(255,255,255,0.2); }
.pricing-card .btn { width: 100%; }

/* ============================
   FAQ
   ============================ */
.faq { max-width: 760px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--grey-100); }
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--grey-900);
  transition: color var(--t);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.faq__question:hover { color: var(--navy); }
.faq__icon {
  width: 26px; height: 26px;
  border: 2px solid var(--grey-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t);
  color: var(--grey-400);
}
.faq__item.open .faq__icon { background: var(--accent); border-color: var(--accent); color: var(--white); transform: rotate(45deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq__answer p { padding-bottom: 24px; font-size: 0.92rem; line-height: 1.75; }
.faq__item.open .faq__answer { max-height: 300px; }

/* ============================
   About Page
   ============================ */
.about-hero-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; align-items: start; }
.about-photo {
  background: var(--grey-100);
  border-radius: var(--radius-xl);
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.about-photo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.about-photo__label {
  background: var(--navy);
  color: rgba(255,255,255,0.9);
  text-align: center;
  padding: 14px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.about-content__name { font-family: var(--font); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 900; color: var(--grey-900); margin-bottom: 4px; }
.about-content__title { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 24px; }
.about-content__text { font-size: 1rem; color: var(--grey-600); line-height: 1.8; margin-bottom: 16px; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.about-value {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: all 0.35s var(--ease-out);
}
.about-value:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-top: 2px solid var(--accent); }
.about-value__icon {
  width: 36px; height: 36px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--accent);
}
.about-value h4 { font-size: 0.92rem; margin-bottom: 6px; }
.about-value p { font-size: 0.82rem; }
.about-placeholder {
  background: var(--blue-tint);
  border: 2px dashed rgba(46,114,184,0.3);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  text-align: center;
}
.about-placeholder h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--grey-900); }
.about-placeholder p { color: var(--grey-400); font-size: 0.9rem; }

/* ============================
   Contact
   ============================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.contact-info__item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.contact-info__icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.contact-info__icon svg { width: 18px; height: 18px; }
.contact-info__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-400); margin-bottom: 4px; }
.contact-info__value { font-size: 0.95rem; color: var(--grey-900); font-weight: 600; }
.contact-info__value a { color: var(--accent); transition: color var(--t); }
.contact-info__value a:hover { color: var(--accent-hover); }
.contact-form-card { background: var(--white); border: 1px solid var(--grey-100); border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-sm); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--grey-900); margin-bottom: 7px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--grey-100);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--grey-900);
  background: var(--white);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
  appearance: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--grey-400); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46,114,184,0.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 0.8rem; color: var(--grey-400); }
.form-success { display: none; background: #ECFDF5; border: 1px solid #A7F3D0; border-radius: var(--radius-md); padding: 16px 20px; color: #065F46; font-size: 0.9rem; font-weight: 600; margin-top: 16px; }

/* ============================
   Footer
   ============================ */
.footer { background: var(--navy-deep); padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer__logo { height: 30px; width: auto; margin-bottom: 14px; filter: none; opacity: 1; }
.footer__tagline { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 20px; }
.footer__contact-link { display: flex; flex-direction: column; gap: 6px; }
.footer__contact-link a { font-size: 0.82rem; color: rgba(255,255,255,0.55); transition: color var(--t); }
.footer__contact-link a:hover { color: var(--white); }
.footer__col-title { font-family: var(--font); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links li { font-size: 0.875rem; color: rgba(255,255,255,0.6); }
.footer__links a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color var(--t); }
.footer__links a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; color: rgba(255,255,255,0.35); font-weight: 600; }

/* ============================
   Scroll Progress Bar
   ============================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--navy), var(--accent));
  z-index: 999;
  pointer-events: none;
}

/* ============================
   Scroll Reveal Animations
   ============================ */
.reveal {
  opacity: 0;
  transition-property: opacity, transform, filter;
  transition-duration: 0.8s;
  transition-timing-function: var(--ease-spring);
}
.reveal-up    { transform: translateY(60px); }
.reveal-left  { transform: translateX(-80px); }
.reveal-right { transform: translateX(80px); }
.reveal-scale {
  transform: scale(0.88);
  transition-timing-function: cubic-bezier(0.34, 1.3, 0.64, 1);
  transition-duration: 0.7s;
}
.reveal-blur {
  filter: blur(12px);
  transform: translateY(24px);
  transition-duration: 0.9s;
}
.reveal.in-view {
  opacity: 1;
  transform: none;
  filter: none;
}

.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }

/* ============================
   Keyframes
   ============================ */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes float {
  0%, 100% { transform: translateY(0px);  }
  50%       { transform: translateY(-10px); }
}
@keyframes marqueeScroll {
  from { transform: translateX(0);    }
  to   { transform: translateX(-50%); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1);    }
  50%       { opacity: 0.6; transform: scale(0.82); }
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 1024px) {
  .hero__layout    { grid-template-columns: 1fr; }
  .hero__visual      { display: none; }
  .hero__code-scroll { width: 100%; padding: 0; right: 0; left: 0; }
  .hero            { padding: 72px 0 60px; }
  .usp-grid        { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid  { grid-template-columns: 1fr; }
  .about-teaser    { grid-template-columns: 1fr; }
  .about-teaser__photo { width: 100%; max-width: 360px; margin: 0 auto; }
  .about-hero-layout { grid-template-columns: 1fr; }
  .about-photo     { aspect-ratio: 4/3; max-width: 400px; }
  .footer__grid    { grid-template-columns: 1fr 1fr; gap: 28px; }
  .pricing-grid    { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-card--featured { transform: none; }
  .pricing-grid .pricing-card--featured:hover { transform: translateY(-10px); }
  .service-detail__visual { display: none; }
  .service-detail  { grid-template-columns: 1fr; gap: 32px; }
  .service-detail--reverse { direction: ltr; }
  .process-steps   { grid-template-columns: 1fr 1fr; }
  .process-step__line { display: none; }
  .contact-layout  { grid-template-columns: 1fr; }
  .cta-banner      { flex-direction: column; text-align: center; padding: 48px 36px; }
  .cta-banner__actions { justify-content: center; }
}
@media (max-width: 768px) {
  .section        { padding: 64px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .usp-grid       { grid-template-columns: 1fr 1fr; }
  .nav__links, .nav__right .btn { display: none; }
  .nav__hamburger { display: flex; }
  .footer__grid   { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .about-values   { grid-template-columns: 1fr; }
  .process-steps  { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .cta-banner     { padding: 40px 24px; }
  .cta-banner__actions { flex-direction: column; align-items: center; }
  .cta-banner__actions .btn { width: auto; }
  .contact-form-card { padding: 28px 20px; }
  .hero__code-scroll { font-size: 0.65rem; color: rgba(30, 54, 87, 0.15); }
  .usp-item p { font-size: 0.8rem; }
  .usp-item { text-align: center; }
  .usp-item__icon { margin-left: auto; margin-right: auto; }
  .about-teaser__photo { max-width: 200px; height: 230px; margin: 0; }
  .section-header--pricing { text-align: left; }
  .about-photo { aspect-ratio: 3/4; max-width: 200px; margin: 0; }
  .about-photo__img--desktop { display: none; }
  .about-photo__img--mobile { display: block; }
  .process-steps { position: relative; padding-left: 32px; gap: 28px; }
  .process-steps::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--grey-200);
    border-radius: 1px;
  }
  .process-step::after {
    content: '';
    position: absolute;
    left: -28px;
    top: 3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--blue-tint);
  }
}
@media (max-width: 480px) {
  .usp-grid       { grid-template-columns: 1fr; }
  .hero__actions  { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}
