:root {
  --ink: #172522;
  --text: #45504c;
  --muted: #6f7b76;
  --paper: #fffdf8;
  --white: #ffffff;
  --soft: #f4f7f3;
  --mist: #e8f1ee;
  --line: #d8e2dd;
  --green: #2f5f5f;
  --green-deep: #173a39;
  --teal: #3b91a6;
  --gold: #a98557;
  --gold-soft: #d9c8ad;
  --shadow-soft: 0 18px 45px rgba(23, 37, 34, 0.1);
  --shadow-deep: 0 26px 70px rgba(23, 37, 34, 0.18);
  --container: min(1240px, calc(100vw - 48px));
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(244, 247, 243, 0.9), rgba(255, 253, 248, 0.9) 420px),
    var(--soft);
  color: var(--text);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

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

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid rgba(216, 226, 221, 0.8);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.22s ease, background 0.22s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 14px 36px rgba(23, 37, 34, 0.1);
}

.top-strip {
  background: var(--green-deep);
  color: var(--paper);
  font-size: 0.84rem;
}

.top-strip__inner {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.top-strip a {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.top-strip span {
  color: rgba(255, 253, 248, 0.86);
}

.nav-shell {
  position: relative;
}

.nav-shell__inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.brand {
  display: block;
  width: 196px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  max-width: none;
  height: auto;
}

.site-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.site-menu a {
  position: relative;
  z-index: 0;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-menu a::before {
  content: "";
  position: absolute;
  inset: -9px -7px;
  z-index: -1;
  border: 1px solid rgba(169, 133, 87, 0.34);
  border-radius: 4px;
  background: rgba(217, 200, 173, 0.24);
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 3px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--gold);
  transition: transform 0.2s ease;
}

.site-menu a:hover::after,
.site-menu a.is-active::after {
  transform: scaleX(1);
}

.site-menu a.is-active {
  color: var(--green-deep);
}

.site-menu a.is-active::before {
  opacity: 1;
  transform: scale(1);
}

.button,
.nav-cta,
.service-card__more,
.cta-band__link em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--green);
  color: var(--paper);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.button:hover,
.nav-cta:hover {
  background: var(--green-deep);
  color: var(--paper);
}

.nav-cta {
  max-width: 176px;
  min-height: 42px;
  padding: 8px 12px;
  font-size: 0.74rem;
}

.button {
  padding: 15px 24px;
  font-size: 1rem;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  padding: 11px;
  box-shadow: 0 8px 22px rgba(23, 37, 34, 0.08);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-deep);
  color: var(--paper);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(16, 31, 29, 0.78), rgba(23, 58, 57, 0.52) 48%, rgba(23, 58, 57, 0.18)),
    linear-gradient(180deg, rgba(16, 31, 29, 0.18), rgba(16, 31, 29, 0.34));
}

.hero__slideshow,
.hero__slide {
  position: absolute;
  inset: 0;
}

.hero__slideshow {
  z-index: 0;
}

.hero__slide {
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.035);
  animation: hero-fade 24s infinite;
}

.hero__slide:nth-child(2) {
  animation-delay: 8s;
}

.hero__slide:nth-child(3) {
  animation-delay: 16s;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(169, 133, 87, 0.7), transparent);
  z-index: 2;
}

@keyframes hero-fade {
  0%,
  31% {
    opacity: 1;
    transform: scale(1.035);
  }

  40%,
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

.hero__inner {
  position: relative;
  z-index: 3;
  max-width: 790px;
  padding: 118px 0 126px;
  text-align: left;
}

.hero__title {
  margin: 0;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

.hero__eyebrow {
  margin: 0 0 18px;
  color: var(--gold-soft);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero__title {
  max-width: 760px;
  font-size: 4.05rem;
}

.hero__subtitle {
  max-width: 670px;
  margin: 24px 0 0;
  color: rgba(255, 253, 248, 0.9);
  font-size: 1.18rem;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero .button {
  min-width: 300px;
  min-height: 58px;
  border-color: rgba(255, 253, 248, 0.48);
  border-radius: 4px;
  background: var(--teal);
  font-size: 0.98rem;
  text-transform: uppercase;
  box-shadow: 0 18px 36px rgba(59, 145, 166, 0.24);
}

.hero .button:hover {
  background: var(--paper);
  color: var(--green-deep);
}

.hero__phone {
  color: var(--paper);
  font-weight: 800;
  text-decoration-color: rgba(255, 253, 248, 0.52);
}

.hero__phone:hover {
  color: var(--gold-soft);
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--green-deep);
  color: var(--paper);
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--page-hero-image);
  background-position: center 42%;
  background-size: cover;
  transform: scale(1.02);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 31, 29, 0.9), rgba(23, 58, 57, 0.72) 58%, rgba(23, 58, 57, 0.5)),
    linear-gradient(180deg, rgba(16, 31, 29, 0.12), rgba(16, 31, 29, 0.34));
}

