/* --- IMPORT CZCIONEK Z GOOGLE FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* --- ZMIENNE PROJEKTOWE --- */
:root {
  /* Kolory zatwierdzone z grafik i DESIGN.md */
  --color-bg: #FAEEE0;
  --color-primary-green: #6F948A;
  --color-secondary-green: #E1EAE4;
  --color-primary-blue: #658DCD;
  --color-secondary-blue: #E3EBF7;
  
  --color-text-main: #1B1C1C;
  --color-text-muted: #434750;
  --color-white: #FFFFFF;
  --color-error: #BA1A1A;
  --color-error-bg: #FFDAD6;
  
  /* Typografia */
  --font-logo: 'Comfortaa', sans-serif;
  --font-text: 'Poppins', sans-serif;
  
  /* Zaokrąglenia (Zgodne z DESIGN.md) */
  --radius-sm: 0.25rem;       /* 4px */
  --radius-default: 0.5rem;   /* 8px - standardowe przyciski/inputy */
  --radius-md: 0.75rem;      /* 12px */
  --radius-lg: 1rem;         /* 16px - karty/modale */
  --radius-xl: 1.5rem;       /* 24px - chipy/nakładki */
  --radius-full: 9999px;     /* pill buttons */

  /* Odstępy i Siatka */
  --spacing-unit: 8px;
  --container-max: 1280px;
  
  /* Cienie (Zgodne z DESIGN.md) */
  --shadow-ambient: 0 10px 30px -10px rgba(101, 141, 205, 0.15);
  --shadow-hover: 0 15px 35px -5px rgba(101, 141, 205, 0.25);
  --shadow-badge: 0 8px 24px rgba(111, 148, 138, 0.12);
}

/* --- STYLE GLOBALNE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-text);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-main);
}

strong, b {
  color: var(--color-text-main);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

input, textarea, button, select {
  font-family: inherit;
  color: var(--color-text-main);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
}

/* --- NAGŁÓWEK I NAWIGACJA --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(250, 238, 224, 0.9); /* Rozmyte tło pergaminowe */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 88px;
}

/* Logo "dbam" */
.logo-container {
  display: flex;
  align-items: center;
}

.logo-img-file {
  height: 48px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.logo-container:hover .logo-img-file {
  transform: scale(1.02);
}

.logo-footer .logo-img-file {
  height: 56px;
}

/* Wyróżnienie nazwy marki w tekście (db - zielony, am - niebieski) */
.brand-text-highlight {
  font-family: var(--font-logo);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-text-highlight .brand-db {
  color: var(--color-primary-green);
}

.brand-text-highlight .brand-am {
  color: var(--color-primary-blue);
}

/* Nawigacja Desktop */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--color-text-main);
}

/* Gruba zielona linia dla aktywnego linku */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-primary-green);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.nav-link.active {
  color: var(--color-text-main);
  font-weight: 600;
}

.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Przycisk Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1010;
}

.hamburger .bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background-color: var(--color-text-main);
  transition: all 0.3s ease;
}

/* --- PRZYCISKI --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: var(--radius-default);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.btn-primary {
  background-color: var(--color-primary-blue);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: #5179B7; /* Ciemniejszy odcień primary-blue */
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-nav {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
}

.btn-hero {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-md);
  margin-top: 16px;
}

.btn-icon {
  transition: transform 0.3s ease;
}

.btn-hero:hover .btn-icon {
  transform: translateX(4px);
}

/* --- GŁÓWNA STRONA --- */
main {
  margin-top: 88px; /* Dopasowanie do fixed header */
}

section[id] {
  scroll-margin-top: 88px;
}

/* --- SEKCJA HERO --- */
.hero-section {
  padding-top: 64px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 64px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text-main);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  font-weight: 400;
}

/* Zdjęcie Hero z Badgem */
.hero-image-wrapper {
  position: relative;
  width: 100%;
}

.hero-image {
  width: 100%;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

/* Karta/Odznaka na zdjęciu */
.hero-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background-color: var(--color-bg); /* Ciepłe tło pergaminowe */
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-badge);
  border: 1px solid rgba(111, 148, 138, 0.15); /* Subtelna ramka w odcieniu zieleni */
  animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.badge-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--color-secondary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-text-group {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-main);
}

