:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #6b7280;
  --muted-2: #8791a3;
  --line: #e3e8f0;
  --line-strong: #d2dae7;
  --blue: #2563eb;
  --blue-2: #0ea5e9;
  --navy: #0b1120;
  --navy-2: #111827;
  --soft-blue: #eef5ff;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
  --shadow-strong: 0 34px 100px rgba(15, 23, 42, 0.16);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 4%, rgba(37, 99, 235, 0.14), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 42%, #ffffff 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: geometricPrecision;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  color: #ffffff;
  background: var(--blue);
}

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

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1000;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--navy);
  color: #ffffff;
  padding: 12px 18px;
  font-weight: 800;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 232, 240, 0.82);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), #173a8a);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22);
}

.brand-name {
  font-size: 1.04rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  color: #263247;
  font-size: 0.94rem;
  font-weight: 750;
}

.site-nav a,
.header-cta,
.btn,
.option-card,
.modal-close {
  outline-offset: 4px;
}

.site-nav a:focus-visible,
.header-cta:focus-visible,
.btn:focus-visible,
.option-card:focus-visible,
.modal-close:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
}

.site-nav a {
  transition: color 180ms ease;
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  background: var(--navy);
  color: #ffffff;
  padding: 0 20px;
  font-weight: 850;
  box-shadow: 0 15px 35px rgba(11, 17, 32, 0.16);
  transition: transform 180ms ease, background 180ms ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  background: #172036;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.hero {
  padding: 74px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 3.8vw, 4.4rem);
  line-height: 1.02;
  font-weight: 850;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4vw, 4.25rem);
  line-height: 1.02;
  font-weight: 850;
  letter-spacing: -0.048em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 620px;
  color: #4b5565;
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 850;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 20px 42px rgba(37, 99, 235, 0.24);
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-secondary {
  border-color: var(--line-strong);
  background: #ffffff;
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: rgba(37, 99, 235, 0.32);
  color: var(--blue);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.btn-light {
  background: #ffffff;
  color: var(--navy);
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 9% -7% -9% 9%;
  z-index: -1;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(14, 165, 233, 0.05));
  filter: blur(4px);
}

.hero-visual img {
  width: 100%;
  max-height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 30px;
  object-fit: cover;
  box-shadow: var(--shadow-strong);
}

.trust-strip {
  padding: 0 0 40px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.05);
}

.trust-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #314058;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 800;
}

.section {
  padding: 90px 0;
}

.problem-section {
  background:
    linear-gradient(180deg, rgba(239, 246, 255, 0.58), rgba(255, 255, 255, 0)),
    #ffffff;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(380px, 1.16fr);
  align-items: center;
  gap: 54px;
}

.section-copy p:not(.eyebrow),
.section-head p,
.portfolio-head p,
.deliverables-head p,
.process-copy p,
.contact-copy p,
.contact-options > p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.image-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #eef3f8;
  box-shadow: var(--shadow);
}

.image-panel img,
.process-copy img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.soft-card,
.service-card,
.project-card {
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 20px 70px rgba(15, 23, 42, 0.06);
}

.soft-card {
  min-height: 100%;
  border-radius: 24px;
  padding: 26px;
}

.card-icon,
.service-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 900;
}

.soft-card .card-icon {
  margin-bottom: 18px;
}

.soft-card p,
.service-card p,
.project-body span,
.timeline-card p,
.dark-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-head {
  max-width: 830px;
  margin-bottom: 34px;
}

.services-section {
  background: linear-gradient(180deg, var(--bg), #ffffff 72%);
}

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

.service-card {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.service-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #eef3f8;
  object-fit: contain;
}

.service-body {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 26px;
}

.service-body strong {
  display: block;
  margin-top: 14px;
  color: #243044;
  font-size: 0.95rem;
  line-height: 1.5;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #4a5568;
  padding: 7px 11px;
  font-size: 0.84rem;
  font-weight: 800;
}

.deliverables-section {
  color: #ffffff;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(37, 99, 235, 0.35), transparent 28rem),
    linear-gradient(135deg, #070b16, var(--navy));
}

.deliverables-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.7fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 32px;
}

.deliverables-head h2 {
  max-width: 780px;
}

.deliverables-head p {
  color: #aeb9c9;
}

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

.dark-card {
  min-height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
  padding: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dark-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: #7fb0ff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.dark-card h3 {
  color: #ffffff;
}

.dark-card p {
  color: #aeb9c9;
}

.portfolio-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 46%, #ffffff 100%);
}

