:root {
  --ink: #161b1d;
  --ink-soft: #394247;
  --muted: #667278;
  --line: #dce2e5;
  --surface: #f4f7f8;
  --white: #ffffff;
  --blue: #2167a8;
  --blue-dark: #174c7e;
  --cyan: #18b7c9;
  --cyan-soft: #e6f8fa;
  --red: #e44132;
  --red-dark: #ba3025;
  --green: #167c4b;
  --orange: #d67a16;
  --shadow: 0 18px 55px rgba(22, 27, 29, 0.12);
  --shell: min(1180px, calc(100% - 40px));
  color-scheme: light;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  letter-spacing: 0;
}

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

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

svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
strong {
  line-height: 1.15;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(24, 183, 201, 0.45);
  outline-offset: 3px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 4px;
  transform: translateY(-150%);
}

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

.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 750;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button {
  min-height: 46px;
  gap: 9px;
  padding: 11px 17px;
  font-size: 0.93rem;
}

.button:hover {
  transform: translateY(-1px);
}

.button--outline {
  color: var(--ink);
  background: var(--white);
  border-color: #cbd3d7;
}

.button--outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.button--whatsapp {
  color: var(--white);
  background: var(--green);
}

.button--whatsapp:hover {
  background: #10633b;
}

.button--urgent {
  color: var(--white);
  background: var(--red);
}

.button--urgent:hover {
  background: var(--red-dark);
}

.button--primary {
  color: var(--white);
  background: var(--blue);
}

.button--primary:hover {
  background: var(--blue-dark);
}

.icon-button {
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: 76px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 1.14rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.2;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  position: relative;
  padding: 28px 0 25px;
  color: var(--ink-soft);
  font-size: 0.89rem;
  font-weight: 700;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  gap: 8px;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 38%;
  height: 8px;
  content: "";
  background: var(--cyan);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.72fr);
  gap: 64px;
  align-items: center;
  min-height: 640px;
  padding-block: 52px;
}

.hero-copy {
  max-width: 690px;
}

.hero-copy h1 {
  max-width: 680px;
  font-size: clamp(2.7rem, 5.1vw, 5.2rem);
  font-weight: 850;
  line-height: 0.98;
}

.hero-copy h1::before {
  display: block;
  width: 68px;
  height: 6px;
  margin-bottom: 24px;
  content: "";
  background: var(--red);
}

.hero-copy > p {
  max-width: 620px;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 670px;
  margin-top: 40px;
  border-top: 1px solid #cbd3d7;
}

.trust-row > div {
  min-width: 0;
  padding: 19px 18px 0 0;
}

.trust-row > div + div {
  padding-left: 18px;
  border-left: 1px solid #cbd3d7;
}

.trust-row dt {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 850;
}

.trust-row dt svg {
  width: 18px;
  color: var(--blue);
}

.trust-row dd {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: 520px;
  max-height: 600px;
  margin: 0;
  overflow: hidden;
  background: #d9dfe2;
}

.hero-media::before {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 13px;
  height: 34%;
  content: "";
  background: var(--red);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% center;
}

.hero-media figcaption {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 15px 17px;
  color: var(--white);
  background: rgba(22, 27, 29, 0.9);
  font-size: 0.86rem;
}

.hero-media figcaption span {
  display: block;
  margin-bottom: 3px;
  color: #7fe8f1;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-intro,
.section-heading {
  padding-top: 86px;
}

.intro-split,
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 56px;
  align-items: end;
}

