/* ==========================================================================
   MSH Construction — Core Stylesheet
   Palette: ink / charcoal / sand / vibrant blue
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --ink: #0b0e13;
  --ink-2: #11151d;
  --charcoal: #1a1f29;
  --line: rgba(255, 255, 255, 0.09);
  --line-dark: rgba(11, 14, 19, 0.1);

  --sand: #f4f6fa;
  --sand-2: #e6ebf3;
  --paper: #ffffff;

  /* Brand blue — solid fills carry white text (5.4:1) */
  --brand: #1560e8;
  --brand-2: #3d82ff;
  --brand-deep: #0d47b8;
  /* Lighter tint for accents sitting on dark surfaces (7:1 on --ink) */
  --brand-light: #6aa5ff;
  --brand-soft: rgba(21, 96, 232, 0.12);
  --brand-soft-dark: rgba(106, 165, 255, 0.14);

  --text: #14181f;
  --muted: #5e6673;
  --muted-dark: #9aa3b2;

  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius-s: 6px;
  --radius: 14px;
  --radius-l: 22px;

  --shadow-s: 0 2px 10px rgba(11, 14, 19, 0.06);
  --shadow: 0 18px 45px -22px rgba(11, 14, 19, 0.35);
  --shadow-l: 0 40px 80px -40px rgba(11, 14, 19, 0.5);

  --container: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4.15rem); }