.portfolio-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 34px;
}

.portfolio-head > div {
  max-width: 760px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.project-card {
  display: flex;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  border-radius: var(--radius-lg);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.12);
}

.project-card img {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  background: #edf2f7;
  object-fit: contain;
}

.project-body {
  display: flex;
  min-height: 295px;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.project-body p {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-body .tags {
  margin-top: auto;
  padding-top: 22px;
}

.process-section {
  background: #ffffff;
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 56px;
  align-items: start;
}

.process-copy img {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #eef3f8;
  box-shadow: var(--shadow);
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  padding: 22px;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.055);
}

.timeline-card > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 999px;
  background: var(--navy);
  color: #ffffff;
  font-weight: 900;
}

.audits-section {
  background:
    linear-gradient(180deg, #f5f8fc 0%, #ffffff 100%);
}

.audit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.audit-tags span {
  border: 1px solid #d7e2f4;
  border-radius: 999px;
  background: #ffffff;
  color: #324054;
  padding: 9px 13px;
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-section {
  padding: 72px 0 54px;
  background: #ffffff;
}

.contact-card {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 10%, rgba(37, 99, 235, 0.22), transparent 24rem),
    var(--navy);
  color: #ffffff;
  box-shadow: 0 32px 90px rgba(11, 17, 32, 0.18);
}

.contact-copy,
.contact-options {
  padding: 54px;
}

.contact-copy {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-copy h2 {
  max-width: 560px;
  font-size: clamp(2.4rem, 3.4vw, 4rem);
}

.contact-copy p:not(.eyebrow),
.contact-options > p {
  color: #bcc6d6;
}

.contact-copy .btn {
  margin-top: 22px;
}

.contact-email {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: center;
  max-width: 420px;
  margin-top: 42px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  padding: 22px;
}

.contact-email > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  background: rgba(37, 99, 235, 0.22);
  color: #cfe0ff;
}

.contact-email a {
  font-weight: 900;
}

.contact-email p {
  margin: 3px 0 0;
  font-size: 0.95rem;
}

.contact-options {
  background: rgba(255, 255, 255, 0.035);
}

.contact-options h3 {
  color: #ffffff;
  font-size: 1.65rem;
}

.option-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.option-card {
  display: grid;
  grid-template-columns: 54px 1fr 28px;
  column-gap: 18px;
  row-gap: 4px;
  align-items: center;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  padding: 20px;
  text-align: left;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.option-card:hover {
  transform: translateY(-2px);
  border-color: rgba(87, 144, 255, 0.5);
  background: rgba(37, 99, 235, 0.16);
}

.option-card > span {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  background: rgba(37, 99, 235, 0.22);
  color: #d7e6ff;
  font-weight: 900;
}

.option-card strong {
  grid-column: 2;
  grid-row: 1;
  display: block;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.option-card em {
  grid-column: 2;
  grid-row: 2;
  display: block;
  color: #c3ccdb;
  font-style: normal;
  line-height: 1.55;
}

.option-card b {
  grid-column: 3;
  grid-row: 1 / span 2;
  justify-self: end;
  color: #8cb7ff;
  font-size: 1.6rem;
}

.first-step {
  margin-top: 22px;
  border: 1px solid rgba(94, 148, 255, 0.32);
  border-radius: 20px;
  background: rgba(37, 99, 235, 0.13);
  padding: 18px 20px;
}

.first-step p {
  margin: 6px 0 0;
  color: #c3ccdb;
}

.footer {
  padding: 26px 0 42px;
  background: #ffffff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 7, 18, 0.72);
  backdrop-filter: blur(14px);
}

.modal[hidden] {
  display: none;
}

.modal-panel {
  width: min(760px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.34);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 28px 30px 24px;
}

.modal-head .eyebrow {
  margin-bottom: 10px;
}

.modal-head h2 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.modal-head p {
  margin-bottom: 0;
  color: var(--muted);
}

.modal-close {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease;
}

.modal-close:hover {
  background: var(--navy);
  color: #ffffff;
}

#contact-form {
  padding: 28px 30px 30px;
}

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

label {
  display: block;
  color: #243044;
  font-size: 0.94rem;
  font-weight: 850;
}

label span {
  color: var(--blue);
}

input,
textarea {
  width: 100%;
  border: 1px solid #dbe3ef;
  border-radius: 15px;
  background: #f8fafc;
  color: var(--ink);
  padding: 14px 15px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

label input,
label textarea {
  margin-top: 8px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(37, 99, 235, 0.75);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.11);
}

small {
  display: block;
  min-height: 18px;
  color: #dc2626;
  font-size: 0.82rem;
  font-weight: 750;
}

.message-label {
  margin-top: 16px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 18px;
  color: #4b5565;
  font-weight: 750;
  line-height: 1.45;
}

.consent-label input {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--blue);
}

.consent-label span {
  color: #4b5565;
}

.consent-error {
  display: block;
  margin-top: 6px;
}

.success-message {
  border: 1px solid rgba(22, 163, 74, 0.22);
  border-radius: 15px;
  background: #ecfdf5;
  color: #047857;
  padding: 13px 15px;
  font-weight: 850;
}

.site-message {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  width: min(420px, calc(100% - 44px));
  border: 1px solid rgba(22, 163, 74, 0.22);
  border-radius: 18px;
  background: #ecfdf5;
  color: #047857;
  padding: 16px 18px;
  font-weight: 850;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.18);
}

