/* =====================================================
   RESET & NORMALIZE - Luxury Premium Foundation
   ===================================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Lato', Arial, sans-serif;
  color: #222;
  background: #F7F7FF;
  line-height: 1.7;
  min-height: 100vh;
  font-weight: 400;
  letter-spacing: 0.01em;
}
img, picture, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
a {
  color: #1B263B;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
  cursor: pointer;
}
a:focus,
a:hover {
  color: #FFD700;
  outline: none;
}

/* Headings - Display & Hierarchy (Luxury) */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.13;
  margin-bottom: 16px;
  color: #1B263B;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.625rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.5rem; margin-bottom: 16px; font-weight: 600; }
h4 { font-size: 1.125rem; margin-bottom: 12px; }

strong {
  font-weight: 700;
}
p, li, td, th, blockquote, dd {
  font-size: 1rem;
  color: #222;
}

blockquote {
  font-style: italic;
  color: #1B263B;
  border-left: 4px solid #FFD700;
  padding-left: 16px;
  margin-bottom: 12px;
}


/* =====================================================
   CONTAINERS, LAYOUT & FLEXBOX
   ===================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 32px 0 rgba(35,40,64,0.07);
}

/* Card containers and flex display patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 rgba(27,38,59,0.07);
  padding: 32px 24px;
  transition: box-shadow 0.25s, transform 0.18s;
  border: 1.5px solid #f1e9cf;
}
.card:hover {
  box-shadow: 0 16px 32px 0 rgba(27,38,59,0.15);
  transform: translateY(-5px) scale(1.01);
  border-color: #FFD700;
}
.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: flex-start;
  gap: 12px;
  background: #F7F7FF;
  border-left: 4px solid #FFD700;
  padding: 20px 28px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(27,38,59,0.06);
  transition: box-shadow 0.25s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 20px 0 rgba(27,38,59,0.13);
  border-left-color: #BAA13A;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.client-logos, .certifications-logos {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 18px;
  flex-wrap: wrap;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.footer-contact {
  font-size: 0.95rem;
  color: #222;
  margin-bottom: 10px;
  font-weight: 400;
  line-height: 1.5;
}

/* =====================================================
   HERO SECTIONS
   ===================================================== */
.hero {
  padding: 60px 0 40px 0;
  background: linear-gradient(120deg, #fff 55%, #fff7da 100%);
  border-bottom: 2px solid #fdecc2;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1,
.hero h2 {
  color: #1B263B;
  text-shadow: 0 2px 12px rgba(255,215,0,0.065);
}
.hero h1 {
  font-size: 2.25rem;
}
.hero h2 {
  font-size: 1.2rem;
  color: #362B00;
  font-weight: 500;
  margin-bottom: 14px;
}

/* =====================================================
   BUTTONS & CTAS
   ===================================================== */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFD700;
  color: #1B263B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 13px 34px;
  border-radius: 28px;
  box-shadow: 0 3px 20px 0 rgba(255,215,0,0.13);
  border: none;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.13s;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #BAA13A;
  color: #fff;
  box-shadow: 0 8px 28px 0 rgba(186,161,58,0.17);
  transform: translateY(-2px) scale(1.03);
}

.cta-contact {
  margin-top: 14px;
}

button, .mobile-menu-toggle, .mobile-menu-close {
  font-family: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
}

/* =====================================================
   MAIN NAVIGATION & HEADER
   ===================================================== */
header {
  background: #fff;
  border-bottom: 1px solid #f3ebcb;
  box-shadow: 0 2px 18px 0 rgba(27,38,59,0.03);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
}
header .container {
  display: flex;
  align-items: center;
  min-height: 76px;
  justify-content: space-between;
  gap: 26px;
  position: relative;
}
header .main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
header .main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #1B263B;
  padding: 2px 6px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s, color 0.18s;
}
header .main-nav a:hover,
header .main-nav a:focus {
  color: #FFD700;
  border-color: #FFD700;
}
header .main-nav .cta-primary {
  margin-left: 14px;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: #1B263B;
  background: none;
  border: none;
  padding: 5px 12px;
  z-index: 1102;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #FFD700;
  background: #F7F7FF;
  border-radius: 50%;
  transform: scale(1.08);
}

