:root {
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  --shadow-lg: 0 20px 35px -18px rgba(15, 23, 42, 0.35);
  --shadow-md: 0 12px 28px -18px rgba(15, 23, 42, 0.22);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1280px;
  --switcher-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: #ffffff;
  color: #0f172a;
}

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

button {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.page {
  min-height: 100vh;
  /* padding-top: calc(var(--switcher-height) + 20px); */
}

.site-switcher {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 1000;
  display: flex;
  gap: 8px;
  width: min(calc(100% - 24px), 860px);
  padding: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-xl);
  transform: translateX(-50%);
  overflow-x: auto;
  backdrop-filter: blur(12px);
  display: none;
}

.site-switcher__button {
  flex: 1 0 auto;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #374151;
  padding: 11px 20px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.site-switcher__button:hover {
  background: #f3f4f6;
}

.site-switcher__button.is-active {
  background: #111827;
  color: #ffffff;
}

.page-header {
  position: relative;
  z-index: 2;
}

.page-header__inner,
.hero,
.section,
.footer-inner {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.page-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand--serif {
  font-family: Georgia, "Times New Roman", serif;
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
  color: inherit;
}

.nav a {
  transition: color 0.25s ease;
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero {
  padding-top: 96px;
  padding-bottom: 96px;
}

.hero__content {
  max-width: 768px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.hero__title {
  margin: 0 0 24px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero__title--xl {
  font-size: clamp(3rem, 6vw, 4.75rem);
}

.hero__title--lg {
  font-size: clamp(2.8rem, 5vw, 4rem);
}

.hero__title--serif {
  font-family: Georgia, "Times New Roman", serif;
}

.hero__text {
  margin: 0 0 32px;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.6;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 32px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

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

.cta--round {
  border-radius: 999px;
}

.cta--square {
  border-radius: 0;
}

.cta__icon {
  width: 20px;
  height: 20px;
}

.section-title {
  margin: 0 0 20px;
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.section-title--xl {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
}

.section-title--lg {
  font-size: clamp(2.2rem, 3.6vw, 3rem);
}

.section-title--serif {
  font-family: Georgia, "Times New Roman", serif;
}

.section-text {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.7;
}

.grid {
  display: grid;
}

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

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

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

.cards {
  margin-top: 48px;
}

.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: block;
}

.card__title {
  margin: 0 0 12px;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.35;
}

.card__text {
  margin: 0;
  line-height: 1.65;
}

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

.contact-list {
  display: grid;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-top: 4px;
}

.contact-item__title {
  margin: 0 0 8px;
  font-weight: 700;
}

.contact-item__text,
.contact-item__text a {
  margin: 0;
  line-height: 1.7;
}

.footer {
  margin-top: 0;
}

.footer-inner {
  padding-top: 32px;
  padding-bottom: 32px;
  text-align: center;
}

.stats-grid {
  display: grid;
  gap: 24px;
}

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

.stat-box {
  padding: 32px;
  border-radius: var(--radius-md);
}

.stat-box__value {
  margin: 0 0 8px;
  font-size: clamp(2.4rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.stat-box__label {
  margin: 0;
  line-height: 1.6;
}

.center-copy {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-badge--round {
  width: 80px;
  height: 80px;
  border-radius: 999px;
}

.icon-badge--soft {
  width: 48px;
  height: 48px;
  border-radius: 999px;
}

.quote {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.quote__mark {
  font-size: 5rem;
  line-height: 1;
}

.quote__text {
  margin: 0 0 24px;
  line-height: 1.6;
}

.quote__author {
  margin: 0;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 64px;
  align-items: center;
}

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

.panel {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.law-contact {
  overflow: hidden;
  border-radius: 24px;
}

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

.showcase-side {
  display: flex;
  align-items: center;
  justify-content: center;
}

.architecture-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.architecture-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 50px,
    rgba(255, 255, 255, 0.1) 50px,
    rgba(255, 255, 255, 0.1) 51px
  );
  opacity: 0.1;
}

.architecture-hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.uppercase-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
}

.muted-stack {
  display: grid;
  gap: 40px;
}

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

.stats-line__item {
  text-align: center;
}

.stats-line__value {
  margin: 0 0 12px;
  font-size: clamp(3.2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.stats-line__label {
  margin: 0;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.theme-tech {
  background: #020617;
  color: #ffffff;
}

.theme-tech .page-header {
  border-bottom: 1px solid #1e293b;
}

.theme-tech .brand {
  font-size: 2rem;
  background: linear-gradient(90deg, #60a5fa 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.theme-tech .nav a:hover {
  color: #60a5fa;
}

.theme-tech .hero__title strong {
  background: linear-gradient(90deg, #60a5fa 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.theme-tech .hero__text,
.theme-tech .section-text,
.theme-tech .card__text,
.theme-tech .contact-item__text {
  color: #94a3b8;
}

.theme-tech .cta {
  background: #3b82f6;
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.theme-tech .cta:hover {
  background: #2563eb;
}

.theme-tech .card {
  padding: 32px;
  border: 1px solid #1e293b;
  border-radius: 20px;
  background: #0f172a;
}

.theme-tech .card:hover {
  border-color: #3b82f6;
}

.theme-tech .card__icon,
.theme-tech .contact-item__icon {
  color: #60a5fa;
}

.theme-tech .contact-section {
  border-top: 1px solid #1e293b;
}

.theme-tech .footer {
  border-top: 1px solid #1e293b;
}

.theme-tech .footer-inner {
  color: #64748b;
}

.theme-creative {
  background: #fffbeb;
  color: #111827;
}

.theme-creative .page-header {
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.06);
}

.theme-creative .brand {
  font-size: 2.25rem;
  color: #d97706;
}

.theme-creative .nav {
  color: #4b5563;
}

.theme-creative .nav a:hover {
  color: #d97706;
}

.theme-creative .hero {
  padding-top: 128px;
  padding-bottom: 128px;
}

.theme-creative .hero__eyebrow,
.theme-creative .pill {
  background: #fde68a;
  color: #78350f;
}

.theme-creative .hero__title strong {
  color: #d97706;
}

.theme-creative .hero__text,
.theme-creative .section-text,
.theme-creative .card__text {
  color: #4b5563;
}

.theme-creative .cta {
  background: #d97706;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.theme-creative .cta:hover {
  background: #b45309;
}

.theme-creative .section--white {
  background: #ffffff;
}

.theme-creative .service-card {
  text-align: center;
}

.theme-creative .icon-badge--round {
  background: #fef3c7;
  color: #d97706;
  padding: 15px;
}

.theme-creative .contact-banner {
  border-radius: 32px;
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
  color: #ffffff;
  padding: 64px;
}

.theme-creative .footer {
  border-top: 1px solid #fde68a;
  background: #ffffff;
}

.theme-creative .footer-inner {
  color: #4b5563;
}

.theme-finance {
  background: #ffffff;
  color: #111827;
}

.theme-finance .page-header {
  border-bottom: 1px solid #e5e7eb;
}

.theme-finance .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 2rem;
  color: #111827;
}

.theme-finance .brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: #059669;
}

.theme-finance .nav {
  color: #374151;
}

.theme-finance .nav a {
  font-weight: 500;
}

.theme-finance .nav a:hover {
  color: #059669;
}

.theme-finance .hero__eyebrow {
  min-height: auto;
  padding: 0;
  color: #059669;
  background: transparent;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.theme-finance .hero__title strong {
  color: #059669;
}

.theme-finance .hero__text,
.theme-finance .section-text,
.theme-finance .card__text,
.theme-finance .contact-item__text,
.theme-finance .stat-box__label {
  color: #4b5563;
}

.theme-finance .cta {
  background: #059669;
  color: #ffffff;
}

.theme-finance .cta:hover {
  background: #047857;
}

.theme-finance .stat-box--soft {
  background: #ecfdf5;
}

.theme-finance .stat-box--light {
  background: #f9fafb;
}

.theme-finance .stat-box--soft .stat-box__value,
.theme-finance .card__icon,
.theme-finance .contact-item__icon,
.theme-finance .contact-item__text a {
  color: #059669;
}

.theme-finance .services-block {
  background: #f9fafb;
}

.theme-finance .card {
  padding: 32px;
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.02);
}

.theme-finance .card:hover {
  box-shadow: 0 18px 30px rgba(17, 24, 39, 0.08);
}

.theme-finance .contact-badge {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #d1fae5;
  color: #059669;
  padding: 10px;
}

.theme-finance .contact-panel {
  padding: 48px;
  border-radius: 24px;
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
}

.theme-finance .footer {
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}

.theme-finance .footer-inner {
  color: #4b5563;
}

.theme-law {
  background: #fafaf9;
  color: #171717;
}

.theme-law .page-header {
  background: #171717;
  color: #ffffff;
}

.theme-law .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 2rem;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
}

.theme-law .brand svg,
.theme-law .nav a:hover,
.theme-law .card__icon,
.theme-law .contact-item__icon {
  color: #fbbf24;
}

.theme-law .hero-block {
  background: #171717;
  color: #ffffff;
  border-bottom: 1px solid #fbbf24;
}

.theme-law .hero__text {
  color: #d4d4d8;
}

.theme-law .cta {
  background: #fbbf24;
  color: #171717;
  font-weight: 700;
}

.theme-law .cta:hover {
  background: #f59e0b;
}

.theme-law .card {
  padding: 32px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #ffffff;
}

.theme-law .card:hover {
  border-color: #fbbf24;
  box-shadow: var(--shadow-md);
}

.theme-law .card__text,
.theme-law .section-text {
  color: #525252;
}

.theme-law .credentials {
  background: #ffffff;
}

.theme-law .credentials .stats-line__value {
  color: #fbbf24;
  font-weight: 700;
}

.theme-law .credentials .stats-line__label {
  color: #525252;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.theme-law .law-contact {
  background: #171717;
}

.theme-law .law-contact__content {
  padding: 64px;
  color: #ffffff;
}

.theme-law .law-contact__content .hero__text,
.theme-law .law-contact__content .contact-item__text {
  color: #d4d4d8;
}

.theme-law .showcase-side {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #171717;
  padding: 64px;
}

.theme-law .showcase-side svg {
  width: 96px;
  height: 96px;
  margin-bottom: 24px;
}

.theme-law .footer {
  border-top: 1px solid #262626;
  background: #171717;
}

.theme-law .footer-inner {
  color: #a3a3a3;
}

.theme-architecture {
  background: #fafaf9;
  color: #1c1917;
}

.theme-architecture .page-header {
  background: #ffffff;
  border-bottom: 1px solid #e7e5e4;
}

.theme-architecture .brand {
  font-size: 2.25rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #1c1917;
}

.theme-architecture .brand strong {
  font-weight: 700;
}

.theme-architecture .nav {
  color: #57534e;
}

.theme-architecture .nav a:hover {
  color: #1c1917;
}

.theme-architecture .architecture-hero {
  background: linear-gradient(90deg, #1c1917 0%, #44403c 100%);
  color: #ffffff;
}

.theme-architecture .hero__text,
.theme-architecture .section-text,
.theme-architecture .quote__author,
.theme-architecture .stats-line__label {
  color: #78716c;
}

.theme-architecture .architecture-hero .hero__text,
.theme-architecture .contact-block .hero__text,
.theme-architecture .contact-block .uppercase-label {
  color: #d6d3d1;
}

.theme-architecture .cta {
  border: 2px solid #ffffff;
  background: transparent;
  color: #ffffff;
}

.theme-architecture .cta:hover {
  background: #ffffff;
  color: #1c1917;
}

.theme-architecture .card {
  height: 100%;
  padding: 32px;
  border: 2px solid #d6d3d1;
  background: #ffffff;
}

.theme-architecture .card__icon {
  color: #a8a29e;
}

.theme-architecture .card:hover {
  border-color: #1c1917;
}

.theme-architecture .card:hover .card__icon {
  color: #1c1917;
}

.theme-architecture .quote {
  color: #1c1917;
}

.theme-architecture .quote__mark {
  color: #d6d3d1;
  margin-bottom: 16px;
}

.theme-architecture .contact-block {
  background: #1c1917;
  color: #ffffff;
}

.theme-architecture .footer {
  background: #000000;
}

.theme-architecture .footer-inner {
  color: #a8a29e;
  font-weight: 300;
}

.stack-lg {
  display: grid;
  gap: 24px;
}

.stack-xl {
  display: grid;
  gap: 32px;
}

@media (max-width: 1100px) {
  .grid--4,
  .stats-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .showcase-side {
    min-height: 320px;
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .grid--3,
  .grid--2,
  .feature-grid,
  .stats-grid--2 {
    grid-template-columns: 1fr;
  }

  .theme-creative .contact-banner,
  .theme-law .law-contact__content,
  .theme-law .showcase-side,
  .theme-finance .contact-panel {
    padding: 40px 28px;
  }

  .section,
  .hero {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .architecture-hero {
    min-height: 520px;
  }
}

@media (max-width: 640px) {
  :root {
    --switcher-height: 112px;
  }

  .container,
  .page-header__inner,
  .hero,
  .section,
  .footer-inner {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-switcher {
    top: 12px;
    width: min(calc(100% - 16px), 860px);
    padding: 6px;
  }

  .site-switcher__button {
    padding: 10px 14px;
    font-size: 14px;
  }

  .theme-creative .hero {
    padding-top: 96px;
  }

  .theme-creative .contact-banner {
    border-radius: 24px;
  }

  .stats-line,
  .grid--4 {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-grid {
    gap: 40px;
  }
}

.theme-tech #work ,
.theme-creative #work {
  width: 100%;
}

.theme-tech #work .content,
.theme-creative #work .content {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.theme-finance #services {
  width: 100%;
}

.theme-finance #services .content {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.theme-architecture #contact {
  width: 100%;
}
.theme-architecture #contact .content {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

#quote {
  width: 100%;
}

#quote .content {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.theme-law .hero {
  width: 100%;
}

.theme-law .hero .content {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

#attorneys {
  width: 100%;
}

#attorneys .content {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}
