/* ═══════════════════════════════════════════════════════
   WiaNova Atelier — landing page
   Paleta: beż / ecru / pudrowy róż / zieleń
   ═══════════════════════════════════════════════════════ */

:root {
  --bg:          #F4EEE6;  /* ecru */
  --bg-alt:      #EFE4DC;  /* beż */
  --bg-green:    #E5E9DC;  /* pastelowa zieleń */
  --card:        #FBF8F3;  /* złamana biel */
  --ink:         #4A4238;  /* ciemny brąz — tekst */
  --ink-heading: #5C4E3C;
  --ink-soft:    #6B5D4A;
  --gold:        #8A6F4F;  /* brąz z logo */
  --gold-soft:   #A98E6B;
  --pink:        #B98A8F;  /* pudrowy róż */
  --pink-dark:   #A87A7F;
  --pink-light:  #E8C8CB;
  --green:       #A8B591;
  --green-dark:  #7E8A63;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Jost', sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-width: 320px;
}

::selection { background: var(--pink-light); }

img { max-width: 100%; }

/* ─── Typografia wspólna ─────────────────────────────── */

.eyebrow {
  margin: 0 0 16px;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.eyebrow--green { color: var(--green-dark); }

.section-title {
  margin: 0 0 22px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.15;
  color: var(--ink-heading);
}

.body-text {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-soft);
}
.body-text--sm { font-size: 15px; margin: 0; }

/* ─── Przyciski i linki ──────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.btn--primary {
  color: var(--bg);
  background: var(--pink);
  padding: 16px 34px;
  box-shadow: 0 6px 20px rgba(185, 138, 143, 0.35);
}
.btn--primary:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
}
.btn--lg { padding: 18px 40px; }

.link-underline {
  text-decoration: none;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(138, 111, 79, 0.4);
  padding-bottom: 4px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.link-underline:hover {
  color: var(--pink);
  border-bottom-color: var(--pink);
}

/* ─── Nagłówek / nawigacja ───────────────────────────── */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(24px, 6vw, 80px);
  position: sticky;
  top: 0;
  background: rgba(244, 238, 230, 0.92);
  backdrop-filter: blur(10px);
  z-index: 50;
  border-bottom: 1px solid rgba(163, 141, 110, 0.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--gold);
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(138, 111, 79, 0.25);
}

.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.brand-name--light { color: var(--bg-alt); font-size: 20px; }

.brand-sub {
  font-weight: 400;
  letter-spacing: 0.28em;
  font-size: 14px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: clamp(16px, 3vw, 36px);
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}
.nav-link:hover { color: var(--pink); }

.nav-cta {
  text-decoration: none;
  color: var(--bg);
  background: var(--gold);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.25s ease;
}
.nav-cta:hover { background: #6F5940; }

/* ─── Hero ───────────────────────────────────────────── */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 8vh, 96px) clamp(24px, 6vw, 80px) clamp(56px, 9vh, 110px);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-glow--pink {
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(232, 200, 203, 0.5), rgba(232, 200, 203, 0) 70%);
}
.hero-glow--green {
  bottom: -140px; left: -100px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(168, 181, 145, 0.35), rgba(168, 181, 145, 0) 70%);
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-copy   { position: relative; animation: floatIn 0.9s ease both; }
.hero-visual { position: relative; animation: floatIn 0.9s 0.15s ease both; }

.hero-title {
  margin: 0 0 24px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(42px, 5.5vw, 74px);
  line-height: 1.08;
  color: var(--ink-heading);
}
.hero-title em { font-style: italic; color: var(--pink); }

.hero-lead {
  margin: 0 0 36px;
  max-width: 46ch;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-arch {
  position: relative;
  border-radius: 240px 240px 18px 18px;  /* łuk jak w brandingu */
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(92, 78, 60, 0.22);
  border: 6px solid var(--card);
}

.hero-img {
  display: block;
  width: 100%;
  height: clamp(420px, 58vh, 620px);
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: -22px;
  left: -26px;
  background: var(--card);
  border-radius: 16px;
  padding: 16px 22px;
  box-shadow: 0 12px 30px rgba(92, 78, 60, 0.18);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.dot--green { background: var(--green); }

/* ─── O nas ──────────────────────────────────────────── */

.about {
  background: var(--bg-alt);
  padding: clamp(64px, 10vh, 120px) clamp(24px, 6vw, 80px);
}

.about-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}

.about-visual { position: relative; }

.about-photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(92, 78, 60, 0.2);
  border: 6px solid var(--card);
  transform: rotate(-2deg);
}

