/* =====================================================
   Apartamenty Vistula — Investment Landing Page
   Fonts & design tokens extracted from lokalizacja.apartamentyvistula.pl
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Outfit:wght@300;400;500;600&display=swap');

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--linen);
  color: var(--charcoal);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Design tokens ─────────────────────────────────── */
:root {
  --navy:        #1C1F36;
  --navy-mid:    #2D2F4A;
  --navy-light:  #3D4070;
  --sand:        #C8A97B;
  --sand-light:  #E8D9C4;
  --linen:       #F8F5EF;
  --linen-dark:  #EDE9DF;
  --charcoal:    #1A1C16;
  --gray:        #7A7568;
  --gray-light:  #C8C3B8;
  --white:       #FEFCFA;
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --max-w:       1100px;
}

/* ── Typography ────────────────────────────────────── */
.serif { font-family: 'Cormorant Garamond', serif; }

/* ── Focus visible ─────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 4px;
}

/* ── Container ─────────────────────────────────────── */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Section common ────────────────────────────────── */
.section { padding: 6rem 2rem; }

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 400;
}
.section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--sand);
  opacity: 0.5;
  flex-shrink: 0;
}
.section-label--center {
  justify-content: center;
}
.section-label--center::before { display: none; }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.section-title em {
  font-style: italic;
  color: var(--navy-mid);
}
.section-title--light {
  color: var(--white);
}
.section-title--light em {
  color: var(--sand-light);
}
.section-title--center { text-align: center; }

.section-desc {
  font-size: 1rem;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 3.5rem;
}
.section-desc--light { color: rgba(255,255,255,0.62); }
.section-desc--center { text-align: center; margin-left: auto; margin-right: auto; }

/* ── Button ────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 1.1rem 2.4rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(28,31,54,0.25);
}
.btn-primary:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 4px;
}
.btn-primary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease-out);
}
.btn-primary:hover svg { transform: translateX(4px); }

/* =====================================================
   NAVIGATION
   ===================================================== */
.page-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(248,245,239,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linen-dark);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 32px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 400;
}
.nav-links a:hover { color: var(--charcoal); }
.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  transition: background 0.3s, transform 0.3s var(--ease-out) !important;
}
.nav-cta:hover {
  background: var(--navy-mid) !important;
  transform: translateY(-1px);
}

/* =====================================================
   HERO
   ===================================================== */

/* ── Mobile-first base: video top, text below ──────── */
.hero {
  display: flex;
  flex-direction: column;
  background: var(--linen);
  overflow: hidden;
}

/* video block at top on mobile */
.hero-right {
  position: relative;
  width: 100%;
  height: 52vw;
  min-height: 210px;
  max-height: 320px;
  flex-shrink: 0;
  overflow: hidden;
}
.hero-video-shell {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #111 url('../img/gallery-1.jpg') center center / cover no-repeat;
  z-index: 0;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  filter: brightness(1.08) saturate(0.82);
}
.hero-poster {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #111;
  overflow: hidden;
  appearance: none;
  z-index: 1;
}
.hero-poster-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: rgba(28,31,54,0.72);
  border: 1px solid rgba(255,255,255,0.26);
  box-shadow: 0 18px 48px rgba(0,0,0,0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease-out), background 0.35s ease;
  isolation: isolate;
}
.hero-poster-play::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.28);
  opacity: 0;
  transform: scale(0.92);
  animation: hero-play-pulse 2.6s ease-out infinite;
  pointer-events: none;
}
.hero-poster-play svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
}
@keyframes hero-play-pulse {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  22% {
    opacity: 0.34;
  }
  68% {
    opacity: 0.1;
    transform: scale(1.16);
  }
  100% {
    opacity: 0;
    transform: scale(1.24);
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(248,245,239,0.7) 88%,
    var(--linen) 100%
  );
}
.hero-video-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.hero-video-modal[hidden] {
  display: none !important;
}
.hero-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,12,20,0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 1420px);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(0,0,0,0.35);
}
.hero-video-modal__frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}
.hero-video-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(12,14,24,0.78);
  box-shadow: 0 12px 30px rgba(0,0,0,0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}
