:root {
  color-scheme: light;
  --primary: #0f6bff;
  --primary-strong: #0c58d9;
  --ink: #0c1d3a;
  --muted: #4a5672;
  --page-bg: #ffffff;
  --surface: #f4f7ff;
  --card-bg: #ffffff;
  --card-bg-strong: rgba(255, 255, 255, 0.9);
  --input-bg: #ffffff;
  --footer-bg: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.9);
  --header-bg-strong: rgba(255, 255, 255, 0.95);
  --header-border-soft: rgba(15, 107, 255, 0.08);
  --header-border-strong: rgba(15, 107, 255, 0.15);
  --nav-panel-bg: #ffffff;
  --cookie-banner-bg: #ffffff;
  --border: #e2e9f7;
  --radius: 16px;
  --shadow: 0 18px 60px rgba(15, 107, 255, 0.12);
  --glow: 0 12px 50px rgba(15, 107, 255, 0.25);
  --hero-bg:
    linear-gradient(90deg, #dfeaff 0%, #eaf1ff 46%, #f4f8ff 74%, #ffffff 100%);
  --hero-overlay:
    radial-gradient(circle at 16% 18%, rgba(15, 107, 255, 0.16) 0%, rgba(15, 107, 255, 0.08) 24%, rgba(15, 107, 255, 0) 58%),
    radial-gradient(circle at 55% 12%, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0) 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.06) 58%, rgba(255, 255, 255, 0.22) 76%, rgba(255, 255, 255, 0.52) 90%, rgba(255, 255, 255, 0.74) 100%);
  --hero-bottom-fade:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.82) 72%, #ffffff 100%);
  --landing-bg-color: #c6dcff;
  --landing-overlay:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.08) 34%, rgba(255, 255, 255, 0) 56%),
    linear-gradient(180deg, rgba(217, 232, 255, 0.1) 0%, rgba(207, 226, 255, 0.02) 34%, rgba(214, 231, 255, 0.36) 100%);
  --landing-bottom-fade:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.32) 48%, var(--page-bg) 100%);
  --home-header-ink: #0c1d3a;
  --home-header-muted: rgba(12, 29, 58, 0.72);
  --home-header-hover-bg: rgba(15, 107, 255, 0.1);
  --home-header-toggle: #0c1d3a;
  --home-header-btn-shadow: 0 16px 40px rgba(15, 107, 255, 0.18);
  --home-mobile-nav-bg: rgba(255, 255, 255, 0.96);
  --home-mobile-nav-border: rgba(15, 107, 255, 0.16);
  --home-mobile-nav-link: #0c1d3a;
  --home-mobile-nav-hover-bg: rgba(15, 107, 255, 0.08);
  --theme-toggle-bg: rgba(15, 107, 255, 0.08);
  --theme-toggle-bg-hover: rgba(15, 107, 255, 0.14);
  --theme-toggle-border: rgba(15, 107, 255, 0.18);
  --theme-toggle-text: #0c1d3a;
  --discover-bg: transparent;
  --discover-bg-hover: transparent;
  --discover-border: rgba(201, 226, 255, 0.44);
  --discover-border-hover: rgba(214, 234, 255, 0.76);
  --discover-shadow: 0 20px 60px rgba(7, 20, 42, 0.34);
  --discover-shadow-hover: 0 24px 68px rgba(12, 88, 217, 0.24);
  --discover-icon-color: var(--primary);
  --discover-label-color: rgba(12, 29, 58, 0.78);
  --discover-label-hover: #0c1d3a;
  --landing-promo-copy: #0c1d3a;
  --landing-promo-copy-shadow:
    0 2px 0 rgba(255, 255, 255, 0.42),
    0 16px 34px rgba(24, 66, 134, 0.28),
    0 0 46px rgba(96, 161, 255, 0.22);
  --landing-promo-backlight:
    radial-gradient(circle at 28% 46%, rgba(176, 214, 255, 0.7) 0%, rgba(176, 214, 255, 0.28) 34%, rgba(176, 214, 255, 0.08) 56%, rgba(176, 214, 255, 0) 74%),
    radial-gradient(circle at 64% 58%, rgba(44, 116, 255, 0.26) 0%, rgba(44, 116, 255, 0.1) 38%, rgba(44, 116, 255, 0) 68%);
  --landing-cloud-fill: rgba(15, 107, 255, 0.3);
  --landing-cloud-highlight: rgba(15, 107, 255, 0.56);
  --landing-cloud-shadow: rgba(12, 88, 217, 0.2);
  --cta-bg: linear-gradient(135deg, #0f6bff, #0c58d9);
  --cta-card-bg: #ffffff;
  --cta-sub-color: rgba(255, 255, 255, 0.82);
  --cta-meta-color: rgba(255, 255, 255, 0.85);
  --about-intro-bg:
    radial-gradient(circle at 18% 24%, rgba(79, 149, 255, 0.22), rgba(79, 149, 255, 0) 28%),
    radial-gradient(circle at 78% 18%, rgba(15, 107, 255, 0.12), rgba(15, 107, 255, 0) 24%),
    linear-gradient(145deg, #dfeaff 0%, #edf4ff 52%, #f8fbff 100%);
  --about-intro-glow: radial-gradient(circle, rgba(79, 149, 255, 0.22) 0%, rgba(79, 149, 255, 0) 68%);
  --about-intro-overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(223, 236, 255, 0.18) 46%, rgba(210, 226, 252, 0.34) 100%);
  --about-intro-title: var(--ink);
  --about-intro-sub: rgba(12, 29, 58, 0.78);
  --about-panel-story-bg:
    radial-gradient(circle at top right, rgba(15, 107, 255, 0.14), rgba(15, 107, 255, 0) 34%),
    linear-gradient(135deg, rgba(243, 248, 255, 0.98), rgba(229, 238, 255, 0.95));
  --about-panel-values-bg:
    radial-gradient(circle at top left, rgba(15, 107, 255, 0.12), rgba(15, 107, 255, 0) 30%),
    linear-gradient(180deg, rgba(244, 248, 255, 0.98) 0%, rgba(230, 239, 255, 0.96) 100%);
  --about-panel-heading: var(--ink);
  --about-panel-copy: rgba(37, 57, 95, 0.82);
  --about-panel-copy-soft: rgba(37, 57, 95, 0.76);
  --about-panel-card-bg: rgba(255, 255, 255, 0.74);
  --about-panel-card-border: rgba(15, 107, 255, 0.12);
  --about-panel-card-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 16px 34px rgba(15, 107, 255, 0.08);
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --ink: #eaf2ff;
  --muted: #9fb3d3;
  --page-bg: #081321;
  --surface: #0c1a31;
  --card-bg: #0f2038;
  --card-bg-strong: rgba(15, 32, 56, 0.88);
  --input-bg: #0b1b31;
  --footer-bg: #091625;
  --header-bg: rgba(8, 19, 33, 0.84);
  --header-bg-strong: rgba(8, 19, 33, 0.94);
  --header-border-soft: rgba(148, 180, 236, 0.12);
  --header-border-strong: rgba(148, 180, 236, 0.2);
  --nav-panel-bg: #0f2038;
  --cookie-banner-bg: #0f2038;
  --border: rgba(148, 180, 236, 0.18);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  --glow: 0 12px 50px rgba(15, 107, 255, 0.32);
  --hero-bg:
    linear-gradient(90deg, #081321 0%, #0b1a31 46%, #102441 74%, #132948 100%);
  --hero-overlay:
    radial-gradient(circle at 16% 18%, rgba(15, 107, 255, 0.22) 0%, rgba(15, 107, 255, 0.08) 26%, rgba(15, 107, 255, 0) 60%),
    radial-gradient(circle at 55% 12%, rgba(87, 151, 255, 0.18) 0%, rgba(87, 151, 255, 0) 28%),
    linear-gradient(180deg, rgba(8, 19, 33, 0) 0%, rgba(8, 19, 33, 0.16) 58%, rgba(8, 19, 33, 0.42) 76%, rgba(8, 19, 33, 0.66) 90%, rgba(8, 19, 33, 0.82) 100%);
  --hero-bottom-fade:
    linear-gradient(180deg, rgba(8, 19, 33, 0) 0%, rgba(8, 19, 33, 0.3) 58%, rgba(8, 19, 33, 0.78) 100%);
  --landing-bg-color: #07182f;
  --landing-overlay:
    radial-gradient(circle at 50% 32%, rgba(42, 144, 255, 0.44) 0%, rgba(42, 144, 255, 0.08) 34%, rgba(42, 144, 255, 0) 56%),
    linear-gradient(180deg, rgba(2, 8, 22, 0.26) 0%, rgba(2, 8, 22, 0.08) 34%, rgba(2, 8, 22, 0.62) 100%);
  --landing-bottom-fade:
    linear-gradient(180deg, rgba(8, 19, 33, 0) 0%, rgba(8, 19, 33, 0.16) 48%, var(--page-bg) 100%);
  --home-header-ink: #f8fbff;
  --home-header-muted: rgba(248, 251, 255, 0.76);
  --home-header-hover-bg: rgba(255, 255, 255, 0.12);
  --home-header-toggle: #ffffff;
  --home-header-btn-shadow: 0 16px 40px rgba(4, 12, 30, 0.24);
  --home-mobile-nav-bg: rgba(6, 13, 27, 0.94);
  --home-mobile-nav-border: rgba(255, 255, 255, 0.14);
  --home-mobile-nav-link: rgba(255, 255, 255, 0.9);
  --home-mobile-nav-hover-bg: rgba(255, 255, 255, 0.08);
  --theme-toggle-bg: rgba(148, 180, 236, 0.1);
  --theme-toggle-bg-hover: rgba(148, 180, 236, 0.18);
  --theme-toggle-border: rgba(148, 180, 236, 0.2);
  --theme-toggle-text: #eaf2ff;
  --discover-bg: transparent;
  --discover-bg-hover: transparent;
  --discover-border: rgba(196, 222, 255, 0.58);
  --discover-border-hover: rgba(255, 255, 255, 0.9);
  --discover-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  --discover-shadow-hover: 0 24px 68px rgba(15, 107, 255, 0.22);
  --discover-icon-color: var(--primary);
  --discover-label-color: rgba(255, 255, 255, 0.86);
  --discover-label-hover: #ffffff;
  --landing-promo-copy: #f5f9ff;
  --landing-promo-copy-shadow:
    0 2px 0 rgba(255, 255, 255, 0.12),
    0 18px 38px rgba(0, 0, 0, 0.5),
    0 0 46px rgba(61, 144, 255, 0.32);
  --landing-promo-backlight:
    radial-gradient(circle at 28% 46%, rgba(10, 28, 62, 0.92) 0%, rgba(10, 28, 62, 0.52) 34%, rgba(10, 28, 62, 0.18) 56%, rgba(10, 28, 62, 0) 74%),
    radial-gradient(circle at 64% 58%, rgba(32, 112, 255, 0.28) 0%, rgba(32, 112, 255, 0.12) 38%, rgba(32, 112, 255, 0) 68%);
  --landing-cloud-fill: rgba(15, 107, 255, 0.24);
  --landing-cloud-highlight: rgba(15, 107, 255, 0.44);
  --landing-cloud-shadow: rgba(4, 37, 92, 0.34);
  --cta-bg: linear-gradient(135deg, #0a4fbe, #093987);
  --cta-card-bg: #10243f;
  --cta-sub-color: rgba(234, 242, 255, 0.82);
  --cta-meta-color: rgba(234, 242, 255, 0.85);
  --about-intro-bg:
    radial-gradient(circle at 18% 24%, rgba(79, 149, 255, 0.32), rgba(79, 149, 255, 0) 28%),
    radial-gradient(circle at 78% 18%, rgba(15, 107, 255, 0.2), rgba(15, 107, 255, 0) 24%),
    linear-gradient(145deg, #07172d 0%, #0c2342 52%, #09172c 100%);
  --about-intro-glow: radial-gradient(circle, rgba(127, 181, 255, 0.24) 0%, rgba(127, 181, 255, 0) 68%);
  --about-intro-overlay: linear-gradient(180deg, rgba(5, 17, 35, 0.08) 0%, rgba(5, 17, 35, 0.18) 46%, rgba(5, 17, 35, 0.5) 100%);
  --about-intro-title: #f4f8ff;
  --about-intro-sub: rgba(234, 242, 255, 0.82);
  --about-panel-story-bg:
    radial-gradient(circle at top right, rgba(15, 107, 255, 0.18), rgba(15, 107, 255, 0) 34%),
    linear-gradient(135deg, rgba(9, 28, 56, 0.98), rgba(10, 25, 50, 0.94));
  --about-panel-values-bg:
    radial-gradient(circle at top left, rgba(15, 107, 255, 0.12), rgba(15, 107, 255, 0) 30%),
    linear-gradient(180deg, rgba(8, 23, 45, 0.94) 0%, rgba(7, 22, 42, 0.98) 100%);
  --about-panel-heading: #f4f8ff;
  --about-panel-copy: rgba(223, 233, 248, 0.82);
  --about-panel-copy-soft: rgba(223, 233, 248, 0.78);
  --about-panel-card-bg: rgba(255, 255, 255, 0.035);
  --about-panel-card-border: rgba(127, 181, 255, 0.14);
  --about-panel-card-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 34px rgba(4, 12, 30, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--page-bg);
  color: var(--ink);
  line-height: 1.6;
}

.home-content {
  position: relative;
  scroll-margin-top: 88px;
}

.home-stage {
  position: relative;
  padding: 28px 0 72px;
  perspective: 2200px;
  perspective-origin: 50% 18vh;
  transform-style: preserve-3d;
  isolation: isolate;
}

.home-stage__section {
  position: relative;
  width: min(1380px, calc(100% - 32px));
  margin: 0 auto 40px;
  scroll-margin-top: 110px;
}

.home-stage__panel {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(15, 107, 255, 0.14);
  background: var(--card-bg-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 32px 80px rgba(4, 12, 30, 0.18),
    0 90px 140px rgba(15, 107, 255, 0.12);
  transform-style: preserve-3d;
  transform-origin: center center;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  contain: paint;
  will-change: transform, opacity;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.home-stage__panel > .container {
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
}

.home-stage__section.section {
  padding: 0;
  background: none;
}

.home-stage__section.section .home-stage__panel {
  padding: 96px 0;
}

.home-stage__section.surface {
  border: 0;
  background: none;
}

.home-stage__section.surface .home-stage__panel {
  background: var(--surface);
}

.home-stage__section#projects .home-stage__panel {
  background:
    radial-gradient(circle at top right, rgba(15, 107, 255, 0.16), rgba(15, 107, 255, 0) 34%),
    linear-gradient(180deg, rgba(15, 107, 255, 0.08) 0%, rgba(15, 107, 255, 0.025) 26%, var(--page-bg) 78%);
}

[data-theme='dark'] .home-stage__section#projects .home-stage__panel {
  background:
    radial-gradient(circle at top right, rgba(127, 181, 255, 0.16), rgba(127, 181, 255, 0) 34%),
    linear-gradient(180deg, rgba(11, 33, 66, 0.92) 0%, rgba(7, 24, 47, 0.86) 32%, rgba(7, 24, 47, 0.98) 100%);
}

.home-stage__section.hero {
  opacity: 1;
  transition: opacity 0.12s linear;
  will-change: opacity;
}

.home-stage__section.hero .home-stage__panel {
  padding: 140px 0 110px;
  background: var(--hero-bg);
}

.home-stage__section.hero .home-stage__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 0;
}

.home-stage__section.hero .home-stage__panel::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 180px;
  background: var(--hero-bottom-fade);
  z-index: 0;
}

.home-stage__section.cta {
  background: none;
}

.home-stage__section.cta .home-stage__panel {
  background: var(--cta-bg);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 36px 90px rgba(0, 0, 0, 0.34),
    0 90px 150px rgba(6, 13, 27, 0.22);
}

.home-stage__section .hero-grid,
.home-stage__section .process-grid,
.home-stage__section .project-grid,
.home-stage__section .cta-content,
.home-stage__section .hero-copy,
.home-stage__section .hero-visual,
.home-stage__section .section-header,
.home-stage__section .cta-content > div,
.home-stage__section .glass-panel,
.home-stage__section .stat,
.home-stage__section .process-card,
.home-stage__section .project-card,
.home-stage__section .cta-card,
.home-stage__section .panel-list li,
.home-stage__section .project-thumb,
.home-stage__section .project-body,
.home-stage__section .step-number,
.home-stage__section .panel-header,
.home-stage__section .panel-footer {
  position: relative;
  transform-style: preserve-3d;
}

.home-stage__section .section-header,
.home-stage__section .hero-copy,
.home-stage__section .hero-visual,
.home-stage__section .cta-content > div:first-child {
  transform: translateZ(52px);
}

.home-stage__section .glass-panel,
.home-stage__section .stat,
.home-stage__section .process-card,
.home-stage__section .project-card,
.home-stage__section .cta-card {
  transform: translateZ(96px);
}

.home-stage__section .panel-list li,
.home-stage__section .project-thumb,
.home-stage__section .project-body,
.home-stage__section .step-number,
.home-stage__section .panel-header,
.home-stage__section .panel-footer {
  transform: translateZ(132px);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.2;
  color: var(--ink);
}

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

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

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

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--header-border-soft);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 12px 30px rgba(15, 107, 255, 0.12);
  border-color: var(--header-border-strong);
  background: var(--header-bg-strong);
}

