:root {
  --bg: #f8f3ec;
  --paper: #fbf7f1;
  --surface: rgba(255, 255, 255, 0.62);
  --surface-strong: rgba(255, 255, 255, 0.78);

  --text: #30496f;
  --muted: #6f7d92;
  --line: rgba(225, 211, 196, 0.82);

  --primary: #4f7fc8;
  --primary-dark: #416cac;

  --peach: #f4c9a7;
  --peach-soft: #fff1e8;
  --blue-soft: #eaf5ff;
  --lilac-soft: #f3ecff;
  --green-soft: #ecfbf5;

  --shadow: 0 18px 46px rgba(48, 73, 111, 0.1);
  --shadow-soft: 0 12px 28px rgba(48, 73, 111, 0.07);

  --radius-xl: 42px;
  --radius-lg: 30px;
  --radius-md: 22px;

  --container: 1180px;
  --hero-width: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", sans-serif;
  background:
    url("../images/paper-texture.webp") repeat,
    linear-gradient(180deg, #fbf7f1 0%, #f7f2eb 100%);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.page-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("../images/decor-corners.png") center top / cover no-repeat;
  opacity: 0.92;
}

.site-header,
main {
  position: relative;
  z-index: 1;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* HEADER / MENU */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 14px 0 0;
}

.header-shell {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 16px;
  border-radius: 999px;
  opacity: 0.8;
  background: rgba(184, 157, 133, 0.295);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(234, 221, 206, 0.78);
  box-shadow: 0 12px 34px rgba(48, 73, 111, 0.08);
}

.brand img {
  width: 62px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
}

.main-nav a:not(.btn) {
  padding: 9px 13px;
  border-radius: 999px;
  transition: 0.22s ease;
}

.main-nav a:not(.btn):hover {
  background: rgba(255, 255, 255, 0.42);
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.22s ease;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 14px 30px rgba(79, 127, 200, 0.22);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(205, 191, 174, 0.9);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.58);
  transform: translateY(-2px);
}

.btn-white {
  color: var(--primary);
  background: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.btn-white:hover {
  transform: translateY(-2px);
}

/* HERO */

.hero {
  position: relative;
  width: min(var(--hero-width), calc(100% - 42px));
  min-height: 690px;
  margin: -82px auto 0;
  padding-top: 110px;
  overflow: hidden;
  border-radius: 0 0 120px 0;
  box-shadow: 0 22px 55px rgba(48, 73, 111, 0.08);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../images/header.webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(250, 246, 240, 0.98) 0%,
      rgba(250, 246, 240, 0.94) 19%,
      rgba(250, 246, 240, 0.78) 34%,
      rgba(250, 246, 240, 0.42) 48%,
      rgba(250, 246, 240, 0.12) 62%,
      rgba(250, 246, 240, 0) 74%
    ),
    linear-gradient(
      180deg,
      rgba(250, 246, 240, 0.32) 0%,
      rgba(250, 246, 240, 0.05) 38%,
      rgba(250, 246, 240, 0) 72%
    );
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(520px, 100%);
  padding: 54px 0 46px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
}

.eyebrow.light {
  color: #d8e6ff;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 8.7ch;
  margin-bottom: 22px;
  font-size: clamp(52px, 5.6vw, 82px);
  line-height: 0.94;
}

h2 {
  font-size: clamp(36px, 3.6vw, 58px);
  line-height: 0.98;
}

h3 {
  font-size: 28px;
  line-height: 1.05;
}

.hero-copy p {
  max-width: 34ch;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* GENERAL SECTIONS */

section {
  padding: 62px 0;
}

.section-head {
  margin-bottom: 32px;
}

.section-head.centered {
  text-align: center;
}

.section-head.centered p {
  max-width: 720px;
  margin: 14px auto 0;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.66;
}

/* HIGHLIGHTS */

.highlights {
  padding-top: 44px;
  padding-bottom: 42px;
}

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

.highlight-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: 0.25s ease;
}

.highlight-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(244, 201, 167, 0.32);
}

