/* =============================================================================
   Port Drzewny — landing page
   Design tokens pobrane z identyfikacji wizualnej marki (logotyp):
   zieleń, błękit wody, ciepła biel, naturalne piaski i drewno.
   ============================================================================ */

:root {
  /* Kolory marki */
  --color-primary: #6f9a2e;        /* zieleń z logotypu */
  --color-primary-dark: #59801f;
  --color-accent: #78b4d8;         /* błękit wody z logotypu */

  --color-background: #ffffff;
  --color-background-alt: #f4f2ec;  /* ciepła, piaskowa biel */
  --color-background-dark: #2b302a; /* ciemna zieleń-grafit (stopka, CTA) */

  --color-text: #2c2f2b;
  --color-text-muted: #64695f;
  --color-text-invert: #f4f2ec;
  --color-border: #e2ded3;
  --color-white: #ffffff;

  /* Typografia */
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Sora", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Skala / promienie / cienie */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(31, 41, 25, 0.06);
  --shadow: 0 12px 32px rgba(31, 41, 25, 0.10);
  --shadow-lg: 0 24px 60px rgba(31, 41, 25, 0.16);

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);

  --header-h: 76px;
}

/* ------------------------------- Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}
strong { font-weight: 700; }

/* Dostępność: widoczny focus */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--color-primary);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* ------------------------------ Layout --------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--alt { background: var(--color-background-alt); }

.section__head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section__title {
  font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.85rem);
  margin-top: 0.4rem;
}
.section__lead {
  margin-top: 1rem;
  color: var(--color-text-muted);
  font-size: 1.075rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-primary);
}
.eyebrow::before {
  content: "";
  width: 1.9rem;
  height: 2px;
  background: currentColor;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.reveal .eyebrow::before,
.reveal.eyebrow::before { transform: scaleX(0); }
.is-visible .eyebrow::before,
.reveal.is-visible .eyebrow::before { transform: scaleX(1); }
.eyebrow--light { color: var(--color-accent); }

/* Kwoty/terminy rabatu nie powinny łamać się w środku */
[data-discount-amount], [data-discount-deadline] { white-space: nowrap; }

/* ------------------------------ Buttons -------------------------------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease, box-shadow 0.25s ease, color 0.2s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Subtelny błysk przechodzący przez przycisk przy najechaniu */
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s ease;
}
.btn--primary:hover::after { left: 140%; }

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(111, 154, 46, 0.28);
}
.btn--primary:hover { background: var(--color-primary-dark); box-shadow: 0 12px 28px rgba(111, 154, 46, 0.36); }

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary-dark); }

.btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--header { white-space: nowrap; }

/* ------------------------------ Header --------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 24px rgba(31, 41, 25, 0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
  transition: min-height 0.3s ease;
}
.header.is-scrolled .header__inner { min-height: 64px; }
.brand { display: flex; align-items: center; gap: 0.65rem; margin-right: auto; }
/* Wariant poziomego logotypu (index.html) */
.brand__logo {
  height: 42px;
  width: auto;
  transition: height 0.3s ease;
}
.header.is-scrolled .brand__logo { height: 36px; }
/* Wariant znak + tekst (pozostałe strony) */
.brand__mark { width: 40px; height: 40px; }
.brand__word { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 1.02rem;
  color: var(--color-text);
}
.brand__sub {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.nav__list { display: flex; gap: 1.6rem; }
.nav__list a {
  font-weight: 500;
  color: var(--color-text);
  padding: 0.4rem 0;
  position: relative;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--color-primary);
  transition: width 0.2s ease;
}
.nav__list a:hover::after, .nav__list a:focus-visible::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobilne */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  z-index: 99;
  transform: translateY(-12px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { transform: translateY(0); opacity: 1; }
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: var(--gutter);
}
.mobile-menu__link {
  padding: 0.85rem 0.25rem;
  font-size: 1.15rem;
  font-weight: 600;
  border-bottom: 1px solid var(--color-border);
}
.mobile-menu__nav .btn { margin-top: 0.9rem; }

