@import url('styles/components/services.css');

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('materials/fonts/BricolageGrotesque-Variable.woff2') format('woff2'),
    url('materials/fonts/BricolageGrotesque-Variable.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --white-rgb: 255 255 255;
  --ink-rgb: 34 28 51;
  --shadow-rgb: 40 24 80;
  --primary-rgb: 157 15 94;
  --primary-dark-rgb: 112 10 66;
  --accent-rgb: 255 199 82;
  --violet-rgb: 108 58 210;
  --violet-deep-rgb: 77 39 145;
  --blue-rgb: 46 119 255;
  --overlay-dark-rgb: 24 15 36;
  --primary: #9d0f5e;
  --primary-dark: #700a42;
  --accent: #ffc752;
  --accent-strong: #fab725;
  --accent-hover: #ffda6e;
  --bg: #f6f2ff;
  --bg-soft: #efe8ff;
  --surface: #ffffff;
  --surface-2: #f8f4ff;
  --surface-glass: rgba(255, 255, 255, 0.82);
  --surface-raised: rgba(255, 255, 255, 0.94);
  --text: #221c33;
  --muted: #5d5872;
  --line: #e4ddf3;
  --line-soft: rgba(34, 28, 51, 0.1);
  --line-mid: rgba(34, 28, 51, 0.12);
  --line-strong: rgba(34, 28, 51, 0.14);
  --on-primary: #ffffff;
  --focus: #a41564;
  --ok: #3f9f64;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 24px 60px rgba(40, 24, 80, 0.18);
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --space-1: .5rem;
  --space-2: .75rem;
  --space-3: 1rem;
  --space-4: 1.25rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: clamp(3rem, 5.2vw, 4.2rem);
  --touch-target: 44px;
  --touch-target-mobile: 48px;
  --icon-primary: invert(13%) sepia(80%) saturate(3545%) hue-rotate(309deg) brightness(85%) contrast(97%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -10%, rgba(108, 58, 210, 0.2), transparent 36%),
    radial-gradient(circle at 85% 10%, rgba(255, 199, 82, 0.15), transparent 35%),
    radial-gradient(circle at 50% 120%, rgba(108, 58, 210, 0.14), transparent 42%),
    var(--bg);
  line-height: 1.6;
  overflow-x: clip;
}

:where(h1, h2, h3, p, li, blockquote, cite, small, figcaption, address) {
  overflow-wrap: anywhere;
}

:where(.hero-grid, .intro-grid, .why-grid, .footer-grid, .contact-hero-grid, .contact-grid, .references-hero-grid, .case-review-card, .city-map-hero-grid, .region-grid, .header-inner, .header-nav-wrap)>* {
  min-width: 0;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-140%);
  z-index: 1000;
  padding: .65rem .95rem;
  border-radius: 0 0 var(--radius-md) 0;
  color: var(--on-primary);
  background: var(--primary);
  box-shadow: 0 10px 24px rgba(40, 24, 80, 0.25);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .17em;
  text-decoration-color: color-mix(in srgb, var(--primary) 58%, transparent);
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}

a:hover {
  color: var(--primary-dark);
  text-decoration-color: color-mix(in srgb, var(--primary-dark) 64%, transparent);
}

a:focus-visible {
  text-decoration-color: currentColor;
}

.logo,
.nav a,
.btn,
.chip,
.portfolio-card,
.quick-contact-item,
.phone,
.city-inline-link,
.social a {
  text-decoration: none;
}

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

.container {
  width: min(1200px, calc(100% - clamp(1.3rem, 3vw, 2.5rem)));
  margin-inline: auto;
}

.gradient-divider {
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 6%, transparent), transparent 80%);
}

.grain,
.orb {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.grain {
  opacity: 0.22;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(77, 39, 145, .12) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 30%, rgba(77, 39, 145, .07) 0 1px, transparent 1px),
    radial-gradient(circle at 40% 70%, rgba(77, 39, 145, .1) 0 1px, transparent 1px);
  background-size: 140px 140px, 180px 180px, 120px 120px;
  mix-blend-mode: soft-light;
}

.orb::before,
.orb::after {
  content: "";
  position: absolute;
  filter: blur(70px);
  border-radius: 999px;
}

.orb::before {
  width: 260px;
  height: 260px;
  top: 120px;
  right: -80px;
  background: rgba(108, 58, 210, 0.24);
}

.orb::after {
  width: 220px;
  height: 220px;
  left: -70px;
  bottom: 140px;
  background: rgba(255, 199, 82, 0.2);
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(246, 242, 255, 0.82);
  border-bottom: 1px solid rgba(34, 28, 51, 0.08);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}

header.scrolled {
  background: rgba(246, 242, 255, 0.96);
  border-color: rgba(108, 58, 210, 0.24);
}

.header-inner {
  min-height: clamp(74px, 8vw, 86px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  position: relative;
}

.logo img {
  width: 142px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.nav a {
  min-height: var(--touch-target);
  display: inline-flex;
  align-items: center;
  padding: .35rem .45rem;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .01em;
  transition: color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}

.nav a:hover {
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
}

.nav a:focus-visible {
  color: var(--primary-dark);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 18%, transparent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.header-nav-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.menu-toggle {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  min-width: var(--touch-target);
  min-height: var(--touch-target);
  border: 1px solid rgba(34, 28, 51, 0.14);
  border-radius: 999px;
  padding: .4rem .85rem;
  font: inherit;
  font-weight: 700;
  border-color: rgba(34, 28, 51, 0.14);
  display: none;
  align-items: center;
  gap: .5rem;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.menu-toggle-icon {
  inline-size: 1.1rem;
  block-size: .9rem;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  flex: none;
}

.menu-toggle-icon span {
  display: block;
  inline-size: 100%;
  block-size: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.menu-toggle-label {
  line-height: 1;
}

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

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

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

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: color-mix(in srgb, var(--primary) 36%, var(--line));
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 16%, transparent);
}

.btn:active,
.menu-toggle:active {
  transform: scale(.95);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 14px 28px rgba(81, 40, 174, 0.28);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--on-primary);
  box-shadow: 0 18px 36px rgba(81, 40, 174, 0.38);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: color-mix(in srgb, var(--primary) 45%, transparent) !important;
  border-width: 2px !important;
  border-style: solid !important;
}

.btn-outline:hover {
  background: rgba(108, 58, 210, 0.08);
}

.btn {
  padding: 0.5rem 1.5rem;
  min-height: var(--touch-target);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border-radius: var(--radius-xl);
  text-transform: uppercase;
  line-height: 1.1;
  font-weight: 700;
  transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 16%, transparent);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
}

.nav a[aria-current="page"] {
  color: var(--primary);
}


.hero {
  padding: var(--space-7) 0 var(--space-7);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: var(--space-7);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: 'Bricolage Grotesque', sans-serif;
  letter-spacing: -0.012em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 2.9rem);
  max-width: 25ch;
  margin-bottom: var(--space-4);
}