.hero-video-modal__close svg {
  width: 20px;
  height: 20px;
}
body.is-video-modal-open {
  overflow: hidden;
}

/* text below video on mobile */
.hero-left {
  background: var(--linen);
  padding: 2.4rem 1.5rem 3rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.hero-content {
  text-align: center;
  max-width: 640px;
  background: none;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
}

/* ── Text — dark on light background ───────────────── */
.hero-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1.6rem;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 1.6rem;
  line-height: 1.1;
}
.hero-title em {
  font-style: italic;
  color: var(--sand);
}
.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 3rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.hero-scroll a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--gray);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.hero-scroll a:hover { color: var(--sand); }
.scroll-arrow {
  width: 16px;
  height: 16px;
}

/* ── Desktop: split two-column ─────────────────────── */
@media (min-width: 641px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 43%) minmax(0, 57%);
    height: 100vh;
    min-height: 580px;
    flex-direction: unset;
  }

  /* left panel: solid linen, full height */
  .hero-left {
    background: var(--linen);
    align-items: center;
    justify-content: flex-end;
    padding: 5rem clamp(2rem, 4vw, 5rem);
    height: auto;
  }

  /* remove glassmorphism box — clean linen panel */
  .hero-content {
    text-align: left;
    max-width: 640px;
    background: none;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
  }
  .hero-sub     { margin: 0 0 3rem; }
  .hero-actions { justify-content: flex-start; }
  .hero-scroll a { align-items: flex-start; }

  /* right panel: video fills grid cell */
  .hero-right {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    max-height: none;
    min-height: 0;
  }
  .hero-video-shell {
    display: none;
  }
  .hero-poster {
    display: block;
    cursor: pointer;
  }
  .hero-poster-image {
   /* 22.06.2026
   filter: brightness(0.97) saturate(0.92);
    transition: transform 0.8s var(--ease-out), filter 0.45s ease;*/
  }
  .hero-right:hover .hero-poster-image,
  .hero-poster:focus-visible .hero-poster-image {
    transform: scale(1.03);
    filter: brightness(1.01) saturate(0.98);
  }
  .hero-right:hover .hero-poster-play,
  .hero-poster:focus-visible .hero-poster-play {
    transform: translate(-50%, -50%) scale(1.06);
    background: rgba(28,31,54,0.86);
  }
  .hero-video {
    inset: auto;
    top: 50%;
    left: 50%;
    width: 177.78vh;
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%) scale(1.08);
    filter: brightness(0.92) saturate(0.85);
  }
  /* subtle shadow from left edge of video toward linen */
  .hero-overlay {
    display: none;
    /* 22.06.2026
    background: linear-gradient(
      90deg,
      rgba(248,245,239,0.45) 0%,
      rgba(248,245,239,0.08) 30%,
      transparent 60%
    );
    */
  }
}

/* =====================================================
   INTRO — MODEL INWESTYCJI (navy bg)
   ===================================================== */
.intro-section {
  background: var(--white);
  color: var(--charcoal);
  border-bottom: 1px solid var(--linen-dark);
}
.intro-section .section-label { color: var(--sand); }
.intro-section .section-label::before { background: var(--sand); }
.intro-section .section-title { color: var(--charcoal); }
.intro-section .section-title em { color: var(--navy-mid); }
.intro-section .section-desc { color: var(--gray); }

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.intro-col-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--charcoal);
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--linen-dark);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.intro-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.intro-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.6;
  font-weight: 300;
}
.intro-list-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  stroke: var(--sand);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 16px;
  height: 16px;
}
.intro-quote {
  margin-top: 3rem;
  padding: 2rem 2.5rem;
  border-left: 2px solid var(--sand);
  background: var(--linen);
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.8;
  font-weight: 300;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
}