.page-hero__inner {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 50px 0 56px;
}

.page-hero__eyebrow,
.page-hero__context {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero__eyebrow {
  color: var(--gold-soft);
  font-size: 0.86rem;
}

.page-hero__title {
  max-width: 960px;
  margin: 10px 0 0;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.15rem;
  font-weight: 500;
  line-height: 1.08;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.page-hero__title span {
  color: var(--gold-soft);
}

.page-hero__context {
  order: -1;
  margin-bottom: 4px;
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.68rem;
}

.hero__eyebrow,
.hero__title,
.hero__subtitle,
.hero__actions {
  animation: hero-content-in 0.72s ease both;
}

.hero__title {
  animation-delay: 0.08s;
}

.hero__subtitle {
  animation-delay: 0.16s;
}

.hero__actions {
  animation-delay: 0.24s;
}

@keyframes hero-content-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services {
  padding: 104px 0 106px;
  background:
    linear-gradient(180deg, var(--paper), rgba(244, 247, 243, 0.94));
}

.section-heading {
  max-width: 760px;
  margin: 0 0 40px;
}

.section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading p {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.85rem;
  font-weight: 500;
  line-height: 1.12;
}

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

.service-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(216, 226, 221, 0.82);
  border-radius: 6px;
  color: var(--paper);
  text-decoration: none;
  isolation: isolate;
  box-shadow: var(--shadow-soft);
  background: var(--green-deep);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(23, 58, 57, 0.08), rgba(23, 58, 57, 0.88)),
    linear-gradient(90deg, rgba(16, 31, 29, 0.72), rgba(16, 31, 29, 0.1));
}

.service-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.service-card:hover img {
  transform: scale(1.035);
  filter: saturate(0.96);
}

.service-card__body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 15px;
  max-width: 430px;
  padding: 34px;
}

.service-card__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.05rem;
  line-height: 1.05;
}

.service-card__text {
  color: rgba(255, 253, 248, 0.9);
}

.service-card__more {
  width: fit-content;
  min-height: 40px;
  padding: 0 16px;
  border-color: rgba(255, 253, 248, 0.7);
  background: transparent;
  color: var(--paper);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.service-card:hover .service-card__more {
  border-color: var(--gold-soft);
  background: rgba(255, 253, 248, 0.12);
}

.content-section {
  padding: 104px 0;
  background: var(--soft);
}

.split-layout,
.page-layout,
.contact-layout {
  display: grid;
  gap: 72px;
  align-items: start;
}

.split-layout {
  grid-template-columns: minmax(330px, 0.88fr) minmax(0, 1.12fr);
}

.page-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
}

.contact-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 410px);
}

.home-visual,
.featured-visual {
  margin: 0;
}

.home-visual,
.featured-visual,
.gallery-link {
  position: relative;
}

.home-visual::before,
.featured-visual::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: 0;
  border: 1px solid var(--gold-soft);
  border-radius: 6px;
}

.home-visual img,
.featured-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow-deep);
}

.featured-visual {
  position: sticky;
  top: 150px;
}

.rich-text {
  max-width: 820px;
}

.rich-text h1,
.rich-text h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.16;
}

.rich-text h1 {
  margin-bottom: 32px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  font-size: 3.35rem;
}

.rich-text h1 span {
  display: block;
  color: var(--green);
}

.rich-text h2 {
  margin: 40px 0 14px;
  font-size: 1.55rem;
  color: var(--green-deep);
}

.rich-text p {
  margin: 0 0 18px;
  text-align: justify;
}

.rich-text strong {
  color: var(--ink);
  font-weight: 800;
}

.rich-text ul {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.rich-text li {
  position: relative;
  padding-left: 28px;
}

.rich-text li::before {
  content: "";
  position: absolute;
  top: 0.76em;
  left: 2px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--paper);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 54px;
}

.gallery-link {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.gallery-link img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-link:hover img {
  transform: scale(1.025);
}

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

.contact-panel > div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 10px 28px rgba(23, 37, 34, 0.06);
}

.contact-panel h2,
.site-footer h2 {
  margin: 0 0 10px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 500;
}

