/* ============================================================
   POLIANNA Studio Harmonii i Dotyku — luksusowy arkusz stylów
   ============================================================ */

/* ---------- Reset & zmienne -------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Bardziej nasycone, luksusowe odcienie ziemi */
  --cream:       #F2EAE1;
  --cream-light: #FAF6F0;
  --green:       #5D6E47; /* głębsza leśna zieleń */
  --green-light: #DCE5D3;
  --gold:        #B5A67B; /* szlachetniejsze złoto */
  --gold-light:  #E8E0CE;
  --text:        #5C5C54;
  --text-dark:   #4A3F35; /* ciepła ciemna ziemia, luksusowa i spójna z kremowym tłem */
  --white:       #ffffff;
  
  /* Lżejsze, bardziej przestrzenne cienie */
  --shadow:      0 8px 30px rgba(93, 110, 71, 0.06);
  --shadow-hover: 0 16px 40px rgba(93, 110, 71, 0.12);
  --glass-bg:    rgba(255, 255, 255, 0.75);
  --glass-border: rgba(181, 166, 123, 0.2);

  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'Lato', system-ui, sans-serif;

  --max-w:       1120px;
  --gap:         clamp(1.5rem, 4vw, 3rem);
  --radius:      24px; /* bardziej zaokrąglone, organiczne rogi */
  --nav-h:       84px;
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { overflow-x: hidden; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream-light);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Subtelny szum w tle całej strony */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.02;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3联%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typografia ------------------------------------- */
h1, h2, h3 {
  font-family: var(--serif);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 500;
}

.section-heading {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  position: relative;
  letter-spacing: -0.01em;
}

.section-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.2rem auto 0;
  opacity: 0.8;
}

/* ---------- Układ ----------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 3rem);
}

.section {
  padding-block: clamp(4rem, 8vw, 7.5rem);
  scroll-margin-top: var(--nav-h);
}

.section--alt {
  background: var(--cream);
}

.section--decor {
  position: relative;
  overflow: hidden;
}

/* ---------- Przycisk --------------------------------------- */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(93, 110, 71, 0.25);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(93, 110, 71, 0.35);
}

/* ---------- Nawigacja -------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(181, 166, 123, 0.15);
  height: var(--nav-h);
  transition: all 0.3s;
}

.nav-wrapper {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 3rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo-link {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  z-index: 10;
  text-decoration: none;
}

.nav-logo { 
  height: 105px; 
  width: auto; 
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  filter: drop-shadow(0 4px 10px rgba(93, 110, 71, 0.08));
}
.nav-logo:hover { transform: translateY(-50%) scale(1.06); }

.nav-logo-text {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.15em;
  margin-left: 110px; /* odstęp od pozycjonowanego absolutnie logo */
  line-height: 1;
  transition: color 0.3s;
}

.nav-logo-link:hover .nav-logo-text {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: clamp(0.8rem, 2vw, 2rem);
  align-items: center;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  padding-bottom: 6px;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: var(--green);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current="page"]::after {
  width: 80%;
}

.nav-links a[aria-current="page"] { color: var(--green); }

/* CTA i Przycisk Telefonu w Menu */
.nav-cta-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
}

.btn-nav-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background: var(--green);
  color: var(--white) !important;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 12px rgba(93, 110, 71, 0.12);
  white-space: nowrap;
}

.btn-nav-phone:hover {
  background: var(--gold);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(181, 166, 123, 0.22);
}

.phone-icon {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  display: block;
}

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--green);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- HERO ------------------------------------------ */
.hero {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  min-height: clamp(500px, 85vh, 800px);
  padding-block: var(--nav-h) 0;
  /* Gradient z lewej, zdjęcie kwadratowe pozycjonowane tak aby stopa była dobrze widoczna */
  background: linear-gradient(to right, 
                var(--cream-light) 0%, 
                var(--cream-light) 42%, 
                rgba(250, 246, 240, 0.95) 50%,
                rgba(250, 246, 240, 0) 65%
              ), 
              url('hero-treatment.jpg') 70% center / cover no-repeat,
              var(--cream-light);
}

/* Delikatne, pulsujące kule świetlne w tle hero (ambient glow) */
.hero::after {
  content: "";
  position: absolute;
  width: 30vw;
  height: 30vw;
  background: var(--green-light);
  filter: blur(120px);
  border-radius: 50%;
  opacity: 0.15;
  top: 10%;
  left: 2%;
  z-index: 1;
  pointer-events: none;
  animation: float-glow 15s infinite alternate ease-in-out;
}