.home-page .site-header,
.services-page .site-header {
  position: fixed;
  left: 0;
  right: 0;
  transform: translateY(0);
  will-change: transform;
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.home-page .site-header {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.about-page .site-header {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.home-page .site-header.is-hidden,
.services-page .site-header.is-hidden {
  transform: translateY(calc(-100% - 12px));
  pointer-events: none;
}

.services-page main {
  padding-top: 84px;
}

.home-page .site-header:not(.scrolled) .logo-name,
.home-page .site-header:not(.scrolled) .nav-links a,
.about-page .site-header:not(.scrolled) .logo-name,
.about-page .site-header:not(.scrolled) .nav-links a {
  color: var(--home-header-ink);
}

.home-page .site-header:not(.scrolled) .logo-tag,
.about-page .site-header:not(.scrolled) .logo-tag {
  color: var(--home-header-muted);
}

.home-page .site-header:not(.scrolled) .nav-links a:hover,
.about-page .site-header:not(.scrolled) .nav-links a:hover {
  color: var(--home-header-ink);
  background: var(--home-header-hover-bg);
}

.home-page .site-header:not(.scrolled) .nav-toggle span,
.about-page .site-header:not(.scrolled) .nav-toggle span {
  background: var(--home-header-toggle);
}

.home-page .site-header:not(.scrolled) .btn.primary,
.about-page .site-header:not(.scrolled) .btn.primary {
  box-shadow: var(--home-header-btn-shadow);
}

.home-page .site-header.scrolled,
.about-page .site-header.scrolled {
  background: var(--header-bg-strong);
  border-bottom-color: var(--header-border-soft);
  box-shadow: 0 12px 30px rgba(15, 107, 255, 0.12);
  backdrop-filter: blur(10px);
}

.services-page.about-page main {
  padding-top: 0;
}

.nav-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 15px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  grid-column: 1;
  justify-self: start;
}

.brand-link {
  text-decoration: none;
  color: inherit;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.logo-type {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-name {
  font-weight: 700;
  font-size: 16px;
}

.logo-tag {
  font-size: 13px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  grid-column: 2;
  justify-self: center;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(15, 107, 255, 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  grid-column: 3;
  justify-self: end;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--theme-toggle-border);
  background: var(--theme-toggle-bg);
  color: var(--theme-toggle-text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, color 0.2s ease;
}

.theme-toggle:hover {
  background: var(--theme-toggle-bg-hover);
  transform: translateY(-1px);
}

.theme-toggle__icon {
  font-size: 16px;
  line-height: 1;
}

.theme-toggle__text {
  font-size: 14px;
  line-height: 1;
}

.currency-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.currency-switcher::after {
  content: 'v';
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-48%);
  color: var(--theme-toggle-text);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.currency-switcher__select {
  appearance: none;
  min-width: 82px;
  padding: 10px 30px 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--theme-toggle-border);
  background: var(--theme-toggle-bg);
  color: var(--theme-toggle-text);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, color 0.2s ease;
}

.currency-switcher__select:hover {
  background: var(--theme-toggle-bg-hover);
  transform: translateY(-1px);
}

.currency-switcher__select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.currency-switcher__select option {
  color: #0c1d3a;
  background-color: #f4f8ff;
  font-weight: 700;
}

.currency-switcher__select option:checked {
  color: #0c1d3a;
  background-color: #cfe2ff;
}

.home-page .site-header:not(.scrolled) .theme-toggle,
.about-page .site-header:not(.scrolled) .theme-toggle {
  color: var(--home-header-ink);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  grid-column: 3;
  justify-self: end;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--glow);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(15, 107, 255, 0.2);
}

.btn.ghost:hover {
  background: rgba(15, 107, 255, 0.06);
  border-color: rgba(15, 107, 255, 0.35);
}

.btn.small {
  padding: 10px 14px;
  font-size: 14px;
}

.btn.on-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn.full {
  width: 100%;
  justify-content: center;
}

.landing-intro {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 140px 24px 48px;
  overflow: hidden;
  isolation: isolate;
  opacity: 1;
  transition: opacity 0.12s linear;
  will-change: opacity;
  background-color: var(--landing-bg-color);
  background-image: url('assets/city-landing.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.landing-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--landing-overlay);
  z-index: 1;
}

.landing-intro::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 180px;
  background: var(--landing-bottom-fade);
  z-index: 2;
}

.landing-clouds {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(#fff 0 0), url('assets/city-landing.png');
  -webkit-mask-position: center center, center center;
  -webkit-mask-size: 100% 100%, cover;
  -webkit-mask-repeat: no-repeat, no-repeat;
  -webkit-mask-composite: xor;
  mask-image: linear-gradient(#fff 0 0), url('assets/city-landing.png');
  mask-position: center center, center center;
  mask-size: 100% 100%, cover;
  mask-repeat: no-repeat, no-repeat;
  mask-composite: exclude;
}

.landing-cloud {
  --cloud-distance: calc(100vw + 60rem);
  --cloud-scale: 1;
  position: absolute;
  left: -30rem;
  top: 16%;
  width: clamp(14rem, 24vw, 24rem);
  height: clamp(4.5rem, 8vw, 7rem);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 24%, var(--landing-cloud-highlight) 0%, rgba(15, 107, 255, 0) 54%),
    linear-gradient(180deg, var(--landing-cloud-highlight) 0%, var(--landing-cloud-fill) 56%, rgba(15, 107, 255, 0.06) 100%);
  box-shadow:
    0 18px 42px var(--landing-cloud-shadow),
    inset 0 -14px 22px rgba(15, 107, 255, 0.18);
  opacity: 0.72;
  filter: blur(var(--cloud-blur, 0px));
  transform: translate3d(0, 0, 0) scale(var(--cloud-scale));
  transform-origin: center;
  will-change: transform;
  animation: landingCloudDrift var(--cloud-duration, 68s) linear infinite;
  animation-delay: var(--cloud-delay, 0s);
}

.landing-cloud::before,
.landing-cloud::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 32%, var(--landing-cloud-highlight) 0%, var(--landing-cloud-fill) 74%, rgba(15, 107, 255, 0.05) 100%);
}

.landing-cloud::before {
  width: 46%;
  height: 118%;
  left: 10%;
  bottom: 18%;
}

.landing-cloud::after {
  width: 38%;
  height: 86%;
  right: 11%;
  bottom: 32%;
}

.landing-cloud--1 {
  top: 12%;
  width: clamp(16rem, 26vw, 26rem);
  height: clamp(5rem, 8.5vw, 7.6rem);
  opacity: 0.6;
  --cloud-scale: 1.04;
  --cloud-duration: 76s;
  --cloud-delay: -12s;
}

.landing-cloud--2 {
  top: 22%;
  width: clamp(13rem, 20vw, 20rem);
  height: clamp(4rem, 6.5vw, 6.1rem);
  opacity: 0.76;
  --cloud-scale: 0.88;
  --cloud-duration: 58s;
  --cloud-delay: -36s;
  --cloud-blur: 1px;
}

.landing-cloud--3 {
  top: 33%;
  width: clamp(18rem, 28vw, 28rem);
  height: clamp(5.4rem, 9vw, 8rem);
  opacity: 0.46;
  --cloud-scale: 1.12;
  --cloud-duration: 84s;
  --cloud-delay: -26s;
  --cloud-blur: 2px;
}

.landing-cloud--4 {
  top: 18%;
  width: clamp(11rem, 16vw, 17rem);
  height: clamp(3.6rem, 5vw, 5.1rem);
  opacity: 0.68;
  --cloud-scale: 0.78;
  --cloud-duration: 52s;
  --cloud-delay: -46s;
}

@keyframes landingCloudDrift {
  from {
    transform: translate3d(0, 0, 0) scale(var(--cloud-scale));
  }

  to {
    transform: translate3d(var(--cloud-distance), 0, 0) scale(var(--cloud-scale));
  }
}

.landing-promo {
  position: absolute;
  top: 50%;
  left: clamp(24px, 6vw, 88px);
  z-index: 3;
  width: min(36rem, 42vw);
  transform: translateY(-50%);
}

.landing-promo__frame {
  position: relative;
  min-height: 10.6rem;
  perspective: 1400px;
  isolation: isolate;
}

.landing-promo__frame::before {
  content: "";
  position: absolute;
  inset: -28% -16% -22% -18%;
  background: var(--landing-promo-backlight);
  filter: blur(40px);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.landing-promo__line {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  color: var(--landing-promo-copy);
  font-size: clamp(2rem, 3.8vw, 4rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-wrap: balance;
  text-shadow: var(--landing-promo-copy-shadow);
  opacity: 0;
  transform: translateY(22px) rotateX(78deg);
  transform-origin: top center;
  pointer-events: none;
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.34s ease;
  filter: drop-shadow(0 22px 34px rgba(4, 13, 31, 0.24));
  z-index: 1;
}

.landing-promo__line.is-active {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
}

.landing-promo__line.is-exit {
  opacity: 0;
  transform: translateY(-26px) rotateX(-82deg);
}

.discover-control {
  position: absolute;
  left: 50%;
  bottom: clamp(32px, 5vh, 52px);
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--discover-label-hover);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 700;
}

.home-page.has-cookie-banner .discover-control {
  bottom: 220px;
}

.discover-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--discover-border);
  background: var(--discover-bg);
  color: var(--discover-icon-color);
  box-shadow: var(--discover-shadow);
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  animation: discoverPulse 2.8s ease-in-out infinite;
}

.discover-icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.discover-label {
  color: var(--discover-label-color);
}

.discover-control:hover .discover-circle {
  background: var(--discover-bg-hover);
  border-color: var(--discover-border-hover);
  box-shadow: var(--discover-shadow-hover);
}

.discover-control:hover .discover-label {
  color: var(--discover-label-hover);
}

@keyframes discoverPulse {
  0%,
  100% {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.26);
  }

  50% {
    box-shadow: 0 24px 68px rgba(15, 107, 255, 0.34);
  }
}