.contact-panel p,
.site-footer p {
  margin: 0;
}

.contact-form-section {
  margin-top: 64px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.contact-form-heading {
  max-width: 760px;
}

.contact-form-heading__eyebrow {
  margin: 0 0 5px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form-heading h2 {
  margin: 0 0 12px;
  color: var(--green-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  font-weight: 500;
  line-height: 1.15;
}

.contact-form-heading p:last-child {
  margin: 0;
}

.contact-form {
  position: relative;
  max-width: 900px;
  margin-top: 32px;
}

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

.form-field {
  display: grid;
  align-content: start;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.form-field strong,
.form-consent strong {
  color: #9b342e;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #bccbc4;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  line-height: 1.45;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-field input {
  min-height: 50px;
  padding: 10px 13px;
}

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

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(59, 145, 166, 0.16);
  outline: none;
}

.form-field--full,
.form-consent,
.form-status,
.contact-form__submit {
  grid-column: 1 / -1;
}

.form-help {
  align-self: end;
  margin: 0 0 11px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 400;
}

.form-consent input {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin: 4px 0 0;
  accent-color: var(--green);
}

.form-status {
  min-height: 28px;
  margin: 20px 0 10px;
  font-weight: 700;
}

.form-status.is-success {
  color: #23643f;
}

.form-status.is-error {
  color: #9b342e;
}

.contact-form__submit {
  min-width: 230px;
  cursor: pointer;
}

.contact-form__submit:disabled {
  cursor: wait;
  opacity: 0.58;
}

.form-message {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 4px;
}

.form-message--error {
  border: 1px solid rgba(155, 52, 46, 0.25);
  background: rgba(155, 52, 46, 0.07);
  color: #7f2b27;
}

.map-frame {
  margin-top: 44px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 410px;
  border: 0;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  background:
    linear-gradient(90deg, rgba(23, 58, 57, 0.92), rgba(47, 95, 95, 0.72)),
    url("/assets/images/bg-boxes.jpg?v=20260624-premium") center / cover no-repeat;
  color: var(--paper);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 253, 248, 0.24);
  pointer-events: none;
}

.cta-band__link {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: inherit;
  text-align: center;
  text-decoration: none;
}

.cta-band__link span,
.cta-band__link strong {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}

.cta-band__link span {
  font-size: 3.4rem;
}

.cta-band__link strong {
  font-size: 2.05rem;
}

.cta-band__link em {
  min-height: 46px;
  margin-top: 18px;
  padding: 0 22px;
  border-color: rgba(255, 253, 248, 0.4);
  background: rgba(255, 253, 248, 0.12);
  color: var(--paper);
  font-size: 0.85rem;
  font-style: normal;
  text-transform: uppercase;
}

.cta-band__link:hover em {
  background: var(--paper);
  color: var(--green-deep);
}

.site-footer {
  padding: 72px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: 36px;
  align-items: start;
}

.footer-brand img {
  width: 168px;
  height: auto;
}

.site-footer .footer-legal {
  margin-top: 16px;
  font-size: 0.9rem;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: var(--green-deep);
  color: var(--paper);
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lightbox {
  width: min(1080px, calc(100vw - 36px));
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(12, 24, 23, 0.72);
}

.lightbox img {
  width: 100%;
  max-height: calc(100vh - 80px);
  object-fit: contain;
  border-radius: 6px;
  background: var(--paper);
}

.lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 253, 248, 0.94);
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
}

.reveal {
  --reveal-delay: 0ms;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.72s ease var(--reveal-delay),
    transform 0.72s ease var(--reveal-delay);
  will-change: opacity, transform;
}

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

.service-card.reveal,
.gallery-link.reveal,
.contact-panel > div.reveal {
  transform: translateY(34px) scale(0.985);
}

.service-card.reveal.is-visible,
.gallery-link.reveal.is-visible,
.contact-panel > div.reveal.is-visible {
  transform: translateY(0) scale(1);
}

@media (max-width: 1360px) {
  .nav-cta {
    display: none;
  }
}

@media (max-width: 1220px) {
  .nav-shell__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .site-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 22px;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(23, 37, 34, 0.12);
  }

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

  .site-menu a {
    padding: 13px 0;
    white-space: normal;
  }

  .site-menu a::after {
    bottom: 8px;
    right: auto;
    width: 54px;
  }

  .site-menu a::before {
    inset: 5px -10px;
  }

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

@media (max-width: 980px) {
  :root {
    --container: min(100vw - 36px, 1240px);
  }

  .top-strip__inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 8px 0;
    text-align: center;
  }

  .hero {
    min-height: 600px;
  }

  .hero__inner {
    max-width: 690px;
    padding: 92px 0 96px;
  }

  .hero__title {
    max-width: 660px;
    font-size: 3.15rem;
  }

  .hero__subtitle {
    max-width: 590px;
    font-size: 1.08rem;
  }

  .hero .button {
    min-width: min(340px, 100%);
    min-height: 60px;
    font-size: 0.95rem;
  }

  .service-grid,
  .split-layout,
  .page-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .split-layout,
  .page-layout,
  .contact-layout {
    gap: 48px;
  }

  .featured-visual {
    position: static;
    order: -1;
  }

  .home-visual::before,
  .featured-visual::before {
    inset: 14px -10px -14px 10px;
  }

  .rich-text h1 {
    font-size: 2.7rem;
  }

  .rich-text p {
    text-align: left;
  }

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

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 28px, 1240px);
  }

  body {
    font-size: 15.5px;
  }

  .contact-form-section {
    margin-top: 46px;
    padding: 28px 20px;
  }

  .contact-form-heading h2 {
    font-size: 1.95rem;
  }

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

  .form-field--full,
  .form-consent,
  .form-status,
  .contact-form__submit {
    grid-column: auto;
  }

  .form-help {
    margin: -10px 0 0;
  }

  .contact-form__submit {
    width: 100%;
  }

  .nav-shell__inner {
    min-height: 86px;
  }

  .brand {
    width: 178px;
  }

  .hero {
    min-height: 610px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(16, 31, 29, 0.62), rgba(16, 31, 29, 0.48)),
      linear-gradient(90deg, rgba(16, 31, 29, 0.78), rgba(16, 31, 29, 0.28));
  }

  .hero__inner {
    padding: 86px 0 82px;
  }

  .hero__eyebrow {
    margin-bottom: 14px;
    font-size: 0.84rem;
  }

  .hero__title {
    font-size: 2.22rem;
    line-height: 1.13;
  }

  .hero__subtitle {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.58;
  }

  .hero__actions {
    align-items: stretch;
    gap: 14px;
    margin-top: 28px;
  }

  .hero .button {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .hero__phone {
    width: 100%;
    text-align: center;
  }

  .page-hero__inner {
    min-height: 220px;
    padding: 44px 0 48px;
  }

  .page-hero__title {
    max-width: 760px;
    font-size: 2.55rem;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: 2.08rem;
  }

  .services,
  .content-section {
    padding: 64px 0;
  }

  .service-grid {
    gap: 18px;
  }

  .service-card {
    min-height: 340px;
  }

  .reveal {
    transform: translateY(22px);
    transition-duration: 0.58s;
  }

  .service-card.reveal,
  .gallery-link.reveal,
  .contact-panel > div.reveal {
    transform: translateY(24px) scale(0.99);
  }

  .service-card::before {
    background:
      linear-gradient(180deg, rgba(23, 58, 57, 0.24), rgba(23, 58, 57, 0.9)),
      linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.28));
  }

  .service-card__body {
    max-width: none;
    padding: 24px;
  }

  .service-card__title {
    font-size: 1.72rem;
  }

  .rich-text h1 {
    margin-bottom: 24px;
    padding-bottom: 20px;
    font-size: 2.12rem;
  }

  .rich-text h2 {
    margin-top: 30px;
    font-size: 1.34rem;
  }

  .home-visual::before,
  .featured-visual::before {
    display: none;
  }

  .home-visual img,
  .featured-visual img,
  .gallery-link,
  .map-frame,
  .contact-panel > div,
  .service-card {
    border-radius: 5px;
  }

  .cta-band {
    padding: 64px 0;
  }

  .cta-band::before {
    inset: 12px;
  }

  .cta-band__link span {
    font-size: 2.06rem;
  }

  .cta-band__link strong {
    font-size: 1.45rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer {
    padding: 52px 0 66px;
  }
}

@media (max-width: 390px) {
  .brand {
    width: 158px;
  }

  .hero__title {
    font-size: 1.96rem;
  }

  .hero .button {
    font-size: 0.84rem;
  }
}

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

  .hero__slide {
    animation: none !important;
    opacity: 0;
    transform: none;
  }

  .hero__slide:first-child {
    opacity: 1;
  }

  .hero__eyebrow,
  .hero__title,
  .hero__subtitle,
  .hero__actions,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}