.badge-subtitle {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Kotwica sekcji O mnie */
.about-section-anchor {
  height: 0;
  margin: 0;
  padding: 0;
}

/* --- SEKCJA USŁUGI --- */
.services-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.services-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 48px;
}

.badge-pill {
  display: inline-block;
  background-color: var(--color-secondary-green);
  color: var(--color-primary-green);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.services-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text-main);
}

/* Usługi Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Karta usługi oparta o SVG */
.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-ambient);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  aspect-ratio: 1 / 1;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-card:hover .service-card-img {
  transform: scale(1.02);
}

/* --- SEKCJA MISJA --- */
.mission-section {
  padding-top: 48px;
  padding-bottom: 80px;
  background-color: var(--color-bg); /* Tło takie samo jak reszta strony */
}

.mission-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 32px;
}

.mission-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-top: 12px;
}

.mission-body-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.mission-lead {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-text-main);
  margin-bottom: 28px;
  text-align: center;
}

.mission-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-top: 28px;
  text-align: center;
}

.mission-pillars-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.mission-pillars-list li {
  font-size: 17.5px;
  font-weight: 600;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-letter-text {
  font-family: var(--font-logo);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.pillar-letter-text.green {
  color: var(--color-primary-green);
}

.pillar-letter-text.blue {
  color: var(--color-primary-blue);
}

/* Responsywność */
@media (max-width: 768px) {
  .mission-section {
    padding-top: 32px;
    padding-bottom: 48px;
  }
  .mission-title {
    font-size: 32px;
  }
  .mission-lead {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
  }
  .mission-body {
    font-size: 14.5px;
    margin-top: 20px;
    line-height: 1.6;
  }
  .mission-pillars-list li {
    font-size: 15.5px;
  }
  .pillar-letter-text {
    font-size: 22px;
  }
}

/* --- SEKCJA KONTAKT --- */
.contact-section {
  padding-top: 80px;
  padding-bottom: 120px;
}

.contact-container {
  display: flex;
  justify-content: center;
}

/* Kolumna: Dane (Wyśrodkowana) */
.contact-info-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 580px;
  width: 100%;
}

.contact-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 16px;
  text-align: center;
}

.contact-description {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 480px;
  text-align: center;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: rgba(111, 148, 138, 0.05); /* Bardzo lekki szałwiowy podkład */
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(111, 148, 138, 0.08);
}

.contact-item-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--color-secondary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(111, 148, 138, 0.08);
  flex-shrink: 0;
}

.contact-item-text {
  display: flex;
  flex-direction: column;
}

.contact-item-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-main);
  line-height: 1.4;
}

.contact-link {
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--color-primary-blue);
}

/* Karta rezerwacji Booksy */
.booksy-booking-card {
  width: 100%;
  background-color: rgba(111, 148, 138, 0.05); /* Lekki szałwiowy podkład, taki jak w danych kontaktowych */
  border-radius: var(--radius-md); /* Zaokrąglenie takie samo jak w danych kontaktowych (12px) */
  border: 1px solid rgba(111, 148, 138, 0.08);
  padding: 32px 24px;
  text-align: center;
  box-shadow: none; /* Usunięcie cienia, aby karta pasowała do elementów poniżej */
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.booksy-card-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.booksy-card-text {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  max-width: 440px;
  line-height: 1.5;
}

.booksy-widget-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70px;
}

/* Dostosowanie wygenerowanego kontenera Booksy */
.booksy-widget-container-dialog {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: auto !important;
  height: auto !important;
  margin: 0 auto !important;
}

/* Przekształcenie obrazkowego przycisku Booksy w natywny przycisk dbam */
.booksy-widget-container-dialog .booksy-widget-button {
  background: var(--color-primary-blue) !important;
  color: var(--color-white) !important;
  width: auto !important;
  height: auto !important;
  padding: 14px 28px !important;
  border-radius: var(--radius-default) !important;
  font-family: var(--font-text) !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border: none !important;
  box-shadow: var(--shadow-ambient) !important;
}

