*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #f6f5f2;
  color: #16171a;
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

::selection {
  background: var(--accent);
  color: #0a0b0d;
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.page {
  --accent: #7c5cff;
  min-height: 100vh;
  overflow-x: hidden;
  background: #f6f5f2;
  color: #16171a;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(246, 245, 242, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

.logo {
  font-family: 'Newsreader', serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #16171a;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: #55564f;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.site-nav a.nav-link:hover { color: #16171a; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(20, 20, 20, 0.14);
  border-radius: 999px;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: #55564f;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-switch button.active {
  background: var(--accent);
  color: #0a0b0d;
}

.btn-primary {
  font-size: 13.5px;
  font-weight: 600;
  color: #0a0b0d;
  background: var(--accent);
  padding: 9px 18px;
  border-radius: 999px;
  transition: filter 0.2s, transform 0.2s;
}

.btn-primary:hover { filter: brightness(1.08); }

.hero {
  position: relative;
  background: #f6f5f2;
  color: #16171a;
  overflow: hidden;
  border-bottom: 1px solid #e7e5df;
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(20, 20, 20, 0.055) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 65% at 50% 8%, #000, transparent 72%);
  mask-image: radial-gradient(70% 65% at 50% 8%, #000, transparent 72%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(46% 42% at 50% 4%, color-mix(in oklch, var(--accent) 20%, transparent), transparent 72%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(72px, 11vw, 132px) clamp(20px, 5vw, 40px) clamp(76px, 9vw, 112px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-avatar {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(20, 20, 20, 0.12);
  background-color: #eceae4;
  box-shadow: 0 0 0 7px #fbfbf9, 0 14px 34px -16px rgba(20, 20, 20, 0.32);
  margin-bottom: 30px;
  flex: none;
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6c6d66;
  margin-bottom: 26px;
}

.hero-kicker .rule {
  display: block;
  width: 26px;
  height: 1px;
  flex: none;
  background: var(--accent);
}

.hero-kicker .kicker-text {
  white-space: nowrap;
}

.hero-title {
  font-family: 'Newsreader', serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin: 0 0 28px;
  white-space: pre-line;
  color: #14151a;
}

.hero-sub {
  max-width: 50ch;
  font-size: clamp(16.5px, 1.4vw, 19px);
  line-height: 1.62;
  color: #55564f;
  margin: 0 0 40px;
  text-wrap: pretty;
}

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

.btn-hero-primary {
  font-size: 15px;
  font-weight: 600;
  color: #0a0b0d;
  background: var(--accent);
  padding: 14px 30px;
  border-radius: 999px;
  box-shadow: 0 10px 24px -12px color-mix(in oklch, var(--accent) 60%, transparent);
  transition: filter 0.2s, transform 0.2s;
}

.btn-hero-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-hero-secondary {
  font-size: 15px;
  font-weight: 500;
  color: #16171a;
  padding: 14px 28px;
  border: 1px solid rgba(20, 20, 20, 0.18);
  border-radius: 999px;
  transition: border-color 0.2s;
}

.btn-hero-secondary:hover { border-color: rgba(20, 20, 20, 0.45); }

.section-services {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 64px) clamp(24px, 4vw, 48px);
}

.section-advantages {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 64px);
}

.section-cases {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 64px);
}

.section-contact {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) clamp(20px, 5vw, 64px) clamp(72px, 9vw, 112px);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 4vw, 52px);
  flex-wrap: wrap;
}

.section-title {
  font-family: 'Newsreader', serif;
  font-weight: 400;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
}

.section-note {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #7c7d78;
}

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

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 30px;
  background: #ffffff;
  border: 1px solid #e7e5df;
  border-radius: 8px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(16, 23, 20, 0.35);
  border-color: var(--accent);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.service-num {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  color: #a7a89f;
}

.service-price {
  font-family: 'Newsreader', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.service-card h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.62;
  color: #55564f;
  margin: 0;
}

.advantages-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  border-top: 1px solid #e2e0d9;
  padding-top: clamp(36px, 5vw, 60px);
}

.advantage-stat {
  font-family: 'Newsreader', serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.advantage h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 8px;
}

.advantage p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #55564f;
  margin: 0;
}