/* =====================================================
   ZALETY — KARTY KORZYŚCI (linen bg)
   ===================================================== */
/* background: var(--linen) — default body */

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.advantage-card {
  background: var(--white);
  border: 1px solid var(--linen-dark);
  padding: 2.4rem 2rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.3s var(--ease-out);
}
.advantage-card:hover {
  border-color: var(--sand);
  box-shadow: 0 8px 40px rgba(28,31,54,0.08);
  transform: translateY(-4px);
}
.advantage-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(45,47,74,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
}
.advantage-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--navy-mid);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.advantage-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}
.advantage-text {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.65;
  font-weight: 300;
}

/* =====================================================
   POTENCJAŁ FINANSOWY (linen bg)
   ===================================================== */
.investment-section {
  background: var(--linen);
  border-top: 1px solid var(--linen-dark);
  border-bottom: 1px solid var(--linen-dark);
}
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.scenario-card {
  background: var(--white);
  border: 1px solid var(--linen-dark);
  padding: 2rem;
}
.scenario-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1rem;
}
.scenario-title,
.comparison-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.25;
  margin-bottom: 1rem;
}
.scenario-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.scenario-list li,
.comparison-text,
.scenario-formula,
.scenario-disclaimer {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.65;
  font-weight: 300;
}
.scenario-list strong {
  color: var(--charcoal);
  font-weight: 500;
}
.scenario-formula {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--linen-dark);
}
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.comparison-item {
  background: rgba(255,255,255,0.45);
  border: 1px solid var(--linen-dark);
  padding: 1.5rem;
}
.comparison-title { margin-bottom: 0.7rem; }
.scenario-disclaimer {
  margin-top: 1.25rem;
  font-size: 0.8rem;
}

/* =====================================================
   HIGHLIGHT — JAK TO DZIAŁA (white bg)
   ===================================================== */
.highlight-section {
  background: var(--white);
  border-top: 1px solid var(--linen-dark);
  border-bottom: 1px solid var(--linen-dark);
}
.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
/* Steps take the place of the image on the left */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--linen-dark);
}
.step-item:first-child { padding-top: 0; }
.step-item:last-child { border-bottom: none; padding-bottom: 0; }
.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--sand);
  line-height: 1;
  min-width: 2.5rem;
  flex-shrink: 0;
}
.step-body {}
.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.step-text {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.65;
  font-weight: 300;
}
.highlight-text {}
.highlight-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--linen-dark);
}
.stat-item {}
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--gray);
  letter-spacing: 0.06em;
  font-weight: 300;
}

/* =====================================================
   OBSŁUGA — CO BIERZEMY NA SIEBIE (linen bg)
   ===================================================== */
/* background: var(--linen) */

.service-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--linen-dark);
  border-top: 3px solid var(--sand);
  padding: 2.4rem 2rem;
  transition: box-shadow 0.25s, transform 0.3s var(--ease-out);
}
.service-card:hover {
  box-shadow: 0 8px 40px rgba(28,31,54,0.08);
  transform: translateY(-4px);
}
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(45,47,74,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
}
.service-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--navy-mid);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}
.service-text {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 1rem;
}
.service-edit-note {
  font-size: 0.75rem;
  color: var(--sand);
  font-style: italic;
  opacity: 0.7;
  font-weight: 300;
}

/* =====================================================
   OWNER — KORZYŚCI WŁAŚCICIELSKIE (white + image)
   ===================================================== */
