/* --- 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;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F2F2F2;
  color: #234E70;
  font-family: 'Rubik', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
img { max-width: 100%; display: block; height: auto; }
ul { list-style: disc inside; }
ol { list-style: decimal inside; }
a {
  color: #234E70;
  text-decoration: none;
  transition: color .2s;
}
a:focus, a:hover {
  color: #F6B93B;
  outline: none;
}


/* --- FONT IMPORTS (FALLBACK/MODERN) --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Rubik:wght@400;500;700&display=swap');


/* --- GENERAL TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  color: #234E70;
  letter-spacing: 1px;
  text-transform: uppercase;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
h4, h5, h6 { font-size: 1.1rem; }
p, li, td, th, input, textarea {
  font-family: 'Rubik', Arial, sans-serif;
  font-size: 1rem;
  color: #234E70;
  line-height: 1.7;
}
p, ul, ol { margin-bottom: 16px; }
.subtitle {
  font-size: 1.3rem;
  font-weight: 500;
  color: #234E70;
  margin-bottom: 16px;
}
.text-center { text-align: center; }

/* --- SPACING & FLEXBOX LAYOUTS --- */
.container {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 32px rgba(35,78,112,0.08), 0 1.5px 6px rgba(246,185,59,0.10);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px rgba(35,78,112,.12);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(35,78,112,.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 20px rgba(35,78,112,0.13);
  margin-bottom: 24px;
  min-width: 220px;
  max-width: 370px;
  flex: 1 1 300px;
  transition: transform .2s, box-shadow .2s;
}
.testimonial-card:hover {
  transform: scale(1.03) rotate(-1deg);
  box-shadow: 0 6px 36px rgba(35,78,112,0.23);
}
.testimonial-meta {
  font-size: 0.96rem;
  color: #234E70;
  font-weight: 500;
}
.testimonial-meta span { color: #F6B93B; letter-spacing: 2px; }

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* --- FLEX FEATURES GRID (for .features-grid etc.) --- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature {
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2.5px 16px rgba(35,78,112,0.13);
  padding: 24px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .2s, transform .18s;
  position: relative;
  margin-bottom: 20px;
}
.feature img {
  height: 40px; width: 40px; margin-bottom: 12px;
}
.feature h3 {
  margin-bottom: 8px;
}
.feature p {
  color: #234E70;
  opacity: .94;
  margin-bottom: 10px;
}
.feature-price {
  display: inline-block;
  margin-top: 4px;
  background: #234E70;
  color: #fff;
  font-weight: 700;
  padding: 7px 18px;
  font-size: 0.99rem;
  border-radius: 40px;
  letter-spacing: 1px;
}
.feature:hover, .feature:focus {
  box-shadow: 0 10px 36px 0 rgba(246,185,59,0.15);
  transform: translateY(-4px) scale(1.04) rotate(-2deg);
}


/* --- VIBRANT ENERGETIC CTA BUTTONS --- */
.cta-btn, .cta-btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 40px;
  padding: 14px 40px;
  box-shadow: 0 5px 15px rgba(246,185,59,0.17);
  cursor: pointer;
  border: none;
  outline: none;
  transition: background-color .19s, color .19s, transform .17s;
}
.cta-btn {
  background: #F6B93B;
  color: #234E70;
  border: 2.5px solid #F6B93B;
}
.cta-btn:hover, .cta-btn:focus {
  background: #234E70;
  color: #fff;
  border: 2.5px solid #F6B93B;
  transform: scale(1.05) rotate(-1deg);
}
.cta-btn-secondary {
  background: #234E70;
  color: #F6B93B;
  border: 2.5px solid #234E70;
}
.cta-btn-secondary:hover, .cta-btn-secondary:focus {
  background: #F6B93B;
  color: #234E70;
  transform: scale(1.05) rotate(1deg);
}


/* --- HEADER: NAVIGATION AND LOGO --- */
header {
  width: 100%;
  background: #234E70;
  box-shadow: 0px 4px 33px rgba(35,78,112,0.09);
  position: sticky;
  top: 0;
  z-index: 800;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 0 20px;
  min-height: 74px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1 1 auto;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #fff;
  font-size: 1.02rem;
  padding: 3px 2px;
  border-bottom: 2.5px solid transparent;
  transition: color .15s, border-bottom .18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #F6B93B;
  border-bottom: 2.5px solid #F6B93B;
}
.mobile-menu-toggle {
  background: #F6B93B;
  color: #234E70;
  border: none;
  border-radius: 40px;
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  margin-left: 18px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 16px rgba(246,185,59,0.09);
  transition: background .17s, transform .14s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #234E70;
  color: #F6B93B;
}

/* --- MOBILE NAV (SLIDING PANEL) --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100%; width: 100vw;
  background: #234E70;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-110vw);
  transition: transform .35s cubic-bezier(.77,.2,.35,1.01);
  box-shadow: 0 10px 36px rgba(35,78,112,0.23);
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);  /* will be toggled via JS */
}
.mobile-menu-close {
  background: transparent;
  color: #F6B93B;
  font-size: 2.3rem;
  border: none;
  align-self: flex-end;
  margin: 24px 25px 10px 0;
  cursor: pointer;
  transition: color .15s;
  z-index: 15;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 10px 34px 30px 40px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: 2px;
  padding: 11px 0;
  border-bottom: 3px solid transparent;
  transition: color .17s, border-bottom .18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #F6B93B;
  border-bottom: 3px solid #F6B93B;
}

