:root {
  --bg: #07070d;
  --bg-deep: #0a0b14;
  --panel: rgba(14, 16, 30, 0.72);
  --panel-strong: rgba(18, 21, 40, 0.94);
  --line: rgba(139, 92, 246, 0.18);
  --line-strong: rgba(139, 92, 246, 0.4);
  --text: #f5f7ff;
  --muted: #aeb6d9;
  --muted-strong: #cad2f2;
  --indigo: #8b5cf6;
  --indigo-soft: #a78bfa;
  --indigo-deep: #4c1d95;
  --card-shadow: 0 26px 90px rgba(0, 0, 0, 0.45);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: "Manrope", "Noto Sans Georgian", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 15%, rgba(139, 92, 246, 0.18), transparent 24%),
    radial-gradient(circle at 80% 20%, rgba(76, 29, 149, 0.22), transparent 22%),
    linear-gradient(180deg, #05050a 0%, #090b13 45%, #0b0c15 100%);
}

html[lang="ka"] body {
  font-family: "Noto Sans Georgian", "Manrope", sans-serif;
}

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

button {
  font: inherit;
}

.site-shell {
  position: relative;
  overflow-x: clip;
  min-height: 100vh;
}

.ambient,
.grid-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.ambient {
  filter: blur(80px);
  opacity: 0.32;
}

.ambient-left {
  width: 28rem;
  height: 28rem;
  top: 6rem;
  left: -8rem;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.9), transparent 70%);
}

.ambient-right {
  width: 30rem;
  height: 30rem;
  right: -10rem;
  bottom: 5rem;
  background: radial-gradient(circle, rgba(76, 29, 149, 0.9), transparent 70%);
}

.grid-overlay {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 88%);
  opacity: 0.5;
}

.section,
.footer {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.topbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 2.6rem;
  margin-inline: 0;
  z-index: 30;
  position: sticky;
  top: 0;
  background: rgba(7, 7, 13, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.08);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  align-self: center;
  justify-content: flex-start;
  gap: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  min-height: 0;
  width: fit-content;
  line-height: 0;
  flex: 0 0 auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border-radius: 0.9rem;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.16), rgba(139, 92, 246, 0.04));
  box-shadow: inset 0 0 20px rgba(139, 92, 246, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: inherit;
}

.brand-mark-logo {
  width: auto;
  height: 3.4rem;
  padding: 0;
  display: flex;
  align-items: center;
  border-radius: 0;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.brand-word-hidden {
  display: none;
}

.brand-mark-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand[aria-label="ESTER home"] {
  padding: 0;
}

.brand-word {
  font-size: 0.96rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(8, 10, 18, 0.62);
  backdrop-filter: blur(14px);
}

.site-nav a,
.services-trigger {
  color: var(--muted);
  font-size: 0.95rem;
}

.services-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.services-trigger::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 160ms ease;
  opacity: 0.85;
}

.site-nav a.current {
  color: var(--text);
}

.services-dropdown.current .services-trigger,
.services-dropdown:hover .services-trigger,
.services-dropdown:focus-within .services-trigger,
.services-dropdown.is-open .services-trigger {
  color: var(--text);
}

.services-dropdown:hover .services-trigger::after,
.services-dropdown:focus-within .services-trigger::after,
.services-dropdown.is-open .services-trigger::after {
  transform: rotate(225deg) translateY(-1px);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.services-trigger:hover,
.services-trigger:focus-visible {
  color: var(--text);
}

.services-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.services-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 0.9rem;
}

.services-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.2rem);
  left: 0;
  min-width: 16rem;
  padding: 0.5rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(8, 10, 18, 0.96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 0.2rem;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.services-dropdown:hover .services-dropdown-menu,
.services-dropdown:focus-within .services-dropdown-menu,
.services-dropdown.is-open .services-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.services-dropdown-menu a {
  padding: 0.8rem 0.9rem;
  border-radius: 0.8rem;
  color: var(--muted);
}

.services-dropdown-menu a.current-subitem {
  background: rgba(139, 92, 246, 0.12);
  color: var(--text);
}

.services-dropdown-menu a:hover,
.services-dropdown-menu a:focus-visible {
  background: rgba(139, 92, 246, 0.12);
  color: var(--text);
}

.menu-toggle {
  display: none;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(8, 10, 18, 0.62);
  color: var(--text);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(8, 10, 18, 0.62);
  backdrop-filter: blur(14px);
}

.lang-button {
  min-width: 4rem;
  padding: 0.55rem 0.78rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  justify-content: center;
}

.lang-button.is-active {
  background: linear-gradient(135deg, var(--indigo), #6d28d9);
  color: #fff;
  box-shadow: 0 10px 24px rgba(139, 92, 246, 0.25);
}

.lang-flag {
  width: 1rem;
  height: 1rem;
  border-radius: 0.14rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: block;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
  flex: 0 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 1.05fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding-top: 4.2rem;
}

.hero-copy,
.hero-panel,
.proof-panel,
.contact-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--card-shadow);
}

.hero-copy {
  padding: clamp(1.6rem, 3vw, 2.75rem);
  border-radius: var(--radius-xl);
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo-soft);
}

h1,
h2,
h3,
strong {
  font-family: "Space Grotesk", sans-serif;
}

html[lang="ka"] h1,
html[lang="ka"] h2,
html[lang="ka"] h3,
html[lang="ka"] strong,
html[lang="ka"] .brand,
html[lang="ka"] .metric-value {
  font-family: "Noto Sans Georgian", sans-serif;
}

