/* --- CSS RESET & BASE --- */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
body {
  min-height: 100vh;
  color: #1f2540;
  background: #fafbfe;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(0.4,0,0.2,1);
}
a:focus,
a:hover {
  color: #AB8A38;
  outline: none;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.01em;
  margin-bottom: 0.5em;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem;
  line-height: 1.2;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
p {
  margin-bottom: 1.5em;
}
strong, b {
  font-weight: 700;
}
small {
  font-size: 0.88em;
}
section {
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0;
}

/* --- COLORS & BRAND PALETTE --- */
:root {
  --clr-primary: #29447B;
  --clr-secondary: #6FB08C;
  --clr-accent: #F5F6FA;
  --clr-premium-gold: #AB8A38;
  --clr-premium-gold-light: #e1c485;
  --clr-premium-bg: #fbfbfd;
  --clr-premium-shadow: rgba(171,138,56,0.08);
  --clr-heading: #232a45;
  --clr-text: #1f2540;
  --clr-white: #fff;
  --clr-border: #e8e6e2;
}

/* --- TYPOGRAPHY --- */
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--clr-text);
  background: var(--clr-premium-bg);
}
@media (min-width: 900px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.5rem; }
  .content-wrapper { padding: 0 24px; }
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--clr-white);
  box-shadow: 0 2px 18px rgba(41,68,123,0.03);
  position: sticky;
  top: 0;
  z-index: 90;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  height: 60px;
  transition: opacity 0.25s;
}
.logo img {
  height: 48px;
  width: auto;
}
.main-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-menu a {
  font-family: 'Montserrat', sans-serif;
  color: var(--clr-primary);
  font-weight: 500;
  font-size: 16px;
  position: relative;
  padding: 5px 0;
  transition: color 0.2s;
}
.main-menu a:after {
  content: '';
  display: block;
  width: 0%;
  height: 2px;
  background: var(--clr-premium-gold);
  border-radius: 1px;
  transition: width 0.18s cubic-bezier(0.4,0,0.2,1);
  position: absolute;
  left: 0;
  bottom: -2px;
}
.main-menu a:hover:after,
.main-menu a:focus:after {
  width: 100%;
}
.main-menu a.cta-btn {
  margin-left: 16px;
  background: var(--clr-premium-gold);
  color: #fff;
  padding: 10px 28px;
  border-radius: 28px;
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 2px 8px var(--clr-premium-shadow);
  transition: background 0.18s, box-shadow 0.18s;
  letter-spacing: 0.04em;
}
.main-menu a.cta-btn:hover,
.main-menu a.cta-btn:focus {
  background: #b89c54;
  color: #fff;
  box-shadow: 0 4px 19px 0 #cab26a33;
}
.mobile-menu-toggle {
  display: none;
  background: var(--clr-premium-gold);
  color: #fff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-left: 14px;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #b89c54;
  color: #fff;
}
/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(41,68,123,0.98);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.5,0,0.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 36px;
  padding-right: 0;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.3rem;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  margin-right: 24px;
  margin-bottom: 20px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.22s;
  border: none;
  display: flex;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #fff2;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  padding: 8px 28px 0 0;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  letter-spacing: 0.02em;
  transition: color 0.21s;
  display: block;
  padding: 10px 0;
}
.mobile-nav a:last-child {
  margin-bottom: 0;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: #e7ca8e;
}

