:root {
  --ae-bg: #faf7f2;
  --ae-bg-soft: #f3ede4;
  --ae-text: #2f2f2f;
  --ae-muted: #6f6660;
  --ae-line: rgba(47, 47, 47, 0.14);
  --ae-champagne: #d8bfa3;
  --ae-rose: #e8c7c8;
  --ae-gold: #b88a5a;
  --ae-gold-dark: #93683c;
  --ae-white: #fffdf9;
  --ae-radius: 8px;
  --ae-shadow: 0 18px 44px rgba(63, 45, 27, 0.1);
}

body:has(.ae-site) {
  background: var(--ae-bg);
  color: var(--ae-text);
}

.ae-site,
.ae-site * {
  box-sizing: border-box;
}

.ae-site {
  color: var(--ae-text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: var(--ae-bg);
}

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

.ae-site h1,
.ae-site h2,
.ae-site h3 {
  margin: 0;
  color: var(--ae-text);
  font-family: "Lora", Georgia, serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: none;
}

.ae-site h1 {
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  max-width: 11ch;
}

.ae-page-hero h1,
.ae-final h2 {
  max-width: 14ch;
}

.ae-site h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.ae-site h3 {
  font-size: 1.28rem;
}

.ae-site p {
  margin: 0;
}

.ae-site a {
  color: var(--ae-gold-dark);
}

.ae-section {
  padding: clamp(64px, 8vw, 118px) 0;
}

.ae-container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.ae-narrow {
  width: min(840px, calc(100% - 40px));
}

.ae-soft {
  background: var(--ae-bg-soft);
}

.ae-hero {
  min-height: calc(100svh - 88px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(250, 247, 242, 0.98), rgba(250, 247, 242, 0.78)),
    var(--ae-bg);
  padding-top: clamp(44px, 6vw, 84px);
}

.ae-hero-grid,
.ae-split-grid,
.ae-final-grid,
.ae-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.ae-hero-copy {
  display: grid;
  gap: 24px;
}

.ae-eyebrow {
  color: var(--ae-gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ae-lead {
  max-width: 66ch;
  color: var(--ae-muted);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}

.ae-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.ae-btn,
.ae-site .ae-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.ae-btn:hover {
  transform: translateY(-1px);
}

.ae-btn-primary {
  background: var(--ae-gold);
  color: #fff !important;
}

.ae-btn-primary:hover {
  background: var(--ae-gold-dark);
}

.ae-btn-secondary {
  background: transparent;
  border-color: var(--ae-gold);
  color: var(--ae-gold-dark) !important;
}

.ae-trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ae-muted);
  font-size: 0.94rem;
}

.ae-trust-list li,
.ae-check-list li,
.ae-check-grid li {
  position: relative;
  padding-left: 22px;
}

.ae-trust-list li::before,
.ae-check-list li::before,
.ae-check-grid li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ae-rose);
  box-shadow: 0 0 0 4px rgba(232, 199, 200, 0.22);
}

.ae-hero-media {
  margin: 0;
  position: relative;
}

.ae-hero-media img,
.ae-page-hero img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  border-radius: var(--ae-radius);
  box-shadow: var(--ae-shadow);
}

.ae-hero-media figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 270px;
  border-radius: 6px;
  padding: 14px 16px;
  background: rgba(255, 253, 249, 0.92);
  color: var(--ae-text);
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.ae-section-head {
  display: grid;
  gap: 14px;
  max-width: 770px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.ae-section-head.wide {
  max-width: 930px;
}

.ae-card-grid,
.ae-service-grid {
  display: grid;
  gap: 18px;
}

.ae-card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ae-card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ae-card,
.ae-service,
.ae-contact-card {
  border: 1px solid var(--ae-line);
  border-radius: var(--ae-radius);
  background: var(--ae-white);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 10px 28px rgba(60, 43, 29, 0.06);
}

.ae-card {
  display: grid;
  gap: 10px;
}

.ae-card p,
.ae-service p,
.ae-note,
.ae-local p,
.ae-contact-card p {
  color: var(--ae-muted);
}

.ae-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ae-service {
  display: grid;
  gap: 14px;
  align-content: start;
}

.ae-service img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.ae-service a {
  font-weight: 800;
  text-decoration: none;
}

.ae-service ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ae-muted);
}