html[lang="ka"] h1 {
  font-size: clamp(2.18rem, 5.35vw, 4.05rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

html[lang="ka"] .hero-copy h1 {
  font-size: clamp(1.58rem, 3.3vw, 2.7rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  max-width: 12.8ch;
}

html[lang="en"] .hero-copy h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

html[lang="ka"] .page-title {
  font-size: clamp(2.28rem, 5.75vw, 4.28rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

html[lang="ka"] .section-head h2,
html[lang="ka"] .proof-panel h2,
html[lang="ka"] .contact-card h2 {
  font-size: clamp(1.9rem, 4.3vw, 2.92rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 19ch;
}

html[lang="ka"] .content-card h2 {
  font-size: clamp(1.64rem, 3.55vw, 2.44rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 19ch;
}

html[lang="ka"] .service-card h3,
html[lang="ka"] .advantage-card h3,
html[lang="ka"] .process-card h3,
html[lang="ka"] .sitemap-item strong,
html[lang="ka"] .detail-card h3,
html[lang="ka"] .hero-card h3 {
  font-size: 1.04rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

html[lang="ka"] .package-card h3 {
  font-size: 1.22rem;
  line-height: 1.28;
  letter-spacing: -0.015em;
}

html[lang="ka"] .package-stage-title {
  font-size: clamp(2.35rem, 4.5vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

html[lang="ka"] .stat-card strong {
  font-size: 1.14rem;
  line-height: 1.32;
  letter-spacing: -0.015em;
}

html[lang="ka"] .metric-value {
  font-size: clamp(1.72rem, 3vw, 2.35rem);
  letter-spacing: -0.025em;
}

html[lang="ka"] .lead,
html[lang="ka"] .section-copy,
html[lang="ka"] .stat-note,
html[lang="ka"] .metric-label,
html[lang="ka"] .service-card p,
html[lang="ka"] .advantage-card p,
html[lang="ka"] .process-card p,
html[lang="ka"] .sitemap-item p,
html[lang="ka"] .contact-card p,
html[lang="ka"] .content-card p,
html[lang="ka"] .detail-card p,
html[lang="ka"] .package-card p,
html[lang="ka"] .package-features li,
html[lang="ka"] .package-stage-subtitle,
html[lang="ka"] .package-section-head p {
  line-height: 1.85;
}

html[lang="ka"] .eyebrow,
html[lang="ka"] .panel-label,
html[lang="ka"] .stat-kicker,
html[lang="ka"] .metric-label,
html[lang="ka"] .service-meta,
html[lang="ka"] .advantage-index,
html[lang="ka"] .process-card span,
html[lang="ka"] .sitemap-item span,
html[lang="ka"] .quote-role {
  letter-spacing: 0.05em;
  text-transform: none;
}

html[lang="ka"] .brand {
  letter-spacing: 0.05em;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

.lead {
  max-width: 31rem;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.72;
}

html[lang="ka"] .hero-copy .lead {
  max-width: 29rem;
  font-size: 0.94rem;
  line-height: 1.68;
}

.hero-subline {
  max-width: 31rem;
  margin: 1rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--indigo-soft);
  line-height: 1.55;
}

html[lang="ka"] .hero-copy .hero-subline {
  max-width: 29rem;
  font-size: 0.88rem;
}

.section-copy {
  max-width: 40rem;
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.85;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.55rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.reveal {
  --reveal-offset: 18px;
  --reveal-scale: 0.992;
  --parallax-x: 0px;
  --parallax-y: 0px;
  opacity: 0;
  transform: translate3d(var(--parallax-x), calc(var(--parallax-y) + var(--reveal-offset)), 0) scale(var(--reveal-scale));
  transition:
    opacity 760ms ease,
    transform 920ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 240ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
  will-change: opacity, transform;
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0) scale(1);
}

.reveal-soft {
  --reveal-offset: 12px;
  --reveal-scale: 0.996;
}

.reveal-panel {
  --reveal-offset: 14px;
  --reveal-scale: 0.996;
}

.reveal-delay-1 {
  transition-delay: 45ms;
}

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

.reveal-delay-3 {
  transition-delay: 135ms;
}

.reveal-delay-4 {
  transition-delay: 180ms;
}

.reveal-delay-5 {
  transition-delay: 225ms;
}

.service-card,
.detail-card,
.advantage-card,
.process-card,
.metric-card,
.sitemap-item,
.content-card,
.stat-card,
.package-card {
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease,
    background 200ms ease;
}

.service-card:hover,
.detail-card:hover,
.advantage-card:hover,
.process-card:hover,
.metric-card:hover,
.sitemap-item:hover,
.content-card:hover,
.stat-card:hover,
.package-card:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.32);
  box-shadow: 0 18px 46px rgba(5, 8, 20, 0.22);
}

.parallax-surface {
  transform-style: preserve-3d;
}

.parallax-surface.reveal-visible {
  transition:
    opacity 760ms ease,
    transform 920ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 240ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.reveal-visible,
  .service-card,
  .detail-card,
  .advantage-card,
  .process-card,
  .metric-card,
  .sitemap-item,
  .content-card,
  .stat-card,
  .package-card,
  .button {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

.button-primary {
  background: linear-gradient(135deg, var(--indigo), #6d28d9);
  color: #fff;
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.3);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(139, 92, 246, 0.08);
  color: var(--muted-strong);
}

.hero-panel {
  padding: 1.2rem;
  border-radius: var(--radius-xl);
  display: grid;
  gap: 1rem;
}

.hero-visual {
  display: grid;
  align-items: center;
  padding: 0;
  justify-items: center;
  overflow: hidden;
  max-height: 32rem;
}

.hero-visual-image {
  width: min(100%, 38rem);
  height: auto;
  max-height: 32rem;
  display: block;
  object-fit: contain;
  object-position: center top;
}

body[data-page="home"] .hero {
  position: relative;
  isolation: isolate;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: clamp(31rem, 58vw, 40rem);
  overflow: hidden;
  padding: clamp(4rem, 7vw, 5.8rem) clamp(1.1rem, 2vw, 1.5rem) clamp(4.4rem, 8vw, 6rem);
}

body[data-page="home"] .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 20% 26%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(90deg, rgba(247, 243, 255, 0.94) 0%, rgba(242, 236, 255, 0.78) 28%, rgba(180, 136, 255, 0.18) 58%, rgba(89, 33, 164, 0.06) 100%);
  pointer-events: none;
}

body[data-page="home"] .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7rem;
  z-index: 1;
  background: linear-gradient(180deg, rgba(245, 241, 251, 0), rgba(245, 241, 251, 0.92));
  pointer-events: none;
}

body[data-page="home"] .hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 38rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(249, 245, 255, 0.22));
  border-color: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(12px) saturate(1.03);
  -webkit-backdrop-filter: blur(12px) saturate(1.03);
  box-shadow: 0 24px 56px rgba(94, 45, 121, 0.12);
}

body[data-page="home"] .hero-copy .lead,
body[data-page="home"] .hero-copy .hero-subline {
  max-width: 31rem;
}

body[data-page="home"] .hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  max-height: none;
  justify-items: stretch;
  align-items: stretch;
  overflow: hidden;
  pointer-events: none;
}

body[data-page="home"] .hero-visual-image {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: 68% center;
  filter: saturate(1.06) contrast(1.03);
}

body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) {
  --service-mist-main: rgba(255, 255, 255, 0.98);
  --service-mist-strong: rgba(255, 255, 255, 0.82);
  --service-mist-soft: rgba(246, 240, 254, 0.74);
  --service-mist-clear: rgba(243, 239, 252, 0.08);
  --service-haze-left: rgba(191, 171, 255, 0.28);
  --service-haze-right: rgba(166, 120, 209, 0.24);
  --service-bottom-glow: rgba(248, 244, 255, 0.88);
  --service-bottom-soft: rgba(248, 244, 255, 0.68);
  --service-panel-border: rgba(255, 255, 255, 0.44);
  --service-panel-hi: rgba(255, 255, 255, 0.46);
  --service-panel-mid: rgba(255, 255, 255, 0.28);
  --service-panel-low: rgba(255, 255, 255, 0.12);
  --service-panel-shadow: rgba(94, 45, 121, 0.08);
  --service-panel-inset: rgba(255, 255, 255, 0.42);
  --service-accent-strong: rgba(106, 13, 173, 0.82);
  --service-accent-soft: rgba(178, 102, 255, 0.18);
  --service-copy-width: 58rem;
  --service-copy-width-tablet: 44rem;
  --service-image-width: 54rem;
  --service-image-width-tablet: 42rem;
  --service-image-width-mobile: 34rem;
  --service-image-shift-x: 14%;
  --service-image-shift-y: -1.4rem;
  --service-image-shift-x-tablet: 8%;
  --service-image-shift-y-tablet: 0.3rem;
  --service-image-shift-x-mobile: 6%;
  --service-image-shift-y-mobile: 0.9rem;
  --service-image-opacity: 0.94;
  --service-image-opacity-mobile: 0.9;
  --service-image-shadow: rgba(132, 102, 195, 0.22);
}

body[data-page="serviceAccounting"] {
  --service-haze-left: rgba(191, 171, 255, 0.28);
  --service-haze-right: rgba(166, 120, 209, 0.24);
  --service-image-width: 50rem;
  --service-image-shift-x: 10%;
  --service-image-shift-y: -1rem;
  --service-image-shift-x-tablet: 6%;
  --service-image-shift-y-tablet: 0.15rem;
  --service-image-shift-x-mobile: 4%;
  --service-image-shift-y-mobile: 0.7rem;
}

body[data-page="serviceTax"] {
  --service-haze-left: rgba(194, 182, 255, 0.24);
  --service-haze-right: rgba(132, 100, 198, 0.26);
  --service-panel-hi: rgba(255, 255, 255, 0.5);
  --service-panel-mid: rgba(255, 255, 255, 0.3);
  --service-panel-low: rgba(255, 255, 255, 0.14);
  --service-accent-strong: rgba(94, 45, 121, 0.84);
  --service-accent-soft: rgba(166, 120, 209, 0.2);
  --service-copy-width: 56rem;
  --service-copy-width-tablet: 42rem;
  --service-image-width: 46rem;
  --service-image-width-tablet: 36rem;
  --service-image-width-mobile: 29rem;
  --service-image-shift-x: 8%;
  --service-image-shift-y: -0.8rem;
  --service-image-shift-x-tablet: 5%;
  --service-image-shift-y-tablet: 0.25rem;
  --service-image-shift-x-mobile: 3%;
  --service-image-shift-y-mobile: 0.65rem;
  --service-image-shadow: rgba(117, 93, 185, 0.18);
}

body[data-page="serviceAnalytics"] {
  --service-haze-left: rgba(184, 170, 255, 0.22);
  --service-haze-right: rgba(150, 112, 210, 0.24);
  --service-panel-hi: rgba(255, 255, 255, 0.48);
  --service-panel-mid: rgba(255, 255, 255, 0.28);
  --service-panel-low: rgba(255, 255, 255, 0.13);
  --service-copy-width: 57rem;
  --service-copy-width-tablet: 43rem;
  --service-image-width: 45rem;
  --service-image-width-tablet: 35rem;
  --service-image-width-mobile: 28rem;
  --service-image-shift-x: 8%;
  --service-image-shift-y: -0.85rem;
  --service-image-shift-x-tablet: 5%;
  --service-image-shift-y-tablet: 0.15rem;
  --service-image-shift-x-mobile: 3%;
  --service-image-shift-y-mobile: 0.6rem;
  --service-image-shadow: rgba(128, 98, 194, 0.18);
}

body[data-page="servicePartner"] {
  --service-haze-left: rgba(200, 182, 255, 0.22);
  --service-haze-right: rgba(156, 120, 214, 0.25);
  --service-panel-hi: rgba(255, 255, 255, 0.47);
  --service-panel-mid: rgba(255, 255, 255, 0.29);
  --service-panel-low: rgba(255, 255, 255, 0.13);
  --service-accent-strong: rgba(118, 39, 170, 0.82);
  --service-accent-soft: rgba(178, 102, 255, 0.2);
  --service-copy-width: 58rem;
  --service-copy-width-tablet: 44rem;
  --service-image-width: 48rem;
  --service-image-width-tablet: 37rem;
  --service-image-width-mobile: 30rem;
  --service-image-shift-x: 10%;
  --service-image-shift-y: -0.45rem;
  --service-image-shift-x-tablet: 6%;
  --service-image-shift-y-tablet: 0.3rem;
  --service-image-shift-x-mobile: 4%;
  --service-image-shift-y-mobile: 0.8rem;
  --service-image-shadow: rgba(133, 96, 198, 0.2);
}

body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin-inline: 0;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  min-height: clamp(33rem, 66vw, 45rem);
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 6.5rem) clamp(1rem, 4vw, 3rem) clamp(6rem, 10vw, 8rem);
}

body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .hero::before {
  content: "";
  position: absolute;
  inset: -5rem -8vw 16% -8vw;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 18%, var(--service-mist-main) 0%, var(--service-mist-strong) 17%, rgba(255, 255, 255, 0.2) 46%, transparent 72%),
    radial-gradient(circle at 20% 42%, var(--service-haze-left), transparent 36%),
    radial-gradient(circle at 82% 38%, var(--service-haze-right), transparent 30%),
    linear-gradient(180deg, rgba(251, 248, 255, 0.96) 0%, var(--service-mist-soft) 44%, var(--service-mist-clear) 100%);
  filter: blur(14px);
  opacity: 0.96;
  pointer-events: none;
}

body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .hero::after {
  content: "";
  position: absolute;
  left: -8vw;
  right: -8vw;
  bottom: -5.5rem;
  height: 13rem;
  z-index: 0;
  background:
    radial-gradient(ellipse at center, var(--service-bottom-glow) 0%, var(--service-bottom-soft) 42%, rgba(248, 244, 255, 0) 74%),
    linear-gradient(180deg, rgba(248, 244, 255, 0) 0%, rgba(246, 242, 255, 0.92) 65%, rgba(246, 242, 255, 1) 100%);
  filter: blur(22px);
  pointer-events: none;
}

body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, var(--service-copy-width));
  justify-self: center;
  padding: clamp(1.75rem, 3.2vw, 3rem);
  text-align: center;
  border: 1px solid var(--service-panel-border);
  border-radius: clamp(1.6rem, 2vw, 2.2rem);
  background: radial-gradient(circle at 50% 34%, var(--service-panel-hi) 0%, var(--service-panel-mid) 42%, var(--service-panel-low) 100%);
  backdrop-filter: blur(10px) saturate(1.06);
  -webkit-backdrop-filter: blur(10px) saturate(1.06);
  box-shadow:
    0 20px 58px var(--service-panel-shadow),
    inset 0 1px 0 var(--service-panel-inset);
  margin-left: 0;
}

