:root {
  --text: #121212;
  --muted: #5b5b5b;
  --hero-bg: #070b19;
  --hero-bg-soft: #101a33;
  --baby-blue: #9ed8ff;
  --baby-blue-strong: #6bc3ff;
  --baby-blue-soft: rgba(158, 216, 255, 0.18);
  --line: rgba(17, 17, 17, 0.12);
  --line-strong: rgba(17, 17, 17, 0.22);
  --paper: rgba(255, 255, 255, 0.78);
  --paper-strong: rgba(255, 255, 255, 0.92);
  --black: #111111;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(13, 13, 13, 0.1);
  --shadow-soft: 0 16px 40px rgba(13, 13, 13, 0.08);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background-color: #f8fafc;
}

body.is-loaded .loader {
  opacity: 0;
  visibility: hidden;
}

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

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

.loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  gap: 18px;
  background: #111111;
  color: #f5f5f5;
  transition: opacity 320ms ease, visibility 320ms ease;
}

.loader p {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.loader__mark {
  display: flex;
  gap: 12px;
}

.loader__mark span {
  width: 16px;
  height: 16px;
  border: 2px solid #f5f5f5;
  border-radius: 50%;
  animation: pulse 0.9s infinite ease-in-out;
}

.loader__mark span:nth-child(2) {
  animation-delay: 0.15s;
}

.loader__mark span:nth-child(3) {
  animation-delay: 0.3s;
}

.grid-wrapper {
  position: fixed;
  inset: 0;
  min-height: 100%;
  width: 100%;
  background-color: #f8fafc;
  z-index: 0;
}

.grid-background {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, #e2e8f0 1px, transparent 1px),
    linear-gradient(to bottom, #e2e8f0 1px, transparent 1px);
  background-size: 20px 30px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 60%, transparent 100%);
}

.grid-wrapper--mono {
  background-color: #ffffff;
}

.grid-background--mono {
  background-image:
    linear-gradient(to right, #dadada 1px, transparent 1px),
    linear-gradient(to bottom, #dadada 1px, transparent 1px);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1260px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 72px;
}

.hero-stage {
  position: relative;
  overflow: hidden;
  padding: 18px 18px 24px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 20% 20%, rgba(107, 195, 255, 0.16), transparent 28%),
    radial-gradient(circle at 78% 12%, rgba(158, 216, 255, 0.18), transparent 24%),
    linear-gradient(135deg, #050814 0%, #0a1023 42%, #121739 100%);
  box-shadow: 0 32px 90px rgba(4, 8, 20, 0.28);
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 1));
  pointer-events: none;
}

.page-shell--prices {
  width: min(1120px, calc(100% - 32px));
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.topbar--hero {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(8, 13, 28, 0.78);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.topbar--hero .brand__panel {
  background: rgba(255, 255, 255, 0.96);
}

.topbar--hero .brand__copy strong,
.topbar--hero .nav a,
.topbar--hero .brand__copy small {
  color: #f4f7ff;
}

.topbar--hero .nav--mono a {
  color: #f4f7ff;
}

.topbar--hero .brand__copy small {
  opacity: 0.72;
}

.topbar--mono {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand__panel {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.brand__panel img {
  width: 76%;
}

.brand__copy {
  display: grid;
  gap: 4px;
}

.brand__copy strong,
.nav a,
.button {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.brand__copy strong {
  font-size: 0.86rem;
}

.brand__copy small {
  color: var(--muted);
  font-size: 0.72rem;
}

.nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.nav a {
  font-size: 0.74rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.service-card:hover,
.work-card:hover,
.guarantee-card:hover,
.social-action:hover,
.price-card:hover {
  transform: translateY(-3px);
}

.button--dark {
  color: #ffffff;
  background: #111111;
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.22);
}

.button--accent {
  color: #06203a;
  background: linear-gradient(135deg, #b9e8ff 0%, #8dd4ff 55%, #74c5ff 100%);
  box-shadow: 0 18px 36px rgba(107, 195, 255, 0.3);
}

.button--light,
.button--mono {
  color: #111111;
  background: #ffffff;
  border-color: var(--line);
}

.button--ghost {
  color: #eef6ff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(158, 216, 255, 0.22);
}

.hero,
.section,
.prices {
  margin-top: 34px;
}

.hero--agency {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 500px);
  gap: 28px;
  align-items: stretch;
  min-height: calc(100vh - 160px);
  padding: 42px 10px 10px;
}

.eyebrow,
.mini-title,
.price-card__label {
  margin: 0 0 14px;
  color: #3b3b3b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow--mono {
  color: #4a4a4a;
}

.eyebrow--hero {
  color: rgba(255, 255, 255, 0.62);
}

h1,
h2,
h3 {
  margin: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 5.6vw, 5.4rem);
  line-height: 1.02;
  color: #ffffff;
}

h1 span {
  color: var(--baby-blue);
  text-shadow: 0 0 28px rgba(158, 216, 255, 0.28);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.28rem;
  line-height: 1.2;
}

.lead,
.section__lead,
.section__note,
.service-card p,
.pain-card p,
.work-card__body p,
.guarantee-card p,
.process-step p,
.contact-banner__copy p,
.price-card p,
.summary__grid p,
.addon__copy p,
.hero-panel__card p {
  color: var(--muted);
  line-height: 1.78;
}

.lead {
  max-width: 56ch;
  margin: 26px 0 0;
  font-size: 1rem;
  color: rgba(238, 246, 255, 0.82);
}

.hero__copy {
  max-width: 760px;
  padding-top: 34px;
}

.hero__kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 10px 16px;
  border: 1px solid rgba(158, 216, 255, 0.18);
  border-radius: 999px;
  background: rgba(158, 216, 255, 0.08);
  color: var(--baby-blue);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__copy > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

body.is-loaded .hero__copy > *:nth-child(1) { transition-delay: 120ms; }
body.is-loaded .hero__copy > *:nth-child(2) { transition-delay: 220ms; }
body.is-loaded .hero__copy > *:nth-child(3) { transition-delay: 320ms; }
body.is-loaded .hero__copy > *:nth-child(4) { transition-delay: 420ms; }
body.is-loaded .hero__copy > *:nth-child(5) { transition-delay: 520ms; }

body.is-loaded .hero__copy > * {
  opacity: 1;
  transform: translateY(0);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__ticker span,
.tag-list li,
.summary__grid p {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(12px);
}

.hero__ticker span {
  color: #eef6ff;
  border-color: rgba(158, 216, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-content: center;
  min-height: 100%;
}

.hero-panel__orbit {
  position: absolute;
  inset: 12% 6% auto auto;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 50%;
  opacity: 0.6;
  animation: float 7s ease-in-out infinite;
}

.hero-panel__glow {
  position: absolute;
  right: 18px;
  top: 40px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(158, 216, 255, 0.2), transparent 65%);
  filter: blur(12px);
}

.hero-panel__orbit::before,
.hero-panel__orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.hero-panel__orbit::before {
  inset: 18px;
}

.hero-panel__orbit::after {
  inset: 38px;
}

.hero-panel__card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.62));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-panel__card::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 17, 17, 0.1), transparent 68%);
}

.hero-panel__card--main {
  grid-column: span 2;
  min-height: 310px;
  padding: 30px;
  display: grid;
  align-content: end;
  gap: 20px;
  border-color: rgba(158, 216, 255, 0.1);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(238, 247, 255, 0.84));
}