.booksy-widget-container-dialog .booksy-widget-button::after {
  content: "Zarezerwuj wizytę online" !important;
  font-size: 15px !important;
  color: var(--color-white) !important;
  font-weight: 500 !important;
}

.booksy-widget-container-dialog .booksy-widget-button:hover {
  background-color: #5179B7 !important; /* Ciemniejszy odcień primary-blue */
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-hover) !important;
}

.booksy-widget-container-dialog .booksy-widget-button:active {
  transform: translateY(0) !important;
}

/* Ukrycie domyślnego linku obrazkowego i stylizowanie go jako czysty link tekstowy */
.booksy-widget-container-dialog .booksy-business-link {
  background: none !important;
  width: auto !important;
  height: auto !important;
  display: inline-block !important;
  margin-top: 12px !important;
  font-size: 12px !important;
  color: var(--color-text-muted) !important;
  text-decoration: underline !important;
  transition: color 0.2s ease !important;
}

.booksy-widget-container-dialog .booksy-business-link::after {
  content: "Profil dbam na booksy.com" !important;
}

.booksy-widget-container-dialog .booksy-business-link:hover {
  color: var(--color-primary-blue) !important;
}

/* Prawa Kolumna: Formularz */
.contact-form-block {
  display: flex;
  align-items: center;
}

.form-container {
  width: 100%;
  background-color: var(--color-secondary-blue); /* Dokładny kolor tła formularza ze screenshotu */
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-ambient);
  border: 1px solid rgba(101, 141, 205, 0.1);
  position: relative;
}

.form-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-main);
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(101, 141, 205, 0.2);
  border-radius: var(--radius-default);
  background-color: var(--color-white);
  font-size: 15px;
  color: var(--color-text-main);
  outline: none;
  transition: all 0.3s ease;
}

.form-input::placeholder {
  color: var(--color-text-muted);
  opacity: 0.7;
}

.form-input:focus {
  border-color: var(--color-primary-blue);
  box-shadow: 0 0 0 4px rgba(101, 141, 205, 0.15);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 8px;
}

/* Błędy walidacji */
.error-msg {
  display: none;
  font-size: 12px;
  color: var(--color-error);
  font-weight: 500;
  margin-top: 2px;
}

.phone-input-container {
  display: flex;
  gap: 10px;
  width: 100%;
}

.prefix-input {
  width: 80px !important;
  flex-shrink: 0;
  text-align: center;
}

.phone-main-input {
  flex-grow: 1;
}

.form-group.invalid .form-input {
  border-color: var(--color-error);
  background-color: var(--color-error-bg);
}

.form-group.invalid .error-msg {
  display: block;
}

/* Alert Sukcesu */
.form-success-alert {
  display: none;
  background-color: var(--color-secondary-green);
  color: var(--color-primary-green);
  border: 1px solid rgba(111, 148, 138, 0.3);
  padding: 16px;
  border-radius: var(--radius-default);
  font-weight: 500;
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

/* --- STOPKA --- */
.footer {
  background-color: var(--color-bg);
  padding-top: 80px;
  padding-bottom: 40px;
  border-top: 1px solid rgba(111, 148, 138, 0.15);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.logo-footer {
  margin-bottom: 20px;
}

.footer-description {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 320px;
}

/* Odsyłacze do mediów społecznościowych */
.footer-social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: var(--color-secondary-blue);
  color: var(--color-primary-blue);
  transition: all 0.3s ease;
  border: 1px solid rgba(101, 141, 205, 0.1);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  background-color: var(--color-primary-blue);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-ambient);
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 15px;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-primary-green);
}