/* ------------------------------- Hero ---------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
}
/* Miękka poświata w tle hero */
.hero::before {
  content: "";
  position: absolute;
  top: -12%;
  right: -8%;
  width: 46vw;
  height: 46vw;
  max-width: 720px;
  max-height: 720px;
  background: radial-gradient(circle at center, rgba(120, 180, 216, 0.20), transparent 62%);
  filter: blur(10px);
  z-index: 0;
  animation: heroGlow 14s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -18%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  max-width: 620px;
  max-height: 620px;
  background: radial-gradient(circle at center, rgba(111, 154, 46, 0.16), transparent 62%);
  filter: blur(10px);
  z-index: 0;
  animation: heroGlow 18s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}
@keyframes heroGlow {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-3%, 4%, 0) scale(1.12); }
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.4rem, 1.5rem + 4vw, 4.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.7rem 0 1.1rem;
}
.hero__lead { font-size: 1.15rem; color: var(--color-text-muted); max-width: 34ch; }
.hero__note-highlight {
  margin-top: 1.1rem;
  padding: 0.9rem 1.1rem;
  background: var(--color-background-alt);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-sm);
  font-size: 1rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}
.hero__disclaimer {
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.hero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transform: scale(1.06);
  animation: kenburns 18s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.06) translate(0, 0); }
  to { transform: scale(1.14) translate(-1.5%, -1.5%); }
}

/* --------------------------- Pasek key facts --------------------------- */
.keyfacts {
  background: var(--color-background-alt);
  border-block: 1px solid var(--color-border);
  padding-block: clamp(2rem, 4vw, 3rem);
}
.keyfacts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
}
.keyfact { transition: transform 0.25s ease; }
.keyfact:hover { transform: translateY(-4px); }
.keyfact__icon {
  width: 48px; height: 48px;
  padding: 11px;
  background: rgba(111, 154, 46, 0.10);
  border-radius: 14px;
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 0.85rem;
  transition: background 0.25s ease, transform 0.25s ease;
}
.keyfact:hover .keyfact__icon { background: rgba(111, 154, 46, 0.18); transform: scale(1.06); }
.keyfact__title { font-size: 1.075rem; margin-bottom: 0.3rem; }
.keyfact p { color: var(--color-text-muted); font-size: 0.95rem; }

/* ------------------------------- About --------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.about__copy p + p { margin-top: 1.1rem; }
.about__copy p { color: var(--color-text-muted); font-size: 1.075rem; }
.about__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.about__figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about__figure--large { grid-column: 1 / -1; }
.about__figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.about__figure:hover img { transform: scale(1.05); }
.about__figure:not(.about__figure--large) img { aspect-ratio: 4 / 3; }

/* ------------------------------ Benefits ------------------------------- */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}
.benefit-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.benefit-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.benefit-card:hover .benefit-card__media img { transform: scale(1.06); }
.benefit-card__body { padding: clamp(1.25rem, 3vw, 1.9rem); }
.benefit-card__body h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.benefit-card__body p { color: var(--color-text-muted); }

/* ------------------------------ Lifestyle ------------------------------ */
.lifestyle__mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.lifestyle__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-sm);
}
.lifestyle__item--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.lifestyle__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.lifestyle__item:hover img { transform: scale(1.05); }
.lifestyle__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem 1rem 0.9rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
  background: linear-gradient(to top, rgba(20, 26, 18, 0.82), transparent);
}

/* -------------------------------- Homes -------------------------------- */
.homes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}
.home-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.home-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.home-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.home-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.home-card:hover .home-card__media img { transform: scale(1.06); }
.home-card__body { padding: clamp(1.25rem, 3vw, 1.6rem); display: flex; flex-direction: column; flex: 1; }
.home-card__title { font-size: 1.3rem; }
.home-card__address {
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.15rem;
  margin-bottom: 0.9rem;
}
.home-card__params {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.home-card__params li {
  background: var(--color-background-alt);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.82rem;
  color: var(--color-text);
  font-weight: 500;
}
.home-card__desc { color: var(--color-text-muted); font-size: 0.95rem; }
.home-card__foot { margin-top: auto; padding-top: 1.2rem; }
.home-card__price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0.85rem;
}
.homes__full-offer { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }
.homes__full-offer a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.homes__full-offer svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s ease; }
.homes__full-offer a:hover { border-color: var(--color-primary); }
.homes__full-offer a:hover svg { transform: translateX(4px); }