.lead {
  margin: 0 0 var(--space-6);
  color: var(--muted);
  line-height: 1.72;
  max-width: 60ch;
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-4) 0;
}

.hero-note {
  font-size: .9rem;
  color: var(--primary);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.45;
  text-wrap: pretty;
}

.hero-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  overflow: visible;
  margin: 0;
}

.hero-card img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
}

section {
  padding: var(--space-7) 0;
}

.section-head {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: var(--space-6);
  text-align: left;
}

.section-head p {
  margin: .75rem 0 0;
  max-width: 64ch;
  color: var(--muted);
  text-wrap: pretty;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  max-width: 22ch;
}

/* Intro section */
.intro {
  background: linear-gradient(180deg, rgba(108, 58, 210, 0.04), transparent);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.intro-copy h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  margin-bottom: var(--space-5);
}

.intro-copy p {
  color: var(--muted);
  margin: 0;
  font-size: clamp(.95rem, 1.3vw, 1.1rem);
  max-width: 62ch;
}

.hero-services-offset {
  margin-top: calc(var(--space-7) + var(--space-5));
}

.intro-copy-subhead {
  margin-top: var(--space-6);
}

.intro-copy-support {
  margin: var(--space-5) 0;
}

.points-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, minmax(0, auto));
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.procedure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

#proces .service-no {
  letter-spacing: .08em;
  line-height: 1.35;
}

.service-card.intro-point {
  border-width: 1px;
  padding: 1.5rem 1.25rem;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: .8rem;
  row-gap: .35rem;
}

.intro-point::after {
  display: none;
}

.intro-point-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 1.22rem;
  border-radius: 12px;
  margin-bottom: 0;
  grid-row: 1 / span 2;
}

.intro-point h3 {
  font-size: 1.06rem;
  line-height: 1.25;
  grid-column: 2;
}

.intro-point p {
  font-size: .9rem;
  grid-column: 2;
}

.intro-point .btn {
  grid-column: 1 / -1;
  margin-top: .15rem;
  justify-self: start;
}

.intro-point--glass {
  border-color: rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.2));
  backdrop-filter: blur(5px);
  box-shadow: 0 8px 20px rgba(40, 24, 80, 0.1);
}

.intro-point--glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
  z-index: -1;
}

.intro-point--glass .intro-point-icon {
  background: rgba(157, 15, 94, 0.1);
  border: 1px solid rgba(157, 15, 94, 0.22);
}

.intro-point--iconbox {
  border-color: rgba(108, 58, 210, 0.24);
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(245, 241, 255, 0.98), rgba(235, 248, 255, 0.92));
  box-shadow: 0 14px 28px rgba(91, 52, 185, 0.14);
}

.intro-point--iconbox .intro-point-icon {
  background: rgba(108, 58, 210, 0.12);
  border: 1px solid rgba(108, 58, 210, 0.26);
}

.intro-point--compact {
  border-color: rgba(255, 199, 82, 0.28);
  border-radius: 16px;
  padding: .95rem 1rem;
  background: linear-gradient(145deg, rgba(255, 250, 236, 0.96), rgba(255, 246, 224, 0.9));
  box-shadow: 0 8px 18px rgba(136, 98, 8, 0.12);
}

.intro-point--compact .intro-point-icon {
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
  border-radius: 10px;
  margin-bottom: .4rem;
  background: rgba(255, 199, 82, 0.24);
  border: 1px solid rgba(226, 162, 20, 0.35);
}

/* Why */
.why {
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.8rem, 3.8vw, 3rem);
  align-items: start;
}

.why-copy {
  display: grid;
  gap: clamp(.8rem, 1.4vw, 1.2rem);
}

.why-copy p {
  color: var(--muted);
  line-height: 1.72;
  margin: 0;
  max-width: 64ch;
}

.why-copy h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  max-width: 22ch;
  margin: 0 0 clamp(.35rem, .9vw, .7rem);
}

.text-highlight {
  font-weight: 760;
  color: var(--text);
  background: linear-gradient(transparent 56%, rgba(255, 199, 82, 0.35) 0);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}

.benefit {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  padding: .9rem 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .55rem;
}

.benefit svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: var(--primary);
}

.contact-box {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 244, 255, 0.9));
  border: 1px solid var(--line-mid);
  border-radius: var(--radius-xl);
  padding: var(--space-7) var(--space-6);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--space-2);
}

.contact-box h3 {
  font-size: 1.9rem;
  margin: 0;
}

.contact-box p {
  margin: 0;
  color: var(--muted);
}

.phone {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-target);
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 1.58rem;
  margin: .2rem 0 .35rem;
}

.why-stats {
  margin-top: var(--space-7);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.stat {
  background: var(--surface-glass);
  border: 1px solid var(--line-mid);
  border-radius: var(--radius-lg);
  text-align: center;
  padding: var(--space-5) var(--space-3);
}

.stat strong {
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
  color: var(--accent-strong);
  font-size: clamp(2.1rem, 6vw, 4.1rem);
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-weight: 600;
}

/* Portfolio / Clients */
.portfolio-grid,
.quotes,
.logos-grid {
  display: grid;
  gap: 1rem;
}

.portfolio-grid,
.quotes,
.case-grid,
.logo-rows {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: var(--space-5);
}

.portfolio-card {
  background: var(--surface-glass);
  border: 1px solid var(--line-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .28s var(--ease), border-color .28s var(--ease);
  text-decoration: none;
  display: block;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 199, 82, 0.48);
}

.portfolio-card:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-color: color-mix(in srgb, var(--focus) 45%, var(--accent));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 16%, transparent);
}

.portfolio-card img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
}

.portfolio-card h3 {
  padding: .9rem 1rem 1rem;
  font-size: 1rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  margin: 0;
}

.portfolio-card .card-meta {
  padding: 0 1rem 1rem;
  font-size: .85rem;
  color: var(--muted);
}

.quotes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: var(--space-7);
}

.quote {
  margin: 0;
  border: 1px solid var(--line-mid);
  border-radius: var(--radius-lg);
  padding: 1rem;
  background: linear-gradient(145deg, var(--surface-raised), color-mix(in srgb, var(--surface-2) 88%, transparent));
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}

.quote:hover,
.quote:focus-within {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--primary) 24%, var(--line));
  box-shadow: 0 16px 30px rgba(40, 24, 80, 0.12);
}