.hero {
  position: relative;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px;
  align-items: start;
  scroll-margin-top: 88px;
}

.hero-copy h1 {
  font-size: 48px;
  margin: 12px 0 16px;
}

.lead {
  font-size: 18px;
  max-width: 640px;
  margin-bottom: 24px;
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.eyebrow.on-dark {
  color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.stat {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card-bg);
  box-shadow: 0 10px 30px rgba(15, 107, 255, 0.05);
}

.stat-value {
  display: block;
  font-weight: 700;
  font-size: 22px;
  color: var(--primary);
}

.stat-label {
  font-size: 13px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.glass-panel {
  width: min(520px, 100%);
  background: var(--card-bg-strong);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel-header,
.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel-list li {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card-bg);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 18px;
}

.panel-list li > div {
  flex: 1 1 auto;
  min-width: 0;
}

.list-title {
  font-weight: 700;
  color: var(--ink);
}

.list-sub {
  font-size: 12px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  border: 1px solid transparent;
  background: rgba(15, 107, 255, 0.08);
  color: var(--primary-strong);
}

.pill.light {
  background: rgba(15, 107, 255, 0.06);
  color: var(--ink);
  border-color: rgba(15, 107, 255, 0.15);
  font-weight: 700;
}

.pill.success {
  background: rgba(15, 107, 255, 0.16);
  color: var(--primary-strong);
}

.badge {
  flex: 0 0 auto;
  align-self: center;
  min-width: 86px;
  background: var(--primary);
  color: #fff;
  padding: 6px 10px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 12px;
  text-align: center;
}

.panel-header > div,
.panel-footer > div {
  min-width: 0;
}

.panel-footer > div {
  flex: 1 1 auto;
}

.panel-footer .list-sub {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.panel-footer .btn.small {
  flex: 0 0 auto;
}

.section {
  padding: 96px 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 720px;
}

.section-sub {
  color: var(--muted);
}

.about-intro {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: clamp(124px, 13vw, 168px) 0 clamp(56px, 9vw, 96px);
  opacity: 1;
  transition: opacity 0.12s linear;
  will-change: opacity;
  background: var(--about-intro-bg);
}

.about-intro::before {
  content: '';
  position: absolute;
  inset: auto -12% -20% 48%;
  height: clamp(220px, 38vw, 420px);
  background: var(--about-intro-glow);
  filter: blur(18px);
  pointer-events: none;
}

.about-intro::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--about-intro-overlay);
  pointer-events: none;
}

.about-intro__content {
  position: relative;
  z-index: 1;
}

.about-intro__title {
  max-width: 11ch;
  font-size: clamp(3.6rem, 9vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-wrap: balance;
  color: var(--about-intro-title);
}

.about-intro__sub {
  max-width: 44rem;
  margin-top: 18px;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--about-intro-sub);
}

.about-stage {
  padding: 4px 0 88px;
}

.about-stage .home-stage__section {
  width: min(1320px, calc(100% - 32px));
}

.about-story-section .home-stage__panel {
  background: var(--about-panel-story-bg);
}

.about-story-section h2,
.about-story-section h3,
.about-values-section h2,
.about-values-section h3 {
  color: var(--about-panel-heading);
}

.about-story {
  display: flex;
  flex-direction: column;
}

.about-story__shell {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-story__intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.about-story__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: start;
}

.about-story__copy {
  display: grid;
  gap: 18px;
}

.about-story__copy h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.about-story__copy p {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.78;
  color: var(--about-panel-copy);
}

.about-story__aside {
  display: grid;
  gap: 16px;
}

.about-story__highlight,
.about-story__list {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--about-panel-card-border);
  background: var(--about-panel-card-bg);
  box-shadow: var(--about-panel-card-shadow);
}