/* --- HERO, SECTION, TEXT/CARDS --- */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0;
}
section .container > h1, section .container > h2 {
  margin-bottom: 24px;
}
.text-section {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section ul,
.text-section ol {
  margin: 8px 0 16px 16px;
  padding-left: 12px;
}
.text-section h3 {
  margin: 18px 0 8px 0;
  font-size: 1.05rem;
  color: #F6B93B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}


/* --- TESTIMONIALS --- */
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 12px;
}
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 20px rgba(35,78,112,0.17);
  color: #234E70;
  flex: 1 1 300px;
  min-width: 270px;
  max-width: 370px;
  margin-bottom: 24px;
  transition: transform 0.21s, box-shadow 0.19s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.testimonial-card p {
  color: #234E70;
  font-size: 1.08rem;
  margin-bottom: 14px;
}

/* --- BADGES / PRICE TAG ---*/
.badge, .feature-price {
  font-size: 0.98rem;
  font-weight: 800;
  background: #F6B93B;
  color: #234E70;
  border-radius: 32px;
  padding: 6px 20px;
  margin-top: 10px;
  letter-spacing: 1px;
  display: inline-block;
}

/* --- CONTACT / INFO --- */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: flex-start;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1 1 220px;
  min-width: 210px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #F2F2F2;
  border-radius: 12px;
  padding: 10px 18px;
}
.contact-item img {
  height: 32px; width: 32px;
}
.office-info {
  flex: 1 1 160px;
}
.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fffbe7;
  height: 80px;
  min-width: 120px;
  border-radius: 12px;
  box-shadow: 0 1px 10px rgba(246,185,59,0.14);
  padding: 12px;
}

/* --- TABLE / FAQ (PLANY KULINARNE) --- */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(35,78,112,0.07);
  margin-bottom: 22px;
}
th, td {
  border: none;
  padding: 14px 16px;
  text-align: left;
}
th {
  background: #F6B93B;
  color: #234E70;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 1.5px;
}
tbody tr {
  border-top: 1px solid #F3E7C5;
}
tbody tr:nth-child(even) {
  background: #fffbe7;
}

.faq, .faq-item {
  margin-top: 8px;
  margin-bottom: 10px;
  padding: 15px 18px;
  background: #F2F2F2;
  border-radius: 12px;
  box-shadow: 0 1.5px 10px rgba(35,78,112,0.05);
  font-size: 1rem;
}
.faq h3 {
  margin-bottom: 9px;
  color: #234E70;
}

