@import url('https://fonts.googleapis.com/css2?family=Onest:wght@400;450;500;550;600;650;700&display=swap');

:root {
  --bg: #f6f7f8;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-solid: #ffffff;
  --text: #111827;
  --text-soft: #5b6472;
  --line: rgba(17, 24, 39, 0.10);
  --line-strong: rgba(17, 24, 39, 0.16);
  --accent: #2aabee;
  --accent-hover: #1598dc;
  --accent-soft: #e6f6fd;
  --accent-softer: #f1faff;
  --dark: #111827;
  --dark-soft: #182233;
  --success: #0d8a62;
  --danger: #c13b3b;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --shadow-soft: 0 20px 70px rgba(26, 54, 80, 0.10);
  --container: 1340px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 7%, rgba(42, 171, 238, 0.13), transparent 28rem),
    radial-gradient(circle at 8% 34%, rgba(42, 171, 238, 0.07), transparent 24rem),
    var(--bg);
  font-family: 'Onest', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.drawer-open { overflow: hidden; }

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.site-shell {
  position: relative;
  overflow: clip;
}

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

.site-header {
  position: relative;
  z-index: 20;
  padding: 22px 0;
}

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

.brand {
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.045em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switcher {
  display: flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px);
}

.language-link {
  min-width: 38px;
  padding: 8px 9px;
  border-radius: 999px;
  color: var(--text-soft);
  text-decoration: none;
  text-align: center;
  font-size: 12px;
  font-weight: 650;
  transition: color .18s ease, background .18s ease;
}

.language-link:hover { color: var(--text); }
.language-link[aria-current='page'] {
  color: var(--text);
  background: var(--surface-solid);
  box-shadow: 0 4px 14px rgba(17,24,39,.08);
}

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding: 0 17px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  cursor: pointer;
  font-weight: 650;
  transition: transform .18s ease, background .18s ease;
}

.header-contact:hover { background: var(--accent-hover); transform: translateY(-1px); }
.header-contact svg { width: 17px; height: 17px; }

.hero {
  position: relative;
  padding: 34px 0 48px;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(42,171,238,.13);
  border-radius: 999px;
}

.hero::before {
  width: 460px;
  height: 460px;
  right: -220px;
  top: 40px;
}

.hero::after {
  width: 240px;
  height: 240px;
  right: 40px;
  top: 150px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .72fr);
  align-items: end;
  gap: 64px;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--accent-hover);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .02em;
}

.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(42,171,238,.10);
}

.hero-title {
  max-width: 920px;
  margin: 0;
  font-size: clamp(3.5rem, 7.15vw, 7.2rem);
  line-height: .92;
  letter-spacing: -.065em;
  font-weight: 600;
  text-wrap: balance;
}

.hero-title .accent-word { color: var(--accent); }

.hero-panel {
  position: relative;
  z-index: 3;
  margin-bottom: 12px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.76);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

.hero-description {
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  line-height: 1.52;
  letter-spacing: -.018em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 21px;
  border-radius: 16px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-weight: 650;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover { background: var(--accent-hover); }
.button-secondary { color: var(--text); background: transparent; border-color: var(--line-strong); }
.button-secondary:hover { background: rgba(255,255,255,.8); }
.button svg { width: 18px; height: 18px; }

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--text-soft);
  font-size: 14px;
}

.hero-note::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--line-strong);
}

.floating-card {
  position: absolute;
  z-index: 4;
  right: 15%;
  bottom: -54px;
  width: 230px;
  padding: 18px 20px;
  border: 1px solid rgba(42,171,238,.23);
  border-radius: 20px;
  background: var(--accent-soft);
  box-shadow: 0 20px 45px rgba(42,171,238,.12);
  transform: rotate(-3deg);
}

.floating-card strong {
  display: block;
  font-size: 15px;
  letter-spacing: -.02em;
}

.floating-card span {
  display: block;
  margin-top: 5px;
  color: var(--text-soft);
  font-size: 13px;
}

.section { padding: 56px 0; }

/* Vertical rhythm: enough separation to keep the page airy, but each
   section should still feel like part of one continuous story. */
#services { padding: 38px 0 20px; }
#services + .section { padding: 0 0 14px; }
.section + .contact-section { padding-top: 10px; }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: end;
  gap: clamp(48px, 8vw, 128px);
  margin-bottom: 30px;
}

.section-heading-main {
  min-width: 0;
}

.section-heading .eyebrow {
  margin-bottom: 14px;
}

.section-title {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.65rem, 4.2vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 580;
  text-wrap: balance;
}

