:root {
  --turkus: #2F8F8B;
  --turkus-jasny: #7EC6C3;
  --musztarda: #F2C75C;
  --zielen-lisc: #6FB56F;
  --koral: #E98A7A;
  --zielen-ciemna: #2F7D6F;
  --tlo-krem: #FBF7F1;

  --kropka-turkus: #8FD4D1;
  --kropka-zolta: #F6D98B;
  --kropka-koral: #F2A89C;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--tlo-krem);
  color: #333;
  
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Kompensacja fixed navbar na mobile */
@media (max-width: 767.98px) {
  body {
    padding-top: 20px;   /* dopasuj: zwykle 64–80px */
  }
}    

/* Nawigacja */
.navbar {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--turkus) !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  color: #555 !important;
}

.navbar-nav .nav-link:hover {
  color: var(--turkus) !important;
}

/* ikony w navbarze */
.navbar-icons .nav-icon{
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  color: #2F7D6F;                 /* dopasuj do palety */
  background: rgba(126,198,195,0.15);
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}

.navbar-icons .nav-icon:hover{
  background: #7EC6C3;
  color: #114443;
  transform: translateY(-1px);
}

/* telefon tylko na mobile – dodatkowe podkreślenie */
@media (max-width: 767.98px){
  .navbar-icons .nav-icon-phone{
    background: #F2C75C;
    color: #3c3c3c;
  }
}


/* Logo w navbarze */
.navbar-logo {
  height: 30px;     /* desktop */
  width: auto;
  margin-right: 10px;
}

/* Ukryj logo na mobile */
@media (max-width: 767.98px) {
  .navbar-logo {
    display: none;
  }
}

/* Jumbotron (hero) */
.jumbotron {
  background: linear-gradient(135deg, rgba(47,143,139,0.96), rgba(111,181,111,0.94));
  color: #fff;
  margin-bottom: 2rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.jumbotron::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,199,92,0.75), transparent 65%);
  top: -80px;
  right: -80px;
  opacity: 0.7;
}

.jumbotron-heading {
  text-transform: uppercase;
  letter-spacing: 0.20em;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.jumbotron .display-4 {
  font-weight: 800;
  font-size: 2.3rem;
  line-height: 1.25;
}

.hero-subtitle {
  font-size: 1.05rem;
  margin-top: 1rem;
  max-width: 540px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(251,247,241,0.15);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-badge span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--musztarda);
  margin-right: 0.6rem;
}

/* Przycisk główny i dodatkowe */
.btn-primary {
  background-color: var(--musztarda);
  border-color: var(--musztarda);
  color: #3c3c3c;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.6rem 1.5rem;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #e1b549;
  border-color: #e1b549;
  color: #333;
}

.btn-outline-light {
  border-radius: 999px;
  font-weight: 500;
  border-width: 1.5px;
}

.btn-accent-secondary {
  background-color: var(--turkus-jasny);
  border-color: var(--turkus-jasny);
  color: #114443;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.5rem 1.3rem;
  font-size: 0.9rem;
}

.btn-accent-secondary:hover {
  background-color: #68b4b0;
  border-color: #68b4b0;
  color: #07312f;
}

/* Sekcje */
.section-title {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--zielen-ciemna);
  margin-bottom: 0.25rem;
}

.section-heading {
  font-weight: 700;
  font-size: 1.7rem;
  margin-bottom: 1rem;
  color: #273533;
}

.lead {
  font-weight: 400;
  font-size: 1rem;
}

/* Hero – blok kontaktowy */
.contact-hero-address {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  color: #273533;
}

.contact-hero-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin: 0 6px;
  background-color: rgba(126,198,195,0.18);
  color: var(--zielen-ciemna);
  font-size: 1.2rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.contact-hero-social a:hover {
  background-color: var(--turkus-jasny);
  transform: translateY(-2px);
  color: #114443;
}

.contact-hero-details p {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.contact-hero-details i {
  margin-right: 6px;
  color: var(--koral);
}

.contact-hero-details a {
  color: #333;
  font-weight: 500;
}

.contact-hero-details a:hover {
  text-decoration: none;
  color: var(--zielen-ciemna);
}

/* Karty usług */
.service-card {
  border: none;
  border-radius: 1.25rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
  background-color: #ffffff;
  height: 100%;
}

.service-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: #fff;
  line-height: 1;
}

.service-icon-circle span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 5px;
}

.service-icon-1 { background-color: var(--turkus); }
.service-icon-2 { background-color: var(--musztarda); }
.service-icon-3 { background-color: var(--zielen-lisc); }

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.badge-age {
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
  background-color: rgba(126,198,195,0.15);
  color: var(--zielen-ciemna);
  font-weight: 500;
}

/* Oferta – karuzela 3 kart */
#offerCarousel .carousel-control-prev-icon,
#offerCarousel .carousel-control-next-icon {
  filter: invert(1) brightness(0); /* czarne strzałki */
  opacity: 0.85;
}