@keyframes float-glow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, 30px) scale(1.1); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px; /* szersza niż pozostałe sekcje (1120px), ale ograniczona */
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 6vw, 4rem);
  display: flex;
  justify-content: flex-start;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 500px;
  padding-block: 4rem;
}

.hero-headline {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-dark);
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  opacity: 0.8;
}

@media (max-width: 991px) {
  .hero {
    background: linear-gradient(to right, 
                  var(--cream-light) 0%, 
                  var(--cream-light) 38%, 
                  rgba(250, 246, 240, 0.95) 50%,
                  rgba(250, 246, 240, 0) 72%
                ), 
                url('hero-treatment.jpg') 70% center / cover no-repeat,
                var(--cream-light);
  }
}

@media (max-width: 768px) {
  .hero {
    /* Na telefonach pionowy układ: zdjęcie full-bleed pod navem, potem tekst */
    min-height: auto;
    padding-block: var(--nav-h) 3rem;
    padding-inline: 0;
    display: block;
    background: var(--cream-light);
  }

  .hero-inner {
    display: block;
    padding-inline: clamp(1rem, 5vw, 2rem);
  }

  .hero-text {
    max-width: 100%;
    align-items: center;
    text-align: center;
    padding-block: 2rem 0;
  }

  .hero::before {
    content: "";
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    background: url('hero-treatment.jpg') center 40% / cover no-repeat;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
  }
}

/* Dekoracje liściowe */
.leaf-decor {
  position: absolute;
  width: clamp(200px, 30vw, 400px);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.035;
  background: var(--green);
  pointer-events: none;
}

.leaf-decor--top-right   { top: -5%;    right: -5%; }
.leaf-decor--bottom-left { bottom: -5%; left: -5%;  }
.leaf-decor--top-left    { top: -5%;    left: -5%;  }
.leaf-decor--bottom-right { bottom: -5%; right: -5%; }

/* ---------- O STUDIU -------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}

.about-photo-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #e0d8ce;
  aspect-ratio: 4/5;
  position: relative;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transform-origin: center 50%;
  display: block;
  transition: transform 0.8s ease;
}

.about-photo-wrap:hover .about-photo {
  transform: scale(1.15);
}

.about-text h3 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 1.5rem;
  font-family: var(--serif);
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text);
}

.about-text p:not(:last-child) {
  margin-bottom: 1.2rem;
}

/* ---------- MAPA REFLEKSOLOGII (Przywrócona) --------------- */
.reflex-intro {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
  font-size: 1.1rem;
}

.reflex-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.reflex-foot-wrap {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.foot-svg {
  width: 100%;
  max-width: 240px;
  display: block;
  margin-inline: auto;
  filter: drop-shadow(0 10px 25px rgba(93, 110, 71, 0.15));
}

/* Dostosowanie kolorów stref na stopie do luksusowej palety */
.zone-rect {
  transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0.85;
}

.zone-hit { cursor: pointer; }
.zone-hit:hover { fill: rgba(255,255,255, 0.25) !important; }

.reflex-tap-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gold);
  font-style: italic;
  margin-top: 1.2rem;
  letter-spacing: 0.05em;
}

/* Luksusowy panel informacyjny */
.reflex-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.4s;
}

.reflex-legend { display: flex; flex-direction: column; gap: 0.75rem; }

.reflex-legend-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.2rem;
  border-radius: 16px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.reflex-legend-item:hover,
.reflex-legend-item.active {
  background: var(--white);
  border-color: rgba(181, 166, 123, 0.25);
  box-shadow: 0 4px 15px rgba(93, 110, 71, 0.04);
}

.reflex-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}

#reflex-panel-detail h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-family: var(--serif);
}

#reflex-panel-detail p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.reflex-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  list-style: none;
}

.reflex-tags li {
  background: rgba(93, 110, 71, 0.08);
  border: 1px solid rgba(93, 110, 71, 0.15);
  border-radius: 30px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.reflex-back-btn {
  background: none;
  border: 1.5px solid var(--green);
  color: var(--green);
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.3s;
}

.reflex-back-btn:hover {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(93, 110, 71, 0.2);
}

@media (max-width: 768px) {
  .reflex-layout { grid-template-columns: 1fr; }
  .reflex-foot-wrap { position: static; margin-bottom: 2rem; }
  .foot-svg { max-width: 200px; }
  .reflex-panel { padding: 2rem 1.5rem; min-height: auto; }
}

/* ---------- CERTYFIKATY ----------------------------------- */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.cert-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cert-card--img {
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
}

.cert-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  background: #fcfcfc;
  border: 1px solid var(--glass-border);
}

