/* =========
   Wizytówka ogrodu działkowego — jasna zielona stylistyka
   ========= */

:root{
  --bg: #f3fbf4;
  --bg2: #ffffff;
  --panel: #ffffff;
  --text: #163018;
  --muted: #4a6b50;
  --border: rgba(22,48,24,.12);
  --shadow: 0 10px 25px rgba(22,48,24,.10);
  --shadow-soft: 0 8px 18px rgba(22,48,24,.08);
  --radius: 18px;

  --green: #2f8f3a;
  --green-2: #6bd06f;
  --green-soft: rgba(47,143,58,.12);
  --focus: rgba(47,143,58,.35);
}

*{ box-sizing: border-box; }
html, body{ height:100%; }

body{
  margin:0;
  overflow-x: hidden;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 500px at 10% 0%, rgba(107,208,111,.20), transparent 55%),
    radial-gradient(800px 520px at 100% 10%, rgba(47,143,58,.12), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2) 50%);
}

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

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

.skip-link{
  position:absolute;
  left:-999px;
  top:10px;
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 12px;
  z-index: 999;
}
.skip-link:focus{ left: 10px; outline: 3px solid var(--focus); }

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display:flex;
  align-items:center;
  gap: 18px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 240px;
  text-decoration: none;
}
.brand:hover{ text-decoration:none; }

.brand-logo{
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.brand-name{
  font-weight: 800;
  letter-spacing: .2px;
  line-height: 1.1;
}

.brand-age{
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}

.site-nav{
  display:flex;
  gap: 6px;
  align-items:center;
  flex: 1;
  justify-content: center;
}

.nav-link{
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--text);
  text-decoration:none;
  font-weight: 600;
  font-size: 14px;
}
.nav-link:hover{
  background: rgba(47,143,58,.08);
  text-decoration:none;
}
.nav-link.is-active{
  background: rgba(47,143,58,.12);
  border: 1px solid rgba(47,143,58,.18);
}