.hero-panel__card--small {
  padding: 22px;
  min-height: 140px;
  display: grid;
  align-content: end;
}

.hero-panel__card--small strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.2rem;
  line-height: 1;
}

.hero-panel__card--small span {
  margin-top: 6px;
  color: var(--muted);
}

.hero-panel__accent {
  width: fit-content;
  padding: 12px 16px;
  border: 1px solid rgba(107, 195, 255, 0.18);
  border-radius: 18px;
  background: rgba(158, 216, 255, 0.14);
  color: #0a3f63;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.6;
}

.code-screen {
  position: relative;
  overflow: hidden;
  min-height: 200px;
  padding: 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(158, 216, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(9, 17, 35, 0.98), rgba(20, 29, 56, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 40px rgba(0, 0, 0, 0.18);
}

.code-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04) 0%,
      rgba(255, 255, 255, 0) 22%,
      rgba(255, 255, 255, 0.03) 60%,
      rgba(255, 255, 255, 0) 100%
    );
  pointer-events: none;
}

.code-screen__bar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.code-screen__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(158, 216, 255, 0.5);
}

.code-screen__body {
  display: grid;
  gap: 12px;
  animation: codeFloat 5.5s ease-in-out infinite;
}

.code-line {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(158, 216, 255, 0.7));
  animation: codePulse 2.4s ease-in-out infinite;
}

.code-line--short {
  width: 34%;
}

.code-line--medium {
  width: 58%;
}

.code-line--long {
  width: 84%;
}

