/* ===== CSS RESET & BASE ===== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F8FAF5;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #29465B;
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #29465B;
  text-decoration: none;
  transition: color .16s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #8DC63F;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
button, input, select, textarea {
  font-family: inherit;
  outline: none;
  border: none;
  background: none;
}

/* ====== BRAND FONTS-DISPLAY ====== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 700;
  color: #29465B;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.1rem; }
p, li, .footer-contact, label {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #29465B;
}

@media(max-width:768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

/* ======= PRIMARY COLORS & ACCENT ======= */
:root {
  --color-primary: #29465B;
  --color-secondary: #8DC63F;
  --color-accent: #F8FAF5;
  --color-heading: #29465B;
  --color-body: #445872;
  --color-white: #fff;
  --shadow-base: 0 2px 12px rgba(41, 70, 91, 0.07), 0 1.5px 6px rgba(42,68,38,0.06);
}

/* ======= CONTAINER & LAYOUTS ======= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section, section { padding: 24px 8px; margin-bottom: 32px; }
  .container { padding-left: 8px; padding-right: 8px; }
}

/* ====== HEADER & NAVIGATION ====== */
header {
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(41,70,91,0.09);
  position: sticky;
  top: 0;
  z-index: 1001;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: var(--color-primary);
  padding: 6px 12px;
  border-radius: 12px;
  transition: background 0.16s, color 0.16s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}