.footer-bottom {
  border-top: 1px solid rgba(111, 148, 138, 0.1);
  padding-top: 32px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.copyright {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* --- DOSTĘPNOŚĆ (SR-ONLY) --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- RESPONSYWNOŚĆ (RWD) --- */

/* TABLET (Szerokość do 1024px) */
@media (max-width: 1024px) {
  /* Hero Tablet & Mobile */
  .hero-section {
    padding-top: 24px;
    padding-bottom: 40px;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 16px;
  }
  
  .hero-content {
    text-align: center;
    align-items: center;
  }
  
  .hero-title {
    font-size: 34px;
    margin-bottom: 16px;
  }
  
  .hero-image-wrapper {
    order: -1; /* Zdjęcie nad tekstem */
    max-width: 480px;
    margin: 0 auto;
  }
  
  .hero-badge {
    bottom: 16px;
    left: 16px;
    right: 16px;
    padding: 12px 16px;
    gap: 12px;
  }
  
  .badge-title {
    font-size: 13px;
  }
  
  .badge-subtitle {
    font-size: 11px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .contact-container {
    gap: 32px;
  }
}

/* MAŁE EKRANY MOBILNE (Szerokość do 400px) */
@media (max-width: 400px) {
  .badge-subtitle {
    display: none;
  }
}

/* PŁYNNE PRZEJŚCIE DLA WERSJI MOBILNEJ (< 768px) */
@media (max-width: 768px) {
  /* Nagłówek */
  .header-container {
    height: 72px;
  }
  
  .logo-img-file {
    height: 40px;
  }
  
  .logo-footer .logo-img-file {
    height: 48px;
  }
  
  main {
    margin-top: 72px;
  }
  
  section[id] {
    scroll-margin-top: 72px;
  }
  
  .hamburger {
    display: block;
  }
  
  /* Menu Mobilne */
  .nav-menu {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 72px);
    background-color: var(--color-bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 1005;
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .nav-link {
    font-size: 20px;
  }
  
  .btn-nav {
    display: none; /* Ukryj w nagłówku na mobile */
  }

  /* Animacja hamburgera do X */
  .hamburger.open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .hamburger.open .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }



  /* Usługi Mobile */
  .services-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  
  .services-title {
    font-size: 28px;
  }
  
  .services-grid {
    grid-template-columns: 1fr; /* 1 kolumna na mobile */
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Kontakt Mobile */
  .contact-section {
    padding-top: 48px;
    padding-bottom: 80px;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .contact-title {
    font-size: 32px;
    text-align: center;
  }
  
  .contact-description {
    text-align: center;
    margin-right: auto;
    margin-left: auto;
  }
  
  .form-container {
    padding: 24px;
  }
  
  .form-title {
    font-size: 20px;
    text-align: center;
  }

  /* Stopka Mobile */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }
  
  .footer-col {
    align-items: center;
    text-align: center;
  }
  
  .footer-description {
    max-width: 100%;
  }
}

/* --- SEKCJA POLITYKI PRYWATNOŚCI --- */
.legal-page {
  margin-top: 88px;
}

.legal-section {
  padding-top: 60px;
  padding-bottom: 100px;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-main-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--color-text-main);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-align: center;
}

.legal-intro {
  font-size: 16px;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.6;
}

.legal-content-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.legal-card {
  background-color: var(--color-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-ambient);
  border: 1px solid rgba(111, 148, 138, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legal-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.legal-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary-green);
  margin-bottom: 16px;
  border-bottom: 2px solid var(--color-secondary-green);
  padding-bottom: 8px;
}

.legal-card p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.legal-card ul:last-child {
  margin-bottom: 0;
}

.legal-card li {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  position: relative;
  padding-left: 24px;
}

.legal-card li::before {
  content: '•';
  position: absolute;
  left: 8px;
  color: var(--color-primary-blue);
  font-weight: bold;
}

.legal-address {
  font-style: normal;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
  background-color: var(--color-secondary-blue);
  padding: 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary-blue);
  margin-top: 12px;
}

.legal-address a {
  color: var(--color-primary-blue);
  font-weight: 500;
  transition: color 0.2s ease;
}

.legal-address a:hover {
  color: var(--color-primary-blue);
  opacity: 0.85;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-page {
    margin-top: 72px;
  }
  
  .legal-section {
    padding-top: 40px;
    padding-bottom: 60px;
  }
  
  .legal-main-title {
    font-size: 32px;
  }
  
  .legal-card {
    padding: 24px;
  }
}
