/*
Theme Name: Senso Dzieciaki
Theme URI: https://sensodzieciaki.pl/
Author: OpenAI
Author URI: https://openai.com/
Description: Dedykowany motyw WordPress dla Senso Dzieciaki z edycją usług, cennika, galerii, zespołu i treści strony z poziomu panelu.
Version: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: senso-dzieciaki
*/
:root {
  --paper: #f5efe6;
  --paper-strong: #fbf7f1;
  --surface: rgba(255, 251, 246, 0.9);
  --surface-solid: #fffaf4;
  --mint: #b8dfc4;
  --sage: #94b99e;
  --blue: #198abc;
  --blue-soft: #5d96b8;
  --cream: #e8dcb3;
  --yellow: #e7bf2a;
  --yellow-soft: #f3e6a7;
  --brown: #9a6c3a;
  --ink: #5a3726;
  --muted: #7a665a;
  --line: rgba(90, 55, 38, 0.12);
  --shadow: 0 18px 42px rgba(90, 55, 38, 0.10);
  --shadow-soft: 0 12px 26px rgba(90, 55, 38, 0.08);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  color: var(--ink);
  font-family: "Nunito", "Trebuchet MS", system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(231, 191, 42, 0.10), transparent 30%),
    radial-gradient(circle at bottom right, rgba(184, 223, 196, 0.16), transparent 34%),
    linear-gradient(180deg, #f6f1e8 0%, #f3ede4 100%);
  line-height: 1.65;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -2;
}

body::before {
  left: -140px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  background: rgba(184, 223, 196, 0.34);
  border-radius: 53% 47% 44% 56% / 46% 40% 60% 54%;
}

body::after {
  right: -140px;
  top: -120px;
  width: 400px;
  height: 300px;
  background: rgba(231, 191, 42, 0.20);
  border-radius: 45% 55% 47% 53% / 58% 42% 58% 42%;
}

body.page-pricing main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url('assets/flyer-pricing.png') right 7rem top 3.5rem / min(36vw, 380px) auto no-repeat;
  opacity: 0.10;
  z-index: 0;
}

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

svg {
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

p,
ul,
ol {
  margin-top: 0;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  margin: 1rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border-radius: 14px;
  z-index: 9999;
}

h1,
h2,
h3,
.site-nav a,
.button,
.brand-name,
.eyebrow,
.price-value,
.price-time,
.tag-row span,
.meta-row span {
  font-family: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
  letter-spacing: 0.01em;
}

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

main {
  position: relative;
  isolation: isolate;
}

main > * {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 1rem 0 0;
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 250, 244, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  width: 64px;
  height: auto;
  flex: 0 0 auto;
}

.brand-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-size: clamp(1.55rem, 2.2vw, 2.05rem);
  font-weight: 800;
  white-space: nowrap;
}

.brand-senso {
  color: var(--yellow);
}

.brand-dzieciaki {
  color: var(--blue);
}

.brand-subtitle {
  margin-top: 0.26rem;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--ink);
  opacity: 0.88;
  white-space: nowrap;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(184, 223, 196, 0.48);
  color: var(--blue);
  transform: translateY(-1px);
}

.site-nav a[aria-current="page"] {
  background: rgba(184, 223, 196, 0.76);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(93, 150, 184, 0.22);
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

body.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  border: 0;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-small {
  min-height: 46px;
  padding-inline: 1.15rem;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-soft));
  box-shadow: 0 12px 24px rgba(25, 138, 188, 0.22);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 251, 246, 0.92);
  border: 1px solid var(--line);
}

.section {
  padding: 5.5rem 0;
}

.section-compact {
  padding-top: 2rem;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.34));
}

.hero,
.page-hero {
  position: relative;
  overflow: clip;
  padding: 4rem 0 3rem;
}

.hero::before,
.hero::after,
.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero::before,
.page-hero::before {
  left: -120px;
  top: -80px;
  width: 360px;
  height: 250px;
  background: rgba(231, 191, 42, 0.28);
  border-radius: 52% 48% 60% 40% / 56% 42% 58% 44%;
}

