:root {
  --bg: #f4f5f7;
  --bg-soft: #eceef1;
  --bg-card: rgba(255,255,255,0.76);
  --bg-card-strong: rgba(255,255,255,0.9);
  --text: #2e343d;
  --muted: #666f7a;
  --line: rgba(167, 175, 187, 0.26);
  --silver-1: #ffffff;
  --silver-2: #f2f4f7;
  --silver-3: #d8dde4;
  --silver-4: #a8b0bc;
  --shadow: 0 20px 60px rgba(161, 169, 181, 0.14);
  --shadow-soft: 0 10px 28px rgba(162, 170, 182, 0.10);
  --radius-xl: 38px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --max: 1540px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7f7f8 0%, #f0f2f5 48%, #f6f7f9 100%);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.page-shell { min-height: 100vh; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(246,248,251,.72));
  border: 1px solid rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.glass-soft {
  background: linear-gradient(180deg, rgba(255,255,255,.90), rgba(248,249,251,.82));
  border: 1px solid rgba(255,255,255,.96);
  box-shadow: var(--shadow-soft);
}
.site-header {
  position: sticky;
  top: 16px;
  z-index: 60;
  width: min(calc(100% - 40px), var(--max));
  margin: 18px auto 0;
  padding: 16px 22px;
  border-radius: 30px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
}
.brand img { height: 78px; width: auto; object-fit: contain; }
.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 54px);
  align-items: center;
}
.main-nav a, .footer-nav a, .cookie-links a {
  position: relative;
  font-weight: 600;
  color: #454d57;
  transition: color .24s ease, transform .24s ease;
}
.main-nav a::after, .footer-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #87909d, transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .24s ease;
}
.main-nav a:hover, .main-nav a.active, .footer-nav a:hover, .cookie-links a:hover { color: #222833; transform: translateY(-1px); }
.main-nav a:hover::after, .main-nav a.active::after, .footer-nav a:hover::after { transform: scaleX(1); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 15px 24px;
  font-weight: 700;
  border: 1px solid rgba(221,225,231,0.85);
  background: linear-gradient(180deg, var(--silver-1), #eef1f5);
  box-shadow: 0 12px 26px rgba(170,177,188,.16);
  cursor: pointer;
  transition: transform .24s ease, box-shadow .24s ease, filter .24s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(170,177,188,.2); filter: brightness(1.02); }
.button-ghost {
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(216,221,228,.9);
}
.button-header { min-width: 235px; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 0; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--text); margin: 4px 0; }

.home-main { padding-bottom: 20px; }
.hero-mtw { padding-top: 16px; }
.hero-stage {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(300px, 1.8fr) minmax(180px, 1fr);
  gap: 0;
  min-height: 730px;
  align-items: stretch;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.hero-side {
  min-height: 730px;
  background-image: url('../img/hero.png');
  background-size: cover;
  position: relative;
}
.hero-side-left { background-position: left center; }
.hero-side-right { background-position: right center; }
.hero-side-left::after {
  content: '';
  position: absolute;
  left: -10%; bottom: -4%;
  width: 62%; height: 54%;
  background: radial-gradient(circle at 30% 50%, rgba(120,136,123,.46), rgba(188,195,188,.12) 42%, transparent 68%);
  filter: blur(18px);
  opacity: .86;
}
.hero-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 72px 48px 58px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,249,251,.88)),
    url('../img/hero.png') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
}
.hero-center::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.36), transparent 32%, rgba(255,255,255,.12) 60%, transparent 86%);
  pointer-events: none;
}
.hero-logo-large {
  width: min(560px, 80%);
  min-width: 280px;
  margin-bottom: 26px;
  position: relative;
  z-index: 2;
}
.hero-center h1 {
  margin: 0 0 18px;
  font-size: clamp(2.7rem, 4.2vw, 4.6rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.05em;
  position: relative;
  z-index: 2;
}
.hero-center h1 span {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: #8c95a2;
  letter-spacing: 0;
  font-weight: 600;
}
.hero-tagline {
  margin: 0;
  color: #5e6773;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.8;
  position: relative;
  z-index: 2;
}
.hero-arrow {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(228,231,236,.9);
  background: rgba(255,255,255,.8);
  position: absolute;
  left: 50%; bottom: 22px;
  transform: translateX(-50%);
  box-shadow: 0 10px 26px rgba(166,173,184,.14);
}
.hero-arrow::before {
  content: '';
  position: absolute;
  left: 50%; top: 46%;
  width: 12px; height: 12px;
  border-right: 2px solid #9ca4b0;
  border-bottom: 2px solid #9ca4b0;
  transform: translate(-50%, -50%) rotate(45deg);
}
.home-info-card {
  width: min(calc(100% - 40px), 1280px);
  margin: -44px auto 0;
  border-radius: 42px;
  padding: 36px 38px 30px;
  position: relative;
  z-index: 3;
}
.home-info-grid {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 30px;
  align-items: stretch;
}
.info-copy { padding: 12px 10px 0 6px; }
.mini-kicker, .eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 700;
  color: #8c949f;
  margin: 0 0 12px;
}
.info-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.info-copy p, .section-lead, .card p, .split-box p, .contact-card p, .team-meta p, .legal-wrap p, .legal-wrap li, .service-feature p, .service-list li, .contact-list li, .cookie-copy {
  color: var(--muted);
  line-height: 1.8;
}
.mini-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}
.mini-service {
  border-radius: 24px;
  padding: 28px 18px 22px;
  text-align: center;
  min-height: 190px;
}
.mini-service h3, .card h3, .service-feature h3, .team-card h3 { margin: 0 0 10px; font-size: 1.3rem; }
.mini-service p { margin: 0; color: #69727d; line-height: 1.6; font-size: .98rem; }
.mini-icon {
  width: 44px; height: 44px;
  margin: 0 auto 18px;
  position: relative;
  opacity: .86;
}
.mini-icon.target::before, .mini-icon.target::after, .mini-icon.pencil::before, .mini-icon.growth::before, .mini-icon.star::before { content:''; position:absolute; }
.mini-icon.target::before { inset: 7px; border: 2px solid #707988; border-radius: 50%; }
.mini-icon.target::after { left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: #707988; transform: translate(-50%,-50%); box-shadow: 0 0 0 8px transparent, 0 0 0 16px rgba(112,121,136,.12); }
.mini-icon.pencil::before { left: 10px; top: 18px; width: 24px; height: 2px; background: #707988; transform: rotate(-40deg); border-radius: 2px; box-shadow: 12px -10px 0 -1px #707988; }
.mini-icon.growth::before { left: 8px; top: 26px; width: 22px; height: 2px; background: #707988; transform: rotate(-26deg); box-shadow: 12px -8px 0 0 #707988; }
.mini-icon.growth::after { content:''; position:absolute; right: 8px; top: 10px; width: 10px; height: 10px; border-top: 2px solid #707988; border-right: 2px solid #707988; }
.mini-icon.star::before { left: 50%; top: 50%; width: 28px; height: 28px; transform: translate(-50%,-50%) rotate(35deg); clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 92%, 50% 70%, 21% 92%, 32% 57%, 2% 35%, 39% 35%); background: transparent; border: 2px solid #707988; }
.trusted-row {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(194,200,208,.34);
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  align-items: center;
}
.trusted-label {
  font-weight: 700;
  letter-spacing: .06em;
  color: #4a535f;
  font-size: 1.03rem;
}
.trusted-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(90px, 1fr)) 1.2fr;
  gap: 26px;
  align-items: center;
}
.trusted-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 6px;
}
.trusted-logo img {
  max-width: 100%;
  max-height: 30px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .9;
}
.trusted-more {
  padding-left: 26px;
  border-left: 1px solid rgba(189,196,205,.42);
  color: #515964;
  font-weight: 500;
}
.section { padding: 54px 0 96px; }
.section-space-top { padding-top: 72px; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-box, .card, .contact-card, .service-feature, .team-card, .contact-form, .legal-wrap, .page-hero-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.kicker {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.92);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7b8594;
  margin-bottom: 16px;
}
.split-box h2, .section-head h2, h1, h2 {
  font-family: 'Cormorant Garamond', serif;
}
.split-box h2, .section-head h2 { margin: 0 0 16px; font-size: clamp(2.4rem, 4vw, 4.1rem); line-height: .98; letter-spacing: -.04em; }
.section-head { text-align: center; max-width: 920px; margin: 0 auto 34px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.card, .split-box, .service-feature, .team-card, .contact-form, .contact-card, .legal-wrap, .page-hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(246,248,251,.76));
  border: 1px solid rgba(255,255,255,.96);
  box-shadow: var(--shadow-soft);
}
.card::after, .split-box::after, .service-feature::after, .team-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,.48), transparent 30%);
  pointer-events: none;
}
.icon-badge {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 18px;
  margin-bottom: 18px;
  font-weight: 800;
  color: #54606f;
  background: linear-gradient(180deg, #ffffff, #eef1f5);
  box-shadow: 0 10px 24px rgba(164,171,181,.16);
}
.service-feature { min-height: 245px; }
.service-panel { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: stretch; }
.service-stack, .service-list, .team-meta { display: grid; gap: 18px; }
.service-list { padding: 0; margin: 0; }
.service-list li { list-style: none; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.62); border: 1px solid rgba(229,232,237,.92); }
.service-list strong { display: block; margin-bottom: 5px; color: #2c3340; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.team-card { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
.team-image { border-radius: 28px; overflow: hidden; border: 1px solid rgba(235,238,242,.9); }
.team-meta .role { font-weight: 800; color: #39414d; }
.team-meta .facts { color: #6d7681; font-weight: 600; }
.contact-wrap { display: grid; grid-template-columns: .95fr 1.05fr; gap: 24px; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.contact-list li { padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.55); border: 1px solid rgba(231,233,238,.92); }
.contact-list span { display: block; font-size: .84rem; color: #7c8694; margin-bottom: 5px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; margin-bottom: 8px; font-weight: 600; color: #69727e; }
.form-row input, .form-row textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(214,219,226,.92);
  background: rgba(255,255,255,.82);
  font: inherit;
  color: var(--text);
  outline: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.form-row input:focus, .form-row textarea:focus {
  border-color: #a3acb8;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(174,181,191,.14);
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.site-footer { padding: 0 0 110px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 28px 0 0;
  border-top: 1px solid rgba(192,198,207,.4);
}
.footer-brand { font-weight: 800; margin-bottom: 6px; }
.footer-copy { color: var(--muted); }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 22px;
}
.cookie-banner.hidden { display: none; }
.cookie-actions, .cookie-links { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cookie-banner .button { padding: 13px 20px; }
.reveal-up, .reveal-left, .reveal-right { opacity: 0; transition: opacity .8s ease, transform .8s ease; }
.reveal-up { transform: translateY(34px); }
.reveal-left { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }
.reveal-visible { opacity: 1; transform: translate(0,0); }
.tilt-card { transition: transform .22s ease, box-shadow .22s ease; }
.page-hero { padding: 84px 0 40px; }
.page-hero-card { text-align: center; }
.page-hero-card p { max-width: 760px; margin: 0 auto; color: var(--muted); line-height: 1.8; }
.legal-page { min-height: 100vh; padding: 38px 0 70px; }
.legal-wrap { max-width: 900px; margin: 120px auto 0; }
.legal-wrap h3 { margin-top: 28px; }

@media (max-width: 1240px) {
  .site-header { grid-template-columns: auto 1fr auto auto; }
  .hero-stage { min-height: 680px; }
  .hero-side { min-height: 680px; }
  .mini-service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .home-info-grid { grid-template-columns: 1fr; }
  .trusted-row { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) {
  .site-header { grid-template-columns: auto auto auto; }
  .main-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto;
    padding: 18px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(243,246,250,.95));
    border: 1px solid rgba(255,255,255,.96);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 16px;
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .button-header { display: none; }
  .hero-stage { grid-template-columns: .62fr 1.45fr .62fr; min-height: 620px; }
  .hero-side { min-height: 620px; }
  .card-grid, .team-grid, .split-grid, .service-panel, .contact-wrap, .team-card { grid-template-columns: 1fr; }
  .trusted-logos { grid-template-columns: repeat(3, minmax(90px,1fr)); }
  .trusted-more { padding-left: 0; border-left: 0; }
}
@media (max-width: 820px) {
  .container { width: min(calc(100% - 22px), var(--max)); }
  .site-header { width: min(calc(100% - 22px), var(--max)); padding: 12px 16px; top: 10px; }
  .brand img { height: 62px; }
  .hero-mtw { padding-top: 8px; }
  .hero-stage { grid-template-columns: 1fr; min-height: auto; border-radius: 0 0 30px 30px; }
  .hero-side-left { min-height: 170px; background-position: left center; }
  .hero-side-right { min-height: 170px; background-position: right center; }
  .hero-center { padding: 42px 18px 72px; }
  .hero-logo-large { width: min(430px, 92%); min-width: auto; }
  .hero-center h1 { font-size: clamp(2.2rem, 7vw, 3.4rem); }
  .home-info-card { width: min(calc(100% - 22px), 1280px); margin-top: -26px; padding: 24px 18px; border-radius: 30px; }
  .mini-service-grid, .card-grid, .two-col, .trusted-logos { grid-template-columns: 1fr 1fr; }
  .split-box, .card, .contact-card, .service-feature, .team-card, .contact-form, .legal-wrap, .page-hero-card { padding: 24px; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .brand img { height: 54px; }
  .main-nav { width: calc(100% - 22px); }
  .hero-side-left, .hero-side-right { min-height: 120px; }
  .hero-center { padding: 34px 14px 64px; }
  .hero-logo-large { width: 88%; }
  .mini-service-grid, .trusted-logos { grid-template-columns: 1fr; }
  .trusted-logo { justify-content: flex-start; }
  .section { padding: 40px 0 70px; }
  .section-space-top { padding-top: 52px; }
  .site-footer { padding-bottom: 190px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