.section-principle {
  position: relative;
  max-width: 470px;
  margin: 0 0 5px;
  padding: 4px 0 4px 25px;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.35vw, 1.32rem);
  line-height: 1.42;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.section-principle::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), rgba(42,171,238,.16));
}

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

.service-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(42,171,238,.36);
  box-shadow: 0 24px 80px rgba(29,66,99,.10);
}

.service-card:nth-child(1) { grid-column: span 7; }
.service-card:nth-child(2) { grid-column: span 5; background: var(--accent-softer); }
.service-card:nth-child(3) {
  grid-column: span 12;
  min-height: 300px;
  background: var(--surface-solid);
}

.service-content { min-width: 0; }

.service-card:nth-child(3) .service-content {
  display: grid;
  grid-template-columns: minmax(0,.82fr) minmax(0,1fr);
  column-gap: 64px;
  row-gap: 34px;
  align-items: start;
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  color: var(--accent-hover);
  background: var(--accent-soft);
  font-size: 13px;
  font-weight: 700;
}

.service-title {
  max-width: 520px;
  margin: 54px 0 16px;
  font-size: clamp(1.7rem, 2.5vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 600;
}

.service-card:nth-child(3) .service-number {
  grid-column: 1;
  grid-row: 1;
}

.service-card:nth-child(3) .service-title {
  grid-column: 1;
  grid-row: 2;
  margin-top: 0;
}

.service-text {
  max-width: 640px;
  margin: 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.65;
}

.service-card:nth-child(3) .service-text {
  grid-column: 2;
  grid-row: 2;
  padding-bottom: 3px;
}

.service-examples {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 16px 24px;
  align-items: baseline;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(13,27,48,.09);
}

.service-examples-label {
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.examples-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.example-item {
  position: relative;
  padding-left: 11px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.45;
}

.example-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(42,171,238,.72);
}

.approach-wrap {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 6vw, 78px);
  border-radius: 38px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(42,171,238,.34), transparent 19rem),
    linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
}

.approach-wrap::after {
  content: '';
  position: absolute;
  right: -100px;
  bottom: -170px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 50%;
}

.approach-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(280px,.65fr);
  gap: 72px;
  align-items: end;
}

.approach-wrap .eyebrow { color: #83d6ff; }
.approach-wrap .eyebrow::before { background: #83d6ff; box-shadow: 0 0 0 7px rgba(131,214,255,.12); }
.approach-title {
  margin: 0;
  max-width: 790px;
  font-size: clamp(2.7rem, 5vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.06em;
  font-weight: 570;
  text-wrap: balance;
}

.approach-text {
  margin: 30px 0 0;
  max-width: 720px;
  color: rgba(255,255,255,.72);
  font-size: 18px;
  line-height: 1.65;
}

.approach-aside {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
  font-size: 16px;
  line-height: 1.6;
}

.contact-section { padding: 10px 0 26px; }
.contact-card {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(300px,.55fr);
  gap: 64px;
  align-items: end;
  padding: clamp(34px, 5.5vw, 70px);
  border: 1px solid var(--line);
  border-radius: 38px;
  background: rgba(255,255,255,.72);
}

.contact-title {
  margin: 0;
  font-size: clamp(3rem, 5.6vw, 6rem);
  line-height: .95;
  letter-spacing: -.065em;
  font-weight: 580;
}

.contact-text {
  max-width: 640px;
  margin: 26px 0 0;
  color: var(--text-soft);
  font-size: 18px;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-actions .button { width: 100%; }
.direct-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.direct-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text-soft);
  background: rgba(255,255,255,.62);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color .18s ease, border-color .18s ease, transform .18s ease;
}
.direct-link:hover { color: var(--text); border-color: rgba(42,171,238,.35); transform: translateY(-1px); }

.site-footer { padding: 18px 0 30px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--text-soft);
  font-size: 13px;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(11,18,28,.46);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.contact-drawer {
  position: fixed;
  z-index: 100;
  top: 12px;
  right: 12px;
  bottom: 12px;
  width: min(620px, calc(100vw - 24px));
  overflow-y: auto;
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  box-shadow: -30px 0 90px rgba(8,17,29,.22);
  transform: translateX(calc(100% + 30px));
  transition: transform .32s cubic-bezier(.2,.8,.2,1);
}

.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-open .contact-drawer { transform: translateX(0); }

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
}

.drawer-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 600;
}

.drawer-description {
  max-width: 480px;
  margin: 13px 0 0;
  color: var(--text-soft);
}

