/* 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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1E293B;
  background: #FFF8F0;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #28445A;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #CCAE6E;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}

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

h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.375rem; /* 38px */ line-height: 1.17; margin-bottom: 28px; }
h2 { font-size: 2rem; /* 32px */   line-height: 1.2; margin-bottom: 24px; }
h3 { font-size: 1.375rem; /* 22px */ line-height: 1.28; margin-bottom: 16px; }
p, blockquote, li {
  font-size: 1rem; /* 16px */
  line-height: 1.7;
  color: #374151;
}
blockquote {
  font-style: italic;
  color: #28445A;
  position: relative;
}
strong {
  font-weight: 700;
  color: #28445A;
}

/* BRAND COLORS (including gold accent)*/
:root {
  --primary: #28445A;
  --secondary: #41ACA3;
  --accent: #FFF8F0;
  --gold: #CCAE6E;
  --darkText: #1E293B;
  --muted: #E5E7EB;
  --white: #FFFFFF;
  --shadow-lg: 0 4px 24px 0 rgba(40, 68, 90, 0.10);
  --shadow-card: 0 2px 8px 0 rgba(40,68,90,0.09);
  --radius: 18px;
  --radius-sm: 10px;
  --navSpace: 28px;
}

/* LUXURY/PREMIUM DETAILS */
hr {
  border: none;
  border-top: 1px solid var(--muted);
  margin: 48px 0;
}

a.cta-primary, .cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: var(--radius-sm);
  padding: 14px 30px;
  box-shadow: 0 2px 16px 0 rgba(204,174,110, 0.13);
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  transition: background .18s, color .18s, box-shadow .18s, transform .2s;
}
a.cta-primary:hover, a.cta-primary:focus, .cta-primary:hover, .cta-primary:focus {
  background: #ffdb97;
  color: var(--primary);
  box-shadow: 0 4px 30px 0 rgba(204,174,110,.18);
  transform: translateY(-2px) scale(1.03);
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  border-bottom: 1.5px solid var(--muted);
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 28px;
  padding: 0 22px;
}
header nav {
  display: flex;
  align-items: center;
  gap: var(--navSpace);
  margin-left: 18px;
}
header nav a {
  padding: 7px 0;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  position: relative;
  transition: color .16s;
}
header nav a:not(.cta-primary):hover,
header nav a:not(.cta-primary):focus {
  color: var(--gold);
}
/* Hide mobile nav/show burger on mobile */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  border: none;
  font-size: 2rem;
  color: var(--primary);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  box-shadow: 0 2px 8px 0 rgba(40,68,90,0.10);
  transition: background .16s, box-shadow .16s, transform .16s;
  cursor: pointer;
  z-index: 40;
}
.mobile-menu-toggle:active {
  background: var(--gold);
  color: var(--primary);
  transform: scale(0.96);
}

/* MOBILE MENU STYLES */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(40,68,90,0.92);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(110vw);
  transition: transform 0.38s cubic-bezier(.74,.04,.26,.95);
  z-index: 100;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--gold);
  padding: 18px 28px 12px 12px;
  cursor: pointer;
  align-self: flex-end;
  transition: color .18s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  align-items: stretch;
  padding: 44px 10vw 18px 10vw;
  margin-top: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: var(--accent);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color .18s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: var(--gold);
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

/* CONTENT WRAPPER & SECTIONS */
main {
  padding-top: 38px;
}
.section,
main section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: var(--radius);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 26px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 36px 26px;
  margin-bottom: 24px;
}
.text-section {
  background: var(--accent);
  box-shadow: none;
}