/* ====================
   MOBILE MENU OVERLAY
   ==================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 24px rgba(27,38,59,0.07);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(0.7,0.2,0.2,1);
  padding: 0 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  color: #1B263B;
  margin-top: 28px;
  margin-bottom: 16px;
  background: none;
  border: none;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #FFD700;
  background: #FFF6D1;
  border-radius: 50%;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
  font-size: 1.33rem;
  margin-top: 20px;
}
.mobile-nav a {
  color: #1B263B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 8px 0px;
  border-bottom: 2px solid transparent;
  border-radius: 6px;
  transition: color 0.17s, background 0.17s, border-color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFECA2;
  color: #A0871E;
  border-bottom: 2px solid #FFD700;
}


/*======================================================
   TABLES (Cennik table)
   =====================================================*/
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 26px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px 0 rgba(27,38,59,0.06);
}
thead {
  background: #FFE47A;
  color: #1B263B;
}
th, td {
  padding: 18px 16px;
  text-align: left;
  border-bottom: 1px solid #F0E5B4;
}
th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #FFE47A;
  color: #1B263B;
  font-size: 1.09rem;
}
tr:last-child td {
  border-bottom: none;
}

/* =====================================================
   LISTS, OL/UL, FAQ, FEATURES
   ===================================================== */
ul, ol, dl {
  margin-left: 0;
  margin-bottom: 20px;
}
ul > li, ol > li, dl > dt {
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
  font-size: 1rem;
}
ul > li:before, ol > li:before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: #FFD700;
  font-size: 1.4em;
  font-weight: bold;
  top: 2px;
}
dt {
  font-weight: 700;
  margin-top: 10px;
}
dd {
  margin-left: 0;
  color: #1B263B;
  margin-bottom: 10px;
}

.feature-item img,
ul > li img {
  width: 32px;
  height: 32px;
  margin-bottom: 2px;
  margin-right: 10px;
  vertical-align: middle;
  display: inline-block;
}

/*======================================================
   COOKIE BANNER & CONSENT MODAL
   =====================================================*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffdfa;
  box-shadow: 0 -3px 18px 0 rgba(27,38,59,0.07);
  color: #1B263B;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px 18px 12px 18px;
  font-size: 1rem;
  animation: fadeInUp 0.4s;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.cookie-banner button,
.cookie-banner .cta-primary {
  min-width: 110px;
  border-radius: 22px;
  padding: 8px 24px;
  font-size: 1rem;
  margin: 0;
}

.cookie-banner .btn-cookie-settings {
  background: #1B263B;
  color: #FFD700;
  border: 1.5px solid #FFD700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-left: 10px;
  transition: background 0.18s, color 0.18s, border-color 0.17s;
}
.cookie-banner .btn-cookie-settings:hover {
  background: #FFD700;
  color: #1B263B;
}

.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 10000;
  background: rgba(27,38,59,0.25);
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal .cookie-box {
  background: #fff;
  padding: 34px 24px 24px 24px;
  border-radius: 14px;
  box-shadow: 0 12px 44px rgba(27,38,59,0.09);
  max-width: 380px;
  width: 95%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: slideInUp 0.35s;
}
.cookie-modal .cookie-box h3 {
  margin: 0 0 14px 0;
  color: #1B263B;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.cookie-switch {
  appearance: none;
  width: 42px;
  height: 22px;
  background: #E1DDB8;
  border-radius: 18px;
  transition: background 0.19s;
  cursor: pointer;
  position: relative;
  outline: none;
}
.cookie-switch:checked {
  background: #FFD700;
}
.cookie-switch:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 3px;
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(27,38,59,0.14);
  transition: left 0.18s;
}
.cookie-switch:checked:before {
  left: 22px;
}
.cookie-modal .btn-cookie-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  font-size: 1.5rem;
  color: #1B263B;
  border: none;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .btn-cookie-close:hover {
  color: #FFD700;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(35px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

/*======================================================
   FOOTER
   =====================================================*/
