:root {
  --ink: #2b241e;
  --muted: #6f6258;
  --line: #e5d9ce;
  --panel: #ffffff;
  --soft: #f8f3ee;
  --deep: #2f3032;
  --deep-2: #3a332e;
  --navy: #2f3032;
  --blue: #a86b36;
  --cyan: #c78b58;
  --orange: #a86b36;
  --green: #1b8a5a;
  --yellow: #f5bd2e;
  --bronze: #a86b36;
  --bronze-dark: #6d3b08;
  --bronze-soft: #f6eee7;
  --radius: 8px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(245, 130, 32, .12), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(168, 107, 54, .12), transparent 30%),
    linear-gradient(180deg, #fbf8f5 0%, #ffffff 30%, #f8f3ee 100%);
  line-height: 1.5;
}

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

.site-header {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 36px));
  margin: 0;
  padding: 8px 16px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(168, 107, 54, .16);
  border-radius: 16px;
  box-shadow: 0 16px 44px rgba(55, 32, 12, .12);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--bronze), #c78b58, transparent);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  transition: background .2s ease, transform .2s ease;
}

.brand:hover {
  background: transparent;
  transform: translateY(-1px);
}

.brand-official-logo {
  display: block;
  width: clamp(112px, 11vw, 152px);
  max-height: 118px;
  height: auto;
  object-fit: contain;
}

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

nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(168, 107, 54, .14);
  border-radius: 999px;
  background: rgba(246, 238, 231, .74);
  box-shadow: none;
}

nav a {
  position: relative;
  padding: 10px 12px;
  color: var(--bronze-dark);
  font-size: 14px;
  border-radius: 999px;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

nav a:hover {
  color: #4b2605;
  background: rgba(168, 107, 54, .12);
  transform: translateY(-1px);
}

nav a::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 6px;
  left: 12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bronze-dark), #c78b58);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

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

.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(168, 107, 54, .16);
  border-radius: 999px;
  background: rgba(246, 238, 231, .78);
  box-shadow: none;
}

.language-switch button {
  min-width: 38px;
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  color: var(--bronze-dark);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  background: transparent;
  cursor: pointer;
}

.language-switch button.active {
  color: #fff;
  background: linear-gradient(135deg, var(--bronze-dark), var(--bronze));
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 72px));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #f8f3ee;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroMove 16s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 42%, rgba(199, 139, 88, .22), transparent 26%),
    linear-gradient(90deg, rgba(248, 243, 238, .92) 0%, rgba(248, 243, 238, .74) 39%, rgba(248, 243, 238, .22) 74%, rgba(248, 243, 238, .08) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, .46), transparent 38%);
}

.hero-content {
  position: relative;
  width: min(700px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 72px);
  padding: 214px 0 58px;
  color: #3f250c;
}

.hero-content::before {
  content: "";
  position: absolute;
  top: 108px;
  left: 0;
  width: 86px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bronze-dark), #c78b58);
  box-shadow: 0 0 28px rgba(168, 107, 54, .25);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--bronze-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  max-width: 900px;
  font-size: clamp(44px, 8vw, 88px);
  line-height: .96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.12;
}

.lead {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(63, 37, 12, .84);
  font-size: clamp(18px, 2.2vw, 23px);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 28px;
}

.hero-badges span {
  padding: 8px 11px;
  color: var(--bronze-dark);
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(168, 107, 54, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  backdrop-filter: blur(10px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(168, 107, 54, .24);
  border-radius: 7px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--bronze-dark), var(--bronze));
  border-color: rgba(168, 107, 54, .54);
}

.button.ghost {
  color: var(--bronze-dark);
  background: rgba(255, 255, 255, .72);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: linear-gradient(90deg, rgba(168, 107, 54, .22), rgba(229, 217, 206, .9), rgba(47, 48, 50, .16));
  border-bottom: 1px solid rgba(168, 107, 54, .16);
}

