:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #5e6b78;
  --soft: #f5f8fb;
  --line: #dfe7ef;
  --panel: #ffffff;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --green: #43c26b;
  --amber: #f0a638;
  --blue: #2f7dd1;
  --shadow: 0 18px 50px rgba(22, 32, 42, 0.12);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.65;
}

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

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

a:hover {
  color: var(--teal);
}

:focus-visible {
  outline: 3px solid rgba(47, 125, 209, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: #ffffff;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 231, 239, 0.82);
  backdrop-filter: blur(18px);
}

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

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

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: var(--radius);
}

.brand span {
  display: grid;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: #26323f;
  font-size: 14px;
  font-weight: 750;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--teal-dark);
  background: #eef8f6;
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--teal);
  color: #ffffff;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.2);
}

.button:hover {
  color: #ffffff;
  background: var(--teal-dark);
}

.button.secondary {
  background: #ffffff;
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.66);
  box-shadow: none;
}

.button.ghost {
  background: #ffffff;
  color: var(--teal-dark);
  border-color: var(--line);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 18px));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #ffffff;
  background: #0c181f;
}

.hero-bg,
.hero-bg img,
.hero::before {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  z-index: 1;
  background: linear-gradient(90deg, rgba(12, 24, 31, 0.92), rgba(12, 24, 31, 0.68) 52%, rgba(12, 24, 31, 0.28));
}

.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  height: 92px;
  background: #ffffff;
  clip-path: polygon(0 46%, 100% 0, 100% 100%, 0 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(280px, 390px);
  gap: 48px;
  align-items: end;
  padding: 118px 0 126px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.hero .eyebrow,
.section.dark .eyebrow,
.work-showcase .eyebrow {
  color: #b6f5dc;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: inherit;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  font-size: clamp(40px, 7vw, 74px);
  overflow-wrap: anywhere;
}

h2 {
  font-size: clamp(30px, 4.5vw, 50px);
  overflow-wrap: anywhere;
}

h3 {
  font-size: 22px;
}

p {
  margin: 0;
}

.hero-lead {
  max-width: 680px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-panel ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 750;
}

.hero-panel li:last-child {
  border-bottom: 0;
}

.check {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.38);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-wrap {
    gap: 12px;
  }

  .site-nav {
    position: absolute;
    inset: 76px 20px auto 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-actions .button {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 94px 0 118px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand small {
    display: none;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .site-nav {
    inset: 70px 14px auto 14px;
  }

  .hero-content {
    gap: 28px;
    padding-top: 74px;
  }

  h1 {
    font-size: 34px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

.section {
  padding: 92px 0;
}

.section.tight {
  padding: 68px 0;
}

.section.soft {
  background: var(--soft);
}

.section.dark {
  background: #18242e;
  color: #ffffff;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 38px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.section.dark .section-head p,
.section.dark .muted {
  color: rgba(255, 255, 255, 0.74);
}

.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(22, 32, 42, 0.06);
}

.service-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 100%;
  padding: 26px;
}

.service-card:hover {
  border-color: rgba(15, 118, 110, 0.34);
  transform: translateY(-2px);
  transition: transform 180ms ease;
}

.icon-mark {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: var(--radius);
  color: var(--teal-dark);
  background: linear-gradient(135deg, #e8f7f4, #f6fbfa);
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.1);
}

.service-icon {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card p {
  color: var(--muted);
}

.link-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--teal-dark);
  font-weight: 850;
}

.link-line::after {
  content: "→";
}

/* critical:end */

.work-showcase {
  background: #101820;
  color: #ffffff;
}

.showcase-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.35fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.showcase-head h2 {
  max-width: 760px;
}

.showcase-head p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.showcase-note {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.showcase-note strong,
.showcase-note span {
  display: block;
}

.showcase-note strong {
  font-size: 18px;
}

.showcase-note span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
}

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  padding: 0;
  color: var(--ink);
}

.project-card:hover {
  color: var(--ink);
  border-color: rgba(15, 118, 110, 0.34);
  transform: translateY(-2px);
  transition: transform 180ms ease;
}

.project-card:hover .project-shot img {
  transform: scale(1.025);
}

.project-shot {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #eef4f7;
}

.project-shot > picture {
  display: block;
  width: 100%;
  height: 100%;
}

.project-shot > picture > img,
.project-shot > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 220ms ease;
}

.mobile-preview {
  position: absolute;
  right: 22px;
  bottom: -26px;
  display: block;
  width: clamp(110px, 26%, 156px);
  border-radius: 24px;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.34));
  transform: rotate(3deg);
}

.mobile-preview img {
  width: 100%;
  height: auto;
}

.project-card-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.project-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.project-type {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e8f7f4;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
}

.project-card strong {
  font-size: 25px;
  line-height: 1.2;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.project-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
}

.project-badge.is-mobile {
  border-color: rgba(67, 194, 107, 0.38);
  background: #43c26b;
  color: #062b1a;
}

.project-card small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.project-card em {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  font-style: normal;
  font-weight: 900;
}

.project-card em::after {
  content: "→";
}

.work-showcase .project-card {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.07)),
    #17242d;
  color: #ffffff;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
}

.work-showcase .project-card:hover {
  color: #ffffff;
  border-color: rgba(106, 211, 156, 0.55);
}

.work-showcase .project-type {
  background: rgba(106, 211, 156, 0.18);
  color: #baf5ce;
}

.work-showcase .project-shot {
  border-bottom-color: rgba(255, 255, 255, 0.16);
  background: #0c141a;
}

.work-showcase .mobile-preview {
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.48));
}

.work-showcase .project-card small {
  color: rgba(255, 255, 255, 0.66);
}

.work-showcase .project-card p {
  color: rgba(255, 255, 255, 0.7);
}

