/* ============================================================
   FUNDACJA CHODZIMISIE — custom styles
   Palette: warm natural greens + cream. Corners: 14px rounded.
   Fonts: Lora (headings) + Nunito Sans (body).
   ============================================================ */

:root {
  --cream: #faf7ef;
  --sand: #f2edde;
  --ink: #29321f;
  --green-900: #22381d;
  --green-700: #3c5a31;
  --green-600: #4a7c3f;
  --green-100: #e5ecda;
  --green-050: #eef3e4;
  --muted: #5d664f;
  --line: #e0dcc9;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(34, 56, 29, 0.10);
  --shadow-lg: 0 14px 34px rgba(34, 56, 29, 0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito Sans', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background-color: var(--cream);
  line-height: 1.7;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, .font-serif {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  color: var(--green-900);
  font-weight: 600;
}

p { color: var(--muted); }
strong { color: var(--green-900); }
a { color: var(--green-600); }
a:hover { color: var(--green-700); }

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

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: .75rem;
}

.btn-forest {
  background-color: var(--green-600);
  color: #fff;
  border: 2px solid var(--green-600);
  border-radius: 999px;
  padding: .65rem 1.6rem;
  font-weight: 700;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.btn-forest:hover {
  background-color: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline-forest {
  background: transparent;
  color: var(--green-700);
  border: 2px solid var(--green-600);
  border-radius: 999px;
  padding: .65rem 1.6rem;
  font-weight: 700;
  transition: background-color .2s ease, color .2s ease;
}
.btn-outline-forest:hover {
  background-color: var(--green-600);
  color: #fff;
}
.btn-forest:focus-visible,
.btn-outline-forest:focus-visible {
  outline: 3px solid #8db06e;
  outline-offset: 2px;
}

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: rgba(250, 247, 239, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .navbar { padding-top: .75rem; padding-bottom: .75rem; }
.brand-name {
  font-family: 'Lora', Georgia, serif;
  font-weight: 700;
  color: var(--green-900);
  font-size: 1.05rem;
  letter-spacing: .02em;
  line-height: 1.2;
}
.brand-name .sub {
  display: block;
  font-family: 'Nunito Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-600);
}
.navbar-nav .nav-link {
  color: var(--ink);
  font-weight: 600;
  padding: .5rem 1rem;
  border-radius: 999px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus { color: var(--green-600); }
.navbar-nav .nav-link.active { color: var(--green-600); }

.lang-switch {
  display: inline-flex;
  border: 1.5px solid var(--green-600);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}
.lang-switch .lang-btn {
  background: transparent;
  border: none;
  color: var(--green-700);
  font-weight: 700;
  font-size: .85rem;
  padding: .3rem .8rem;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.lang-switch .lang-btn:hover { background: var(--green-100); }
.lang-switch .lang-btn.active {
  background: var(--green-600);
  color: #fff;
}
.lang-switch .lang-btn:focus-visible {
  outline: 3px solid #8db06e;
  outline-offset: -3px;
}

.navbar-toggler { border: none; flex-shrink: 0; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px var(--green-100); }

@media (max-width: 991.98px) {
  .site-header .brand-col { min-width: 0; overflow: hidden; }
  .site-header .brand-name { font-size: .92rem; }
  .navbar-collapse {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-top: .75rem;
    padding: .75rem 1rem;
    box-shadow: var(--shadow);
  }
  .navbar-nav .nav-link { padding-left: 0; }
}

/* ---------- Heroes ---------- */
.hero, .page-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--green-900);
}
.hero-img,
.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(100deg, rgba(28, 44, 22, 0.88) 0%, rgba(28, 44, 22, 0.72) 55%, rgba(28, 44, 22, 0.45) 100%);
}
.hero-content, .page-hero-content {
  position: relative;
  z-index: 2;
}
.hero { min-height: 0; }
.hero .hero-content { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.hero h1,
.hero .lead,
.page-hero h1,
.page-hero .lead { color: #fdfcf7; }
.hero .lead { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); max-width: 44rem; }
.hero h1 { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); }
.hero .eyebrow { color: #d3e2b8; }
.page-hero .hero-content { padding: clamp(4rem, 8vw, 7rem) 0; }
.page-hero h1 { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4); }
.page-hero .lead { max-width: 46rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section-tight { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.section-cream { background: var(--cream); }
.section-sand { background: var(--sand); }
.section-green { background: var(--green-900); }
.section-green h2, .section-green h3 { color: #f3f7ea; }
.section-green p { color: #d8e2c4; }
.section-green .eyebrow { color: #c3d8a1; }

.section-head { max-width: 46rem; margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-left: auto; margin-right: auto; }

/* ---------- Cards ---------- */
.card-soft {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: auto;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card-soft:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-soft .card-body { padding: 1.75rem; }
.card-icon {
  width: 84px;
  height: 84px;
  object-fit: contain;
  margin-bottom: 1rem;
}
.card-soft h3 { font-size: 1.25rem; }

.diagnostic-step { display: flex; }
.diagnostic-step .card-soft { width: 100%; }

@media (max-width: 767.98px) {
  .diagnostic-step { display: block; }
  .diagnostic-step.offset-md-3 { margin-left: 0; }
}

/* ---------- Quote band ---------- */
.quote-band {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-style: italic;
  line-height: 1.5;
}

/* ---------- Info list ---------- */
.info-list { list-style: none; padding-left: 0; margin: 0; }
.info-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .65rem;
  color: var(--muted);
}
.info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  background: var(--green-600);
}
.section-green .info-list li { color: #d8e2c4; }

/* ---------- Definition table (registration data) ---------- */
.fact-table { width: 100%; border-collapse: collapse; }
.fact-table th, .fact-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.fact-table th {
  font-family: 'Nunito Sans', Arial, sans-serif;
  font-weight: 700;
  color: var(--green-700);
  white-space: nowrap;
  width: 40%;
}
.fact-table tr:last-child th, .fact-table tr:last-child td { border-bottom: none; }

/* ---------- Price table ---------- */
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td {
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.price-table thead th {
  font-family: 'Nunito Sans', Arial, sans-serif;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--green-700);
}
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; font-weight: 700; color: var(--green-900); }
.price-note { font-size: .92rem; }

/* ---------- Hours ---------- */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td {
  padding: .45rem 0;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
}
.hours-table td:last-child { text-align: right; font-weight: 700; color: var(--green-900); }
.hours-table tr:last-child td { border-bottom: none; }
.hours-closed { color: #a04b2e !important; }

/* ---------- Team ---------- */
.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Banner image (rollup) ---------- */
.banner-frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

/* ---------- Steps ---------- */
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--green-600);
  color: #fff;
  font-family: 'Lora', Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* ---------- Slogan band ---------- */
.slogan-band {
  background: var(--green-600);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  text-align: center;
  box-shadow: var(--shadow);
}

/* ---------- Contact ---------- */
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.contact-card h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.contact-card p, .contact-card li { margin-bottom: .4rem; }
.contact-card ul { padding-left: 0; list-style: none; }
.contact-card .label {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  color: var(--green-600);
  display: block;
  margin-top: .9rem;
  margin-bottom: .1rem;
}
.contact-card .label:first-of-type { margin-top: 0; }
.contact-card a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(74, 124, 63, .35); }

#contactForm .form-control, #contactForm .form-label { }
#contactForm .form-control {
  border-radius: 10px;
  border: 1px solid #d5d2c0;
  padding: .7rem 1rem;
}
#contactForm .form-control:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(74, 124, 63, 0.18);
}
#contactForm .form-label { font-weight: 700; color: var(--green-900); font-size: .92rem; }
.form-note { font-size: .85rem; color: var(--muted); }

.map-embed {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (max-width: 768px) {
  .map-embed { height: 300px; }
}

/* ---------- Project cards ---------- */
.project-tag {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  margin-bottom: 1rem;
}

/* ---------- Gallery section wrappers ---------- */
.gallery-section .section-head { margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-900);
  color: #cfdab8;
  margin-top: auto;
}
.site-footer h3 {
  color: #f3f7ea;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.site-footer p, .site-footer li { color: #cfdab8; }
.site-footer a { color: #e4ecd4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { padding-left: 0; list-style: none; }
.site-footer li { margin-bottom: .45rem; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: .9rem;
}
.footer-reg { font-size: .92rem; }
.footer-reg .label {
  color: #a9bd8a;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  display: block;
}

/* ---------- Utilities ---------- */
.text-forest { color: var(--green-600) !important; }
.mt-auto-card { margin-top: 1.5rem; }
.lead-lg { font-size: 1.12rem; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green-900);
  color: #fff;
  padding: .6rem 1.2rem;
  border-radius: 0 0 var(--radius) 0;
  z-index: 2000;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid #8db06e;
  outline-offset: 2px;
}
