/* styles.css */
:root {
  --navy: #0D1B2A;
  --navy-soft: #152133;
  --offwhite: #F7F5F2;
  --cinnamon: #A45F3D;
  --cinnamon-light: #C97A50;
  --text: #2B2B2B;
  --muted: #777777;
  --border-light: #E3E3E3;
  --bg-soft: #FBFAF7;
  --bg-grey: #F2F2F2;
  --max-width: 1120px;
  --focus: 0 0 0 3px rgba(201, 122, 80, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background-color: var(--offwhite);
  line-height: 1.6;
  font-size: 17px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 10px;
}

section[id],
main[id] {
  scroll-margin-top: 88px;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--navy);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand { display: flex; flex-direction: column; }
.brand-name { font-weight: 700; letter-spacing: 0.04em; font-size: 17px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.nav-links a { opacity: 0.9; }
.nav-links a:hover { opacity: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 600;
}

.btn-primary {
  background-color: var(--cinnamon);
  color: #ffffff;
  font-weight: 700;
}
.btn-primary:hover { background-color: var(--cinnamon-light); }

.btn-outline {
  background-color: transparent;
  color: var(--cinnamon);
  border: 1.5px solid var(--cinnamon);
  font-weight: 600;
}
.btn-outline:hover {
  background-color: var(--cinnamon-light);
  color: #ffffff;
}

/* CTA w menu – bardziej "decyzyjny" */
.btn-nav {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 750 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
}

/* SECTIONS */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-title { font-size: 30px; margin-bottom: 10px; color: var(--navy); }
.section-subtitle { max-width: 760px; margin: 0 auto; color: var(--muted); font-size: 16px; }

.section-dark {
  background-color: var(--navy);
  color: #ffffff;
}
.section-dark .section-title { color: #ffffff; }
.section-dark .section-subtitle { color: #dcdcdc; }
.section-dark a { color: var(--cinnamon-light); }

/* HERO */
.hero { background-color: var(--offwhite); padding-top: 60px; padding-bottom: 80px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.hero-kicker { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 10px; }
.hero-title { font-size: 34px; line-height: 1.15; margin-bottom: 18px; color: var(--navy); }
.hero-text { font-size: 16px; color: var(--muted); margin-bottom: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 18px 0 22px; }
.hero-note { font-size: 15px; color: var(--muted); }

.hero-teaser { margin-top: 10px; font-size: 15px; color: var(--muted); }
.hero-teaser a { color: var(--cinnamon); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }

.hero-photo-wrap { background-color: #ffffff; border-radius: 18px; padding: 16px; box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.hero-photo { border-radius: 14px; overflow: hidden; background-color: transparent; aspect-ratio: 3 / 4; }

/* OFERTA */
.section-offer { background-color: #ffffff; }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.offer-card { background-color: #ffffff; border-radius: 14px; padding: 24px; box-shadow: 0 6px 18px rgba(0,0,0,0.04); border: 1px solid var(--border-light); display: flex; flex-direction: column; justify-content: space-between; }
.offer-title { font-weight: 600; margin-bottom: 8px; color: var(--navy); }
.offer-text { font-size: 16px; color: var(--text); margin-bottom: 12px; }
.offer-link { font-size: 16px; color: var(--cinnamon); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

.offer-help { margin-top: 26px; border-top: 1px solid var(--border-light); padding-top: 18px; max-width: 860px; }
.offer-help h3 { color: var(--navy); font-size: 18px; margin-bottom: 8px; }
.offer-help p { color: var(--text); font-size: 16px; margin-top: 10px; }
.offer-soft-cta a { color: var(--cinnamon); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.offer-soft-cta-link { color: var(--cinnamon); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }

/* W CZYM POMAGAM - layout jak oferta */
.help-grid { margin-top: 10px; }
.section-dark .help-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: none;
}
.section-dark .help-card .offer-title { color: #ffffff; }
.section-dark .help-card .offer-text { color: #e8e8e8; }
.help-items {
  font-size: 15px;
  line-height: 1.65;
  color: #f0f0f0;
  margin-top: 6px;
}

/* JAK PRACUJĘ */
.section-process .section-header { margin-bottom: 28px; }
.section-process .bullet-list { display: grid; gap: 16px; max-width: 720px; margin: 0 auto; }
.section-process .bullet-item-title { font-weight: 600; margin-bottom: 2px; color: #ffffff; position: relative; padding-left: 20px; }
.section-process .bullet-item-title::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--cinnamon-light); font-weight: 700; }
.section-process .bullet-item-text { font-size: 16px; color: #dcdcdc; padding-left: 20px; }
.section-process a { color: var(--cinnamon-light); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }

/* O MNIE */
.section-about { background-color: var(--bg-soft); }
.about-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: flex-start; }
.about-photo { border-radius: 16px; overflow: hidden; background-color: #ddd; aspect-ratio: 3 / 4; }
.about-text p + p { margin-top: 12px; }
.tatashift-card { margin-top: 18px; }
.tatashift-title { font-weight: 600; margin-bottom: 4px; color: var(--navy); }
.tatashift-link { display: inline-flex; margin-top: 4px; font-size: 15px; color: var(--cinnamon); text-decoration: underline; text-underline-offset: 3px; }

/* OPINIE */
.testimonials-slider { display: flex; align-items: center; justify-content: center; gap: 16px; max-width: 720px; margin: 0 auto; }
.slider-arrow { background: transparent; border: 1px solid rgba(255,255,255,0.4); color: #ffffff; width: 36px; height: 36px; border-radius: 999px; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.slider-arrow:hover { background-color: rgba(255,255,255,0.1); }
.testimonials-viewport { flex: 1; }
.testimonial-card { background-color: var(--offwhite); border-radius: 14px; padding: 20px; box-shadow: 0 6px 18px rgba(0,0,0,0.06); font-size: 16px; color: var(--text); min-height: 120px; }
.testimonial-quote { margin-bottom: 10px; }
.testimonial-name { font-weight: 600; font-size: 14px; color: var(--muted); text-align: right; }

/* FAQ */
.section-faq { background-color: var(--bg-grey); }
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background-color: #ffffff; border-radius: 10px; padding: 14px 16px; border: 1px solid var(--border-light); cursor: pointer; }
.faq-header-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.faq-question { font-weight: 600; color: var(--navy); font-size: 16px; }
.faq-icon { font-size: 16px; color: var(--cinnamon); flex-shrink: 0; transition: transform 0.2s ease; }
.faq-answer { font-size: 16px; color: var(--text); margin-top: 10px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }

/* KONTAKT FLOW */

.section-contact .section-subtitle { color: #dcdcdc; }
.contact-flow { display: grid; gap: 18px; max-width: 920px; margin: 0 auto; }

.contact-block {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 18px;
}

.contact-block-title { font-size: 16px; margin-bottom: 6px; color: #ffffff; }
.contact-block-text { font-size: 15px; color: #e8e8e8; margin-bottom: 12px; }

.calendar-box {
  background-color: rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 18px;
  border: 1px dashed rgba(255,255,255,0.35);
  color: #f0f0f0;
  font-size: 14px;
  min-height: 320px;
}

.contact-form {
  background-color: var(--offwhite);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid var(--border-light);
  color: var(--text);
}

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; margin-bottom: 4px; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d0d0d0;
  font-family: inherit;
  font-size: 15px;
}
.form-group textarea { min-height: 120px; resize: vertical; }

.btn-submit {
  background-color: var(--navy);
  color: #ffffff;
  border-radius: 999px;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.btn-submit:hover { background-color: #122235; }

.direct-contact-clean p { margin: 6px 0; font-size: 15px; color: #f0f0f0; }
.direct-contact-clean a { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }



/* siatka 2 kolumny na desktopie */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
}

/* trzeci blok na pełną szerokość pod spodem */
.contact-block-wide{
  max-width: 1040px;
  margin: 18px auto 0;
}

/* mniejsza „cegła” kalendarza, żeby nie dominowała */
.calendar-box{
  min-height: 260px; /* było 320px */
  padding: 16px;     /* delikatnie ciaśniej */
}

/* formularz: trzymamy go wizualnie lżej */
.contact-form{
  padding: 18px; /* było 20px */
}

/* mała notka pod przyciskiem */
.form-note{
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

/* honeypot (antybot) */
.hp{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* mobile: jedna kolumna */
@media (max-width: 960px){
  .contact-grid{
    grid-template-columns: 1fr;
  }
  .contact-block-wide{
    margin-top: 18px;
  }
}





/* FOOTER */
footer { background-color: #ffffff; color: var(--muted); padding: 18px 0; font-size: 12px; border-top: 1px solid var(--border-light); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.footer-links { display: flex; gap: 14px; }
.footer-links a { opacity: 0.8; color: var(--navy-soft); }
.footer-links a:hover { opacity: 1; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-inner, .about-grid { grid-template-columns: 1fr; }
  .hero-inner { gap: 32px; }
  .hero-photo-wrap { max-width: 360px; margin: 0 auto; }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .navbar-inner { height: 64px; }

  .nav-links {
    position: fixed;
    inset: 64px 0 0 0;
    background-color: var(--navy);
    flex-direction: column;
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 14px;
    align-items: center;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle { display: block; }

  .section-header { margin-bottom: 24px; }
  .section-title { margin-bottom: 6px; }

  .hero { padding-top: 40px; }
  .hero-title { font-size: 28px; margin-bottom: 12px; } /* <- to realnie zmniejszy tytuł→tekst */

  .section { padding: 12px 0; }
  .offer-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body.nav-open { overflow: hidden; }

/* COOKIE BANNER (AKCEPTUJ / ODRZUĆ) */
.cookie-banner{
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 3000;
  display: flex;
  justify-content: center;
}

.cookie-content{
  background: #ffffff;
  color: var(--text);
  border-radius: 14px;
  padding: 16px 18px;
  max-width: 860px;
  width: 100%;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border-light);
}

.cookie-content p{
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

.cookie-content a{
  color: var(--cinnamon);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions{
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn{
  background-color: var(--navy);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-btn:hover{
  background-color: #122235;
}

.cookie-btn-outline{
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.cookie-btn-outline:hover{
  background: rgba(13,27,42,0.06);
}

/* link do ustawień cookies */
.cookie-settings{
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 2500;
  background: rgba(255,255,255,0.9);
  color: var(--navy);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  cursor: pointer;
}

.cookie-settings:hover{
  background: #ffffff;
}

/* placeholder zamiast widżetu, gdy odrzucono cookies */
.cookie-widget-placeholder{
  margin-top: 10px;
  font-size: 13px;
  color: #f0f0f0;
  opacity: 0.95;
  border: 1px dashed rgba(255,255,255,0.35);
  border-radius: 12px;
  padding: 12px 12px;
}

/* mobile */
@media (max-width: 720px){
  .cookie-content{
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-actions{
    width: 100%;
    justify-content: flex-end;
  }
}

.cookie-banner[hidden] { display: none !important; }

/* CTA – większy lead */
.section-dark .section-subtitle {
  font-size: 18px;
  line-height: 1.5;
  opacity: 0.95;
}

/* CTA – mocniejszy przycisk */
.section-dark .btn-primary {
  background-color: var(--cinnamon-light);
  color: #ffffff;
  font-size: 17px;
  padding: 14px 32px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.section-dark .btn-primary:hover {
  background-color: var(--cinnamon);
}

/* Podstrony: większy oddech pod sticky navbar */
.section-page-header {
  padding-top: 48px;
}

/* CONTENT PAGE (np. Polityka prywatności) – wygląd jak reszta strony */
.content-page{
  max-width: 980px;
  margin: 0 auto;
padding: 0;
}

.content-page p{
  margin: 12px 0;
  font-size: 16px;
  color: var(--text);
}

.content-page h2{
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
  color: var(--navy);
}

.content-page h3{
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--navy);
}

.content-page ul{
  margin: 10px 0 14px;
  padding-left: 18px;
}

.content-page li{
  margin: 8px 0;
  font-size: 16px;
  color: var(--text);
}

.content-page a{
  color: var(--cinnamon);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

/* Żeby nagłówki stron były „w Twoim stylu” */
.section-page-header .section-header{
  text-align: left !important;
  margin-bottom: 22px;
}

/* Header podstron – dokładnie ta sama oś co treść */
.section-header-left {
  text-align: left;
}

.section-header-left .section-title {
  margin-left: 0;
}

.section-header-left .section-subtitle {
  margin-left: 0;
  max-width: none;
}

.section-page-header .section-subtitle{
  margin-left: 0 !important
}

/* === Polityka / podstrony content: bez żadnego centrowania i wcięć === */
.section-page-content .container.content-page{
  max-width: var(--max-width) !important; /* jak reszta strony */
  width: 100% !important;
  margin: 0 auto !important;             /* centrowanie kontenera (jak zawsze) */
  padding-left: 20px !important;         /* dokładnie jak .container */
  padding-right: 20px !important;
}

/* Header podstrony: ta sama oś co treść */
.section-page-header .section-header{
  text-align: left !important;
  margin-bottom: 22px !important;
}

.section-page-header .section-subtitle{
  margin: 0 !important;
  max-width: none !important;
}

/* Polityka prywatności – mniejszy odstęp pod nagłówkiem */
.section-page-header .section-header {
  margin-bottom: 16px; /* było wizualnie ~32–40px */
}

/* pierwszy akapit treści – bez dodatkowego odstępu od góry */
.section-page-content p:first-child {
  margin-top: 0;
}

@media (max-width: 768px) {
  /* HERO photo – mobile: po prostu mniejsze, bez cropowania CSS */
  .hero-photo-wrap {
    max-width: 300px;
    margin: 0 auto;
    padding: 10px;
  }

  /* zostawiamy proporcje z pliku (bo mobile obrazek już jest przycięty) */
  .hero-photo {
    aspect-ratio: auto;
  }
}

