/* ========================================================================
   CSS RESET & BASELINE
======================================================================== */
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;
  font-size: 16px;
}
body {
  background: #F8F9F5;
  color: #222;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
  transition: color 0.18s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* ========================================================================
   BRAND COLOR PALETTE (Luxury/Premium)
======================================================================== */
:root {
  --primary: #21603E;
  --secondary: #417D57;
  --accent: #F2F6E7;
  --gold: #C6A15B;
  --gold-dark: #9C8443;
  --dark: #181818;
  --white: #fff;
  --gray-100: #F8F9F5;
  --gray-200: #E9ECDF;
}

/* ========================================================================
   TYPOGRAPHY
======================================================================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:600,700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
p {
  color: var(--dark);
  font-size: 1rem;
  margin-bottom: 14px;
}
strong {
  color: var(--primary);
  font-weight: 700;
}
.text-section ul {
  margin-left: 18px;
  margin-bottom: 8px;
}
.text-section li {
  list-style: disc;
  margin-bottom: 6px;
  color: var(--secondary);
  font-size: 1rem;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--gray-100);
  border-radius: 20px;
  box-shadow: 0 6px 32px rgba(33,96,62,0.05);
}

/* ========================================================================
   HEADER & NAVIGATION
======================================================================== */
header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 18px rgba(33,96,62,0.10);
  padding: 0 0 0 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 20px 22px 20px;
}
header img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  text-transform: uppercase;
  position: relative;
  transition: color 0.18s;
  padding: 4px 6px;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  margin: 0 auto;
  background: var(--gold);
  transition: width 0.28s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--gold);
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 100%;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 26px;
  border-radius: 30px;
  background: var(--primary);
  color: var(--gold);
  border: 2px solid var(--gold);
  box-shadow: 0 2px 10px rgba(198,161,91,0.07);
  transition: background 0.18s, color 0.18s, border 0.18s, box-shadow 0.18s;
  position: relative;
  overflow: hidden;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--gold);
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(198,161,91,0.11);
}

/* ========================================================================
   MOBILE NAVIGATION
======================================================================== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 26px;
  right: 24px;
  z-index: 130;
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: var(--gold);
  border-radius: 10px;
  font-size: 2rem;
  border: none;
  transition: background 0.18s, color 0.18s;
  justify-content: center;
  align-items: center;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--gold);
  color: var(--primary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24, 24, 24, 0.98);
  z-index: 150;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.55,.18,.1,1);
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--gold);
  background: none;
  border: none;
  align-self: flex-end;
  margin: 24px 24px 4px 0;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 28px 28px 28px;
  width: 100%;
}
.mobile-nav a {
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 16px 0 8px 0;
  border-bottom: 1px solid rgba(198,161,91,0.10);
  transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--gold);
}

/* Hamburger visible for mobile */
@media (max-width: 1050px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 1050px) {
  header .container {
    padding-right: 60px;
  }
}
@media (max-width: 480px) {
  .mobile-menu-toggle {
    width: 38px; height: 38px; font-size: 1.65rem;
    top: 16px; right: 12px;
  }
}

/* ========================================================================
   HERO SECTION
======================================================================== */
.hero {
  background: var(--accent);
  background: linear-gradient(105deg, var(--accent) 80%, var(--gold) 100%);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 12px 54px rgba(198,161,91,0.09);
  padding: 64px 0 64px 0;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.7rem;
}
.hero p {
  color: var(--secondary);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

/* ========================================================================
   FLEX LAYOUTS (MANDATORY!)
======================================================================== */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(33,96,62,0.08), 0 0px 1.5px rgba(198,161,91,0.12);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 14px 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
  background: var(--white);
  gap: 20px;
  padding: 20px;
  box-shadow: 0 4px 24px rgba(33,96,62,0.08), 0 1.5px 1.5px rgba(198,161,91,0.13);
  border-radius: 18px;
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 420px;
  border-left: 6px solid var(--gold);
  transition: box-shadow 0.14s;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: var(--dark);
  margin-bottom: 2px;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--secondary);
  font-weight: 600;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 48px rgba(198,161,91,0.1);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Feature grids and icons */
