/* ---------------------------------------------------------------
  Odkryj Polskę - style.css
  "soft_pastel" pastel, dreamy, natural, gentle design
  Brand fonts: 'Lora' for headings, 'Open Sans' for body
  Main palette: forest green (#215D3C), pastel beige (#F5F2E7), pastel sand (#C98B48), accent ochre (#A15F09)
  Responsive, mobile-first, pure Flexbox layouts ONLY.
--------------------------------------------------------------- */

/* ------------------------
   CSS RESET & BASE LAYOUT
-------------------------*/
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #FAFAF8;
  color: #29321d;
  min-height: 100vh;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #295c33;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #A15F09;
}
ul, ol {
  padding-left: 1.1em;
  margin-bottom: 20px;
  font-size: 1em;
}
ul li,
ol li {
  margin-bottom: 10px;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}
hr {
  border: none;
  height: 1px;
  background-color: #ece7da;
  margin: 24px 0;
}

/* ------------------------
      TYPOGRAPHY
-------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', Georgia, serif;
  color: #215D3C;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: #5B9279;
}
h4, h5, h6 {
  font-size: 1.05rem;
}
p {
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
  color: #215D3C;
}

/* ------------------------
      CONTAINER
-------------------------*/
.container {
  width: 100%;
  max-width: 1120px;
  padding: 0 18px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

/* ------------------------
     HEADER + NAVIGATION
-------------------------*/
header {
  background: #F5F2E7;
  box-shadow: 0 2px 12px rgba(120,145,100,0.07);
  position: sticky;
  top: 0;
  z-index: 20;
}
header > .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}
header img {
  height: 43px;
  width: auto;
  margin-right: 28px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
header nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1em;
  color: #295c33;
  background: transparent;
  padding: 7px 12px;
  border-radius: 18px;
  transition: background 0.2s, color 0.2s;
  font-weight: 500;
}
header nav a:hover,
header nav a:focus {
  background: #DCF4E7;
  color: #215D3C;
}
.cta-btn {
  font-family: 'Lora', Georgia, serif;
  font-size: 1em;
  font-weight: 700;
  background: #C98B48;
  color: #fff !important;
  border: none;
  padding: 11px 36px;
  border-radius: 26px;
  box-shadow: 0 1px 12px rgba(201,139,72,0.09);
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s, color 0.2s, transform 0.1s;
  margin-left: 12px;
  letter-spacing: 0.028em;
  outline: none;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #A15F09;
  color: #fff !important;
  box-shadow: 0 2px 14px rgba(201,139,72,0.13);
  transform: translateY(-1.5px) scale(1.04);
}

/* Hide mobile menu toggle by default */
.mobile-menu-toggle {
  display: none;
}

/* ------------------------
    HERO SECTION
-------------------------*/
.hero {
  background: linear-gradient(150deg, #EAF7F1 60%, #F5F2E7 100%);
  padding: 60px 0 44px 0;
  margin-bottom: 60px;
}
.hero .container {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
}
.hero h1 {
  color: #215D3C;
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.12em;
  margin-bottom: 26px;
  color: #395f48;
}

/* ------------------------
      SECTIONS / CARDS
-------------------------*/
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 20px rgba(180, 205, 180, 0.07);
  padding: 26px 18px 18px 22px;
  transition: box-shadow .22s, transform .17s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 28px 0 rgba(177,207,192,0.14);
  transform: translateY(-2px) scale(1.015);
}
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FAF7F1;
  border-radius: 18px;
  padding: 20px 18px;
  min-width: 200px;
  flex: 1 1 200px;
  box-shadow: 0 2px 9px 0 rgba(180,205,180,0.07);
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-details img {
  vertical-align: middle;
  margin-right: 8px;
  height: 18px;
  width: 18px;
}

/* ------------------------
     TESTIMONIAL CARD
-------------------------*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 22px;
  background: #F5F2E7;
  box-shadow: 0 2px 12px rgba(201, 180, 120, 0.08);
  border: 1.2px solid #ece5c9;
  position: relative;
  flex: 1 1 220px;
  min-width: 220px;
}
.testimonial-card p {
  font-size: 1.1em;
  color: #215D3C;
  font-family: 'Lora', Georgia, serif;
  margin-bottom: 12px;
}
.testimonial-card div {
  color: #7C593C;
  font-weight: bold;
  font-size: 1em;
}

/* --------------
     FOOTER
--------------- */
footer {
  background: #215D3C;
  color: #fff;
  padding: 30px 0 0 0;
}
footer > .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}
footer nav a {
  color: #fff;
  font-weight: 500;
  font-size: 1em;
  opacity: 0.93;
  letter-spacing: 0.04em;
}
footer nav a:hover,
footer nav a:focus {
  text-decoration: underline;
  opacity: 1;
}
footer span {
  color: #ececdc;
  font-size: 0.97em;
  opacity: 0.8;
}