.code-line--dim {
  opacity: 0.55;
}

.metrics,
.service-grid,
.works-grid,
.guarantee-grid,
.summary__grid,
.pricing-grid {
  display: grid;
  gap: 18px;
}

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

.hero-peek-cat {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: flex-start;
  margin: 42px 0 -76px;
  padding-left: 54px;
  pointer-events: none;
}

.hero-peek-cat__image {
  display: block;
  width: min(220px, 24vw);
  height: auto;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.14));
}

.metric-card,
.service-card,
.pain-card,
.guarantee-card,
.process-step,
.social-action,
.price-card,
.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.metric-card {
  padding: 22px;
}

.metric-card strong,
.guarantee-card span,
.process-step strong {
  display: inline-flex;
  margin-bottom: 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  line-height: 1;
}

.section {
  padding-top: 18px;
}

.section__heading {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.section__heading--row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  align-items: end;
}

.section__heading--center {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  text-align: center;
}

.section__heading--center h2 {
  max-width: none;
}

.works-heading-inner {
  display: grid;
  justify-items: center;
  width: fit-content;
  margin: 0 auto;
  gap: 0;
}

.works-title {
  width: auto;
  font-size: clamp(1.7rem, 2.6vw, 2.55rem);
  text-align: center;
  white-space: normal;
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0 0 10px;
  transform: none;
}

.works-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 180px;
  height: 3px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(107, 195, 255, 0.2), rgba(107, 195, 255, 0.95), rgba(107, 195, 255, 0.2));
}

.works-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 14px;
  padding: 10px 16px;
  border: 1px solid rgba(107, 195, 255, 0.2);
  border-radius: 999px;
  background: rgba(107, 195, 255, 0.08);
  color: #4c95c9;
}

.works .section__heading {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#services .section__heading,
#approach .section__heading,
.process .section__heading,
.section .section__heading {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#services .works-title {
  transform: none;
  white-space: nowrap;
}

.services-subtitle {
  max-width: 22ch;
  margin-top: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 2.6vw, 2.55rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #111111;
  position: relative;
  display: inline-block;
  padding: 0 0 10px;
}

.services-subtitle::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 180px;
  height: 3px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(107, 195, 255, 0.2), rgba(107, 195, 255, 0.95), rgba(107, 195, 255, 0.2));
}

.section__heading h2 {
  max-width: 12ch;
}

.section__lead {
  max-width: 70ch;
}

.section__lead--center {
  margin-top: 16px;
  text-align: center;
}

#approach .works-title,
.works .works-title,
.section .works-title,
.process .works-title {
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.service-grid--wide {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.service-card {
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card--feature {
  min-height: 100%;
}

.service-card__number {
  display: inline-flex;
  margin-bottom: 24px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.8rem;
  line-height: 1;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.section--contrast {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 40px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.44));
  backdrop-filter: blur(14px);
}

.pain-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pain-column {
  display: grid;
  gap: 14px;
}

.pain-column h3 {
  margin-bottom: 4px;
}

.pain-column--solution .pain-card {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.88);
}

.pain-card {
  padding: 22px;
}

.pain-card--cat {
  position: relative;
  overflow: visible;
  padding-right: 170px;
}

.pain-card__cat {
  position: absolute;
  right: 18px;
  top: -118px;
  width: 150px;
  height: auto;
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.12));
}

.pain-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.portfolio-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.portfolio-preview {
  display: block;
  width: 100%;
  height: 320px;
  padding: 0;
  border: 0;
  background: #f5f5f5;
  cursor: pointer;
  overflow: hidden;
}

.portfolio-preview iframe {
  width: 1600px;
  height: 1000px;
  border: 0;
  transform: scale(0.33);
  transform-origin: top left;
  pointer-events: none;
}

.portfolio-preview--placeholder {
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.35) 40%, transparent 70%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 246, 251, 0.82));
}

.portfolio-placeholder {
  display: grid;
  gap: 12px;
  text-align: left;
}

.portfolio-placeholder span {
  color: #5f5f5f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.portfolio-placeholder strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.2rem;
  line-height: 0.95;
}

.portfolio-placeholder p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.portfolio-card__body {
  padding: 24px;
}

.portfolio-card__body h3 {
  margin-bottom: 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.portfolio-card__body p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.65;
}

.portfolio-stars {
  margin-top: 4px;
  color: #111111;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.portfolio-stars span {
  margin-left: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: normal;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid #111111;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.portfolio-link:hover {
  transform: translateY(-2px);
}