.about-story__highlight {
  display: grid;
  gap: 14px;
}

.about-story__highlight h3 {
  font-size: 1.4rem;
  line-height: 1.2;
}

.about-story__highlight p {
  color: var(--about-panel-copy-soft);
}

.about-story__list {
  list-style: none;
  margin: 0;
  display: grid;
  gap: 12px;
}

.about-story__list li {
  position: relative;
  padding-left: 18px;
  color: var(--about-panel-copy-soft);
}

.about-story__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(15, 107, 255, 0.14);
}

.about-story__footer {
  display: flex;
  justify-content: flex-end;
}

.about-story__trigger {
  min-width: 154px;
}

.about-values-section .home-stage__panel {
  background: var(--about-panel-values-bg);
}

.about-values__header {
  max-width: 52rem;
}

.about-values-section .section-sub {
  color: var(--about-panel-copy-soft);
}

.about-values__grid {
  margin-top: 32px;
}

.about-values__grid .process-card {
  min-height: 100%;
  background: var(--about-panel-card-bg);
  border-color: var(--about-panel-card-border);
  box-shadow: var(--about-panel-card-shadow);
}

.about-values__grid .process-card p {
  color: var(--about-panel-copy-soft);
}

.about-values__grid .step-number {
  background: rgba(15, 107, 255, 0.16);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(15, 107, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card h3 {
  font-size: 20px;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-list li {
  padding-left: 16px;
  position: relative;
}

.card-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  position: absolute;
  left: 0;
  top: 8px;
}

.surface {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.process-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(15, 107, 255, 0.04);
}

.process-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.process-card p {
  font-size: 15px;
  line-height: 1.55;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(15, 107, 255, 0.1);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 12px;
}

.panel-footer .btn.small {
  padding: 8px 12px;
  font-size: 13px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.project-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 10px 30px rgba(15, 107, 255, 0.05);
}

.project-thumb {
  height: 220px;
}

.project-thumb.project-thumb-art {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.project-thumb.project-thumb-art img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  transform: scale(1.55);
  transform-origin: center center;
}

.project-thumb.project-thumb-art.gradient-one img {
  transform: scale(1.24);
}

.project-thumb.project-thumb-art.gradient-two img {
  transform: scale(1.4);
}

.project-thumb.project-thumb-art.gradient-three img {
  transform: scale(1.08);
}

.gradient-one {
  background: linear-gradient(135deg, #0f6bff, #7fb5ff);
}

.gradient-two {
  background: linear-gradient(135deg, #0f6bff, #b5d6ff);
}

.gradient-three {
  background: linear-gradient(135deg, #0f6bff, #e3f0ff);
}

.project-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-stage__section#projects .project-card {
  --project-hover-rotate-y: -7deg;
  transform: translateZ(96px) rotateX(0deg) rotateY(0deg);
  transition:
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 560ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 320ms ease;
}

.home-stage__section#projects .project-card:nth-child(2) {
  --project-hover-rotate-y: 0deg;
}

.home-stage__section#projects .project-card:nth-child(3) {
  --project-hover-rotate-y: 7deg;
}

.home-stage__section#projects .project-thumb,
.home-stage__section#projects .project-body,
.home-stage__section#projects .project-thumb.project-thumb-art img {
  transition:
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-stage__section#projects .project-card[data-service-panel] {
  cursor: pointer;
}

.home-stage__section#projects .project-card[data-service-panel]:focus-visible {
  outline: none;
  border-color: rgba(15, 107, 255, 0.34);
  box-shadow:
    0 0 0 3px rgba(15, 107, 255, 0.12),
    0 10px 30px rgba(15, 107, 255, 0.08);
}

