/* Kwiatów Moc — fresh floral static site */

:root {
  --forest: #1c3328;
  --forest-soft: #2a4a3a;
  --leaf: #4a7c59;
  --mist: #eef3ef;
  --petal: #f7ecef;
  --rose: #c45b78;
  --rose-deep: #9e3d5a;
  --ink: #16241c;
  --muted: #5a6b60;
  --white: #ffffff;
  --line: rgba(28, 51, 40, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.25rem;
  --wrap: min(1120px, calc(100% - 2.5rem));
}

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

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-media img {
    transform: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(196, 91, 120, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(74, 124, 89, 0.1), transparent 50%),
    var(--mist);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--forest);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-deep);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-head h2,
.about-copy h2,
.contact-intro h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--forest);
  text-wrap: balance;
}

.section-head p,
.about-copy p,
.contact-intro > p {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-solid {
  background: rgba(238, 243, 239, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  width: min(1200px, calc(100% - 2rem));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--white);
  transition: color 0.3s var(--ease);
}

.site-header.is-solid .brand {
  color: var(--forest);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 102;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle span:first-child {
  top: 18px;
}

.nav-toggle span:last-child {
  top: 24px;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-backdrop {
  display: none;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.25s var(--ease);
}

.site-header.is-solid .site-nav a {
  color: var(--forest-soft);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.site-header.is-solid .site-nav a:hover,
.site-header.is-solid .site-nav a:focus-visible {
  color: var(--rose-deep);
}

.nav-phone {
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-header.is-solid .nav-phone {
  border-color: var(--line);
  background: var(--white);
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.06);
  animation: hero-drift 18s var(--ease) forwards;
}

@keyframes hero-drift {
  to {
    transform: scale(1);
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 36, 28, 0.45) 0%, rgba(22, 36, 28, 0.18) 38%, rgba(22, 36, 28, 0.72) 100%),
    linear-gradient(90deg, rgba(22, 36, 28, 0.35), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) 0 4.5rem;
  max-width: 40rem;
  animation: rise 0.9s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.6vw, 2.15rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: rgba(255, 255, 255, 0.94);
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
  max-width: 28rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--rose);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--rose-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost-light:hover,
.btn-ghost-light:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.65);
}

/* Quote */

.quote-strip {
  padding: 3.5rem 0;
  background: var(--white);
}

.quote-strip p {
  margin: 0;
  max-width: 42rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 2.05rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--forest);
  text-wrap: balance;
}

/* About */

.about {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.about-visual {
  overflow: hidden;
  min-height: 22rem;
  padding: 0;
  border: 0;
  background: #d7e0d8;
  cursor: zoom-in;
  display: block;
  width: 100%;
  text-align: left;
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.1s var(--ease);
}

.about-visual.is-inview img {
  transform: scale(1);
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-note {
  margin-top: 1.5rem !important;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--forest-soft) !important;
  font-weight: 500;
}

/* Gallery */

.gallery {
  padding: 1rem 0 5rem;
}

.gallery-stage {
  width: min(1200px, calc(100% - 1.25rem));
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  background: #d7e0d8;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
}

.gallery-item:focus-visible,
.about-visual:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

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

/* Lightbox */

.lightbox[hidden] {
  display: none !important;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 28, 22, 0.88);
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(92svh, 900px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  gap: 0.5rem 0.35rem;
}

.lightbox-figure {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: min(78svh, 760px);
  width: auto;
  height: auto;
  object-fit: contain;
  background: #0f1a14;
}

.lightbox-figure figcaption {
  margin: 0;
  max-width: 40rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.45;
}

.lightbox-close,
.lightbox-nav {
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  font-size: 1.5rem;
  line-height: 1;
  transition: background 0.2s var(--ease);
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

.lightbox-close {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  font-size: 1.75rem;
}

.lightbox-prev {
  grid-column: 1;
  grid-row: 2;
}

.lightbox-next {
  grid-column: 3;
  grid-row: 2;
}

.lightbox-counter {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .lightbox-panel {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr auto auto;
    width: 100%;
  }

  .lightbox-figure {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .lightbox-close {
    grid-column: 2;
    grid-row: 1;
  }

  .lightbox-prev {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
  }

  .lightbox-next {
    grid-column: 2;
    grid-row: 3;
    justify-self: end;
  }

  .lightbox-counter {
    grid-row: 4;
  }
}

/* Offer */

.offer {
  padding: 4.5rem 0 5.5rem;
  background:
    linear-gradient(180deg, transparent, rgba(242, 214, 222, 0.35) 40%, transparent),
    var(--mist);
}

.offer-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.offer-row {
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.offer-row h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--forest);
}

.offer-row p {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
}

/* Contact */

.contact {
  padding: 5rem 0;
  background: var(--forest);
  color: rgba(255, 255, 255, 0.88);
}

.contact .eyebrow {
  color: #f2d6de;
}

.contact-intro {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

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

.contact-intro > p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-cards {
  display: grid;
  gap: 1rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contact-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.contact-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.contact-card a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  color: #f2d6de;
}

.contact-card-note {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.62) !important;
}

.contact-card .btn {
  margin-top: 0.35rem;
  align-self: flex-start;
}

/* Footer */

.site-footer {
  background: #13241c;
  color: rgba(255, 255, 255, 0.72);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  gap: 2rem;
}

.footer-brand .brand-name {
  margin: 0 0 0.5rem;
  color: var(--white);
  font-size: 1.45rem;
}

.footer-brand p {
  margin: 0.2rem 0;
}

.footer-brand a,
.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-brand a:hover,
.footer-links a:hover {
  color: #f2d6de;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.footer-copy {
  margin: 0;
  font-size: 0.88rem;
}

.humbak-credit {
  margin: 0;
  font-size: 0.8125rem;
}

.humbak-credit a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: inherit;
  text-decoration: none;
}

.humbak-credit-sygnet {
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-inview {
  opacity: 1;
  transform: none;
}

/* Responsive */

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
    color: var(--white);
  }

  .site-header.is-solid .nav-toggle {
    color: var(--forest);
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    top: var(--header-h);
    z-index: 99;
    background: rgba(22, 36, 28, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
    -webkit-tap-highlight-color: transparent;
  }

  .nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 101;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
    background: rgba(238, 243, 239, 0.98);
    border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    color: var(--forest) !important;
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0.35rem 0.25rem;
    border-bottom: 1px solid var(--line);
    -webkit-tap-highlight-color: transparent;
  }

  .nav-phone {
    border: 0;
    margin-top: 0.35rem;
    justify-content: flex-start;
    padding-inline: 0.25rem;
    background: transparent !important;
    font-weight: 600;
  }

  .hero-content {
    padding-bottom: 3.25rem;
  }

  .hero-brand {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 3.5rem;
  }

  .gallery-stage {
    grid-template-columns: 1.15fr 0.85fr;
    grid-auto-rows: minmax(18rem, 28vw);
  }

  .gallery-item--wide {
    grid-column: 1 / -1;
  }

  .gallery-item img {
    min-height: 100%;
  }

  .offer-row {
    display: grid;
    grid-template-columns: minmax(12rem, 18rem) 1fr;
    gap: 1.5rem;
    align-items: baseline;
    padding: 1.85rem 0;
  }

  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .hero-content {
    margin-left: max(calc((100% - 1200px) / 2), 1.25rem);
    margin-right: auto;
  }
}
