/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:         #82BA28;
  --green-dark:    #6A9A1C;
  --green-light:   #EAF4CC;
  --green-pale:    #F4FAE8;
  --yellow:        #D4A847;
  --yellow-light:  #F5E6BB;
  --dark:          #2A2A1A;
  --dark-mid:      #4a4a3a;
  --gray:          #6b6b5b;
  --gray-light:    #e4e4dc;
  --cream:         #F0EDE7;
  --white:         #FFFFFF;
  --radius:        12px;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:     0 6px 24px rgba(0,0,0,0.12);
  --transition:    0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--dark);
  background: var(--cream);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover {
  background: var(--dark-mid);
  border-color: var(--dark-mid);
}

.btn-green-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-green-outline:hover {
  background: var(--green);
  color: var(--white);
}

.btn-full { width: 100%; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-link { display: flex; align-items: center; }
.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
  position: relative;
  transition: color var(--transition);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.main-nav a:hover,
.main-nav a.active { color: var(--green-dark); }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 800 !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--green-dark) !important; }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: var(--green);
  border: none;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-overlay.visible {
  display: block;
  opacity: 1;
}

/* ===== HERO (index.html) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../assets/hero.jpg');
  background-size: cover;
  background-position: center;
  padding-top: 72px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 30, 5, 0.52);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 780px;
  padding: 0 1.5rem;
}

.hero-label {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.92;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  opacity: 0.7;
  animation: bounce 2s infinite;
  z-index: 1;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== PAGE HEADER (subpages) ===== */
.page-header {
  background: var(--green);
  padding: 5rem 0 3rem;
  margin-top: 72px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/hero.jpg') center/cover no-repeat;
  opacity: 0.15;
}

.page-header .container { position: relative; z-index: 1; }

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.breadcrumb {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
}
.breadcrumb a { color: rgba(255,255,255,0.9); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.65); }

/* ===== SECTIONS ===== */
.section { padding: 5rem 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-green-pale { background: var(--green-pale); }

.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }

.section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.2;
  position: relative;
  padding-bottom: 1rem;
  display: block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 48px; height: 3px;
  background: var(--green);
  border-radius: 2px;
}

.section-header.center h2 {
  text-align: center;
}

.section-header.center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-header.center .section-label {
  text-align: center;
}

.section-sub {
  margin-top: 0.75rem;
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== O NAS (homepage preview) ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 1rem;
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 48px; height: 3px;
  background: var(--green);
  border-radius: 2px;
}

.about-text p {
  color: var(--dark-mid);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.value-card h3::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--gray);
}

/* ===== OFERTA GRID ===== */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.offer-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 220px;
  background-size: cover;
  background-position: center;
  cursor: default;
  transition: transform var(--transition);
}

.offer-card:hover { transform: scale(1.02); }

.offer-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 60%);
}

.offer-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 220px;
  padding: 1.5rem;
  color: var(--white);
}

.offer-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.offer-card-inner h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.offer-card-inner p {
  font-size: 0.85rem;
  opacity: 0.88;
  line-height: 1.5;
}

/* ===== OFERTA PAGE (detail cards) ===== */
.offer-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.offer-detail-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.25rem;
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--green);
}

.offer-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.offer-detail-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.offer-detail-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.offer-detail-card p {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.65;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--green);
  padding: 3rem 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.25rem;
}

.cta-inner h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.cta-inner > div > p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

/* ===== AKTUALNOŚCI ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-img {
  position: relative;
  height: 180px;
  display: flex;
  align-items: flex-start;
  padding: 1rem;
}

.news-date {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.3;
}

.news-date strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
}

.news-body { padding: 1.25rem; }

.news-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.news-body h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.news-body p {
  font-size: 0.87rem;
  color: var(--gray);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.news-link {
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--green-dark);
  transition: color var(--transition);
}
.news-link:hover { color: var(--dark); }

/* ===== OPINIE ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border-left: 4px solid var(--green);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stars {
  color: var(--green);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.review-card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--dark-mid);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reviewer-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.reviewer strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
}

.reviewer span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ===== KONTAKT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-light);
  border-radius: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(130, 186, 40, 0.15);
}

.form-group textarea { resize: vertical; }

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-info h3 {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.contact-info h3::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40px; height: 3px;
  background: var(--green);
  border-radius: 2px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.ci-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-list strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.15rem;
}

.contact-list span,
.contact-list a {
  font-size: 0.97rem;
  color: var(--dark);
}

.contact-list a:hover { color: var(--green-dark); }

.social-links { margin-bottom: 1.5rem; }
.social-btn {
  display: inline-block;
  background: #1877f2;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  transition: opacity var(--transition);
}
.social-btn:hover { opacity: 0.85; }

.map-placeholder {
  background: var(--gray-light);
  border-radius: var(--radius);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
}

/* ===== O NAS PAGE ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}

.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1rem;
  border: 3px solid var(--green);
}

.team-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 0.25rem; }
.team-card span { font-size: 0.82rem; color: var(--green-dark); font-weight: 700; }
.team-card p { font-size: 0.87rem; color: var(--gray); margin-top: 0.75rem; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.stat-box {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  box-shadow: var(--shadow-sm);
}

.stat-box .stat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-box p {
  font-size: 0.87rem;
  color: var(--gray);
  font-weight: 600;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: #c0c0b0;
  padding-top: 3.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-col p {
  font-size: 0.87rem;
  line-height: 1.7;
  color: #999;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: #999;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--green); }

.footer-contact li {
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  color: #999;
}
.footer-contact a { color: #999; }
.footer-contact a:hover { color: var(--green); }

.footer-social { margin-top: 1rem; }
.footer-social a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green);
  border: 1px solid var(--green);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--green);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #666;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: var(--green); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover { transform: translateY(-3px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-detail-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-col:first-child { grid-column: 1 / -1; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }

  /* ── MOBILE HEADER ── */
  .header-inner { height: 64px; }

  .logo-img { height: 44px; }

  .hamburger { display: flex; }

  /* Nav: ukryte przez max-height (niezawodne na iOS) */
  .main-nav {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease;
    box-shadow: none;
  }

  .main-nav.open {
    max-height: 420px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  }

  .main-nav ul {
    flex-direction: column;
    padding: 0.75rem 0 1rem;
    gap: 0;
    align-items: stretch;
  }

  .main-nav ul li { border-bottom: 1px solid var(--gray-light); }
  .main-nav ul li:last-child { border-bottom: none; padding: 1rem 1.5rem 0.5rem; }

  .main-nav a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
  }

  .main-nav a::after { display: none; }

  .main-nav a:hover,
  .main-nav a.active {
    color: var(--green-dark);
    background: var(--green-pale);
  }

  /* Kontakt CTA w mobile menu */
  .main-nav .nav-cta {
    display: block;
    text-align: center;
    border-radius: 8px !important;
    padding: 0.85rem 1.5rem !important;
  }

  /* ── RESZTA LAYOUTU ── */
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 280px; }

  .about-cards { grid-template-columns: 1fr 1fr; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-col:first-child { grid-column: 1; }
  .cta-inner { flex-direction: column; text-align: center; }
  .team-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .offer-grid { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
}