.features .feature-grid,
.features .feature-icons,
.feature-list,
.service-list,
.support-options {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.features ul li,
.feature-list li,
.service-list li,
.support-options li {
  font-size: 1.05rem;
  color: var(--primary);
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2.5px 9px rgba(33,96,62,0.08);
  padding: 16px 18px 16px 18px;
  min-width: 210px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid var(--gold);
  margin-bottom: 6px;
}
.features .feature-icons li {
  min-width: 180px;
  font-size: 1rem;
}
.features .feature-grid img,
.feature-icons img,
.contact-details img {
  height: 28px;
  width: 28px;
  object-fit: contain;
  margin-right: 7px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Blog List */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 26px;
  justify-content: flex-start;
}
.blog-list article {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2.5px 13px rgba(33,96,62,0.07);
  padding: 22px 20px 18px 22px;
  min-width: 240px;
  max-width: 360px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
  border-left: 4px solid var(--gold);
}
.blog-list article h2 { font-size: 1.35rem; color: var(--primary); }
.blog-list article p { color: var(--dark); font-size: 1rem; }

/* Legal (privacy, rodo, cookies, regulamin) */
.legal {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--gray-200);
  border-radius: 18px;
}
.legal h1 {
  color: var(--primary);
}
.legal .content-wrapper {
  gap: 24px;
}
.legal .text-section {
  background: var(--white);
  border-radius: 12px;
  padding: 16px 20px 16px 18px;
  box-shadow: 0 2px 12px rgba(33,96,62,0.04);
}

/* Thank You page */
.thank-you .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 26px;
}
.thank-you h1 {
  color: var(--gold-dark);
}

/* ========================================================================
   CONTACT DETAILS
======================================================================== */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(198,161,91,0.04);
  padding: 10px 16px;
  margin-bottom: 6px;
  font-size: 1rem;
  color: var(--primary);
}

/* ========================================================================
   FOOTER
======================================================================== */
footer {
  background: var(--primary);
  padding: 36px 0 24px 0;
  width: 100%;
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: var(--gold);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--white);
  text-decoration: underline;
}
.footer-contact {
  color: var(--accent);
  font-size: 15px;
  text-align: center;
  margin-bottom: 3px;
}
.footer-contact a {
  color: var(--gold);
  font-weight: 500;
  transition: color 0.2s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: var(--white);
}
.footer-tagline {
  font-family: 'Lato', Arial, sans-serif;
  color: var(--gold-dark);
  font-size: 14px;
  margin-top: 10px;
  text-align: center;
}
footer img {
  height: 40px;
  margin-bottom: 7px;
}

/* ========================================================================
   BUTTONS & INTERACTIONS
======================================================================== */
button, .cta-btn {
  transition: all 0.15s cubic-bezier(.74,0,.42,1.05);
}
.service-list li, .feature-list li, .support-options li, .features .feature-grid li, .features .feature-icons li {
  transition: box-shadow 0.15s, border-color 0.12s;
}
.service-list li:hover, .feature-list li:hover, .support-options li:hover,
.features .feature-grid li:hover, .features .feature-icons li:hover {
  box-shadow: 0 6px 22px rgba(198,161,91,0.12);
  border-left: 4px solid var(--primary);
}