.owner-section {
  background: var(--white);
  border-top: 1px solid var(--linen-dark);
  border-bottom: 1px solid var(--linen-dark);
}
.owner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.owner-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.owner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.owner-image:hover img { transform: scale(1.03); }
.owner-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ddd8cf 0%, #ccc5b9 100%);
  min-height: 480px;
}
.owner-placeholder-inner {
  text-align: center;
  color: rgba(90,82,70,0.4);
}
.owner-placeholder-inner svg {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.8rem;
}
.owner-placeholder-inner p {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.owner-text {}
.owner-highlights {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.owner-highlight {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.92rem;
  color: var(--gray);
  font-weight: 300;
}
.owner-highlight svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  stroke: var(--sand);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =====================================================
   ZAUFANIE — STANDARD (white bg)
   ===================================================== */
.trust-section {
  background: var(--white);
  border-top: 1px solid var(--linen-dark);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.trust-card {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--linen-dark);
  transition: background 0.25s;
}
.trust-card:last-child { border-right: none; }
.trust-card:hover { background: var(--linen); }
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(45,47,74,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}
.trust-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--navy-mid);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trust-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}
.trust-text {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.65;
  font-weight: 300;
}
.trust-note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.82rem;
  color: var(--gray-light);
  font-style: italic;
  font-weight: 300;
}

/* =====================================================
   GALLERY (navy bg)
   ===================================================== */
.gallery-section {
  background: var(--linen);
  border-top: 1px solid var(--linen-dark);
  border-bottom: 1px solid var(--linen-dark);
  overflow: hidden;
}
.gallery-section .section-label { color: var(--sand); }
.gallery-section .section-label::before { background: var(--sand); }
.gallery-section .section-title { color: var(--charcoal); }
.gallery-section .section-title em { color: var(--navy-mid); }
.gallery-section .section-desc { color: var(--gray); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 0.5rem;
}
.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item {
  overflow: hidden;
  position: relative;
  background: var(--white);
  border: 1px solid var(--linen-dark);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--linen-dark);
}
.gallery-placeholder svg {
  width: 28px;
  height: 28px;
  stroke: var(--gray-light);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gallery-note {
  margin-top: 1.2rem;
  font-size: 0.82rem;
  color: var(--gray);
  font-weight: 300;
  letter-spacing: 0.04em;
  font-style: italic;
}

/* =====================================================
   FAQ (white bg)
   ===================================================== */
.faq-section {
  background: var(--white);
  border-top: 1px solid var(--linen-dark);
}
.faq-list {
  max-width: 800px;
}
.faq-item {
  border-bottom: 1px solid var(--linen-dark);
}
.faq-item:first-child {
  border-top: 1px solid var(--linen-dark);
}
details.faq-item summary {
  list-style: none;
}
details.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-question {
  padding: 1.8rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--charcoal);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: color 0.25s;
  line-height: 1.35;
}
.faq-question:hover { color: var(--navy-mid); }
.faq-question:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 4px;
}
.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--sand);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.faq-icon::before {
  width: 12px;
  height: 1px;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 1px;
  height: 12px;
  transform: translate(-50%, -50%);
}
details[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.faq-answer {
  padding: 0 0 1.8rem 0;
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.7;
  font-weight: 300;
}
.faq-answer p { margin: 0; }

/* =====================================================
   CTA SECTION (linen bg)
   ===================================================== */
.cta-section {
  background: var(--linen);
  text-align: center;
  padding: 7rem 2rem;
}
.cta-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.cta-inner .section-label { justify-content: center; }
.cta-inner .section-label::before { display: none; }
.cta-inner .section-title {
  margin-bottom: 1rem;
}
.cta-inner .section-desc {
  margin: 0 auto 2.5rem;
  text-align: center;
}
.seller-contact-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--linen-dark);
  padding: 2rem;
  text-align: left;
}
.seller-contact-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--linen-dark);
  background: var(--linen);
}
.seller-contact-eyebrow {
  margin-bottom: 0.75rem;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-light);
}
.seller-contact-title {
  margin-bottom: 0.85rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.06;
}
.seller-contact-text {
  max-width: 42rem;
  margin-bottom: 1.4rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray);
  font-weight: 300;
}
.seller-contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
.seller-contact-item {
  padding: 1rem 1.1rem;
  border: 1px solid var(--linen-dark);
  background: var(--linen);
}
.seller-contact-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-light);
}
.seller-contact-value {
  color: var(--navy);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.seller-contact-value:hover,
.seller-contact-value:focus-visible {
  color: var(--navy-mid);
}

/* =====================================================
   SCROLL TO TOP
   ===================================================== */
.scroll-top-btn {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--linen-dark);
  background: rgba(248,245,239,0.96);
  color: var(--charcoal);
  box-shadow: 0 12px 32px rgba(28,31,54,0.12);
  cursor: pointer;
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.28s, transform 0.28s, visibility 0.28s, background 0.2s, color 0.2s;
}
.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  background: var(--white);
  color: var(--navy-mid);
}
.scroll-top-btn:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
}
.scroll-top-btn svg {
  width: 18px;
  height: 18px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: rgba(248,245,239,0.92);
  border-top: 1px solid var(--linen-dark);
  padding: 1.8rem 2rem;
  text-align: center;
}
.footer-logo {
  margin-bottom: 0.8rem;
}
.footer-logo-img {
  height: 28px;
  width: auto;
  margin: 0 auto;
  opacity: 1;
}
.footer-text {
  font-size: 0.72rem;
  color: var(--gray);
  letter-spacing: 0.06em;
}
.footer-text a {
  color: var(--charcoal);
  transition: color 0.2s;
}
.footer-text a:hover { color: var(--sand); }

