:root {
  --green-950: #0c2b20;
  --green-900: #123a2b;
  --green-800: #18523b;
  --green-700: #226e4d;
  --green-100: #e8f0e8;
  --sage-50: #f4f6f0;
  --cream: #fbfaf5;
  --white: #fff;
  --ink: #1c2923;
  --muted: #5d6962;
  --line: #dfe5dd;
  --yellow: #f2df12;
  --shadow: 0 18px 48px rgba(18, 58, 43, 0.11);
  --radius: 22px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

h1,
h2,
h3 {
  color: var(--green-950);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 4.3vw, 4rem);
  max-width: 900px;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--green-950);
  border-radius: 8px;
  transform: translateY(-150%);
}

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

.contact-bar {
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(90deg, #0b6841 0%, #14794a 55%, #1b8250 100%);
  font-size: 0.85rem;
}

.contact-bar__inner,
.contact-bar__links,
.site-header__inner,
.site-footer__inner {
  display: flex;
  align-items: center;
}

.contact-bar__inner {
  min-height: 38px;
  justify-content: space-between;
  gap: 24px;
}

.contact-bar p {
  margin: 0;
}

.contact-bar__links {
  gap: 22px;
}

.contact-bar a {
  text-decoration: none;
}

.contact-bar a:hover {
  color: var(--white);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(251, 250, 245, 0.96);
  border-bottom: 1px solid rgba(28, 41, 35, 0.08);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  position: relative;
  min-height: 82px;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  flex: 0 1 265px;
}

.brand img {
  width: min(100%, 265px);
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.91rem;
  font-weight: 650;
}

.desktop-nav > a:not(.button) {
  position: relative;
  text-decoration: none;
}

.desktop-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--green-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  color: var(--green-950);
  background: var(--yellow);
  border: 1px solid var(--yellow);
  border-radius: 999px;
  font-weight: 750;
  line-height: 1.15;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  background: #ffeb17;
  border-color: #ffeb17;
  transform: translateY(-2px);
}

.button--small {
  min-height: 40px;
  padding: 9px 17px;
}

.button--ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.65);
}

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

.button--light {
  margin-top: 24px;
  color: var(--green-950) !important;
  background: var(--white);
  border-color: var(--white);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(720px, calc(100vh - 80px));
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--green-950) url("../images/hero/hero-flowers.jpg") center 48% / cover no-repeat;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 30, 20, 0.68) 0%, rgba(7, 30, 20, 0.42) 48%, rgba(7, 30, 20, 0.06) 100%),
    linear-gradient(0deg, rgba(7, 30, 20, 0.28) 0%, transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: 100px 150px;
}