.cert-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cert-card--img:hover .cert-img {
  transform: scale(1.05);
}

.cert-zoom-hint {
  position: absolute;
  inset: 0;
  background: rgba(93, 110, 71, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.3s;
}

.cert-img-wrap:hover .cert-zoom-hint {
  opacity: 1;
}

.cert-card-body {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.5rem 1rem;
  width: 100%;
}

.cert-card:not(.cert-card--img) .cert-card-body {
  padding: 0;
}

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

.cert-badge {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
}

.cert-info { flex: 1; }

.cert-info strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.cert-info span {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cert-info span::after {
  content: attr(data-year);
  color: var(--text);
  font-weight: 400;
  margin-left: 0.5rem;
  opacity: 0.7;
  text-transform: none;
}

/* ---------- USŁUGI (split layout) ------------------------- */
.services-features {
  display: flex;
  flex-direction: column;
}

.service-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--max-w);
  margin-inline: auto;
  width: 100%;
  padding-inline: clamp(1.5rem, 5vw, 3rem);
  padding-block: clamp(4rem, 6vw, 6rem);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  border-bottom: 1px solid rgba(181, 166, 123, 0.15);
}

.service-feature:last-child { border-bottom: none; }
.service-feature:first-child { padding-block-start: clamp(1.5rem, 3vw, 2.5rem); }

.service-feature--reverse .service-visual-wrap { order: 2; }
.service-feature--reverse .service-content   { order: 1; }

/* Przepiękny organiczny kształt kontenerów na obrazy */
.service-visual-wrap {
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 1.15;
  background: var(--cream);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid var(--glass-border);
}

.service-feature:nth-child(even) .service-visual-wrap {
  border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%;
}

.service-feature:hover .service-visual-wrap {
  border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
  transform: scale(1.02);
}

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

.service-content h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--text-dark);
  margin-bottom: 1.2rem;
}

.service-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}

@media (max-width: 768px) {
  .service-feature {
    grid-template-columns: 1fr !important;
    gap: 2rem;
    padding-block: 3rem;
  }
  .service-visual-wrap {
    order: -1 !important;
    aspect-ratio: 4/3;
    max-width: 480px;
    margin-inline: auto;
  }
  .service-content {
    order: unset !important;
  }
}

/* ---------- CENNIK (Kolekcja Premium / Menu SPA) ----------- */
.pricing-menu-wrap {
  max-width: 800px;
  margin-inline: auto;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pricing-menu {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pricing-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pricing-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.8rem;
}

.pricing-service {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.2;
}

.pricing-dots {
  flex: 1;
  border-bottom: 1.5px dotted var(--gold);
  opacity: 0.4;
  margin-bottom: 0.35rem;
}

.pricing-val {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--green);
  font-weight: 600;
}

.pricing-meta {
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}

.pricing-note {
  text-align: center;
  margin-top: 2rem;
  font-style: italic;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.15rem;
}

/* ---------- KONTAKT --------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.contact-info h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.6rem;
  font-size: 1.05rem;
}

.contact-item .ci-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  color: var(--gold);
}

.contact-item a { color: var(--green); font-weight: 700; transition: color 0.3s; }
.contact-item a:hover { color: var(--gold); }

.hours-table { border-collapse: collapse; width: 100%; margin-top: 0.4rem; }
.hours-table td { padding: 0.35rem 0.5rem 0.35rem 0; font-size: 0.95rem; }
.hours-table td:last-child { color: var(--text-dark); font-weight: 700; }

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2.2rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border: 1.5px solid var(--green);
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green);
  text-transform: uppercase;
  transition: all 0.3s;
}

.social-btn:hover {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(93, 110, 71, 0.2);
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 400px;
  background: #e0d8ce;
  border: 1px solid var(--glass-border);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}

/* ---------- STOPKA ---------------------------------------- */
.site-footer {
  background: #2C2C27; /* oryginalny głęboki grafit — niezależny od --text-dark */
  color: rgba(255,255,255,0.6);
  padding-block: 1.75rem; /* Zredukowana wysokość stopki */
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  order: 1;
}

.site-footer p { 
  font-size: 0.9rem; 
  letter-spacing: 0.03em; 
  margin: 0;
}

.creator-tag {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  display: inline-flex;
  align-items: center;
  order: 1; /* na desktopie: za footer-left, przed footer-right */
  margin-left: 0.75rem;
}