.highlight-card.featured {
  background: var(--surface-strong);
  transform: translateY(-8px);
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.highlight-card.featured:hover {
  transform: translateY(-12px);
}

.highlight-card h3 {
  position: relative;
  z-index: 1;
}

.highlight-card p {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.66;
}

/* PROCESS / SO FUNKTIONIERT'S */

.process {
  position: relative;
  padding: 54px 0 66px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.step-card {
  position: relative;
  overflow: hidden;
  min-height: 245px;
  text-align: center;
  padding: 28px 24px 26px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.62)),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(229, 211, 194, 0.9);
  box-shadow:
    0 18px 38px rgba(48, 73, 111, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  opacity: 0;
  transform: translateY(34px) scale(0.965);
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.18, 0.84, 0.25, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  transition-delay: var(--step-delay, 0ms);
}

.step-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 34%;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;

  background:
    linear-gradient(
      180deg,
      rgba(255, 241, 232, 0.92) 0%,
      rgba(244, 201, 167, 0.38) 38%,
      rgba(255, 255, 255, 0) 100%
    );

  opacity: 0.78;
  transform: translateY(-8px);
  transition:
    opacity .28s ease,
    transform .28s ease,
    height .28s ease;
}

.step-card:hover::before {
  height: 42%;
  opacity: 1;
  transform: translateY(0);
}
.step-card::after {
  content: "";
  position: absolute;
  left: -42px;
  bottom: -42px;
  z-index: 0;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  opacity: 0.48;
}

.step-card > * {
  position: relative;
  z-index: 1;
}

.step-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.step-card:hover {
  transform: translateY(-7px) scale(1.015);
  border-color: rgba(213, 190, 170, 1);
  box-shadow:
    0 24px 52px rgba(48, 73, 111, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.step-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(230, 211, 192, 0.95);
  box-shadow: 0 10px 24px rgba(48, 73, 111, 0.07);
}

.step-icon img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.step-number {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f2e6d6;
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.step-card h3 {
  margin: 0;
  color: var(--text);
  font-family: "Cormorant Garamond", serif;
  font-size: 29px;
  line-height: 1.05;
}

.step-card p {
  max-width: 24ch;
  margin: 13px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.step-peach::after {
  background: #f7d4bd;
}

.step-lilac::after {
  background: #ddd1f2;
}

.step-blue::after {
  background: #d8e8f3;
}

.step-green::after {
  background: #d9eee5;
}

.step-peach .step-icon {
  background: rgba(255, 244, 236, 0.9);
}

.step-lilac .step-icon {
  background: rgba(248, 241, 255, 0.9);
}

.step-blue .step-icon {
  background: rgba(239, 248, 255, 0.9);
}

.step-green .step-icon {
  background: rgba(239, 251, 246, 0.9);

}
.process-card,
.step-card,
.how-card,
.js-step-card {
  transition-delay: 0s !important;
}

.process-card:hover,
.step-card:hover,
.how-card:hover,
.js-step-card:hover {
  transition-delay: 0s !important;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    background .22s ease,
    border-color .22s ease !important;
}
/* AUDIENCE */

.audience {
  padding-top: 58px;
}

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

.audience-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: 0.25s ease;
}

.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(48, 73, 111, 0.13);
}

.audience-card img {
  width: 100%;
  aspect-ratio: 1.28 / 0.72;
  object-fit: cover;
}

.audience-copy {
  padding: 22px 22px 24px;
}

.audience-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.66;
}

.audience-copy .btn,
.audience-card .btn {
  margin-top: 18px;
  min-height: 42px;
  padding: 0 20px;
  font-size: 14px;
}

/* GALLERY */

.home-gallery {
  padding: 80px 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.home-gallery .section-head {
  text-align: center;
  margin-bottom: 34px;
}

.home-gallery .eyebrow {
  display: inline-block;
  color: #b4775f;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 8px;
}

.home-gallery h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin: 0 0 10px;
  color: #55372d;
}

.home-gallery p {
  color: #7a6259;
  margin: 0;
}

.gallery-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-preview img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 16px 36px rgba(85, 55, 45, .14);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}

.gallery-preview img:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 22px 46px rgba(85, 55, 45, .20);
}

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

.btn-gallery {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: #b4775f;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(180, 119, 95, .28);
}

.btn-gallery:hover {
  background: #9f624d;
}

.gallery-preview a {
  display: block;
  text-decoration: none;
}

.gallery-preview-item img {
  cursor: zoom-in;
}

body.lightbox-open {
  overflow: hidden !important;
}

body.lightbox-open header,
body.lightbox-open .site-header,
body.lightbox-open .topbar,
body.lightbox-open .main-nav,
body.lightbox-open .navbar,
body.lightbox-open .nav-wrap {
  opacity: 0 !important;
  pointer-events: none !important;
}

.lightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(55, 36, 30, .9) !important;
  padding: 24px !important;
}

.lightbox.is-open {
  display: flex !important;
}

.lightbox img {
  max-width: 90vw !important;
  max-height: 84vh !important;
  object-fit: contain !important;
  border-radius: 24px !important;
  box-shadow: 0 30px 90px rgba(0,0,0,.4) !important;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #55372d !important;
  cursor: pointer !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.25) !important;
}

.lightbox-close {
  top: 22px !important;
  right: 24px !important;
  width: 52px !important;
  height: 52px !important;
  font-size: 38px !important;
}

.lightbox-prev,
.lightbox-next {
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 58px !important;
  height: 58px !important;
  font-size: 48px !important;
}

.lightbox-prev {
  left: 24px !important;
}

.lightbox-next {
  right: 24px !important;
}

@media (max-width: 700px) {
  .lightbox-prev,
  .lightbox-next {
    width: 46px;
    height: 46px;
    font-size: 36px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }

  .lightbox img {
    max-width: 92vw;
    max-height: 78vh;
  }
}

/* PRICING */

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

.price-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px 24px;
  box-shadow: 0 12px 26px rgba(48, 73, 111, 0.05);
  transition: 0.25s ease;
}

.price-card::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -44px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(216, 232, 243, 0.46);
}

.price-card.featured {
  background: var(--surface-strong);
  box-shadow: 0 18px 36px rgba(79, 127, 200, 0.12);
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.price-card h3,
.price-card p {
  position: relative;
  z-index: 1;
}

.price-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.64;
}

/* CTA */

.cta {
  padding: 58px 0 88px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 46px;
  border-radius: 38px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.22), transparent 32%),
    linear-gradient(135deg, #416eb1 0%, #628bd0 100%);
  box-shadow: 0 24px 56px rgba(79, 127, 200, 0.25);
}

.cta-copy p {
  max-width: 720px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.68;
}

/* OGÓLNE ANIMACJE DLA INNYCH KAFELKÓW */

.reveal-item {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.contact-section {
  position: relative;
  padding: 90px 16px;
  display: flex;
  justify-content: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(244, 201, 167, .42), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(199, 217, 245, .36), transparent 30%),
    linear-gradient(180deg, #fff8ef, #f3e7dd);
}

.contact-card-fancy {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  text-align: center;
  width: min(940px, 100%);
  padding: 46px;
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.86), rgba(255,255,255,.58)),
    rgba(255,255,255,.72);
  border: 1px solid rgba(180, 119, 95, .22);
  box-shadow: 0 28px 70px rgba(85, 55, 45, .13);
}

.contact-card-fancy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,.6), transparent 42%),
    radial-gradient(circle at 92% 90%, rgba(244, 201, 167, .38), transparent 26%);
  pointer-events: none;
}

.contact-card-fancy::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(244, 201, 167, .42);
  pointer-events: none;
}

.contact-intro {
margin: 0 auto 32px;
text-align: center;
}

