/* 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 { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: #FFFFFF;
  color: #333;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

/* Brand Colors */
:root {
  --brand-primary: #275D38;
  --brand-secondary: #EAECEB;
  --brand-accent: #618F5A;
  --brand-gold: #C6A35C;
  --brand-black: #1E2023;
  --brand-white: #FFF;
  --text-dark: #232323;
  --text-light: #fff;
  --bg-dark: #232925;
  --shadow: 0 6px 32px rgba(39,93,56,0.08), 0 2px 6px rgba(39,93,56,0.08);
  --radius: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brand-primary);
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.17rem;
  margin-bottom: 16px;
  font-weight: 600;
}
h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 12px;
}
strong { font-weight: 700; }

p, li, address {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--text-dark);
}

ul, ol {
  list-style: disc;
  margin-left: 24px;
  margin-bottom: 24px;
}
li {
  margin-bottom: 8px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.card-container, .feature-grid, .blog-list, .case-study, .project-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
  margin-bottom: 8px;
}
.card-container { gap: 24px; }
.card {
  background: var(--brand-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 28px;
  min-width: 240px;
  flex: 1 1 220px;
  transition: box-shadow 0.25s;
  border: 1px solid #ececec;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(198,163,92,0.12), 0 2px 12px rgba(97,143,90,0.10);
  border-color: var(--brand-gold);
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--brand-secondary);
  border-radius: var(--radius);
  padding: 28px 20px 24px;
  min-width: 220px;
  max-width: 410px;
  flex: 1 1 210px;
  box-shadow: var(--shadow);
  border: 1px solid #e7e0c8;
  transition: border 0.22s;
  position: relative;
}
.feature-item img {
  width: 36px;
  height: 36px;
  margin-bottom: 5px;
}
.feature-item h3 {
  color: var(--brand-primary);
  font-size: 1.19rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.feature-item:hover {
  border-color: var(--brand-gold);
  box-shadow: 0 6px 30px rgba(247,215,111,0.12);
}

@media (max-width: 820px) {
  .feature-grid { gap: 20px; }
  .feature-item { min-width: 160px; max-width: 100%; }
}
@media (max-width: 600px) {
  .container { max-width: 100%; padding-left: 8px; padding-right: 8px; }
  .content-wrapper { gap: 20px; }
  .card { padding: 22px 10px; }
  .feature-item { padding: 16px 10px 16px; }
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #FDFCFA;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  border: 1px solid #eadbb5;
  max-width: 580px;
}
.testimonial-card strong {
  color: var(--brand-black);
  font-size: 1.09rem;
  font-weight: 700;
}
.testimonial-card p {
  color: var(--brand-primary);
  font-size: 1rem;
  font-style: italic;
}
.testimonial-card .stars {
  color: var(--brand-gold);
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-shadow: 0px 1px 3px #eee;
}

@media (max-width: 600px) {
  .testimonial-card { max-width: 100%; padding: 14px; font-size: 0.97rem; }
  .testimonial-card .stars { font-size: 1rem; }
}

/* Blog and categories */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.blog-teaser {
  background: var(--brand-secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  flex: 1 1 250px;
  min-width: 220px;
  transition: box-shadow 0.22s;
}
.blog-teaser:hover {
  box-shadow: 0 8px 32px rgba(198,163,92,0.15);
}
.categories-list {
  margin-top: 18px;
}
.categories-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-left: 0;
}
.categories-list li {
  background: var(--brand-accent);
  color: var(--text-light);
  padding: 5px 18px;
  border-radius: 24px;
  font-size: 0.95rem;
}

/**********************
 NAVIGATION & HEADER
***********************/
header {
  width: 100%;
  background: var(--brand-white);
  box-shadow: 0 1px 12px rgba(39,93,56,0.07);
  padding-top: 12px;
  padding-bottom: 12px;
  position: relative;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
header a img {
  height: 44px;
  max-width: 160px;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
nav a {
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
nav a:hover {
  color: var(--brand-gold);
  background: rgba(198,163,92,0.06);
}
nav .cta-primary {
  background: var(--brand-gold);
  color: var(--brand-white);
  box-shadow: 0 2px 10px rgba(198,163,92,0.09);
  border-radius: 24px;
  padding: 8px 26px;
  text-transform: uppercase;
  letter-spacing: .04em;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  margin-left: 12px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
nav .cta-primary:hover, .cta-primary:focus {
  background: var(--brand-primary);
  color: var(--brand-gold);
  box-shadow: 0 4px 24px 0 rgba(39,93,56,0.12);
}

@media (max-width: 1050px) {
  nav { gap: 14px; }
  nav .cta-primary { padding: 7px 12px; margin-left: 5px; }
}

/********************
 MOBILE MENU
********************/
.mobile-menu-toggle {
  display: none;
  background: var(--brand-gold);
  border: none;
  color: var(--brand-white);
  font-size: 2.3rem;
  padding: 4px 16px;
  border-radius: 10px;
  cursor: pointer;
  z-index: 110;
  transition: background .18s;
  outline: none;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--brand-accent);
}
@media (max-width: 900px) {
  nav { display: none; }
  .mobile-menu-toggle { display: block; position: absolute; right: 24px; top: 14px; }
}
@media (max-width: 600px) {
  .mobile-menu-toggle { right: 8px; top: 12px; font-size: 2rem; }
}

.mobile-menu {
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39,93,56,0.98);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.6,.03,.37,1.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 34px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: var(--brand-gold);
  font-size: 2.2rem;
  border: none;
  align-self: flex-end;
  margin-right: 20px;
  margin-bottom: 20px;
  cursor: pointer;
  z-index: 1210;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
  padding-left: 38px;
}
.mobile-nav a {
  color: var(--brand-white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 8px 0;
  border-radius: 10px;
  transition: color .16s, background .15s;
}
.mobile-nav a:hover {
  color: var(--brand-gold);
  background: rgba(198,163,92,0.08);
}
@media (max-width: 600px) {
  .mobile-nav { padding-left: 18px; gap: 16px; }
}

/**********************
 FOOTER
***********************/
footer {
  width: 100%;
  background: var(--brand-primary);
  color: var(--brand-white);
  padding-top: 40px;
  padding-bottom: 16px;
  position: relative;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px;
  justify-content: space-between;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1rem;
  min-width: 260px;
}
.footer-contact img[alt="Zenstrix Ogród"] {
  width: 52px;
  height: auto;
  margin-bottom: 12px;
}
.footer-contact address {
  color: var(--brand-white);
  font-style: normal;
  font-size: 0.98rem;
  line-height: 1.8;
}
.footer-contact a {
  color: var(--brand-gold);
  text-decoration: underline dotted;
  font-weight: 500;
}
.footer-contact a:hover {
  color: var(--brand-white);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  min-width: 190px;
}
.footer-nav a {
  color: var(--brand-gold);
  text-decoration: none;
  font-size: 1rem;
  transition: color .17s;
}
.footer-nav a:hover{
  color: var(--brand-white);
}
.copyright {
  flex: 1 1 100%;
  margin-top: 28px;
}
.copyright p {
  color: #e7e7e7;
  font-size: 0.97rem;
  text-align: left;
}
@media (max-width: 950px) {
  footer .container { flex-direction: column; align-items: flex-start; gap: 26px; }
  .footer-contact, .footer-nav { min-width: 0; }
}

/**********************
 BUTTONS & CTA
***********************/
.cta-primary, .cta-secondary {
  display: inline-block;
  background: var(--brand-gold);
  color: var(--brand-white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 36px;
  font-size: 1rem;
  border-radius: 32px;
  border: none;
  letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: 0 3px 18px rgba(198,163,92,0.09);
  cursor: pointer;
  margin-top: 18px;
  margin-bottom: 2px;
  transition: background 0.22s, color 0.18s, box-shadow 0.22s;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--brand-primary);
  color: var(--brand-gold);
  box-shadow: 0 6px 30px rgba(39,93,56,0.12);
}
.cta-secondary {
  background: var(--brand-white);
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
  margin-left: 12px;
}
.cta-secondary:hover {
  background: var(--brand-primary);
  color: var(--brand-white);
}

/******************************
 COOKIE CONSENT BANNER & MODAL
*******************************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 12000;
  width: 100vw;
  background: #f6f1e3;
  color: var(--brand-black);
  box-shadow: 0 -2px 20px rgba(0,0,0,0.09);
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 26px 24px 22px 22px;
  gap: 28px;
  font-size: 1rem;
  transition: transform 0.3s;
}
.cookie-banner.hide {
  transform: translateY(160%);
  pointer-events: none;
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 0%;
  max-width: 650px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 7px 22px;
  font-weight: 600;
  border-radius: 18px;
  border: none;
  font-size: 0.97rem;
  cursor: pointer;
  transition: background .17s, color .13s;
  outline: none;
}
.cookie-banner .accept {
  background: var(--brand-gold);
  color: var(--brand-white);
}
.cookie-banner .accept:hover {
  background: var(--brand-primary);
  color: var(--brand-gold);
}
.cookie-banner .reject {
  background: #ede8da;
  color: var(--brand-primary);
  border: 1px solid #e3d6ba;
}
.cookie-banner .reject:hover {
  background: #ebdbba;
  color: var(--brand-black);
}
.cookie-banner .settings {
  background: transparent;
  color: var(--brand-primary);
  border: 1px solid var(--brand-gold);
}
.cookie-banner .settings:hover {
  background: var(--brand-gold);
  color: var(--brand-white);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.95rem;
    padding: 10px 8px 15px 11px;
  }
  .cookie-banner .cookie-btns { gap: 8px; flex-wrap: wrap; }
}

.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0; width:100vw; height:100vh;
  background: rgba(39,93,56,0.78);
  z-index: 13000;
  transition: opacity 0.22s;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #f9f7f2;
  padding: 34px 24px 24px 36px;
  border-radius: 20px;
  max-width: 410px;
  width: 94vw;
  box-shadow: 0 12px 50px rgba(39,93,56,0.18);
  color: var(--brand-black);
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.cookie-modal h3 {
  color: var(--brand-primary);
  margin-bottom: 18px;
}
.cookie-modal ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.cookie-modal label {
  flex: 1 1 0%;
}
.cookie-modal input[type=checkbox]{
  width: 22px;
  height: 22px;
  accent-color: var(--brand-gold);
  border-radius: 5px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 6px 18px;
  border-radius: 14px;
  font-weight: 600;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  background: var(--brand-gold);
  color: var(--brand-white);
  transition: background-color 0.17s;
}
.cookie-modal button.secondary {
  background: #ebe2d2;
  color: var(--brand-primary);
  border: 1px solid #e3d6ba;
}
.cookie-modal button:hover {
  background: var(--brand-primary);
  color: var(--brand-gold);
}
.cookie-modal .close-modal {
  background: transparent;
  color: var(--brand-primary);
  font-size: 1.2rem;
  align-self: flex-end;
  margin-right: -8px;
  border: none;
}
.cookie-modal .close-modal:hover {
  color: var(--brand-gold);
}

/***********************
 SECTION AND LAYOUTS
***********************/
.content-grid, .project-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 10px;
}

.case-study {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
  background: #f7f5ec;
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  border: 1px solid #efe1be;
}

.office-map {
  margin: 20px 0 0 0;
}
.office-map img {
  width: 100%;
  max-width: 280px;
  border-radius: 15px;
  box-shadow: 0 6px 32px 0 rgba(39,93,56,0.07);
}

@media (max-width: 900px) {
  .content-grid, .project-overview {
    flex-direction: column;
    gap: 16px;
  }
}

/***************
 MISC ELEMENTS
****************/
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--brand-primary);
  text-decoration: underline dotted var(--brand-accent, #618F5A) 1px;
  transition: color 0.13s;
}
a:hover {
  color: var(--brand-gold);
  text-decoration-thickness: 2px;
}

hr {
  border: none;
  border-bottom: 1px solid #ececec;
  margin: 20px 0;
}

/*******************
 RESPONSIVE FIXES
********************/
@media (max-width: 1050px) {
  .container, .section {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 24px 7px;
  }
}
@media (max-width: 570px) {
  h1 { font-size: 1.2rem; }
  h2 { font-size: 1.09rem; }
}

/*******************
 SUBTLE ANIMATIONS & TRANSITIONS
**********************/
.section,.card,.feature-item, .testimonial-card, .blog-teaser, .case-study {
  transition: box-shadow .25s, border-color .2s, background .22s;
}
.cta-primary, .cta-secondary, button {
  transition: background 0.22s, color 0.15s, box-shadow 0.22s;
}

/*******************
  LUXURY DIVIDER ACCENTS
**********************/
.section h2:after, .content-wrapper h2:after, h1:after {
  content: '';
  display: block;
  width: 54px;
  height: 4px;
  border-radius: 2px;
  margin: 13px 0 6px 0;
  background: linear-gradient(90deg,var(--brand-gold) 60%,#eddebc 100%);
  opacity: .8;
}

/*******************
 FORM ELEMENTS
*******************/
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 1px solid #dedede;
  border-radius: 18px;
  padding: 11px 19px;
  margin-bottom: 14px;
  background: #fafaf7;
  color: var(--brand-primary);
  transition: border .17s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--brand-gold);
  outline: none;
}

/*********************
 LUXURY MICROINTERACTIONS
**********************/
.card:after, .feature-item:after {
  content: '';
  display: block;
  position: absolute;
  left: 20px;
  top: -9px;
  width: 46px; height: 5px;
  background: linear-gradient(90deg,var(--brand-gold) 70%,rgba(255,255,255,0));
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
}
.card:hover:after, .feature-item:hover:after {
  opacity: 0.8;
}
@media (max-width: 550px) {
  .card:after, .feature-item:after { display: none; }
}

/*********************
 SCROLLBAR
**********************/
body::-webkit-scrollbar {
  width: 11px;
  background: #F6F7F2;
}
body::-webkit-scrollbar-thumb {
  background: var(--brand-gold);
  border-radius: 6px;
}

/**********************
 PRINT UTILITIES
***********************/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
}