/* ── Hamburger toggle (hidden on desktop) ──────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .scenario-grid { grid-template-columns: repeat(2, 1fr); }
  .service-blocks { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
  }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 1.5rem; }
  .page-nav { padding: 0.85rem 1.25rem; }

  /* hamburger visible, links hidden */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    z-index: 101;
    padding: 0 1.25rem 1.25rem;
    border-bottom: 1px solid var(--linen-dark);
    box-shadow: 0 16px 40px rgba(28,31,54,0.08);
  }
  .nav-links.is-open { display: flex; }
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--linen-dark);
  }
  .nav-links li:first-child { border-top: 1px solid var(--linen-dark); }
  .nav-links a {
    display: block;
    padding: 1.1rem 0;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    color: var(--charcoal);
    text-align: center;
  }
  .nav-cta {
    margin-top: 1.25rem;
    display: flex !important;
    width: 100%;
    justify-content: center;
    padding: 0.85rem 2rem !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.1em !important;
    border-bottom: none !important;
  }
  .nav-links li:has(.nav-cta) {
    border-bottom: none;
  }

  .intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .highlight-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .owner-grid { grid-template-columns: 1fr; }
  .owner-image { order: -1; aspect-ratio: 16/10; min-height: auto; }
  .advantages-grid { grid-template-columns: 1fr; }
  .scenario-grid,
  .comparison-grid { grid-template-columns: 1fr; }
  .service-blocks { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-card { border-right: none; border-bottom: 1px solid var(--linen-dark); }
  .trust-card:last-child { border-bottom: none; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .highlight-stats { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .seller-contact-inner { grid-template-columns: 1fr; }
  .seller-contact-media { max-width: 320px; }
  .seller-contact-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .page-nav { padding: 0.75rem 1rem; }
  .nav-logo-img { height: 26px; }

  .hero-sub,
  .hero-actions {
    display: none;
  }

  .scroll-top-btn {
    right: 1rem;
    bottom: 1rem;
    width: 48px;
    height: 48px;
  }

  .hero {
    display: block;
    height: auto;
    min-height: auto;
    background: var(--linen);
  }
  .hero-right {
    height: auto;
    min-height: auto;
    max-height: none;
    aspect-ratio: 16/9;
  }
  .hero-video-shell {
    position: absolute;
    inset: 0;
  }
  .cta-section { padding: 0 1rem 3rem; }
  .seller-contact-inner { padding: 1.25rem; gap: 1.25rem; }
  .hero-video {
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    transform: none;
  }
  .hero-poster,
  .hero-video-modal {
    display: none !important;
  }
  .hero-overlay { display: block; }
  .hero-content {
    margin: 0;
    padding: 2.5rem 1.5rem 3.5rem;
    background: rgba(254,252,250,0.92);
  }

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