/* --- TEAM BIO GRID (ABOUT) --- */
.team-bio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 10px 0;
}
.bio-item {
  background: #F6B93B;
  color: #234E70;
  border-radius: 13px;
  box-shadow: 0 1.5px 10px rgba(246,185,59,0.10);
  flex: 1 1 260px;
  min-width: 210px;
  max-width: 340px;
  padding: 18px 14px 12px 24px;
  margin-bottom: 10px;
  font-size: 1rem;
  font-family: 'Rubik', Arial, sans-serif;
  font-weight: 500;
}
.bio-item strong { display: block; margin-bottom: 7px; font-weight: bold; }

.metrics {
  display: flex;
  flex-direction: row;
  gap: 30px;
  margin: 24px 0 10px 0;
}
.metrics div {
  background: #234E70;
  color: #fff;
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 1rem;
}
.metrics div strong {
  font-size: 1.2rem;
  color: #F6B93B;
}

/* --- RATING SUMMARY (warsztaty online) --- */
.rating-summary {
  background: #F6B93B;
  color: #234E70;
  border-radius: 40px;
  padding: 8px 32px;
  font-size: 1.08rem;
  font-weight: 700;
  margin: 20px auto 0 auto;
  display: inline-block;
}

/* --- THANK YOU PAGE --- */
.next-steps ul {
  margin-left: 24px;
}
.next-steps h2 {
  margin-top: 18px;
}

