@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Yaldevi";
  src: url("../fonts/yaldevi-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Yaldevi";
  src: url("../fonts/yaldevi-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --green: #2b3d30;
  --green-dark: #17261f;
  --green-soft: #e9eee9;
  --gold: #f2a900;
  --gold-dark: #c98900;
  --cream: #f6f5f1;
  --white: #ffffff;
  --ink: #17211b;
  --muted: #5e6861;
  --line: #dce2dd;
  --danger: #a52525;
  --success: #28623b;
  --shadow: 0 18px 45px rgba(23, 38, 31, 0.12);
  --radius: 18px;
  --content: 1240px;
  --header-height: 92px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

a:hover {
  color: var(--gold-dark);
}

button,
input,
textarea {
  font: inherit;
}

button,
.button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.75rem;
  color: var(--green);
  font-family: "Yaldevi", "Roboto", sans-serif;
  font-weight: 600;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.65rem, 6vw, 5.6rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1.25rem;
}

ul,
ol {
  margin-top: 0;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

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

.section {
  padding: clamp(72px, 9vw, 120px) 0;
}

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

.section--green {
  color: rgba(255, 255, 255, 0.86);
  background: var(--green);
}

.section--green h2,
.section--green h3 {
  color: var(--white);
}

/* Svijetla informativna kućica unutar tamne sekcije mora zadržati
   vlastite tamne boje teksta radi čitljivosti. */
.section--green .info-box {
  color: var(--ink);
}

.section--green .info-box h3 {
  color: var(--green);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 3px;
  content: "";
  background: var(--gold);
}

.section--green .eyebrow {
  color: #ffd576;
}

.lead {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
}

.section--green .lead {
  color: rgba(255, 255, 255, 0.78);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.35rem;
  border: 2px solid var(--gold);
  border-radius: 8px;
  color: var(--green-dark);
  background: var(--gold);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  color: var(--green-dark);
  background: #ffc13a;
  border-color: #ffc13a;
  transform: translateY(-2px);
}

.button--outline {
  color: var(--green);
  background: transparent;
  border-color: var(--green);
}

.button--outline:hover {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.button--light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
  background: transparent;
}

.button--light:hover {
  color: var(--green-dark);
  background: var(--white);
  border-color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(43, 61, 48, 0.09);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(23, 38, 31, 0.11);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  position: relative;
  z-index: 1002;
  flex: 0 0 auto;
}

.brand img {
  width: 250px;
  max-height: 58px;
  object-fit: contain;
}

.site-nav,
.nav-list {
  display: flex;
  align-items: center;
}

.nav-list {
  margin: 0;
  padding: 0;
  gap: 0.2rem;
  list-style: none;
}

.nav-list > li {
  position: relative;
}

.nav-list a,
.submenu-toggle {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.72rem;
  color: var(--green-dark);
  background: none;
  border: 0;
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a[aria-current="page"],
.submenu-toggle:hover {
  color: var(--gold-dark);
}

.submenu-toggle::after {
  width: 7px;
  height: 7px;
  content: "";
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.submenu {
  position: absolute;
  /* Podizbornik dodiruje stavku izbornika kako pokazivač ne bi prošao
     kroz prazninu i zatvorio ga pri pomicanju prema dolje. */
  top: 100%;
  left: 0;
  width: 245px;
  margin: 0;
  padding: 0.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.submenu a {
  min-height: 42px;
  border-radius: 7px;
  white-space: normal;
}

.submenu a:hover,
.submenu a[aria-current="page"] {
  color: var(--green-dark);
  background: var(--green-soft);
}

.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-toggle {
  position: relative;
  z-index: 1002;
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 0;
  border-radius: 9px;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  position: absolute;
  width: 23px;
  height: 2px;
  content: "";
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle::before {
  transform: translateY(-7px);
}

.menu-toggle::after {
  transform: translateY(7px);
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: rotate(-45deg);
}

.hero {
  display: grid;
  min-height: min(760px, calc(100svh - var(--header-height)));
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--cream);
}

.hero-content {
  display: flex;
  align-items: center;
  padding: clamp(70px, 9vw, 130px) max(30px, calc((100vw - var(--content)) / 2));
  padding-right: clamp(45px, 7vw, 110px);
}

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

.hero h1 {
  max-width: 710px;
}

.hero .lead {
  margin-bottom: 2rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-media {
  min-height: 520px;
  overflow: hidden;
}

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

.trust-strip {
  color: var(--white);
  background: var(--green);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  padding: 2.1rem 2.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--gold);
  font-family: "Yaldevi", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.section-heading > div {
  max-width: 780px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(23, 38, 31, 0.06);
}

.card-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.card:hover .card-media img {
  transform: scale(1.035);
}

.card-content {
  padding: 1.55rem;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
}

.split--reverse .split-media {
  order: 2;
}

.split-media img {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  margin: 1.8rem 0 2.1rem;
  padding: 0;
  gap: 0.8rem;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
}

.check-list li::before {
  position: absolute;
  top: 0.06rem;
  left: 0;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--green-dark);
  background: var(--gold);
  border-radius: 50%;
  content: "✓";
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1.35rem;
  text-align: center;
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.photo-label {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.photo-label img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.photo-label span {
  position: absolute;
  bottom: 15px;
  left: 15px;
  padding: 0.42rem 0.8rem;
  color: var(--white);
  background: rgba(23, 38, 31, 0.88);
  border-radius: 6px;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(42px, 6vw, 72px);
  color: rgba(255, 255, 255, 0.82);
  background: var(--green);
  border-radius: var(--radius);
}

.cta-band h2 {
  max-width: 800px;
  color: var(--white);
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 500px;
  place-items: end start;
  overflow: hidden;
  color: var(--white);
  background: var(--green-dark);
}

.page-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(17, 31, 24, 0.93) 0%, rgba(17, 31, 24, 0.72) 44%, rgba(17, 31, 24, 0.2) 100%);
}

.page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding-block: clamp(70px, 10vw, 120px);
}

.page-hero h1 {
  color: var(--white);
}

.page-hero p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
  align-items: start;
  gap: clamp(40px, 8vw, 100px);
}

.prose > *:last-child {
  margin-bottom: 0;
}

.prose h2:not(:first-child),
.prose h3:not(:first-child) {
  margin-top: 2.4rem;
}

.info-box {
  padding: 2rem;
  background: var(--cream);
  border-top: 5px solid var(--gold);
  border-radius: 0 0 14px 14px;
}

.info-box ul {
  margin-bottom: 0;
  padding-left: 1.1rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.gallery a {
  overflow: hidden;
  border-radius: 14px;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 300ms ease;
}

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

.apartments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.apartment-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.apartment-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 1.3rem;
  object-fit: contain;
  background: #f0f0ed;
  border-radius: 10px;
}

.apartment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.notice {
  padding: 1.2rem 1.35rem;
  color: #624800;
  background: #fff5d9;
  border-left: 4px solid var(--gold);
  border-radius: 6px;
}

.partners {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 1rem;
}

.partner {
  display: grid;
  min-height: 130px;
  place-items: center;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.partner img {
  max-width: 170px;
  max-height: 76px;
  object-fit: contain;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(520px, 1.2fr);
  align-items: start;
  column-gap: clamp(56px, 8vw, 110px);
  row-gap: 64px;
}

.contact-intro,
.contact-grid .form-card {
  min-width: 0;
}

.contact-details {
  display: grid;
  gap: 1rem;
}

.contact-item {
  padding: 1.25rem;
  background: var(--cream);
  border-radius: 10px;
}

.contact-item span {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-item a {
  font-weight: 700;
}

.form-card {
  margin: 0;
  padding: clamp(24px, 5vw, 52px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.field {
  margin-bottom: 1.15rem;
}

.field label,
.fieldset-label,
fieldset legend {
  display: block;
  margin-bottom: 0.42rem;
  color: var(--green-dark);
  font-size: 0.94rem;
  font-weight: 800;
}

.required {
  color: var(--danger);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 0.78rem 0.9rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #b9c1bb;
  border-radius: 7px;
}

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

input:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(43, 61, 48, 0.14);
  outline: none;
}

fieldset {
  margin: 0 0 1.15rem;
  padding: 0;
  border: 0;
}

.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1rem;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.choice input {
  width: 18px;
  height: 18px;
  margin-top: 0.22rem;
  accent-color: var(--green);
}

.form-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.form-status {
  display: none;
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 8px;
  font-weight: 700;
}

.form-status.is-visible {
  display: block;
}

.form-status--success {
  color: #174d2b;
  background: #e2f3e7;
  border: 1px solid #abd0b5;
}

.form-status--error {
  color: #7a1e1e;
  background: #fae5e5;
  border: 1px solid #e1b3b3;
}

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

dialog {
  width: min(94vw, 1100px);
  max-height: 92vh;
  padding: 0;
  background: transparent;
  border: 0;
}

dialog::backdrop {
  background: rgba(9, 15, 12, 0.88);
}

.lightbox-inner {
  position: relative;
  display: grid;
  place-items: center;
}

.lightbox-inner img {
  max-height: 88vh;
  background: var(--white);
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: rgba(23, 38, 31, 0.88);
  border: 0;
  border-radius: 50%;
  font-size: 1.5rem;
}

.site-footer {
  padding-top: 70px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--green-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(30px, 7vw, 90px);
  padding-bottom: 56px;
}

.footer-brand img {
  width: 270px;
  max-width: 100%;
  margin-bottom: 1.25rem;
  padding: 0.7rem;
  background: var(--white);
  border-radius: 8px;
}

.footer-brand p {
  max-width: 490px;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1.2rem;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.52rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.footer-bottom p {
  margin: 0;
}

.legal-content {
  max-width: 860px;
}

.legal-content h2 {
  margin-top: 2.4rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.error-page {
  display: grid;
  min-height: calc(100vh - var(--header-height));
  place-items: center;
  padding: 70px 0;
  text-align: center;
  background: var(--cream);
}

.error-page .lead {
  margin-inline: auto;
}

.error-code {
  display: block;
  color: var(--gold);
  font-family: "Yaldevi", sans-serif;
  font-size: clamp(5rem, 18vw, 12rem);
  font-weight: 700;
  line-height: 0.82;
}

@media (max-width: 1080px) {
  :root {
    --header-height: 80px;
  }

  .brand img {
    width: 220px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 1001;
    display: block;
    padding: 26px max(20px, calc((100vw - var(--content)) / 2));
    overflow-y: auto;
    color: var(--white);
    background: var(--green-dark);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-list {
    display: block;
  }

  .nav-list a,
  .submenu-toggle {
    width: 100%;
    min-height: 52px;
    justify-content: space-between;
    padding: 0.7rem 0.25rem;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 1.08rem;
    text-align: left;
  }

  .nav-list a:hover,
  .nav-list a[aria-current="page"],
  .submenu-toggle:hover {
    color: var(--gold);
  }

  .submenu {
    position: static;
    display: none;
    width: 100%;
    padding: 0 0 0 1rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .has-submenu.is-open .submenu {
    display: block;
  }

  .has-submenu.is-open .submenu-toggle::after {
    transform: translateY(2px) rotate(225deg);
  }

  .submenu a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.98rem;
  }

  .submenu a:hover,
  .submenu a[aria-current="page"] {
    color: var(--gold);
    background: transparent;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 80px max(20px, calc((100vw - var(--content)) / 2));
  }

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

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

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

  .contact-grid {
    grid-template-columns: minmax(280px, 0.85fr) minmax(440px, 1.15fr);
    column-gap: 48px;
  }
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    row-gap: 72px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 30px), var(--content));
  }

  .section {
    padding: 64px 0;
  }

  .brand img {
    width: 190px;
  }

  .hero-content {
    padding: 64px 22px;
  }

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

  .stats,
  .cards,
  .split,
  .content-grid,
  .apartments,
  .partners,
  .footer-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    row-gap: 72px;
  }

  .stat {
    padding: 1.5rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading .button {
    margin-top: 1rem;
  }

  .split--reverse .split-media {
    order: initial;
  }

  .split-media img {
    min-height: 320px;
  }

  .before-after,
  .gallery,
  .form-row,
  .choices {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 430px;
  }

  .page-hero::after {
    background: linear-gradient(90deg, rgba(17, 31, 24, 0.92), rgba(17, 31, 24, 0.55));
  }

  .cta-band {
    padding: 34px 24px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

@media print {
  .site-header,
  .site-footer,
  .button,
  .menu-toggle {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .page-hero {
    min-height: auto;
  }
}
