/* ------------------------------------------------
ULTRASYNC PODRÓŻE - "playful_dynamic" STYLE.CSS
---------------------------------------------------
RESET & BASE STYLES
---------------------------------------------------*/
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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #FFF7E8;
  color: #1e1c28;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #20558A;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #88B04B;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
}
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* FONT FACE */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #20558A;
  font-weight: 900;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 7px;
}
strong {
  font-weight: 700;
  color: #20558A;
}

p, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #232129;
  line-height: 1.7;
}

/* -----------------------------------------------------
GENERAL SECTION SPACING (MANDATORY FLEXBOX SPACING)
-----------------------------------------------------*/
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
@media (max-width: 768px) {
  section {
    padding: 32px 0 0 0;
    margin-bottom: 38px;
  }
}

.card-container, .service-cards, .service-list, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card, .service-card, .testimonial-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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
}
.feature-item, .service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*---------------------------------------
HEADER & NAVIGATION
---------------------------------------*/
header {
  background: #20558A;
  box-shadow: 0 6px 18px rgba(30,40,90,0.09);
  position: relative;
  z-index: 44;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 18px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: #FFF7E8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  position: relative;
  transition: color 0.2s;
  padding: 8px 11px;
  border-radius: 18px;
}
.main-nav a:hover, .main-nav a:focus {
  background: #88B04B;
  color: #20558A;
}
.main-nav img {
  max-height: 38px;
  margin-right: 10px;
  vertical-align: middle;
}
.cta-btn {
  background: #88B04B;
  color: #20558A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  border: none;
  border-radius: 26px;
  padding: 14px 32px;
  font-size: 1.1rem;
  margin-left: 10px;
  box-shadow: 0 2px 16px 0 rgba(136,176,75,0.10);
  cursor: pointer;
  position: relative;
  transition: background 0.25s, color 0.2s, transform 0.15s;
  outline: none;
  z-index: 2;
  text-shadow: 1px 1px 0 #fff9ee;
  letter-spacing: 0.5px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #20558A;
  color: #FFF7E8;
  transform: translateY(-2px) scale(1.03) rotate(-1deg);
  box-shadow: 0 4px 24px 3px rgba(136,176,75,0.15), 0 0 0 2px #88B04B inset;
}

/* Responsive nav */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin: 0 0 0 auto;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle {
  background: #88B04B;
  color: #20558A;
  font-size: 2rem;
  border: none;
  padding: 8px 13px;
  border-radius: 19px;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.25s, color 0.2s, transform 0.15s;
  z-index: 110;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #20558A;
  color: #fff;
}

/* MOBILE MENU - SLIDE ANIMATION */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #20558A;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(.83,.05,.45,1.3);
  display: flex;
  flex-direction: column;
  z-index: 120;
  padding: 38px 22px 22px 22px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #88B04B;
  color: #20558A;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  padding: 5px 12px;
  margin-bottom: 34px;
  cursor: pointer;
  transition: background 0.22s, color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFF7E8;
  color: #20558A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  color: #fff;
  background: transparent;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  padding: 14px 16px;
  border-radius: 23px;
  transition: background 0.165s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #88B04B;
  color: #20558A;
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none;
  }
}

/*---------------------------
HERO SECTION
---------------------------*/
.hero {
  background: linear-gradient(93deg, #FFF7E8 80%, #88B04B 100%);
  padding-bottom: 42px;
  position: relative;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: flex-center;
}
.hero h1 {
  font-size: 2.6rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #20558A;
  font-weight: 900;
  text-shadow: 1px 2px 0 #fffcc4, 0 2px 12px #AAFBC8aa;
  margin-bottom: 8px;
}
.hero .tagline {
  color: #88B04B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  margin-bottom: 18px;
}
@media (max-width: 768px) {
  .hero {
    padding-bottom: 18px;
    padding-top: 8px;
  }
  .hero h1 {
    font-size: 1.50rem;
  }
}

/* ------------------------------
CARDS & SERVICES
-------------------------------*/
.service-cards, .service-list {
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.service-card, .service-item {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 40px 0 rgba(32,85,138,0.09), 0 4px 32px 0 rgba(136,176,75,.07);
  padding: 26px 28px 22px 28px;
  min-width: 240px;
  min-height: 180px;
  flex: 1 1 275px;
  transition: transform .19s cubic-bezier(.43,1.25,.39,1.12), box-shadow .21s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  overflow: visible;
  font-size: 1rem;
  margin-bottom: 20px;
  animation: playful-pop-in .7s cubic-bezier(.5,2.1,.36,1) both;
}
.service-card:hover, .service-item:hover {
  transform: translateY(-7px) scale(1.035) rotate(-1deg);
  box-shadow: 0 8px 60px 0 rgba(136,176,75,.13), 0 2px 8px 0 #20558A13, 0 0 0 2px #88B04B55 inset;
}
.service-card img {
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
}
.service-card h3, .service-item h2, .service-item h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #20558A;
  font-size: 1.15rem;
  margin-bottom: 3px;
}
.service-price {
  margin-top: 3px;
  font-weight: bold;
  color: #fff;
  background: #20558A;
  border-radius: 18px;
  padding: 4px 18px;
  font-size: 1rem;
  display: inline-block;
  box-shadow: 0 1px 6px #20558A11;
  letter-spacing: .5px;
}
@media (max-width: 600px) {
  .service-cards, .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .service-card, .service-item {
    min-width: 0;
    padding: 19px 13px 16px 16px;
  }
}

/* ------------
FEATURES
--------*/
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}
.features ul {
  margin-bottom: 11px;
  margin-top: 6px;
}
.features li {
  margin-bottom: 7px;
  position: relative;
  padding-left: 24px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1e1c28;
}
.features li:before {
  content: '•';
  color: #88B04B;
  font-size: 1.4em;
  position: absolute;
  left: 0;
  top: -1px;
  font-weight: 900;
}


