:root {
  --bg: #050509;
  --bg-alt: #050517;
  --bg-soft: #101026;
  --text: #f7f7ff;
  --muted: #a5a6c5;
  --accent: #f9fafb;
  --accent-pink: #ff63c3;
  --accent-blue: #4f46e5;
  --accent-mint: #22c7b8;
  --border-subtle: #272742;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
  --shadow-card: 0 14px 35px rgba(0, 0, 0, 0.8);
  --container: 1120px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at top left, #18183a 0, transparent 55%),
    radial-gradient(circle at top right, #1f172e 0, transparent 55%),
    radial-gradient(circle at bottom, #050509 0, #02010a 70%);
  color: var(--text);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "SF Pro Text", "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

body {
  min-height: 100vh;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(3, 3, 15, 0.96),
    rgba(3, 3, 20, 0.88),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
}

.logo {
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.92rem;
  color: var(--accent);
}

.logo span {
  color: var(--muted);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.7);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 4px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease-out, color 0.15s ease-out;
}

.lang-btn.active {
  background: #f5f5f5;
  color: #000;
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.nav a {
  position: relative;
  color: var(--muted);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 1px;
  background: var(--accent);
  transition: width 0.2s ease-out;
}

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

.nav a:hover::after {
  width: 100%;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 114, 182, 0.7);
  background: linear-gradient(
    135deg,
    var(--accent-pink),
    var(--accent-blue)
  );
  color: #050509;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
  transition: transform 0.16s ease-out, box-shadow 0.16s ease-out,
    background 0.16s ease-out, color 0.16s ease-out;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.92);
}

.btn-outline {
  background: rgba(10, 10, 24, 0.8);
  color: var(--accent);
  border-color: rgba(148, 163, 253, 0.65);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.85);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn.small {
  padding: 0.55rem 1.2rem;
  font-size: 0.8rem;
}

.btn.full-width {
  width: 100%;
}

.ghost-link {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 4px;
}

.ghost-link:hover {
  color: var(--accent);
}

/* HERO */
.hero {
  padding: 68px 0 48px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.hero h1 {
  font-size: clamp(2.8rem, 4.6vw, 3.8rem);
  letter-spacing: -0.045em;
  margin: 0 0 10px;
  line-height: 1.1;
  color: var(--accent);
}

.hero-subtitle {
  margin: 0 0 24px;
  color: #d4d4d4;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  margin-bottom: 20px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-card {
  background: radial-gradient(
      circle at top left,
      rgba(79, 70, 229, 0.55) 0,
      transparent 45%
    ),
    radial-gradient(circle at bottom right, #1b1b2d 0, #050509 55%);
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 253, 0.25);
  box-shadow: var(--shadow-card);
  padding: 24px 22px 20px;
  display: grid;
  gap: 14px;
}

.hero-kpi {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent);
}

.kpi-label {
  font-size: 0.8rem;
  color: var(--muted);
}

.kpi-value {
  font-size: 1.1rem;
  font-weight: 600;
}

.hero-note {
  margin: 8px 4px 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* SECTIONS */
.section {
  padding: 44px 0;
}

.section-light {
  background:
    radial-gradient(circle at top, #191932 0, transparent 65%),
    linear-gradient(to bottom, rgba(4, 4, 18, 0.96), rgba(3, 3, 11, 0.96));
}

.section-header {
  text-align: center;
  margin-bottom: 26px;
}

.section-header.left {
  text-align: left;
}

.section-header h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

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

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

.card {
  background: radial-gradient(circle at top left, #191931 0, #050509 65%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 18px;
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.service-card p {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--muted);
}

.service-card ul {
  padding-left: 18px;
  margin: 0;
  color: #d4d4d4;
  font-size: 0.9rem;
}

/* PROCESS */
.process-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}

.process-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: flex-start;
  background: #050505;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  padding: 14px 16px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
  color: var(--muted);
}

.process-steps h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.process-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* CASES */
.kpi-card {
  text-align: left;
}

.kpi-tag {
  margin: 0 0 6px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.kpi-main {
  margin: 0 0 4px;
  font-size: 1.3rem;
  font-weight: 600;
}

.kpi-sub {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* CLIENT LOGOS */
.client-logos {
  margin-top: 28px;
}

.client-logos-header p {
  margin: 0 0 10px;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

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

.client-logo-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 253, 0.28);
  background: radial-gradient(
      circle at top left,
      rgba(244, 114, 182, 0.18),
      transparent 55%
    ),
    rgba(10, 10, 20, 0.96);
  color: var(--text);
  font-size: 0.86rem;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out,
    border-color 0.15s ease-out, background 0.15s ease-out;
}

.client-logo-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.7);
  border-color: rgba(244, 114, 182, 0.7);
}

.client-logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-pink));
  color: #050509;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.client-logo-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ABOUT */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.two-column p {
  color: var(--muted);
}

.two-column p + p {
  margin-top: 10px;
}

.about-aside {
  display: grid;
  gap: 12px;
}

.stat {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: #050505;
  box-shadow: var(--shadow-soft);
  padding: 10px 12px;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.stat-value {
  font-size: 1.05rem;
  font-weight: 500;
}

/* CONTACT */
.contact-section {
  padding-bottom: 48px;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: flex-start;
}

.contact-meta {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.contact-meta li + li {
  margin-top: 4px;
}

.contact-form {
  border-radius: var(--radius-lg);
  background: #050505;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.field label {
  font-size: 0.85rem;
  color: #d4d4d4;
}

input,
textarea,
select {
  font: inherit;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: #000;
  color: var(--text);
  padding: 8px 9px;
  outline: none;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out,
    background 0.15s ease-out;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
  background: #050505;
}

select[multiple] {
  min-height: 80px;
}

.field small {
  font-size: 0.75rem;
  color: var(--muted);
}

.form-status {
  min-height: 1.1em;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--muted);
}

.form-status--success {
  color: #bbf7d0;
}

.form-status--error {
  color: #fecaca;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 0 20px;
  background: #000;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  text-decoration: underline;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 3px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .header-inner {
    padding-inline: 16px;
  }

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

  .header-right {
    gap: 10px;
  }

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

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

  .two-column,
  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 56px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .footer-inner {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
}