.portfolio-link--disabled {
  opacity: 0.5;
  cursor: default;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.project-modal.is-open {
  display: block;
}

.project-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}

.project-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 32px));
  margin: 32px auto;
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.project-modal__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.project-modal__dots {
  display: flex;
  gap: 8px;
}

.project-modal__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.18);
}

.project-modal__bar strong {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-modal__close {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
}

.project-modal__frame {
  height: min(78vh, 900px);
}

.project-modal__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

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

.guarantee-card {
  padding: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-step {
  padding: 22px;
  position: relative;
}

.process-step::after {
  content: "";
  position: absolute;
  top: 40px;
  right: -10px;
  width: 20px;
  height: 1px;
  background: rgba(17, 17, 17, 0.16);
}

.process-step:last-child::after {
  content: none;
}

.contact-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 360px);
  gap: 20px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 40px;
  background: linear-gradient(145deg, rgba(17, 17, 17, 0.98), rgba(32, 32, 32, 0.94));
  color: #ffffff;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.18);
}

.contact-banner .eyebrow,
.contact-banner p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-banner__copy {
  display: grid;
  align-items: center;
}

.contact-banner__intro {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: center;
  gap: 34px;
}

.contact-banner__text {
  display: grid;
  gap: 14px;
  max-width: 620px;
}

.contact-banner__text h2 {
  max-width: 14ch;
  margin: 0;
}

.contact-banner__text p {
  max-width: 44ch;
  margin: 0;
}

.contact-banner__actions {
  display: grid;
  gap: 12px;
  align-content: center;
  justify-items: center;
}

.example-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-banner__pet {
  position: relative;
  display: grid;
  place-items: center;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
}

.contact-banner__pet-glow {
  position: absolute;
  inset: 0;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(184, 226, 255, 0.18), rgba(184, 226, 255, 0.06) 55%, transparent 78%);
  filter: blur(20px);
  opacity: 0.8;
  z-index: 0;
}

.contact-banner__pet-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: auto;
  filter: none;
}

.example-2 .icon-content {
  position: relative;
}

.example-2 .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 10px;
  border-radius: 8px;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.example-2 .icon-content:hover .tooltip {
  top: -50px;
  opacity: 1;
  visibility: visible;
}

.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #4d4d4d;
  background-color: #fff;
  box-shadow: 3px 2px 28px 0 rgb(0 0 0 / 10%);
  transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover {
  color: #fff;
  box-shadow: 3px 2px 45px 0 rgb(0 0 0 / 12%);
}

.example-2 .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
}

.example-2 .icon-content a .filled {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover .filled {
  height: 100%;
}

.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"] ~ .tooltip {
  background: linear-gradient(45deg, #405de6, #5b51db, #b33ab4, #c135b4, #e1306c, #fd1f1f);
}

.example-2 .icon-content a[data-social="telegram"] .filled,
.example-2 .icon-content a[data-social="telegram"] ~ .tooltip {
  background: linear-gradient(135deg, #27a7e7, #0f8bd7);
}

.example-2 .icon-content a[data-social="whatsapp"] .filled,
.example-2 .icon-content a[data-social="whatsapp"] ~ .tooltip {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.social-action {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  transition: transform 180ms ease, background 180ms ease;
}

.social-action small {
  color: rgba(255, 255, 255, 0.6);
}

.prices-page {
  background-color: #ffffff;
}

.prices-hero-stage {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  padding: 36px 28px 28px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 18% 16%, rgba(107, 195, 255, 0.16), transparent 26%),
    radial-gradient(circle at 82% 10%, rgba(158, 216, 255, 0.14), transparent 22%),
    linear-gradient(135deg, #050814 0%, #0a1023 42%, #121739 100%);
  box-shadow: 0 30px 80px rgba(4, 8, 20, 0.22);
}

.prices-hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
}

.prices__hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 420px);
  gap: 26px;
  align-items: start;
  padding: 12px 0 0;
}

.prices__copy h1 {
  max-width: 11ch;
}

.lead--hero {
  color: rgba(238, 246, 255, 0.82);
}

.prices-hero-visual {
  display: grid;
  gap: 16px;
  align-content: start;
}

.code-screen--prices {
  min-height: 180px;
}