.hero::after,
.page-hero::after {
  right: -140px;
  bottom: -100px;
  width: 420px;
  height: 280px;
  background: rgba(184, 223, 196, 0.32);
  border-radius: 45% 55% 48% 52% / 52% 40% 60% 48%;
}

.hero-grid,
.page-grid,
.split-layout,
.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy,
.page-intro {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  color: var(--blue);
  font-size: 1rem;
  font-weight: 800;
}

.hero-copy h1,
.page-intro h1,
.section-heading h1 {
  margin: 1rem 0 0.8rem;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.compact {
  max-width: none;
  margin-bottom: 1.6rem;
}

.section-heading h2 {
  margin: 1rem 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.lead,
.section-heading p,
.note-card p,
.quick-card p,
.service-card p,
.copy-card p,
.price-card p,
.team-card p,
.gallery-card p,
.contact-card p,
.details-card p,
.map-card p,
.footer-copy,
.footer-meta,
.form-card p {
  color: var(--muted);
}

.lead {
  max-width: 60ch;
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.4rem 0 1.15rem;
}

.tag-row,
.meta-row,
.team-meta,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.tag-row span,
.meta-row span,
.team-meta span {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  font-weight: 800;
}

.card,
.quick-card,
.service-card,
.price-card,
.team-card,
.gallery-card,
.contact-card,
.note-card,
.media-card,
.copy-card,
.form-card,
.map-card,
.details-card,
.cta-band,
.info-card {
  background: rgba(255, 250, 244, 0.84);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-lg);
}

.home-visual {
  position: relative;
  min-height: 620px;
}

.hero-photo-main,
.hero-photo-secondary,
.page-media,
.media-card {
  overflow: hidden;
}

.hero-photo-main {
  position: absolute;
  inset: 1rem 2.2rem 4.6rem 2rem;
  border-radius: 34px;
  transform: rotate(-3deg);
}

.hero-photo-secondary {
  position: absolute;
  right: 0;
  bottom: 1.2rem;
  width: min(280px, 48%);
  aspect-ratio: 1 / 1;
  border-radius: 28px 28px 28px 100px;
}

.hero-photo-main img,
.hero-photo-secondary img,
.page-media img,
.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-note {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(340px, 60%);
  padding: 1.2rem 1.3rem;
}

.note-card h2,
.note-card h3,
.copy-card h2,
.form-card h2,
.details-card h3,
.map-card h3,
.quick-card h3,
.service-card h3,
.price-card h3,
.team-card h3,
.gallery-card h3,
.contact-card h3,
.info-card h3,
.cta-band h2 {
  margin: 0;
  line-height: 1.05;
}

.note-card h2,
.note-card h3,
.details-card h3,
.map-card h3,
.form-card h2,
.contact-card h3,
.info-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.45rem;
}

.quick-grid,
.service-grid,
.price-grid,
.team-grid,
.gallery-grid,
.contact-cards,
.info-grid {
  display: grid;
  gap: 1.2rem;
}

.quick-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.quick-card {
  display: block;
  padding: 1.3rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-card:hover,
.quick-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-accent {
  width: 56px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), var(--mint));
  margin-bottom: 1rem;
}

.quick-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.38rem;
}

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

.service-card {
  padding: 1.4rem;
}

.service-card.featured {
  background: linear-gradient(180deg, rgba(243, 230, 167, 0.50), rgba(255, 250, 244, 0.92));
}

.service-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.62rem;
}

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

.info-card {
  padding: 1.3rem;
}

.info-card p {
  margin-bottom: 0;
}

.page-media {
  border-radius: 36px;
  aspect-ratio: 4 / 5;
}

.page-media.square {
  aspect-ratio: 1 / 1;
}

.copy-card {
  padding: 1.8rem;
}

.copy-card h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.list-check li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--muted);
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 0.74rem;
  height: 0.74rem;
  border-radius: 50%;
  background: var(--yellow);
}

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

.price-card {
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.price-card.featured {
  background: linear-gradient(180deg, rgba(243, 230, 167, 0.58), rgba(255, 250, 244, 0.92));
  grid-column: span 2;
}

.price-card h3 {
  font-size: 1.6rem;
}

.price-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.price-time {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(184, 223, 196, 0.44);
  font-weight: 800;
}

.price-value {
  flex: 0 0 auto;
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

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

.team-card {
  padding: 1.3rem;
  text-align: left;
}

.team-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(184, 223, 196, 0.78), rgba(232, 220, 179, 0.96));
  display: grid;
  place-items: center;
  text-align: center;
}

