
:root {
    --green: #11814e;
    --green-dark: #0d6c42;
    --green-soft: #16965a;
    --text: #1d1d1f;
    --muted: #5f6368;
    --bg: #f6f5f3;
    --card: #ffffff;
    --border: #e8e4de;
    --shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
    --shadow-strong: 0 6px 18px rgba(0, 0, 0, 0.08);
    --radius: 18px;
    --container: 1120px;
  }

  * {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    margin: 0;
    font-family: "Inter", system-ui, sans-serif;
    color: var(--text);
    background: var(--bg);
  }

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

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

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

  /* BANER */
  .header {
    width: min(var(--container), calc(100% - 32px));
    margin: 10px auto;
    padding: 14px 18px;
    text-align: center;
    background: linear-gradient(90deg, #0d7347 0%, #11814e 100%);
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-strong);
  }

/*  #buzz-word {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: 2.6rem;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #ffffff;
  }*/
  #buzz-word {
    font-family: 'Great Vibes', cursive; /* Użyj 'Great Vibes' i dodaj 'cursive' jako rezerwę */
    font-size: 2.6rem !important;
    color: #ffffff !important;
    margin: 2% 0;
}

  /* TOPBAR */
 
.topbar-inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 10px auto;
  padding: 0 22px;
  min-height: 70px;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 16px;

  background: linear-gradient(90deg, #11814e 0%, #158a53 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}
  .phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    margin-right: 8px;
    white-space: nowrap;

    color: #fff;
    font-size: 18px;
    font-weight: 600;
  }

  .phone .icon {
    font-size: 22px;
    line-height: 1;
  }

  .nav {
    flex: 0 1 auto;
    min-width: 0;
  }

  .menu {
    list-style: none;
    margin: 0;
    padding: 0;

    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .menu > li {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
  }

  .menu > li.has-dropdown {
    flex: 0 0 auto;
    min-width: 0;
  }

  .menu > li > a {
    min-height: 58px;
    padding: 0 12px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.1;
    text-align: center;
    border-radius: 14px;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .menu > li > a:hover {
    background: rgba(0, 0, 0, 0.08);
  }

  .menu > li.active > a,
  .menu > li.has-dropdown:hover > a {
    background: rgba(0, 0, 0, 0.10);
  }

  .menu > li.has-dropdown > a::after {
    content: "▼";
    font-size: 9px;
    margin-left: 8px;
    transform: translateY(1px);
  }

  .dropdown {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    width: 240px;
    margin: 0;
    padding: 6px;
    list-style: none;

    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.2s ease;
    z-index: 20;
  }

  .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;

    color: #2c2c2c;
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
  }

  .dropdown a:hover {
    background: #f5f5f5;
  }

  .dropdown .emoji {
    width: 22px;
    flex: 0 0 22px;
    text-align: center;
    font-size: 18px;
  }

  /* HERO */
  .hero-wrap {
    border-top: 1px solid #ddd6ce;
    border-bottom: 1px solid #ddd6ce;
    background: #faf9f7;
  }

  .hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    padding: 32px 0 24px;
    align-items: start;
  }

  h1.hero-title {
    margin: 0 0 10px;
    font-family: "Playfair Display", serif;
    font-size: clamp(28px, 3.5vw, 36px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #171717;
  }

  .hero-title .accent {
    display: block;
    margin-top: 6px;
    font-size: 0.7em;
    color: var(--green);
  }

  .hero-sub {
    margin: 18px 0 22px;
    padding-left: 12px;
    border-left: 4px solid var(--green);

    color: #444;
    font-size: 18px;
  }

  .check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    gap: 8px;
  }

  .check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #2e2e2e;
  }

  .check-list li::before {
    content: "✔";
    width: 21px;
    height: 21px;
    flex: 0 0 21px;

    display: inline-grid;
    place-items: center;

    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
  }

  .hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 12px;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;

    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: 0.2s ease;
  }

  .btn-primary {
  background-color: transparent;
  border: 2px solid #4bbf9f;
  color: #2c7a66;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #4bbf9f;
  color: #ffffff;
}
  .hero-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;

    color: #2d4738;
    font-size: 15px;
  }

  .hero-note .note-icon {
    font-size: 17px;
  }

  .info-card {
    max-width: 380px;
    width: 100%;
    justify-self: end;

    background: var(--card);
    border: 1px solid #ece7e1;
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 22px 22px 20px;
  }

  .info-card h2 {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.2;
  }

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

  .icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    line-height: 1.35;
  }

  .icon-list .i {
    width: 28px;
    flex: 0 0 28px;
    text-align: center;
    font-size: 22px;
  }

  .text-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--green);
    font-size: 15px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  /* CARDS */
  .services {
    padding: 18px 0 24px;
  }

  .cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .card {
    display: flex;
    flex-direction: column;
    min-height: 230px;
    padding: 20px 20px 18px;

    background: var(--card);
    border: 1px solid #ece7e1;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.045);

    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  }

  .card-icon {
    margin-bottom: 10px;
    font-size: 38px;
    line-height: 1;
  }

  .card h3 {
    margin: 0 0 12px;
    font-family: "Playfair Display", serif;
    font-size: 20px;
    line-height: 1.1;
  }

  .mini-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: grid;
    gap: 6px;

    color: #2f2f2f;
    font-size: 15px;
  }

  .mini-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }

  .mini-list li::before {
    content: "✓";
    color: var(--green);
    font-weight: 800;
    flex: 0 0 auto;
  }

  .btn-outline {
    margin-top: auto;
    align-self: flex-start;
    min-height: 38px;
    padding: 0 16px;

    border-radius: 10px;
    border: 2px solid #5dae82;
    background: #fff;
    color: var(--green);
    font-size: 14px;
    font-weight: 600;
  }

  .btn-outline:hover {
    background: #f3faf6;
  }

  /* ADVICE */
  .advice {
    padding-bottom: 28px;
  }

  .advice-box {
    display: grid;
    grid-template-columns: 1.2fr auto auto;
    gap: 18px;
    align-items: center;

    padding: 18px 20px;
    background: #f1ece6;
    border: 1px solid #ebe3da;
    border-radius: 18px;
  }

  .advice-left {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .advice-left .bulb {
    margin-top: 2px;
    font-size: 26px;
    line-height: 1;
    color: #d2a648;
  }

  .advice-left h3 {
    margin: 0 0 6px;
    font-family: "Playfair Display", serif;
    font-size: 20px;
    line-height: 1.1;
  }

  .advice-left p {
    margin: 0;
    color: #363636;
    font-size: 15px;
  }

 .chips {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #ddd3c8;
  background: #f8f4ef;
  color: #444;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.2s ease;
}

.chip:hover {
  background: #f1ebe4;
  border-color: #cfc3b6;
}
  /* TABLET */
  @media (max-width: 1100px) {
    .topbar-inner {
      gap: 10px;
      padding: 0 14px;
    }

    .phone {
      font-size: 16px;
      margin-right: 4px;
    }

    .menu {
      gap: 4px;
    }

    .menu > li > a {
      font-size: 15px;
      padding: 0 8px;
      min-height: 54px;
    }
  }

  /* LAYOUT + MOBILE MENU */
  @media (max-width: 900px) {
    .topbar {
      position: static;
    }

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

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

    .advice-box {
      grid-template-columns: 1fr;
      justify-items: start;
    }

    .chips {
      justify-content: flex-start;
    }

    .topbar-inner {
      width: min(var(--container), calc(100% - 20px));
      margin: 10px auto;
      padding: 10px 12px;
      min-height: auto;

      flex-direction: column;
      align-items: stretch;
      gap: 8px;
    }

    .phone {
      justify-content: center;
      font-size: 18px;
      padding: 6px 0;
    }

    .nav {
      width: 100%;
    }

    .menu {
      width: 100%;
      flex-direction: column;
      align-items: stretch;
      gap: 6px;
    }

    .menu > li,
    .menu > li.has-dropdown {
      width: 100%;
      min-width: 0;
      display: block;
      flex: none;
    }

    .menu > li > a {
      width: 100%;
      min-height: 48px;
      padding: 10px 14px;
      justify-content: center;
      text-align: center;
      font-size: 17px;
      border-radius: 10px;
    }

    .dropdown {
      position: static;
      width: 100%;
      margin-top: 4px;
      opacity: 1;
      visibility: visible;
      transform: none;
      display: none;
      box-shadow: none;
      border-radius: 10px;
    }

    .has-dropdown:hover .dropdown,
    .has-dropdown:focus-within .dropdown {
      display: block;
    }

    .dropdown a {
      justify-content: center;
      text-align: center;
      padding: 10px 12px;
    }
  }

  /* MOBILE */
  @media (max-width: 640px) {
    .container {
      width: min(var(--container), calc(100% - 20px));
    }

    #buzz-word {
      font-size: 1.8rem;
    }

    .hero {
      gap: 22px;
      padding: 24px 0 20px;
    }

    .check-list li,
    .hero-sub,
    .icon-list li,
    .advice-left p {
      font-size: 15px;
    }

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

    .info-card,
    .card,
    .advice-box {
      border-radius: 16px;
    }

    .menu {
      gap: 4px;
	   display: flex;
  flex-wrap: wrap;
    }

    .menu > li > a {
      font-size: 15px;
      padding: 0 10px;
    }
  }

  .chips a.chip {
    text-decoration: none;
    color: #444;
  }