/* Animowane logo w hero. Dwie osobne powierzchnie tworzą lekką monetę 3D dla Safari. */
.hero-logo-reveal {
  position: absolute;
  z-index: 2;
  top: auto;
  right: clamp(30px, 5vw, 72px);
  bottom: clamp(105px, 14vh, 135px);
  width: clamp(185px, 18vw, 225px);
  aspect-ratio: 1;
  -webkit-perspective: 1100px;
  perspective: 1100px;
  transform-origin: center;
  will-change: transform, opacity;
  animation: hero-logo-flight 3.25s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes hero-logo-flight {
  0% {
    opacity: 0;
    transform: scale(0.45);
  }

  10% {
    opacity: 1;
  }

  66% {
    opacity: 1;
    transform: scale(1.24);
  }

  80% {
    transform: scale(0.97);
  }

  91% {
    transform: scale(1.07);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-logo-coin {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  will-change: transform;
  animation: hero-logo-spin-3d 3.25s linear both;
}

.hero-logo-coin__face {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero-logo-coin__face--front {
  transform: translateZ(1px);
}

.hero-logo-coin__face--back {
  transform: rotateY(180deg) translateZ(1px);
}

@keyframes hero-logo-spin-3d {
  0% {
    transform: translateZ(0) rotateY(-1260deg);
    animation-timing-function: cubic-bezier(0.45, 0, 0.8, 0.35);
  }

  66% {
    transform: translateZ(0) rotateY(-360deg);
    animation-timing-function: cubic-bezier(0.12, 0.65, 0.25, 1);
  }

  88% {
    transform: translateZ(0) rotateY(0);
  }

  100% {
    transform: translateZ(0) rotateY(0);
  }
}

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

.hero__lead {
  max-width: 670px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: var(--yellow);
}

.stats {
  position: relative;
  z-index: 2;
  margin-top: -70px;
}

.stats__grid {
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stats__grid > div {
  display: flex;
  min-height: 140px;
  align-items: center;
  justify-content: center;
  padding: 24px 34px;
  gap: 18px;
}

.stats__grid > div + div {
  border-left: 1px solid var(--line);
}

.stats strong {
  color: var(--green-800);
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  line-height: 1;
}

.stats span {
  max-width: 125px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.35;
}

.section {
  padding-block: clamp(78px, 10vw, 128px);
}

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

.image-divider {
  position: relative;
  height: clamp(180px, 18vw, 250px);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-block: 1px solid rgba(12, 43, 32, 0.12);
}

.image-divider::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(12, 43, 32, 0.12);
}

.image-divider--canopy {
  background-image: url("../images/backgrounds/canopy-enhanced.jpg");
  background-position: center 58%;
}

.image-divider--avenue {
  background-image: url("../images/backgrounds/avenue-enhanced.jpg");
  background-position: center 52%;
}

.about-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: clamp(50px, 8vw, 110px);
}

.about-copy .lead {
  color: var(--green-800);
  font-size: 1.25rem;
  font-weight: 650;
}

.about-copy p:not(.eyebrow) {
  max-width: 760px;
}

.about-card {
  padding: clamp(28px, 5vw, 48px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-card > img {
  width: min(70%, 245px);
  margin: 0 auto 32px;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 650;
  line-height: 1.45;
}

.check-list li::before {
  position: absolute;
  top: 0.35em;
  left: 0;
  width: 17px;
  height: 17px;
  content: "";
  background: var(--yellow);
  border: 5px solid var(--green-800);
  border-radius: 50%;
}

.section-heading {
  display: grid;
  align-items: end;
  margin-bottom: clamp(42px, 7vw, 72px);
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.section-heading > p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.offer-card {
  display: grid;
  min-height: 290px;
  align-items: start;
  padding: clamp(28px, 4vw, 42px);
  grid-template-columns: 120px 1fr;
  gap: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.offer-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.offer-card img {
  width: 120px;
  background: var(--white);
  border: 4px solid var(--white);
  box-shadow: 0 8px 24px rgba(18, 58, 43, 0.12);
}

.offer-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.quality {
  position: relative;
  padding-block: clamp(48px, 5vw, 62px);
  color: rgba(255, 255, 255, 0.83);
  background: var(--green-900) url("../images/backgrounds/rowan-enhanced.jpg") center 44% / cover fixed no-repeat;
  isolation: isolate;
}

.quality::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: rgba(7, 30, 20, 0.63);
}

.quality__grid {
  display: block;
}

.quality__copy {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.72fr) minmax(0, 1.2fr);
  grid-template-rows: auto 1fr;
  gap: 0 clamp(28px, 3.5vw, 52px);
  text-shadow: 0 1px 3px rgba(7, 30, 20, 0.35);
}

.quality__copy .eyebrow {
  align-self: end;
  margin-bottom: 14px;
  grid-column: 1;
  grid-row: 1;
}

.quality h2 {
  align-self: start;
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(2rem, 2.6vw, 2.4rem);
  grid-column: 1;
  grid-row: 2;
}

.quality__copy > p:not(.eyebrow) {
  align-self: start;
  margin: 0;
  grid-column: 2;
  grid-row: 2;
}

.quality ul {
  display: grid;
  margin: 0;
  padding: 0;
  grid-column: 3;
  grid-row: 1 / 3;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 26px;
  list-style: none;
}

.quality li {
  position: relative;
  padding-left: 26px;
}

.quality li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--yellow);
  border-radius: 50%;
}

.gallery-mosaic {
  position: relative;
  display: grid;
  padding-block: 26px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  min-height: 255px;
  aspect-ratio: 16 / 9;
  padding: 0;
  color: var(--white);
  background: var(--green-900);
  border: 0;
  border-radius: 24px;
  box-shadow: 0 12px 34px rgba(12, 43, 32, 0.14);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.gallery-tile::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 35%, rgba(7, 30, 20, 0.88) 100%);
}

.gallery-tile:hover {
  box-shadow: 0 20px 42px rgba(12, 43, 32, 0.2);
  transform: translateY(-4px);
}

.gallery-tile > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.gallery-tile:hover > img {
  transform: scale(1.035);
}

.gallery-tile__action {
  position: absolute;
  z-index: 2;
  top: 18px;
  display: block;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(7, 30, 20, 0.22);
  backdrop-filter: blur(7px);
  transition: background 180ms ease, transform 180ms ease;
}

.gallery-tile:nth-child(odd) .gallery-tile__action {
  left: 18px;
}

.gallery-tile:nth-child(even) .gallery-tile__action {
  right: 18px;
}

.gallery-tile__action::before {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 21px;
  height: 21px;
  content: "";
  border: 3px solid var(--green-900);
  border-radius: 50%;
}

.gallery-tile__action::after {
  position: absolute;
  top: 29px;
  left: 28px;
  width: 14px;
  height: 3px;
  content: "";
  background: var(--green-900);
  border-radius: 999px;
  transform: rotate(45deg);
  transform-origin: left center;
}

.gallery-tile:hover .gallery-tile__action {
  background: var(--yellow);
  transform: scale(1.08);
}

.gallery-tile__label {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: grid;
  gap: 2px;
}

.gallery-tile__label strong {
  color: var(--white);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.2;
}

.gallery-tile:nth-child(odd) .gallery-tile__label {
  right: 30%;
}

.gallery-tile:nth-child(even) .gallery-tile__label {
  left: 30%;
  text-align: right;
}

.gallery-mosaic__brand {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 230px;
  height: 230px;
  padding: 20px;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 18px 48px rgba(12, 43, 32, 0.2);
  transform: translate(-50%, -50%);
}

.gallery-mosaic__brand img {
  width: 100%;
  height: auto;
}

.gallery-lightbox {
  width: min(calc(100% - 28px), 1180px);
  max-width: none;
  max-height: calc(100dvh - 28px);
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(145deg, #1d7a52 0%, #135f42 100%);
  border: 0;
  border-radius: 20px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.gallery-lightbox::backdrop {
  background: rgba(5, 17, 12, 0.86);
  backdrop-filter: blur(4px);
}

.gallery-lightbox__panel {
  display: grid;
  max-height: calc(100dvh - 28px);
  grid-template-rows: auto minmax(0, 1fr);
}

.gallery-lightbox__header {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 12px 24px;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.gallery-lightbox__header p,
.gallery-lightbox__header span {
  margin: 0;
}

.gallery-lightbox__header p {
  color: var(--white);
  font-weight: 750;
  line-height: 1.3;
}

.gallery-lightbox__counter {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.gallery-lightbox__close,
.gallery-lightbox__arrow {
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  font: inherit;
  line-height: 1;
  transition: background 160ms ease, transform 160ms ease;
}

.gallery-lightbox__close {
  font-size: 2rem;
  font-weight: 300;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__arrow:hover {
  background: var(--green-700);
  transform: scale(1.04);
}

.gallery-lightbox__stage {
  position: relative;
  display: grid;
  min-height: 0;
  padding: 20px 78px 26px;
  place-items: center;
}

.gallery-lightbox__stage figure {
  display: grid;
  width: 100%;
  min-height: 0;
  margin: 0;
  place-items: center;
}

.gallery-lightbox__image {
  width: auto;
  max-width: 100%;
  max-height: calc(100dvh - 145px);
  object-fit: contain;
  border-radius: 10px;
}

.gallery-lightbox__arrow {
  position: absolute;
  z-index: 1;
  top: 50%;
  width: 54px;
  height: 54px;
  font-size: 2.8rem;
  transform: translateY(-50%);
}

.gallery-lightbox__arrow:hover {
  transform: translateY(-50%) scale(1.04);
}

.gallery-lightbox__arrow--previous {
  left: 14px;
}

.gallery-lightbox__arrow--next {
  right: 14px;
}

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

.document-card {
  display: grid;
  align-items: center;
  padding: 32px;
  grid-template-columns: 130px 1fr;
  gap: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.document-card > img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(18, 58, 43, 0.12));
}

.document-card__meta {
  margin-bottom: 8px;
  color: var(--green-700);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.document-card p:not(.document-card__meta) {
  color: var(--muted);
}

#poradniki {
  padding-bottom: clamp(46px, 4.3vw, 58px);
}

.text-link {
  color: var(--green-800);
  font-weight: 750;
  text-decoration-color: rgba(24, 82, 59, 0.35);
}

.text-link:hover {
  text-decoration-color: var(--green-800);
}

.advice-list,
.terms-list {
  display: grid;
  gap: 12px;
}

.advice-list details,
.terms-list details {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.advice-list summary,
.terms-list summary {
  position: relative;
  padding: 22px 62px 22px 25px;
  color: var(--green-950);
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}

.advice-list summary::-webkit-details-marker,
.terms-list summary::-webkit-details-marker {
  display: none;
}

.advice-list summary::after,
.terms-list summary::after {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 28px;
  height: 28px;
  content: "+";
  color: var(--white);
  background: var(--green-800);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 450;
  line-height: 26px;
  text-align: center;
  transform: translateY(-50%);
}

.advice-list details[open] summary::after,
.terms-list details[open] summary::after {
  content: "−";
}

.advice-content,
.terms-list details > div {
  padding: 0 25px 28px;
  color: var(--muted);
}

.advice-content--with-image {
  display: grid;
  align-items: start;
  grid-template-columns: 1fr 220px;
  gap: 46px;
}

.advice-content--with-image img {
  width: 100%;
  border-radius: 12px;
}

.terms {
  padding-top: clamp(46px, 4.3vw, 58px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.terms__grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(50px, 8vw, 110px);
}

.terms__intro {
  position: sticky;
  top: 120px;
}

.terms__intro p:last-child {
  color: var(--muted);
}

.terms-list details {
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.terms-list summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.terms-list details[open] summary {
  border-color: var(--green-700);
  box-shadow: 0 0 0 1px var(--green-700);
}

.terms-list details > div {
  margin-top: 8px;
  padding: 22px 25px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.terms-list details > div > :last-child {
  margin-bottom: 0;
}

.contact {
  position: relative;
  overflow: hidden;
  padding-block: clamp(54px, 5vw, 68px);
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 12% 12%, rgba(163, 205, 103, 0.2), transparent 34%),
    linear-gradient(135deg, #1c7b50 0%, #126343 58%, #0c5138 100%);
}

.contact::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 48%;
  content: "";
  background: var(--green-100);
  clip-path: polygon(17.25% 0, 100% 0, 100% 100%, 0 100%);
}

.contact__heading {
  max-width: 590px;
  margin-bottom: 22px;
}

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

.contact h2 {
  font-size: clamp(1.85rem, 2.4vw, 2.3rem);
}

.contact h3 {
  font-size: clamp(1.08rem, 1.55vw, 1.32rem);
}

.contact .eyebrow {
  color: var(--yellow);
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 1.15fr) minmax(450px, 0.85fr);
  gap: clamp(48px, 4vw, 60px);
}

.contact-details {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(18px, 1.7vw, 22px);
  color: var(--ink);
  background: linear-gradient(145deg, #dcebd5, #c3ddc2);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(6, 55, 37, 0.18);
  font-size: 0.86rem;
  line-height: 1.48;
}

.contact-card--primary {
  position: relative;
  background: linear-gradient(145deg, #b8dfd1, #91c8b4);
}

.contact-card + .contact-card {
  padding-left: clamp(18px, 1.7vw, 22px);
}

.contact-card address {
  margin-bottom: 12px;
  font-style: normal;
}

.contact-card > a:not(.button):not(.text-link) {
  color: var(--green-800);
  text-decoration-color: rgba(24, 82, 59, 0.32);
}

.contact-card > p {
  margin-bottom: 7px;
}

.contact-card dl {
  width: 100%;
  margin: 0 0 13px;
}

.contact-card dl > div {
  padding-block: 6px;
  border-bottom: 1px solid rgba(24, 82, 59, 0.14);
}

.contact-card dt {
  color: var(--green-700);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card dd {
  margin: 4px 0 0;
  color: var(--ink);
}

.contact-card h3 {
  color: var(--green-950);
}

.contact-card .text-link {
  margin-top: auto;
  color: var(--yellow);
  text-decoration-color: rgba(242, 223, 18, 0.4);
}

.contact-card .social-link {
  display: grid;
  width: 32px;
  height: 32px;
  margin-top: 28px;
  overflow: hidden;
  place-items: center;
  background: var(--white);
  border-radius: 50%;
  text-decoration: none;
  transition: transform 180ms ease;
}

.contact-card .social-link img {
  width: 100%;
  height: 100%;
}

.contact-card .social-link:hover {
  transform: translateY(-2px);
}

.contact-card .button {
  min-height: 42px;
  margin-top: 14px;
  padding: 9px 17px;
  font-size: 0.82rem;
}

.contact-map {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  align-self: center;
  background: var(--white);
  border: 6px solid rgba(255, 255, 255, 0.86);
  border-radius: 20px;
  box-shadow: 0 22px 54px rgba(12, 43, 32, 0.2);
}

.contact-map iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  color: var(--muted);
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  min-height: 120px;
  justify-content: space-between;
  gap: 30px;
  font-size: 0.88rem;
}

.site-footer img {
  width: 205px;
  height: auto;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--green-800);
  font-weight: 700;
}

@media (max-width: 1020px) {
  .desktop-nav {
    gap: 14px;
  }

  .desktop-nav a:not(.button) {
    font-size: 0.83rem;
  }

  .offer-card {
    grid-template-columns: 90px 1fr;
  }

  .offer-card img {
    width: 90px;
  }

  .documents-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-map {
    min-height: 430px;
  }

  .contact::before {
    top: 49%;
    left: 0;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
  }

  .contact-card {
    min-height: auto;
  }
}

@media (max-width: 950px) {
  html {
    scroll-padding-top: 80px;
  }

  .contact-bar__inner {
    justify-content: center;
  }

  .contact-bar__inner > p {
    display: none;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .mobile-nav:not([open]) nav {
    display: none;
  }

  .mobile-nav > summary {
    display: grid;
    width: 46px;
    height: 46px;
    place-content: center;
    gap: 5px;
    cursor: pointer;
    background: var(--green-100);
    border-radius: 50%;
    list-style: none;
  }

  .mobile-nav > summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav > summary span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--green-900);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .mobile-nav[open] > summary span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-nav[open] > summary span:nth-child(2) {
    opacity: 0;
  }

  .mobile-nav[open] > summary span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-nav nav {
    position: absolute;
    top: calc(100% - 4px);
    right: 0;
    left: 0;
    display: grid;
    padding: 16px 20px 22px;
    gap: 4px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 0 0 18px 18px;
    box-shadow: var(--shadow);
  }

  .mobile-nav nav a {
    padding: 10px 12px;
    font-weight: 700;
    text-decoration: none;
  }

  .hero {
    min-height: 650px;
    background-position: 60% center;
  }

  .hero__lead {
    max-width: 520px;
  }

  .hero-logo-reveal {
    right: clamp(28px, 5vw, 42px);
    bottom: 72px;
    width: clamp(145px, 20vw, 165px);
  }

  .hero__shade {
    background: rgba(7, 30, 20, 0.58);
  }

  .image-divider {
    height: 150px;
    background-attachment: scroll;
  }

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

  .stats__grid > div {
    min-height: 105px;
  }

  .stats__grid > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .stats span {
    max-width: 170px;
  }

  .about-grid,
  .quality__grid,
  .terms__grid {
    grid-template-columns: 1fr;
  }

  .about-card {
    display: grid;
    align-items: center;
    grid-template-columns: 180px 1fr;
    gap: 30px;
  }

  .about-card > img {
    width: 100%;
    margin: 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .quality {
    background-attachment: scroll;
  }

  .quality::before {
    background: rgba(7, 30, 20, 0.65);
  }

  .quality__copy {
    display: block;
  }

  .quality__copy .eyebrow {
    margin-bottom: 14px;
  }

  .quality h2 {
    margin-bottom: 24px;
  }

  .quality__copy > p:not(.eyebrow) {
    margin-bottom: 24px;
  }

  .quality ul {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-mosaic {
    gap: 20px 48px;
  }

  .gallery-tile {
    min-height: 0;
  }

  .gallery-mosaic__brand {
    width: 180px;
    height: 180px;
    padding: 16px;
  }

  .terms__intro {
    position: static;
  }
}

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

  .contact-bar__links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.77rem;
  }

  .site-header__inner {
    min-height: 72px;
  }

  .brand {
    flex-basis: 225px;
  }

  .hero {
    min-height: 660px;
  }

  .hero__content {
    padding-block: 72px 180px;
  }

  .hero__lead {
    max-width: none;
  }

  .hero-logo-reveal {
    right: 0;
    bottom: 64px;
    left: 0;
    width: 112px;
    margin-inline: auto;
  }

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

  .hero__actions .button {
    width: 100%;
  }

  .stats {
    margin-top: -58px;
  }

  .stats__grid > div {
    justify-content: flex-start;
    padding-inline: 28px;
  }

  .about-card {
    grid-template-columns: 1fr;
  }

  .about-card > img {
    width: 165px;
  }

  .offer-card {
    grid-template-columns: 1fr;
  }

  .offer-card img {
    width: 105px;
  }

  .gallery-mosaic {
    padding-top: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gallery-tile {
    min-width: 0;
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }

  .gallery-tile__label {
    right: 14px;
    bottom: 14px;
    left: 14px;
    text-align: left;
  }

  .gallery-tile:nth-child(odd) .gallery-tile__label,
  .gallery-tile:nth-child(even) .gallery-tile__label {
    right: 14px;
    left: 14px;
    text-align: left;
  }

  .gallery-tile__label strong {
    font-size: 1rem;
  }

  .gallery-mosaic__brand {
    position: static;
    width: 132px;
    height: 132px;
    margin: 0 auto 6px;
    padding: 11px;
    grid-column: 1 / -1;
    grid-row: 1;
    order: -1;
    transform: none;
  }

  .gallery-lightbox {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 14px;
  }

  .gallery-lightbox__panel {
    max-height: calc(100dvh - 16px);
  }

  .gallery-lightbox__header {
    min-height: 62px;
    padding: 9px 9px 9px 16px;
  }

  .gallery-lightbox__close {
    width: 44px;
    height: 44px;
  }

  .gallery-lightbox__stage {
    padding: 14px 52px 20px;
  }

  .gallery-lightbox__image {
    max-height: calc(100dvh - 120px);
  }

  .gallery-lightbox__arrow {
    width: 44px;
    height: 52px;
    font-size: 2.25rem;
  }

  .gallery-lightbox__arrow--previous {
    left: 4px;
  }

  .gallery-lightbox__arrow--next {
    right: 4px;
  }

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

  .contact-map {
    min-height: 330px;
    border-width: 5px;
  }

  .document-card {
    align-items: start;
    padding: 24px;
    grid-template-columns: 90px 1fr;
    gap: 20px;
  }

  .advice-content--with-image {
    grid-template-columns: 1fr;
  }

  .advice-content--with-image img {
    width: min(100%, 240px);
    margin-inline: auto;
  }

  .site-footer__inner {
    flex-direction: column;
    justify-content: center;
    padding-block: 28px;
    gap: 15px;
    text-align: center;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .image-divider {
    background-attachment: scroll;
  }

  .quality {
    background-attachment: scroll;
  }
}