/* CARD CONTAINER & FLEXBOX GRIDS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1.5px solid var(--muted);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  padding: 24px 22px;
  position: relative;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .16s;
}
.card:hover {
  box-shadow: 0 6px 28px 0 rgba(204,174,110,0.10);
  border-color: var(--gold);
  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;
}
.feature-grid,
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin-bottom: 0;
}
.feature-grid li, .feature-item {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 26px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex-basis: 220px;
  min-width: 170px;
  max-width: 340px;
  border: 1px solid var(--muted);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .2s, border-color .18s;
}
.feature-grid li:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 30px 0 rgba(204,174,110,0.10);
}
.feature-grid li img {
  width: 36px; height: 36px;
  margin-bottom: 0;
  filter: drop-shadow(0 2px 8px rgba(204,174,110,0.13));
}

/* TESTIMONIAL CARD */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 18px 0 rgba(204,174,110,0.08);
  border: 1.5px solid var(--gold);
  margin-bottom: 22px;
  transition: box-shadow .18s, border-color .18s;
}
.testimonial-card blockquote {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.08rem;
  line-height: 1.6;
  margin-bottom: 0;
  position: relative;
}
.testimonial-card blockquote:before {
  content: '“';
  color: var(--gold);
  font-size: 2.3em;
  position: absolute;
  left: -20px; top: -18px;
  line-height: 1;
}
.testimonial-card div {
  font-size: 1rem;
  color: var(--primary);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.01em;
}
/* Ensure contrast for text in all testimonial cards */
.testimonial-card, .testimonial-card * {
  background: #fff;
  color: #1E293B;
}

/* FOOTER */
footer {
  background: var(--primary);
  color: #fff;
  padding: 0;
  border-top: 2px solid var(--gold);
  font-size: 1rem;
}
footer .container {
  padding-top: 44px;
  padding-bottom: 44px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
footer nav a {
  color: #fff;
  font-size: 0.98rem;
  opacity: 0.9;
  transition: color .17s, opacity .16s;
  padding: 5px 0;
}
footer nav a:hover, footer nav a:focus {
  color: var(--gold);
  opacity: 1;
}
.footer-contact {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 16px;
  flex-wrap: wrap;
}
.footer-social {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 10px;
}
.footer-social a img {
  width: 32px;
  height: 32px;
  filter: grayscale(20%);
  transition: filter .17s;
}
.footer-social a:hover img {
  filter: grayscale(0%) drop-shadow(0 0 8px var(--gold));
}
.footer-info {
  color: #fff;
  font-size: .98rem;
  font-family: 'Roboto', Arial, sans-serif;
  letter-spacing: 0.01em;
  font-weight: 400;
  margin-top: 4px;
}
.newsletter-signup h3 {
  color: var(--gold);
  margin-bottom: 8px;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.newsletter-signup p {
  color: #fff;
  font-size: 1rem;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #fff;
  color: var(--primary);
  border-top: 3px solid var(--gold);
  box-shadow: 0 -2px 22px 0 rgba(40,68,90,0.09);
  padding: 28px 16px 16px 16px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  font-size: 1.05rem;
  transition: transform .35s cubic-bezier(.74,.04,.26,.95);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  background: var(--gold);
  color: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 20px;
  margin-right: 4px;
  transition: background .18s, color .18s, box-shadow .18s;
  box-shadow: 0 2px 8px 0 rgba(204,174,110,0.10);
  cursor: pointer;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #ffdb97; color: var(--primary);
}
.cookie-banner .settings-btn {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--gold);
  padding: 8px 18px;
  box-shadow: none;
}
.cookie-banner .settings-btn:hover {
  background: var(--gold);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(40,68,90,.52);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .25s;
}
.cookie-modal {
  background: #fff;
  padding: 38px 28px 24px 28px;
  border-radius: var(--radius);
  box-shadow: 0 8px 46px 0 rgba(40,68,90,0.20);
  min-width: 320px;
  max-width: 98vw;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.cookie-modal h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.cookie-category {
  margin-bottom: 14px;
}
.cookie-category label {
  font-weight: 500;
  margin-left: 10px;
}
.cookie-modal .cookie-actions {
  width: 100%;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--gold);
  width: 18px; height: 18px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px; right: 22px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--primary);
  cursor: pointer;
}