@media (max-width: 1100px) {
  .main-menu {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .main-menu {
    gap: 12px;
    font-size: 15px;
  }
}
@media (max-width: 820px) {
  .main-menu { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 821px) {
  .mobile-menu { display: none !important; }
}

/* --- HERO SECTION --- */
.hero {
  background: var(--clr-primary) url('../assets/hero-luxury-bg.jpg') center/cover no-repeat;
  color: #fff;
  padding: 72px 0 64px 0;
  position: relative;
  box-shadow: 0 2px 12px rgba(41,68,123,0.08);
  overflow: hidden;
}
.hero h1, .hero p {
  color: #fff;
}
.hero .cta-btn {
  margin-top: 32px;
}
@media (max-width: 600px) {
  .hero {
    padding: 42px 0 36px 0;
  }
}

/* --- FLEXBOX LAYOUTS --- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 6px;
  margin-bottom: 12px;
}
.features-grid > div {
  background: var(--clr-accent);
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 var(--clr-premium-shadow);
  padding: 28px 26px 20px 26px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 1.3px solid #ece7dd;
  transition: box-shadow 0.2s;
}
.features-grid > div:hover, .features-grid > div:focus-within {
  box-shadow: 0 6px 28px 0 #ab8a3840;
  border-color: var(--clr-premium-gold-light);
}
.features-grid img {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.services-list > div {
  background: var(--clr-white);
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 var(--clr-premium-shadow);
  padding: 30px 24px 18px 24px;
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 340px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  border: 1.2px solid #ece7dd;
  transition: box-shadow 0.18s;
}
.services-list > div:hover, .services-list > div:focus-within {
  box-shadow: 0 6px 24px 0 #ab8a3840;
  border-color: var(--clr-premium-gold-light);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 23px 0 var(--clr-premium-shadow);
  padding: 32px 24px;
  flex: 1 1 320px;
  min-width: 220px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  border: 1.2px solid #ece7dd;
}

.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;
    align-items: flex-start;
    gap: 22px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- TESTIMONIAL SECTION --- */
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 30px 20px 30px;
  background: #fff;
  color: #232a45;
  border-radius: 12px;
  box-shadow: 0 2px 13px 0 var(--clr-premium-shadow);
  min-width: 250px;
  border: 1.1px solid #ece7dd;
  margin-bottom: 20px;
}
.testimonial-card p {
  font-size: 1.1em;
  color: #232a45;
  margin-bottom: 6px;
}
.testimonial-card strong {
  color: var(--clr-primary);
  font-weight: 600;
  font-size: 1em;
}
@media (max-width: 820px) {
  .testimonials-slider {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 18px 18px 22px;
  }
}

/* --- BUTTONS & CTA --- */
.cta-btn, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-premium-gold);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 34px;
  border: none;
  border-radius: 28px;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.25s, transform 0.13s;
  box-shadow: 0 2px 18px 0 var(--clr-premium-shadow);
  outline: none;
  letter-spacing: 0.04em;
  margin-top: 12px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-btn:focus,
.cta-btn:hover,
.btn:focus,
.btn:hover {
  background: #b89c54;
  color: #fff;
  box-shadow: 0 5px 20px 0 #cab26a74;
  transform: translateY(-2px) scale(1.028);
}

/* --- TABLES (CENNIK) --- */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin: 30px 0;
  box-shadow: 0 3px 17px 0 var(--clr-premium-shadow);
}
thead tr {
  background: var(--clr-premium-gold);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
}
th, td {
  text-align: left;
  padding: 19px 16px 17px 16px;
  font-size: 1em;
  border-bottom: 1px solid #ece7dd;
}
tr:last-child td {
  border-bottom: none;
}
.note {
  color: #b89c54;
  margin-top: -14px;
  font-size: 0.98em;
  font-style: italic;
}

/* --- BLOG / PORADNIK--- */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 24px;
}
.blog-list article {
  flex: 1 1 270px;
  min-width: 240px;
  max-width: 340px;
  background: #fff;
  box-shadow: 0 2px 14px 0 var(--clr-premium-shadow);
  border-radius: 12px;
  padding: 30px 22px 20px 22px;
  border: 1.2px solid #ece7dd;
  transition: box-shadow 0.16s;
}
.blog-list article:hover,
.blog-list article:focus-within {
  box-shadow: 0 8px 32px #ab8a3840;
  border-color: var(--clr-premium-gold-light);
}
.blog-list h2 {
  margin-bottom: 12px;
  font-size: 1.16em;
  color: var(--clr-primary);
}

/* --- CARDS GENERAL --- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* --- TEXT SECTIONS --- */
.text-section {
  margin-bottom: 20px;
}
.contact-details {
  margin-top: 18px;
}
.map-location h2 {
  margin-bottom: 12px;
}

