:root {
  --white: #fff;
  --gold: #dab056;
  --beige: #f5f5dc;
  --background-light: #faf8f5;
  --text-dark: #333;
  --text-light: #777;
}
:not(input):not(textarea) {
    caret-color: transparent;
}

* {
  box-sizing: border-box;
}

/* Podstawowe style */
body {
  margin: 0;
  padding: 0;
  font-family: 'Lato', 'Segoe UI', 'Arial', sans-serif;
  background: var(--background-light);
  color: var(--text-dark);
  font-weight: 300;

  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-serif {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: var(--text-dark);
}

p,
span,
li,
a,
button,
input,
textarea,
.font-lato {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
}


/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  position: fixed;
  top: 0;
  z-index: 101;
  height: 100px;
  width: 100vw;
  transition: background-color 1s ease 0s;
  animation: fadeIn 1s ease-in-out;
  background-color: rgba(255, 255, 255, 1);
}

.nav-icon,
.menu {
  display: flex;
  align-items: center;
  padding: 100px;
}

.nav-icon {
  gap: 18px;
  font-size: 1.45rem;
  color: var(--text-dark);
  margin-right: 24px;
}

.nav-icon a {
  color: var(--text-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.nav-icon a:visited {
  color: var(--text-dark);
}

.nav-icon i {
  transition: color 0.2s;
  cursor: pointer;
}

.nav-icon a:hover i,
.nav-icon i:hover {
  color: var(--gold);
}

.logo {
  display: flex;
  align-items: center;
  position: absolute;
  background: transparent;
  left: 50%;
  transform: translateX(-50%);
  height: 100px;
  top: 0;
}

.logo img {
  height: 80%;
  background: transparent;
}

.logo a {
  display: flex;
  align-items: center;
  position: absolute;
  background: transparent;
  left: 50%;
  transform: translateX(-50%);
  height: 100px;
  top: 0;
}

.menu {
  gap: 44px;
  margin-left: auto;
  position: static;
  background: none;
  right: 0;
  opacity: 1;
  z-index: 10;
  transition: right 0.35s cubic-bezier(.77, 0, .18, 1), opacity 0.3s;
}

.menu a {
  display: block;
  position: relative;
  text-decoration: none;
  color: var(--text-dark);
  font-size: clamp(1rem, 1.5vw, 1.23rem);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  letter-spacing: 0.7px;
  padding: 2px 0;
  transition: color 0.2s;
}

.menu a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
  margin: 0 auto;
}

.menu a:hover,
.menu a:focus {
  color: var(--gold);
}

.menu a:hover::after,
.menu a:focus::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 20;
  margin-left: auto;
  position: relative;
}

.hamburger span {
  display: block;
  position: absolute;
  right: 0;
  width: 30px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(.77, 0, .18, 1);
}

.hamburger span:nth-child(1) {
  top: 8px;
}

.hamburger span:nth-child(2) {
  top: 17px;
  width: 20px;
}

.hamburger span:nth-child(3) {
  top: 26px;
}

.hamburger.open span:nth-child(1) {
  top: 17px;
  transform: rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(100px);
}

.hamburger.open span:nth-child(3) {
  top: 17px;
  transform: rotate(-45deg);
}

@media (max-width: 1000px) {
  .hamburger {
    display: flex;
  }

  .menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.08);
    padding: 100px 32px 32px;
    opacity: 0;
    pointer-events: none;
  }

  .menu.open {
    right: 0;
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
  }

  .menu a {
    width: 100%;
    padding: 18px 0;
    font-size: 1.15rem;
    border-bottom: 1px solid var(--beige);
    text-align: left;
  }

  .menu a:last-child {
    border-bottom: none;
  }
}

.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.menu-overlay.open {
  display: block;
  opacity: 1;
}

.hero {
  display: flex;
  height: 100vh;
  width: 100vw;
  position: relative;
  overflow: hidden;
  font-family: 'Cormorant Garamond', serif;
  background-color: var(--white);
}

.hero_left,
.hero_right {
  flex: 1 1 50%;
  display: flex;
  position: relative;
  overflow: hidden;
}


.hero_left {
  align-items: center;
  z-index: 2;
}
.hero-img-main {
  width: 100%;

  position: relative;
  left: 20%;
}

.hero_image-collage {
  position: absolute;
  width: 30%;
  height: 30%;
  animation: fadeIn 1.2s ease-out;
  right: 20%;
}

.collage-img {
  position: absolute;
  object-fit: cover;
  border-radius: 8px;

  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  image-rendering: -webkit-optimize-contrast; /* Dla Safari/Chrome - poprawia ostrość */
  image-rendering: high-quality;
}