@media (hover: hover) and (pointer: fine) {
  .home-stage__section#projects .project-card:hover,
  .home-stage__section#projects .project-card:hover .project-thumb,
  .home-stage__section#projects .project-card:hover .project-body,
  .home-stage__section#projects .project-card:hover .project-thumb.project-thumb-art img,
  .home-stage__section#projects .project-card:focus-visible,
  .home-stage__section#projects .project-card:focus-visible .project-thumb,
  .home-stage__section#projects .project-card:focus-visible .project-body,
  .home-stage__section#projects .project-card:focus-visible .project-thumb.project-thumb-art img {
    will-change: transform;
  }

  .home-stage__section#projects .project-card:hover {
    transform: translate3d(0, -14px, 156px) rotateX(10deg) rotateY(var(--project-hover-rotate-y));
    border-color: rgba(15, 107, 255, 0.34);
    box-shadow:
      0 22px 50px rgba(4, 12, 30, 0.24),
      0 54px 110px rgba(15, 107, 255, 0.2);
  }

  .home-stage__section#projects .project-card:hover .project-thumb {
    transform: translateZ(184px) translateY(-10px);
  }

  .home-stage__section#projects .project-card:hover .project-body {
    transform: translateZ(164px) translateY(4px);
  }

  .home-stage__section#projects .project-card:hover .gradient-one img {
    transform: scale(1.3);
  }

  .home-stage__section#projects .project-card:hover .gradient-two img {
    transform: scale(1.46);
  }

  .home-stage__section#projects .project-card:hover .gradient-three img {
    transform: scale(1.14);
  }
}