.ae-center {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

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

.ae-gallery-preview img,
.ae-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  object-fit: cover;
  border-radius: var(--ae-radius);
  cursor: zoom-in;
}

.ae-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ae-step;
}

.ae-process li {
  counter-increment: ae-step;
  min-height: 210px;
  border: 1px solid var(--ae-line);
  border-radius: var(--ae-radius);
  padding: 24px;
  background: var(--ae-white);
}

.ae-process li::before {
  content: counter(ae-step, decimal-leading-zero);
  display: block;
  margin-bottom: 18px;
  color: var(--ae-gold);
  font-family: "Lora", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
}

.ae-process strong,
.ae-process span {
  display: block;
}

.ae-process span {
  margin-top: 8px;
  color: var(--ae-muted);
}

.ae-check-grid,
.ae-check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ae-check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ae-placeholder {
  color: var(--ae-muted);
  font-style: italic;
}

.ae-faq {
  display: grid;
  gap: 10px;
}

.ae-faq details {
  border: 1px solid var(--ae-line);
  border-radius: var(--ae-radius);
  background: var(--ae-white);
  padding: 0;
}

.ae-faq summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
}

.ae-faq details p {
  padding: 0 20px 20px;
  color: var(--ae-muted);
}

.ae-local {
  display: grid;
  gap: 18px;
}

.ae-seo-line {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.ae-stats-bar {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  margin: 24px 0 16px;
  flex-wrap: wrap;
}

.ae-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ae-stat-number {
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--ae-gold-dark);
  line-height: 1;
}