.team-photo::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -20px;
  bottom: -26px;
  background: rgba(255, 255, 255, 0.34);
  border-radius: 50%;
}

.team-photo::after {
  content: "Zdjęcie specjalisty";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.team-photo span {
  position: relative;
  z-index: 1;
  font-size: 1.52rem;
  font-weight: 800;
}

.team-role {
  margin: -0.15rem 0 0.65rem;
  color: var(--blue);
  font-weight: 800;
}

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

.gallery-card {
  padding: 1.2rem;
}

.gallery-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.4rem;
}

.gallery-card p {
  margin-bottom: 0;
}

.placeholder-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 26px;
  display: grid;
  place-items: center;
  text-align: center;
  margin-bottom: 1rem;
  padding: 1rem;
  color: #fff;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
}

.placeholder-media::before {
  content: "";
  position: absolute;
  left: -24px;
  bottom: -28px;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.placeholder-media::after {
  content: "Tu dodamy zdjęcie";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 800;
}

.placeholder-1 {
  background: linear-gradient(135deg, var(--mint), var(--blue-soft));
}

.placeholder-2 {
  background: linear-gradient(135deg, var(--yellow), var(--blue));
}

.placeholder-3 {
  background: linear-gradient(135deg, var(--cream), var(--sage));
}

.placeholder-4 {
  background: linear-gradient(135deg, var(--blue-soft), var(--mint));
}

.placeholder-5 {
  background: linear-gradient(135deg, var(--yellow-soft), var(--brown));
}

.placeholder-6 {
  background: linear-gradient(135deg, var(--sage), var(--blue));
}

.contact-layout {
  align-items: start;
}

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

.contact-cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 1.4rem 0;
}

.contact-card {
  padding: 1.2rem;
}

.contact-card h3 {
  font-size: 1.38rem;
  margin-bottom: 0.4rem;
}

.contact-card p,
.contact-card small {
  margin: 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(184, 223, 196, 0.34);
  border: 1px solid rgba(93, 150, 184, 0.18);
  font-family: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  background: rgba(184, 223, 196, 0.5);
  color: var(--blue);
}

.form-card {
  padding: 1.4rem;
}

.form-card p {
  margin-bottom: 1rem;
}

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

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.95rem 1rem;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(93, 150, 184, 0.24);
  border-color: rgba(93, 150, 184, 0.34);
}

.details-card,
.map-card {
  padding: 1.35rem;
}

.details-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.details-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.details-list strong {
  white-space: nowrap;
}

.map-card {
  min-height: 290px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
  background: linear-gradient(180deg, rgba(184, 223, 196, 0.42), rgba(255, 250, 244, 0.95));
}

.map-card::before {
  content: "";
  position: absolute;
  top: -36px;
  right: -26px;
  width: 140px;
  height: 140px;
  background: rgba(231, 191, 42, 0.24);
  border-radius: 50%;
}

.map-card::after {
  content: "";
  position: absolute;
  left: 1.45rem;
  top: 1.45rem;
  width: 96px;
  height: 96px;
  background: linear-gradient(135deg, var(--blue), var(--blue-soft));
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 12px 24px rgba(25, 138, 188, 0.18);
}

.map-card-inner {
  position: relative;
  z-index: 1;
  max-width: 38ch;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.65rem 1.8rem;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 0.45rem;
}

.cta-band p {
  margin-bottom: 0;
  max-width: 56ch;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  flex: 0 0 auto;
}