body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .hero-copy::before {
  display: block;
  opacity: 0.72;
  background: linear-gradient(90deg, var(--service-accent-strong), var(--service-accent-soft));
}

body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .hero-copy .page-title,
body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .hero-copy .lead {
  margin-inline: auto;
  max-width: 45rem;
}

body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .hero-copy .page-title {
  text-wrap: balance;
}

body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .hero-copy .lead {
  color: rgba(74, 61, 95, 0.92);
}

body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .hero-actions {
  justify-content: center;
}

body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  max-height: none;
  justify-items: center;
  align-items: start;
  overflow: visible;
  pointer-events: none;
}

body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% 14% 18% 14%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.56) 0%, rgba(255, 255, 255, 0.18) 38%, transparent 68%);
  filter: blur(34px);
  opacity: 0.95;
}

body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .hero-visual-image {
  position: relative;
  width: min(100%, var(--service-image-width));
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center top;
  transform: translate(var(--service-image-shift-x), var(--service-image-shift-y));
  opacity: var(--service-image-opacity);
  filter: saturate(1.12) contrast(1.18) drop-shadow(0 18px 42px var(--service-image-shadow));
}

body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) main > .section + .section {
  position: relative;
  z-index: 2;
  margin-top: -1.5rem;
  padding-top: clamp(2.2rem, 5vw, 3.2rem);
}