.collage-img-main {
  width: 100%;
  height: 105%;
  top: 20%;
  left: 50%;
  z-index: 3;
  opacity: 1;
   transform: rotate(100deg);
}

.collage-img-bg1 {
  width: 100%;
  height: 100%;
  top: -10%;
  left: 0%;
  opacity: 1;
  transform: rotate(-100deg);
  z-index: 2;
}



.hero_right {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding-left: 5vw;
  padding-right: 5vw;
  text-align: center;
}

.hero_prof {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
 
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: fadeIn 1s ease-out 0.5s;
  position: relative;
  will-change: transform;
  animation-fill-mode: backwards;
  margin-bottom: 30px;
  line-height: 1.3;
}

.hero_tagline {
  font-size: clamp(2rem, 1.3vw, 1.15rem);
  color: var(--text-light);
  line-height: 1.7;
  font-family: 'Cormorant Garamond', serif;
  max-width: 45ch;
  animation: fadeIn 1s ease-out 0.7s;
  will-change: transform;
  position: relative;
  animation-fill-mode: backwards;
  text-align: center;
  margin-bottom: 40px;
  
}

.scroll-indicator {
  margin-top: 40px;
  font-size: 2rem;
  color: var(--text-light);
  animation: bounce 2s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero_name {
  position: absolute;
  bottom: 0vh;
  right: 5vw;
   font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(2rem, 7vw, 8rem);
  letter-spacing: -0.05em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 3;
  color: var(--text-dark);
  will-change: transform;
  opacity:1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.about {
  display: flex;
  align-items: flex-start;
  height: 80vh;
  padding: 15vh 5% 0;
  background: var(--background-light);
  position: relative;
  overflow: hidden;
}

.about_left,
.about_right {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 2.5%;
}

.about_left {
  justify-content: center;
}

.about_right {
  align-items: center;
}

.about_image {
  width: 100%;
  max-width: 450px;
  height: 70vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.about_link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s;
}

.about_link:hover {
  color: var(--gold);
}

.about-text {
  text-align: left;
}

.fade-text {
  font-size: clamp(1.6rem, 2.4vw, 1.9rem);
  line-height: 1.5;
  color: var(--text-dark);
  font-family: 'Cormorant Garamond', serif;
  position: relative;
}


.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 15px 35px;
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  border-radius: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(197, 179, 88, 0.4);
}

/* Sekcja "Usługi" */
.services {
  padding: 80px 5%;
  padding-bottom: 300px;
  background: var(--white);
  text-align: center;
  position: relative;
  margin-top: 15vh;
  z-index: 1;
  height: 100vh;
  overflow: h;
}

.services_header {
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.services_title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-family: 'Cormorant Garamond', serif;
}

.services_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.services_stylizacje,
.services_szkolenia {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services_stylizacje:hover,
.services_szkolenia:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.services_stylizacje img,
.services_szkolenia img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.services_stylizacje h3,
.services_szkolenia h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-family: 'Cormorant Garamond', serif;
}

.services_stylizacje p,
.services_szkolenia p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* Media Queries dla sekcji "Usługi" */
@media (max-width: 768px) {
  .services {
    min-height: 150vh;
  }

  .services_container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}


/* Sekcja "Reviews" */
.reviews {
  padding: 100px 5%;
  background: var(--background-light);
  text-align: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.reviews_header {
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.reviews_title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-family: 'Cormorant Garamond', serif;
}

.reviews_subtitle {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.6;
  color: var(--text-light);
  font-family: 'Lato', sans-serif;
}

.reviews_container {
  display: grid;
  margin: 0 auto;
}

.review-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  text-align: left;
  border-top: 4px solid var(--gold);

}

.review-card_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--beige);

}

.review-card_author {
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
}

.review-card_stars {
  color: var(--gold);
  font-size: 1.1rem;
}

.review-card_text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-light);
  font-style: italic;
}

.reviews_btn {
  margin-top: 4rem;
}

.reviews-carousel {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.reviews-carousel_viewport {
  overflow: hidden;
  width: 100%;
  min-height: 300px;
}

.reviews-carousel_track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.38s ease;
}

.review-card {
  width: calc(33.333% - 5rem);
  flex-shrink: 0;
}

.review-card:last-child {
  margin-right: 0;
}

.reviews-carousel_btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  background: white;
  color: var(--text-dark);
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  z-index: 10;
  transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews-carousel_btn:hover {
  transform: translateY(-50%) scale(1.06);
  color: var(--gold);
  border-color: var(--gold);
}