.work-showcase .project-badge {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.84);
}

.work-showcase .project-badge.is-mobile {
  border-color: rgba(106, 211, 156, 0.7);
  background: #6ad39c;
  color: #082317;
  box-shadow: 0 10px 24px rgba(106, 211, 156, 0.2);
}

.work-showcase .project-card em {
  color: #baf5ce;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 56px;
  align-items: center;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-frame picture {
  display: block;
}

.media-frame img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.feature-list,
.plain-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.plain-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
}

.feature-list li::before,
.plain-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--green);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.stat {
  padding: 24px;
  background: #ffffff;
}

.stat strong {
  display: block;
  color: var(--teal-dark);
  font-size: 30px;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-weight: 700;
}

.process {
  counter-reset: step;
}

.process-card {
  position: relative;
  padding: 26px;
}

.process-card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--amber);
  font-size: 14px;
  font-weight: 900;
}

.process-card p {
  margin-top: 12px;
  color: var(--muted);
}

.page-hero {
  padding: 86px 0 64px;
  background: #f4f8fb;
  border-bottom: 1px solid var(--line);
}

.page-hero .breadcrumb {
  margin-bottom: 26px;
}

.page-hero p {
  max-width: 790px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 20px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.breadcrumb a {
  color: var(--teal-dark);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  gap: 42px;
  align-items: start;
}

.content-main {
  display: grid;
  gap: 34px;
}

.content-block {
  padding: 32px;
}

.content-block h2 {
  margin-bottom: 18px;
  font-size: clamp(26px, 3vw, 38px);
}

.content-block p + p {
  margin-top: 14px;
}

.side-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.side-panel .card {
  padding: 24px;
}

.side-panel h3 {
  margin-bottom: 14px;
}

.project-flow {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.project-flow li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(223, 231, 239, 0.9);
  border-radius: var(--radius);
  background: #f7fbfa;
}

.flow-step {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: var(--teal-dark);
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.16);
  font-size: 12px;
  font-weight: 900;
}

.project-flow strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
}

.project-flow p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.45fr);
  gap: 36px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius);
  background: #18242e;
  color: #ffffff;
}

.contact-band p {
  color: rgba(255, 255, 255, 0.75);
}

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

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.faq summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 850;
}

.faq p {
  padding: 0 20px 20px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 0.8fr);
  gap: 34px;
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 16px;
}

.method {
  padding: 24px;
}

.method span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.method a,
.method strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.method .social-icons {
  margin-top: 12px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.form-row {
  display: grid;
  gap: 8px;
}

label {
  color: #2d3944;
  font-size: 14px;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfd9e2;
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  min-height: 24px;
  color: var(--teal-dark);
  font-weight: 750;
}

.site-footer {
  padding: 56px 0 32px;
  background: #101820;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) repeat(2, minmax(180px, 0.45fr));
  gap: 38px;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid h2,
.footer-grid h3 {
  margin-bottom: 16px;
  font-size: 18px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
}

.footer-legal {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-legal button {
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.footer-legal button:hover,
.footer-legal a:hover {
  color: #ffffff;
}

.social-icons {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-top: 0;
  border-radius: 50%;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  transition: transform 180ms ease;
}

.method .social-icon {
  display: inline-flex;
  margin-top: 0;
  color: #ffffff;
  font-size: 16px;
  overflow-wrap: normal;
}

.social-icon:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.social-icon svg {
  width: 19px;
  height: 19px;
}

.social-instagram svg {
  width: 21px;
  height: 21px;
}

.social-facebook {
  background: #1877f2;
}

.social-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.social-linkedin {
  background: #0a66c2;
}

.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(37, 211, 102, 0.3);
}

.whatsapp svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.cookie-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid rgba(207, 217, 226, 0.9);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 26px 70px rgba(11, 20, 30, 0.22);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-copy {
  max-width: 680px;
}

.cookie-copy strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
}

.cookie-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.cookie-actions,
.cookie-settings-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-settings {
  display: none;
  grid-column: 1 / -1;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.cookie-consent.is-settings .cookie-settings {
  display: grid;
}

.cookie-option {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbfd;
}

.cookie-option input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
  accent-color: var(--teal);
}

.cookie-option b,
.cookie-option small {
  display: block;
}

.cookie-option b {
  line-height: 1.3;
}

.cookie-option small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-wrap {
    gap: 12px;
  }

  .site-nav {
    position: absolute;
    inset: 76px 20px auto 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-actions .button {
    display: none;
  }

  .hero-content,
  .section-head,
  .showcase-head,
  .split,
  .content-layout,
  .contact-grid,
  .contact-band,
  .footer-grid,
  .cookie-consent {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 94px 0 118px;
  }

  .grid.three,
  .grid.four,
  .grid.two,
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand small {
    display: none;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .site-nav {
    inset: 70px 14px auto 14px;
  }

  .hero-content {
    gap: 28px;
    padding-top: 74px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 30px;
  }

  .page-hero p,
  .showcase-head p:not(.eyebrow) {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 66px 0;
  }

  .grid.three,
  .grid.four,
  .grid.two,
  .stats {
    grid-template-columns: 1fr;
  }

  .content-block,
  .contact-form,
  .contact-band,
  .service-card,
  .process-card {
    padding: 22px;
  }

  .project-card-top {
    flex-direction: column;
    gap: 8px;
  }

  .project-card small {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .mobile-preview {
    left: 14px;
    top: 10px;
    right: auto;
    bottom: auto;
    width: 26%;
    min-width: 88px;
    transform: rotate(-3deg);
  }

  .footer-bottom {
    flex-direction: column;
  }

  .cookie-consent {
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 18px;
  }

  .cookie-actions,
  .cookie-settings-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