body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .section-head h2 {
  max-width: none;
  line-height: 1.08;
}

@media (max-width: 900px) {
  body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .hero {
    min-height: clamp(31rem, 92vw, 40rem);
    padding: 4.4rem 1rem 5.8rem;
  }

  body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .hero-copy {
    width: min(100%, var(--service-copy-width-tablet));
    background: radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.3) 44%, rgba(255, 255, 255, 0.14) 100%);
  }

  body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .hero-visual::before {
    inset: 10% 8% 20% 8%;
    filter: blur(28px);
  }

  body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .hero-visual-image {
    width: min(128%, var(--service-image-width-tablet));
    transform: translate(var(--service-image-shift-x-tablet), var(--service-image-shift-y-tablet));
  }
}

@media (max-width: 640px) {
  body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .hero {
    min-height: clamp(29rem, 122vw, 38rem);
    padding: 4rem 0.9rem 5rem;
  }

  body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .hero::before {
    inset: -3rem -12vw 20% -12vw;
    filter: blur(12px);
  }

  body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .hero::after {
    bottom: -4.5rem;
    height: 10rem;
  }

  body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .hero-copy {
    width: 100%;
    padding: 1.45rem 1.1rem 1.6rem;
    background: radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.56) 0%, rgba(255, 255, 255, 0.34) 46%, rgba(255, 255, 255, 0.18) 100%);
    backdrop-filter: blur(9px) saturate(1.04);
    -webkit-backdrop-filter: blur(9px) saturate(1.04);
  }

  body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .hero-copy .page-title,
  body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .hero-copy .lead {
    max-width: none;
  }

  body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .hero-visual::before {
    inset: 8% 0 24% 0;
    filter: blur(24px);
  }

  body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) .hero-visual-image {
    width: min(146%, var(--service-image-width-mobile));
    transform: translate(var(--service-image-shift-x-mobile), var(--service-image-shift-y-mobile));
    opacity: var(--service-image-opacity-mobile);
  }

  body:is([data-page="serviceAccounting"], [data-page="serviceTax"], [data-page="serviceAnalytics"], [data-page="servicePartner"]) main > .section + .section {
    margin-top: -0.8rem;
    padding-top: 1.8rem;
  }
}

.panel-card,
.stat-card,
.metric-card,
.service-card,
.advantage-card,
.process-card,
.sitemap-item {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 24, 45, 0.86), rgba(10, 12, 22, 0.72));
}

.hero-card {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.hero-card h3 {
  margin: 0.7rem 0 0;
  font-size: 1.55rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-card .stat-note {
  margin-top: 1rem;
}

.panel-label,
.stat-kicker,
.metric-label,
.advantage-index,
.process-card span,
.sitemap-item span {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo-soft);
}

.focus-list {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.focus-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted-strong);
}

.focus-list li::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo-soft), var(--indigo));
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.5);
}

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

.stat-card {
  border-radius: var(--radius-md);
  padding: 1.3rem;
}