html.service-modal-open,
body.service-modal-open,
html.about-modal-open,
body.about-modal-open {
  overflow: hidden;
  touch-action: none;
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  background: rgba(7, 24, 47, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition:
    opacity 0.32s ease,
    background 560ms cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 560ms cubic-bezier(0.22, 1, 0.36, 1),
    -webkit-backdrop-filter 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
  background: rgba(7, 24, 47, 0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.service-modal.is-visible.is-closing {
  background: rgba(7, 24, 47, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

.service-modal__panel {
  position: fixed;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(15, 107, 255, 0.18);
  background: var(--card-bg-strong);
  box-shadow:
    0 22px 60px rgba(4, 12, 30, 0.22),
    0 60px 140px rgba(15, 107, 255, 0.12);
  will-change: top, left, width, height, border-radius;
  transition:
    top 560ms cubic-bezier(0.22, 1, 0.36, 1),
    left 560ms cubic-bezier(0.22, 1, 0.36, 1),
    width 560ms cubic-bezier(0.22, 1, 0.36, 1),
    height 560ms cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 560ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-modal.is-open .service-modal__panel {
  border-radius: 30px;
  box-shadow:
    0 28px 80px rgba(4, 12, 30, 0.3),
    0 74px 170px rgba(15, 107, 255, 0.18);
}

.service-modal.is-closing .service-modal__panel {
  border-radius: 18px;
  box-shadow:
    0 22px 60px rgba(4, 12, 30, 0.22),
    0 60px 140px rgba(15, 107, 255, 0.12);
}

.service-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(15, 107, 255, 0.28);
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 220ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.service-modal.is-open .service-modal__close {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 140ms;
}

.service-modal.is-closing .service-modal__close {
  opacity: 0;
  transform: translateY(-10px);
  transition-delay: 0s;
}

.service-modal__close:hover,
.service-modal__close:focus-visible {
  background: #1f7aff;
  box-shadow: 0 18px 38px rgba(15, 107, 255, 0.34);
  outline: none;
}

.service-modal__inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition:
    opacity 220ms ease,
    transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-modal.is-open .service-modal__inner {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 140ms;
}

.service-modal.is-closing .service-modal__inner {
  opacity: 0;
  transform: translateY(0) scale(1);
  transition:
    opacity 150ms ease,
    transform 0ms linear;
}

.service-modal__card-preview {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}

.service-modal__card-preview .project-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  box-shadow: none;
  background: var(--card-bg);
  transform: none !important;
}

.service-modal__card-preview .project-thumb,
.service-modal__card-preview .project-body,
.service-modal__card-preview .project-thumb.project-thumb-art img {
  transform: none !important;
}

.service-modal__card-preview .project-body {
  height: calc(100% - 220px);
}

.service-modal.is-closing .service-modal__card-preview {
  opacity: 1;
}

.service-modal__media {
  min-width: 0;
  padding: clamp(24px, 4vw, 42px);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 38%),
    linear-gradient(145deg, rgba(15, 107, 255, 0.96), rgba(127, 181, 255, 0.82));
}

.service-modal__image-frame {
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  padding: clamp(20px, 3vw, 28px);
  background: rgba(8, 26, 52, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 28px 58px rgba(4, 12, 30, 0.24);
}

.service-modal__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-modal__content {
  min-width: 0;
  padding: clamp(28px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: auto;
}

.service-modal__title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.06;
  color: var(--ink);
}

.service-modal__lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
}

.service-modal__copy {
  font-size: 15px;
  line-height: 1.72;
}

.service-modal__points {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: grid;
  gap: 12px;
}

.service-modal__points li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.service-modal__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(15, 107, 255, 0.1);
}

.service-modal__actions {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  padding-top: 10px;
}

.service-modal__link {
  white-space: nowrap;
}

.about-modal .service-modal__panel {
  opacity: 1;
  transform: none;
  transition:
    top 560ms cubic-bezier(0.22, 1, 0.36, 1),
    left 560ms cubic-bezier(0.22, 1, 0.36, 1),
    width 560ms cubic-bezier(0.22, 1, 0.36, 1),
    height 560ms cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 560ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 560ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 280ms ease,
    transform 320ms ease;
}

.about-modal .service-modal__media {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 36%),
    linear-gradient(145deg, rgba(9, 51, 128, 0.98), rgba(15, 107, 255, 0.92), rgba(127, 181, 255, 0.78));
}

.about-modal__media-stack {
  width: min(100%, 420px);
  display: grid;
  gap: 20px;
  justify-items: flex-start;
}

.about-modal__mark-frame {
  width: min(100%, 330px);
  display: grid;
  place-items: center;
}

.about-modal__logo {
  width: min(70%, 220px);
  filter: drop-shadow(0 18px 42px rgba(4, 12, 30, 0.22));
}

.about-modal__media-copy {
  max-width: 24rem;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.72;
  color: rgba(234, 242, 255, 0.84);
}

.about-modal__content {
  gap: 18px;
}

.about-modal__copy {
  display: grid;
  gap: 18px;
}

.about-modal__copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.about-modal.is-closing .service-modal__panel {
  opacity: 0;
  transform: scale(0.985);
}

.about-modal.is-closing .service-modal__inner {
  opacity: 0;
  transform: translateY(18px) scale(0.995);
  transition:
    opacity 180ms ease,
    transform 240ms ease;
}

@media (max-width: 900px) {
  .about-intro {
    min-height: 100vh;
    min-height: 100svh;
    padding: 136px 0 60px;
  }

  .about-stage {
    padding-top: 0;
  }

  .about-story__layout {
    grid-template-columns: 1fr;
  }

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

  .about-story__footer {
    justify-content: flex-start;
  }

  .about-modal__media-stack {
    width: 100%;
    justify-items: center;
    text-align: center;
  }

  .about-modal__media-copy {
    max-width: none;
  }

  .service-modal__panel {
    border-radius: 24px;
  }

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

  .service-modal__media {
    min-height: 240px;
  }

  .service-modal__content {
    padding-top: 18px;
  }
}

@media (max-width: 640px) {
  .service-modal__close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 20px;
  }

  .service-modal__media {
    min-height: 206px;
    padding: 18px;
  }

  .service-modal__image-frame {
    border-radius: 22px;
    padding: 18px;
  }

  .service-modal__content {
    padding: 22px 18px 20px;
  }

  .service-modal__lead {
    font-size: 16px;
  }
}

.cta {
  background: var(--cta-bg);
  color: #fff;
}

.cta-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.cta-sub {
  color: var(--cta-sub-color);
  margin: 10px 0 18px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.cta-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--cta-meta-color);
}

.cta-card {
  background: var(--cta-card-bg);
  color: var(--ink);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  color: var(--ink);
}