.stars {
  color: var(--accent-strong);
  letter-spacing: .14em;
  font-size: .86rem;
  margin-top: .3rem;
  margin-bottom: .6rem;
  font-weight: 700;
}

.quote p {
  margin: 0 0 .65rem;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.7;
}

.quote cite {
  font-style: normal;
  color: var(--primary);
  font-weight: 700;
  font-size: .88rem;
}

.logos-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1.3rem;
}

.logo-item {
  min-height: 78px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  transition: transform .25s var(--ease), background-color .25s var(--ease);
  padding: .7rem;
}

.logo-item img {
  max-height: 36px;
  width: auto;
  transition: filter .25s var(--ease), opacity .25s var(--ease);
}

.logo-item:hover {
  transform: translateY(-2px);
  background: rgba(108, 58, 210, .12);
}

.section-cta {
  display: flex;
  justify-content: center;
}

/* FAQ */
.faq {
  background: linear-gradient(180deg, rgba(108, 58, 210, 0.05), transparent);
}

.faq-list {
  display: grid;
  gap: var(--space-3);
  max-width: 820px;
  margin: 0 auto;
}

.city-landing .faq-list {
  max-width: none;
  margin: 0;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: var(--touch-target);
  padding: 1.1rem 1.3rem;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  gap: .75rem;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}

.faq-item summary:hover {
  background: color-mix(in srgb, var(--surface-2) 70%, transparent);
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: -2px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--primary);
  flex: none;
  transition: transform .2s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  background: color-mix(in srgb, var(--surface-2) 84%, transparent);
}

.faq-item p {
  padding: 0 1.3rem 1.1rem;
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

/* Final CTA */
.cta-section {
  padding: var(--space-3) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section .container {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #c41a78 100%);
  color: #fff;
  position: relative;
  z-index: 1;
  padding: var(--space-7) var(--space-6);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: var(--space-4);
  color: var(--on-primary);
  position: relative;
  text-wrap: pretty;
}

.cta-section p {
  color: var(--on-primary);
  max-width: 52ch;
  margin: 0 auto var(--space-6);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  position: relative;
}

.btn-accent {
  background: var(--accent);
  color: var(--text);
  border-color: rgba(255, 199, 82, .5);
  box-shadow: 0 14px 32px rgba(255, 199, 82, .4);
  font-size: 1rem;
  padding: .75rem 2rem;
  position: relative;
}

.btn-accent:hover {
  background: var(--accent-hover);
  box-shadow: 0 18px 38px rgba(255, 199, 82, .5);
}

/* Contact subpage */
.contact-page .orb::before {
  top: 90px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: rgba(157, 15, 94, 0.2);
}

.contact-page .orb::after {
  bottom: 80px;
  left: -85px;
  width: 260px;
  height: 260px;
  background: rgba(255, 199, 82, 0.22);
}

.contact-page section[id] {
  scroll-margin-top: calc(76px + var(--space-3));
}

.contact-hero {
  position: relative;
  padding: var(--space-7) 0 var(--space-7);
  overflow: clip;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(168deg, rgba(255, 199, 82, 0.12), rgba(255, 199, 82, 0) 46%);
  clip-path: polygon(0 0, 100% 0, 100% 58%, 0 84%);
  z-index: -1;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(1.1rem, 3.6vw, 3.8rem);
  align-items: stretch;
}

.contact-kicker {
  margin: 0 0 .6rem;
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 800;
}

.contact-hero-copy .lead {
  max-width: 56ch;
  margin-bottom: var(--space-5);
}

.contact-hero-card {
  border: 1px solid color-mix(in srgb, var(--primary) 28%, #ffffff);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(248, 244, 255, 0.88));
  box-shadow: 0 20px 46px rgba(40, 24, 80, 0.16);
  padding: clamp(1.2rem, 3vw, 2rem);
  position: relative;
  overflow: hidden;
}

.contact-hero-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -70px;
  top: -50px;
  background: linear-gradient(140deg, rgba(255, 199, 82, 0.4), rgba(255, 199, 82, 0));
  border-radius: 28px;
  transform: rotate(22deg);
  pointer-events: none;
}

.contact-hero-card h2 {
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
  margin-bottom: var(--space-4);
}

.quick-contact-list {
  display: grid;
  gap: .65rem;
}

.quick-contact-item {
  border: 1px solid rgba(34, 28, 51, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  min-height: var(--touch-target);
  padding: .8rem .95rem;
  display: grid;
  gap: .14rem;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.quick-contact-item:hover {
  transform: translateY(-2px);
  border-color: rgba(157, 15, 94, 0.4);
  box-shadow: 0 10px 22px rgba(40, 24, 80, 0.13);
}

.quick-contact-item:focus-visible {
  border-color: color-mix(in srgb, var(--focus) 68%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 20%, transparent);
}

.quick-contact-item:active {
  transform: translateY(0);
}

.quick-contact-item strong {
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.quick-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 700;
}

.quick-contact-note {
  margin: var(--space-4) 0 0;
  color: var(--muted);
  font-size: .92rem;
  text-wrap: pretty;
}

.contact-details {
  padding-top: var(--space-7);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: var(--space-4);
}

.contact-card {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.95), rgba(248, 244, 255, 0.9));
  border: 1px solid rgba(34, 28, 51, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: 0 14px 30px rgba(40, 24, 80, 0.11);
  display: flex;
  flex-direction: column;
  gap: .8rem;
  height: 100%;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--primary) 30%, var(--line));
  box-shadow: 0 18px 36px rgba(40, 24, 80, 0.14);
}

.contact-card:focus-within {
  border-color: color-mix(in srgb, var(--focus) 64%, var(--line));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 16%, transparent), 0 18px 36px rgba(40, 24, 80, 0.14);
}

.contact-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin: 0;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  text-wrap: pretty;
}

.contact-address {
  margin: 0;
  color: var(--muted);
  font-style: normal;
  line-height: 1.68;
}

.contact-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.contact-card-main {
  background:
    linear-gradient(145deg, rgba(157, 15, 94, 0.92), rgba(112, 10, 66, 0.94));
  border-color: rgba(255, 199, 82, 0.34);
  color: #ffffff;
  box-shadow: 0 24px 44px rgba(100, 20, 68, 0.3);
}

.contact-card-main .service-no,
.contact-card-main h3,
.contact-card-main p,
.contact-card-main .contact-address {
  color: #ffffff;
}

.contact-card-main .btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.07);
}

.contact-card-main .btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
}

.contact-map {
  padding-top: var(--space-7);
}

.map-wrap {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(34, 28, 51, 0.1);
  overflow: hidden;
  box-shadow: 0 22px 42px rgba(40, 24, 80, 0.16);
  position: relative;
  isolation: isolate;
}