/* ========================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST)
======================================================================== */
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  .main-nav {
    gap: 16px;
  }
  .hero h1 { font-size: 2rem; }
  .container { padding-left: 8px; padding-right: 8px; }
  .section { padding: 30px 8px; }
  .blog-list {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .content-grid, .blog-list, .services .service-details {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .features .feature-grid, .features .feature-icons, .feature-list, .service-list, .support-options {
    flex-direction: column;
    gap: 12px;
    min-width: 0;
  }
  .card-container {
    gap: 12px;
  }
  .hero .container { padding: 0 6px; }
  .section { margin-bottom: 36px; padding: 24px 2px; }
  .testimonial-card { min-width: unset; max-width: unset; padding: 12px; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
  .footer-nav { gap: 11px; }
  .footer-contact, .footer-tagline { font-size: 13px; }
  .hero { padding: 36px 0 26px 0; border-radius: 0 0 22px 22px; }
}

/* ========================================================================
   TRANSITIONS & MICRO-INTERACTIONS
======================================================================== */
.cta-btn::after {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.12;
  border-radius: 32px;
  transition: opacity 0.11s;
  pointer-events: none;
  background: var(--gold);
  z-index: 1;
}
.cta-btn:active::after {
  opacity: 0.22;
}

.card, .testimonial-card, .blog-list article {
  transition: box-shadow 0.16s;
}
.card:hover, .blog-list article:hover {
  box-shadow: 0 8px 40px rgba(198,161,91,0.13);
}

/* ========================================================================
   COOKIE CONSENT BANNER
======================================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  background: var(--dark);
  color: var(--accent);
  width: 100vw;
  box-shadow: 0 -4px 32px rgba(33,96,62,0.22);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px 18px 16px;
  gap: 22px;
  border-top: 4px solid var(--gold);
  font-size: 1rem;
  animation: cookieBannerIn 0.36s cubic-bezier(.75,0,.41,1.02);
}
@keyframes cookieBannerIn {
  from { opacity: 0; transform: translateY(90px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner__text {
  flex: 1 1 auto;
  max-width: 820px;
  margin-right: 18px;
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 24px;
  border-radius: 23px;
  border: 2px solid var(--gold);
  margin-left: 0;
  font-weight: 600;
  min-width: 120px;
  background: var(--dark);
  color: var(--gold);
  transition: background 0.15s, color 0.14s, border 0.13s;
}
.cookie-btn.accept {
  background: var(--gold);
  color: var(--primary);
  border: 2px solid var(--gold);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--primary);
  color: var(--gold);
  border-color: var(--gold);
}
.cookie-btn.reject {
  background: var(--dark);
  color: var(--gold-dark);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--gold);
  color: var(--dark);
}
.cookie-btn.settings {
  background: var(--dark);
  color: var(--gold);
  border-style: dashed;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  border-style: solid;
  background: var(--primary);
  color: var(--gold);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,24,24,0.82);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s;
}
.cookie-modal {
  background: var(--accent);
  border-radius: 18px;
  padding: 40px 26px 22px 26px;
  min-width: 320px;
  max-width: 96vw;
  box-shadow: 0 6px 44px rgba(198,161,91,0.13);
  position: relative;
  animation: cookieModalIn 0.34s cubic-bezier(.70,0,.2,1.2);
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: scale(0.94) translateY(60px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  margin-bottom: 16px;
}
.cookie-modal .cookie-category label {
  font-size: 1.02rem;
  color: var(--dark);
  font-weight: 500;
  flex: 1 1 auto;
}
.cookie-modal .cookie-toggle {
  width: 32px; height: 18px;
  border-radius: 10px;
  background: var(--gray-200);
  position: relative;
  border: 1.5px solid var(--gold);
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  vertical-align: middle;
  transition: background 0.16s;
}
.cookie-modal .cookie-toggle input {
  display: none;
}
.cookie-modal .cookie-toggle .toggle-slider {
  position: absolute;
  height: 16px;
  width: 16px;
  top: 0.5px; left: 0.5px;
  background: var(--primary);
  border-radius: 9px;
  transition: left 0.20s, background 0.20s;
  box-shadow: 0 1px 5px rgba(33,96,62,0.08);
}
.cookie-modal .cookie-toggle input:checked + .toggle-slider {
  left: 15px;
  background: var(--gold);
}
.cookie-modal .cookie-category.essential label {
  opacity: 0.7;
}
.cookie-modal .cookie-category.essential .cookie-toggle {
  pointer-events: none;
  opacity: 0.55;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 16px;
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal-close-btn {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 1.64em;
  color: var(--primary);
  background: none;
  border: none;
  transition: color 0.14s;
}
.cookie-modal-close-btn:hover, .cookie-modal-close-btn:focus {
  color: var(--gold-dark);
}

/* Hide banner/modal for print */
@media print {
  .cookie-banner, .cookie-modal-overlay { display: none !important; }
}

/* ========================================================================
   UTILITY CLASSES
======================================================================== */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.gold { color: var(--gold); }
.dark { color: var(--dark); }
.white { color: var(--white); }
.primary-bg { background: var(--primary); }

/* ========================================================================
   MISC - SPACING, GAPS, BORDERS
======================================================================== */
.mt-2 { margin-top: 12px; }
.mt-4 { margin-top: 24px; }
.mb-2 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 24px; }
.gap-2 { gap: 16px; }
.gap-4 { gap: 32px; }
.rounded {
  border-radius: 16px;
}
.shadow {
  box-shadow: 0 3px 12px rgba(33,96,62,0.06);
}

/* ========================================================================
   FOCUS STYLES FOR ACCESSIBILITY
======================================================================== */
a:focus, button:focus, .cta-btn:focus, .mobile-menu-close:focus,
.cookie-btn:focus, .cookie-modal-close-btn:focus {
  outline: 2.5px solid var(--gold);
  outline-offset: 1.5px;
}

/* ========================================================================
   END OF FILE
======================================================================== */