/* LUXURY DETAILS */
.card, .feature-grid li, .testimonial-card {
  border: 1.5px solid var(--gold);
  box-shadow: 0 4px 20px 0 rgba(204,174,110,0.07);
  transition: box-shadow .23s, border-color .18s, transform .21s;
  background: #fff;
}
.card:hover, .feature-grid li:hover, .testimonial-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 6px 44px 0 rgba(40,68,90,0.12);
  transform: scale(1.011);
}

/* SPACING & FLEXBOX ALIGNMENT RULES */
.section, main section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .feature-grid, .content-grid {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* BUTTONS, FORMS, INTERACTIONS */
button {
  font-family: inherit;
  font-size: 1rem;
  border-radius: var(--radius-sm);
}
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 1.2px solid var(--muted);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 10px 16px;
  transition: border-color .16s, box-shadow .14s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 2px 6px 0 rgba(204,174,110,0.08);
}
/* Utility for star icon alt text in testimonials */
p img[alt*="Ocena gwiazdkowa"] {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 6px;
}

/* UTILITY: HIDE/SHOW CLASSES */
.hide { display: none !important; }
.show { display: flex !important; }

/* RESPONSIVE DESIGN: MOBILE FIRST */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
  }
  .feature-grid li, .feature-item {
    min-width: 160px;
    flex-basis: 180px;
  }
}
@media (max-width: 900px) {
  .content-wrapper {
    padding: 25px 12px;
  }
  .feature-grid, .features {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  header .container {
    gap: 12px;
    flex-wrap: wrap;
    min-height: 62px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-grid,
  .features {
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .feature-grid li, .feature-item {
    min-width: unset;
    flex-basis: 100%;
    max-width: 100%;
  }
  .content-wrapper { padding: 16px 0px; }
  .container { padding: 0 8px; }
  .section, main section {
    padding: 22px 2px; margin-bottom: 38px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 16px;
    font-size: .98rem;
  }
  .footer-contact {
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
  }
  .mobile-nav {
    padding: 28px 18px 14px 28px;
    gap: 18px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.1rem; }
  h3 { font-size: 1.05rem; }
  .cookie-modal { padding: 18px 6px 14px 6px; min-width: 0; }
  .cta-primary, .cookie-banner button { font-size: .94rem; padding: 10px 12px; }
  .container { padding: 0 4px; }
}

/* VISUAL HIERARCHY, SHADOWS & PREMIUM DETAILS */
.section, main section, .content-wrapper, .card, .feature-grid li, .testimonial-card {
  box-shadow: var(--shadow-card);
}
.section {
  background: #fff;
  border-radius: var(--radius);
}
.content-wrapper.text-section {
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: none;
}

/* ANIMATIONS & MICROINTERACTIONS */
.cta-primary, .cookie-banner button, .card, .feature-grid li, .testimonial-card {
  transition: box-shadow .18s, background .16s, border-color .15s, transform .16s;
}
.cta-primary:active, .cookie-banner button:active {
  transform: scale(0.98);
  box-shadow: 0 2px 10px 0 rgba(204,174,110,0.20);
}
.card:active, .feature-grid li:active, .testimonial-card:active {
  transform: scale(0.995) translateY(2px);
}

/* FOCUS STATES */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  z-index: 4;
  position: relative;
}

/* Z-INDEX STACKING FOR NAV/MENU/BANNER */
header { z-index: 30; }
.mobile-menu { z-index: 100; }
.cookie-banner { z-index: 1200; }
.cookie-modal-overlay { z-index: 1300; }

/* CUSTOM SCROLLBAR (luxury detail) */
body::-webkit-scrollbar { width: 10px; background: var(--accent); }
body::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 8px; }
body::-webkit-scrollbar-thumb:hover { background: #e1c783; }

/* END OF CSS */