.trust-band div {
  padding: 24px clamp(18px, 4vw, 56px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(250, 246, 242, .96));
  transition: transform .22s ease, background .22s ease;
}

.trust-band div:hover {
  transform: translateY(-3px);
  background: #fbf7f2;
}

.trust-band strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.trust-band span { color: var(--muted); }

.section, .split, .contact {
  padding: clamp(64px, 8vw, 104px) clamp(18px, 6vw, 72px);
}

.section-head {
  max-width: 880px;
  margin-bottom: 36px;
}

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

.service-list {
  display: grid;
  gap: 34px;
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: stretch;
  min-height: 390px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(250, 246, 242, .96));
  border: 1px solid rgba(217, 226, 236, .8);
  border-radius: 14px;
  box-shadow: 0 22px 56px rgba(16, 32, 51, .11);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.service-row::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--bronze-dark), var(--bronze), #d3a071, var(--bronze-dark));
  background-size: 220% 100%;
  animation: headerFlow 9s linear infinite;
  opacity: .92;
}

.service-row:nth-child(even) {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}

.service-row:nth-child(even) img { order: 2; }

.service-row:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 107, 54, .38);
  box-shadow: 0 24px 60px rgba(55, 32, 12, .12);
}

.service-row img {
  position: relative;
  z-index: 0;
  grid-column: 1;
  grid-row: 1;
  display: block;
  width: 100%;
  height: auto;
  min-height: 390px;
  aspect-ratio: 16 / 10;
  max-width: 100%;
  object-fit: contain;
  background: #f5f0eb;
  transition: transform .7s ease, filter .7s ease;
}

.service-row:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.012);
}

.service-row div {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  display: grid;
  align-content: center;
  padding: clamp(26px, 5vw, 58px);
  background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(250, 246, 242, .96));
}

.service-row:nth-child(even) img {
  grid-column: 2;
}

.service-row:nth-child(even) div {
  grid-column: 1;
}

.service-row p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 430px) 1fr;
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
  background:
    radial-gradient(circle at 88% 18%, rgba(168, 107, 54, .14), transparent 28%),
    radial-gradient(circle at 18% 80%, rgba(47, 48, 50, .08), transparent 26%),
    linear-gradient(135deg, #fffaf6, #f6eee7 58%, #ffffff);
  color: var(--ink);
}

.split .eyebrow { color: var(--bronze-dark); }
.split p { color: var(--muted); }

.list {
  display: grid;
  gap: 12px;
}

.list p {
  position: relative;
  margin: 0;
  padding: 16px 18px 16px 22px;
  border: 1px solid rgba(168, 107, 54, .16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .76);
  overflow: hidden;
}

.list p::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--bronze-dark), var(--bronze));
}

.muted-section {
  background:
    linear-gradient(180deg, #f8f3ee, #fffaf6);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.steps div {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(16, 32, 51, .05);
}

.steps h3 { font-size: 22px; }
.steps p { color: var(--muted); }

.why-section {
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 20%, rgba(168, 107, 54, .16), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(47, 48, 50, .08), transparent 24%),
    linear-gradient(135deg, #ffffff, #f6eee7 62%, #fffaf6);
}

.why-section .section-head p:not(.eyebrow),
.why-section p {
  color: var(--muted);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.why-grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(168, 107, 54, .16);
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 20px 48px rgba(55, 32, 12, .08);
  backdrop-filter: blur(14px);
  transition: transform .24s ease, background .24s ease, border-color .24s ease;
}

.why-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(168, 107, 54, .34);
  background: rgba(255, 255, 255, .92);
}

.why-grid h3 {
  font-size: 24px;
}

.references {
  background:
    linear-gradient(180deg, #fff, #fbf7f2);
}

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

.reference-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffaf6;
  transition: transform .24s ease, box-shadow .24s ease;
}