#offerCarousel .carousel-control-prev { left: -70px; }
#offerCarousel .carousel-control-next { right: -70px; }

#offerCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#offerCarousel .carousel-control-next:hover .carousel-control-next-icon {
  opacity: 1;
}

#offerCarousel .carousel-item .row{
  display: flex;
  flex-wrap: nowrap;
}

#offerCarousel .carousel-item .col-12,
#offerCarousel .carousel-item .col-md-4{
  flex: 0 0 100%;
  max-width: 100%;
}

#offerCarousel .card-body {
  min-height: 520px;
  max-height: 520px;
  overflow: hidden;
}

@media (min-width: 768px){
  #offerCarousel .carousel-item .col-12,
  #offerCarousel .carousel-item .col-md-4{
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

/* (opcjonalnie) ukryj strzałki na mobile – jak w teamCarousel */
@media (max-width: 767.98px) {
  #offerCarousel .carousel-control-prev,
  #offerCarousel .carousel-control-next {
    display: none;
  }
}

/* (opcjonalnie) lekki “oddech” żeby strzałki nie nachodziły na karty */
/*#offerCarousel .carousel-inner {
  padding-left: 32px;
  padding-right: 32px;
}*/

@media (max-width: 767.98px) {
  #offerCarousel .carousel-inner {
    padding-left: 0;
    padding-right: 0;
  }
}

#offerCarousel .service-card h3 {
  line-height: 1.3;
  min-height: 2.6em;   /* ≈ 2 linie tekstu (2 × 1.3em) */
  display: block;
}

.offer-indicators {
  bottom: -35px;
}

.offer-indicators li {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #bbb;
  margin: 0 4px;
}

.offer-indicators .active {
  background-color: #2E6164;
}

@media (min-width: 768px) {
  .offer-indicators {
    display: none;
  }
}

/* Sekcja "Jak wygląda współpraca" (featurette style) */
.featurette-divider {
  margin: 4rem 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.featurette-heading {
  font-weight: 700;
  font-size: 1.6rem;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--koral);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-right: 0.4rem;
}

.step-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* Sekcja "Zespół" */
.team-card {
  border: none;
  border-radius: 1.25rem;
  background-color: #ffffff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
  text-align: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.team-card .col-md-8 {
  min-height: 480px; /* desktop */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-badge {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--zielen-ciemna);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-name {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
  text-transform: none;
}

.team-title {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.75rem;
}

.team-signature {
  font-weight: 500;
  font-size: 0.9rem;
  margin-top: 0.25rem;
  color: #444;
}

.team-dot-corner {
  position: absolute;
  width: 100px;
  height: 100px;
  background-image:
    radial-gradient(circle at 10% 30%, var(--kropka-turkus) 2px, transparent 2px),
    radial-gradient(circle at 70% 60%, var(--kropka-koral) 3px, transparent 3px);
  background-size: 30px 30px;
  opacity: 0.4;
}

.team-dot-corner.left {
  top: -30px;
  left: -30px;
}

.team-dot-corner.right {
  bottom: -30px;
  right: -30px;
}

/* Zespół – zdjęcie w karcie */
.team-photo {
  width: 280px;
  height: 360px;
  border-radius: 1.25rem;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  background: #fff;
}

@media (max-width: 767.98px) {
  .team-photo { width: 180px; height: 240px; }
  .team-card .col-md-8 {
    min-height: 480px;
  }
}

/* Karuzela zespołu – czarne strzałki */
#teamCarousel .carousel-control-prev-icon,
#teamCarousel .carousel-control-next-icon {
  filter: invert(1) brightness(0);
  opacity: 0.85;
}

#teamCarousel .carousel-control-prev { left: -70px; }
#teamCarousel .carousel-control-next { right: -70px; }

#teamCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#teamCarousel .carousel-control-next:hover .carousel-control-next-icon {
  opacity: 1;
}

@media (max-width: 767.98px) {
  #teamCarousel .carousel-control-prev,
  #teamCarousel .carousel-control-next {
    display: none;
  }
}

/* Sekcja Kontakt */
.contact-card {
  border-radius: 1.25rem;
  background-color: #ffffff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  border: none;
}

.contact-highlight {
  border-left: 4px solid var(--turkus);
  padding-left: 0.75rem;
  margin-bottom: 0.75rem;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--zielen-ciemna);
}

.contact-value {
  font-size: 0.98rem;
  font-weight: 500;
}

.tag-pill {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background-color: rgba(233,138,122,0.1);
  color: var(--koral);
  font-weight: 500;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
}

 /* Gallery hero w karcie (6 zdjęć) */
  .hero-gallery .gallery-item {
    margin-bottom: 14px;
  }

  .hero-gallery .gallery-img {
    width: 100%;
    height: 120px;          /* desktop/tablet: stała wysokość kafelka */
    object-fit: cover;       /* przycinanie, bez rozciągania */
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    background: #fff;
    display: block;
  }

  .hero-gallery .gallery-caption {
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #273533;
    line-height: 1.2;
  }

  
  @media (max-width: 767.98px) {
.hero-gallery .gallery-img,
.hero-gallery-featured .gallery-img{
object-fit: contain;       /* nie przycina */
object-position: center;

}
}