.btn-primary {
  background: var(--color-secondary);
  color: #fff !important;
  border-radius: 24px;
  padding: 10px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow-base);
  letter-spacing: 0.03em;
  border: none;
  text-decoration: none;
  display: inline-block;
  margin-left: 8px;
  cursor: pointer;
  transition: background 0.21s cubic-bezier(.6,.2,.1,1), box-shadow 0.18s;
  position: relative;
  overflow: hidden;
}
.btn-primary:after {
  content: '';
  display: block;
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
  background: rgba(41,70,91,0.10);
  border-radius: 100%;
  transform: translate(-50%, -50%);
  transition: width 0.5s cubic-bezier(.4,0,.2,1), height 0.5s cubic-bezier(.4,0,.2,1);
  z-index: 0;
}
.btn-primary:hover:after, .btn-primary:focus:after {
  width: 240%; height: 400%;
}
.btn-primary:hover, .btn-primary:focus {
  background: #29465B;
  color: #fff;
  box-shadow: 0 6px 24px rgba(41,70,91,0.13), 0 1.5px 6px rgba(42,68,38,0.06);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 24px;
  top: 18px;
  z-index: 1201;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  background: var(--color-secondary);
  color: #fff;
  font-size: 2rem;
  justify-content: center;
  align-items: center;
  border: none;
  box-shadow: 0 4px 16px rgba(41,70,91,0.08);
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover { background: #29465B; color: #fff; }
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #f8faf5ee;
  transform: translateX(-120vw);
  transition: transform 0.38s cubic-bezier(.36,1.32,0,.99);
  z-index: 1301;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 24px 24px 24px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 2.2rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 8px;
  transition: color .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: var(--color-secondary); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  padding: 12px 0;
  border-bottom: 1px solid #dbe9b6;
  color: #29465B;
  transition: color 0.17s, background 0.14s;
  border-radius: 4px;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: #fff;
  background: var(--color-secondary);
}
@media (max-width: 980px) {
  header nav, header .btn-primary { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 981px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ===== HERO SECTION (creative_artistic touch) ===== */
.hero {
  background:
    linear-gradient(120deg, rgba(141,198,63,0.12) 28%, rgba(41,70,91,0.07) 72%);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  border-radius: 0 0 48px 48px;
  box-shadow: 0 4px 28px rgba(41,70,91,0.07);
  position: relative;
  margin-bottom: 40px;
  overflow: hidden;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}
.hero h1 {
  font-size: 2.8rem;
  color: var(--color-primary);
  text-shadow: 1.5px 2px 0 #8DC63F44;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.33rem;
  color: #445872;
  margin-bottom: 28px;
}
.hero .btn-primary { font-size: 1.27rem; box-shadow: 0 4px 30px #8DC63F22; }
@media (max-width: 600px) {
  .hero { border-radius: 0 0 24px 24px; padding-bottom: 16px; }
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 1rem; }
}

/* ====== FEATURES SECTION ====== */
.features {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-base);
  margin-bottom: 60px;
}
.features .content-wrapper {
  gap: 32px;
}
.features h2 {
  color: var(--color-secondary);
  font-size: 2rem;
  letter-spacing: 0.01em;
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-top: 6px;
}
.features ul li {
  background: #F8FAF5;
  border-radius: 18px;
  box-shadow: 0 1px 4px #29465b09;
  color: var(--color-primary);
  font-size: 1rem;
  padding: 14px 24px 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: box-shadow 0.17s, background 0.16s;
  min-width: 216px;
  min-height: 48px;
}
.features ul li:hover {
  box-shadow: 0 8px 36px #29465b23;
  background: #e9f7d2;
}
.features ul li img {
  width: 38px;
  height: 38px;
  margin-right: 8px;
  filter: drop-shadow(1px 3px 0px #8dc63f22);
}
@media (max-width:768px){
  .features ul { flex-direction: column; gap: 14px; }
  .features ul li { width: 100%; }
}

/* ===== SERVICES LIST ===== */
.services {
  background: #29465B;
  border-radius: 30px;
  box-shadow: 0 2px 12px rgba(41,70,91,0.12);
  color: #fff;
  margin-bottom: 60px;
}
.services h2, .services h1 { color: #fff; letter-spacing: 0.01em; }
.services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.services ul li {
  background: #3e5872;
  border-radius: 20px;
  box-shadow: 0 1px 12px #8DC63F09;
  padding: 24px;
  min-width: 250px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
  --stripe-accent: #8DC63F22;
  border-left: 6px solid var(--color-secondary);
  transition: background 0.19s, box-shadow 0.18s;
}
.services ul li:hover {
  background: #4a7a28;
  border-left: 6px solid #29465B;
  box-shadow: 0 8px 26px #8DC63F33;
}
.services ul li h2, .services ul li h3 {
  font-size: 1.18rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.services ul li strong {
  color: #8DC63F;
  font-size: 1.13rem;
  font-weight: bold;
}
.services ul li a {
  color: #fff;
  text-decoration: underline;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
  margin-top: 2px;
  transition: color .16s;
}
.services ul li a:hover { color: #8DC63F; }
@media (max-width: 900px) {
  .services ul { flex-direction: column; gap: 14px; }
}

/* PRICING TABLE */
.pricing-table {
  margin-top: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 8px #29465b15;
  width: 100%;
  overflow: hidden;
  font-size: 1rem;
  border-collapse: collapse;
}
.pricing-table thead {
  background: #8DC63F;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
}
.pricing-table th, .pricing-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid #EBF3E1;
}
.pricing-table tbody tr:last-child td { border: none; }
.pricing-table td { color: #29465B; }
@media (max-width:600px) {
  .pricing-table th,.pricing-table td { padding: 9px !important; }
}

/* ===== CARD CONTAINER & CARDS ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 10px #29465b15;
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  transition: box-shadow 0.17s, background 0.15s;
}
.card:hover {
  box-shadow: 0 8px 28px #8DC63F19, 0 2px 4px #29465b08;
  background: #e9f7d2;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ====== TESTIMONIALS ====== */
.testimonials {
  background: #fff;
  border-radius: 32px;
  padding: 40px 20px;
  box-shadow: 0 3px 23px #29465b1b;
  margin-bottom: 60px;
}
.testimonials h2, .testimonials h1 {
  color: #29465B;
  text-align: left;
  margin-bottom: 18px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F8FAF5;
  border-left: 6px solid #8DC63F;
  box-shadow: 0 1px 8px #8DC63F18;
  border-radius: 20px;
  margin-bottom: 20px;
  max-width: 720px;
  width: 100%;
}
.testimonial-card:last-child { margin-bottom: 0; }
.testimonial-card p {
  color: #29465B;
  font-size: 1.1rem;
  font-style: italic;
  margin-right: 10px;
}
.testimonial-card strong { color: #29465B; }
.testimonial-card div {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 1rem;
}
@media(max-width:768px){
  .testimonials { padding: 22px 8px; border-radius: 20px; }
  .testimonial-card { flex-direction: column; gap: 6px; align-items: flex-start; }
}

/* ====== CTA SECTION ====== */
.cta {
  background: linear-gradient(120deg, #8DC63F22 30%, #F8FAF5 70%);
  border-radius: 24px;
  box-shadow: 0 4px 24px #29465b10;
  margin-bottom: 60px;
  text-align: center;
}
.cta h2, .cta h1 {
  color: var(--color-primary);
  font-size: 2.25rem;
}
.cta p {
  color: #445872;
  font-size: 1.15rem;
  margin-bottom: 26px;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cta .btn-primary { margin-top: 20px; }
@media(max-width:768px){
  .cta { padding: 22px 8px; border-radius: 16px; }
  .cta h2, .cta h1 { font-size: 1.4rem; }
}

/* ==== CASE STUDY (realizacje) */
.case-study {
  background: #F8FAF5;
  border-radius: 18px;
  padding: 28px 18px 16px 22px;
  margin-bottom: 24px;
  box-shadow: 0 2px 16px #8DC63F11;
  color: #29465B;
}
.case-study:last-child { margin-bottom: 0; }
.case-study h2 {
  font-size: 1.22rem;
  color: #8DC63F;
  margin-bottom: 8px;
}

/* ===== ABOUT PAGE ===== */
.about {
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 4px 18px #8dc63f10;
}
.about .text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ===== BLOG POST TEASERS ===== */
.blog-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.post-teaser {
  flex: 1 1 282px;
  background: #F8FAF5;
  border-radius: 18px;
  box-shadow: 0 1px 8px #29465b09;
  padding: 20px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 230px;
  min-height: 120px;
  transition: box-shadow 0.18s, background 0.16s;
  border-left: 6px solid #8DC63F;
}
.post-teaser h2 {
  font-size: 1.08rem;
  color: #29465B;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 6px;
}
.post-teaser p { color: #445872; font-size: .99rem; }
.post-teaser:hover {
  background: #e9f7d2;
  box-shadow: 0 8px 24px #8DC63F28, 0 1.5px 6px #8DC63F1b;
}
@media (max-width: 700px) {
  .blog-posts { flex-direction: column; gap: 10px; }
  .post-teaser { width: 100% !important; }
}

/* ===== BLOG CATEGORIES ===== */
.blog-categories {
  background: #fff;
  border-radius: 12px;
  padding: 16px 22px;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  box-shadow: 0 0.5px 3px #29465b10;
}
.blog-categories h3 { margin-bottom: 8px; color: #8DC63F; }
.blog-categories ul { display: flex; flex-wrap: wrap; gap: 13px; }
.blog-categories ul li {
  background: #e4f7ca;
  color: #29465B;
  border-radius: 10px;
  padding: 4px 14px;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ===== NEWSLETTER BOX ===== */
.newsletter {
  background: #29465B;
  color: #fff;
  border-radius: 17px;
  box-shadow: 0 1px 11px #8DC63F11;
  padding: 22px 24px;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.newsletter a { color: #8DC63F; text-decoration: underline; }
.newsletter h3 { color: #fff; font-size: 1.13rem; margin-bottom: 10px; }

/* ========== CONTACT DETAILS ========== */
.contact-details {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 18px #8dc63f10;
  padding: 28px 22px;
  margin-bottom: 24px;
  font-size: 1.1rem;
}
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 12px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Open Sans', Arial, sans-serif;
}
.contact-details img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(1px 3px 0px #8dc63f12);
}

/* ========== TEXT & POLICY SECTION ========== */
.text-section {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 11px #8DC63F0a;
  padding: 26px 20px;
  margin-bottom: 14px;
}
.text-section ul {
  margin-top: 8px;
  margin-left: 16px;
  list-style: square;
  color: #8DC63F;
}
.text-section li {
  color: #29465B;
  font-size: 1rem;
  margin-bottom: 7px;
}
.text-section h2 {
  color: #8DC63F;
  font-size: 1.18rem;
  margin-bottom: 9px;
}

/* ========== FOOTER ========= */
footer {
  background: #29465B;
  color: #fff;
  padding: 38px 0 16px 0;
  box-shadow: 0 -2px 16px #8DC63F19;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.93;
  letter-spacing: 0.015em;
  transition: opacity 0.17s, color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: #8DC63F;
  opacity: 1;
}
.footer-contact {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #fff;
  opacity: 0.92;
  font-size: 1rem;
  line-height: 1.69;
  margin-top: 4px;
}
@media (max-width: 768px) {
  footer .container { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ======= COOKIE CONSENT BANNER ======= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(92deg, #29465B 72%, #8DC63F 98%);
  color: #fff;
  z-index: 2000;
  padding: 18px 24px 16px 24px;
  box-shadow: 0 -2px 14px #29465b22;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: cookieBannerSlide 0.8s cubic-bezier(.6,1.13,.13,.98) 1;
}
@keyframes cookieBannerSlide {
  0% { transform: translateY(120%); }
  100%{ transform: translateY(0); }
}
.cookie-banner__text{
  font-size: 1rem;
  max-width: 750px;
  text-align: center;
  margin-bottom: 5px;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
}
.cookie-btn,
.cookie-banner .btn-primary,
.cookie-banner .btn-outline {
  border-radius: 19px;
  padding: 7px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  box-shadow: 0 1px 6px #29465b16;
  margin: 0;
  cursor: pointer;
  transition: background .17s, color .17s, box-shadow .18s;
}
.cookie-banner .btn-primary, .cookie-btn.accept {
  background: #8DC63F;
  color: #fff;
}
.cookie-banner .btn-primary:hover, .cookie-btn.accept:hover {
  background: #6ea11b;
  color: #fff;
}
.cookie-banner .btn-outline, .cookie-btn.reject {
  background: #fff;
  color: #29465B;
  border: 2px solid #8DC63F;
}
.cookie-banner .btn-outline:hover, .cookie-btn.reject:hover {
  background: #87b85c;
  color: #fff;
  border-color: #29465B;
}

/* ====== COOKIE PREFERENCES MODAL ====== */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.8);
  min-width: 320px;
  max-width: 98vw;
  width: 440px;
  background: #fff;
  color: #29465B;
  z-index: 3000;
  border-radius: 16px;
  box-shadow: 0 8px 40px #8DC63F1a;
  padding: 30px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .36s, transform .36s;
}
.cookie-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal__header {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #8DC63F;
  font-size: 1.22rem;
  margin-bottom: 9px;
}
.cookie-modal__desc {
  font-size: .95rem; color: #29465B; margin-bottom: 5px;
}
.cookie-modal__categories {
  margin: 16px 0;
  display: flex; flex-direction: column; gap: 10px;
}
.cookie-modal__category {
  background: #F8FAF5;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cookie-modal__category label {
  font-size: 1rem;
  color: #29465B;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal__toggles {
  display: flex;
  gap: 9px;
  align-items: center;
}
.cookie-modal__toggles input[type=checkbox] {
  accent-color: #8DC63F;
  width: 20px; height: 20px;
}
.cookie-modal__essential {
  font-size: .95rem; color: #6fa027; opacity: .80;
}
.cookie-modal__actions {
  display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px;
}
.cookie-modal .btn-primary,.cookie-modal .btn-outline { min-width: 96px; }
.cookie-modal__close {
  background: none;
  border: none;
  color: #29465B;
  font-size: 2rem;
  position: absolute;
  right: 22px;  top: 17px;
  cursor: pointer;
  z-index: 1;
}
.cookie-modal__close:hover { color: #8DC63F; }
@media(max-width:530px){
  .cookie-modal { width: 99vw; min-width: unset; left: 50%; }
}

/* ==== SPACING, GAPS, AND FLEXBOX UTILS ==== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Responsive adjustments for mandatory flexbox layouts */
@media(max-width:768px){
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .features ul, .services ul, .blog-categories ul {
    flex-direction: column;
    gap: 10px;
  }
}

/* ====== ANIMATION & MICROS ====== */
.btn-primary,.btn-outline,.cookie-btn {
  transition: background .21s cubic-bezier(0.4,0,0.2,1), color .16s, box-shadow .13s;
}
.card,.services ul li,.features ul li,.post-teaser {
  transition: box-shadow .15s, background .13s;
}
.card:active,.card:focus,
.services ul li:active,.services ul li:focus,
.features ul li:active,.features ul li:focus,
.post-teaser:active {
  box-shadow: 0 8px 40px #8DC63F15,0 2px 6px #29465b11;
}

/* ====== SCROLLBAR ARTISTIC ====== */
::-webkit-scrollbar { width: 10px; background: #e9f7d2; }
::-webkit-scrollbar-thumb { background: #8DC63F44; border-radius: 10px; }

/* ====== UNIQUE ARTISTIC MARKS ====== */
h1, h2, h3, .logo, .features h2, .cta h2 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 0.03em;
  /* Slight text-shadow for art style */
  text-shadow: 1px 2px 0 #E4F7CA22;
}

/* ===== FOCUS VISIBLE for ACCESSIBILITY ===== */
:focus-visible {
  outline: 2px solid #8DC63F;
  outline-offset: 2px;
  z-index: 2;
}

/* ========= ARTISTIC FLOAT DECORS (OPTIONAL, for personality) ========= */
.hero:after {
  content: '';
  position: absolute;
  right: -42px; top: 16%;
  width: 150px; height: 150px;
  border-radius: 40% 60% 80% 20% / 40% 80% 20% 60%;
  background: #8dc63f2e;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 500px) {
  .hero:after { display: none; }
}

/* ========= PRINT & UTILITY ========= */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff; }
}