.stat-card strong {
  display: block;
  margin: 0.55rem 0 0.5rem;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.stat-note,
.metric-label,
.service-card p,
.advantage-card p,
.process-card p,
.sitemap-item p,
.contact-card p {
  color: var(--muted);
  line-height: 1.75;
}

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

.metric-card,
.service-card,
.process-card {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.service-card-link {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 100%;
}

.service-meta {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo-soft);
}

.service-more {
  margin-top: auto;
  color: var(--muted-strong);
}

.metric-value {
  display: block;
  margin-bottom: 0.6rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
}

.section-head {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}

.section-head h2 {
  margin: 0;
  max-width: 17ch;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.section-head.narrow h2 {
  max-width: 20ch;
}

.service-grid,
.process-grid,
.sitemap-grid,
.service-grid-wide {
  display: grid;
  gap: 1rem;
}

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

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

.service-card h3,
.advantage-card h3,
.process-card h3,
.sitemap-item strong {
  margin: 0 0 0.8rem;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.4rem;
  align-items: start;
}

.advantage-stack {
  display: grid;
  gap: 1rem;
}

.advantage-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}

.advantage-index {
  min-width: 3rem;
}

.proof-band {
  padding-top: 1rem;
}

.proof-panel {
  border-radius: var(--radius-xl);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.proof-panel h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.proof-panel .process-grid {
  margin-top: 1.8rem;
}

.sitemap-grid {
  margin-top: 1.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sitemap-item {
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

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

.contact-card {
  border-radius: var(--radius-xl);
  padding: clamp(1.8rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: 1.2rem;
}

.contact-card h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  max-width: 13ch;
}

.contact-note {
  margin: 0;
  font-size: 0.95rem;
}

.site-footer {
  padding: 1rem 0 2.4rem;
}

.footer-panel {
  position: relative;
  overflow: hidden;
  padding: 2.4rem 2rem 1.2rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(167, 139, 250, 0.12);
  background:
    linear-gradient(180deg, rgba(32, 35, 57, 0.96), rgba(24, 27, 45, 0.98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.footer-panel::before,
.footer-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(12rem, 0.8fr) minmax(14rem, 0.9fr);
  gap: 2.2rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand-mark {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(167, 139, 250, 0.28);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.16), rgba(139, 92, 246, 0.04));
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.footer-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: inherit;
}

.footer-brand-mark-logo {
  width: auto;
  height: 2.6rem;
  padding: 0;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.footer-brand-mark-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-brand-name {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.footer-tagline {
  margin: 0.45rem 0 0;
  color: var(--muted-strong);
}

.footer-text {
  max-width: 38rem;
  margin: 1.3rem 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.footer-links-block h3,
.footer-contact-block h3,
.footer-social-block h3 {
  margin: 0 0 1.15rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.footer-links {
  display: grid;
  gap: 0.95rem;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.footer-links a,
.footer-contact-list a,
.footer-contact-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer-contact-list {
  display: grid;
  gap: 0.95rem;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  isolation: isolate;
  overflow: visible;
  text-decoration: none;
  transition: transform 220ms ease;
}

.social-icon-link:hover,
.social-icon-link:focus-visible {
  transform: translateY(-2px) scale(1.03);
}

.social-icon-halo {
  position: absolute;
  inset: -0.5rem;
  border-radius: var(--social-halo-radius, 36%);
  opacity: 0;
  filter: blur(18px);
  transition: opacity 360ms cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
  z-index: 0;
}

.social-icon-tile {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: var(--social-tile-radius, 28%);
  background: #1c1c20;
  box-shadow:
    0 18px 34px rgba(0,0,0,.3),
    0 2px 0 rgba(255,255,255,.04) inset,
    0 -2px 0 rgba(0,0,0,.28) inset;
  overflow: hidden;
  transition: box-shadow 360ms ease;
  z-index: 1;
}

.social-icon-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 360ms ease;
  z-index: 0;
}

.social-icon-svg {
  position: relative;
  z-index: 1;
  width: var(--social-glyph-width, 72%);
  height: var(--social-glyph-height, 72%);
  display: block;
  color: #d6d6dc;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.35));
  transition: color 360ms ease, filter 360ms ease, transform 360ms ease;
}

.social-icon-link:hover .social-icon-halo,
.social-icon-link:focus-visible .social-icon-halo {
  opacity: .55;
}

.social-icon-link:hover .social-icon-tile,
.social-icon-link:focus-visible .social-icon-tile {
  box-shadow:
    0 26px 48px var(--social-shadow, rgba(31, 41, 55, .22)),
    0 2px 0 rgba(255,255,255,.1) inset,
    0 -2px 0 rgba(0,0,0,.3) inset;
}

.social-icon-link:hover .social-icon-tile::before,
.social-icon-link:focus-visible .social-icon-tile::before {
  opacity: 1;
}

.social-icon-link:hover .social-icon-svg,
.social-icon-link:focus-visible .social-icon-svg {
  color: #ffffff;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.35));
  transform: scale(1.03);
}

.social-icon-link-linkedin {
  --social-shadow: rgba(15, 90, 143, .34);
}

.social-icon-link-linkedin .social-icon-halo {
  background: conic-gradient(from 210deg, #2a7fc5, #0a4b7a, #093452, #0a4b7a, #2a7fc5, #5aa0d8, #2a7fc5);
}

.social-icon-link-linkedin .social-icon-tile::before {
  background: radial-gradient(120% 120% at 50% -10%, #5aa0d8 0%, #2a7fc5 30%, #0f5a8f 65%, #0a4b7a 100%);
}

.social-icon-link-facebook {
  --social-shadow: rgba(26, 105, 232, .34);
  --social-glyph-width: 84%;
  --social-glyph-height: 84%;
}

.social-icon-link-facebook .social-icon-halo {
  background: conic-gradient(from 210deg, #4a8eff, #1658d1, #0b3a99, #1658d1, #4a8eff, #7fb3ff, #4a8eff);
}

.social-icon-link-facebook .social-icon-tile::before {
  background: radial-gradient(120% 120% at 50% -10%, #7fb3ff 0%, #4a8eff 30%, #1a69e8 60%, #0b3a99 100%);
}

.social-icon-link-instagram {
  --social-shadow: rgba(229, 70, 140, .28);
  --social-glyph-width: 78%;
  --social-glyph-height: 78%;
}

.social-icon-link-instagram .social-icon-halo {
  background: conic-gradient(from 210deg, #f6c945, #f37335, #e7287a, #b34dd6, #4f7bff, #21c7c2, #f6c945);
}

.social-icon-link-instagram .social-icon-tile::before {
  background: radial-gradient(120% 120% at 25% 110%, #ffd34d 0%, #ff8a3d 22%, #ff3d77 44%, #c044d6 62%, #5a55ff 80%, #1f9bff 100%);
}

.social-icon-link-youtube {
  --social-shadow: rgba(226, 32, 32, .4);
  --social-glyph-width: 42%;
  --social-glyph-height: 42%;
  --social-tile-radius: 24%;
  --social-halo-radius: 24%;
}

.social-icon-link-youtube .social-icon-halo {
  background: conic-gradient(from 210deg, #ff5a3d, #e22020, #a60f0f, #c11a1a, #ff5a3d, #ff8a70, #ff5a3d);
}

.social-icon-link-youtube .social-icon-tile::before {
  background: radial-gradient(120% 140% at 50% -20%, #ff8a70 0%, #ff5a3d 25%, #e22020 55%, #c11a1a 85%, #8f0e0e 100%);
}

.social-icon-link-whatsapp {
  --social-shadow: rgba(31, 122, 58, .38);
  --social-glyph-width: 70%;
  --social-glyph-height: 70%;
}

.social-icon-link-whatsapp .social-icon-halo {
  background: conic-gradient(from 210deg, #4dbf6a, #1f7a3a, #0e4a22, #1f7a3a, #4dbf6a, #8ee0a2, #4dbf6a);
}

.social-icon-link-whatsapp .social-icon-tile::before {
  background: linear-gradient(180deg, #5fd07e 0%, #3dac5e 35%, #1f7a3a 80%, #0e4a22 100%);
}

.footer-social-links .social-icon-link {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.footer-social-links .social-icon-link:hover,
.footer-social-links .social-icon-link:focus-visible {
  background: transparent;
  box-shadow: none;
}

.footer-social-links .social-icon-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.42);
  outline-offset: 3px;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  color: var(--muted-strong);
  font-size: 0.95rem;
}

.page-hero {
  padding-top: 5.25rem;
}

.page-hero-card,
.content-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--card-shadow);
}

.page-hero-card {
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 4rem);
}

.page-title {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.story-grid,
.contact-layout,
.detail-grid {
  display: grid;
  gap: 1rem;
}

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

.content-card {
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2rem);
}

.content-card h2 {
  margin: 0;
  max-width: 17ch;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.content-card p {
  color: var(--muted);
  line-height: 1.8;
}

.about-feature-section {
  padding-top: 1.25rem;
}

.about-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  overflow: hidden;
  border-radius: calc(var(--radius-xl) + 0.2rem);
  border: 1px solid rgba(94, 45, 121, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 255, 0.96));
  box-shadow: 0 28px 80px rgba(94, 45, 121, 0.14);
}

.about-feature-media {
  position: relative;
  min-height: clamp(24rem, 42vw, 35rem);
  overflow: hidden;
}

.about-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(94, 45, 121, 0.18), rgba(94, 45, 121, 0.02) 42%, transparent 78%);
  pointer-events: none;
}

.about-feature-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 40% 56%;
}

.about-feature-panel {
  position: relative;
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: clamp(2rem, 4vw, 3.4rem);
  overflow: hidden;
  color: #eef2ff;
  background:
    radial-gradient(circle at 14% 16%, rgba(153, 111, 255, 0.24), transparent 22%),
    radial-gradient(circle at 78% 78%, rgba(96, 165, 250, 0.16), transparent 24%),
    radial-gradient(circle at 52% 54%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #21145a 0%, #24175f 44%, #1b1249 100%);
}

.about-feature-panel::before,
.about-feature-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(24px);
}

.about-feature-panel::before {
  width: 14rem;
  height: 14rem;
  top: -2rem;
  right: -3rem;
  background: radial-gradient(circle, rgba(118, 82, 255, 0.32), transparent 70%);
}

.about-feature-panel::after {
  width: 16rem;
  height: 16rem;
  bottom: -4rem;
  left: -4rem;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.18), transparent 72%);
}

.about-feature-panel > * {
  position: relative;
  z-index: 1;
}

.about-feature-panel .eyebrow {
  margin-bottom: 0;
  color: rgba(232, 236, 255, 0.78);
}

.about-feature-panel h2,
.about-feature-title {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 3.9rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: #ffffff;
}

.about-feature-panel p {
  margin: 0;
  max-width: 34rem;
  color: rgba(232, 236, 255, 0.88);
  font-size: 1rem;
  line-height: 1.85;
}

.about-feature-actions {
  margin-top: 0.5rem;
}

.about-feature-button {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  box-shadow: none;
}

.about-feature-button:hover,
.about-feature-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.12);
}

.about-principles-section {
  padding-top: 1rem;
}

.about-principles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-principles-card {
  padding: clamp(1.55rem, 3vw, 2rem);
}

.about-principles-card h2 {
  max-width: none;
}

.about-principles-list {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.95rem;
}

.about-principles-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--muted-strong);
  line-height: 1.72;
}

.about-principles-list-dots li::before,
.about-principles-list-checks li::before {
  position: absolute;
  left: 0;
  top: 0.08rem;
  font-weight: 700;
}

.about-principles-list-dots li::before {
  content: "•";
  color: var(--indigo);
  font-size: 1.15rem;
}

.about-principles-list-checks li::before {
  content: "✓";
  color: var(--indigo);
  font-size: 1rem;
}

body[data-page="about"] .section-head h2 {
  max-width: 24ch;
}

body[data-page="about"] .contact-card h2 {
  max-width: 16ch;
}

body[data-page="career"] .other-info-feature .about-feature-media img {
  object-position: 32% 50%;
}

body[data-page="career"] .about-feature-title {
  max-width: none;
  font-size: clamp(1.92rem, 3.8vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

html[lang="ka"] body[data-page="career"] .about-feature-title {
  font-size: clamp(1.68rem, 3.05vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

body[data-page="career"] .other-info-feature .about-feature-panel p {
  max-width: 30rem;
}

body[data-page="career"] .section-head h2,
body[data-page="career"] .content-card h2 {
  max-width: none;
}

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

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

.detail-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 24, 45, 0.86), rgba(10, 12, 22, 0.72));
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}

.detail-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.info-card h2 {
  max-width: 20ch;
}

.feature-list {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--muted);
  line-height: 1.75;
}

.feature-list li::before {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.45rem;
  height: 1.45rem;
  margin-top: 0.15rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.feature-list-bullets li::before {
  content: "•";
  background: rgba(106, 13, 173, 0.12);
  color: var(--indigo);
}

.feature-list-checks li::before {
  content: "✓";
  background: rgba(106, 13, 173, 0.14);
  color: var(--indigo-deep);
}

.communication-panel {
  align-items: start;
}

.communication-list {
  margin: 0;
}

.communication-list strong {
  display: block;
  margin: 0 0 0.2rem;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.communication-list span {
  color: var(--muted);
  line-height: 1.75;
}

.quote-card {
  position: relative;
  overflow: hidden;
}

.quote-card::before {
  content: "“";
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 4.4rem;
  line-height: 1;
  color: rgba(167, 139, 250, 0.14);
}

.quote-role {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo-soft);
}

.info-list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.info-list li {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.info-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.info-list a,
.info-list span {
  color: var(--muted);
  line-height: 1.7;
}

.info-list a:hover,
.info-list a:focus-visible {
  color: var(--text);
}

.contact-social-block {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.8rem;
}

.contact-social-links .social-icon-link {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.contact-social-links .social-icon-link:hover,
.contact-social-links .social-icon-link:focus-visible {
  background: transparent;
  box-shadow: none;
}

.contact-social-links .social-icon-link:focus-visible {
  outline: 2px solid rgba(106, 13, 173, 0.24);
  outline-offset: 3px;
}

.contact-map-section {
  padding-top: 0;
}

.contact-map-card {
  display: grid;
  gap: 1.2rem;
}

.contact-map-card .section-head {
  margin-bottom: 0;
}

.contact-map-card .section-head h2 {
  max-width: none;
}

.contact-map-frame {
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(94, 45, 121, 0.12);
  min-height: clamp(20rem, 42vw, 28rem);
  background: #fff;
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: clamp(20rem, 42vw, 28rem);
  display: block;
  border: 0;
}

.contact-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted-strong);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(7, 9, 18, 0.9);
  color: var(--text);
}

.contact-form textarea {
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #7f88ad;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--line-strong);
  border-color: var(--line-strong);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0.2rem 0 0;
  color: var(--indigo-soft);
  min-height: 1.4rem;
}

.form-status.is-pending {
  color: var(--indigo-soft);
}

.form-status.is-success {
  color: #1f8f62;
}

.form-status.is-error {
  color: #b42318;
}

.contact-form button[disabled] {
  opacity: 0.72;
  cursor: wait;
}

.package-stage {
  width: min(calc(100% - 2rem), 1260px);
  margin: 0 auto 2rem;
  padding: 4.6rem 0 0;
}

.package-stage-head {
  text-align: center;
  margin: 0 auto 2.6rem;
  max-width: 62rem;
}

.package-stage-eyebrow {
  margin-bottom: 0.75rem;
}

.package-stage-title {
  margin: 0;
  max-width: none;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.package-stage-subtitle {
  margin: 1rem auto 0;
  max-width: 48rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.package-section + .package-section {
  margin-top: 3.2rem;
}

.package-section-head {
  text-align: center;
  margin: 0 auto 1.8rem;
  max-width: 52rem;
}

.package-section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.package-section-head p {
  margin: 0.7rem auto 0;
  color: var(--muted);
  line-height: 1.8;
}

.package-grid {
  display: grid;
  gap: 2rem;
}

.package-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 840px;
  margin: 0 auto;
}

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

.package-card {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  min-height: 100%;
  padding: 1.4rem 1.35rem 1.55rem;
  border-radius: 1.35rem;
  border: 1.5px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(20, 24, 45, 0.92), rgba(10, 12, 22, 0.82));
  color: var(--text);
  box-shadow: var(--card-shadow);
}

.package-card-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: start;
}

.package-icon-wrap {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--indigo), #6d28d9);
  border-radius: 0.6rem;
  flex: 0 0 auto;
}

.package-icon {
  width: 1.6rem;
  height: 1.6rem;
  object-fit: contain;
  display: block;
}

.package-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.package-card-copy {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.package-price-row {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding-top: 0.2rem;
}

.package-price-mark {
  color: var(--muted);
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
}

.package-price-value {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.35rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
}

.package-price-note {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.package-cta {
  width: 100%;
  padding: 0.95rem 1.2rem;
  background: linear-gradient(135deg, var(--indigo), #6d28d9);
  box-shadow: 0 10px 24px rgba(139, 92, 246, 0.25);
  color: #fff;
  font-weight: 700;
}

.package-cta:hover,
.package-cta:focus-visible {
  background: linear-gradient(135deg, var(--indigo-soft), var(--indigo));
}

.package-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.95rem;
}

.package-features li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--muted-strong);
  line-height: 1.5;
}

.package-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--indigo-soft);
  font-size: 1.1rem;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .hero,
  .two-column,
  .contact-card,
  .story-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

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

  .contact-social-links {
    gap: 0.7rem;
  }

  .social-icon-link {
    width: 3rem;
    height: 3rem;
  }

  .social-icon-halo {
    inset: -0.42rem;
    filter: blur(16px);
  }

  .about-feature-media {
    min-height: clamp(18rem, 62vw, 28rem);
  }

  .about-feature-panel {
    padding: 1.8rem 1.45rem 2rem;
  }

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

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

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

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

  .footer-brand-block {
    grid-column: 1 / -1;
  }

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

@media (max-width: 780px) {
  .topbar {
    flex-wrap: wrap;
  }

  .topbar-actions {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    border-radius: 1.2rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.is-open {
    display: flex;
  }

  .services-dropdown {
    width: 100%;
    display: grid;
    gap: 0.6rem;
  }

  .services-dropdown-menu {
    position: static;
    min-width: 100%;
    margin-top: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease;
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .services-dropdown.is-open .services-dropdown-menu {
    padding: 0.5rem;
    background: rgba(8, 10, 18, 0.96);
    border: 1px solid var(--line);
    border-radius: 1rem;
  }

  .services-dropdown.is-open .services-dropdown-menu {
    pointer-events: auto;
    max-height: 20rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .metrics,
  .service-grid,
  .service-grid-wide,
  .package-grid-two,
  .package-grid-three,
  .process-grid,
  .hero-stats,
  .sitemap-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .section,
  .footer {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .topbar {
    padding: 0.95rem 1rem;
  }

  .hero-copy,
  .hero-panel,
  .proof-panel,
  .contact-card {
    border-radius: 1.3rem;
  }

  .hero-visual {
    min-height: auto;
  }

  h1 {
    max-width: none;
    font-size: clamp(2rem, 7vw, 3.5rem);
  }

  html[lang="ka"] h1 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
  }

  .about-feature-panel h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .about-feature-panel p {
    max-width: none;
    font-size: 0.96rem;
    line-height: 1.78;
  }

  html[lang="ka"] .hero-copy h1 {
    font-size: clamp(1.38rem, 4vw, 1.96rem);
    max-width: none;
  }

  .page-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    overflow-wrap: break-word;
  }

  html[lang="ka"] .page-title {
    font-size: clamp(1.7rem, 5vw, 2.8rem);
  }

  .button {
    width: 100%;
  }

  .package-stage {
    width: min(calc(100% - 1.2rem), 1260px);
    padding-top: 3rem;
  }

  .package-card {
    padding: 1.15rem 1rem 1.25rem;
  }

  .package-price-row {
    align-items: flex-start;
  }

  .footer-panel {
    padding: 1.8rem 1.2rem 1rem;
    overflow: hidden;
  }

  .footer-main,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}

.service-card:focus-visible,
.detail-card:focus-visible,
.advantage-card:focus-visible,
.process-card:focus-visible,
.metric-card:focus-visible,
.sitemap-item:focus-visible,
.content-card:focus-visible,
.stat-card:focus-visible,
.package-card:focus-visible {
  outline: 2px solid var(--indigo-soft);
  outline-offset: 2px;
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.32);
}

@supports (padding: env(safe-area-inset-left)) {
  .site-shell {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .site-footer {
    padding-bottom: calc(2.4rem + env(safe-area-inset-bottom));
  }
}

/* ESTER refresh */
:root {
  --bg: #f6f2ff;
  --bg-deep: #ede4fb;
  --panel: rgba(255, 255, 255, 0.96);
  --panel-strong: #ffffff;
  --line: rgba(94, 45, 121, 0.12);
  --line-strong: rgba(106, 13, 173, 0.24);
  --text: #241a33;
  --muted: #695d7f;
  --muted-strong: #4a3d5f;
  --indigo: #6a0dad;
  --indigo-soft: #a678d1;
  --indigo-deep: #5e2d79;
  --card-shadow: 0 24px 60px rgba(94, 45, 121, 0.12);
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 10% 12%, rgba(178, 102, 255, 0.16), transparent 26%),
    radial-gradient(circle at 90% 8%, rgba(166, 120, 209, 0.18), transparent 24%),
    linear-gradient(180deg, #fbf9ff 0%, #f6f2ff 48%, #f3effc 100%);
}

.ambient {
  opacity: 0.2;
}

.ambient-left {
  background: radial-gradient(circle, rgba(178, 102, 255, 0.48), transparent 70%);
}

.ambient-right {
  background: radial-gradient(circle, rgba(94, 45, 121, 0.34), transparent 70%);
}

.grid-overlay {
  background-image:
    linear-gradient(rgba(94, 45, 121, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 45, 121, 0.04) 1px, transparent 1px);
  opacity: 0.7;
}

.topbar {
  background: rgba(248, 244, 255, 0.82);
  border-bottom: 1px solid rgba(94, 45, 121, 0.08);
  box-shadow: 0 12px 30px rgba(94, 45, 121, 0.08);
}

.brand {
  color: var(--text);
}

.brand-mark {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-deep));
  box-shadow: 0 18px 32px rgba(106, 13, 173, 0.22);
}

.site-nav,
.lang-switch,
.menu-toggle {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(94, 45, 121, 0.12);
  box-shadow: 0 14px 30px rgba(94, 45, 121, 0.08);
}

.site-nav a,
.services-trigger,
.lang-button {
  color: var(--muted);
}

.site-nav a.current,
.services-dropdown.current .services-trigger,
.services-dropdown:hover .services-trigger,
.services-dropdown:focus-within .services-trigger,
.services-dropdown.is-open .services-trigger,
.site-nav a:hover,
.site-nav a:focus-visible,
.services-trigger:hover,
.services-trigger:focus-visible {
  color: var(--text);
}

.site-nav > a[href="contact.html"] {
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-deep));
  color: #fff;
  box-shadow: 0 14px 26px rgba(106, 13, 173, 0.22);
}

.site-nav > a[href="contact.html"]:hover,
.site-nav > a[href="contact.html"]:focus-visible,
.site-nav > a[href="contact.html"].current {
  color: #fff;
  background: linear-gradient(135deg, #7c21c1, #6a0dad);
}

.services-dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 48px rgba(94, 45, 121, 0.14);
}

.services-dropdown-menu a {
  color: var(--muted-strong);
}

.hero-copy,
.hero-panel,
.page-hero-card,
.proof-panel,
.contact-card,
.panel-card,
.hero-card,
.content-card,
.detail-card,
.service-card,
.metric-card,
.stat-card,
.advantage-card,
.process-card,
.package-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 255, 0.96));
  border: 1px solid rgba(94, 45, 121, 0.1);
  box-shadow: var(--card-shadow);
  color: var(--text);
}