.prices-hero-badge {
  width: fit-content;
  padding: 12px 16px;
  border: 1px solid rgba(107, 195, 255, 0.18);
  border-radius: 18px;
  background: rgba(158, 216, 255, 0.14);
  color: #d9efff;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.6;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.pricing-grid--hero {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

.price-card {
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease;
  border-color: rgba(107, 195, 255, 0.16);
  background: rgba(255, 255, 255, 0.96);
}

.price-card h2 {
  max-width: 8ch;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.price-card strong,
.addon__price strong {
  display: block;
  margin-top: 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
}

.price-card--featured {
  color: #06203a;
  background: linear-gradient(135deg, #b9e8ff 0%, #8dd4ff 55%, #74c5ff 100%);
}

.price-card--featured p,
.price-card--featured .price-card__label {
  color: rgba(6, 32, 58, 0.72);
}

.addon,
.summary {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  border-color: rgba(107, 195, 255, 0.16);
}

.addon {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.addon__price {
  display: grid;
  justify-items: end;
  gap: 16px;
}

.price-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}

.price-tip__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #111111;
}

.price-tip__content {
  position: absolute;
  right: 50%;
  bottom: calc(100% + 14px);
  width: min(280px, 70vw);
  padding: 14px 16px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 18px;
  color: #ffffff;
  background: #111111;
  opacity: 0;
  transform: translateX(50%) translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
  line-height: 1.6;
}

.price-tip:hover .price-tip__content,
.price-tip:focus-within .price-tip__content {
  opacity: 1;
  transform: translateX(50%) translateY(0);
}

.summary__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}

.summary__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.summary__grid p {
  padding: 5px 14px;
}

.summary__pet {
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 10px 0;
}

.summary__pet-image {
  display: block;
  width: min(100%, 280px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.12));
}

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

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

.reveal--delay {
  transition-delay: 120ms;
}

.reveal--delay-2 {
  transition-delay: 220ms;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.65);
    opacity: 0.5;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

@keyframes codeFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes codePulse {
  0%,
  100% {
    opacity: 0.72;
  }

  50% {
    opacity: 1;
  }
}

@media (max-width: 1120px) {
  .hero--agency,
  .pain-layout,
  .contact-banner,
  .section__heading--row,
  .work-card--wide,
  .addon,
  .prices__hero {
    grid-template-columns: 1fr;
  }

  .metrics,
  .service-grid--wide,
  .guarantee-grid,
  .process-line,
  .pricing-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 900px) {
  .topbar,
  .topbar--mono {
    position: static;
    grid-template-columns: 1fr;
    justify-items: start;
    border-radius: 28px;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero--agency {
    min-height: auto;
    padding-top: 18px;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.6rem, 10vw, 4.2rem);
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-panel__card--main {
    grid-column: span 1;
    min-height: 260px;
  }

  .metrics,
  .service-grid--wide,
  .guarantee-grid,
  .process-line,
  .pricing-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .section--contrast {
    padding: 22px;
  }

  .process-step::after {
    content: none;
  }

  .prices-hero-stage {
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .page-shell,
  .page-shell--prices {
    width: min(100% - 20px, 1260px);
    padding-top: 10px;
  }

  .brand {
    align-items: flex-start;
  }

  .brand__panel {
    width: 56px;
    height: 56px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__copy {
    padding-top: 10px;
  }

  .hero-peek-cat {
    margin: 18px 0 -36px;
    padding-left: 18px;
  }

  .hero-peek-cat__image {
    width: min(150px, 34vw);
  }

  .button {
    width: 100%;
  }

  .hero-panel__card--main,
  .hero-panel__card--small,
  .metric-card,
  .service-card,
  .pain-card,
  .portfolio-card__body,
  .guarantee-card,
  .process-step,
  .contact-banner,
  .social-action,
  .price-card,
  .addon,
  .summary {
    padding: 20px;
  }

  .pain-card--cat {
    padding-right: 20px;
    padding-top: 108px;
  }

  .pain-card__cat {
    right: 50%;
    top: -92px;
    width: 132px;
    transform: translateX(50%);
  }

  .project-modal__dialog {
    width: min(100% - 16px, 1280px);
    margin: 8px auto;
  }

  .project-modal__bar {
    grid-template-columns: 1fr auto;
  }

  .project-modal__dots {
    display: none;
  }

  .example-2 {
    justify-content: center;
  }

  .contact-banner__intro {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-banner__pet {
    width: 220px;
    height: 220px;
  }

  .contact-banner__pet-glow {
    width: 220px;
    height: 220px;
  }

  .contact-banner__pet-image {
    width: 100%;
    height: 100%;
  }

  .summary__grid {
    grid-template-columns: 1fr;
  }

  .summary__layout {
    grid-template-columns: 1fr;
  }
}