.map-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  pointer-events: none;
  border-radius: inherit;
}

.map-wrap iframe {
  width: 100%;
  min-height: 460px;
  border: 0;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}

.map-fallback-link {
  margin: var(--space-3) 0 0;
  text-align: right;
  font-size: .9rem;
}

/* References subpage */
.references-page .orb::before {
  top: 70px;
  right: -110px;
  width: 340px;
  height: 340px;
  background: color-mix(in srgb, var(--primary) 26%, transparent);
}

.references-page .orb::after {
  left: -90px;
  bottom: 100px;
  width: 290px;
  height: 290px;
  background: color-mix(in srgb, var(--accent) 30%, transparent);
}

.references-hero {
  padding: var(--space-7) 0 var(--space-7);
  position: relative;
}

.references-jump-nav {
  padding-top: 0;
}

.references-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: start;
  gap: clamp(1.4rem, 3.5vw, 3.8rem);
}

.references-hero-copy h1 {
  line-height: 1.08;
  letter-spacing: .005em;
  max-width: 18ch;
  font-size: clamp(2.1rem, 5.2vw, 3.8rem);
}

.references-score {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 46px color-mix(in srgb, var(--primary-dark) 18%, transparent);
  padding: clamp(1.1rem, 2.6vw, 1.8rem);
}

.references-score h2 {
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  margin-bottom: var(--space-4);
}

.references-score ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .75rem;
}

.references-score li {
  border: 1px solid color-mix(in srgb, var(--line) 86%, transparent);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  padding: var(--space-2) var(--space-3);
  display: grid;
  gap: .16rem;
}

.references-score li strong {
  font-size: 1rem;
}

.references-score li span {
  color: var(--muted);
  font-size: .87rem;
}

.score-stats {
  margin-top: var(--space-4);
  border-top: 1px dashed color-mix(in srgb, var(--text) 24%, transparent);
  padding-top: var(--space-4);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}

.score-stats strong {
  display: block;
  color: var(--primary);
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  line-height: 1;
}

.score-stats span {
  color: var(--muted);
  font-size: .84rem;
}

.references-showcase {
  padding-top: var(--space-7);
}

.case-grid {
  display: grid;
  gap: var(--space-5);
}

.case-review-card {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(155deg, var(--surface), var(--surface-2));
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.case-review-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary) 28%, var(--line));
}

.case-review-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.case-body {
  padding: clamp(1.1rem, 2.4vw, 1.8rem);
  display: flex;
  flex-direction: column;
}

.case-topline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .8rem;
}

.case-topline h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.case-quote {
  margin: .7rem 0 .4rem;
  color: var(--muted);
  font-size: .99rem;
  line-height: 1.7;
}

.case-author {
  margin: 0 0 .7rem;
  color: var(--primary);
  font-weight: 700;
  font-size: .92rem;
}

.case-work {
  border: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  background: color-mix(in srgb, var(--surface) 88%, var(--surface-2));
}

.case-work strong {
  display: block;
  margin-bottom: .34rem;
  font-size: .92rem;
}

.case-work ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
  font-size: .91rem;
  display: grid;
  gap: .2rem;
}

.case-comment {
  margin: var(--space-3) 0 0;
  border-left: 3px solid color-mix(in srgb, var(--primary) 55%, transparent);
  padding-left: var(--space-2);
  color: var(--muted);
  font-size: .92rem;
}

.case-body a {
  margin-top: var(--space-4);
  align-self: flex-start;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: .16em;
}

.case-body a:hover {
  color: var(--primary-dark);
}

.reference-logos {
  padding-top: var(--space-6);
  content-visibility: auto;
  contain-intrinsic-size: 320px;
}

.logo-rows {
  margin-top: var(--space-2);
  display: grid;
  gap: .9rem;
}

.logo-marquee {
  overflow: hidden;
  position: relative;
  contain: paint;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.logo-marquee.is-reverse .logo-track {
  animation-direction: reverse;
}

.logo-rows .logo-marquee:nth-child(3) .logo-track {
  animation-duration: 62s;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  will-change: transform;
  animation: logos-slide 56s linear infinite;
}

.logo-chip {
  min-width: 182px;
  min-height: 90px;
  border: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  contain: layout paint;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .55rem .7rem;
}

.logo-chip img {
  max-height: 70px;
  max-width: 94%;
  width: auto;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.method-grid article {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(155deg, var(--surface), var(--surface-2));
  padding: var(--space-5);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--primary-dark) 10%, transparent);
}

.method-grid span {
  display: inline-flex;
  min-width: 32px;
  min-height: 32px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 800;
  color: var(--surface);
  background: var(--primary);
  margin-bottom: .72rem;
}

.method-grid h3 {
  font-size: 1.25rem;
  margin-bottom: .4rem;
}

.method-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

@keyframes logos-slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-track {
    animation: none;
    transform: none;
  }
}

footer {
  margin-top: var(--space-3);
  padding: var(--space-7) 0 var(--space-6);
  background: linear-gradient(180deg, #f2edff, #ffffff);
  border-top: 1px solid rgba(34, 28, 51, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: var(--space-5);
}

.footer-brand p,
.footer-col a,
.footer-col address {
  color: var(--muted);
  margin-top: 0.5rem;
  font-size: .92rem;
  line-height: 1.7;
  font-style: normal;
}

.footer-col address a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-col a {
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease), text-underline-offset .2s var(--ease);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-col a:focus-visible {
  color: var(--primary-dark);
  text-decoration-color: currentColor;
}

.footer-col h3 {
  margin: 0 0 .65rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--primary);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .36rem;
}

.social {
  display: flex;
  gap: .45rem;
  margin-top: .7rem;
}

.social a {
  min-height: 44px;
  min-width: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: rgba(255, 255, 255, .74);
  font-size: .86rem;
  font-weight: 700;
  transition: transform .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}

.social a:hover {
  transform: translateY(-2px);
  background: rgba(108, 58, 210, .15);
  border-color: color-mix(in srgb, var(--primary) 30%, var(--line));
}

.social a:active {
  transform: translateY(0);
}

.social a:focus-visible {
  color: var(--primary-dark);
  border-color: color-mix(in srgb, var(--focus) 45%, var(--line));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 14%, transparent);
}

.copyright {
  margin-top: var(--space-5);
  border-top: 1px solid var(--line-soft);
  padding-top: 1rem;
  color: var(--muted);
  font-size: .82rem;
  text-align: center;
}

.copyright a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.copyright a:hover {
  color: var(--primary-dark);
}