.site-message.is-error {
  border-color: rgba(220, 38, 38, 0.22);
  background: #fef2f2;
  color: #b91c1c;
}

.submit-button {
  width: 100%;
  margin-top: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-grid,
  .process-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-visual img {
    max-height: 390px;
  }

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

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

  .contact-copy {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    grid-template-columns: auto auto;
    min-height: 70px;
  }

  .brand-name,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 14px;
    left: 14px;
    display: grid;
    visibility: hidden;
    justify-content: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    padding: 46px 0 38px;
  }

  h1 {
    font-size: clamp(2.55rem, 11.5vw, 3.3rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .trust-list {
    border-radius: 24px;
    justify-content: flex-start;
  }

  .section {
    padding: 68px 0;
  }

  .problem-grid,
  .services-grid,
  .deliverables-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-head,
  .deliverables-head,
  .footer-inner {
    display: grid;
    align-items: start;
  }

  .deliverables-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .deliverables-head h2,
  .deliverables-head p {
    max-width: none;
  }

  .deliverables-head p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .project-body {
    min-height: auto;
  }

  .contact-section {
    padding: 54px 0 34px;
  }

  .contact-copy,
  .contact-options {
    padding: 30px;
  }

  .option-card {
    grid-template-columns: 46px 1fr;
  }

  .option-card b {
    display: none;
  }

  .modal {
    align-items: end;
    padding: 12px;
  }

  .modal-panel {
    max-height: 94vh;
    border-radius: 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .hero-actions,
  .btn {
    width: 100%;
  }

  .btn {
    padding-inline: 18px;
  }

  .service-body,
  .timeline-card,
  .contact-email {
    grid-template-columns: 1fr;
  }

  .hero-visual img {
    max-height: 300px;
    border-radius: 24px;
  }

  .image-panel,
  .project-card,
  .service-card {
    border-radius: 24px;
  }

  .project-card img,
  .service-card > img {
    aspect-ratio: 4 / 3;
  }

  .contact-card {
    border-radius: 26px;
  }

  .deliverables-head {
    margin-bottom: 26px;
  }

  .contact-copy,
  .contact-options {
    padding: 24px;
  }

  #contact-form,
  .modal-head {
    padding-inline: 22px;
  }
}
