/*=========================================================
  CSS RESET & BASELINE NORMALIZATION
=========================================================*/
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #f7f5f2 0%, #e2ddd7 100%);
  color: #2b3d4f;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #b1845f;
  text-decoration: underline;
  transition: color 0.22s cubic-bezier(.55,.02,.46,1.01);
  cursor: pointer;
  word-break: break-word;
}
a:hover, a:focus {
  color: #2b3d4f;
}
ul {
  list-style-position: outside;
  padding-left: 20px;
  margin-bottom: 18px;
}
strong {
  font-weight: 600;
  color: #2b3d4f;
}
p {
  margin-bottom: 16px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}


/*=========================================================
  TYPOGRAPHY
=========================================================*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.01em;
  line-height: 1.18;
  color: #2b3d4f;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 {
  font-size: 2.25rem; /* 36px */
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
h2 {
  font-size: 1.5rem;  /* 24px */
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
@media (min-width: 600px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}


/*=========================================================
  GLOBAL SPACING & CONTAINER
=========================================================*/
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  background: rgba(255,255,255,0.65);
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(43,61,79,.089);
}
@media (max-width: 900px) {
  .section {
    padding: 30px 10px;
    margin-bottom: 32px;
  }
}

.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-section {
  max-width: 600px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* Utility Spacing */
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.mb-16 { margin-bottom: 16px!important; }
.mb-20 { margin-bottom: 20px!important; }
.mb-32 { margin-bottom: 32px!important; }


/*=========================================================
  HEADER & NAVIGATION
=========================================================*/
header {
  width: 100%;
  background: linear-gradient(90deg, #b1845f 0%, #f7f5f2 100%);
  box-shadow: 0 4px 18px 0 rgba(43,61,79,0.08);
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  gap: 24px;
  min-height: 70px;
  padding: 8px 20px;
}
header img {
  height: 38px;
  width: auto;
}
header nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 40px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #2b3d4f;
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.17s cubic-bezier(.55,.02,.46,1.01);
}
header nav a:hover,
header nav a:focus {
  color: #b1845f;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 12px 30px;
  transition: background 0.25s, color 0.26s;
  box-shadow: 0 2px 10px 0 rgba(43,61,79,.08);
  cursor: pointer;
  font-size: 1rem;
  border: none;
  outline: 0;
  text-decoration: none;
  margin-left: auto;
  margin-right: 0;
  margin-bottom: 0;
}
.btn-primary {
  background: linear-gradient(90deg, #b1845f 10%, #2b3d4f 95%);
  color: #fff;
  letter-spacing: 0.02em;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(90deg, #2b3d4f 20%, #b1845f 90%);
  color: #f7f5f2;
}
.btn-secondary {
  background: #fff;
  border: 2px solid #b1845f;
  color: #b1845f;
  letter-spacing: 0.01em;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #b1845f;
  color: #fff;
  border-color: #2b3d4f;
}

/* Hamburger menu button */
.mobile-menu-toggle {
  display: none;
  background: #2b3d4f;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  padding: 4px 14px 2px 14px;
  margin-left: 18px;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 110;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #b1845f;
  color: #fff;
}

/* Responsive header nav */
@media (max-width: 900px) {
  header .container {
    gap: 10px;
    padding: 8px 10px;
  }
  header nav {
    display: none !important;
  }
  .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

/*=========================================================
  MOBILE MENU OVERLAY
=========================================================*/
.mobile-menu {
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #2b3d4f 90%, #b1845f 100%);
  transform: translateX(-105%);
  transition: transform 0.40s cubic-bezier(.63,.15,.27,1.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 28px 25px 0 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 2050;
  transition: color 0.15s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #b1845f;
}
.mobile-nav {
  width: 100%;
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 12px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.13);
  min-width: 80vw;
  transition: color 0.18s, background 0.14s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: #b1845f;
  background: rgba(184,132,95,0.08);
  border-radius: 8px;
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/*=========================================================
  FOOTER
=========================================================*/
footer {
  background: linear-gradient(90deg, #2b3d4f 90%, #b1845f 100%);
  padding: 36px 0 22px 0;
  color: #fff;
  margin-top: 50px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.footer-logo img {
  height: 54px;
  width: auto;
}
footer nav {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 22px;
}
footer nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  opacity: 0.86;
  transition: color 0.16s, opacity 0.20s;
}
footer nav a:hover,
footer nav a:focus {
  color: #b1845f;
  opacity: 1;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/*=========================================================
  FLEX LAYOUTS – MANDATORY PATTERNS
=========================================================*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(43,61,79,.09);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.20s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 4px 32px 0 rgba(43,61,79,0.16);
  transform: translateY(-2px) scale(1.015);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 15px;
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px 0 rgba(43,61,79,0.06);
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #f7f5f2;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 7px 0 rgba(43,61,79,0.08);
}
.testimonial-card p {
  color: #2b3d4f;
  font-size: 1.08rem;
  font-style: italic;
}
.testimonial-card span {
  font-size: 1rem;
  font-weight: 600;
  color: #b1845f;
  letter-spacing: 0.01em;
}

/* List adaptation for features (home & katalog) */
.content-wrapper > ul {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  width: 100%;
  align-items: stretch;
}
.content-wrapper > ul > li {
  flex: 1 1 210px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 7px 0 rgba(43,61,79,0.05);
  padding: 22px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  min-width: 200px;
  max-width: 344px;
}
.content-wrapper > ul > li img {
  height: 39px;
  margin-bottom: 9px;
}
@media (max-width: 900px) {
  .content-wrapper > ul {
    flex-direction: column;
    gap: 20px;
  }
  .content-wrapper > ul > li {
    max-width: 100%;
  }
}

/*=========================================================
  SPECIAL ELEMENTS: PROMO & SERVICE LISTS
=========================================================*/
.promo-list, .service-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.promo-item, .service-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 7px 0 rgba(43,61,79,0.08);
  padding: 18px 22px 14px 22px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.22s, transform 0.20s;
}
.promo-item:hover, .promo-item:focus-within, .service-item:hover, .service-item:focus-within {
  box-shadow: 0 4px 24px 0 rgba(43,61,79,0.14);
  transform: translateY(-2px) scale(1.015);
}
.promo-item h3, .service-item h2 {
  color: #b1845f;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 9px;
  margin-top: 0;
}
.promo-item span, .service-item strong {
  color: #2b3d4f;
  font-size: 1rem;
}
@media (max-width: 900px) {
  .promo-list, .service-list {
    flex-direction: column;
    gap: 16px;
  }
  .promo-item, .service-item {
    max-width: 100%;
  }
}

/*=========================================================
  FORM, MODALS, AND BUTTONS
=========================================================*/
input, textarea, select, button {
  font-family: inherit;
  font-size: 1em;
  outline: none;
  border: 1.5px solid #b1845f;
  border-radius: 8px;
  padding: 9px 13px;
  transition: border 0.2s, box-shadow 0.2s;
  background: #fff;
  color: #2b3d4f;
  margin-bottom: 18px;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #2b3d4f;
  box-shadow: 0 2px 8px 0 rgba(43,61,79,0.14);
}
label {
  display: block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 7px;
  color: #2b3d4f;
}

button, .btn-primary, .btn-secondary {
  cursor: pointer;
}

/*=========================================================
  COOKIE CONSENT BANNER + MODAL
=========================================================*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 2200;
  background: linear-gradient(90deg, #fff 85%, #b1845f 100%);
  color: #2b3d4f;
  box-shadow: 0 -3px 32px 0 rgba(43,61,79,.13);
  padding: 30px 22px 24px 22px;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  min-height: 60px;
  font-size: 0.96rem;
  animation: fadeInBanner 0.48s cubic-bezier(.62,.04,.45,1.03);
}
@keyframes fadeInBanner {
  0% { opacity: 0; transform: translateY(60px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button,
.cookie-banner .btn-primary,
.cookie-banner .btn-secondary {
  padding: 9px 18px;
  border-radius: 20px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  box-shadow: 0 1.5px 7px rgba(43,61,79,0.08);
  transition: background 0.20s, color 0.20s, border 0.18s;
  margin: 0;
}
.cookie-banner .btn-primary {
  background: #b1845f;
  color: #fff;
}
.cookie-banner .btn-secondary {
  background: #fff;
  color: #b1845f;
  border: 2px solid #b1845f;
}
.cookie-banner .btn-primary:hover,
.cookie-banner .btn-primary:focus {
  background: #2b3d4f;
  color: #fff;
}
.cookie-banner .btn-secondary:hover,
.cookie-banner .btn-secondary:focus {
  background: #b1845f;
  color: #fff;
}
@media (max-width: 680px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 10px 16px 10px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-buttons {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 2230;
  background: rgba(43,61,79,0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.28s cubic-bezier(.52,.10,.49,1.03);
}
@keyframes fadeInCookieModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  min-width: 320px;
  max-width: 92vw;
  padding: 38px 32px 30px 32px;
  box-shadow: 0 8px 40px 2px rgba(43,61,79,0.20);
  display: flex;
  flex-direction: column;
  gap: 27px;
  position: relative;
  z-index: 2250;
}
.cookie-modal h2 {
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 4px;
}
.cookie-modal .modal-close {
  position: absolute;
  background: none;
  border: none;
  color: #2b3d4f;
  top: 15px;
  right: 17px;
  font-size: 1.7rem;
  cursor: pointer;
  z-index: 5;
  transition: color 0.14s;
}
.cookie-modal .modal-close:focus, .cookie-modal .modal-close:hover {
  color: #b1845f;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-toggle input[type='checkbox'] {
  accent-color: #b1845f;
  width: 24px;
  height: 24px;
  margin-right: 0;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 18px;
}
@media (max-width: 560px) {
  .cookie-modal {
    padding: 18px 10px 16px 10px;
    min-width: 0;
  }
  .cookie-modal-actions {
    flex-direction: column;
    gap: 11px;
  }
}

/*=========================================================
  RESPONSIVE ADJUSTMENTS / MOBILE-FIRST
=========================================================*/
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.15rem; }
  header .container {
    min-height: 56px;
  }
  .btn-primary, .btn-secondary {
    font-size: 0.97rem;
    padding: 10px 18px;
  }
  .card, .feature-item, .promo-item, .service-item {
    padding: 15px 10px;
  }
  main section .container,
  .section .container {
    padding: 0 5px;
  }
  footer {
    padding-top: 24px;
  }
}

/*=========================================================
  ANIMATION & MICRO-INTERACTION STYLES
=========================================================*/
.card, .feature-item, .promo-item, .service-item {
  transition: box-shadow 0.22s cubic-bezier(.48,.15,.22,1.07), transform 0.22s cubic-bezier(.37,.64,.19,.78);
}
.btn-primary, .btn-secondary, button {
  transition: background 0.22s, color 0.15s, border 0.20s, box-shadow 0.17s;
}

/* Focus accessibility */
a:focus, button:focus, input:focus {
  outline: 2px solid #b1845f;
  outline-offset: 2px;
}

/*=========================================================
  PRINT OPTIMIZATION
=========================================================*/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  body {
    background: #fff !important;
  }
}
