/* ===== Tokens ===== */
:root {
  /* Brand accent: change these to recolor the site (blob colors live in assets/js/blob.js) */
  /* YAM brand palette (from the logo): graphite, deep teal, silver */
  --accent: #2a7478;
  --accent-bright: #5fb8b6;
  --accent-deep: #1f5c60;
  --accent-soft: #d6eae9;

  --light-bg: #f1f3f3;
  --light-card: #ffffff;
  --ink: #0d0f10;
  --ink-muted: #67706f;
  --light-line: rgba(0, 0, 0, 0.1);

  --dark-bg: #080a0b;
  --dark-card: #151a1b;
  --paper: #eef3f3;
  --paper-muted: #98a3a2;
  --dark-line: rgba(255, 255, 255, 0.14);

  --radius: 24px;
  --font: "Onest", system-ui, -apple-system, sans-serif;
  --container: 1360px;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--light-bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 48px; }
.section { position: relative; padding: 140px 0; overflow: hidden; }
.light { background: var(--light-bg); color: var(--ink); }
.dark {
  background:
    radial-gradient(60% 50% at 0% 100%, rgba(31, 92, 96, .45), transparent 70%),
    radial-gradient(50% 40% at 100% 0%, rgba(63, 139, 143, .18), transparent 70%),
    var(--dark-bg);
  color: var(--paper);
  --accent: var(--accent-bright);
}
/* two dark sections in a row share one seamless background: no glow touches the seam */
.dark:has(+ .dark) { background: radial-gradient(50% 40% at 100% 0%, rgba(63, 139, 143, .18), transparent 70%), var(--dark-bg); }
.dark + .dark { background: radial-gradient(60% 50% at 0% 100%, rgba(31, 92, 96, .45), transparent 70%), var(--dark-bg); }
.dark:has(+ .dark) + .dark:has(+ .dark) { background: var(--dark-bg); }
.accent { color: var(--accent); }

.h2 { font-size: clamp(40px, 5.2vw, 80px); line-height: 1; letter-spacing: -0.045em; }
.lead { font-size: 19px; line-height: 1.4; color: var(--ink-muted); max-width: 560px; }
.dark .lead { color: var(--paper-muted); }
.sec-head { display: flex; flex-direction: column; gap: 24px; margin-bottom: 64px; }
.sec-head--center { max-width: 760px; margin-left: auto; margin-right: auto; }
.sec-head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 30px; border-radius: 100px; border: 1px solid transparent;
  font: 500 16px/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn--soft { background: var(--accent-soft); color: var(--ink); }