.drawer-close {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: background .18s ease;
}
.drawer-close:hover { background: var(--bg); }
.drawer-close svg { width: 20px; height: 20px; }

.contact-form { display: grid; gap: 19px; }
.contact-form.is-hidden,
.form-field.is-hidden {
  display: none;
}
.form-field { display: grid; gap: 8px; }
.form-label { font-size: 14px; font-weight: 650; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  color: var(--text);
  background: #fbfcfd;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.form-input, .form-select { min-height: 52px; padding: 0 15px; }
.form-textarea { min-height: 170px; padding: 14px 15px; resize: vertical; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(42,171,238,.12);
}
.form-hint { color: var(--text-soft); font-size: 12px; line-height: 1.5; }
.form-error { min-height: 18px; color: var(--danger); font-size: 12px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-submit { width: 100%; margin-top: 5px; }
.form-submit[disabled] { opacity: .65; cursor: wait; transform: none; }

.form-status {
  display: none;
  padding: 23px;
  border-radius: 20px;
  background: var(--accent-softer);
}
.form-status.visible {
  display: block;
  margin-top: 28px;
}
.form-status.error { color: var(--danger); background: #fff2f2; }
.form-status h3 { margin: 0 0 7px; font-size: 21px; }
.form-status p { margin: 0; color: inherit; }

.privacy-note {
  margin: 2px 0 0;
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.5;
}

.privacy-page {
  width: min(calc(100% - 40px), 900px);
  margin-inline: auto;
  padding: 72px 0 110px;
}
.privacy-intro { margin-bottom: 50px; }
.privacy-section { padding: 28px 0; border-top: 1px solid var(--line); }
.privacy-heading { margin: 0 0 12px; font-size: 24px; letter-spacing: -.03em; }
.privacy-back { margin-top: 32px; }
.privacy-note a, .site-footer a { text-underline-offset: 3px; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero { padding: 34px 0 50px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .section-principle { max-width: 650px; margin-bottom: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-panel { max-width: 680px; margin-left: auto; }
  .floating-card { right: 8%; bottom: -58px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(1), .service-card:nth-child(2), .service-card:nth-child(3) { grid-column: auto; }
  .service-card:nth-child(3) .service-content { grid-template-columns: 1fr; row-gap: 0; }
  .service-card:nth-child(3) .service-number,
  .service-card:nth-child(3) .service-title,
  .service-card:nth-child(3) .service-text { grid-column: 1; }
  .service-card:nth-child(3) .service-number { grid-row: 1; }
  .service-card:nth-child(3) .service-title { grid-row: 2; margin-top: 54px; }
  .service-card:nth-child(3) .service-text { grid-row: 3; padding-bottom: 0; }
  .approach-grid, .contact-card { grid-template-columns: 1fr; }
  .contact-actions { max-width: 520px; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header { padding: 15px 0; }
  .header-contact { width: 43px; padding: 0; justify-content: center; }
  .header-contact span { display: none; }
  .language-switcher { order: -1; }
  .language-link { min-width: 34px; padding: 7px 7px; }
  .hero { padding: 32px 0 46px; }
  .hero-title { font-size: clamp(3.2rem, 14vw, 5rem); }
  .hero-panel { margin: 0; padding: 23px; border-radius: 25px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .floating-card { position: relative; right: auto; bottom: auto; margin: -20px 16px 0 auto; transform: rotate(-2deg); }
  .section { padding: 44px 0; }
  #services { padding: 34px 0 18px; }
  #services + .section { padding: 0 0 12px; }
  .section-heading { gap: 18px; margin-bottom: 24px; }
  .section-title { font-size: clamp(2.8rem, 13vw, 4.25rem); }
  .section-principle { padding-left: 18px; font-size: 1rem; }
  .service-card { min-height: auto; padding: 24px; border-radius: 25px; }
  .service-title, .service-card:nth-child(3) .service-title { margin-top: 36px; }
  .service-examples { grid-template-columns: 1fr; gap: 10px; margin-top: 28px; }
  .examples-list { gap: 7px 18px; }
  .approach-wrap, .contact-card { border-radius: 28px; }
  .contact-section { padding: 8px 0 22px; }
  .direct-links { grid-template-columns: 1fr; }
  .contact-drawer { inset: 0; width: 100%; max-width: none; border-radius: 0; padding: 20px 18px 30px; }
  .drawer-header { position: sticky; top: -20px; z-index: 2; margin: -20px -18px 28px; padding: 20px 18px 16px; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
