@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root {
  --color-bg: #F7F5F0;
  --color-bg-warm: #EDE9E0;
  --color-surface: #FFFFFF;
  --color-dark: #1A1A1A;
  --color-dark-soft: #2C2C2C;
  --color-accent: #8B7355;
  --color-accent-light: #A6916F;
  --color-accent-dark: #6B5A42;
  --color-text: #1A1A1A;
  --color-text-muted: #6B6560;
  --color-text-light: #9A958D;
  --color-border: rgba(26, 26, 26, 0.08);
  --color-border-strong: rgba(26, 26, 26, 0.15);
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.8;
  overflow-x: hidden;
}

::selection {
  background: var(--color-accent-dark);
  color: #fff;
}

/* ── Utility ── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem;
}

.divider {
  width: 40px;
  height: 1px;
  background: var(--color-accent);
  margin: 2rem auto;
}

/* ── Header / Nav ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background 0.5s, padding 0.4s, box-shadow 0.5s;
}

.site-header.scrolled {
  background: rgba(247, 245, 240, 0.97);
  backdrop-filter: blur(12px);
  padding: 0.85rem 0;
  box-shadow: 0 1px 0 var(--color-border);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  z-index: 110;
}

.nav-logo {
  width: 36px;
  height: 36px;
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-dark);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--color-dark);
}

/* ── Mobile hamburger ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-dark);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 105;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-overlay.active {
  display: flex;
  opacity: 1;
}

.mobile-overlay a {
  color: var(--color-dark);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.mobile-overlay a:hover {
  color: var(--color-accent);
}

/* ── Hero ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(247,245,240,0) 30%,
    rgba(247,245,240,0.2) 55%,
    rgba(247,245,240,0.92) 100%
  );
  z-index: 1;
}

.hero-image {
  position: absolute;
  inset: 0;
  background: var(--color-bg-warm);
}

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

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
}

.hero-feeling {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 300;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.hero-address {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.hero-scroll {
  display: block;
  margin: 3rem auto 0;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ── Emotional Section (full-width text) ── */
.emotion-section {
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.emotion-text {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-dark-soft);
  max-width: 540px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Nature illustration (beech tree + squirrel) ── */
.nature-scene {
  position: absolute;
  right: 5%;
  top: 0;
  bottom: 0;
  width: 180px;
  pointer-events: none;
  opacity: 0.07;
}

.nature-scene-left {
  right: auto;
  left: 5%;
}

.emotion-text em {
  font-style: normal;
  font-weight: 500;
  color: var(--color-accent);
}

/* ── Key Figures ── */
.key-figures {
  padding: 4rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.figures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.figure-item {
  padding: 1.5rem 1rem;
}

.figure-value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--color-dark);
  line-height: 1.2;
}

.figure-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-top: 0.4rem;
}

/* ── Sections ── */
.section {
  padding: 7rem 0;
  position: relative;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--color-dark);
  margin-bottom: 2rem;
}

.section-text {
  max-width: 600px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.85;
}

.section-text p + p {
  margin-top: 1rem;
}

/* ── Image with feeling (side-by-side) ── */
.feeling-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 70vh;
}

.feeling-image {
  overflow: hidden;
}

.feeling-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.feeling-image:hover img {
  transform: scale(1.03);
}

.feeling-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem;
  background: var(--color-surface);
}

.feeling-quote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-dark-soft);
  margin-bottom: 1.5rem;
}

.feeling-detail {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

/* ── Gallery ── */
.gallery {
  padding: 7rem 0;
  background: var(--color-bg-warm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-border);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--color-border);
  margin-top: 3rem;
}

.feature-card {
  padding: 2.5rem;
  background: var(--color-bg);
  transition: background 0.3s;
}

.feature-card:hover {
  background: var(--color-surface);
}

.feature-icon {
  width: 24px;
  height: 1px;
  background: var(--color-accent);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.75;
}

/* ── Specifications ── */
.specs {
  background: var(--color-surface);
}

.specs-list {
  list-style: none;
  max-width: 640px;
}

.specs-list li {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.88rem;
}

.specs-list li span:first-child {
  color: var(--color-text-light);
}

.specs-list li span:last-child {
  color: var(--color-dark);
  text-align: right;
  font-weight: 500;
}

/* ── Contact ── */
.contact {
  text-align: center;
  background: var(--color-bg-warm);
}

.contact-feeling {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.contact-text {
  max-width: 480px;
  margin: 0 auto;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ── Broker cards ── */
.broker-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 2.5rem 0;
}

.broker-card {
  text-align: center;
  max-width: 240px;
}

.broker-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 1.2rem;
  filter: grayscale(0.1);
}

.broker-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 0.2rem;
}

.broker-title {
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-bottom: 0.6rem;
}

.broker-contact {
  font-size: 0.82rem;
  line-height: 1.6;
}

.broker-contact a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.broker-contact a:hover {
  color: var(--color-dark);
}

.broker-logo {
  display: block;
  margin: 2rem auto 0;
  max-width: 200px;
  height: auto;
  opacity: 0.7;
}

.contact-cta {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 1.1rem 2.8rem;
  border: 1px solid var(--color-dark);
  border-radius: 2px;
  color: var(--color-dark);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.4s, color 0.4s;
}

.contact-cta:hover {
  background: var(--color-dark);
  color: var(--color-bg);
}

/* ── Hero CTA ── */
.hero-cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2.5rem;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.4s, color 0.4s;
}

.hero-cta:hover {
  background: var(--color-accent);
  color: #fff;
}

/* ── Floating CTA ── */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 0.9rem 2rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 90;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: background 0.3s, transform 0.3s, opacity 0.4s;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-cta:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
}

/* ── Footer ── */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
}

.footer-bird {
  display: block;
  margin: 0 auto 1rem;
  opacity: 0.15;
}

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(247, 245, 240, 0.97);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--color-dark);
  font-size: 1.5rem;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-dark);
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ── Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

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

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .feeling-image:hover img { transform: none; }
  .gallery-item:hover img { transform: none; }
  .hero-scroll { animation: none; opacity: 0.6; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .feeling-block {
    grid-template-columns: 1fr;
  }

  .feeling-content {
    padding: 3rem 2rem;
  }

  .feeling-image {
    min-height: 50vh;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

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

  .gallery-item.tall {
    grid-row: span 1;
    aspect-ratio: 4/3;
  }

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

  .specs-list li {
    flex-direction: column;
    gap: 0.25rem;
  }

  .specs-list li span:last-child {
    text-align: left;
  }

  .emotion-section { padding: 5rem 0; }

  .broker-grid {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
}