.hero-copy,
.page-hero-card,
.proof-panel,
.contact-card {
  position: relative;
  overflow: hidden;
}

.hero-copy::before,
.page-hero-card::before,
.proof-panel::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--indigo), rgba(178, 102, 255, 0.25));
}

.eyebrow,
.panel-label,
.stat-kicker,
.service-meta,
.metric-label,
.quote-role,
.package-stage-eyebrow,
.blog-meta {
  color: var(--indigo);
}

.lead,
.section-copy,
.service-card p,
.content-card p,
.detail-card p,
.advantage-card p,
.process-card p,
.contact-note,
.package-card-copy,
.package-price-note,
.footer-text,
.stat-note {
  color: var(--muted);
}

.button-primary,
.package-cta {
  background: linear-gradient(135deg, var(--indigo), var(--indigo-deep));
  box-shadow: 0 14px 28px rgba(106, 13, 173, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible,
.package-cta:hover,
.package-cta:focus-visible {
  background: linear-gradient(135deg, #7c21c1, #6a0dad);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border-color: rgba(94, 45, 121, 0.12);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(106, 13, 173, 0.24);
  color: var(--indigo);
}

.hero-copy h1,
.page-title,
.package-stage-title {
  color: #231730;
}

html[lang="ka"] .hero-copy h1 {
  font-size: clamp(1.58rem, 3.3vw, 2.7rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  max-width: 12.8ch;
}

.metric-value,
.package-price-value {
  color: var(--indigo-deep);
}

.service-card-link:hover,
.service-card-link:focus-visible,
.advantage-card:hover,
.process-card:hover,
.detail-card:hover,
.blog-card:hover,
.package-card:hover {
  border-color: rgba(106, 13, 173, 0.18);
  box-shadow: 0 28px 62px rgba(94, 45, 121, 0.16);
}

.package-group {
  display: grid;
  gap: 1.4rem;
}

.package-group-head {
  max-width: 52rem;
}

.package-group-copy {
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.package-group-grid {
  align-items: start;
}

.package-card-featured {
  border-color: rgba(106, 13, 173, 0.22);
  box-shadow: 0 28px 70px rgba(106, 13, 173, 0.18);
}

.package-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 0.9rem;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  background: rgba(106, 13, 173, 0.08);
  color: var(--indigo);
  font-size: 0.8rem;
  font-weight: 700;
}

.package-price-row-custom {
  align-items: center;
}

.package-price-value-custom {
  font-size: 1.55rem;
  line-height: 1.15;
}

.package-section-note .content-card {
  max-width: 44rem;
}

.blog-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(94, 45, 121, 0.1);
  box-shadow: var(--card-shadow);
}

.blog-card h3 {
  margin: 0.55rem 0 0.75rem;
  font-size: 1.2rem;
  line-height: 1.35;
}

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

.site-footer {
  color: #f6efff;
}

.footer-panel {
  background:
    radial-gradient(ellipse 60% 80% at 10% 110%, rgba(139, 92, 246, 0.28) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 90% -10%, rgba(106, 13, 173, 0.22) 0%, transparent 55%),
    linear-gradient(145deg, #1e1130 0%, #2d1a45 40%, #3d2060 75%, #2a1540 100%);
  border: 1px solid rgba(139, 92, 246, 0.18);
  box-shadow: 0 32px 80px rgba(30, 17, 48, 0.35);
}

.footer-panel::before {
  width: 18rem;
  height: 18rem;
  top: -6rem;
  right: -4rem;
  border-radius: 50%;
  transform: none;
  border: none;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
}

.footer-panel::after {
  width: 12rem;
  height: 12rem;
  top: auto;
  bottom: -3rem;
  right: 30%;
  border-radius: 50%;
  transform: none;
  border: none;
  background: radial-gradient(circle, rgba(106, 13, 173, 0.1) 0%, transparent 70%);
}

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

.footer-brand-name,
.footer-main h3,
.footer-contact-list a,
.footer-contact-list p,
.footer-links a,
.footer-social-links a,
.footer-services-links a,
.footer-bottom {
  color: #f6efff;
}

.footer-tagline,
.footer-text {
  color: rgba(246, 239, 255, 0.78);
}

.footer-links,
.footer-services-links {
  display: grid;
  gap: 0.7rem;
}

.footer-social-links {
  gap: 0.8rem;
}

.footer-links a:hover,
.footer-social-links a:hover,
.footer-services-links a:hover,
.footer-links a:focus-visible,
.footer-social-links a:focus-visible,
.footer-services-links a:focus-visible,
.footer-contact-list a:hover,
.footer-contact-list a:focus-visible {
  color: #ffffff;
}

.info-list li {
  border-bottom-color: rgba(94, 45, 121, 0.1);
}

.info-list strong {
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  background: #fff;
  border-color: rgba(94, 45, 121, 0.12);
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(106, 13, 173, 0.32);
  box-shadow: 0 0 0 4px rgba(166, 120, 209, 0.12);
}

.package-features li::before {
  content: "\2713";
  color: var(--indigo);
}

@media (max-width: 1080px) {
  .blog-grid,
  .package-group-grid.package-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-brand-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  .site-nav > a[href="contact.html"] {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .services-dropdown.is-open .services-dropdown-menu {
    background: rgba(255, 255, 255, 0.96);
  }

  .blog-grid,
  .package-group-grid.package-grid-three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  html[lang="ka"] .hero-copy h1 {
    font-size: clamp(1.38rem, 4vw, 1.96rem);
    max-width: none;
  }

  html[lang="en"] .hero-copy h1 {
    font-size: clamp(1.5rem, 4.5vw, 2.1rem);
    max-width: none;
  }
}

/* ── Home Services Section ─────────────────────────────── */
.home-services .section-head h2,
html[lang="ka"] .home-services .section-head h2,
html[lang="en"] .home-services .section-head h2 {
  max-width: none;
  white-space: normal;
  font-size: clamp(1.3rem, 3vw, 2.25rem);
}
.home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "service-1 showcase service-2"
    "service-3 showcase service-4";
  gap: 1.5rem;
  margin-top: 2.4rem;
  align-items: start;
}

.home-service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 19.25rem;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  text-decoration: none;
  color: var(--text);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.home-service-card-1 {
  grid-area: service-1;
}

.home-service-card-2 {
  grid-area: service-2;
}

.home-service-card-3 {
  grid-area: service-3;
}

.home-service-card-4 {
  grid-area: service-4;
}

.home-service-showcase {
  grid-area: showcase;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.home-service-showcase img {
  width: 100%;
  height: 100%;
  max-height: 31rem;
  display: block;
  object-fit: contain;
  object-position: center;
}

.home-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 72px rgba(94, 45, 121, 0.16);
}

.home-service-icon {
  width: 90px;
  height: 90px;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-service-card-4 .home-service-icon {
  width: 108px;
  height: 108px;
  margin-bottom: 0.9rem;
}

.home-service-card-4 .home-service-icon img {
  transform: scale(1.06);
}

.home-service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  color: var(--text);
  line-height: 1.3;
}

.home-service-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.home-about-feature-section {
  padding-top: 0.75rem;
}

body[data-page="home"] .home-about-feature {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

body[data-page="home"] .home-about-feature .about-feature-media {
  min-height: clamp(24rem, 38vw, 31rem);
}

body[data-page="home"] .home-about-feature .about-feature-media img {
  object-position: 46% 50%;
}

body[data-page="home"] .home-about-feature .about-feature-panel p {
  max-width: 33rem;
}

body[data-page="home"] .home-about-feature .about-feature-button {
  min-width: 12rem;
}

@media (max-width: 780px) {
  body[data-page="home"] .home-about-feature .about-feature-media img {
    object-position: 50% 42%;
  }

  body[data-page="home"] .hero {
    min-height: clamp(30rem, 120vw, 38rem);
    padding: 3.9rem 0.85rem 4.8rem;
  }

  body[data-page="home"] .hero-copy {
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(249, 245, 255, 0.18));
  }

  body[data-page="home"] .hero-visual-image {
    object-position: 74% center;
  }
}

@media (max-width: 540px) {
  body[data-page="home"] .hero {
    min-height: clamp(29rem, 136vw, 36rem);
  }

  body[data-page="home"] .hero-visual-image {
    object-position: 77% center;
  }
}

@media (max-width: 900px) {
  .home-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "service-1 service-2"
      "showcase showcase"
      "service-3 service-4";
  }

  .home-service-showcase {
    min-height: 15rem;
  }

  .home-service-showcase img {
    max-height: 18rem;
  }

  .home-service-card {
    min-height: 17.75rem;
  }
}

@media (max-width: 540px) {
  .home-services-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "service-1"
      "service-2"
      "showcase"
      "service-3"
      "service-4";
  }

  .home-service-showcase {
    min-height: 13rem;
    padding: 0.85rem;
  }

  .home-service-showcase img {
    max-height: 15rem;
  }

  .home-service-card {
    min-height: auto;
  }

  .home-service-card-4 .home-service-icon {
    width: 100px;
    height: 100px;
  }
}