.reviews-carousel_btn.prev {
  left: -40px;
}

.reviews-carousel_btn.next {
  right: -40px;
}


/* Media Queries dla sekcji Hero */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }

  .hero_left,
  .hero_right {
    flex: 1 1 100%;
    width: 100vw;
    min-height: 40vh;
    align-items: center;
    justify-content: center;
  }
}

/* Dostosowanie dla tabletów */
@media (max-width: 1024px) {
  .hero_name {
    font-size: 10vw;
    bottom: 5vh;
    right: 5vw;
    text-align: right;
    width: auto;
  }

  .nav-icon,
  .menu {
    padding: 20px;
  }
}

/* Dostosowanie dla telefonów */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }

  .hero_right {
    padding-left: 0;
    text-align: center;
    align-items: center;
    height: 30vh;
  }

  .hero_image-collage {
    margin-top: 5vh;
    width: 300px;
    height: 360px;
  }

  .hero_tagline {
    max-width: 90%;
    margin-top: 1rem;
  }

  .hero_name {
    position: static;
    margin-top: 1rem;
    font-size: 12vw;
    opacity: 0.5;
    text-align: center;
    width: 100%;
    animation: none;
  }

  .about {
    flex-direction: column;
    padding: 15% 5%;
    height: auto;
    align-items: center;
  }

  .about_left,
  .about_right {
    padding: 0;
    align-items: center;
  }

  .about-text {
    text-align: center;
  }

  .about_image {
    margin-top: 3rem;
  }

  .nav-icon {
    display: none;
  }

  .logo {
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .logo img {
    max-height: 60px;
    width: auto;
  }

  .hamburger {
    display: flex;
    margin-right: 20px;
  }

  .reviews {
    padding: 80px 5%;
  }

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

  .review-card {
    width: 100%;
    padding: 2rem;
  }

  .reviews-carousel_btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .reviews-carousel_btn.prev {
    left: -10px;
  }

  .reviews-carousel_btn.next {
    right: -10px;
  }
}

/* Footer */
.footer {
  background: var(--white);
  padding: 80px 5%;
  border-top: 1px solid var(--beige);
  color: var(--text-light);
  position: relative;
  z-index: 3;
}

.footer_container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 3rem;
  text-align: left;
}

.footer_logo {
  height: 60px;
  margin-bottom: 1rem;
}

.footer_copyright {
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  /* Styl dziedziczony z globalnych ustawień h1,h2... */
  margin-bottom: 1.5rem;
}

.footer_nav a {
  display: block;
  text-decoration: none;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

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

.footer_contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.footer_contact a {
  text-decoration: none;
  color: var(--text-light);
  transition: color 0.3s;
}

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

.footer_social-icons {
  display: flex;
  gap: 1.5rem;
}

.footer_social-icons a {
  color: var(--text-dark);
  font-size: 1.5rem;
  transition: color 0.3s, transform 0.3s;
}

.footer_social-icons a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .footer_container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .footer_contact p {
    justify-content: center;
    gap: 2.5rem;
  }

  .footer_social-icons {
    justify-content: center;
  }
}



.subpage-hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
}

.subpage-hero_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.subpage-hero_content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.subpage-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin: 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.subpage-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  margin-top: 1rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

/* Sekcja Oferty (Szkolenia) */
.offer-section {
  padding: 80px 5%;
  background: var(--white);
}

.offer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.offer-item {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.offer-item:nth-child(even) {
  flex-direction: row-reverse;
}

.offer-item_text {
  flex: 1;
}

.offer-item_text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.offer-item_text p {
  line-height: 1.7;
  color: var(--text-light);
}

.offer-item_image {
  flex: 1;
  max-width: 450px;
}

.offer-item_image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Sekcja Cennika (Stylizacje) */
.pricelist-section {
  padding: 80px 5%;
  background: var(--background-light);
}

.pricelist-container {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.pricelist-category h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 1.5rem;
}

.pricelist-item,
.pricelist-item-extra {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--beige);
  font-size: 1.1rem;
}

.pricelist-item .price,
.pricelist-item-extra .price {
  font-weight: 700;
  color: var(--text-dark);
}

.pricelist-note {
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: right;
  margin-top: 0.5rem;
}

/* Sekcja Galerii */
.gallery-section {
  padding: 80px 5%;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.35s ease;
}

.gallery-item img:hover {
  transform: scale(1.03) translateZ(0);
}

/* Tylko stylizacje.html: jednorzędowa karuzela */
.gallery-section-stylizacje .gallery-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.gallery-section-stylizacje .gallery-carousel_viewport {
  overflow: hidden;
  overflow-y: hidden;
  min-width: 0;
}