/* ---------------------
TESTIMONIAL SECTION
----------------------*/
.testimonials {
  background: #88B04B19;
  border-radius: 24px;
  padding: 36px 0 18px 0;
  margin-bottom: 60px;
}
.testimonial-slider {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.testimonial-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 26px 0 #20558A0a, 0 2px 14px 0 #88B04B15;
  padding: 26px 30px 18px 30px;
  font-size: 1.02rem;
  margin-bottom: 20px;
  color: #20558A;
  min-width: 240px;
  max-width: 400px;
  flex: 1 1 255px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow .19s, transform .13s;
  animation: fadeInReview .8s cubic-bezier(.56,1.5,.27,1.04) both;
}
.testimonial-card:hover {
  box-shadow: 0 8px 45px 0 #20558A19, 0 0 0 2px #88B04B55 inset;
  transform: translateY(-3px) scale(1.02) rotate(0.5deg);
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .97rem;
  font-weight: 600;
  color: #88B04B;
  margin-top: 4px;
}
.average-rating {
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.17rem;
  margin-top: 18px;
  color: #20558A;
}

/* Opinia contact box */
.submit-review-form {
  margin-top: 30px;
  padding: 18px 22px 14px 22px;
  background: #fff3de;
  border-radius: 18px;
  box-shadow: 0 1px 5px #88B04B14;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
/* Ensure testimonials are readable */
.testimonial-card p, .testimonial-card .testimonial-author {
  color: #20558A;
  background: none;
}

/* -----------------------------
SHORT CONTACT / CTA SECTION
------------------------------*/
.contact-short {
  background: #20558A;
  border-radius: 23px;
  color: #FFF7E8;
  margin-bottom: 60px;
  padding: 32px 0 25px 0;
  box-shadow: 0 4px 28px #20558a19;
}
.contact-short h2 {
  color: #FFF7E8;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.contact-details a {
  color: #88B04B;
}
.contact-short .cta-btn {
  background: #FFF7E8;
  color: #20558A;
  margin-top: 11px;
  margin-left: 0;
  box-shadow: 0 2px 22px #FFF7E833;
}
.contact-short .cta-btn:hover {
  background: #88B04B;
  color: #fff;
}

/*
--------------
LEGAL PAGES
--------------
*/
.legal {
  background: #fff;
  padding-top: 32px;
  border-radius: 20px;
  min-height: 270px;
}
.legal h1 {
  color: #20558A;
}
.legal .text-section ul li:before {
  color: #20558A;
}
.legal a {
  color: #20558A;
  font-weight: 500;
}

/* FAQ/poradnik */
.faq {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px #20558a13;
  padding: 18px 16px;
  margin-top: 11px;
  margin-bottom: 0;
}
.faq ul {
  margin-left: 0;
}
.faq li {
  margin-bottom: 10px;
}

/*
-------------------
FOOTER
-------------------
*/
footer {
  background: #fff;
  border-top: 5px solid #88B04B;
  padding: 0 0 18px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
footer nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 18px;
  justify-content: center;
}
footer nav a {
  color: #20558A;
  font-size: 1rem;
  font-weight: 500;
  padding: 7px 10px;
  border-radius: 12px;
  transition: background 0.14s, color 0.12s;
}
footer nav a:hover, footer nav a:focus {
  background: #88B04B;
  color: #fff;
}
footer p {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #888;
  font-size: 1rem;
}

/*
--------------------
RESPONSIVE DESIGN
--------------------
*/
@media (max-width: 1080px) {
  .container {
    padding: 0 10px;
    max-width: 100vw;
  }
}
@media (max-width: 900px) {
  .service-cards, .service-list, .testimonial-slider {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
}
@media (max-width: 640px) {
  section, .hero, .legal {
    padding-left: 0;
    padding-right: 0;
  }
  .contact-short {
    padding: 18px 0;
  }
  .testimonial-card,
  .service-card {
    padding: 15px 13px;
    min-height: 0;
  }
  .content-wrapper {
    gap: 16px;
  }
}

/*
-----------------------------
ANIMATIONS (simple playful)
-----------------------------
*/
@keyframes playful-pop-in {
  0% {
    opacity: 0;
    transform: scale(0.80) translateY(30px) rotate(-3deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0) rotate(0);
  }
}
@keyframes fadeInReview {
  0% { opacity: 0; transform: translateY(28px) scale(.93) rotate(4deg); }
  100% { opacity: 1; transform: none; }
}

/* Micro-interactions for links/buttons */
button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close, .service-card, .service-item, .testimonial-card {
  transition: box-shadow .18s, transform .14s, background 0.2s, color 0.15s;
}

/* 
----------------------------------------------------------
COOKIE CONSENT BANNER & MODAL (slide+fade, no fixed width)
----------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #20558A;
  color: #FFF7E8;
  display: flex;
  flex-direction: column;
  z-index: 1009;
  box-shadow: 0 -2px 22px #20558a13;
  align-items: center;
  padding: 18px 20px 8px 20px;
  animation: banner-slide-in 0.75s cubic-bezier(.44,1.6,.13,1.2) both;
  gap: 12px;
}
@keyframes banner-slide-in {
  from { opacity: 0; transform: translateY(120px); }
  to { opacity: 1; transform: none; }
}
.cookie-banner p {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 7px;
  max-width: 900px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  margin-bottom: 6px;
}
.cookie-btn {
  border: none;
  background: #88B04B;
  color: #20558A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  border-radius: 13px;
  padding: 8px 22px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.15s, transform 0.1s;
  margin-right: 3px;
  outline: none;
  min-width: 120px;
}
.cookie-btn:last-child {
  margin-right: 0;
}
.cookie-btn:focus, .cookie-btn:hover  {
  background: #FFF7E8;
  color: #20558A;
}
.cookie-settings-btn {
  background: #FFF7E8;
  color: #20558A;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #88B04B;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    padding-right: 8px;
    padding-left: 8px;
    gap: 7px;
  }
  .cookie-actions {
    gap: 8px;
    flex-direction: column;
  }
}

/* Cookie Consent Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1101;
  left: 0; top: 0;
  right: 0; bottom: 0;
  background: rgba(32,85,138,0.78);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInReview .3s;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 38px 0 #20558A2a;
  padding: 32px 28px 24px 28px;
  width: 95vw;
  max-width: 460px;
  color: #20558A;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: playful-pop-in .6s both;
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  margin-bottom: 9px;
  color: #20558A;
}
.cookie-modal ul {
  list-style: none;
  padding: 0;
  margin-bottom: 12px;
}
.cookie-modal li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-modal .cookie-toggle {
  width: 32px; height: 18px;
  appearance: none;
  background: #eee;
  outline: none;
  border-radius: 11px;
  position: relative;
  transition: background .17s;
}
.cookie-modal .cookie-toggle:checked {
  background: #88B04B;
}
.cookie-modal .cookie-toggle:before {
  content: '';
  display: block;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #20558A;
  position: absolute;
  left: 2px; top: .5px;
  transition: left .13s;
}
.cookie-modal .cookie-toggle:checked:before {
  left: 13px;
  background: #FFF7E8;
}
.cookie-modal label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.cookie-modal .modal-close {
  align-self: flex-end;
  background: #88B04B;
  color: #20558A;
  border: none;
  font-size: 1.3rem;
  border-radius: 50%;
  padding: 4px 14px;
  margin-bottom: 2px;
  cursor: pointer;
  transition: background .13s, color .1s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #FFF7E8;
  color: #20558A;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 18px 8px;
    max-width: 99vw;
  }
}

/*
-----------------------------
UTILITIES
-----------------------------
*/
.shadow-sm {
  box-shadow: 0 2px 8px #20558a13;
}
.shadow-md {
  box-shadow: 0 4px 22px #20558a19;
}
.rounded {
  border-radius: 18px;
}
.text-center {
  text-align: center;
}
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.gap-2 { gap: 16px; }

/*
--------------------
SCROLLBAR (playful)
--------------------
*/
::-webkit-scrollbar {
  width: 9px;
  background: #FFF7E8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: #88B04B;
  border-radius: 10px;
}

/*
--------------------
EXTRA ELEMENTS / DECORATIONS
--------------------
*/
@media (min-width: 1100px) {
  .hero:before {
    content: '';
    display: block;
    position: absolute;
    right: 0; top: 0;
    width: 180px;
    height: 100px;
    background: url('../assets/triangle-decor.svg') no-repeat right top;
    opacity: .13;
    z-index: 1;
    pointer-events: none;
  }
}

/* ------------------
SPECIAL: THANK YOU PAGE
------------------ */
main section.hero {
  min-height: 180px;
  display: flex;
  align-items: center;
  border-radius: 18px;
  margin-top: 44px;
  padding-bottom: 34px;
  box-shadow: 0 8px 32px #20558a08;
}
main section.hero .cta-btn {
  margin-top: 19px;
}

/* ----------------------
MISC
----------------------- */
abbr, acronym {
  border-bottom: 1px dotted #20558A;
  cursor: help;
}

/* Force no overlapping, always min 20px spacing for cards */
.service-card, .service-item, .testimonial-card {
  margin-bottom: 20px;
}

/* Ensure accessibility color contrast on testimonials */
.testimonials, .testimonial-card, .testimonial-card *, .average-rating {
  color: #20558A !important;
  background: none !important;
}

/*
---------------------
END OF STYLE.CSS
---------------------*/