.terms-check {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.terms-check input[type='checkbox'] {
  width: 18px;
  height: 18px;
  margin: 0;
}

.terms-link {
  color: var(--primary);
  text-decoration: underline;
}

.contact-form select {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-family: inherit;
  background: var(--input-bg);
  color: var(--ink);
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-family: inherit;
  background: var(--input-bg);
  color: var(--ink);
}

.contact-form textarea {
  min-height: 140px;
  resize: none;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 0;
}

.site-footer {
  padding: 48px 0 64px;
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.footer-title {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.footer-links a {
  display: block;
  color: var(--muted);
  margin: 4px 0;
}

.footer-copy {
  color: var(--muted);
  margin-top: 10px;
}

.footer-meta {
  color: var(--muted);
}

.footer-brand .logo-mark {
  box-shadow: none;
}

.service-hero {
  padding: 120px 0 90px;
}

.service-hero::before {
  background: radial-gradient(circle at 20% 30%, rgba(15, 107, 255, 0.16), rgba(15, 107, 255, 0));
}

.package-group {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.package-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.meta-text {
  font-size: 14px;
  color: var(--muted);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.package-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(15, 107, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.package-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price {
  font-weight: 800;
  color: var(--primary);
  font-size: 22px;
}

.package-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
}

.package-points li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.package-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 10px;
  border: solid var(--primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.package-actions {
  margin-top: 4px;
}

.package-actions .btn {
  padding-inline: 14px;
}

.services-page {
  --services-card-height: 41rem;
}

.services-page .package-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: stretch;
  padding-top: 18px;
}

.services-page .package-card.pricing-card {
  --tone-accent: #f4f6fb;
  --tone-accent-rgb: 244, 246, 251;
  --tone-button-text: #0c1d3a;
  position: relative;
  overflow: hidden;
  padding: 0;
  gap: 0;
  min-height: var(--services-card-height);
  height: 100%;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  box-shadow: 0 14px 36px rgba(15, 107, 255, 0.08);
  color: var(--ink);
}

.services-page .package-card.pricing-card::before {
  content: none;
}

.services-page .package-card.pricing-card.is-featured {
  overflow: visible;
  border-color: rgba(15, 107, 255, 0.22);
  box-shadow: 0 18px 42px rgba(15, 107, 255, 0.12);
}

.services-page .pricing-banner {
  position: absolute;
  top: 0;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  background: linear-gradient(135deg, rgba(15, 107, 255, 0.98), rgba(79, 149, 255, 0.98));
  color: #f8fbff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(15, 107, 255, 0.28);
  text-shadow: 0 1px 0 rgba(4, 12, 30, 0.18);
  transform: translateY(-42%);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.services-page .package-card.pricing-card.is-featured .pricing-card-body {
  padding-top: 34px;
}

.package-group .package-card.pricing-card.is-featured .pricing-card-body {
  padding-top: 12px;
}

.maintenance-package-grid .package-card.pricing-card.is-featured .pricing-card-body {
  padding-top: 12px;
}

.services-page .pricing-card-body {
  --pricing-card-gap: 14px;
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--pricing-card-gap);
  padding: 20px;
}

.services-page .pricing-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  order: 1;
}

.services-page .pricing-type {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.services-page .pricing-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.services-page .pricing-card h4 {
  color: var(--ink);
  font-size: 27px;
}

.services-page .pricing-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(123, 181, 255, 0.3);
  background: linear-gradient(135deg, rgba(93, 137, 201, 0.46), rgba(66, 93, 138, 0.7));
  color: #f7fbff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  text-shadow: 0 1px 0 rgba(4, 12, 30, 0.24);
  font-size: 11px;
  font-weight: 700;
}

.services-page .pricing-subtitle {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  max-width: 32ch;
}

.services-page .price-stack {
  order: 3;
  margin-top: auto;
  padding: 16px 16px 0;
  border-radius: 20px 20px 0 0;
  border: 1px solid rgba(15, 107, 255, 0.12);
  border-bottom: 0;
  background: rgba(var(--tone-accent-rgb), 0.1);
  box-shadow: none;
}

.services-page .price-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}

.services-page .price-line {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  flex-wrap: wrap;
  line-height: 1;
}

.services-page .quote-line {
  align-items: baseline;
  gap: 8px;
  line-height: 1.1;
}

.services-page .price-quote {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.services-page .price-quote-strong {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.services-page .price-prefix {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  padding-bottom: 9px;
}

.services-page .price-currency {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}

.services-page .price-amount {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.services-page .price-period {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  padding-bottom: 7px;
}

.services-page .price-note {
  margin-top: 7px;
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 600;
}

.services-page .pricing-card .package-points {
  order: 2;
  flex: 1;
  gap: 8px;
  margin-bottom: 2px;
}

.services-page .pricing-card .package-points li {
  padding-left: 28px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

.services-page .pricing-card .package-points li::before {
  width: 14px;
  height: 14px;
  top: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 107, 255, 0.12);
  box-shadow: inset 0 0 0 4px var(--primary);
  transform: none;
}

.services-page .pricing-btn {
  order: 4;
  position: relative;
  overflow: hidden;
  margin-top: calc(var(--pricing-card-gap) * -1);
  min-height: 52px;
  padding: 14px 18px;
  border-radius: 0 0 20px 20px;
  border: 0;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 28px rgba(15, 107, 255, 0.18);
}

.services-page .pricing-btn::before {
  content: none;
}

.services-page .pricing-btn:hover {
  transform: translateY(-1px);
  background: var(--primary-strong);
  box-shadow: 0 16px 34px rgba(15, 107, 255, 0.22);
}

.services-page .tone-slate {
  --tone-accent: #edf4ff;
  --tone-accent-rgb: 237, 244, 255;
  --tone-button-text: #0c1d3a;
}

.services-page .tone-blue {
  --tone-accent: #8fc2ff;
  --tone-accent-rgb: 143, 194, 255;
  --tone-button-text: #031829;
}

.services-page .tone-cyan {
  --tone-accent: #a8d8ff;
  --tone-accent-rgb: 168, 216, 255;
  --tone-button-text: #08213a;
}

.services-page .tone-lime {
  --tone-accent: #0f6bff;
  --tone-accent-rgb: 15, 107, 255;
  --tone-button-text: #ffffff;
}

.services-page .tone-rose {
  --tone-accent: #2d84ff;
  --tone-accent-rgb: 45, 132, 255;
  --tone-button-text: #ffffff;
}

.services-page .tone-violet {
  --tone-accent: #5f97ff;
  --tone-accent-rgb: 95, 151, 255;
  --tone-button-text: #ffffff;
}

.services-page .tone-amber {
  --tone-accent: #c9dcff;
  --tone-accent-rgb: 201, 220, 255;
  --tone-button-text: #0c1d3a;
}

.policy-box {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  background: rgba(15, 107, 255, 0.04);
  color: var(--ink);
  margin: 18px 0 22px;
  box-shadow: 0 8px 24px rgba(15, 107, 255, 0.05);
}

.policy-box p {
  color: var(--muted);
}

.request-wrap {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.request-summary {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  background: var(--card-bg);
  box-shadow: 0 10px 30px rgba(15, 107, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.request-summary p {
  color: var(--muted);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
}

.request-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(15, 107, 255, 0.05);
}

.request-form .contact-form textarea {
  min-height: 140px;
  resize: none;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-family: inherit;
}

.request-note {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: -8px;
  padding: 10px 14px;
}

.back-arrow {
  font-size: 18px;
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, calc(100% - 24px));
  background: var(--cookie-banner-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 107, 255, 0.16);
  padding: 16px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-banner__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cookie-banner__title {
  font-weight: 700;
  color: var(--ink);
  margin: 4px 0;
}

.cookie-banner__text {
  color: var(--muted);
  margin: 0;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-actions .btn {
  flex: 1 1 auto;
  min-width: 120px;
}

.cookie-preferences {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  background: var(--surface);
  display: none;
  flex-direction: column;
  gap: 10px;
}

.cookie-preferences.open {
  display: flex;
}

.cookie-toggle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.cookie-toggle label {
  font-weight: 700;
  color: var(--ink);
}

.cookie-toggle .toggle-note {
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}

.cookie-preferences input[type='checkbox'] {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .request-wrap {
    grid-template-columns: 1fr;
  }

  .request-form,
  .request-summary {
    width: 100%;
  }

  .request-form {
    order: 1;
  }

  .request-summary {
    order: 2;
  }
}

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

  .home-stage__section.hero .home-stage__panel {
    padding: 120px 0 80px;
  }

  .home-stage__section.hero .home-stage__panel::after {
    height: 140px;
  }

  .hero-visual {
    order: 2;
  }

  .hero-copy {
    order: 1;
  }
}

@media (min-width: 1081px) {
  .process-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
  }

  .process-card {
    padding: 16px 14px;
  }

  .process-card h3 {
    font-size: 17px;
  }

  .process-card p {
    font-size: 14px;
    line-height: 1.45;
  }

  .step-number {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    margin-bottom: 10px;
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .services-page main {
    padding-top: 78px;
  }

  .home-stage {
    padding: 16px 0 40px;
    perspective: none;
  }

  .home-stage__section {
    width: calc(100% - 16px);
    margin-bottom: 24px;
    scroll-margin-top: 92px;
  }

  .home-stage__panel {
    border-radius: 24px;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }

  .home-stage__section.section .home-stage__panel {
    padding: 72px 0;
  }

  .home-stage__section .section-header,
  .home-stage__section .hero-copy,
  .home-stage__section .hero-visual,
  .home-stage__section .cta-content > div:first-child,
  .home-stage__section .glass-panel,
  .home-stage__section .stat,
  .home-stage__section .process-card,
  .home-stage__section .project-card,
  .home-stage__section .cta-card,
  .home-stage__section .panel-list li,
  .home-stage__section .project-thumb,
  .home-stage__section .project-body,
  .home-stage__section .step-number,
  .home-stage__section .panel-header,
  .home-stage__section .panel-footer {
    transform: none;
  }

  .nav-bar {
    display: flex;
    justify-content: space-between;
  }

  .home-page .nav-links {
    background: var(--home-mobile-nav-bg);
    border-color: var(--home-mobile-nav-border);
  }

  .home-page .nav-links a {
    color: var(--home-mobile-nav-link);
  }

  .home-page .nav-links a:hover {
    color: var(--home-mobile-nav-link);
    background: var(--home-mobile-nav-hover-bg);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    right: 16px;
    width: calc(100% - 32px);
    background: var(--nav-panel-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 16px 40px rgba(15, 107, 255, 0.12);
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
  }

  .nav-actions .btn {
    display: none;
  }

  .theme-toggle {
    padding: 10px 12px;
  }

  .currency-switcher__select {
    min-width: 76px;
    padding: 10px 28px 10px 12px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: 8px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .section {
    padding: 72px 0;
  }

  .cta-content {
    grid-template-columns: 1fr;
  }

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

  .services-page .package-card.pricing-card.is-featured {
    transform: none;
  }
}

@media (max-width: 640px) {
  .about-intro {
    min-height: 100vh;
    min-height: 100svh;
    padding: 112px 0 44px;
  }

  .about-intro__title {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .about-intro__sub {
    margin-top: 14px;
    font-size: 0.98rem;
  }

  .about-stage {
    padding-bottom: 56px;
  }

  .about-story__intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-story__copy {
    gap: 16px;
  }

  .about-story__copy h2 {
    font-size: clamp(1.72rem, 8.8vw, 2.6rem);
  }

  .about-story__copy p {
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .about-story__aside {
    grid-template-columns: 1fr;
  }

  .about-story__highlight,
  .about-story__list {
    padding: 18px;
    border-radius: 18px;
  }

  .about-story__footer .btn {
    width: 100%;
  }

  .about-values__grid {
    margin-top: 24px;
  }

  .about-modal__mark-frame {
    width: min(100%, 260px);
  }

  .about-modal__media-copy {
    font-size: 0.98rem;
  }

  .about-modal__copy p {
    font-size: 14px;
    line-height: 1.72;
  }

  .services-page main {
    padding-top: 70px;
  }

  .services-page {
    --services-card-height: 37rem;
  }

  .landing-intro {
    padding: 128px 16px 36px;
  }

  .landing-intro::after {
    height: 120px;
  }

  .landing-promo {
    top: 46%;
    left: 50%;
    width: min(34rem, calc(100% - 32px));
    transform: translate(-50%, -50%);
  }

  .landing-promo__frame {
    min-height: 9.2rem;
  }

  .landing-promo__line {
    justify-content: center;
    text-align: center;
    font-size: clamp(1.7rem, 6vw, 3rem);
  }

  .discover-control {
    bottom: 24px;
  }

  .home-page.has-cookie-banner .discover-control {
    bottom: 200px;
  }

  .discover-circle {
    width: 50px;
    height: 50px;
  }

  .discover-icon {
    width: 20px;
    height: 20px;
  }

  .home-content {
    scroll-margin-top: 76px;
  }

  .home-stage__section {
    width: calc(100% - 12px);
    margin-bottom: 18px;
  }

  .home-stage__panel {
    border-radius: 20px;
  }

  .hero-grid {
    scroll-margin-top: 76px;
  }

  .theme-toggle {
    min-width: 44px;
    padding: 10px;
    justify-content: center;
  }

  .theme-toggle__text {
    display: none;
  }

  .currency-switcher::after {
    right: 11px;
  }

  .currency-switcher__select {
    min-width: 70px;
    padding: 10px 24px 10px 10px;
    font-size: 13px;
  }

  .nav-bar {
    padding: 12px 0;
  }

  .home-stage__section.hero .home-stage__panel {
    padding: 110px 0 64px;
  }

  .home-stage__section.hero .home-stage__panel::after {
    height: 110px;
  }

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

  .cta-actions {
    flex-direction: column;
  }

  .card-grid,
  .project-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    top: 64px;
  }

  .request-form,
  .request-summary {
    padding: 16px;
  }

  .summary-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .cookie-banner {
    width: calc(100% - 16px);
    left: 8px;
    right: 8px;
    transform: none;
    bottom: 12px;
  }

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

  .project-thumb {
    height: 210px;
  }

  .services-page .package-grid {
    grid-template-columns: 1fr;
    padding-top: 14px;
  }

  .services-page .pricing-card-body {
    padding: 18px;
  }

  .services-page .package-card.pricing-card.is-featured .pricing-card-body {
    padding-top: 34px;
  }

  .package-group .package-card.pricing-card.is-featured .pricing-card-body {
    padding-top: 14px;
  }

  .maintenance-package-grid .package-card.pricing-card.is-featured .pricing-card-body {
    padding-top: 14px;
  }

  .services-page .pricing-banner {
    right: 18px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 14px;
    font-size: 9px;
  }

  .services-page .pricing-card h4 {
    font-size: 24px;
  }

  .services-page .price-amount {
    font-size: 2.7rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  .landing-intro,
  .hero,
  .home-stage__panel,
  .service-modal,
  .service-modal__panel,
  .service-modal__inner,
  .service-modal__close,
  .discover-circle,
  .landing-cloud,
  .site-header,
  .nav-links a,
  .theme-toggle,
  .btn {
    transition: none;
  }

  .discover-circle,
  .landing-cloud {
    animation: none;
  }

  .home-stage__panel {
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }

  .home-stage__section .section-header,
  .home-stage__section .hero-copy,
  .home-stage__section .hero-visual,
  .home-stage__section .cta-content > div:first-child,
  .home-stage__section .glass-panel,
  .home-stage__section .stat,
  .home-stage__section .process-card,
  .home-stage__section .project-card,
  .home-stage__section .cta-card,
  .home-stage__section .panel-list li,
  .home-stage__section .project-thumb,
  .home-stage__section .project-body,
  .home-stage__section .step-number,
  .home-stage__section .panel-header,
  .home-stage__section .panel-footer {
    transform: none;
  }
}