.creator-logo {
  height: 28px;
  width: auto;
  vertical-align: middle;
  margin-left: 0.4rem;
  transition: all 0.3s ease;
}

.creator-logo:hover {
  transform: scale(1.08);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  order: 2;
}

.footer-links a,
.footer-links button {
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
  font-size: 0.85rem;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.3s;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--gold);
}

.footer-sep {
  color: rgba(255,255,255,0.3);
  margin-inline: 0.5rem;
}

.footer-social { display: flex; gap: 1.5rem; }

.footer-social a {
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.footer-social a:hover { color: var(--gold); }

/* ---------- Lightbox -------------------------------------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(44, 44, 39, 0.95);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
  animation: fade-in 0.3s forwards;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.lightbox-close:hover { opacity: 1; }

/* ---------- Animacje scroll-reveal ------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1), 
              transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ------------------------------------ */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .site-header {
    background: #ffffff;
    backdrop-filter: none;
    height: var(--nav-h);
  }

  .nav-logo {
    height: 84px; /* nieco mniejsze na telefonach */
  }

  .nav-logo-text {
    font-size: 1.4rem;
    margin-left: 92px; /* dostosowany margines dla logo o wysokości 84px */
    letter-spacing: 0.1em;
  }

  .btn-nav-phone {
    padding: 0.6rem;
    border-radius: 50%;
  }

  .btn-nav-phone .phone-number {
    display: none; /* ukryj numer telefonu na tabletach i smartfonach, zostawiając samą okrągłą ikonkę */
  }

  .phone-icon {
    width: 16px;
    height: 16px;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    z-index: 99;
    background: #ffffff;
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2rem;
    box-shadow: 0 15px 30px rgba(93, 110, 71, 0.08);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0.4s;
    pointer-events: none;
    border-bottom: 1px solid rgba(181, 166, 123, 0.15);
  }

  .nav-links.open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links a { font-size: 1.1rem; }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-photo-wrap { aspect-ratio: 4/3; max-width: 440px; margin-inline: auto; }
  .contact-map { min-height: 300px; }
  .contact-map iframe { min-height: 300px; }

  .hero-image-wrap {
    order: -1; /* Obraz na telefonach ładuje się na samej górze sekcji */
    aspect-ratio: 16/9;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .footer-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    order: 1;
  }

  .footer-right {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    order: 2;
  }

  /* Kreator na samym dole na mobile */
  .creator-tag {
    order: 3;
    margin-left: 0;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  :root {
    --nav-h: 76px;
  }
}

/* ---------- VANILLA COOKIE CONSENT THEME ------------------- */
#cc-main {
  --cc-font-family: var(--sans);
  
  /* Kolory marki Polianna Studio */
  --cc-bg: var(--white);
  --cc-primary-color: var(--text-dark);
  --cc-secondary-color: var(--text);
  --cc-separator-border-color: rgba(181, 166, 123, 0.15);
  
  /* Przyciski */
  --cc-btn-primary-bg: var(--green);
  --cc-btn-primary-border-color: var(--green);
  --cc-btn-primary-color: var(--white);
  --cc-btn-primary-hover-bg: #4d5c3a;
  --cc-btn-primary-hover-border-color: #4d5c3a;
  --cc-btn-primary-hover-color: var(--white);

  --cc-btn-secondary-bg: none;
  --cc-btn-secondary-border-color: var(--green);
  --cc-btn-secondary-color: var(--green);
  --cc-btn-secondary-hover-bg: rgba(93, 110, 71, 0.05);
  --cc-btn-secondary-hover-border-color: var(--green);
  --cc-btn-secondary-hover-color: var(--green);
  
  /* Przełączniki (Toggles) */
  --cc-toggle-on-bg: var(--green);
  --cc-toggle-off-bg: #d1d5db;
  --cc-toggle-on-knob-bg: var(--white);
  --cc-toggle-off-knob-bg: var(--white);
  
  /* Zaokrąglenia */
  --cc-modal-border-radius: var(--radius); /* 24px */
  --cc-btn-border-radius: 30px;
  
  /* Cienie */
  --cc-modal-box-shadow: 0 15px 40px rgba(44, 44, 39, 0.12);
}

/* Dostosowanie linków wewnątrz baneru */
#cc-main a {
  color: var(--green);
  text-decoration: underline;
  font-weight: 700;
  transition: color 0.3s;
}

#cc-main a:hover {
  color: var(--gold);
}