h2 { font-size: clamp(1.95rem, 3.7vw, 2.95rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
p  { margin: 0 0 1.1em; }

::selection { background: var(--brand); color: #fff; }

/* ---------- Layout helpers ---------- */
.container {
  width: min(100% - 2.6rem, var(--container));
  margin-inline: auto;
}

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--tight { padding: clamp(3.2rem, 6vw, 5rem) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: #e8ecf3; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: var(--muted-dark); }

.grid { display: grid; gap: 1.6rem; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.lead { font-size: 1.075rem; color: var(--muted); max-width: 62ch; }
.section--dark .lead { color: var(--muted-dark); }

/* ---------- Eyebrow + section head ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--brand);
  display: block;
}
/* On dark surfaces the accent needs the lighter tint to stay legible */
.section--dark .eyebrow,
.why .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow { color: var(--brand-light); }
.section--dark .eyebrow::before,
.why .eyebrow::before,
.hero .eyebrow::before,
.page-hero .eyebrow::before { background: var(--brand-light); }

.section-head { max-width: 700px; margin-bottom: 3.2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-bottom: 0.6rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-head);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(21, 96, 232, 0.85); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; }

.btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--dark:hover { box-shadow: 0 14px 28px -14px rgba(11, 14, 19, 0.6); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: rgba(11, 14, 19, 0.18);
}
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--sm { padding: 0.7rem 1.25rem; font-size: 0.85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: var(--brand); gap: 0.75rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar {
  background: var(--ink);
  color: var(--muted-dark);
  font-size: 0.83rem;
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar a { transition: color 0.2s; }
.topbar a:hover { color: var(--brand-light); }
.topbar__list { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar__list li { display: flex; align-items: center; gap: 0.45rem; }
.topbar svg { width: 14px; height: 14px; color: var(--brand-light); flex: none; }
.topbar__socials { display: flex; gap: 0.9rem; }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11, 14, 19, 0.07);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.header.is-stuck { box-shadow: 0 10px 30px -18px rgba(11, 14, 19, 0.4); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

/* Logo */
.logo { display: flex; align-items: center; gap: 0.7rem; }
.logo__mark {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--ink), #2a3140);
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.logo__mark svg { width: 23px; height: 23px; color: var(--brand-light); }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}
.logo__name span { color: var(--brand); }
.logo__tag {
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.logo--light .logo__name { color: #fff; }
.logo--light .logo__name span { color: var(--brand-light); }
.logo--light .logo__tag { color: var(--muted-dark); }
.logo--light .logo__mark { background: rgba(255, 255, 255, 0.07); }

/* Nav */
.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a {
  position: relative;
  padding: 0.55rem 0.95rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--text);
  border-radius: 8px;
  transition: color 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.28rem;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--brand); }

.header__cta { display: flex; align-items: center; gap: 0.75rem; }

/* Burger */
.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(11, 14, 19, 0.15);
  border-radius: 11px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(88vw, 360px);
  background: var(--ink);
  color: #fff;
  z-index: 120;
  transform: translateX(100%);
  transition: transform 0.42s var(--ease);
  padding: 1.6rem 1.5rem 2.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.drawer.is-open { transform: translateX(0); }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
}
.drawer__nav a.is-active { color: var(--brand-light); }
.drawer__meta { color: var(--muted-dark); font-size: 0.9rem; display: grid; gap: 0.6rem; }
.drawer__meta strong { color: #fff; display: block; font-family: var(--font-head); }
.drawer__close {
  align-self: flex-end;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 14, 19, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
  z-index: 110;
}
.overlay.is-open { opacity: 1; visibility: visible; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(8, 16, 34, 0.96) 0%, rgba(9, 17, 36, 0.87) 45%, rgba(11, 14, 19, 0.55) 100%);
}
.hero__inner {
  padding: clamp(4.5rem, 11vw, 8.5rem) 0 clamp(3.5rem, 6vw, 5rem);
  max-width: 780px;
}
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero h1 em { font-style: normal; color: var(--brand-light); }
.hero__text {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 58ch;
  margin-bottom: 2rem;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem 0.45rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.6rem;
  color: rgba(255, 255, 255, 0.85);
}
.hero__badge b {
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  font-size: 0.75rem;
  font-family: var(--font-head);
}
.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.8rem;
  margin: 2.2rem 0 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
}
.hero__points li { display: flex; align-items: center; gap: 0.5rem; }
.hero__points svg { width: 18px; height: 18px; color: var(--brand-light); flex: none; }

/* Stats strip under hero */
.stats {
  position: relative;
  background: var(--brand);
  color: #fff;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.stat {
  background: var(--brand);
  padding: 2.1rem 1.4rem;
  text-align: center;
}
.stat__num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat__label {
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  opacity: 0.35;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(8, 16, 34, 0.95), rgba(11, 14, 19, 0.7));
}
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero p { color: rgba(255, 255, 255, 0.75); max-width: 60ch; margin-bottom: 0; }
.crumbs {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.2rem;
}
.crumbs a:hover { color: var(--brand-light); }
.crumbs span { color: var(--brand-light); }

/* ==========================================================================
   About / split media
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--wide { grid-template-columns: 0.95fr 1.05fr; }

.media-stack { position: relative; }
.media-stack__main {
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-l);
  aspect-ratio: 4 / 4.4;
  background: var(--sand-2);
}
.media-stack__main img { width: 100%; height: 100%; object-fit: cover; }
.media-stack__sub {
  position: absolute;
  right: -8%;
  bottom: 8%;
  width: 46%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 7px solid #fff;
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
  background: var(--sand-2);
}
.media-stack__sub img { width: 100%; height: 100%; object-fit: cover; }
.media-stack__badge {
  position: absolute;
  left: -6%;
  top: 7%;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.05rem 1.35rem;
  box-shadow: 0 18px 40px -18px rgba(21, 96, 232, 0.8);
  text-align: center;
}
.media-stack__badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: -0.03em;
}
.media-stack__badge span {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  opacity: 0.82;
}

.check-list { display: grid; gap: 0.75rem; margin: 1.6rem 0 2rem; }
.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.98rem;
}
.check-list svg { width: 21px; height: 21px; color: var(--brand); flex: none; margin-top: 2px; }
.check-list strong { font-family: var(--font-head); }

/* ==========================================================================
   Service cards
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.svc {
  position: relative;
  background: #fff;
  border: 1px solid rgba(11, 14, 19, 0.08);
  border-radius: var(--radius-l);
  padding: 2.1rem 2rem 2.2rem;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.svc::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc:hover::before { transform: scaleX(1); }

.svc__icon {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  background: var(--brand-soft);
  display: grid;
  place-items: center;
  margin-bottom: 1.35rem;
  transition: background 0.35s var(--ease), transform 0.45s var(--ease);
}
.svc__icon svg { width: 27px; height: 27px; color: var(--brand); transition: color 0.35s; }
.svc:hover .svc__icon { background: var(--brand); transform: rotate(-6deg); }
.svc:hover .svc__icon svg { color: #fff; }

.svc h3 { margin-bottom: 0.5rem; }
.svc p { color: var(--muted); font-size: 0.96rem; margin-bottom: 1.2rem; }

.svc__list { display: grid; gap: 0.55rem; margin-bottom: 1.5rem; }
.svc__list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.93rem;
  color: var(--text);
  font-weight: 500;
}
.svc__list li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}
.svc__num {
  position: absolute;
  top: 1.4rem;
  right: 1.7rem;
  font-family: var(--font-head);
  font-size: 3.2rem;
  font-weight: 800;
  color: rgba(11, 14, 19, 0.045);
  line-height: 1;
  letter-spacing: -0.04em;
}

/* Inverted service card (sits on its own dark background) */
.svc--dark { background: var(--ink); border-color: transparent; }
.svc--dark h3 { color: #fff; }
.svc--dark p { color: var(--muted-dark); }
.svc--dark .svc__icon { background: var(--brand-soft-dark); }
.svc--dark .svc__icon svg { color: var(--brand-light); }
.svc--dark:hover .svc__icon { background: var(--brand); }

/* Compact feature cards */
.feat {
  padding: 2rem 1.8rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  transition: background 0.35s, transform 0.35s var(--ease), border-color 0.35s;
}
.feat:hover { background: rgba(255, 255, 255, 0.06); transform: translateY(-4px); border-color: rgba(106, 165, 255, 0.4); }
.feat__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--brand-soft-dark);
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
}
.feat__icon svg { width: 23px; height: 23px; color: var(--brand-light); }
.feat h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.feat p { font-size: 0.93rem; margin: 0; }

/* ==========================================================================
   Process
   ========================================================================== */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; position: relative; }
.step {
  position: relative;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(11, 14, 19, 0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step__n {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--brand-light);
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  margin-bottom: 1.1rem;
  transition: background 0.3s, color 0.3s;
}
.step:hover .step__n { background: var(--brand); color: #fff; }
.step h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.step p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ==========================================================================
   Projects
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.4rem; }
.filter {
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 14, 19, 0.14);
  background: transparent;
  font-family: var(--font-head);
  font-size: 0.87rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.filter:hover { border-color: var(--brand); color: var(--brand); }
.filter.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }

.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.proj {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 4 / 4.3;
  background: var(--charcoal);
  display: block;
  transition: opacity 0.35s, transform 0.35s var(--ease);
}
.proj img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s;
  filter: saturate(0.9);
}
.proj:hover img { transform: scale(1.08); filter: saturate(1.05); }
.proj__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 16, 34, 0.93) 8%, rgba(8, 16, 34, 0.15) 55%, rgba(11, 14, 19, 0) 80%);
}
.proj__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem 1.5rem;
  color: #fff;
  transform: translateY(12px);
  transition: transform 0.4s var(--ease);
}
.proj:hover .proj__body { transform: translateY(0); }
.proj__cat {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-light);
  margin-bottom: 0.45rem;
}
.proj h3 { color: #fff; font-size: 1.18rem; margin-bottom: 0.25rem; }
.proj__meta { font-size: 0.85rem; color: rgba(255, 255, 255, 0.68); margin: 0; }
.proj.is-hidden { display: none; }

/* ==========================================================================
   Why us — dark band
   ========================================================================== */
.why {
  background:
    linear-gradient(rgba(8, 16, 34, 0.94), rgba(11, 14, 19, 0.96)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1600&q=80") center/cover fixed;
  color: #fff;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.quotes { position: relative; overflow: hidden; }
.quotes__track { display: flex; transition: transform 0.55s var(--ease); }
.quote {
  flex: 0 0 100%;
  padding: 0 clamp(0rem, 4vw, 3rem);
  text-align: center;
}
.quote__stars { display: flex; justify-content: center; gap: 0.25rem; margin-bottom: 1.2rem; }
.quote__stars svg { width: 20px; height: 20px; color: var(--brand); }
.section--dark .quote__stars svg { color: var(--brand-light); }
.quote p {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -0.015em;
  max-width: 55ch;
  margin: 0 auto 1.6rem;
}
.quote__who { font-size: 0.95rem; color: var(--muted); }
.section--dark .quote__who { color: var(--muted-dark); }
.quote__who strong { display: block; font-family: var(--font-head); color: inherit; font-size: 1.02rem; }
.section--dark .quote__who strong { color: #fff; }

.quotes__nav { display: flex; justify-content: center; gap: 0.55rem; margin-top: 2.2rem; }
.dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
  transition: width 0.3s var(--ease), background 0.3s;
}
.dot.is-active { width: 28px; border-radius: 999px; background: var(--brand-light); }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq { display: grid; gap: 0.85rem; }
.acc {
  border: 1px solid rgba(11, 14, 19, 0.1);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.acc.is-open { border-color: rgba(21, 96, 232, 0.5); box-shadow: var(--shadow-s); }
.acc__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
}
.acc__icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
  flex: none;
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s;
}
.acc.is-open .acc__icon { transform: rotate(45deg); background: var(--brand); color: #fff; }
.acc__a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.acc__a p { padding: 0 1.5rem 1.4rem; margin: 0; color: var(--muted); font-size: 0.97rem; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  border-radius: var(--radius-l);
  padding: clamp(2.4rem, 5vw, 3.6rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, 0.12);
}
.cta-band h2 { margin-bottom: 0.4rem; color: #fff; position: relative; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.82); position: relative; max-width: 52ch; }
.cta-band .btn-row { position: relative; }
.cta-band .btn--ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, 0.5); }
.cta-band .btn--ghost:hover { background: #fff; color: var(--brand); border-color: #fff; }

/* ==========================================================================
   Contact / form
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.info-card {
  display: flex;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(11, 14, 19, 0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-s); }
.info-card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--brand-soft);
  display: grid; place-items: center;
  flex: none;
}
.info-card__icon svg { width: 21px; height: 21px; color: var(--brand); }
.info-card h4 { margin: 0 0 0.15rem; font-size: 1rem; }
.info-card p, .info-card a { margin: 0; font-size: 0.94rem; color: var(--muted); display: block; }
.info-card a:hover { color: var(--brand); }

.form {
  background: #fff;
  border: 1px solid rgba(11, 14, 19, 0.08);
  border-radius: var(--radius-l);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-s);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(11, 14, 19, 0.14);
  border-radius: 11px;
  background: var(--sand);
  font-size: 0.97rem;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #d64545; box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.1); }
.field__err { display: none; color: #d64545; font-size: 0.83rem; margin-top: 0.35rem; }
.field.has-error .field__err { display: block; }

.form__note { font-size: 0.85rem; color: var(--muted); margin: 0.9rem 0 0; }
.form__ok {
  display: none;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 11px;
  background: rgba(45, 160, 100, 0.1);
  color: #1e7a4c;
  font-size: 0.92rem;
  font-weight: 600;
}
.form__ok.is-visible { display: flex; }
.form__ok svg { width: 19px; height: 19px; flex: none; }

.map-frame {
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid rgba(11, 14, 19, 0.08);
  box-shadow: var(--shadow-s);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 420px; border: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink); color: var(--muted-dark); padding-top: clamp(3.5rem, 7vw, 5rem); }
.footer h4 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-bottom: 1.15rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer p { font-size: 0.94rem; }
.footer__links { display: grid; gap: 0.65rem; font-size: 0.94rem; }
.footer__links a { transition: color 0.2s, padding-left 0.2s; }
.footer__links a:hover { color: var(--brand-light); padding-left: 4px; }
.footer__contact { display: grid; gap: 0.9rem; font-size: 0.94rem; }
.footer__contact li { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; color: var(--brand-light); flex: none; margin-top: 4px; }
.footer__contact a:hover { color: var(--brand-light); }
.socials { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 11px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease), border-color 0.25s;
}
.socials svg { width: 17px; height: 17px; }
.socials a:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-3px); }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.87rem;
}
.footer__bottom a:hover { color: var(--brand-light); }

/* Floating actions */
.floaters {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  gap: 0.65rem;
}
.floater {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 12px 26px -12px rgba(11, 14, 19, 0.7);
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), opacity 0.3s, visibility 0.3s;
}
.floater:hover { transform: translateY(-3px) scale(1.05); }
.floater svg { width: 25px; height: 25px; }
.floater--wa { background: #25d366; color: #fff; }
.floater--call { background: var(--brand); color: #fff; }
.floater--top { background: var(--ink); color: #fff; opacity: 0; visibility: hidden; }
.floater--top.is-visible { opacity: 1; visibility: visible; }
.floater--top svg { width: 21px; height: 21px; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 940px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: grid; }
  .split, .split--wide, .contact-grid { grid-template-columns: 1fr; }
  .media-stack { max-width: 520px; margin-inline: auto; }
  .media-stack__badge { left: 0; }
  .media-stack__sub { right: 0; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .topbar__list li:nth-child(3) { display: none; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .svc-grid, .proj-grid, .process, .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .container { width: min(100% - 2rem, var(--container)); }
  .topbar__inner { justify-content: center; text-align: center; }
  .topbar__socials { display: none; }
  .hero__inner { padding-top: 3.5rem; }
  .cta-band { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; align-items: center; }
  .floaters { right: 14px; bottom: 14px; }
  .floater { width: 48px; height: 48px; }
  .quote { padding: 0; }
}