/* kafelek jako "klikany" */
.hero-gallery-featured .gallery-tile{
  border-radius: 16px;
  padding: 10px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.hero-gallery-featured .gallery-tile:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.gallery-tile {
  color: inherit;
  text-decoration: none;
}

.gallery-tile:hover {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* obrazki w kafelkach */
.hero-gallery-featured .gallery-img{
  height: 120px;
  border-radius: 14px;
}

/* featured: większy obraz */
.hero-gallery-featured .gallery-img--featured{
  height: 258px; /* desktop: prawie wysokość 2 rzędów */
}

/* podpisy */
.hero-gallery-featured .gallery-caption{
  margin-top: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #273533;
}

/* Mobile: wszystko ładnie się składa (featured nie jest "za wysokie") */
/*@media (max-width: 767.98px){
  .hero-gallery-featured .gallery-tile{ padding: 8px; }
  .hero-gallery-featured .gallery-img{ height: 130px; }
  .hero-gallery-featured .gallery-img--featured{ height: 160px; }
  .hero-gallery-featured .gallery-caption{ font-size: 0.78rem; }
}*/

/* Stopka */
footer {
  padding: 2rem 0;
  color: #666;
  font-size: 0.85rem;
  border-top: 1px solid rgba(0,0,0,0.04);
  background-color: rgba(255,255,255,0.7);
}

footer a {
  color: var(--turkus);
}

footer a:hover {
  color: var(--zielen-ciemna);
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .jumbotron {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .jumbotron .display-4 {
    font-size: 1.8rem;
  }
}
html {
  scroll-behavior: smooth; /* działa dla przewijania po anchorach */
  scroll-padding-top: 80px; /* wysokość navbara (dostosuj jeśli trzeba) */
}

.page-hero {
  padding: 7rem 0 3rem;
  text-align: center;
}

.page-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #273533;
  margin-bottom: 0.75rem;
}

.page-subtitle {
  max-width: 760px;
  margin: 0 auto;
  color: #666;
  font-size: 1rem;
}

.section-note {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(126,198,195,0.14);
  color: var(--zielen-ciemna);
  font-size: 0.85rem;
  font-weight: 600;
}

/* desktop premium cards */
.price-card {
  background: #fff;
  border: none;
  border-radius: 1.25rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  height: 100%;
  overflow: hidden;
}

.price-card-body {
  padding: 1.5rem 1.5rem 1.25rem;
}

.price-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #273533;
  margin-bottom: 1rem;
  min-height: 2.8rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.93rem;
}

.price-row:last-child {
  border-bottom: none;
}

.price-row strong {
  color: var(--zielen-ciemna);
  white-space: nowrap;
  font-weight: 700;
}

.price-muted {
  margin: 0.85rem 0 0.5rem;
  font-size: 0.86rem;
  color: #666;
  line-height: 1.45;
}

.price-highlight {
  color: var(--turkus);
  font-weight: 700;
}

/* mobile accordion */
.pricing-accordion .card {
  border: none;
  border-radius: 1rem !important;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  margin-bottom: 0.9rem;
}

.pricing-accordion .card-header {
  background: #fff;
  border: none;
  padding: 0;
}

.pricing-accordion .btn-link {
  width: 100%;
  text-align: left;
  padding: 1rem 1.15rem;
  color: #273533;
  font-weight: 700;
  text-decoration: none;
  position: relative;
  white-space: normal;
}

.pricing-accordion .btn-link:hover,
.pricing-accordion .btn-link:focus {
  text-decoration: none;
  color: var(--turkus);
}

.pricing-accordion .btn-link::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--turkus);
  font-weight: 600;
}

.pricing-accordion .btn-link[aria-expanded="true"]::after {
  content: "–";
}

.pricing-accordion .card-body {
  background: #fff;
  padding-top: 0;
}

.back-link {
  color: var(--turkus);
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover {
  color: var(--zielen-ciemna);
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .page-hero {
    padding: 6rem 0 2rem;
  }

  .page-title {
    font-size: 1.8rem;
  }

  .page-subtitle {
    font-size: 0.95rem;
  }
}

.career-card {
  background: #fff;
  border: none;
  border-radius: 1.25rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  height: 100%;
}

.career-card .card-body {
  padding: 1.5rem;
}

.career-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #273533;
  margin-bottom: 0.75rem;
}

.career-meta {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
}

.form-control {
  border-radius: 0.9rem;
}

.modal-content {
  border: none;
  border-radius: 1.25rem;
}

.modal-header {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.modal-footer {
  border-top: none;
}