/* --- FOOTER --- */
footer {
  width: 100%;
  background: #234E70;
  color: #fff;
  padding: 30px 0;
  border-top-left-radius: 34px;
  border-top-right-radius: 34px;
  box-shadow: 0 -2px 24px rgba(246,185,59,0.12);
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
}
.footer-brand img {
  height: 38px;
  width: auto;
  margin-bottom: 7px;
}
.footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: #F6B93B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 5px 1px;
  letter-spacing: .6px;
  border-bottom: 1.7px solid transparent;
  transition: color .14s, border-bottom .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  border-bottom: 1.7px solid #F6B93B;
}
.footer-contact {
  color: #fff;
  font-size: 0.95rem;
  margin-top: 5px;
  text-align: center;
}
.footer-contact a { color: #fff; text-decoration: underline; }
.footer-contact a:hover { color: #F6B93B; }
.footer-socials {
  display: flex;
  gap: 14px;
  margin: 5px 0;
}
.footer-socials img {
  height: 32px; width: 32px;
  filter: brightness(0) invert(1) drop-shadow(0 1px 1px #F6B93B11);
  transition: filter .18s;
}
.footer-socials img:hover, .footer-socials img:focus {
  filter: drop-shadow(0 2px 20px #F6B93B88);
}
.footer-copy {
  color: #F6B93B;
  font-size: 0.95rem;
  margin-top: 6px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: #234E70;
  color: #fff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -4px 24px rgba(246,185,59,0.16);
  z-index: 1100;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 32px;
  font-size: 1rem;
  animation: banAppear .65s cubic-bezier(.34,.97,.66,1) 1;
}
@keyframes banAppear { from { transform: translateY(120px); opacity: 0; } to { transform: none; opacity: 1; } }
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: 36px;
  font-size: 1rem;
  outline: none;
  border: none;
  padding: 10px 36px;
  cursor: pointer;
  transition: background .16s, color .16s;
}
.cookie-banner .accept {
  background: #F6B93B;
  color: #234E70;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #fff;
  color: #234E70;
}
.cookie-banner .reject {
  background: #fff;
  color: #F6B93B;
  border: 2.5px solid #F6B93B;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #F6B93B;
  color: #234E70;
}
.cookie-banner .settings {
  background: #234E70;
  color: #F6B93B;
  border: 2.5px solid #F6B93B;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #F6B93B;
  color: #234E70;
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1200;
  transform: translate(-50%, -50%) scale(1.05);
  background: #fff;
  color: #234E70;
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(35,78,112,0.22);
  width: 95%; max-width: 410px;
  padding: 37px 38px 28px 38px;
  display: none;
  flex-direction: column;
  gap: 21px;
  animation: modalAppear .3s cubic-bezier(.45,1.6,.7,1);
}
.cookie-modal.open { display: flex; }
@keyframes modalAppear { from { transform: translate(-50%, -60%) scale(.82); opacity: 0; } to { transform: translate(-50%, -50%) scale(1.05); opacity: 1; } }
.cookie-modal h2 {
  color: #F6B93B;
  margin-bottom: 0;
}
.cookie-modal .modal-close {
  background: none;
  position: absolute;
  top: 16px;
  right: 27px;
  font-size: 2.1rem;
  color: #F6B93B;
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: color .15s;
}
.cookie-modal .modal-close:hover {
  color: #234E70;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-top: 2px;
  padding: 2px 0 7px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-category label {
  flex: 1 1 auto;
  color: #234E70;
  font-weight: 500;
}
.cookie-category input[type='checkbox'] {
  width: 20px;
  height: 20px;
  accent-color: #F6B93B;
}
.cookie-category .always-on {
  font-size: 0.92rem;
  color: #F6B93B;
  font-weight: 600;
  padding-left: 12px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  border-radius: 26px;
  font-size: 1rem;
  padding: 8px 28px;
  outline: none;
  border: none;
  margin-top: 10px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.cookie-modal .accept {
  background: #F6B93B;
  color: #234E70;
}
.cookie-modal .accept:hover {
  background: #234E70;
  color: #F6B93B;
}
.cookie-modal .reject {
  background: #fff;
  color: #F6B93B;
  border: 2px solid #F6B93B;
}
.cookie-modal .reject:hover {
  background: #F6B93B;
  color: #234E70;
}


/* --- RESPONSIVE DESIGN, MOBILE FIRST --- */
@media (max-width: 1000px) {
  .container       { max-width: 990px; }
  .features-grid   { gap: 18px; }
  .card-container  { gap: 15px; }
}
@media (max-width: 900px) {
  .container      { max-width: 97vw; }
  .features-grid, .card-container, .team-bio-grid, .testimonials-slider, .metrics {
    flex-wrap: wrap;
    gap: 18px;
  }
  .metrics        { flex-direction: column; gap: 13px; }
}
@media (max-width: 768px) {
  h1              { font-size: 1.7rem; }
  h2              { font-size: 1.25rem; }
  h3              { font-size: 1rem; }
  .container      { max-width: 97vw; padding-left: 7px; padding-right: 7px; }
  .section, section {
    padding: 30px 7px;
    margin-bottom: 42px;
    border-radius: 13px;
  }
  .content-wrapper, .text-section {
    gap: 13px;
  }
  .features-grid, .team-bio-grid, .testimonials-slider, .metrics {
    flex-direction: column;
    gap: 17px;
    align-items: stretch;
  }
  .feature, .bio-item, .testimonial-card {
    max-width: 100%;
    min-width: unset;
  }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  header .container { gap: 9px; }
  .footer-nav { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .container       { padding-left: 1px; padding-right: 1px; }
  section, .section {
    padding: 18px 0px;
    margin-bottom: 28px;
  }
  .footer-brand img { height: 27px; }
  .footer-nav a { font-size: 0.94rem; }
  .footer-socials img { height: 25px; width: 25px; }
  .cta-btn, .cta-btn-secondary, .cookie-banner button, .cookie-modal button {
    padding: 11px 15px;
    font-size: 0.99rem;
  }
  .cookie-banner    { flex-direction: column; padding: 18px 7px; font-size: .98rem; gap: 13px; }
}

/* --- UTILITIES --- */
.text-center      { text-align: center; }
.no-select        { user-select: none; }

/* --- OVERRIDES & FINAL FIXES --- */
::-webkit-input-placeholder { color: #A7BCC7; }
::-moz-placeholder { color: #A7BCC7; }
:-ms-input-placeholder { color: #A7BCC7; }
::placeholder { color: #A7BCC7; }

/* Error/success info for inputs (if used) */
input.error, textarea.error { border: 2px solid #ee4949; }
input:focus, textarea:focus { border: 2px solid #F6B93B; }

/* --- Prevent horizontal overflow, ensure clean wrapping --- */
body, html {
  overflow-x: hidden;
}

/* --- END --- */