.about-img {
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  top: -18px;
  right: -14px;
  background: var(--pink-light);
  color: #7C555A;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(124, 85, 90, 0.2);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.feature {
  background: var(--card);
  border-radius: 14px;
  padding: 20px 18px;
  text-align: center;
}

.feature-icon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  margin-bottom: 4px;
}
.feature-icon--pink  { color: var(--pink); }
.feature-icon--green { color: var(--green); }
.feature-icon--gold  { color: var(--gold-soft); }

.feature-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ─── Galeria ────────────────────────────────────────── */

.gallery {
  padding: clamp(64px, 10vh, 120px) clamp(24px, 6vw, 80px);
  background: var(--bg);
}

.section-inner { max-width: 1160px; margin: 0 auto; }

.section-head {
  text-align: center;
  margin-bottom: clamp(36px, 6vh, 64px);
}
.section-head .section-title { margin-left: auto; margin-right: auto; max-width: 24ch; }
.section-head-lead { max-width: 52ch; margin: 0 auto; }

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

.gallery-item {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 32px rgba(92, 78, 60, 0.15);
}
.gallery-item--tall { grid-row: span 2; }

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 20px 16px;
  background: linear-gradient(transparent, rgba(74, 66, 56, 0.65));
  color: var(--card);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-more {
  text-align: center;
  margin-top: 44px;
}

/* ─── Jak zamówić ────────────────────────────────────── */

.steps {
  background: var(--bg-green);
  padding: clamp(64px, 10vh, 120px) clamp(24px, 6vw, 80px);
}

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

.step-card {
  background: var(--card);
  border-radius: 18px;
  padding: 36px 30px;
  box-shadow: 0 12px 32px rgba(92, 78, 60, 0.1);
}

.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-style: italic;
  line-height: 1;
  margin-bottom: 18px;
}
.step-number--pink  { color: var(--pink); }
.step-number--green { color: var(--green); }
.step-number--gold  { color: var(--gold-soft); }

.step-title {
  margin: 0 0 12px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--ink-heading);
}

/* ─── Kontakt ────────────────────────────────────────── */

.contact {
  padding: clamp(72px, 12vh, 140px) clamp(24px, 6vw, 80px);
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 200, 203, 0.35), rgba(232, 200, 203, 0) 70%);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.contact-logo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(138, 111, 79, 0.25);
  margin-bottom: 26px;
}

.contact .body-text { margin-bottom: 36px; }

/* ─── Stopka ─────────────────────────────────────────── */

.site-footer {
  background: var(--ink-heading);
  color: #D9CDBC;
  padding: 36px clamp(24px, 6vw, 80px);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-sep { opacity: 0.5; }

.footer-link {
  color: #D9CDBC;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.1em;
  transition: color 0.25s ease;
}
.footer-link:hover { color: var(--pink-light); }

.footer-credit {
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: 300;
}

.footer-author {
  color: var(--pink-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 200, 203, 0.5);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.footer-author:hover {
  color: var(--bg);
  border-bottom-color: var(--bg);
}

/* ─── Wersja mobilna ─────────────────────────────────── */

@media (max-width: 800px) {
  .hero,
  .about-grid,
  .steps-grid { grid-template-columns: 1fr; }

  .main-nav .nav-link { display: none; }

  .hero-img  { height: 380px; }
  .about-img { height: 340px; }

  .hero-badge {
    position: static;
    margin-top: 16px;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(92, 78, 60, 0.12);
  }

  .about-badge {
    top: -14px;
    right: 8px;
    padding: 8px 16px;
    font-size: 11px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .feature {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    padding: 14px 18px;
  }
  .feature-icon {
    margin-bottom: 0;
    font-size: 24px;
  }

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

@media (max-width: 520px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .gallery-item--tall { grid-row: auto; }
}