.site-footer {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto 1rem;
  padding: 1.45rem 0 0;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.4rem;
  background: rgba(255, 250, 244, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  border-radius: 32px;
}

.brand-footer .brand-mark {
  width: 86px;
}

.brand-footer .brand-name {
  font-size: clamp(1.8rem, 2.2vw, 2.35rem);
}

.brand-footer .brand-subtitle {
  font-size: 0.82rem;
}

.footer-copy {
  display: grid;
  gap: 0.45rem;
  justify-items: end;
  text-align: right;
}

.footer-copy p {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}

.footer-meta {
  justify-content: flex-end;
  font-size: 0.95rem;
}

@media (max-width: 1120px) {
  .nav-shell {
    grid-template-columns: auto 1fr;
  }

  .hero-grid,
  .page-grid,
  .split-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

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

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


  .home-visual {
    min-height: 560px;
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
  }

  body.page-pricing main::before {
    background-size: min(42vw, 360px);
    background-position: right 2rem top 4rem;
  }
}

@media (max-width: 860px) {
  .site-header {
    padding-top: 0.75rem;
  }

  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    padding-top: 0.5rem;
  }

  body.menu-open .site-nav {
    display: flex;
  }

  .site-nav a {
    background: rgba(255, 255, 255, 0.72);
  }

  .brand-subtitle {
    display: none;
  }

  .hero,
  .page-hero {
    padding-top: 3rem;
  }

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

  .price-card.featured {
    grid-column: auto;
  }

  .cta-band,
  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-copy {
    justify-items: start;
    text-align: left;
  }

  .footer-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  body::before {
    width: 260px;
    height: 260px;
  }

  body::after {
    width: 280px;
    height: 220px;
  }

  .container {
    width: min(calc(100% - 1rem), var(--container));
  }

  .section {
    padding: 4.2rem 0;
  }

  .brand-mark {
    width: 56px;
  }

  .brand-name {
    font-size: 1.4rem;
  }

  .hero-copy h1,
  .page-intro h1,
  .section-heading h1 {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .section-heading h2 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .lead {
    font-size: 1rem;
  }

  .quick-grid,
  .service-grid,
  .info-grid,
  .gallery-grid,
  .team-grid,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .price-card-footer,
  .details-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-visual {
    min-height: 420px;
  }

  .hero-photo-main {
    inset: 0.7rem 1rem 5.2rem 0.9rem;
  }

  .hero-photo-secondary {
    width: 48%;
    border-radius: 24px 24px 24px 72px;
  }

  .hero-note {
    width: min(280px, 70%);
    padding: 1rem;
  }

  .button {
    width: 100%;
  }

  body.page-pricing main::before {
    background-size: min(60vw, 280px);
    background-position: right -1rem top 6rem;
  }
}

/* --- Update v3: pionowy układ usług i cennika + galeria z realnymi zdjęciami --- */
body.page-services .service-grid,
body.page-pricing .price-grid {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin-inline: auto;
}

body.page-services .service-card,
body.page-pricing .price-card {
  min-height: 228px;
  border-radius: 26px;
}

body.page-pricing .price-card.featured {
  grid-column: auto;
  background: rgba(255, 250, 244, 0.84);
}

body.page-pricing .price-card,
body.page-services .service-card {
  box-shadow: var(--shadow-soft);
}

body.page-services .service-card h3,
body.page-pricing .price-card h3 {
  margin-bottom: 0.65rem;
}

body.page-gallery .section.section-compact {
  padding-top: 2.4rem;
}

.gallery-stack {
  display: grid;
  gap: 1.45rem;
}

.gallery-room {
  display: grid;
  grid-template-columns: minmax(290px, 360px) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.gallery-room-copy {
  padding: 1.45rem;
  background: rgba(255, 250, 244, 0.84);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gallery-room-copy h2 {
  margin: 0.9rem 0 0.75rem;
  font-size: clamp(1.95rem, 3vw, 2.75rem);
  line-height: 0.98;
}

.gallery-room-copy p {
  margin-bottom: 0;
  color: var(--muted);
}

.room-note {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.gallery-room-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.room-shot {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 26px;
  background: rgba(255, 250, 244, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.room-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-shot-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(184, 223, 196, 0.82), rgba(93, 150, 184, 0.86));
  color: #fff;
}

.room-shot-placeholder span {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue);
  font-family: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.05;
}

@media (max-width: 1120px) {
  .gallery-room {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  body.page-services .service-grid,
  body.page-pricing .price-grid {
    max-width: 100%;
  }

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

@media (max-width: 620px) {
  body.page-services .service-card,
  body.page-pricing .price-card {
    min-height: auto;
  }

  .gallery-room-copy {
    padding: 1.2rem;
  }

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

/* --- Update v4: główna, galeria i interaktywna mapa --- */
.note-card h2:only-child {
  margin-bottom: 0;
}

body.home-page .hero-note {
  width: min(420px, 68%);
}

body.home-page .compact-heading {
  max-width: 100%;
  margin-bottom: 1.8rem;
}

body.home-page .compact-heading h2 {
  margin-bottom: 0;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card p {
  margin-bottom: 0.95rem;
}

.service-card .meta-row,
.price-card .price-card-footer {
  margin-top: auto;
}

.service-card .meta-row span,
.team-meta span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.home-page .service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

body.home-page .service-card {
  padding: 1.2rem;
  min-height: 100%;
}

body.home-page .service-card h3 {
  font-size: 1.42rem;
}

body.home-page .service-card p {
  font-size: 0.98rem;
}

body.home-page .service-card .meta-row {
  gap: 0.5rem;
}

body.home-page .service-card .meta-row span {
  min-height: 44px;
  text-align: center;
}

body.page-services .service-card,
body.page-pricing .price-card {
  height: 260px;
}

.room-label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-soft));
  color: #fff;
  box-shadow: 0 12px 24px rgba(25, 138, 188, 0.18);
  font-family: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.05;
}

.gallery-room-copy {
  gap: 0.9rem;
}

.gallery-room-copy p {
  margin: 0;
}

.map-card.map-card-embed {
  min-height: auto;
  padding: 1.35rem;
  display: block;
  background: rgba(255, 250, 244, 0.9);
}

.map-card.map-card-embed::before,
.map-card.map-card-embed::after {
  display: none;
}

.map-card.map-card-embed .map-card-inner {
  max-width: none;
}

.map-card.map-card-embed .map-card-inner p {
  margin-bottom: 0;
}

.map-frame {
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
  background: rgba(184, 223, 196, 0.14);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-link {
  margin-top: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(184, 223, 196, 0.34);
  border: 1px solid rgba(93, 150, 184, 0.18);
  font-family: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.map-link:hover,
.map-link:focus-visible {
  transform: translateY(-2px);
  background: rgba(184, 223, 196, 0.5);
  color: var(--blue);
}

@media (max-width: 1120px) {
  body.home-page .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  body.page-services .service-card,
  body.page-pricing .price-card {
    height: auto;
    min-height: 260px;
  }
}

@media (max-width: 620px) {
  body.home-page .hero-note {
    width: min(300px, 76%);
  }

  body.home-page .service-grid {
    grid-template-columns: 1fr;
  }

  body.page-services .service-card,
  body.page-pricing .price-card {
    min-height: auto;
  }

  .room-label {
    min-height: 44px;
    font-size: 0.95rem;
  }

  .map-frame {
    aspect-ratio: 1 / 1;
  }
}

/* WordPress adjustments */
.site-nav ul,
.site-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.site-nav li {
  margin: 0;
}

.site-nav .current-menu-item > a,
.site-nav .current_page_item > a,
.site-nav .current-menu-parent > a,
.site-nav a[aria-current="page"] {
  background: rgba(184, 223, 196, 0.5);
  box-shadow: inset 0 0 0 1px rgba(25, 138, 188, 0.18);
  color: var(--blue);
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.sd-shortcode-form .wpcf7,
.sd-shortcode-form form {
  width: 100%;
}

.sd-shortcode-form input[type="text"],
.sd-shortcode-form input[type="email"],
.sd-shortcode-form input[type="tel"],
.sd-shortcode-form textarea,
.sd-shortcode-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.92);
}

.sd-shortcode-form input[type="submit"],
.sd-shortcode-form button,
.sd-shortcode-form .wp-element-button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  font-family: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
  font-weight: 800;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 16px 34px rgba(25, 138, 188, 0.22);
}

.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

.team-photo.has-image::after {
  content: none;
}

.team-photo.has-image img {
  width: 100
.team-photo.has-image::after {
  content: none;
}

.team-photo.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 860px) {
  .site-nav ul,
  .site-menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .site-nav li,
  .site-menu li {
    width: 100%;
  }

  .site-nav li a {
    display: block;
  }
}
