/* CSS RESET AND BASE STYLES */
html { box-sizing: border-box; font-size: 16px; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #222;
  background: #F3F6F2;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img { max-width: 100%; display: block; border: 0; }
a { color: #26443A; text-decoration: none; transition: color 0.2s; }
a:hover, a:active { color: #B89A53; }
ul, ol { margin-left: 24px; margin-bottom: 24px; }
table { border-collapse: collapse; width: 100%; margin-bottom: 24px; }
th, td { padding: 14px 16px; text-align: left; }
th { background: #26443A; color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 1em; }
td { background: #fff; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #26443A;
  margin-bottom: .5em;
  letter-spacing: .01em;
}
h1 { font-size: 2.5rem; line-height: 1.18; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.12rem; }
p, li, td { font-size: 1rem; margin-bottom: 12px; }
strong { font-weight: 600; color: #26443A; }
.text-section p { font-size: 1.125rem; color: #222; }
small { font-size: .9rem; color: #566; }

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 16px;
}
.text-section {
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 0;
}

/* SPACING FOR FLEX PATTERNS */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; border-radius: 16px; }
.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; align-items: center; gap: 20px; padding: 20px; background: #fff; box-shadow: 0 8px 32px rgba(38,68,58,.08); border-radius: 16px; margin-bottom: 20px; position: relative; border-left: 4px solid #B89A53; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* STANDARD FLEXBOX FOR GRIDS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 24px;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 24px;
  margin-bottom: 12px;
}
.feature-icon {
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  margin-right: 10px;
}
.feature-descriptions {
  flex: 1 1 220px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

/* BUTTONS */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 40px;
  padding: 11px 38px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: box-shadow 0.19s, background 0.23s, color 0.19s;
  box-shadow: 0 4px 18px rgba(38,68,58,0.07);
  letter-spacing: .02em;
}
.button.primary {
  background: #26443A;
  color: #fff;
  border: 2px solid #B89A53;
  box-shadow: 0 2px 16px rgba(38,68,58,0.11);
}
.button.primary:hover, .button.primary:focus {
  background: #B89A53;
  color: #26443A;
  box-shadow: 0 4px 24px rgba(38,68,58,0.17);
}
.button.secondary {
  background: #fff;
  color: #26443A;
  border: 2px solid #B89A53;
}
.button.secondary:hover, .button.secondary:focus {
  background: #26443A;
  color: #fff;
}
.button:disabled {
  opacity: 0.45; cursor: not-allowed;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 8px 40px rgba(35,38,48,.09);
  border-bottom: 1.5px solid #E9E1D4;
  position: sticky; top: 0; z-index: 80;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  height: 84px;
  justify-content: space-between;
}
.logo img { height: 50px; width: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  flex: 1 1 auto;
  margin-left: 36px;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: #26443A;
  padding: 6px 13px;
  border-radius: 24px;
  transition: background 0.2s, color 0.19s;
}
.main-nav a:hover, .main-nav a.active {
  background: #F3ECD4;
  color: #B89A53;
}
.button.primary { margin-left: 32px; }
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #26443A;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 10px;
  padding: 8px 18px 8px 8px;
  transition: background 0.2s;
  z-index: 101;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #fff7e5;
  color: #B89A53;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38,68,58,0.97);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.7, 0, 0.3, 1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  position: absolute;
  top: 24px;
  right: 32px;
  z-index: 1060;
  cursor: pointer;
  outline: none;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #B89A53;
  background: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin: 90px 0 0 36px;
}
.mobile-nav a {
  font-size: 1.45rem;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  padding: 10px 0 10px 10px;
  border-radius: 8px 0 0 8px;
  transition: background 0.19s, color 0.19s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #B89A53;
  background: #26443A;
}

/* MAIN SECTIONS */
main section { margin-bottom: 60px; padding: 40px 0; }
main section:last-child { margin-bottom: 0; }

/* SERVICE CARDS */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.service-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 5px 24px rgba(38,68,58,0.085);
  flex: 1 1 270px;
  min-width: 270px;
  padding: 28px 22px 22px 22px;
  border-left: 5px solid #B89A53;
  margin-bottom: 20px;
  transition: box-shadow 0.24s, transform .22s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-card strong { color: #B89A53; font-size: 1.1em; letter-spacing: .02em; font-weight: 600; }
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 12px 32px rgba(38,68,58,0.17);
  transform: translateY(-8px) scale(1.015);
}

/* TESTIMONIALS */
.testimonials { background: #FDFBFA; }
.testimonials .testimonial-card {
  background: #fff;
  color: #222;
  border-left: 4px solid #B89A53;
  box-shadow: 0 4px 18px rgba(38,68,58,0.12);
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.22s;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #222;
  font-family: 'Montserrat', sans-serif;
  margin-left: 8px;
}
.testimonial-card:hover {
  box-shadow: 0 9px 28px rgba(184,154,83,0.09);
  transform: scale(1.01);
}

/* PORTFOLIO LIST ON REALIZACJE PAGE */
.portfolio-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.portfolio-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(38,68,58,0.06);
  border-left: 4px solid #B89A53;
  padding: 20px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.portfolio-item h2 { font-size: 1.25rem; margin-bottom: 4px; }

/* BLOG EXCERPTS */
.blog-article-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.blog-excerpt {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 9px rgba(38,68,58,0.07);
  padding: 22px 18px;
  border-left: 3px solid #B89A53;
  transition: box-shadow 0.13s, border-color .1s;
}
.blog-excerpt h2 a {
  color: #26443A;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.18rem;
  transition: color .17s;
}
.blog-excerpt:hover, .blog-excerpt:focus-within {
  box-shadow: 0 6px 18px rgba(38,68,58,0.13);
  border-left: 3px solid #B89A53;
}

/* FOOTER */
footer {
  background: #26443A;
  color: #fff;
  padding: 0;
  font-size: 1rem;
  border-top: 3px solid #B89A53;
}
.content-wrapper.footer {
  display: flex; flex-wrap: wrap; gap: 36px; justify-content: space-between;
  align-items: flex-start; padding: 42px 0 20px 0;
}
.footer-logo img { height: 44px; margin-bottom: 18px; }
.footer-links, .footer-contact, .footer-legal, .footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a, .footer-legal a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat',sans-serif;
  text-decoration: none;
  transition: color 0.18s;
  opacity: 0.85;
}
.footer-links a:hover, .footer-legal a:hover {
  color: #B89A53; opacity: 1;
}
.footer-contact a {
  color: #B89A53;
  font-weight: 600;
}
.footer-bottom {
  background: #1f332b;
  text-align: center;
  padding: 18px;
  font-size: .92rem;
  letter-spacing: .02em;
  color: #F3F6F2;
  border-top: 1px solid #B89A53;
}
.footer-social {
  flex-direction: row;
  gap: 18px;
  margin-top: 8px;
}
.footer-social a {
  display: flex;
  align-items: center;
  background: none;
  border-radius: 8px;
  transition: background 0.12s;
}
.footer-social a:hover { background: #fff2db; }
.footer-social img { height: 26px; width: 26px; }

/* PRICING TABLE */
.pricing-table th { background: #26443A; color: #fff; font-family: 'Montserrat',sans-serif; }
.pricing-table td { background: #fff; border-bottom: 1px solid #EAEDF2; }

/* PACKAGE TABLE ON SERVICES */
.package-table {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  margin-top: 16px;
}
.package-table table { flex: 2 1 380px; }
.feature-checklist { flex: 1 1 200px; margin-top: 8px; background: #FCFBF6; border-radius: 9px; padding: 15px 16px 10px 18px; box-shadow: 0 1px 7px rgba(38,68,58,0.08); }
.feature-checklist ul { margin-left: 20px; }
.feature-checklist li {
  padding-left: 0.8em;
  margin-bottom: 13px;
  color: #26443A;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 28px; margin-bottom: 16px; }
.faq-item { background: #fff; padding: 15px 16px 14px 19px; border-left: 4px solid #B89A53; border-radius: 10px; box-shadow: 0 2px 8px rgba(38,68,58,0.05); font-size: 1rem; }

/* NEWSLETTER FORM */
.newsletter-form {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  margin-bottom: 9px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.newsletter-form label {
  font-weight: 600;
  margin-right: 6px;
  color: #26443A;
}
.newsletter-form input[type="email"] {
  border-radius: 28px;
  border: 2px solid #B89A53;
  background: #fff;
  padding: 10px 20px;
  font-size: 1rem;
  font-family: 'Roboto',sans-serif;
  color: #26443A;
  outline: none;
}
.newsletter-form input:disabled, .newsletter-form button:disabled { opacity: 0.6; }

/* CONTACT DETAILS */
.contact-details {
  background: #F3F6F2;
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.map-embed {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  margin-top: 8px;
}
.map-embed img {
  width: 58px; height: 58px; margin-bottom: 2px; border-radius: 9px; background: #FCFBF6; border: 1px solid #B89A53;
}

/* SERVICE LIST ON SERVICES PAGE */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.service-list li {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 3px 14px rgba(38,68,58,0.077);
  border-left: 4px solid #B89A53;
  padding: 22px 22px 19px 18px;
  margin-bottom: 10px;
  list-style: none;
  transition: box-shadow .18s;
}
.service-list li:hover { box-shadow: 0 7px 24px rgba(38,68,58,0.12); }

/* MISC */
.category-list { font-family: 'Montserrat',sans-serif; color: #B89A53; font-size: 1.07em; margin-left: 12px; }

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: #fff;
  color: #26443A;
  box-shadow: 0 -3px 22px rgba(38,68,58,.18);
  padding: 24px 16px 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1200;
  border-top: 3px solid #B89A53;
  opacity: 0;
  pointer-events: none;
  transition: opacity .27s;
}
.cookie-banner.show { opacity: 1; pointer-events: all; }
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 5px;
}
.cookie-banner .button {
  min-width: 128px;
  font-size: 1rem;
  padding: 10px 16px;
  border-radius: 32px;
}
.cookie-banner .button.primary { background: #26443A; color: #fff; border-color: #B89A53; }
.cookie-banner .button.secondary { background: #fff; color: #26443A; border-color: #B89A53; }

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(38,68,58,0.74);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.26s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.show { opacity: 1; pointer-events: all; }
.cookie-modal {
  background: #fff;
  max-width: 400px;
  width: 96vw;
  border-radius: 20px;
  box-shadow: 0 7px 47px rgba(38,68,58,.22);
  padding: 40px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  position: relative;
  animation: fadeIn .47s cubic-bezier(.7,0,.3,1) 1;
}
.cookie-modal h2 {
  color: #26443A;
  font-size: 1.41rem;
  margin-bottom: 4px;
}
.cookie-modal label {
  font-size: 1.04rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.cookie-modal .cookie-switch {
  width: 38px; height: 22px;
  background: #F3F6F2;
  border-radius: 16px;
  border: 2px solid #B89A53;
  position: relative;
  margin-left: 8px;
  transition: border-color .13s;
}
.cookie-modal .cookie-switch[aria-checked="true"] {
  background: #B89A53;
  border-color: #B89A53;
}
.cookie-modal .cookie-switch:before {
  content: '';
  display: block;
  position: absolute;
  top: 2px; left: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left .19s;
}
.cookie-modal .cookie-switch[aria-checked="true"]:before { left: 17px; }
.cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  right: 19px;
  top: 18px;
  background: none;
  border: none;
  font-size: 1.67rem;
  color: #B89A53;
  cursor: pointer;
  z-index: 1;
  transition: color .16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: #26443A; }

/* MODAL ANIMATION */
@keyframes fadeIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }

/* MEDIA QUERIES */
@media (max-width: 1220px) {
  .container { max-width: 98vw; }
}
@media (max-width: 992px) {
  .main-nav { gap: 21px; margin-left: 12px; }
  .service-cards { gap: 15px; }
  .feature-grid { gap: 26px 12px; }
  .package-table { gap: 19px; }
  .footer-logo img { height: 34px; }
}
@media (max-width: 768px) {
  .container { padding-left: 9px; padding-right: 9px; }
  header .container,
  .content-wrapper.footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    height: auto;
    padding: 22px 0 5px 0;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle { display: inline-flex; margin-left: auto; }
  .button.primary { margin-left: 0; }
  .service-cards, .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .content-wrapper { gap: 12px; }
  .testimonials .testimonial-card, .faq-item, .portfolio-item, .service-card {
    padding: 17px 12px 17px 14px;
  }
  .package-table { flex-direction: column; gap: 11px; }
  .footer-links, .footer-legal, .footer-contact, .footer-social {
    flex-direction: column;
    gap: 7px;
  }
  .footer-social { margin-top: 0; }
  .newsletter-form { flex-direction: column; align-items: stretch; gap: 6px; }
  .service-list li { padding: 13px 11px 11px 10px; }
  .content-wrapper.text-section { padding-right: 0; }
  .text-image-section { flex-direction: column; gap: 18px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.17rem; }
  .button { font-size: 0.98rem; padding: 9px 16px; }
  .footer-bottom { font-size: 0.85rem; }
  .service-card { min-width: 160px; padding: 14px 7px 9px 7px; border-radius: 9px; }
}

/* SCROLLBAR FOR LUXURY LOOK */
::-webkit-scrollbar { width: 10px; background: #FCFBF6; }
::-webkit-scrollbar-thumb { background: #B89A53; border-radius: 16px; }

/* PREMIUM SHADOW & HIGHLIGHTS */
.section, .service-card, .portfolio-item, .faq-item, .testimonial-card, .feature-checklist, .blog-excerpt {
  box-shadow: 0 3px 15px rgba(184,154,83,0.035), 0 2px 6px rgba(38,68,58,0.07);
}

/* GOLDED ACCENTS AND DETAILS */
hr, .pricing-table th, .package-table th {
  border: none; background: #B89A53; height: 2px; }

/* LUXURY EFFECT ON HOVER */
.button.primary, .button.secondary, .service-card, .portfolio-item, .testimonial-card {
  transition: box-shadow 0.21s, transform .16s, background .13s, color .19s, border-color .19s; }

/* FOCUS STATES */
a:focus, button:focus, .button:focus, input:focus {
  outline: 2px solid #B89A53;
  outline-offset: 2px;
}

/* Z-INDEX STRATEGY */
header { z-index: 100; }
.mobile-menu { z-index: 1050; }
.cookie-banner { z-index: 1200; }
.cookie-modal-overlay { z-index: 1300; }

/* LUXURY FONT FALLBACK LOAD (WEB FONTS) */
@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat'), url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: local('Roboto'), url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
  font-style: normal;
  font-display: swap;
}