.ae-stat-label {
  font-size: 0.82rem;
  color: var(--ae-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ae-review {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ae-review-stars {
  color: var(--ae-gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.ae-review p {
  font-style: italic;
  color: var(--ae-text);
  flex: 1;
}

.ae-review-author {
  font-size: 0.82rem;
  color: var(--ae-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ae-price-from {
  margin: 6px 0 10px;
  font-size: 1rem;
  color: var(--ae-muted);
}

.ae-price-from strong {
  font-size: 1.4rem;
  color: var(--ae-gold-dark);
  font-family: "Lora", Georgia, serif;
}

.ae-card-featured {
  border: 2px solid var(--ae-gold);
  position: relative;
}

.ae-card-featured::before {
  content: "Najpopularniejszy";
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ae-gold);
  color: var(--ae-white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.ae-final {
  background: var(--ae-text);
  color: #fff;
}

.ae-final h2,
.ae-final p,
.ae-final .ae-eyebrow {
  color: #fff;
}

.ae-final .ae-btn-secondary {
  border-color: var(--ae-champagne);
  color: #fff !important;
}

.ae-form {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--ae-radius);
  padding: clamp(20px, 3vw, 30px);
  background: var(--ae-white);
  color: var(--ae-text);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.ae-final .ae-form {
  box-shadow: none;
}

.ae-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ae-form label,
.ae-checkboxes legend {
  display: grid;
  gap: 6px;
  color: var(--ae-text);
  font-weight: 800;
}

.ae-form input,
.ae-form select,
.ae-form textarea {
  width: 100%;
  border: 1px solid var(--ae-line);
  border-radius: 6px;
  background: #fff;
  color: var(--ae-text);
  font: inherit;
  padding: 11px 12px;
}

.ae-form textarea {
  resize: vertical;
}

.ae-form input:focus,
.ae-form select:focus,
.ae-form textarea:focus {
  border-color: var(--ae-gold);
  outline: 3px solid rgba(184, 138, 90, 0.18);
}

.ae-checkboxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  border: 1px solid var(--ae-line);
  border-radius: var(--ae-radius);
  margin: 0;
  padding: 16px;
}

.ae-checkboxes legend {
  grid-column: 1 / -1;
  padding: 0 6px;
}

.ae-checkboxes label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 600;
}

.ae-checkboxes input {
  width: auto;
  margin-top: 0.3em;
}

.ae-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ae-form-notice {
  border-radius: 6px;
  padding: 12px 14px;
  font-weight: 700;
}

.ae-form-success {
  background: #eff8ef;
  color: #245427;
}

.ae-form-error {
  background: #fff0f0;
  color: #7a2020;
}

.ae-page-hero {
  background: var(--ae-bg);
}

.ae-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.ae-filterbar button {
  border: 1px solid var(--ae-line);
  border-radius: 999px;
  background: var(--ae-white);
  color: var(--ae-text);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 8px 12px;
}

.ae-filterbar button.active,
.ae-filterbar button:hover {
  background: var(--ae-gold);
  border-color: var(--ae-gold);
  color: #fff;
}

.ae-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ae-gallery figure {
  display: grid;
  gap: 8px;
  margin: 0;
}

.ae-gallery figcaption {
  color: var(--ae-muted);
  font-size: 0.92rem;
}

.ae-contact-grid {
  align-items: start;
}

.ae-contact-card {
  position: sticky;
  top: 96px;
}

.ae-review span {
  color: var(--ae-muted);
  font-size: 0.92rem;
}

.ae-floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 9999;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  background: #25d366;
  color: #fff !important;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.ae-mobile-sticky-cta {
  display: none;
}

.main-header-menu .ae-menu-cta > a,
.ast-builder-menu .ae-menu-cta > a {
  border-radius: 6px;
  background: var(--ae-gold);
  color: #fff !important;
  padding-inline: 16px !important;
}

.ae-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(22, 18, 15, 0.82);
}

.ae-lightbox img {
  max-width: min(980px, 94vw);
  max-height: 88vh;
  border-radius: var(--ae-radius);
  object-fit: contain;
}

.ae-lightbox button {
  position: fixed;
  top: 16px;
  right: 16px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ae-text);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  padding: 10px 14px;
}

@media (max-width: 1024px) {
  .ae-hero-grid,
  .ae-split-grid,
  .ae-final-grid,
  .ae-contact-grid {
    grid-template-columns: 1fr;
  }

  .ae-card-grid.four,
  .ae-service-grid,
  .ae-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ae-contact-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .ae-container,
  .ae-narrow {
    width: min(100% - 28px, 1160px);
  }

  .ae-section {
    padding: 40px 0;
  }

  .ae-hero {
    min-height: auto;
    padding-top: 28px;
  }

  .ae-hero .ae-hero-media {
    display: none;
  }

  .ae-hero-copy {
    gap: 18px;
  }

  .ae-stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 8px 0 0;
    gap: 8px;
  }

  .ae-stat-number {
    font-size: 1.55rem;
  }

  .ae-stat-label {
    font-size: 0.7rem;
  }

  .ae-service img {
    aspect-ratio: 3 / 2;
  }

  .ae-site h1 {
    max-width: none;
    font-size: 2.1rem;
  }

  .ae-site h2 {
    font-size: 1.65rem;
  }

  .ae-actions,
  .ae-btn {
    width: 100%;
  }

  .ae-trust-list,
  .ae-card-grid.three,
  .ae-card-grid.four,
  .ae-service-grid,
  .ae-process,
  .ae-check-grid,
  .ae-form-grid,
  .ae-checkboxes {
    grid-template-columns: 1fr;
  }

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

  .ae-gallery figcaption {
    display: none;
  }

  .ae-process li {
    min-height: auto;
  }

  .ae-about-strip .ae-split-grid > img {
    display: none;
  }

  .ae-card-grid {
    padding-top: 16px;
  }

  .ae-hero-media figcaption {
    position: static;
    max-width: none;
    margin-top: 10px;
  }

  .ae-floating-whatsapp {
    display: none;
  }

  .ae-mobile-sticky-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9998;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--ae-white);
    border-top: 1px solid var(--ae-line);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
  }

  .ae-mobile-sticky-cta a {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    color: var(--ae-text);
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 900;
    text-decoration: none;
  }

  .ae-mobile-sticky-cta a:last-child {
    background: var(--ae-gold);
    color: #fff;
  }

  body:has(.ae-site) {
    padding-bottom: 58px;
  }
}

@media (max-width: 420px) {
  .ae-site h1 {
    font-size: 1.85rem;
  }

  .ae-site h2 {
    font-size: 1.45rem;
  }

  .ae-stat-number {
    font-size: 1.4rem;
  }

  .ae-stats-bar {
    gap: 14px;
  }
}