/* -------------------------------- CTA ---------------------------------- */
.cta {
  position: relative;
  color: var(--color-text-invert);
  padding-block: clamp(4rem, 9vw, 7rem);
  overflow: hidden;
}
.cta__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(30, 38, 26, 0.78), rgba(30, 38, 26, 0.86)),
    image-set(url("../img/cta-lakowe-1600.webp") 1x) center / cover no-repeat;
  background-image:
    linear-gradient(rgba(30, 38, 26, 0.78), rgba(30, 38, 26, 0.86)),
    url("../img/cta-lakowe-1600.webp");
  background-size: cover;
  background-position: center;
}
.cta__inner { position: relative; max-width: 720px; text-align: center; margin-inline: auto; }
.cta__title { font-size: clamp(1.9rem, 1.3rem + 2.8vw, 3.1rem); margin: 0.5rem 0 1.2rem; }
.cta__lead { color: rgba(244, 242, 236, 0.9); font-size: 1.1rem; }
.cta__lead + .cta__lead { margin-top: 1rem; }
.cta__inner .btn { margin-top: 1.8rem; }
.cta__note { margin-top: 1.1rem; font-size: 0.85rem; color: rgba(244, 242, 236, 0.72); }
.cta strong { color: #fff; }

/* ------------------------------- Footer -------------------------------- */
.footer {
  background: var(--color-background-dark);
  color: rgba(244, 242, 236, 0.8);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.footer__logo { width: 150px; height: auto; margin-bottom: 1.1rem; }
.footer__brand p { font-size: 0.95rem; max-width: 32ch; }
.footer__heading {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer__list li { margin-bottom: 0.6rem; }
.footer__list a { color: rgba(244, 242, 236, 0.8); transition: color 0.2s ease; }
.footer__list a:hover { color: #fff; }
.footer__address { font-style: normal; font-size: 0.9rem; line-height: 1.8; }
.footer__address strong { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(244, 242, 236, 0.14);
  padding-block: 1.4rem;
  font-size: 0.85rem;
}

/* --------------------------- Mobilny pasek CTA ------------------------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -6px 24px rgba(31, 41, 25, 0.1);
  display: none;
  transform: translateY(120%);
  transition: transform 0.3s ease;
}
.mobile-bar.is-visible { transform: translateY(0); }

/* ------------------------- Animacje pojawiania ------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(6px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), filter 0.75s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; filter: none; }

/* Naprzemienne opóźnienia elementów w siatkach (efekt kaskady) */
:where(.keyfacts__grid, .benefits__grid, .homes__grid, .about__media) > .reveal:nth-child(2) { transition-delay: 0.09s; }
:where(.keyfacts__grid, .benefits__grid, .homes__grid, .about__media) > .reveal:nth-child(3) { transition-delay: 0.18s; }
:where(.keyfacts__grid, .benefits__grid, .homes__grid, .about__media) > .reveal:nth-child(4) { transition-delay: 0.27s; }

/* ============================== Responsywność ========================== */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav, .btn--header { display: none; }
  .hamburger { display: flex; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: 2; }
  .hero__lead { max-width: none; }

  .keyfacts__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
  .lifestyle__mosaic { grid-template-columns: repeat(2, 1fr); }
  .lifestyle__item--wide { grid-column: span 2; }
  .homes__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .mobile-bar { display: block; }
  /* Zapewnij miejsce, aby pasek CTA nie zasłaniał stopki */
  .footer__bottom { padding-bottom: calc(1.4rem + 76px); }
}

@media (max-width: 640px) {
  .brand__logo, .header.is-scrolled .brand__logo { height: 34px; }
  .benefits__grid { grid-template-columns: 1fr; }
  .keyfacts__grid { grid-template-columns: 1fr; text-align: left; }
  .lifestyle__mosaic { grid-template-columns: 1fr; }
  .lifestyle__item, .lifestyle__item--wide { grid-column: span 1; aspect-ratio: 16 / 10; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
}

@media (max-width: 380px) {
  :root { --gutter: 1.1rem; }
}

/* ------------------------- prefers-reduced-motion ---------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
  .hero::before, .hero::after, .hero__media img { animation: none; }
  .hero__media img { transform: none; }
}