.about {
  background: #0d0e10;
  color: #f6f5f2;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 245, 242, 0.55);
  margin-bottom: 22px;
}

.about-kicker .rule {
  display: block;
  width: 24px;
  height: 1px;
  flex: none;
  background: var(--accent);
}

.about .section-title {
  line-height: 1.06;
  color: #f6f5f2;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about-copy p {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.62;
  color: rgba(246, 245, 242, 0.82);
  margin: 0;
}

.cases-intro { margin-bottom: clamp(32px, 4vw, 52px); }

.cases-intro .section-note {
  font-size: 14.5px;
  font-style: italic;
  font-family: 'Newsreader', serif;
  font-weight: 400;
  letter-spacing: normal;
  margin: 8px 0 0;
}

.case-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 32px;
  background: #ffffff;
  border: 1px solid #e7e5df;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px -24px rgba(16, 23, 20, 0.4);
}

.case-image {
  margin: -30px -28px 24px;
  aspect-ratio: 2 / 1;
  background-color: #f0efea;
  border-bottom: 1px solid #ece9e2;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-card h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.case-card .case-body {
  font-size: 14px;
  line-height: 1.62;
  color: #55564f;
  margin: 0 0 20px;
  flex: 1;
}

.case-result {
  border-top: 1px solid #ece9e2;
  padding-top: 16px;
}

.case-result p {
  font-family: 'Newsreader', serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0;
  color: #16171a;
}

.contact-panel {
  background: #0d0e10;
  color: #f6f5f2;
  border-radius: 14px;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 70% at 85% 15%, color-mix(in oklch, var(--accent) 24%, transparent), transparent 72%);
  pointer-events: none;
}

.contact-panel > *:not(.contact-glow) { position: relative; }

.contact-panel h2 {
  font-family: 'Newsreader', serif;
  font-weight: 400;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
}

.contact-panel .contact-sub {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(246, 245, 242, 0.72);
  max-width: 40ch;
  margin: 0 0 30px;
}

.contact-panel .btn-hero-primary {
  display: inline-flex;
  padding: 14px 28px;
  box-shadow: none;
}

.contact-panel .btn-hero-primary:hover {
  filter: brightness(1.08);
}

.contact-rows { display: flex; flex-direction: column; gap: 2px; }

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-row span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 245, 242, 0.5);
}

.contact-row a {
  font-size: 15px;
  font-weight: 500;
  text-align: right;
  color: #f6f5f2;
  transition: color 0.2s;
}

.contact-row a:hover { color: var(--accent); }

.site-footer {
  border-top: 1px solid #e2e0d9;
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px clamp(20px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.footer-links a {
  font-size: 13.5px;
  color: #55564f;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-copy {
  font-size: 13.5px;
  color: #a7a89f;
}

[data-reveal] { opacity: 0; }

[data-reveal].visible {
  animation: revealUp 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.legal-page {
  --accent: #7c5cff;
  background: #f6f5f2;
  color: #16171a;
  font-family: 'Inter', system-ui, sans-serif;
  min-height: 100vh;
}

.legal-header {
  border-bottom: 1px solid #e2e0d9;
}

.legal-header-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 18px clamp(20px, 5vw, 40px);
}

.legal-back {
  font-size: 13.5px;
  font-weight: 500;
  color: #55564f;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s;
}

.legal-back:hover { color: var(--accent); }

.legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 40px) 120px;
}

.legal-kicker {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a7a89f;
  margin: 0 0 14px;
}

.legal-main h1 {
  font-family: 'Newsreader', serif;
  font-weight: 400;
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
}

.legal-main p {
  font-size: 16px;
  line-height: 1.65;
  color: #55564f;
  margin: 0 0 18px;
  max-width: 62ch;
}

.legal-main a {
  color: var(--accent);
  font-weight: 500;
}

.legal-footer {
  border-top: 1px solid #e2e0d9;
}

.legal-footer-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 26px clamp(20px, 5vw, 40px);
  font-size: 13.5px;
  color: #a7a89f;
}

@media (max-width: 720px) {
  .site-nav .nav-link { display: none; }
  .site-header { padding-inline: 20px; }
  .hero-kicker .kicker-text { white-space: normal; }
}
