/* ===== CSS RESET & NORMALIZE ===== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F7EFDB;
  color: #174e31;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

/* ===== BRAND FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

:root {
  --primary: #174e31;
  --secondary: #ffffff;
  --bg: #F7EFDB;
  --accent: #DDB72B;
  --accent-dark: #b29121;
  --fun-pink: #FF82C2; /* pop playful accent for hover */
  --fun-blue: #2DB6F6; /* playful blue as highlight */
  --card-shadow: 0 2px 20px rgba(34, 137, 89, 0.09);
  --radius-lg: 28px;
  --radius: 16px;
  --radius-sm: 8px;
  --max-width: 1020px;
  --header-height: 70px;
}

/* ===== UTILS ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 12px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary, #fff);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  animation: fadeInUp 0.7s ease;
  will-change: transform, opacity;
}
@keyframes fadeInUp {
  from { opacity:0; transform: translateY(40px); }
  to { opacity:1; transform: none; }
}

/* ===== GENERAL TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.07;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 8px;
  color: var(--accent);
  text-shadow: 1px 3px 0 var(--fun-blue), 2px 4px 8px rgba(0,0,0,0.03);
}
h2 {
  font-size: 1.9rem;
  margin-bottom: 16px;
  color: var(--primary);
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}
p, ul li, ol li {
  font-size: 1.1rem;
  line-height: 1.72;
  color: var(--primary);
  margin-bottom: 8px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
strong {
  font-weight: bold;
  color: var(--accent);
}

/* ===== PLAYFUL FUN FONTS (highlight) ===== */
.cta-btn, .mobile-menu-toggle, .cookie-btn, .cookie-toggle {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif !important;
}

/* ===== HEADER & NAV ===== */
header {
  width: 100%;
  background: var(--secondary, #fff);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0; left: 0;
  z-index: 50;
  min-height: var(--header-height);
  padding: 0 0 0 0;
}
header > a {
  margin-right: 30px;
  display: flex;
  align-items: center;
}
header img[alt^="Ventaco"] {
  height: 52px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-right: auto;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  color: var(--primary);
  background: transparent;
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  transition: background 0.2s, color 0.2s;
  font-weight: 700;
}
header nav a:hover, header nav a:focus {
  background: var(--accent, #DDB72B);
  color: #fff;
}
.cta-btn {
  display: inline-block;
  background: var(--fun-pink);
  color: #fff;
  font-weight: 900;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  padding: 12px 32px;
  border-radius: var(--radius);
  box-shadow: 0 1px 6px 0 rgba(220,66,122,0.09);
  margin-left: 18px;
  position: relative;
  letter-spacing: 0.02em;
  transition: background 0.25s, box-shadow 0.2s, transform 0.15s;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--fun-blue);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 5px 16px rgba(45,182,246,0.14);
}

/* MOBILE HEADER BUTTON */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  font-size: 2.2rem;
  color: var(--fun-pink);
  background: transparent;
  border: 0;
  margin-left: 20px;
  cursor: pointer;
  z-index: 80;
  transition: color 0.2s, transform 0.2s;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  justify-content: center;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  color: var(--fun-blue);
  background: #fce3f6;
}

@media (min-width: 992px) {
  .mobile-menu-toggle { display: none; }
}

/* ===== MOBILE MENU OVERLAY =====*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(245, 234, 255, 0.98);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.28s cubic-bezier(.53,1.53,.51,.99), transform 0.32s cubic-bezier(.53,1.53,.51,.99);
}
.mobile-menu.open {
  pointer-events: all;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.25s, transform 0.34s cubic-bezier(.53,1.53,.51,.99);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: var(--fun-pink);
  background: transparent;
  margin: 20px 16px 10px 14px;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  align-self: flex-end;
  transition: background 0.2s, color 0.2s;
  z-index: 200;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--fun-blue);
  background: #f6e0ff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 18px 26px 20px 38px;
  gap: 12px;
}
.mobile-nav a {
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-weight: 800;
  padding: 10px 0;
  border-radius: var(--radius-sm);
  transition: background 0.21s, color 0.21s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--accent);
  color: #fff;
  padding-left: 12px;
}
@media (min-width: 992px) {
  .mobile-menu { display: none !important; }
}

@media (max-width: 991px) {
  header nav {
    display: none;
  }
  .cta-btn {
    margin-left: 9px;
    padding: 9px 22px;
    font-size: 1rem;
  }
  header > a img {
    height: 40px;
  }
}

/* ===== SECTIONS & LAYOUTS ===== */
main { width: 100%; padding-top: 30px; }
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary,#fff);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  background: #fff;
  padding: 28px 22px;
  min-width: 220px;
  flex: 1 1 240px;
  transition: transform 0.19s cubic-bezier(.68,2,.37,.85), box-shadow 0.18s;
  will-change: transform, box-shadow;
}
.card:hover, .card:focus-within {
  transform: translateY(-7px) scale(1.02) rotate(-1.2deg);
  box-shadow: 0 7px 29px rgba(34, 137, 89, 0.18);
}
.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) {
  .content-grid, .card-container, .text-image-section, .feature-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px;
  }
  .section {
    padding: 24px 9px;
    margin-bottom: 34px;
  }
  .container {
    padding: 0 5px;
  }
}