.gallery-section-stylizacje .gallery-carousel_track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  width: max-content;
  max-width: none;
  margin: 0;
  transform: translateX(0);
  transition: transform 0.38s ease;
  will-change: transform;
}

.gallery-section-stylizacje .gallery-carousel_track .gallery-item {
  flex: 0 0 clamp(220px, 28vw, 320px);
  aspect-ratio: 4 / 5;
}

.gallery-section-stylizacje .gallery-carousel_track .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-section-stylizacje .gallery-carousel_btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  background: var(--white);
  color: var(--text-dark);
  font-size: 1.15rem;
  cursor: pointer;
  transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.gallery-section-stylizacje .gallery-carousel_btn:hover {
  transform: scale(1.06);
  color: var(--gold);
  border-color: var(--gold);
}

@media (max-width: 768px) {
  .gallery-section-stylizacje .gallery-carousel {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gallery-section-stylizacje .gallery-carousel_viewport {
    touch-action: pan-y;
  }

  .gallery-section-stylizacje .gallery-carousel_btn {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    justify-self: center;
  }
}

/* Sekcja Kontakt/Oferta na dole */
.contact-offer-section {
  padding: 80px 5%;
  background: var(--background-light);
  text-align: center;
}

.contact-offer-section p {
  max-width: 700px;
  margin: 0 auto 2rem auto;
  line-height: 1.7;
  color: var(--text-light);
}

/* --- Sekcja "O mnie" dla podstron (np. szkolenia.html) --- */
.hero-about-wrap {
  max-width: 1200px;
  margin: 140px auto 60px;
  padding: 16px;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.about-section_collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 160px;
  gap: 12px;
}

.about-section_collage .large {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.about-section_collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.about-section_text {
  background: var(--background-light);
  padding: 32px;
  border-radius: 12px;
  color: var(--text-dark);
}

.about-section_text p {
  margin: 0 0 1em;
  line-height: 1.7;
  font-size: 1.05rem;
}

@media(max-width:900px) {
  .about-section {
    grid-template-columns: 1fr;
  }

  .about-section_collage {
    grid-auto-rows: 120px;
  }
}

/* --- Layout szkoleń --- */
.training-layout {
  max-width: 1200px;
  margin: 36px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 50px;
  align-items: start;
}

.training-left {
  position: sticky;
  top: 100px;
  height: calc(100vh - 220px);
  display: flex;
  align-items: center;
}

.training-left ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.training-left li {
  margin: 8px 0;
}

.training-left a {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-left: 4px solid transparent;
  transition: all .3s ease;
}

.training-left a:hover {
  background: var(--background-light);
  color: var(--text-dark);
}

.training-left a.active {
  background: var(--background-light);
  color: var(--gold);
  border-left: 4px solid var(--gold);
  transform: translateX(5px);
}

.training-right {
  position: sticky;
  top: 120px;
}

.training-content {
  position: relative;
  min-height: 60vh;
  padding: 2.5rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 5rem;
  opacity: 1;
  transform: translateY(8px);
  transition: opacity .5s, transform .5s;
}

.training-content.active {
  opacity: 1;
  transform: translateY(0);
}

.training-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  margin: 0 0 .5em;
  color: var(--text-dark);
}

.training-content p {
  line-height: 1.7;
  color: var(--text-light);
}

.training-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 1.5em;
}

.training-content .meta {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5em;
  display: block;
}

.training-content .illustration {
  max-width: 420px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  margin: 2em 0;
}

.training-content h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  margin: 2em 0 1em;
  color: var(--text-dark);
  border-left: 3px solid var(--gold);
  padding-left: 10px;
}

.training-content h4 {
  font-size: 1.4rem;
  margin: 2em 0 1em;
  border-left: 3px solid var(--gold);
  padding-left: 10px;
}

.training-content .harmonogram ul {
  list-style: none;
  padding-left: 0;
}

.training-content .harmonogram li {
  padding: 5px 0;
  border-bottom: 1px solid var(--beige);
}

/* --- Media Queries --- */
@media(max-width:900px) {
  .training-layout {
    display: block;
  }

  .training-left {
    position: static;
    width: 100%;
    height: auto;
    overflow-x: auto;
    padding-bottom: 8px;
    transform: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .training-left::-webkit-scrollbar {
    display: none;
  }

  .training-left ul {
    display: flex;
    gap: 8px;
    width: max-content;
  }

  .training-left a {
    white-space: nowrap;
  }

  .training-right {
    padding-top: 2rem;
  }

  .training-content {
    position: static;
    min-height: auto;
    margin-bottom: 2rem;
  }
}

/* --- Sekcja kontaktowa --- */
.contact-offer-section .contact-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 2rem;
}