.cookie-settings-btn {
  font: inherit;
  font-size: .82rem;
  color: var(--primary);
  font-weight: 700;
  min-height: var(--touch-target);
  display: inline-flex;
  align-items: center;
  border: 0;
  background: none;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  padding: .25rem 0;
  transition: color .2s var(--ease), text-underline-offset .2s var(--ease), box-shadow .2s var(--ease);
}

.cookie-settings-btn:hover {
  color: var(--primary-dark);
  text-underline-offset: 4px;
}

.cookie-settings-btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 8px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 14%, transparent);
}

.legal-page .orb::before {
  top: 88px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: rgba(157, 15, 94, 0.18);
}

.legal-page .orb::after {
  left: -90px;
  bottom: 110px;
  width: 270px;
  height: 270px;
  background: rgba(255, 199, 82, 0.22);
}

.legal-hero {
  padding: var(--space-7) 0 var(--space-7);
}

.legal-hero-inner {
  border: 1px solid rgba(34, 28, 51, 0.12);
  border-radius: var(--radius-xl);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 255, 0.9));
  box-shadow: 0 18px 40px rgba(40, 24, 80, 0.14);
}

.legal-kicker {
  margin: 0 0 .55rem;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--primary);
  font-weight: 800;
}

.legal-updated {
  margin: var(--space-4) 0 0;
  color: var(--muted);
  font-size: .88rem;
}

.legal-content {
  padding-top: 0;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.legal-card {
  border: 1px solid rgba(34, 28, 51, 0.11);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 255, 0.9));
  box-shadow: 0 14px 30px rgba(40, 24, 80, 0.11);
  padding: clamp(1rem, 2.3vw, 1.6rem);
}

.legal-card h2 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  margin-bottom: .65rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: .95rem;
}

.legal-card p {
  margin: 0 0 .8rem;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  margin: 0;
  padding-left: 1.05rem;
  display: grid;
  gap: .45rem;
}

.legal-card a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cookie-consent {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: end center;
  padding: clamp(.8rem, 2vw, 1.4rem);
  background: linear-gradient(0deg, rgba(24, 15, 36, 0.58), rgba(24, 15, 36, 0.24));
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent-card {
  width: min(900px, 100%);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.98), rgba(247, 242, 255, 0.96));
  box-shadow: 0 26px 56px rgba(26, 15, 44, 0.35);
  padding: clamp(1rem, 2.4vw, 1.5rem);
  display: grid;
  gap: .95rem;
  position: relative;
  overflow: hidden;
  animation: cookie-banner-in .28s var(--ease) both;
}

.cookie-consent-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -90px;
  top: -80px;
  border-radius: 30px;
  transform: rotate(20deg);
  background: linear-gradient(145deg, rgba(255, 199, 82, 0.34), rgba(255, 199, 82, 0));
  pointer-events: none;
}

.cookie-badge {
  position: absolute;
  top: .75rem;
  right: .9rem;
  font-size: 1.4rem;
}

.cookie-head h2 {
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  margin-bottom: .4rem;
}

.cookie-head p {
  margin: 0;
  color: var(--muted);
  max-width: 65ch;
}

.cookie-kicker {
  margin: 0 0 .25rem;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--primary);
  font-weight: 800;
}

.cookie-options {
  display: grid;
  gap: .55rem;
}

.cookie-option {
  border: 1px solid var(--line-mid);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  min-height: var(--touch-target);
  padding: .7rem .85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}

.cookie-option:hover {
  border-color: color-mix(in srgb, var(--primary) 24%, var(--line));
  background: rgba(255, 255, 255, 0.96);
}

.cookie-option:focus-within {
  border-color: color-mix(in srgb, var(--focus) 44%, var(--line));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 14%, transparent);
}

.cookie-option strong {
  display: block;
  font-size: .95rem;
  color: var(--text);
}

.cookie-option small {
  display: block;
  color: var(--muted);
  margin-top: .1rem;
}

.cookie-option input {
  inline-size: 1.1rem;
  block-size: 1.1rem;
  accent-color: var(--primary);
}

.cookie-option input:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.cookie-option-required {
  border-color: rgba(108, 58, 210, 0.2);
  background: rgba(108, 58, 210, 0.08);
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .55rem;
}

.cookie-note {
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
}

.cookie-note a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes cookie-banner-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

:where(a, button):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.home-services-lead {
  margin: 0 0 var(--space-5);
  max-width: 74ch;
}

/* Services subpage */
.services-page .orb::before {
  top: 85px;
  right: -105px;
  width: 330px;
  height: 330px;
  background: rgba(157, 15, 94, 0.2);
}

.services-page .orb::after {
  left: -88px;
  bottom: 98px;
  width: 280px;
  height: 280px;
  background: rgba(255, 199, 82, 0.22);
}

.services-page section[id] {
  scroll-margin-top: calc(76px + var(--space-3));
}

.services-hero {
  padding: var(--space-7) 0 var(--space-7);
}

.hero-shell {
  border: 1px solid rgba(34, 28, 51, 0.12);
  border-radius: var(--radius-xl);
  padding: clamp(1.4rem, 3.5vw, 3rem);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 244, 255, 0.84)),
    radial-gradient(circle at 90% 10%, rgba(255, 199, 82, 0.2), transparent 38%);
  box-shadow: 0 22px 50px rgba(40, 24, 80, 0.14);
}

.hero-shell.shape-topright-blue {
  position: relative;
  overflow: hidden;
}

.hero-shell.shape-topright-blue::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -94px;
  top: -94px;
  border-radius: 34px;
  transform: rotate(20deg);
  opacity: .9;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(46, 119, 255, 0.4), rgba(46, 119, 255, 0.08));
}

.hero-shell.shape-topright-blue>* {
  position: relative;
  z-index: 1;
}

.hero-topline {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .76rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: .9rem;
}

.hero-shell h1 {
  font-size: clamp(2rem, 4.5vw, 3.3rem);
  max-width: 18ch;
  margin-bottom: var(--space-4);
}

.hero-shell .lead {
  max-width: 68ch;
  font-size: clamp(.98rem, 1.25vw, 1.12rem);
  margin-bottom: var(--space-5);
}

.metrics-strip {
  margin-top: var(--space-6);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
}

.metric {
  border: 1px solid rgba(34, 28, 51, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
  padding: .95rem 1rem;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}

.metric strong {
  display: block;
  font-size: 1.4rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: .3rem;
}

.metric span {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
}

.metric:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--primary) 28%, var(--line));
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(40, 24, 80, 0.1);
}

.jump-nav {
  padding: 0 0 var(--space-7);
}