footer {
  background: #1B263B;
  color: #fff;
  padding: 46px 0 24px 0;
  box-shadow: 0 -2px 18px 0 rgba(27,38,59,0.07);
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: flex-start;
}
footer .footer-nav {
  gap: 26px;
}
footer .footer-nav a {
  color: #FFD700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: color 0.2s;
}
footer .footer-nav a:hover, footer .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
footer .footer-contact {
  color: #ffd700;
}
footer p {
  color: #efd993;
  margin-bottom: 0;
}

/*======================================================
   UTILITY CLASSES & MICRO-INTERACTIONS
   =====================================================*/
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.flex-inline { display: inline-flex !important; }
.flex-between { justify-content: space-between !important; }
.flex-center { justify-content: center !important; align-items: center !important; }

/* Microinteractions for focus/active states */
input:focus, textarea:focus, select:focus, button:focus {
  outline: 2px solid #FFD700;
  outline-offset: 2px;
}

/* ===============
   RESPONSIVE DESIGN
   =============== */
@media (max-width: 1024px) {
  .container { max-width: 100%; }
  header .main-nav { gap: 18px; }
}
@media (max-width: 900px) {
  .container { padding: 0 12px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { padding: 0 6px; }
  .section { padding: 26px 8px; margin-bottom: 32px; }
  .content-wrapper { max-width: 98vw; padding: 0; gap: 18px; }
  .card-container { flex-direction: column; gap: 16px; }
  .content-grid, .client-logos, .certifications-logos { flex-direction: column; gap: 15px; }
  .card { padding: 22px 12px; }
  .hero { padding: 38px 0 26px 0; }
  header .main-nav { display: none !important; }
  .mobile-menu-toggle { display: block; }
  .mobile-menu { padding: 0 5vw; }
}
@media (max-width: 576px) {
  .hero { padding: 20px 0 10px 0; }
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.1rem; }
  .testimonial-card { padding: 14px 6px; }
  .card { padding: 10px 5px; }
  th, td { padding: 10px 7px; }
  .cookie-modal .cookie-box { padding: 18px 5px 12px 12px; }
  .mobile-menu { padding: 0 5px; }
}
@media (max-width: 450px) {
  h1, h2, h3 { word-break: break-word; }
  .footer-nav, .footer-contact { font-size: 0.96em; }
}

/* MOBILE FLEX DIRECTION */
@media (max-width: 768px) {
  .text-image-section,
  .content-grid,
  .client-logos,
  .certifications-logos,
  .footer-nav {
    flex-direction: column !important;
    gap: 14px;
    align-items: flex-start;
  }
}

/* Luxury Gold Accents for Visuals */
hr {
  border: none;
  border-top: 2px solid #FFD700;
  opacity: 0.43;
  margin: 24px 0;
}

/* =====================================================
   CUSTOM BRAND SCROLLBAR (Optional for Desktop)
   ===================================================== */
::-webkit-scrollbar {
  width: 10px;
  background: #fdf6de;
}
::-webkit-scrollbar-thumb {
  background: #FFD700;
  border-radius: 50px;
}
::-webkit-scrollbar-thumb:hover {
  background: #BAA13A;
}

/* =====================================================
   PRINT STYLES (Minimal)
   ===================================================== */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal, footer { display: none; }
  .section, .hero { background: #fff; box-shadow: none; }
  a:after { content: " (" attr(href) ")"; }
}

/* =====================================================
   END OF CSS - Golden Revenue Luxury Premium
   ===================================================== */