.content-section {
  padding: 40px 0;
}

.content-section .container {
  max-width: 1100px;
}

.content-section h2 {
  margin: 0 0 16px;
  font-size: 30px;
}

.content-section p {
  margin: 0 0 18px;
  line-height: 1.7;
}
.content-section p:last-child{
  margin-bottom:0;
}
.advice-box a {
  color: #1a0dab;
  text-decoration: underline;
  font-weight: 500;
}

.advice-box a:hover {
  color: #0b0080;
}
.content-section a {
  color: #1a0dab;
  text-decoration: underline;
}

.content-section a:hover {
  color: #0b0080;
}
/* === KALKULATOR ZACHOWKU === */

.calculator-box {
  background: #fff;
  border: 1px solid #e6ded6;
  border-radius: 18px;
  padding: 24px;
  margin-top: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

/* grid pól */
.calc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* pojedyncze pole */
.calc-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
}

.calc-field input,
.calc-field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d8cec5;
  border-radius: 10px;
  font-size: 15px;
  background: #fff;
  transition: border-color 0.2s ease;
}

/* focus */
.calc-field input:focus,
.calc-field select:focus {
  outline: none;
  border-color: #1e7a4a;
}

/* wynik */
.calc-result {
  display: none;
  margin-top: 20px;
  padding: 18px;
  border-radius: 16px;
  background: #f4efe9;
  border: 1px solid #e7dfd6;
}