.jump-nav .container {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.chip {
  border: 1px solid rgba(34, 28, 51, 0.14);
  border-radius: 999px;
  min-height: var(--touch-target);
  padding: .52rem .92rem;
  display: inline-flex;
  align-items: center;
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.78);
  transition: transform .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}

.chip:hover {
  transform: translateY(-2px);
  border-color: rgba(157, 15, 94, 0.38);
  background: rgba(157, 15, 94, 0.1);
}

.chip:active {
  transform: translateY(0);
}

.chip:focus-visible {
  border-color: color-mix(in srgb, var(--focus) 52%, var(--accent));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 16%, transparent);
}

.segment-section {
  padding-top: var(--space-4);
}

.segment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.segment-card {
  border: 1px solid rgba(34, 28, 51, 0.13);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, .96), rgba(248, 244, 255, .86));
  padding: var(--space-5);
  box-shadow: 0 16px 36px rgba(40, 24, 80, 0.1);
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease), background-color .28s var(--ease);
}

.segment-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary) 30%, var(--line));
  box-shadow: 0 22px 42px rgba(40, 24, 80, 0.14);
}

.segment-card:focus-within {
  border-color: color-mix(in srgb, var(--focus) 42%, var(--accent));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 12%, transparent), 0 18px 36px rgba(40, 24, 80, 0.12);
}

.segment-card.shape-indigo {
  position: relative;
  overflow: hidden;
}

.segment-card.shape-indigo::after {
  content: "";
  position: absolute;
  width: 148px;
  height: 148px;
  right: -72px;
  bottom: -64px;
  border-radius: 30px;
  transform: rotate(16deg);
  opacity: .88;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(108, 58, 210, 0.28), rgba(108, 58, 210, 0));
}

.segment-card.shape-indigo>* {
  position: relative;
  z-index: 1;
}

.segment-card h3 {
  font-size: 1.35rem;
  margin-bottom: .45rem;
}

.segment-tag {
  display: inline-block;
  margin-bottom: .7rem;
  font-size: .75rem;
  letter-spacing: .1em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
}

.segment-card p {
  margin: 0 0 .85rem;
  color: var(--muted);
  font-size: .95rem;
}

.segment-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .4rem;
}

.segment-card li {
  position: relative;
  padding-left: 1.05rem;
  color: var(--text);
  font-weight: 600;
  font-size: .9rem;
}

.segment-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.service-longform {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.service-longform .service-card {
  padding: clamp(1.2rem, 2.3vw, 1.8rem);
  gap: var(--space-3);
}

.service-longform .service-card .service-no {
  margin-bottom: .2rem;
}

.service-longform .service-card h3 {
  margin-bottom: .15rem;
}

.service-longform .service-card::after {
  content: none;
}

.service-longform .service-card.shape-magenta::after,
.service-longform .service-card.shape-gold::after,
.service-longform .service-card.shape-indigo::after,
.service-longform .service-card.shape-topright-blue::after,
.service-longform .service-card.shape-topright-rose::after {
  content: "";
  width: 148px;
  height: 148px;
  right: -70px;
  bottom: -70px;
  border-radius: 30px;
  transform: rotate(20deg);
  opacity: .9;
}

.service-longform .service-card.shape-magenta::after {
  background: linear-gradient(145deg, rgba(157, 15, 94, 0.26), rgba(157, 15, 94, 0));
}

.service-longform .service-card.shape-gold::after {
  width: 142px;
  height: 142px;
  right: auto;
  left: -68px;
  top: -68px;
  bottom: auto;
  border-radius: 28px;
  transform: rotate(18deg);
  background: linear-gradient(145deg, rgba(255, 199, 82, 0.34), rgba(255, 199, 82, 0));
}

.service-longform .service-card.shape-indigo::after {
  width: 146px;
  height: 146px;
  right: -72px;
  bottom: -64px;
  border-radius: 30px;
  transform: rotate(16deg);
  background: linear-gradient(145deg, rgba(108, 58, 210, 0.28), rgba(108, 58, 210, 0));
}

.service-longform .service-card.shape-topright-blue::after {
  width: 152px;
  height: 152px;
  right: -72px;
  top: -72px;
  bottom: auto;
  border-radius: 28px;
  transform: rotate(19deg);
  opacity: .96;
  background: linear-gradient(145deg, rgba(46, 119, 255, 0.42), rgba(46, 119, 255, 0.08));
}

.service-longform .service-card.shape-topright-rose::after {
  width: 152px;
  height: 152px;
  right: -72px;
  top: -72px;
  bottom: auto;
  border-radius: 28px;
  transform: rotate(19deg);
  background: linear-gradient(145deg, rgba(157, 15, 94, 0.34), rgba(255, 199, 82, 0.1));
}

.service-longform .service-card p+p {
  margin-top: .65rem;
}

.bundle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.bundle {
  border: 1px solid rgba(34, 28, 51, 0.13);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .9rem;
  box-shadow: 0 14px 30px rgba(40, 24, 80, 0.1);
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease), background-color .28s var(--ease);
}

.bundle:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary) 28%, var(--line));
  box-shadow: 0 22px 40px rgba(40, 24, 80, 0.14);
}

.bundle:focus-within {
  border-color: color-mix(in srgb, var(--focus) 42%, var(--accent));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 12%, transparent), 0 20px 38px rgba(40, 24, 80, 0.13);
}

.is-featured {
  border-color: rgba(157, 15, 94, 0.38);
  box-shadow: 0 20px 40px rgba(157, 15, 94, 0.18);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(255, 237, 246, 0.9));
}

.bundle h3 {
  font-size: 1.26rem;
  margin: 0;
}

.bundle p {
  margin: 0;
  color: var(--muted);
  font-size: .93rem;
}

.bundle ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .46rem;
}

.bundle li {
  padding-left: 1.05rem;
  position: relative;
  font-size: .9rem;
  color: var(--text);
  font-weight: 600;
}

.bundle li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
}

/* City landing redesign */
.city-landing .city-hero {
  padding: var(--space-7) 0 var(--space-5);
}

.city-landing section[id] {
  scroll-margin-top: calc(76px + var(--space-3));
}

.city-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(1rem, 2.8vw, 2.4rem);
  align-items: stretch;
}

.city-hero-copy .hero-topline {
  letter-spacing: .13em;
}

.city-hero-copy .lead {
  max-width: 58ch;
}

.city-inline-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.city-inline-link:hover {
  color: var(--primary-dark);
}

.city-inline-link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 10px;
}

.city-command-card {
  border: 1px solid rgba(34, 28, 51, 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2vw, 1.5rem);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(246, 239, 255, 0.9)),
    radial-gradient(circle at 95% 8%, rgba(255, 199, 82, 0.24), transparent 44%);
  box-shadow: 0 16px 36px rgba(40, 24, 80, 0.12);
  display: flex;
  flex-direction: column;
  gap: .85rem;
  min-height: clamp(360px, 40vw, 430px);
}