/* ===== LISTS / FEATURES / ICONS ===== */
ul, ol {
  margin-bottom: 4px;
}
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.09rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
ul li img, ol li img {
  width: 36px;
  height: 36px;
  margin-right: 10px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e1f8ef;
  padding: 5px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 28px 18px 24px;
  margin-bottom: 24px;
  background: #fff7fc;
  border-left: 6px solid var(--fun-pink);
  border-radius: var(--radius);
  box-shadow: 0 2px 9px rgba(192, 114, 178,0.08);
  font-size: 1.07rem;
  min-width: 240px;
  max-width: 540px;
}
.testimonial-card p {
  color: #2c2955;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.12rem;
  line-height: 1.72;
  margin-bottom: 4px;
}
.testimonial-card span {
  display: inline-block;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #216943;
  font-size: 1.01rem;
  background: var(--accent);
  border-radius: var(--radius-sm);
  padding: 2px 12px;
  margin-top: 2px;
  letter-spacing: 0.01em;
}

@media (max-width: 600px) {
  .testimonial-card {
    padding: 12px 10px 12px 14px;
    font-size: 1rem;
    max-width: 100%;
    border-left-width: 3px;
  }
}

/* ===== MAP EMBED PLACEHOLDER ===== */
.map-embed {
  width: 100%;
  min-height: 180px;
  background: linear-gradient(90deg,#F7EFDB 60%, #e7faee 100%);
  border-radius: var(--radius);
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.09rem;
}

/* ===== FOOTER ===== */
footer {
  background: #fff;
  box-shadow: 0 -1px 9px rgba(34, 137, 89,0.05);
  padding: 28px 0 20px 0;
  width: 100%;
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
footer .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
  padding: 0;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
footer nav a {
  color: var(--primary);
  font-size: 1.07rem;
  font-family: 'Montserrat',Arial,Helvetica,sans-serif;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  transition: background 0.2s, color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--accent);
  color: #fff;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.02rem;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 6px;
}
.contact-info img {
  width: 22px;
  height: 22px;
}
.social-links {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 12px;
}
.social-links a {
  display: flex;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background: #fbe9ae;
  align-items: center;
  justify-content: center;
  transition: background 0.21s, transform 0.21s;
}
.social-links a:hover, .social-links a:focus {
  background: var(--fun-blue);
  transform: scale(1.1);
}
@media (max-width: 768px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  footer nav {
    gap: 10px;
    flex-wrap: wrap;
  }
}

/* ===== BUTTONS, FORMS ===== */
button, .cookie-btn, .cookie-toggle {
  cursor: pointer;
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.1s;
}
.cookie-btn, .cookie-toggle {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.03rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(221,183,43,0.07);
  margin: 0 8px 0 0;
}
.cookie-btn.accept-all {
  background: var(--accent);
  color: #fff;
}
.cookie-btn.accept-all:hover { background: var(--fun-blue); }
.cookie-btn.reject-all {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-btn.reject-all:hover {
  background: #ffdff5;
}
.cookie-btn.settings {
  background: var(--fun-pink);
  color: #fff;
}
.cookie-btn.settings:hover {
  background: var(--fun-blue);
}
.cookie-toggle {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--accent);
  margin-right: 10px;
  font-size: 1.05rem;
  padding: 7px 18px;
}
.cookie-toggle.active {
  background: var(--accent);
  color: #fff;
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-consent-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  width: 100vw;
  z-index: 5000;
  background: #fff6ef;
  border-top: 3px solid var(--accent);
  box-shadow: 0 2px 18px rgba(210,194,82, 0.19);
  padding: 24px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: slideUpConsent 0.5s cubic-bezier(.69, .00, .26, 1.14) 1;
}
@keyframes slideUpConsent {
  from {opacity:0; transform: translateY(80px);}
  to   {opacity:1; transform: none;}
}
.cookie-consent-banner .banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ====== COOKIE PREFERENCES MODAL ====== */
.cookie-modal {
  position: fixed;
  left: 0;right: 0;top: 0;bottom: 0;
  background: rgba(18,22,33,0.16);
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.21s;
}
.cookie-modal.open {
  pointer-events: all;
  opacity: 1;
  transition: opacity 0.3s cubic-bezier(.53,1.53,.51,.99);
}
.cookie-modal-content {
  background: #fffefd;
  padding: 38px 24px 32px 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 32px rgba(95,21,153,0.13);
  min-width: 320px;
  max-width: 98vw;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  position: relative;
  animation: fadeInUp 0.5s;
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 13px;
  color: var(--fun-pink);
  font-size: 1.5rem;
  background: transparent;
  border: none;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  z-index: 100;
  transition: background 0.18s, color 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--fun-blue);
  background: #faf4ff;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}
.cookie-category .category-label {
  font-weight: bold;
  min-width: 140px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-size: 1.09rem;
}
.cookie-category .cookie-toggle {
  margin: 0 0 0 0;
  flex-shrink: 0;
}
.cookie-category.essential .cookie-toggle {
  pointer-events: none;
  background: var(--accent);
  color: #fff;
  opacity: 0.7;
  border-color: #d4c582;
}

@media (max-width: 480px) {
  .cookie-modal-content {
    padding: 13px 5px 19px 8px;
    min-width: 90vw;
  }
}

/* ======= ANIMATIONS/MOTION ======= */
.cta-btn, .card, .mobile-menu-toggle, .cookie-btn, .cookie-toggle {
  transition: background 0.13s, color 0.13s, transform 0.13s, box-shadow 0.16s;
}
.cta-btn:active,
.button:active,
.card:active {
  transform: scale(0.98) !important;
}

.card, .testimonial-card {
  animation: fadeInUp 0.8s cubic-bezier(.57,1.74,.29,.97);
}

/* ===== SPACING & FLEX ===== */
.card-container,
.content-grid,
.text-image-section,
.testimonial-row,
.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
}
.content-grid {
  gap: 20px;
  justify-content: space-between; /* for even gutter */
}
.text-image-section {
  align-items: center;
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
}
.feature-item {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .card-container,
  .content-grid,
  .text-image-section,
  .testimonial-row,
  .feature-row {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    gap: 14px;
    padding: 14px 4px 10px 10px;
  }
}