/* --------------
  LIST STYLES
--------------- */
ul {
  list-style: disc outside;
}
ul ul {
  list-style: circle;
  margin-left: 12px;
}
ol {
  list-style: decimal inside;
}

/* --------------
 BUTTONS
--------------- */
button {
  font-family: inherit;
  font-size: 1em;
  border: none;
  outline: none;
  border-radius: 28px;
  padding: 9px 28px;
  cursor: pointer;
  background: #C98B48;
  color: #fff;
  box-shadow: 0 1px 7px rgba(185, 155, 70,0.08);
  transition: background 0.22s, color 0.22s, box-shadow .16s, transform .09s;
}
button:hover, button:focus {
  background: #A15F09;
  color: #fff;
  box-shadow: 0 3px 14px rgba(201,139,72, 0.12);
  transform: scale(1.03);
}

/* --------------------------------
      MOBILE BURGER NAVIGATION
----------------------------------*/
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 19px;
  right: 19px;
  z-index: 30;
  background: #C98B48;
  color: #fff;
  border: none;
  padding: 10px 17px;
  font-size: 1.45em;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(70,70,40,0.09);
  cursor: pointer;
  transition: background .19s, box-shadow .18s, color .12s;
}
.mobile-menu-toggle:focus {
  background: #A15F09;
  outline: 2px solid #A15F09;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(250,250,248,0.98);
  box-shadow: 0 0 130px 0 rgba(60,40,20, 0.07);
  z-index: 1000;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(0.83,0,0.17,1);
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 25px 22px 16px 0;
  background: #C98B48;
  color: #fff;
  font-size: 2.05em;
  border: none;
  border-radius: 16px;
  padding: 5px 18px;
  box-shadow: 0 2px 9px rgba(201,139,72,0.11);
  transition: background .22s, color .12s, transform .09s;
  cursor: pointer;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #A15F09;
  color: #fff;
  transform: scale(1.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
  align-items: flex-start;
  padding-left: 38px;
  padding-right: 16px;
}
.mobile-nav a {
  color: #215D3C;
  font-size: 1.19em;
  font-weight: 700;
  padding: 12px 0;
  border-radius: 12px;
  background: none;
  width: 100%;
  transition: background .18s, color .17s;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #DCF4E7;
  color: #A15F09;
}

/* Hide main nav on mobile, show burger */
@media (max-width: 1024px) {
  header > .container nav {
    display: none !important;
  }
  .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --------------
RESPONSIVENESS
--------------- */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .hero {
    padding: 42px 0 18px 0;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 95%;
  }
  .hero h1 {
    font-size: 1.25rem;
  }
  .hero p {
    font-size: 1em;
  }
  .section,
  section {
    padding: 20px 0 0 0;
    margin-bottom: 30px;
  }
  .card-container, .content-grid, .content-wrapper {
    flex-direction: column !important;
    gap: 18px !important;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: flex-start !important;
  }
  .feature-item {
    width: 100%;
    min-width: unset;
  }
  .testimonial-card {
    flex-direction: column !important;
    gap: 12px !important;
    min-width: unset;
    width: 100%;
  }
  .card {
    padding: 16px 10px 10px 15px;
  }
}
@media (max-width: 600px) {
  .container {
    max-width: 100vw;
    padding: 0 4px;
  }
  h1 {
    font-size: 1.12rem;
  }
  h2 {
    font-size: 1rem;
  }
  footer {
    padding: 18px 0 0 0;
  }
  header img {
    max-height: 33px;
  }
}

/* ---------
FORM STYLES
---------- */
input, textarea, select {
  border-radius: 10px;
  border: 1px solid #E2E2DD;
  padding: 9px 14px;
  background: #FAFAF8;
  color: #215D3C;
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 14px;
  font-size: 1em;
  transition: border-color .17s, box-shadow .14s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #C98B48;
  box-shadow: 0 2px 5px rgba(201,139,72,0.06);
}

/* -----------
MICRO-EFFECTS
-------------- */
.card, .feature-item, .testimonial-card, .cta-btn, button, .mobile-menu-toggle, .mobile-menu-close {
  transition: box-shadow .17s, background .19s, color .12s, transform .12s;
}
a,
.cta-btn,
button {
  transition: color 0.18s, background 0.22s, box-shadow 0.13s, filter 0.2s;
}

/* ---------------------------
SOFT PASTEL COLOR ACCENTS
---------------------------- */
h1, h2 {
  background: linear-gradient(90deg, #B2D9C2 18%, #C98B48 95%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
h2, h3 {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  color: #215D3C;
}
.cta-btn, button, .mobile-menu-toggle, .mobile-menu-close {
  background: linear-gradient(90deg, #C98B48, #A15F09 80%);
}

/* Decorative pastel background for testimonials */
.testimonial-card {
  background: #F5F2E7;
  border-left: 6px solid #B2D9C2;
}

/* -----------
COOKIE BANNER
------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #F5F2E7;
  border-top: 1.5px solid #B2D9C2;
  box-shadow: 0 -2px 15px rgba(85,100,60,0.06);
  padding: 18px 24px;
  font-size: 1em;
  z-index: 1100;
  opacity: 1;
  transition: opacity 0.27s, transform 0.24s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(80px);
}
.cookie-banner__text {
  color: #215D3C;
  max-width: 550px;
  font-size: 1em;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  font-family: inherit;
  font-size: 1em;
  border-radius: 18px;
  border: none;
  outline: none;
  padding: 7px 19px;
  background: #B2D9C2;
  color: #215D3C;
  font-weight: 700;
  margin-left: 0px;
  box-shadow: 0 1px 7px rgba(180, 205, 180, 0.10);
  cursor: pointer;
  transition: background 0.17s, color 0.15s;
}
.cookie-btn.accept {
  background: #C98B48;
  color: #fff;
}
.cookie-btn.reject {
  background: #ECEAE0;
  color: #295c33;
}
.cookie-btn.settings {
  background: #B2D9C2;
  color: #215D3C;
}
.cookie-btn:focus,
.cookie-btn:hover {
  filter: brightness(0.96);
}

/* ----------
COOKIE MODAL
----------- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(60,70,56,0.22);
  z-index: 1110;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.22s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal__window {
  background: #FCFBF8;
  border-radius: 24px;
  padding: 34px 22px 24px 28px;
  box-shadow: 0 8px 60px rgba(110,110,70,0.14);
  min-width: 325px;
  max-width: 92vw;
  max-height: 98vh;
  display: flex;
  flex-direction: column;
}
.cookie-modal__header {
  font-family: 'Lora', Georgia, serif;
  color: #215D3C;
  font-size: 1.25em;
  font-weight: bold;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 12px;
  gap: 16px;
}
.cookie-category label {
  font-size: 1em;
  color: #215D3C;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  accent-color: #C98B48;
  width: 19px; height: 19px;
  border-radius: 6px;
  margin-right: 5px;
}
.cookie-category.essential label {
  opacity: 0.65;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 20px;
}
.cookie-modal__close {
  position: absolute;
  right: 21px; top: 21px;
  background: #ECEAE0;
  color: #A15F09;
  font-size: 1.3em;
  border: none;
  border-radius: 10px;
  padding: 3px 9px;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(201,139,72,0.06);
  transition: background 0.13s, color 0.09s;
}
.cookie-modal__close:hover {
  background: #C98B48;
  color: #fff;
}
@media (max-width:700px) {
  .cookie-modal__window {
    min-width: 90vw;
    padding: 18px 7px 22px 11px;
  }
}

/* ------------------------------
   SPECIAL FLEX CONTAINER ROLES
-------------------------------*/
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* -----------------------------
   ACCESSIBLE FOCUS STATES
-------------------------------*/
a:focus, button:focus, .cta-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus, input:focus, textarea:focus, select:focus {
  outline: 2px dashed #A15F09;
  outline-offset: 2px;
}

/* -------------
 Z-INDEX LAYERS
--------------- */
.mobile-menu {
  z-index: 1000;
}
.cookie-banner {
  z-index: 1100;
}
.cookie-modal {
  z-index: 1110;
}

/* ----------
PASTEL DETAILS
------------ */
.card, .feature-item {
  background: #fffdfa;
  border: 1px solid #e7e2d1;
  box-shadow: 0 2px 12px rgba(180, 205, 180, 0.09);
}
.card strong {
  color: #A15F09;
}
ul li::marker {
  color: #C98B48;
}

/* -----------
MISC
----------- */
::-webkit-scrollbar {
  height: 12px;
  width: 8px;
  background: #F5F2E7;
}
::-webkit-scrollbar-thumb {
  background: #B2D9C2;
  border-radius: 16px;
}

@media (max-width: 400px) {
  .hero {
    padding: 16px 0 6px 0;
  }
  .cookie-banner__text {
    font-size: 0.99em;
  }
  .cookie-banner__actions {
    flex-direction: column;
    gap: 9px;
    align-items: flex-end;
  }
}

/* END OF ODKRYJ POLSKĘ SOFT PASTEL CSS */