.reference-feature img {
  display: block;
  width: min(320px, 100%);
  height: 150px;
  object-fit: contain;
  object-position: center;
  margin: 0 auto 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.reference-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(16, 32, 51, .08);
}

.reference-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 7px 10px;
  color: var(--bronze-dark);
  font-size: 12px;
  font-weight: 800;
  background: #f6eee7;
  border-radius: 6px;
}

.reference-grid p {
  color: var(--muted);
}

.project-gallery-section {
  background: #f4f1ed;
}

.open-gallery-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid var(--bronze-dark);
  border-radius: 6px;
  background: var(--bronze-dark);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.open-gallery-button:hover {
  transform: translateY(-2px);
  background: #6d3c12;
}

.project-gallery-dialog {
  width: min(1320px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 24px;
  overflow: auto;
  border: 0;
  border-radius: 8px;
  background: #f4f1ed;
}

.project-gallery-dialog::backdrop { background: rgba(15, 14, 13, .88); }

.project-gallery-dialog-header {
  position: sticky;
  top: -24px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: -24px -24px 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 237, .96);
  backdrop-filter: blur(12px);
}

.project-gallery-dialog-header .eyebrow { margin-bottom: 4px; }
.project-gallery-dialog-header h2 { margin: 0; font-size: 28px; }

.project-gallery-close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--bronze-dark);
  font-size: 30px;
  line-height: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 280px;
  gap: 12px;
}

.project-gallery-dialog .gallery-item {
  opacity: 1;
  transform: none;
}

.gallery-item {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: #262626;
  cursor: zoom-in;
}

.gallery-item-wide { grid-column: span 2; }
.gallery-item-tall { grid-row: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .3s ease;
}

.gallery-item span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  text-align: left;
  background: rgba(25, 24, 23, .78);
  border-left: 3px solid var(--bronze);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.035);
  filter: contrast(1.03);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--bronze);
  outline-offset: 3px;
}

.gallery-lightbox {
  width: min(1100px, calc(100% - 32px));
  max-width: none;
  padding: 0;
  overflow: visible;
  color: #fff;
  border: 0;
  background: transparent;
}

.gallery-lightbox::backdrop { background: rgba(15, 14, 13, .92); }
.gallery-lightbox figure { margin: 0; }
.gallery-lightbox figure img {
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

.gallery-lightbox figcaption {
  padding: 12px 0 0;
  font-size: 14px;
  text-align: center;
}

.gallery-close,
.gallery-arrow {
  position: fixed;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: rgba(25, 24, 23, .72);
  cursor: pointer;
}

.gallery-close { top: 20px; right: 20px; }
.gallery-prev { top: 50%; left: 20px; transform: translateY(-50%); }
.gallery-next { top: 50%; right: 20px; transform: translateY(-50%); }

.seo-section {
  background:
    radial-gradient(circle at 88% 18%, rgba(168, 107, 54, .12), transparent 28%),
    linear-gradient(180deg, #ffffff, #fbf7f2);
}

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

.seo-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(168, 107, 54, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 44px rgba(55, 32, 12, .07);
}

.seo-grid h3 {
  font-size: 22px;
}

.seo-grid p {
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 520px);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  background:
    linear-gradient(135deg, #ffffff, #fbf7f2);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.contact-form label.wide {
  grid-column: 1 / -1;
}

.contact-form .form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form span {
  color: var(--bronze-dark);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  border: 1px solid rgba(168, 107, 54, .24);
  border-radius: 7px;
  background: #fff;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--bronze);
  box-shadow: 0 0 0 4px rgba(168, 107, 54, .12);
}

.contact-form button {
  justify-self: start;
  min-height: 46px;
  padding: 12px 18px;
  color: #fff;
  font: inherit;
  font-weight: 800;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--bronze-dark), var(--bronze));
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
}

.contact-form button:disabled {
  cursor: wait;
  opacity: .68;
  transform: none;
}