.section-label {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.section-intro h2,
.section-heading h2,
.request-copy h2,
.proof-grid h2,
.contact-band h2 {
  font-size: clamp(2rem, 3.1vw, 3.35rem);
  font-weight: 820;
}

.intro-split > p,
.section-heading > p {
  color: var(--muted);
}

.service-band {
  padding-bottom: 90px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-item {
  position: relative;
  min-height: 235px;
  padding: 27px 24px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-item > svg {
  width: 30px;
  height: 30px;
  color: var(--blue);
}

.service-item--warm > svg {
  color: var(--red);
}

.service-item--green > svg {
  color: var(--green);
}

.service-item--solar > svg {
  color: var(--orange);
}

.service-item h3 {
  margin-top: 28px;
  font-size: 1.15rem;
}

.service-item p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.89rem;
}

.service-item > a {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.service-item > a:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.projects {
  padding-bottom: 90px;
  color: var(--white);
  background: var(--ink);
}

.projects .section-label,
.video-section .section-label {
  color: var(--cyan);
}

.projects .section-heading > p,
.video-section .section-heading > p {
  color: #aeb8bc;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 245px;
  gap: 10px;
  margin-top: 42px;
}

.project {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: #222a2e;
  border: 0;
  border-radius: 0;
  text-align: left;
}

.project--tall {
  grid-row: span 2;
}

.project--wide {
  grid-column: span 2;
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

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

.project > span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 3px;
  padding: 14px 16px 15px;
  background: rgba(22, 27, 29, 0.9);
}

.project small {
  color: #c9d2d5;
}

.video-section {
  padding-bottom: 86px;
  color: var(--white);
  background: #252d31;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 38px;
}

.video-item {
  position: relative;
  display: block;
  min-width: 0;
  background: var(--ink);
  border-bottom: 3px solid var(--cyan);
}

.video-item > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.86;
}

.video-item strong {
  display: block;
  padding: 14px 15px 16px;
  font-size: 0.9rem;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
  transform: translate(-50%, -92%);
}

.play-button svg {
  width: 18px;
  fill: currentColor;
}

.request-section {
  padding-block: 92px;
  background: var(--surface);
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(520px, 1fr);
  gap: 70px;
  align-items: start;
}

.request-copy {
  position: sticky;
  top: 110px;
}

.request-copy > p:not(.section-label) {
  margin-top: 20px;
  color: var(--muted);
}

.request-steps {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.request-steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 13px;
  align-items: start;
}

.request-steps li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 850;
}

.request-steps div {
  display: grid;
  gap: 4px;
}

.request-steps small {
  color: var(--muted);
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label,
.reply-editor > label {
  color: var(--ink-soft);
  font-size: 0.79rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea,
.reply-search input,
.reply-editor textarea {
  width: 100%;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #bdc8cd;
  border-radius: 5px;
}

.field input,
.field select {
  min-height: 48px;
  padding: 0 13px;
}

.field textarea {
  min-height: 130px;
  padding: 12px 13px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.reply-search input:focus,
.reply-editor textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(33, 103, 168, 0.12);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 2px;
}

.form-status {
  min-height: 24px;
  color: var(--red-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.proof-section {
  padding-block: 90px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.proof-grid article {
  min-height: 350px;
  padding: 42px;
  background: var(--white);
}

.proof-grid article > svg {
  width: 38px;
  height: 38px;
  margin-bottom: 34px;
  color: var(--cyan);
}

.proof-grid article > p:not(.section-label, .review-meta) {
  max-width: 480px;
  margin-top: 18px;
  color: var(--muted);
}

.proof-grid article > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: var(--blue);
  font-weight: 800;
}

.proof-grid blockquote {
  margin-top: 8px;
  font-size: clamp(1.4rem, 2.2vw, 2.15rem);
  font-weight: 750;
  line-height: 1.32;
}

.review-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
  color: var(--muted);
}

.review-meta strong {
  color: var(--ink);
}

.contact-band {
  color: var(--white);
  background: var(--blue);
}

.contact-band-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: center;
  min-height: 180px;
}

.contact-band h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.contact-band p {
  margin-top: 7px;
  color: #d9e9f7;
}

.contact-band-inner > a {
  display: flex;
  gap: 13px;
  align-items: center;
  min-width: 205px;
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.36);
}

.contact-band-inner > a > svg {
  width: 28px;
  height: 28px;
}

.contact-band-inner > a span {
  display: grid;
  gap: 3px;
}

.contact-band-inner > a small {
  color: #d9e9f7;
}

.site-footer {
  padding-top: 60px;
  color: #d3dadd;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.7fr);
  gap: 54px;
}

.brand--footer strong {
  color: var(--white);
}

.brand--footer small,
.footer-brand p {
  color: #9eaaaf;
}

.footer-brand p {
  max-width: 330px;
  margin-top: 20px;
  font-size: 0.85rem;
}

.footer-grid > div:not(.footer-brand) {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-grid h2 {
  margin-bottom: 7px;
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.footer-grid a {
  color: #adb8bc;
  font-size: 0.85rem;
}

.footer-grid a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 24px;
  margin-top: 52px;
  color: #879399;
  border-top: 1px solid #333d41;
  font-size: 0.78rem;
}

.mobile-contact-bar {
  display: none;
}

.gallery-dialog {
  width: min(1000px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: hidden;
  background: var(--ink);
  border: 0;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.gallery-dialog::backdrop {
  background: rgba(8, 12, 14, 0.84);
}

.gallery-dialog > button {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
}

.gallery-dialog figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  max-height: calc(100vh - 32px);
}

.gallery-dialog img {
  width: 100%;
  max-height: calc(100vh - 95px);
  object-fit: contain;
}

.gallery-dialog figcaption {
  padding: 16px 18px;
  color: var(--white);
}

/* Internal response workspace */

.reply-app {
  min-height: 100vh;
  overflow: hidden;
  background: #eef2f3;
}

.reply-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 10px 22px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.reply-header > .button {
  justify-self: end;
}

.internal-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.internal-label svg {
  width: 16px;
}

.reply-workspace {
  display: grid;
  grid-template-columns: 255px minmax(340px, 0.8fr) minmax(430px, 1fr);
  height: calc(100vh - 72px);
}

.reply-sidebar,
.reply-results,
.reply-editor {
  min-width: 0;
  overflow-y: auto;
}

.reply-sidebar {
  padding: 24px 14px;
  background: #252d31;
}

.reply-sidebar h1 {
  padding: 0 10px 14px;
  color: #aeb8bc;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.reply-sidebar [data-category-list] {
  display: grid;
  gap: 3px;
}

.reply-category {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  color: #d5dddf;
  background: transparent;
  border: 0;
  border-radius: 5px;
  text-align: left;
}

.reply-category svg {
  width: 17px;
}

.reply-category span {
  min-width: 0;
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reply-category strong {
  min-width: 26px;
  padding: 3px 6px;
  color: #aeb8bc;
  background: #333d41;
  border-radius: 4px;
  font-size: 0.69rem;
  text-align: center;
}

.reply-category:hover,
.reply-category.is-active {
  color: var(--white);
  background: var(--blue);
}

.reply-category.is-active strong {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.reply-results {
  padding: 25px 20px;
  background: var(--surface);
  border-right: 1px solid var(--line);
}

.reply-title-row,
.editor-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.reply-title-row h2,
.editor-heading h2 {
  font-size: 1.45rem;
}

.reply-title-row > span {
  padding-top: 27px;
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.reply-search {
  position: relative;
  display: block;
  margin-top: 19px;
}

.reply-search svg {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 13px;
  width: 18px;
  color: var(--muted);
  transform: translateY(-50%);
}

.reply-search input {
  min-height: 46px;
  padding: 0 13px 0 40px;
}

.reply-list {
  display: grid;
  gap: 7px;
  margin-top: 15px;
}

.reply-row {
  display: grid;
  grid-template-columns: 1fr 18px;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 69px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  text-align: left;
}

.reply-row > span {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.reply-row strong {
  overflow: hidden;
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reply-row small {
  color: var(--muted);
  font-size: 0.75rem;
}

.reply-row > svg {
  width: 17px;
  color: #98a4a9;
}

.reply-row:hover,
.reply-row.is-active {
  border-color: var(--blue);
}

.reply-row.is-active {
  box-shadow: inset 4px 0 0 var(--blue);
}

.reply-empty {
  padding: 64px 20px;
  margin-top: 15px;
  color: var(--muted);
  text-align: center;
}

.reply-empty svg {
  width: 32px;
  height: 32px;
  margin: 0 auto 12px;
}

.reply-empty strong {
  display: block;
  color: var(--ink);
}

.reply-empty p {
  margin-top: 6px;
  font-size: 0.85rem;
}

.reply-editor {
  padding: 28px 30px;
  background: var(--white);
}

.editor-heading p:last-child {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.81rem;
}

.reply-editor > label {
  display: block;
  margin-top: 28px;
  margin-bottom: 8px;
}

.reply-editor textarea {
  min-height: 260px;
  padding: 15px;
  line-height: 1.65;
  resize: vertical;
}

.variables {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: 13px;
}

.variables > span {
  margin-right: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.variables button {
  min-height: 29px;
  padding: 4px 8px;
  color: var(--blue);
  background: #eef6fc;
  border: 1px solid #c7deef;
  border-radius: 4px;
  font-size: 0.73rem;
  font-weight: 750;
}

.editor-note {
  display: flex;
  gap: 10px;
  align-items: start;
  padding: 12px;
  margin-top: 20px;
  color: #565f63;
  background: #f6f8f9;
  border-left: 3px solid var(--cyan);
  font-size: 0.78rem;
}

.editor-note svg {
  width: 17px;
  color: var(--blue);
}

.copy-response {
  width: 100%;
  margin-top: 18px;
}

.copy-toast {
  position: fixed;
  z-index: 100;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100% - 44px);
  padding: 13px 16px;
  color: var(--white);
  background: var(--green);
  border-radius: 5px;
  box-shadow: var(--shadow);
  font-size: 0.84rem;
  font-weight: 750;
}

.copy-toast[hidden] {
  display: none;
}

@media (max-width: 1080px) {
  .header-inner {
    gap: 18px;
  }

  .site-nav {
    gap: 15px;
  }

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

  .hero-layout {
    grid-template-columns: 1fr 390px;
    gap: 36px;
  }

  .service-list,
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .request-layout {
    grid-template-columns: minmax(0, 0.68fr) minmax(470px, 1fr);
    gap: 40px;
  }

  .reply-workspace {
    grid-template-columns: 210px minmax(300px, 0.78fr) minmax(390px, 1fr);
  }
}

@media (max-width: 860px) {
  :root {
    --shell: min(100% - 30px, 720px);
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .menu-toggle {
    display: inline-flex;
    grid-column: 2;
  }

  .header-actions {
    grid-column: 3;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    padding: 10px 15px 16px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 24px rgba(22, 27, 29, 0.1);
  }

  .site-nav[data-open="true"] {
    display: grid;
  }

  .site-nav a {
    padding: 11px 10px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
    padding-block: 58px 38px;
  }

  .hero-media {
    width: 100%;
    min-height: 470px;
    max-height: 540px;
  }

  .intro-split,
  .section-heading,
  .request-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .request-copy {
    position: static;
  }

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

  .project--tall {
    grid-row: span 1;
  }

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

  .contact-band-inner {
    grid-template-columns: 1fr 1fr;
    padding-block: 35px;
  }

  .contact-band-inner > div {
    grid-column: 1 / -1;
  }

  .contact-band-inner > a {
    padding-left: 0;
    border-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1.3fr repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .reply-app {
    overflow: auto;
  }

  .reply-header {
    grid-template-columns: 1fr auto;
  }

  .reply-header .internal-label {
    display: none;
  }

  .reply-workspace {
    grid-template-columns: 190px 1fr;
    height: auto;
    min-height: calc(100vh - 72px);
  }

  .reply-sidebar {
    grid-row: span 2;
  }

  .reply-results,
  .reply-editor {
    overflow: visible;
  }
}

@media (max-width: 600px) {
  :root {
    --shell: calc(100% - 26px);
  }

  body:not(.reply-app) {
    padding-bottom: 60px;
  }

  .site-header,
  .header-inner {
    min-height: 68px;
  }

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

  .brand strong {
    font-size: 0.96rem;
  }

  .brand small {
    max-width: 145px;
    font-size: 0.6rem;
  }

  .header-actions {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    grid-column: 2;
  }

  .site-nav {
    top: 68px;
  }

  .hero-layout {
    padding-top: 42px;
  }

  .hero-copy h1 {
    font-size: 2.55rem;
    line-height: 1.03;
  }

  .hero-copy > p {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-row {
    grid-template-columns: 1fr 1fr;
  }

  .trust-row > div:last-child {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
  }

  .hero-media {
    min-height: 420px;
  }

  .section-intro,
  .section-heading {
    padding-top: 62px;
  }

  .section-intro h2,
  .section-heading h2,
  .request-copy h2,
  .proof-grid h2 {
    font-size: 2rem;
  }

  .service-band,
  .projects,
  .video-section {
    padding-bottom: 64px;
  }

  .service-list {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .service-item {
    min-height: 198px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 290px;
  }

  .project--wide {
    grid-column: span 1;
  }

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

  .request-section,
  .proof-section {
    padding-block: 64px;
  }

  .request-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .field--full {
    grid-column: auto;
  }

  .form-footer {
    display: grid;
  }

  .form-footer .button {
    width: 100%;
  }

  .proof-grid article {
    min-height: 310px;
    padding: 28px 23px;
  }

  .contact-band-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-band-inner > div {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 38px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    gap: 10px;
  }

  .mobile-contact-bar {
    position: fixed;
    z-index: 80;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 60px;
    color: var(--white);
    background: var(--ink);
    border-top: 1px solid #3a4549;
  }

  .mobile-contact-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 800;
  }

  .mobile-contact-bar a + a {
    background: var(--green);
  }

  .reply-header {
    min-height: 66px;
    padding: 8px 12px;
  }

  .reply-header .brand small,
  .reply-header .button span {
    display: none;
  }

  .reply-header .button {
    width: 42px;
    min-height: 42px;
    padding: 0;
    font-size: 0;
  }

  .reply-workspace {
    display: block;
    min-height: 0;
  }

  .reply-sidebar {
    position: sticky;
    z-index: 5;
    top: 0;
    padding: 10px 12px;
    overflow-x: auto;
    background: #252d31;
  }

  .reply-sidebar h1 {
    display: none;
  }

  .reply-sidebar [data-category-list] {
    display: flex;
    width: max-content;
  }

  .reply-category {
    grid-template-columns: auto auto;
    width: auto;
    min-height: 38px;
  }

  .reply-category svg,
  .reply-category strong {
    display: none;
  }

  .reply-category span {
    overflow: visible;
  }

  .reply-results,
  .reply-editor {
    padding: 22px 14px;
  }

  .reply-editor {
    border-top: 1px solid var(--line);
  }

  .reply-row strong {
    white-space: normal;
  }

  .reply-editor textarea {
    min-height: 290px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