.header-actions{
  display:flex;
  gap: 10px;
  align-items:center;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 14px;
  text-decoration:none;
  box-shadow: none;
  transition: transform .06s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover{ text-decoration:none; transform: translateY(-1px); }
.btn:active{ transform: translateY(0px); }

.btn-primary{
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover{ box-shadow: var(--shadow); }

.btn-ghost{
  background: rgba(255,255,255,.8);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover{ background: #fff; }

.btn-sm{
  padding: 9px 12px;
  font-size: 13px;
}

.btn-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.site-main{
  padding-bottom: 30px;
}

/* Hero */
.hero{
  position: relative;
  overflow:hidden;
  padding: 44px 0 30px;
}

.hero-inner{
  display:grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 18px;
  align-items: stretch;
}

.hero-content{
  background: rgba(255,255,255,.78);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow:hidden;
}

.hero-content::before{
  content:"";
  position:absolute;
  inset:-2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%232f8f3a' stroke-opacity='0.10' stroke-width='2'%3E%3Cpath d='M40 170c40-60 60-80 130-120'/%3E%3Cpath d='M60 190c20-50 70-100 140-140'/%3E%3Cpath d='M20 140c40-40 80-70 160-110'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  opacity: 1;
  pointer-events:none;
}

.hero-content > *{ position: relative; }

.hero h1{
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -.4px;
}

.accent{
  background: linear-gradient(135deg, var(--green), var(--green-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-note{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap: wrap;
}

.badge{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(47,143,58,.12);
  border: 1px solid rgba(47,143,58,.18);
  font-weight: 800;
  font-size: 13px;
}

.muted{ color: var(--muted); }

.hero-card{
  background: rgba(255,255,255,.70);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.hero-card-inner{
  background: #fff;
  border-radius: calc(var(--radius) - 8px);
  padding: 16px;
  border: 1px solid rgba(47,143,58,.10);
}

.hero-card-title{
  font-weight: 900;
  margin-bottom: 12px;
}

.quick-links{
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.quick-link{
  display:flex;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(22,48,24,.10);
  background: rgba(243,251,244,.55);
  text-decoration:none;
}
.quick-link:hover{ text-decoration:none; background: rgba(243,251,244,.85); }

.qi{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(47,143,58,.12);
  display:flex;
  align-items:center;
  justify-content:center;
}

.quick-link-title{ font-weight: 900; }
.quick-link-sub{ font-size: 13px; color: var(--muted); margin-top: 2px; }

/* Sections */
.section{
  padding: 38px 0;
}
.section-soft{
  background: rgba(243,251,244,.55);
  border-top: 1px solid rgba(22,48,24,.06);
  border-bottom: 1px solid rgba(22,48,24,.06);
}

.section-head{
  margin-bottom: 16px;
}
.section-head h2{
  margin: 0 0 6px;
  font-size: 26px;
}
.section-head p{ margin: 0; }

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: var(--shadow-soft);
}
.card h3{
  margin: 10px 0 8px;
  font-size: 18px;
}
.card p{
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.55;
}
.card-icon{
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: rgba(47,143,58,.12);
  display:flex;
  align-items:center;
  justify-content:center;
}

.text-link{
  font-weight: 800;
  color: var(--green);
  text-decoration:none;
}
.text-link:hover{ text-decoration: underline; }

/* Contact cards */
.contact-cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.contact-cards-vertical{
  grid-template-columns: 1fr;
}

.contact-card{
  display:flex;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  text-decoration:none;
}
.contact-card:hover{ text-decoration:none; box-shadow: var(--shadow); }
.cc-icon{
  width: 46px;
  height: 46px;
  border-radius: 18px;
  background: rgba(47,143,58,.12);
  display:flex;
  align-items:center;
  justify-content:center;
}
.cc-title{ font-weight: 900; }
.cc-value{ color: var(--muted); margin-top: 2px; line-height: 1.3; }
.cc-sub{ font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Page hero */
.page-hero{
  padding: 28px 0 8px;
}
.page-hero h1{
  margin: 0 0 6px;
  font-size: 34px;
}
.page-hero p{ margin: 0; }

/* Prose / content */
.content{ display:block; }
.prose{
  background: rgba(255,255,255,.75);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  box-shadow: var(--shadow-soft);
}
.rich-text{
  color: var(--muted);
  line-height: 1.7;
  margin-top: 10px;
}
.list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}
.list li{ margin: 6px 0; }

/* CTA */
.cta{ margin-top: 18px; }
.cta-box{
  border-radius: var(--radius);
  border: 1px solid rgba(47,143,58,.18);
  background: rgba(47,143,58,.10);
  padding: 18px;
}
.cta-title{ font-weight: 900; font-size: 18px; }
.cta-sub{ margin-top: 6px; color: var(--muted); }
.cta-actions{ display:flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }

/* Downloads */
.downloads{
  display:flex;
  flex-direction: column;
  gap: 18px;
}

.download-group{
  background: rgba(255,255,255,.75);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.download-title{
  margin: 0 0 12px;
  font-size: 20px;
}

.download-list{
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.download-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  border: 1px solid rgba(22,48,24,.10);
  background: #fff;
  border-radius: 16px;
  padding: 12px 12px;
}
.download-name{
  font-weight: 800;
  color: var(--text);
}
.download-actions{ flex-shrink: 0; }

/* Notices */
.notice{
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(22,48,24,.12);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}
code{
  background: rgba(47,143,58,.10);
  border: 1px solid rgba(47,143,58,.14);
  padding: 2px 6px;
  border-radius: 10px;
}

/* Contact page layout */
.contact-layout{
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 14px;
}
.contact-panel{
  background: rgba(255,255,255,.75);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}
.contact-panel h2{
  margin: 2px 0 14px;
}
.map-wrap{
  width: 100%;
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid rgba(22,48,24,.12);
  background: #fff;
}
.map-wrap iframe{
  width: 100%;
  height: 380px;
  display:block;
}

/* Footer */
.site-footer{
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
  padding: 22px 0;
}
.footer-title{ font-weight: 900; margin-bottom: 8px; }
.footer-muted{ color: var(--muted); font-size: 13px; }
.footer-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display:flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
}
.footer-list a{ color: inherit; }
.footer-bottom{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 18px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid rgba(22,48,24,.06);
}

/* Mobile menu */
.nav-toggle{
  display:none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.85);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform .06s ease, box-shadow .18s ease, background .18s ease;
}
.nav-toggle:hover{
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.nav-toggle:active{
  transform: translateY(0px);
  box-shadow: var(--shadow-soft);
}
.nav-toggle:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.nav-toggle span{
  position:absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span:nth-child(1){ top: 15px; }
.nav-toggle span:nth-child(2){ top: 21px; }
.nav-toggle span:nth-child(3){ top: 27px; }

body.nav-open .nav-toggle span:nth-child(1){
  transform: translateX(-50%) translateY(6px) rotate(45deg);
}
body.nav-open .nav-toggle span:nth-child(2){ opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3){
  transform: translateX(-50%) translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .contact-cards{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .contact-layout{ grid-template-columns: 1fr; }
}

@media (max-width: 860px){
  .brand{ min-width: 0; flex: 1; }
  .brand-text{ min-width: 0; }
  .brand-name{ font-size: 15px; }
  .brand-age{ font-size: 12px; }
  .site-nav{
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    background: rgba(255,255,255,.94);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px;
    box-shadow: var(--shadow);
    display:none;
    flex-direction: column;
    align-items: stretch;
    justify-content:flex-start;
    gap: 6px;
  }
  .nav-link{ font-size: 15px; padding: 12px 14px; }
  .nav-toggle{ display:inline-flex; }
  .header-actions{ gap: 8px; }
  .btn-facebook .btn-text{ display:none; }
  .btn-login .btn-text{ display:none; }
  .btn-mobile-icon{ width: 44px; height: 44px; padding: 0; border-radius: 14px; }
  body.nav-open .site-nav{ display:flex; }
}

@media (prefers-reduced-motion: reduce){
  .btn{ transition:none; }
  .btn:hover{ transform:none; }
}