/* ========= PLAYFUL DYNAMIC ACCENTS ========= */
h1, h2, .cta-btn {
  /* A dynamic playful shadow */
  text-shadow: 0.5px 1.5px 0 var(--fun-blue), 0 0.5px 12px rgba(45,182,246,0.05);
}
.cta-btn {
  box-shadow: 0 3px 9px 0 rgba(255, 130, 194, 0.13);
  border: 2px solid transparent;
}
.cta-btn:focus {
  outline: 2px solid var(--fun-blue);
  border: 2px solid var(--fun-blue);
}
ul li img, .feature-item img {
  box-shadow: 0 1px 9px rgba(45,182,246,0.08);
  border: 2.5px solid #fce6e9;
  transition: border 0.18s;
}
ul li img:hover {
  border: 2.5px solid var(--fun-pink);
}

/* ========= SCROLLBAR (for fun accent) ========= */
::-webkit-scrollbar {
  width: 10px;
  background: #f3fdff;
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 8px;
}

/* ======= ACCESSIBILITY CONTRAST ========= */
.testimonial-card p, .testimonial-card span {
  color: #233;
}
.testimonial-card {
  background: #fff7fa;
  border-left: 6px solid var(--fun-pink);
}

/* ======= MISC ======= */
[aria-label="Mapa lokalizacji firmy"] {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b29121;
  font-size: 1.08rem;
}

/* ======= THANK YOU PAGE SPECIFIC ======= */
.thank-section .cta-btn {
  margin-top: 24px;
}

/* ======= PRINT HELPERS ======= */
@media print {
  header, footer, .cookie-consent-banner, .cookie-modal { display: none !important; }
}