.city-command-card h2 {
  margin: 0;
  font-size: clamp(1.18rem, 2.4vw, 1.5rem);
  text-wrap: balance;
}

.city-command-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .5rem;
  margin-bottom: .2rem;
}

.city-command-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text);
  font-size: .95rem;
}

.city-command-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: .1rem;
  color: var(--accent-strong);
  font-size: .78rem;
}

.city-command-quickstats {
  display: grid;
  gap: .45rem;
  margin-top: auto;
  margin-bottom: .1rem;
  padding-top: .45rem;
  border-top: 1px solid rgba(34, 28, 51, 0.09);
}

.city-command-quickstats span {
  font-size: .9rem;
  color: var(--muted);
}

.city-command-quickstats strong {
  color: var(--primary);
}

.city-proof {
  padding: 0 0 var(--space-6);
}

.city-proof-ribbon {
  border: 1px solid rgba(34, 28, 51, 0.12);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 244, 255, 0.86));
  box-shadow: 0 16px 36px rgba(40, 24, 80, 0.1);
  padding: clamp(.8rem, 1.8vw, 1.15rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
}

.city-proof-item {
  border: 1px solid rgba(34, 28, 51, 0.11);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.75);
  padding: .85rem .95rem;
}

.city-proof-item h3 {
  margin: 0 0 .3rem;
  font-size: 1rem;
}

.city-proof-item p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}

.city-segment-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-4);
}

.city-segment-card {
  min-height: 100%;
}

.city-segment-main {
  grid-column: span 7;
}

.city-segment-side {
  grid-column: span 7;
}

.city-segment-grid .city-segment-card:nth-child(2),
.city-segment-grid .city-segment-card:nth-child(3) {
  grid-column: span 5;
}

.city-stack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.city-stack-card {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  min-height: 100%;
}

.city-stack-card h3 {
  margin-bottom: .1rem;
}

.city-stack-card .city-inline-link {
  margin-top: auto;
  width: fit-content;
}

.city-process {
  padding-top: var(--space-6);
}

.city-process-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.city-process-step {
  position: relative;
  border: 1px solid rgba(34, 28, 51, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.85);
  padding: var(--space-4);
}

.city-process-step span {
  display: inline-flex;
  min-width: 2rem;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  background: rgba(108, 58, 210, 0.14);
  color: var(--primary);
  margin-bottom: .55rem;
}

.city-process-step h3 {
  margin: 0 0 .35rem;
  font-size: 1.07rem;
}

.city-process-step p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.city-reference-lead {
  margin-bottom: var(--space-5);
}

.city-quote-inline {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 1.2rem 1.4rem;
}

.city-contact-box {
  position: relative;
  overflow: hidden;
}

.city-contact-promises {
  list-style: none;
  margin: .2rem 0 .8rem;
  padding: 0;
  display: grid;
  gap: .35rem;
}

.city-contact-promises li {
  position: relative;
  padding-left: 1.05rem;
  font-size: .9rem;
  color: var(--muted);
}

.city-contact-promises li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
}

.home-contact-promises {
  margin: .2rem 0 .95rem;
}

.home-contact-promises li::before {
  content: "●";
  top: .06rem;
  color: var(--primary);
  font-size: .72rem;
  font-weight: 800;
}

.city-landing .portfolio-grid {
  align-items: stretch;
  gap: clamp(.85rem, 1.6vw, 1.25rem);
  padding: clamp(.3rem, 1vw, .7rem) 0 0;
}

.city-landing .portfolio-card {
  display: flex;
  flex-direction: column;
  border-color: color-mix(in srgb, var(--line) 88%, var(--primary));
  background: color-mix(in srgb, var(--surface) 94%, var(--bg-soft));
  box-shadow: 0 10px 20px rgba(40, 24, 80, 0.07);
  transition: transform .24s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease), background-color .24s var(--ease);
}

.city-landing .portfolio-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--primary) 22%, var(--line));
  box-shadow: 0 14px 24px rgba(40, 24, 80, 0.1);
}

.city-landing .portfolio-card:focus-visible {
  border-color: color-mix(in srgb, var(--focus) 40%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 12%, transparent), 0 14px 24px rgba(40, 24, 80, 0.1);
}

.city-landing .portfolio-card-body {
  display: flex;
  flex-direction: column;
  gap: clamp(.45rem, 1vw, .65rem);
  padding: clamp(.9rem, 1.8vw, 1.2rem);
  min-height: 0;
  flex: 1;
}

.city-landing .portfolio-kicker {
  margin: 0;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 650;
  color: color-mix(in srgb, var(--primary) 76%, var(--muted));
  line-height: 1.35;
}

.city-landing .portfolio-card h3 {
  padding: 0;
  font-size: 1.03rem;
  line-height: 1.3;
  font-weight: 640;
}

.city-landing .portfolio-card p {
  margin: 0;
  color: var(--muted);
  font-size: .91rem;
  line-height: 1.68;
}

.city-landing .portfolio-card .card-meta {
  margin-top: auto;
  padding: 0;
  font-size: .8rem;
  color: color-mix(in srgb, var(--muted) 92%, var(--primary));
}

@media (max-width: 1024px) {
  .city-landing .portfolio-grid {
    gap: var(--space-3);
  }
}