.contact-form-fancy {
  margin: 0 auto;
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.contact-intro {
  max-width: 680px;
  margin-bottom: 28px;
}

.contact-intro h2 {
  color: #55372d;
}

.contact-intro p {
  color: #7a6259;
  font-size: 17px;
  line-height: 1.7;
}

.contact-decor {
  position: absolute;
  z-index: 0;
  color: rgba(180, 119, 95, .18);
  pointer-events: none;
  user-select: none;
}

.contact-decor-cup {
  right: 72px;
  top: 58px;
  font-size: 76px;
  transform: rotate(-10deg);
}

.contact-decor-star {
  right: 170px;
  bottom: 70px;
  font-size: 56px;
}

.contact-decor-heart {
  left: 42px;
  bottom: 38px;
  font-size: 70px;
  transform: rotate(12deg);
}

.contact-form-fancy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form-fancy label {
  display: block;
  font-weight: 800;
  font-size: 13px;
  color: #55372d;
}

.contact-form-fancy label.full {
  grid-column: 1 / -1;
}

.contact-form-fancy span {
  display: block;
  margin-bottom: 8px;
}

.contact-form-fancy input,
.contact-form-fancy textarea {
  width: 100%;
  border: 1px solid rgba(180, 119, 95, .22);
  border-radius: 20px;
  padding: 15px 16px;
  background: rgba(255,255,255,.82);
  color: #55372d;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
  transition: .22s ease;
}

.contact-form-fancy textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form-fancy input:focus,
.contact-form-fancy textarea:focus {
  border-color: rgba(180, 119, 95, .7);
  box-shadow:
    0 0 0 4px rgba(244, 201, 167, .28),
    inset 0 1px 0 rgba(255,255,255,.9);
  background: #fff;
}

.contact-form-fancy button {
  justify-self: center;
  grid-column: 1 / -1;
  width: max-content;
  border: 0;
  border-radius: 999px;
  padding: 15px 28px;
  background: #b4775f;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(180, 119, 95, .28);
  transition: .22s ease;
}

.contact-form-fancy button:hover {
  background: #9f624d;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(180, 119, 95, .34);
}

.contact-success {
  display: inline-block;
  margin: 0 0 18px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(236, 251, 245, .95);
  border: 1px solid rgba(91, 166, 132, .28);
  color: #3f8064;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(63, 128, 100, .12);
}

.hidden-field{position:absolute;left:-9999px}

/*.contact-section{padding:80px 16px;background:linear-gradient(180deg,#fff8ef,#f3e7dd)}
.contact-card{width:min(880px,100%);margin:auto;background:rgba(255,255,255,.74);border:1px solid rgba(70,45,31,.12);border-radius:32px;padding:34px;box-shadow:0 18px 50px rgba(60,35,20,.08)}
.contact-card h2{font-size:clamp(32px,5vw,54px);margin:8px 0 12px}.contact-card p{color:#806f64}
.contact-form{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}
.contact-form label{font-weight:700;font-size:13px}.contact-form input,
.contact-form textarea{width:100%;box-sizing:border-box;margin-top:7px;border:1px solid rgba(70,45,31,.14);border-radius:18px;padding:14px;background:#fff}
.contact-form textarea{min-height:130px}
.contact-form label:nth-child(5){grid-column:1/-1}
.contact-form button{grid-column:1/-1;width:max-content;border:0;border-radius:999px;background:#b86f67;color:#fff;padding:14px 22px;font-weight:800}
.hidden-field{position:absolute;left:-9999px}
.eyebrow{color:#b86f67;font-weight:800;text-transform:uppercase;letter-spacing:.12em;font-size:13px}*/

/* FOOTER */

.site-footer {
  position: relative;
  margin-top: 40px;
  padding: 54px 18px 24px;
  background:
    radial-gradient(circle at 15% 20%, rgba(244,201,167,.32), transparent 28%),
    linear-gradient(180deg, rgba(255,248,239,.92), rgba(243,231,221,.96));
  border-top: 1px solid rgba(180,119,95,.18);
  color: #55372d;
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr .7fr;
  gap: 34px;
  align-items: start;
}

.footer-logo {
  width: 120px;
  margin-bottom: 14px;
}

.footer-inner p {
  max-width: 340px;
  color: #7a6259;
  line-height: 1.6;
  margin: 0;
}

.footer-contact,
.footer-links {
  display: grid;
  gap: 9px;
}

.footer-contact strong {
  margin-bottom: 6px;
}

.site-footer a {
  color: #55372d;
  text-decoration: none;
}

.site-footer a:hover {
  color: #b4775f;
}

.footer-bottom {
  width: min(1180px, 100%);
  margin: 34px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(180,119,95,.16);
  color: #8b756b;
  font-size: 13px;
  text-align: center;
}

/* LEGAL */

.legal-page {
  min-height: 100vh;
  padding: 70px 18px;
  background:
    url("../images/paper-texture.png") repeat,
    linear-gradient(180deg, #fbf7f1, #f3e7dd);
}

.legal-card {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 44px;
  border-radius: 36px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(180,119,95,.18);
  box-shadow: 0 24px 60px rgba(85,55,45,.12);
  color: #55372d;
}

.legal-card h1 {
  max-width: none;
  font-size: clamp(42px, 6vw, 68px);
  margin-bottom: 28px;
}

.legal-card h2 {
  margin-top: 30px;
  font-size: 28px;
}

.legal-card p {
  color: #6f5f58;
  line-height: 1.75;
}

.legal-card a {
  color: #b4775f;
  font-weight: 700;
}

/* RESPONSIVE */

@media (max-width: 1180px) {
  :root {
    --container: 1000px;
  }

  .hero {
    width: min(100% - 32px, 1120px);
    min-height: 650px;
    border-radius: 0 0 90px 0;
  }

  .hero-grid {
    min-height: 520px;
  }

  h1 {
    font-size: clamp(48px, 6vw, 72px);
  }

  .main-nav {
    gap: 4px;
    font-size: 14px;
  }

  .main-nav a:not(.btn) {
    padding: 8px 10px;
  }

  .brand img {
    width: 180px;
  }
}

@media (max-width: 1060px) {
  .hero {
    min-height: 720px;
    border-radius: 0 0 72px 0;
  }

  .hero-bg {
    background-position: 60% top;
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(250, 246, 240, 0.94) 0%,
        rgba(250, 246, 240, 0.82) 24%,
        rgba(250, 246, 240, 0.54) 44%,
        rgba(250, 246, 240, 0.2) 64%,
        rgba(250, 246, 240, 0) 84%
      ),
      linear-gradient(
        90deg,
        rgba(250, 246, 240, 0.94) 0%,
        rgba(250, 246, 240, 0.78) 42%,
        rgba(250, 246, 240, 0.28) 72%,
        rgba(250, 246, 240, 0) 90%
      );
  }

  .hero-grid {
    min-height: 610px;
    align-items: flex-end;
  }

  .hero-copy {
    width: min(650px, 100%);
    padding-top: 220px;
  }

  h1 {
    max-width: 9ch;
  }

  .highlights-grid,
  .audience-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cta-box {
    display: grid;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(var(--container), calc(100% - 30px));
  } 

  .contact-card-fancy {
    padding: 30px 22px;
    border-radius: 32px;
  }

  .contact-form-fancy {
    grid-template-columns: 1fr;
  }

  .contact-form-fancy button {
    width: 100%;
  }

  .contact-decor-cup {
    right: 24px;
    top: 28px;
    font-size: 54px;
  }
  .site-header {
    padding-top: 10px;
  }

  .header-shell {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 28px;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 8px;
  }

  .brand img {
    width: 150px;
  }

  .hero {
    width: calc(100% - 22px);
    min-height: 690px;
    margin-top: -116px;
    padding-top: 148px;
    border-radius: 0 0 52px 0;
  }

  .hero-bg {
    background-position: 66% top;
  }

  .hero-grid {
    min-height: 540px;
  }

  .hero-copy {
    width: 100%;
    padding: 210px 0 34px;
  }

  h1 {
    max-width: 8.4ch;
    font-size: 52px;
  }

  h2 {
    font-size: 40px;
  }

  .hero-copy p {
    max-width: 30ch;
    font-size: 16px;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn {
    min-height: 46px;
    padding: 0 20px;
  }

  section {
    padding: 52px 0;
  }

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

  .step-card {
    min-height: auto;
    padding: 26px 22px 24px;
  }

  .gallery-grid img {
    min-height: 260px;
  }

  .gallery-preview {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-box {
    padding: 32px 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-inner p {
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 660px;
    border-radius: 0 0 38px 0;
  }

  .hero-copy {
    padding-top: 235px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .audience-card img {
    aspect-ratio: 1.15 / 0.78;
  }

  .step-card h3 {
    font-size: 28px;
  }

  .home-gallery {
    padding: 56px 16px;
  }

  .gallery-preview {
    gap: 12px;
  }

  .gallery-preview img {
    border-radius: 20px;
  }
}

/* ===============================
   PORZELANNA MOBILE CLEAN FIX
================================ */

/* =========================================
   PORZELANNA — TWARDY MOBILE FIX
   wrzuć NA SAM KONIEC style.css
========================================= */

@media (max-width: 900px) {

  html, body {
    overflow-x: hidden !important;
  }

  /* --- GŁÓWNY KONTENER / KARTY --- */
  .site-shell,
  .page-shell,
  .hero-shell,
  .section-shell,
  .top-card,
  .hero-card,
  .nav-card,
  .site-header {
    width: calc(100% - 24px) !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .top-card,
  .hero-card,
  .nav-card,
  .site-header {
    padding: 18px 16px !important;
    border-radius: 28px !important;
  }

  /* --- LOGO --- */
  .logo,
  .brand,
  .site-logo {
    display: block !important;
    margin-bottom: 12px !important;
  }

  .logo img,
  .brand img,
  .site-logo img {
    width: auto !important;
    max-width: 180px !important;
    max-height: 120px !important;
    height: auto !important;
    display: block !important;
  }

  /* --- MENU: 4 linki + przycisk pod spodem --- */
  nav,
  .nav,
  .nav-links,
  .menu,
  .header-nav {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px 8px !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 10px !important;
  }

  nav a,
  .nav a,
  .nav-links a,
  .menu a,
  .header-nav a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-width: 0 !important;
    text-align: center !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    padding: 8px 4px !important;
    position: static !important;
  }

  /* --- PRZYCISK CTA ma być pod menu, nie z boku --- */
  .btn,
  .button,
  .nav-cta,
  .hero-cta,
  .cta-button,
  .request-button,
  .anfragen-button {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-height: 48px !important;
    height: 48px !important;
    margin: 4px 0 0 0 !important;
    border-radius: 999px !important;
    font-size: 16px !important;
    padding: 0 18px !important;
    box-sizing: border-box !important;
  }

  /* --- HERO: usuń wielką pustą przestrzeń --- */
  .hero,
  .hero-section,
  .intro,
  .top-section,
  .hero-inner {
    min-height: auto !important;
    height: auto !important;
    padding-top: 12px !important;
    padding-bottom: 22px !important;
  }

  .hero-content,
  .hero-text,
  .intro-content {
    margin-top: 18px !important;
    padding-top: 0 !important;
  }

  /* jeśli gdzieś było 100vh / giant hero */
  .hero,
  .hero-section,
  .intro,
  .hero-inner,
  .hero-card {
    min-height: unset !important;
  }

  .hero h1,
  .hero-title,
  .intro h1 {
    font-size: clamp(40px, 11vw, 58px) !important;
    line-height: 0.95 !important;
    margin-bottom: 16px !important;
  }

  .hero p,
  .hero-subtitle,
  .intro p {
    font-size: 16px !important;
    line-height: 1.45 !important;
    margin-bottom: 0 !important;
  }

  /* --- KAFELKI "ABLAUF" / PROCESS --- */
  .steps-grid,
  .process-grid,
  .how-grid,
  .timeline-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .step-card,
  .process-card,
  .how-card,
  .timeline-card {
    min-height: unset !important;
    height: auto !important;
    padding: 20px 14px !important;
    border-radius: 24px !important;
  }

  .step-card .icon,
  .step-icon,
  .process-icon,
  .how-icon {
    width: 54px !important;
    height: 54px !important;
    margin: 0 auto 10px !important;
  }

  .step-card .number,
  .step-number,
  .process-number {
    width: 48px !important;
    height: 48px !important;
    font-size: 18px !important;
    margin: 0 auto 10px !important;
  }

  .step-card h3,
  .process-card h3,
  .how-card h3 {
    font-size: 22px !important;
    line-height: 1.1 !important;
    margin-bottom: 8px !important;
    text-align: center !important;
  }

  .step-card p,
  .process-card p,
  .how-card p {
    font-size: 14px !important;
    line-height: 1.4 !important;
    text-align: center !important;
    margin: 0 !important;
  }

  /* --- KARTY ZE ZDJĘCIAMI NA GŁÓWNEJ --- */
  .cards,
  .offer-grid,
  .occasion-grid,
  .home-gallery,
  .gallery-preview,
  .preview-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .card,
  .offer-card,
  .occasion-card,
  .gallery-card {
    overflow: hidden !important;
    border-radius: 24px !important;
    min-height: unset !important;
  }

  .card img,
  .offer-card img,
  .occasion-card img,
  .gallery-card img,
  .home-gallery img,
  .gallery-preview img {
    width: 100% !important;
    height: 180px !important;
    max-height: 180px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }

  .card-content,
  .offer-card-content,
  .occasion-card-content {
    padding: 18px 18px 22px !important;
  }

  .card h3,
  .offer-card h3,
  .occasion-card h3 {
    font-size: 22px !important;
    line-height: 1.1 !important;
    margin-bottom: 8px !important;
  }

  .card p,
  .offer-card p,
  .occasion-card p {
    font-size: 15px !important;
    line-height: 1.45 !important;
    margin: 0 !important;
  }

  /* --- ODSTĘPY SEKCJI --- */
  section,
  .section {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }
}

@media (max-width: 420px) {
  /* jeśli 2 kolumny kafelków nadal za ciasne */
  .steps-grid,
  .process-grid,
  .how-grid,
  .timeline-grid {
    grid-template-columns: 1fr !important;
  }
}