.form-status {
  align-self: center;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-status.success { color: var(--green); }
.form-status.error { color: #b42318; }

.privacy-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.privacy-note a,
.legal-links a { color: var(--bronze-dark); text-decoration: underline; }

.legal-links {
  display: inline-flex;
  gap: 14px;
}

.policy-page {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 170px 0 80px;
}

.policy-page article {
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.policy-page h1 { margin-bottom: 16px; font-size: clamp(36px, 6vw, 64px); }
.policy-page h2 { margin-top: 34px; font-size: 24px; }
.policy-page p, .policy-page li { color: var(--muted); line-height: 1.75; }
.policy-page ul { padding-left: 22px; }
.policy-meta { margin-bottom: 30px; font-size: 14px; }
.policy-back { display: inline-flex; margin-bottom: 24px; color: var(--bronze-dark); font-weight: 800; }

.contact-panel {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(16, 32, 51, .08);
}

.contact-panel a,
.contact-panel p {
  margin: 0;
  padding: 18px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.contact-panel a:hover { background: #fbf7f2; }
.contact-panel :last-child { border-bottom: 0; }

.contact-panel span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.contact-panel strong {
  display: block;
  margin-top: 4px;
  font-size: 19px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(18px, 6vw, 72px);
  color: rgba(255, 255, 255, .82);
  background: #2f3032;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

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

@keyframes heroMove {
  from { transform: scale(1); }
  to { transform: scale(1.06) translateX(-1.5%); }
}

@keyframes headerFlow {
  from { background-position: 0 0; }
  to { background-position: 220% 0; }
}

@media (max-width: 1100px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  nav { flex-wrap: wrap; }
}

@media (max-width: 980px) {
  .service-row,
  .service-row:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-row:nth-child(even) img { order: 0; }
  .service-row img,
  .service-row:nth-child(even) img,
  .service-row div,
  .service-row:nth-child(even) div {
    grid-column: 1;
    grid-row: auto;
  }
  .service-row img { min-height: 340px; }
  .steps, .reference-grid, .why-grid, .seo-grid { grid-template-columns: repeat(2, 1fr); }
  .project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .contact { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    width: calc(100% - 24px);
    margin: 12px auto -8px;
    padding: 10px;
    background: rgba(255, 255, 255, .98);
  }

  .brand {
    min-width: 0;
    width: 100%;
  }

  .brand-official-logo {
    width: min(100%, 138px);
    max-height: 108px;
  }

  .header-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    gap: 4px;
    border-radius: 12px;
  }

  nav a { padding: 8px 6px; }

  .hero {
    min-height: 720px;
  }

  .hero img {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(248, 243, 238, .94) 0%, rgba(248, 243, 238, .82) 50%, rgba(248, 243, 238, .22) 100%);
  }

  .hero-content {
    align-self: end;
    margin: 0 auto;
    padding-bottom: 56px;
  }

  .trust-band, .steps, .reference-grid, .why-grid, .seo-grid {
    grid-template-columns: 1fr;
  }

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

  .project-gallery-dialog {
    width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
    padding: 16px;
  }

  .project-gallery-dialog-header {
    top: -16px;
    margin: -16px -16px 14px;
    padding: 14px 16px;
  }

  .project-gallery-dialog-header h2 { font-size: 21px; }

  .gallery-item-wide,
  .gallery-item-tall {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-arrow { width: 40px; height: 40px; }
  .gallery-prev { left: 8px; }
  .gallery-next { right: 8px; }

  .service-row {
    min-height: 0;
  }

  .service-row img {
    min-height: 240px;
    aspect-ratio: 4 / 3;
  }

  .service-row div {
    padding: 24px;
  }

  .contact-panel strong {
    font-size: 16px;
    overflow-wrap: anywhere;
  }

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

  footer {
    flex-direction: column;
  }

  .policy-page { padding-top: 40px; }
}

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

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

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