@media (max-width: 1024px) {

  .hero-grid,
  .intro-grid,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .why-copy h2,
  .why-copy p {
    max-width: none;
  }

  .contact-box {
    margin-top: var(--space-2);
  }

  .section-head {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }

  .section-head p {
    width: 100%;
    max-width: 58ch;
    margin-inline: auto;
  }

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

  .city-hero-grid,
  .city-process-track,
  .city-proof-ribbon,
  .city-stack-grid {
    grid-template-columns: 1fr;
  }

  .city-command-card {
    min-height: auto;
  }

  .city-segment-main,
  .city-segment-side,
  .city-segment-grid .city-segment-card:nth-child(2),
  .city-segment-grid .city-segment-card:nth-child(3) {
    grid-column: span 12;
  }

  .metrics-strip,
  .bundle-grid,
  .segment-grid,
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  h1 {
    max-width: 16ch;
  }

  section {
    padding: var(--space-7) 0;
  }

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

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

  .references-hero-grid,
  .case-review-card,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .case-review-card img {
    min-height: 260px;
    max-height: 320px;
  }

  .contact-card .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
    min-height: var(--touch-target-mobile);
    min-width: var(--touch-target-mobile);
    padding-inline: 1rem;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .nav {
    position: absolute;
    top: calc(100% + .55rem);
    left: 0;
    right: 0;
    z-index: 30;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.97), rgba(248, 244, 255, 0.93));
    border: 1px solid var(--line-mid);
    border-radius: 18px;
    box-shadow: 0 22px 36px rgba(40, 24, 80, 0.2);
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
    padding: .6rem;
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s var(--ease);
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    min-height: var(--touch-target-mobile);
    width: 100%;
    padding: .65rem .8rem;
    border-radius: 12px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid transparent;
  }

  .nav a:hover,
  .nav a:focus-visible,
  .nav a[aria-current="page"] {
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 8%, #ffffff);
    border-color: color-mix(in srgb, var(--primary) 24%, transparent);
  }

  .header-nav-wrap {
    gap: var(--space-2);
  }

  .stats-grid,
  .portfolio-grid,
  .quotes,
  .logos-grid,
  .benefits {
    grid-template-columns: 1fr;
  }

  .metrics-strip,
  .bundle-grid,
  .segment-grid,
  .city-segment-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .city-proof-item {
    padding: .95rem 1rem;
  }

  .cookie-consent {
    place-items: end stretch;
    padding: .6rem;
  }

  .cookie-consent-card {
    border-radius: 16px;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .btn {
    width: 100%;
  }

  .jump-nav .container {
    justify-content: center;
  }

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

  .hero-shell h1 {
    max-width: 100%;
  }

  .service-longform .service-card.shape-magenta::after,
  .service-longform .service-card.shape-gold::after,
  .service-longform .service-card.shape-indigo::after,
  .service-longform .service-card.shape-topright-blue::after,
  .service-longform .service-card.shape-topright-rose::after {
    width: 116px;
    height: 116px;
    top: auto;
    left: auto;
    right: -54px;
    bottom: -58px;
    border-radius: 26px;
    transform: rotate(18deg);
  }

  .service-longform .service-card.shape-topright-blue::after,
  .service-longform .service-card.shape-topright-rose::after {
    top: -52px;
    bottom: auto;
    right: -48px;
  }

  .section-head {
    margin-bottom: var(--space-5);
  }

  section {
    padding: var(--space-7) 0;
  }

  .contact-hero::before {
    clip-path: polygon(0 0, 100% 0, 100% 62%, 0 86%);
  }

  .score-stats {
    grid-template-columns: 1fr;
  }

  .logo-chip {
    min-width: 156px;
    min-height: 82px;
  }

  .logo-track {
    animation-duration: 42s;
  }

  .logo-rows .logo-marquee:nth-child(3) .logo-track {
    animation-duration: 47s;
  }

  .map-wrap iframe {
    min-height: 360px;
  }

  .contact-final-points {
    grid-template-columns: 1fr;
  }

  .contact-final-cta .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(1200px, calc(100% - 1.4rem));
  }

  .header-inner {
    min-height: 74px;
  }

  .contact-box h3 {
    font-size: 1.5rem;
  }

  .phone {
    font-size: 1.28rem;
  }
}

@media (hover: none),
(pointer: coarse) {

  .btn,
  .nav a,
  .chip,
  .city-inline-link,
  .case-body a,
  .quick-contact-item,
  .cookie-option,
  .cookie-actions .btn,
  .social a {
    min-height: var(--touch-target-mobile);
  }

  .cookie-option {
    padding: .9rem 1rem;
  }

  .cookie-option input {
    inline-size: 1.25rem;
    block-size: 1.25rem;
  }

  .btn:hover,
  .service-card:hover,
  .metric:hover,
  .segment-card:hover,
  .bundle:hover,
  .quote:hover,
  .portfolio-card:hover,
  .logo-item:hover,
  .contact-card:hover,
  .quick-contact-item:hover,
  .case-review-card:hover,
  .chip:hover,
  .social a:hover {
    transform: none;
  }
}

body.nav-open {
  overflow: hidden;
}

/* City map subpage */
.city-map-page .orb::before {
  width: 320px;
  height: 320px;
  top: 70px;
  right: -110px;
  background: rgba(157, 15, 94, 0.18);
}

.city-map-page .orb::after {
  width: 270px;
  height: 270px;
  left: -90px;
  bottom: 90px;
  background: rgba(255, 199, 82, 0.2);
}

.city-map-hero {
  padding: var(--space-7) 0 var(--space-7);
}

.city-map-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.1rem, 3.4vw, 3rem);
  align-items: stretch;
}

.city-kicker {
  margin: 0 0 .65rem;
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 800;
}

.city-highlight {
  border: 1px solid color-mix(in srgb, var(--primary) 26%, #ffffff);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(248, 244, 255, 0.88));
  box-shadow: 0 20px 46px rgba(40, 24, 80, 0.16);
  padding: clamp(1.1rem, 2.8vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.city-highlight::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -70px;
  top: -45px;
  border-radius: 24px;
  transform: rotate(20deg);
  background: linear-gradient(140deg, rgba(255, 199, 82, 0.4), rgba(255, 199, 82, 0));
  pointer-events: none;
}

.city-highlight-tag {
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
}

.city-highlight h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.city-highlight p {
  margin: 0;
  color: var(--muted);
}

.city-highlight-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .45rem;
}

.city-highlight-points li {
  border: 1px solid rgba(34, 28, 51, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  padding: .5rem .7rem;
  color: var(--text);
  font-size: .91rem;
  font-weight: 600;
  line-height: 1.4;
}

.city-highlight .btn {
  margin-top: var(--space-2);
  align-self: flex-start;
}

.city-map-list {
  padding-top: 0;
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.region-card {
  border: 1px solid rgba(34, 28, 51, 0.1);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 255, 0.9));
  box-shadow: 0 12px 28px rgba(40, 24, 80, 0.1);
  padding: clamp(1rem, 2.2vw, 1.5rem);
}

.region-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .8rem;
  margin-bottom: .55rem;
}

.region-head h3 {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.2;
}

.region-head span {
  font-size: .77rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 800;
  white-space: nowrap;
}

.region-card p {
  margin: 0 0 .9rem;
  color: var(--muted);
  font-size: .92rem;
}

.city-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .35rem;
}

.city-list li {
  display: block;
  border: 1px solid rgba(34, 28, 51, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  padding: 0;
}

.city-inline-link {
  display: flex;
  align-items: center;
  min-height: var(--touch-target);
  padding: .5rem .7rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.city-note {
  margin: var(--space-5) 0 0;
  color: var(--muted);
  font-size: .88rem;
}

@media (max-width: 992px) {
  .city-map-hero-grid {
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .cookie-consent-card {
    animation: none;
  }
}