/* liczba */
.calc-result strong {
  display: block;
  font-size: 26px;
  margin-top: 6px;
  color: #1e7a4a;
}

/* tekst pod wynikiem */
.calc-note {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
}

/* link telefonu */
.calc-note a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

/* przycisk spacing */
.calculator-box .btn {
  margin-top: 10px;
}

/* mobile */
@media (max-width: 640px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }

  .calculator-box {
    padding: 18px;
  }
}
/* LINKI W KARTACH USŁUG */

.mini-list a{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(0,0,0,.18);
  transition: .2s ease;
}

.mini-list a:hover{
  color:#0f766e;
  border-bottom-color:#0f766e;
}

.mini-list li{
  transition: transform .18s ease;
}

.mini-list li:hover{
  transform: translateX(3px);
}
/* === HAMBURGER MOBILE FIX === */
.mobile-menu-toggle,
.mobile-menu {
  display: none;
}

@media (max-width: 900px) {
  .topbar-inner {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: min(var(--container), calc(100% - 20px)) !important;
    padding: 10px 12px !important;
  }

  .phone {
    justify-content: flex-start !important;
    padding: 0 !important;
  }

  .desktop-nav {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 0;
    border-radius: 10px;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 10px;
    right: 10px;
    z-index: 999;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-strong);
    overflow: hidden;
  }

  .mobile-menu.is-open {
    display: block !important;
  }

  .mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-menu li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--green);
  }

  .mobile-menu li:last-child {
    border-bottom: 0;
  }

  .mobile-menu a {
    display: block;
    padding: 12px 16px;
    color: #1d1d1f;
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-menu .mobile-services > a {
    font-weight: 700;
  }

  .mobile-menu .mobile-submenu {
    display: block;
  }

  .mobile-menu .mobile-submenu li {
    border-bottom: 1px solid var(--green);
  }

  .mobile-menu .mobile-submenu a {
    padding-left: 34px;
    font-weight: 500;
  }
}

@media (max-width: 640px) {
  .header {
    width: calc(100% - 20px) !important;
    padding: 12px 10px !important;
  }

  #buzz-word {
    font-size: 1.95rem !important;
    line-height: 1.25 !important;
  }

  .topbar-inner {
    width: calc(100% - 20px) !important;
  }
}

/* === DESKTOP MENU: WIĘCEJ ODDECHU ===
   Tylko rozstaw elementów menu na desktopie.
   Nie dotyka hamburgera, submenu ani wyglądu pozostałych elementów. */
@media (min-width: 901px) {
  .desktop-nav {
    flex: 1 1 auto;
    min-width: 0;
  }

  .desktop-nav .menu {
    width: 100%;
    justify-content: space-between;
  }
}