.btn--soft:hover { background: var(--accent); color: #fff; }
.btn--outline { border-color: var(--dark-line); color: var(--paper); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-arrow { display: inline-flex; align-items: center; cursor: pointer; border: 0; background: none; padding: 0; color: #fff; }
.btn-arrow__label {
  height: 72px; display: inline-flex; align-items: center; padding: 0 56px 0 70px;
  background: var(--ink); border-radius: 100px; font: 500 18px/1 var(--font);
  transition: background .3s;
}
.btn-arrow__icon {
  width: 72px; height: 72px; border-radius: 50%; background: var(--ink); display: grid; place-items: center;
  margin-left: -8px; transition: transform .35s cubic-bezier(.3,1.4,.5,1), background .3s;
}
.btn-arrow__icon svg { width: 24px; height: 24px; }
.btn-arrow:hover .btn-arrow__icon { transform: translateX(8px) rotate(-45deg); }
.btn-arrow--accent .btn-arrow__label, .btn-arrow--accent .btn-arrow__icon { background: var(--accent-deep); }
.btn-arrow--accent:hover .btn-arrow__label, .btn-arrow--accent:hover .btn-arrow__icon { background: var(--accent); }
.dark .btn-arrow:not(.btn-arrow--accent) .btn-arrow__label,
.dark .btn-arrow:not(.btn-arrow--accent) .btn-arrow__icon { background: var(--paper); color: var(--ink); }

/* ===== Header ===== */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.header.is-scrolled { background: rgba(241, 243, 243, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--light-line); }
.header.is-dark { color: var(--paper); }
.header.is-dark.is-scrolled { background: rgba(8, 10, 11, .6); box-shadow: 0 1px 0 var(--dark-line); }
.header.is-dark .logo img { filter: invert(1) brightness(1.4); }
.header.is-dark .burger span { background: var(--ink); }
.header__inner { display: flex; align-items: center; gap: 32px; height: 96px; }
.logo { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.logo img { width: 74px; height: auto; }
.logo span { display: flex; flex-direction: column; font-weight: 600; font-size: 26px; line-height: .9; letter-spacing: -0.04em; }
.logo small { font-size: 8px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; opacity: .6; white-space: nowrap; }
.nav { display: flex; gap: 56px; margin: 0 auto; }
.nav a { font-size: 17px; transition: color .2s; }
.nav a:hover { color: var(--accent); }
.header__cta { min-width: 180px; height: 52px; font-size: 17px; }
.burger, .mobile-menu { display: none; }

/* ===== Blob canvases ===== */
.blob { position: absolute; pointer-events: none; display: block; }
.blob.is-fallback { background: radial-gradient(circle at 40% 40%, var(--accent-soft), var(--accent) 45%, transparent 70%); filter: blur(30px); opacity: .6; border-radius: 50%; }
.blob--hero { left: 50%; top: 52%; width: min(1100px, 82vw); height: min(780px, 62vw); transform: translate(-52%, -38%); }
.blob--small { position: relative; width: 300px; height: 300px; margin: auto; }   /* centred in the free space of the sticky aside */
.blob--reviews { right: -4%; top: 3%; width: min(1000px, 72vw); height: 94%; }
.blob--contact { left: 0; top: 50%; transform: translateY(-50%); width: min(560px, 36vw); height: min(680px, 46vw); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; max-height: 1100px; padding: 150px 0 40px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  background: radial-gradient(55% 55% at 55% 62%, rgba(31, 92, 96, .45), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgba(63, 139, 143, .18), transparent 70%), var(--dark-bg); }
.hero__top { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: start; }
.hero__title { font-size: clamp(38px, 4.2vw, 66px); line-height: 1.02; letter-spacing: -0.045em; padding-left: 4%; max-width: 760px; }
.hero__side { max-width: 380px; display: flex; flex-direction: column; gap: 28px; padding-top: 18px; }
.hero__side p { color: var(--paper-muted); font-size: 19px; line-height: 1.25; }
.hero__bottom { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; margin-top: 80px; }
.hero-card {
  width: 290px; padding: 8px 8px 26px; border-radius: 26px; background: rgba(255,255,255,.06); border: 1px solid var(--dark-line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 40px rgba(0,0,0,.25);
  display: flex; flex-direction: column; gap: 4px; transition: transform .3s;
}
.hero-card:hover { transform: translateY(-6px); }
.hero-card img { height: 170px; width: 100%; object-fit: cover; border-radius: 20px; margin-bottom: 18px; }
.hero-card b { padding: 0 18px; font-size: 18px; font-weight: 600; }
.hero-card span { padding: 0 18px; font-size: 13px; color: var(--paper-muted); line-height: 1.2; }
.hero__scroll {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 52px; border-radius: 100px;
  background: rgba(255,255,255,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: 15px; text-shadow: 0 1px 8px rgba(0,0,0,.2);
}
.hero__scroll svg { width: 18px; height: 18px; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }
.hero__stat { justify-self: end; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.hero__stat-num { font-size: 36px; letter-spacing: -0.05em; line-height: 1; }
.hero__stat p:not(.hero__stat-num) { font-size: 15px; line-height: 1.15; color: var(--paper-muted); }
.avatars { display: flex; margin-top: 14px; }
.avatars img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--dark-bg); margin-left: -10px; filter: grayscale(1); }

/* ===== Services ===== */
.services-sec__grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; }
.services-sec__aside { position: sticky; top: 120px; align-self: start; height: calc(100vh - 200px); min-height: 520px; display: flex; flex-direction: column; justify-content: space-between; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service {
  background: var(--dark-card); border-radius: var(--radius); padding: 30px 30px 32px; min-height: 260px;
  display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden;
  border: 1px solid transparent; transition: border-color .3s, transform .3s, background .3s;
}
.service::after { content: ""; position: absolute; width: 260px; height: 260px; right: -120px; bottom: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(95,184,182,.4), transparent 70%); opacity: 0; transition: opacity .4s; }
.service:hover { border-color: rgba(95,184,182,.4); transform: translateY(-4px); }
.service:hover::after { opacity: 1; }
.service__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; margin-bottom: auto; }
.service__icon svg { width: 18px; height: 18px; }
.service h3 { font-size: 21px; letter-spacing: -0.03em; margin-top: 56px; }
.service p { font-size: 15px; line-height: 1.25; color: #c9d2d8; }
.service__price { margin-top: 8px; font-size: 14px; color: var(--accent); font-weight: 500; position: relative; z-index: 1; }

.combo { margin-top: 32px; padding: 36px 40px; border-radius: var(--radius); background: linear-gradient(110deg, #12373a, #151a1b 60%); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.combo h3 { font-size: 30px; letter-spacing: -0.04em; margin: 12px 0 8px; }
.combo p { color: var(--paper-muted); max-width: 560px; }
.combo p b { color: var(--paper); font-weight: 500; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--accent-deep); font-size: 13px; font-weight: 600; }
.services__extra { margin-top: 28px; color: var(--paper-muted); font-size: 15px; }

/* ===== Trusted ===== */
.trusted { padding: 72px 0 0; }
.trusted__label { text-align: center; font-size: 13px; text-transform: uppercase; letter-spacing: .2em; color: var(--ink-muted); margin-bottom: 20px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 72px; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.trusted .marquee__track span { font-size: 34px; font-weight: 600; letter-spacing: -0.05em; color: #b3bbc1; padding: 12px 0; transition: color .2s; }
.trusted .marquee__track span:hover { color: var(--ink); }

/* ===== Cases ===== */
.cases { position: relative; }
.cases__track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  --edge: max(48px, calc((100vw - var(--container)) / 2 + 48px));
  padding: 10px var(--edge) 40px; scroll-padding-inline: var(--edge); scrollbar-width: none;
}
.cases__track::-webkit-scrollbar { display: none; }
.case {
  flex: 0 0 388px; scroll-snap-align: start; background: var(--light-card); border-radius: 26px; padding: 7px;
  height: 456px; display: flex; flex-direction: column; transition: box-shadow .4s;
}
.case__media { position: relative; height: 328px; border-radius: 20px; overflow: hidden; background: #111; transition: height .5s cubic-bezier(.6,0,.2,1); flex-shrink: 0; }
.case__media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.75) saturate(.9); transition: transform .6s; }
.case__media span { position: absolute; top: 18px; color: #fff; font-size: 16px; }
.case__media span:first-of-type { left: 22px; }
.case__media span:last-of-type { right: 22px; }
.case__body { padding: 26px 22px 18px; display: flex; flex-direction: column; flex: 1; }
.case__body h3 { font-size: 32px; letter-spacing: -0.05em; line-height: 1.05; }
.case__niche { font-size: 15px; margin-top: 6px; color: #3a4148; }
.case__body ul { margin-top: auto; display: grid; gap: 8px; opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; }
.case__body li { padding-left: 20px; position: relative; font-size: 16px; line-height: 1.25; }
.case__body li::before { content: "✺"; position: absolute; left: 0; top: 0; color: var(--accent); font-size: 12px; line-height: 1.6; }
.case__body li b { font-weight: 600; }
.case:hover, .case.is-active { box-shadow: 0 20px 50px rgba(0,0,0,.08); }
.case:hover .case__media, .case.is-active .case__media { height: 128px; }
.case:hover .case__body ul, .case.is-active .case__body ul { opacity: 1; transform: none; transition-delay: .15s; }
.cases__nav { display: flex; justify-content: center; gap: 60px; margin-top: 8px; }
.cases__btn { background: none; border: 0; cursor: pointer; color: var(--ink); padding: 8px; transition: opacity .2s, transform .2s; }
.cases__btn svg { width: 26px; height: 26px; stroke-width: 1.6; }
.cases__btn:disabled { opacity: .25; cursor: default; }
.cases__btn:not(:disabled):hover { transform: scale(1.15); }

/* ===== Gallery strips ===== */
.gallery-sec { padding-top: 60px; }
.gallery-sec .sec-head { margin-bottom: 48px; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
.strip { mask-image: none; -webkit-mask-image: none; }
.strip + .strip { margin-top: 16px; }
.strip .marquee__track { gap: 16px; animation-duration: 140s; }
.strip img { height: 300px; width: auto; border-radius: 20px; flex-shrink: 0; transition: transform .4s; }
.strip img:hover { transform: scale(1.03); }

/* ===== Reviews ===== */
.reviews { padding-bottom: 140px; }
.dark.reviews { background: radial-gradient(40% 40% at 72% 50%, rgba(31,92,96,.3), transparent 70%), var(--dark-bg); }
.reviews + .team-sec { padding-top: 60px; }
.reviews .h2 { position: relative; z-index: 2; margin-bottom: 140px; }
.marquee--reviews { position: relative; z-index: 2; mask-image: none; -webkit-mask-image: none; }
.marquee--reviews .marquee__track { gap: 12px; animation-duration: 70s; }
.review {
  margin: 0; width: 368px; min-height: 372px; flex-shrink: 0; padding: 36px 36px 30px; border-radius: 22px;
  background: rgba(255,255,255,.62); backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.7);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.review blockquote { margin: 0; font-size: 21px; line-height: 1.12; letter-spacing: -0.03em; color: #14232b; }
.review blockquote::before { content: "“"; display: block; font-size: 44px; line-height: .6; height: 26px; color: var(--accent); margin-bottom: 18px; }
.review figcaption { border-left: 1.5px solid var(--accent); padding: 2px 0 2px 14px; display: flex; flex-direction: column; }
.review figcaption b { font-weight: 500; font-size: 16px; }
.review figcaption span { font-size: 13px; color: var(--ink-muted); }
.dark .review { background: rgba(18,23,24,.78); backdrop-filter: none; -webkit-backdrop-filter: none; border-color: rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }   /* no blur over the animated galaxy: 16 moving blurred cards made Safari stutter */
.dark .review blockquote { color: var(--paper); }
.dark .review figcaption span { color: var(--paper-muted); }

/* ===== Team ===== */
.team-sec__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 120px; align-items: start; }
.team-sec .lead { margin: 32px 0 72px; max-width: 420px; font-size: 17px; }
.facts li { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; padding: 22px 0 28px; border-bottom: 1px solid var(--dark-line); }
.facts b { font-size: clamp(56px, 6.4vw, 104px); font-weight: 400; line-height: .9; letter-spacing: -0.06em; }
.facts span { font-size: 15px; line-height: 1.15; color: #c9d2d8; padding-top: 10px; max-width: 240px; }
.ceo {
  margin: 0 0 0 auto; width: 100%; max-width: 440px; position: sticky; top: 120px; border-radius: 22px; overflow: hidden; aspect-ratio: 0.95;
  background: radial-gradient(80% 70% at 60% 40%, #1d4a4d, #0c1314 70%); border: 1px solid var(--dark-line);
}
.blob--team { left: -10%; top: -4%; width: 120%; height: 90%; }
.ceo__portrait { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; }
.ceo__logo { position: absolute; top: 22px; left: 22px; width: 52px; opacity: .9; }
.ceo figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 16px 18px; border-radius: 14px;
  background: rgba(10,10,10,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: flex; flex-direction: column; gap: 8px;
}
.ceo figcaption span { font-size: 16px; line-height: 1.25; letter-spacing: -0.02em; }
.ceo figcaption b { color: var(--accent); font-weight: 500; font-size: 13px; }
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px 16px; }
.team li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.team img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; filter: grayscale(1) contrast(1.05); transition: filter .3s, transform .3s; }
.team li:hover img { filter: none; transform: scale(1.05); }
.team b { font-weight: 500; font-size: 18px; }
.team span { color: var(--paper-muted); font-size: 14px; }

/* ===== Industries / Process ===== */
.industries-sec { padding-top: 40px; }
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.industries li {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 36px;
  min-height: 176px; padding: 22px; background: #fff; border-radius: 22px; overflow: hidden;
  transition: transform .35s, background .35s, color .35s, box-shadow .35s;
}
.industries li::after {
  content: ""; position: absolute; width: 180px; height: 180px; right: -70px; bottom: -90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(95,184,182,.55), transparent 70%); opacity: 0; transition: opacity .4s;
}
.industries li b { position: relative; z-index: 1; font-size: 19px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; max-width: 180px; }
.ind-num { position: absolute; top: 24px; right: 24px; font-size: 13px; color: var(--ink-muted); font-variant-numeric: tabular-nums; transition: color .35s; }
.ind-icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(145deg, #e6f2f1, #c8e2e0); box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  transition: background .35s, transform .35s, box-shadow .35s;
  backface-visibility: hidden; will-change: transform;   /* clean edges while it rotates */
}
.ind-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--accent-deep); stroke-width: 1.5; }
.ind-icon svg .f { fill: rgba(63,147,150,.28); stroke: none; transition: fill .35s; }
.industries li:hover { transform: translateY(-4px); background: var(--ink); color: var(--paper); box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.industries li:hover::after { opacity: 1; }
.industries li:hover .ind-num { color: var(--accent-bright); }
.industries li:hover .ind-icon { background: linear-gradient(145deg, #1f5c60, #123a3d); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); transform: rotate(-6deg); }
.industries li:hover .ind-icon svg { stroke: #e6f4f3; }
.industries li:hover .ind-icon svg .f { fill: rgba(95,184,182,.45); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.steps li { border-top: 1px solid var(--light-line); padding: 28px 0 48px; display: grid; grid-template-columns: 90px 1fr; gap: 16px; }
.steps span { font-size: 44px; line-height: 1; letter-spacing: -0.05em; color: var(--accent); }
.steps p { font-size: 17px; line-height: 1.3; color: var(--ink-muted); padding-top: 6px; }
.steps b { color: var(--ink); font-weight: 500; }

/* ===== FAQ ===== */
.faq { padding-top: 40px; }
.faq__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; }
.faq__list details { border-bottom: 1px solid var(--light-line); }
.faq__list summary { cursor: pointer; list-style: none; position: relative; padding: 28px 60px 28px 0; font-size: 22px; letter-spacing: -0.03em; font-weight: 500; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 400; transition: transform .3s, background .3s, color .3s; }
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--ink); color: #fff; }
.faq__list p { color: var(--ink-muted); padding: 0 60px 28px 0; max-width: 680px; font-size: 17px; }

/* ===== Contact ===== */
.contact { padding: 200px 0 160px; }
.contact__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 0.42fr 1fr; gap: 48px; }
.contact .h2 { font-size: clamp(38px, 4.6vw, 72px); }
.contact .lead { margin-top: 16px; font-size: 17px; max-width: 640px; }
.contact .lead b { font-weight: 500; }
.booking {
  margin-top: 40px; max-width: 720px; padding: 32px 36px; border-radius: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  background: radial-gradient(70% 90% at 100% 0%, rgba(63,147,150,.18), transparent 70%), rgba(18,23,24,.8);
  border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.booking__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .04em; color: var(--accent); padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(95,184,182,.35); background: rgba(95,184,182,.08); }
.booking__tag svg { width: 15px; height: 15px; }
.booking h3 { margin: 18px 0 14px; font-weight: 500; font-size: 26px; line-height: 1.15; letter-spacing: -0.03em; }
.booking ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--paper-muted); font-size: 16px; }
.booking li { display: flex; align-items: center; gap: 10px; }
.booking li svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.booking__btn { flex: none; }
.calendly-overlay .calendly-popup { max-width: 1000px !important; max-height: 680px !important; border-radius: 20px; overflow: hidden; }
.form { margin-top: 44px; display: flex; flex-direction: column; max-width: 720px; }
.form input, .form textarea {
  width: 100%; background: none; border: 0; border-bottom: 1px solid var(--dark-line); color: var(--paper);
  font: 300 clamp(18px, 1.5vw, 22px)/1.3 var(--font); letter-spacing: -0.02em; padding: 20px 4px 16px; resize: none;
  transition: border-color .25s;
}
.form input::placeholder, .form textarea::placeholder { color: #7f8a92; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form .btn-arrow { margin-top: 48px; align-self: flex-start; }
.form .btn-arrow__label { height: 62px; padding: 0 40px; font-size: 16px; }
.form .btn-arrow__icon { width: 62px; height: 62px; }
.form__status { margin-top: 18px; color: var(--accent); min-height: 1.5em; }
.contacts { margin-top: 48px; display: grid; grid-template-columns: repeat(3, auto); gap: 24px 64px; justify-content: start; }
.contacts li { display: flex; flex-direction: column; gap: 10px; }
.contacts span { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--paper-muted); }
.contacts a { font-size: 18px; transition: color .2s; overflow-wrap: anywhere; }
.contacts a:hover { color: var(--accent); }
.contacts__text { margin: 0; height: 44px; display: flex; align-items: center; font-size: 18px; color: var(--paper); }
.contacts li > a { height: 44px; display: inline-flex; align-items: center; align-self: flex-start; text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 6px; text-decoration-thickness: 1px; transition: color .2s, text-decoration-color .2s; }
.contacts li > a:hover { text-decoration-color: var(--accent); }
.social-icons { display: flex; gap: 12px; }
.social-icons a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--paper); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); transition: color .2s, border-color .2s, background .2s, box-shadow .2s; }
.social-icons a:hover { color: var(--accent); border-color: var(--accent); background: rgba(95,184,182,.1); box-shadow: 0 0 18px rgba(95,184,182,.35), inset 0 1px 0 rgba(255,255,255,.1); }
.social-icons svg { width: 19px; height: 19px; stroke-width: 1.6; }

/* ===== Footer ===== */
.footer { padding: 56px 0 32px; background: var(--dark-bg); border-top: 1px solid var(--dark-line); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__nav, .socials { display: flex; gap: 32px; flex-wrap: wrap; }
.footer__nav a, .socials a { color: var(--paper-muted); transition: color .2s; }
.footer__nav a:hover, .socials a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--dark-line); color: var(--paper-muted); font-size: 14px; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .hero__scroll svg { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .nav { gap: 32px; }
  .services { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .services-sec__grid { grid-template-columns: 220px 1fr; }
  .blob--small { width: 200px; height: 200px; }
  .team-sec__grid { gap: 64px; }
  .industries { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .section { padding: 96px 0; }
  .nav, .header__cta { display: none; }
  .header { background: rgba(241,243,243,.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
  .header.is-dark { background: rgba(8, 10, 11, .75); }
  .header__inner { height: 72px; }
  .burger { display: grid; gap: 6px; margin-left: auto; place-content: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--accent-soft); cursor: pointer; }
  .burger span { width: 18px; height: 2px; background: var(--ink); transition: transform .25s; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu:not([hidden]) { display: flex; flex-direction: column; padding: 8px 24px 28px; }
  .mobile-menu a { font-size: 28px; letter-spacing: -0.04em; padding: 8px 0; }
  .mobile-menu__phone { color: var(--accent); font-size: 20px !important; }

  .hero { padding-top: 120px; min-height: auto; }
  .hero__top { grid-template-columns: 1fr; gap: 32px; }
  .hero__title { padding-left: 0; }
  .hero__bottom { grid-template-columns: 1fr; margin-top: 360px; justify-items: start; }
  .hero__scroll { display: none; }
  .hero__stat { justify-self: start; text-align: left; align-items: flex-start; order: -1; }
  .hero-card { width: 100%; max-width: 340px; }
  .blob--hero { width: 130vw; height: 110vw; top: 46%; transform: translate(-50%, -20%); }

  .services-sec__grid { grid-template-columns: 1fr; }
  .services-sec__aside { position: static; height: auto; min-height: 0; flex-direction: row; align-items: center; justify-content: space-between; }
  .blob--small { width: 140px; height: 140px; margin-left: -20px; }
  .team-sec__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .ceo { position: relative; top: 0; max-width: 520px; }
  .team { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .contact__spacer { display: none; }
  .blob--contact { left: auto; right: -40%; top: 0; transform: none; width: 90vw; height: 100vw; opacity: .6; }
  .contacts { grid-template-columns: 1fr; }
  .booking { flex-direction: column; align-items: flex-start; padding: 26px 22px; border-radius: 18px; }
  .reviews .h2 { margin-bottom: 64px; }
  .blob--reviews { width: 110vw; height: 120vw; right: -40%; top: 10%; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .btn-arrow__label { height: 60px; padding: 0 28px 0 34px; font-size: 16px; }
  .btn-arrow__icon { width: 60px; height: 60px; }
  .hero__bottom { margin-top: 300px; }
  .services, .steps, .industries { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service h3 { margin-top: 32px; }
  .combo { padding: 28px 22px; }
  .combo .btn-arrow__label { padding: 0 20px 0 26px; font-size: 15px; }
  .services-sec__aside .btn { display: none; }
  .case { flex-basis: 84vw; height: 440px; }
  .cases__track { padding: 10px 16px 32px; scroll-padding-left: 16px; }
  .case__media { height: 300px; }
  .review { width: 290px; min-height: 330px; padding: 28px 24px 24px; }
  .review blockquote { font-size: 18px; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .team img { width: 104px; height: 104px; }
  .facts li { grid-template-columns: 1fr; gap: 8px; }
  .strip img { height: 220px; border-radius: 14px; }
  .strip .marquee__track { gap: 10px; }
  .strip + .strip { margin-top: 10px; }
  .faq__list summary { font-size: 18px; padding-right: 52px; }
  .form { margin-top: 32px; }
  .form input, .form textarea { padding: 16px 4px 14px; }
  .form .btn-arrow { margin-top: 36px; }
  .contact { padding: 120px 0 96px; }
}