.contact-offer-section .contact-icons a {
  color: var(--text-dark);
  font-size: 1.8rem;
  transition: color .3s, transform .3s;
}

.contact-offer-section .contact-icons a:hover {
  color: var(--gold);
  transform: scale(1.1);
}

@media(max-width:768px) {
  .contact-offer-section .contact-icons {
    gap: 15px;
    font-size: 1.6rem;
  }
}

/* =================================== */
/* ========== GABINET.HTML =========== */
/* =================================== */
/* --- 1. Gabinet Intro Section --- */
.gabinet-intro-section {
  padding: 100px 5% 80px;
  background: var(--white);
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gabinet-intro-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  
}

.gabinet-intro_gallery {
  position: relative;
  height: 500px;
}

.gabinet-intro_gallery img {
  position: absolute;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.intro-img-1 {
  width: 70%;
  height: 80%;
  top: 0;
  left: 0;
  z-index: 2;
}

.intro-img-2 {
  width: 80%;
  height: 100%;
  bottom: 80px;
  right: 0px;
  z-index: 1;
  opacity: 0.6;
}

.gabinet-intro_text p {
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 1em;
}

/* --- 2. Team Section --- */
.team-section {
  padding: 80px 5%;
  background: var(--background-light);
}

.team-container-new {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.team-member-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  align-items: flex-start;
}

.team-member-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.team-member-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.team-member-info p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.team-member-info ul {
  list-style-type: '✓';
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.team-member-info ul li {
  padding-left: 0.5rem;
  margin-bottom: 0.3rem;
}

/* --- 3. CTA Button --- */
.cta-button-container {
  padding: 60px 5%;
  text-align: center;
  background: var(--background-light);
}

/* --- 4. Location Section --- */
.location-section {
  padding: 80px 5%;
  background: var(--white);
}

.location-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.location-map,
.location-photo {
  height: 550px;

  border-radius: 8px;
  overflow: hidden;

  position: relative;
 
}

.location-address-label {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.location-address-label p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.05rem;
}

.location-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;

}

/* --- Responsive --- */
@media (max-width: 900px) {

  .gabinet-intro-container,
  .location-container {
    grid-template-columns: 1fr;
  }

  .team-container-new {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .gabinet-intro_gallery {
    height: 400px;
  }

  .location-map,
  .location-photo {
    height: 400px;
  }

  .location-address-label {
    bottom: 1rem;
    left: 1rem;
    padding: 0.8rem 1.2rem;
  }
}

@media (max-width: 600px) {
  .team-member-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
/* --- Szkolenia: odswiezona sekcja About --- */
.hero-about-wrap {
  max-width: 1240px;
  margin: 140px auto 80px;
  padding: 0 20px 10px;
  position: relative;
}

.hero-about-wrap::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 10px;
  width: clamp(140px, 20vw, 260px);
  height: clamp(140px, 20vw, 260px);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(218, 176, 86, 0.22), rgba(218, 176, 86, 0));
  pointer-events: none;
  z-index: 0;
}

.hero-about-wrap > header {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem !important;
}

.hero-about-wrap .section-title {
  display: inline-block;
  margin-bottom: 0 !important;
  line-height: 1.1;
  text-wrap: balance;
}

.about-section {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 460px) 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: stretch;
}

.about-section_collage {
  display: block;
  padding: 14px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.09);
  border: 1px solid rgba(218, 176, 86, 0.28);
}

.about-section_collage .large {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  object-fit: cover;
  filter: saturate(1.05);
}

.about-section_text {
  background: linear-gradient(160deg, #ffffff 0%, #f8f3e9 100%);
  padding: clamp(1.4rem, 2.8vw, 2.4rem);
  border-radius: 20px;
  border: 1px solid rgba(218, 176, 86, 0.32);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
}

.about-section_text p {
  margin: 0;
  color: #4b4b4b;
  line-height: 1.82;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
}

.about-section_text p + p {
  margin-top: 0.95rem;
}

.about-section_text strong {
  color: #7a5d22;
  font-weight: 700;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .hero-about-wrap {
    margin-top: 126px;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .about-section_collage {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .hero-about-wrap {
    margin-top: 114px;
    margin-bottom: 58px;
    padding: 0 14px;
  }

  .hero-about-wrap > header {
    margin-bottom: 1.3rem !important;
  }

  .about-section_text {
    border-radius: 16px;
    padding: 1.15rem;
  }

  .about-section_text p {
    line-height: 1.72;
  }
}