/* --- FOOTER --- */
footer {
  background: var(--clr-primary);
  color: #fff;
  padding: 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 34px 20px 26px 20px;
}
.footer-brand img {
  width: 48px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #ffe;
  transition: color 0.18s;
  font-size: 1em;
  margin-bottom: 3px;
  font-weight: 500;
}
.footer-nav a:focus,
.footer-nav a:hover {
  color: #ffe096;
}
.footer-contact p {
  margin-bottom: 6px;
  font-size: 0.98em;
}
@media (max-width: 730px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* --- FORMS & INPUTS --- */
input, textarea, select {
  font-family: inherit;
  font-size: 1em;
  border: 1.2px solid #cab26a82;
  border-radius: 8px;
  padding: 11px 16px;
  background: #fff;
  outline: none;
  margin-bottom: 24px;
  transition: border 0.16s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--clr-premium-gold);
  box-shadow: 0 2px 10px #ab8a3827;
}
label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--clr-primary);
  margin-bottom: 3px;
  display: block;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  left: 0;  right: 0;  bottom: 0;
  z-index: 99999;
  background: #fff;
  box-shadow: 0 -2px 14px 0 #ab8a3840;
  border-top: 3px solid var(--clr-premium-gold);
  padding: 22px 18px 16px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 1rem;
  animation: cookie-slide-in 0.65s cubic-bezier(0.36,1.19,0.64,1) forwards;
}
@keyframes cookie-slide-in {
  0% { transform: translateY(70px); opacity: 0; }
  60% { transform: translateY(-8px); }
  100% { transform: translateY(0); opacity: 1;}
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-consent-banner button {
  padding: 10px 22px;
  border-radius: 20px;
  border: none;
  font-size: 0.98em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.15s;
}
.cookie-consent-banner .accept {
  background: var(--clr-premium-gold);
  color: #fff;
  box-shadow: 0 2px 10px #cab26a33;
}
.cookie-consent-banner .accept:hover,
.cookie-consent-banner .accept:focus {
  background: #b89c54;
}
.cookie-consent-banner .reject {
  background: #ece7dd;
  color: #a58029;
  border: 1px solid #cab26a57;
}
.cookie-consent-banner .reject:hover,
.cookie-consent-banner .reject:focus {
  background: #e7ca8e;
  color: #333;
}
.cookie-consent-banner .settings {
  background: var(--clr-accent);
  color: var(--clr-primary);
  border: 1px solid #d6d6d6;
}
.cookie-consent-banner .settings:hover,
.cookie-consent-banner .settings:focus {
  background: #faedcf;
  color: #8f7d39;
}
/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  z-index: 99999;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(41,68,123,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-box {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 10px  56px #ab8a3880;
  max-width: 430px;
  width: 93vw;
  padding: 35px 32px 22px 32px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  animation: modal-fade-in 0.43s cubic-bezier(0.36,1.19,0.64,1) forwards;
  position: relative;
}
@keyframes modal-fade-in {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-box h3 {
  color: var(--clr-primary);
  font-size: 1.26rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 15px;
}
.cookie-category label {
  margin-bottom: 0;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  font-size: 1.35rem;
  color: #999;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #f5ecd5;
  color: #aa8a39;
}

/* SLIDER FOR TESTIMONIALS (STATIC, FLEX BASED)*/
.testimonials-slider {
  scroll-behavior: smooth;
  overflow-x: auto;
}

/* --- ACCESSIBILITY & MISC --- */
:focus {
  outline: 2px solid var(--clr-premium-gold-light);
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #999; }
::-moz-placeholder { color: #999; }
:-ms-input-placeholder { color: #999; }
::placeholder { color: #999; }

/* ENHANCED LUXURY EFFECTS */
h1, h2, h3, .cta-btn {
  text-shadow: 0 1px 0 #fff8, 0 2px 5px #e1c48510;
}
.card, .services-list > div, .features-grid > div, .blog-list article, .testimonial-card {
  border-bottom: 2.5px solid var(--clr-premium-gold-light);
}

/* --- RESPONSIVE RULES --- */
@media (max-width: 1000px) {
  .container { max-width: 100%; }
  .services-list > div,
  .card, .features-grid > div, .blog-list article, .testimonial-card {
    min-width: 170px;
    max-width: 100%;
  }
}
@media (max-width: 820px) {
  .features-grid,
  .services-list,
  .content-grid,
  .blog-list {
    flex-direction: column;
    gap: 18px;
  }
  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 11px 16px;
  }
  .footer-brand { margin-bottom: 8px; }
}
@media (max-width: 600px) {
  .section,
  section {
    padding: 28px 5px;
    margin-bottom: 32px;
  }
  .card, .services-list > div, .features-grid > div, .blog-list article, .testimonial-card {
    padding: 19px 9px 15px 12px;
    font-size: 1em;
  }
  .content-wrapper { padding: 0; }
}
@media (max-width: 410px) {
  .hero { padding: 28px 0 22px 0; }
  .card, .features-grid > div, .testimonial-card, .services-list > div {
    padding: 9px 2px 7px 6px;
    font-size: 0.97em;
  }
}

/* --- Print Hiding of Navigation & Cookie Banner --- */
@media print {
  header, .main-menu, .mobile-menu, .cookie-consent-banner { display: none !important; }
}
