/* ===============================
   DigitAutod Nábytek | style.css
   'warm_friendly' brand UI CSS
=============================== */

/* ====== 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, main, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  background: #F5F5F2;
  color: #2d3634;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
  font-size: 1rem;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
a {
  color: #36504C;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
}
a:focus,
a:active {
  outline: 2px solid #BE9B7B;
  outline-offset: 2px;
}
a:hover {
  color: #BE9B7B;
}
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Typography hierarchy */
h1, h2, h3 {
  color: #36504C;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #684C2D;
  font-weight: 600;
}
p, li, blockquote {
  font-size: 1rem;
  color: #422a18;
  margin-bottom: 10px;
  font-family: 'Open Sans', Arial, sans-serif;
}
blockquote {
  font-style: italic;
  background: #fff9f3;
  border-left: 4px solid #BE9B7B;
  padding: 10px 22px;
  border-radius: 12px;
  color: #684C2D;
  margin-bottom: 5px;
}
strong {
  color: #36504C;
  font-weight: bold;
}

/* Containers & Layout Patterns */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(190, 155, 123, 0.11), 0 1.5px 4px rgba(54, 80, 76, 0.08);
  padding: 28px 22px;
  transition: transform 0.15s, box-shadow 0.2s;
  min-width: 230px;
  flex: 1 1 260px;
}
.card:hover {
  transform: translateY(-3px) scale(1.012);
  box-shadow: 0 4px 18px rgba(190, 155, 123, 0.18), 0 2px 6px rgba(54,80,76,0.12);
  z-index: 3;
}

.content-grid, .feature-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;
  border-radius: 18px;
  box-shadow: 0 1px 7px rgba(54, 80, 76, 0.09);
  margin-bottom: 20px;
  flex-direction: column;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Responsive flex direction */
@media (max-width: 900px) {
  .content-grid, .feature-grid {
    flex-direction: column;
    gap: 26px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .section {
    margin-bottom: 45px;
    padding: 32px 6px;
  }
  .content-grid, .feature-grid, .card-container {
    flex-direction: column;
    gap: 22px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* ====== Header & NAVIGATION ====== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(54, 80, 76, 0.045);
  position: sticky;
  top: 0;
  z-index: 60;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 18px 18px;
  gap: 18px;
}
header img {
  height: 46px;
  border-radius: 12px;
  margin-right: 15px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #36504C;
  border-radius: 8px;
  padding: 6px 14px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #BE9B7B;
  color: #fff;
}
header .btn-primary {
  margin-left: 12px;
}

/* Hamburger Menu BUTTON */
.mobile-menu-toggle {
  display: none;
  background: #BE9B7B;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  padding: 6px 12px 8px 12px;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.17s, color 0.14s;
  align-self: center;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #36504C;
  background: #a8866a;
}
@media (max-width: 1020px) {
  .mobile-menu-toggle {
    display: block;
  }
  header nav, header .btn-primary {
    display: none !important;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(54, 80, 76, 0.92);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(0.9,0.03,0.33,1.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2.1rem;
  align-self: flex-end;
  margin: 18px 28px 8px 0;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #BE9B7B;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 12px 36px;
  gap: 18px;
  width: 100vw;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  background: none;
  padding: 13px 0 13px 0;
  border-radius: 10px;
  text-align: left;
  transition: background 0.17s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #BE9B7B;
  color: #fffde0;
  outline: none;
}

@media (min-width:1021px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: #BE9B7B;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  border: none;
  border-radius: 18px;
  padding: 13px 27px;
  margin-top: 6px;
  box-shadow: 0 2px 7px rgba(190,155,123,0.13);
  cursor: pointer;
  transition: background 0.16s, transform 0.13s, box-shadow 0.19s;
  outline: none;
  display: inline-block;
  text-align: center;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #a8866a;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 18px rgba(190, 155, 123, 0.24);
  outline: none;
}
.btn-secondary {
  background: #fff;
  color: #36504C;
  border: 2px solid #BE9B7B;
  border-radius: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 22px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.16s, border 0.15s, color 0.15s;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #F5F5F2;
  border-color: #a8866a;
  color: #a8866a;
}
@media (max-width: 600px) {
  .btn-primary, .btn-secondary {
    width: 100%;
    padding: 12px 0;
  }
}

/* ===== SECTION CONTENT STYLES ===== */
section {
  background: transparent;
}
section:nth-child(2n) {
  background: #fffefc;
}
.price {
  background: #fff3e4;
  color: #684C2D;
  padding: 2.5px 13px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.97em;
  margin-left: 5px;
  margin-top: 2px;
  display: inline-block;
}

ul li, ol li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 0px;
  font-size: 1rem;
  color: #433025;
}

ul li img {
  width: 28px;
  height: 28px;
  margin-right: 10px;
  vertical-align: middle;
  background: #faf5ed;
  border-radius: 50%;
  box-shadow: 0 1px 5px rgba(190,155,123,0.07);
  padding: 3px;
}
.feature-grid > div,
.feature-grid > li {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1.5px 8px rgba(190,155,123,0.10), 0 1px 3px rgba(54,80,76,0.05);
  padding: 26px 19px 19px 19px;
  flex: 1 1 260px;
  text-align: center;
  min-width: 230px;
  transition: box-shadow 0.17s, transform 0.13s;
}
.feature-grid > div:hover,
.feature-grid > li:hover {
  box-shadow: 0 6px 22px rgba(190,155,123,0.22), 0 3px 8px rgba(54,80,76,0.10);
  transform: translateY(-3px) scale(1.018);
}

@media (max-width: 600px) {
  .feature-grid > div,
  .feature-grid > li,
  .card {
    padding: 16px 8px 12px 8px;
    min-width: 90%;
  }
}

/* ===== TESTIMONIALS ===== */
.testimonial-card blockquote {
  border-left: 4px solid #BE9B7B;
  background: #fff8f0;
  color: #3A2820;
  font-size: 1.02em;
  line-height: 1.5;
  font-style: italic;
}
.testimonial-card p {
  font-size: 1em;
  color: #36504C;
  margin-top: 4px;
}

/* ===== FOOTER ===== */
footer {
  background: #36504C;
  color: #fff;
  padding: 36px 0 20px 0;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
footer nav a {
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.97rem;
  opacity: 0.88;
  transition: color 0.16s, opacity 0.11s;
}
footer nav a:hover {
  color: #BE9B7B;
  opacity: 1.0;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.footer-branding img {
  height: 34px;
  border-radius: 999px;
  background: #fff;
  padding: 3px;
}
.footer-branding span {
  font-size: 0.97rem;
  color: #fff;
  opacity: 0.74;
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-branding {
    margin-top: 0;
  }
  footer nav {
    flex-direction: column;
    gap: 12px;
  }
}

/* ===== COOKIE CONSENT ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: #fff;
  color: #222;
  box-shadow: 0 -3px 19px rgba(190,155,123,0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding: 19px 12px 24px 12px;
  font-size: 1rem;
  border-radius: 16px 16px 0 0;
  transition: transform 0.35s cubic-bezier(0.7,0.3,0.5,1.22), opacity 0.29s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.cookie-banner .btn-primary,
.cookie-banner .btn-secondary {
  font-size: 0.97rem;
  padding: 9px 18px;
  border-radius: 12px;
  min-width: 100px;
}
.cookie-banner .btn-secondary {
  color: #36504C;
  border: 1.5px solid #BE9B7B;
  background: #fff;
  font-weight: 500;
}
.cookie-banner .btn-secondary:hover,
.cookie-banner .btn-secondary:focus {
  color: #fff;
  background: #BE9B7B;
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2010;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(54,80,76,0.69);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #222;
  border-radius: 16px;
  box-shadow: 0 5px 26px rgba(190,155,123,0.23);
  padding: 36px 28px 22px 28px;
  max-width: 345px;
  width: 97vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeInModal 0.34s both;
}
.cookie-modal .modal-close {
  background: transparent;
  color: #36504C;
  border: none;
  font-size: 1.7rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: -20px;
  margin-top: -9px;
  transition: color 0.16s;
}
.cookie-modal .modal-close:hover {
  color: #BE9B7B;
}
.cookie-modal h2 {
  margin-top: 0;
  font-size: 1.24rem;
  color: #36504C;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  background: #eee;
  border-radius: 12px;
  position: relative;
  border: 1.5px solid #BE9B7B;
  cursor: pointer;
  transition: background 0.16s, border 0.15s;
}
.cookie-toggle[data-checked="true"] {
  background: #BE9B7B;
}
.cookie-toggle .toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  height: 16px;
  width: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.15s;
  box-shadow: 0 1px 2px rgba(54,80,76,0.08);
}
.cookie-toggle[data-checked="true"] .toggle-knob {
  left: 20px;
}
.cookie-category label {
  color: #36504C;
  font-size: 0.99rem;
  font-weight: 500;
  cursor: pointer;
}
.cookie-category .category-desc {
  color: #847460;
  font-size: 0.97rem;
  margin-left: 8px;
}
.cookie-modal .btn-primary,
.cookie-modal .btn-secondary {
  font-size: 0.96rem;
  border-radius: 11px;
  padding: 9px 20px;
}

/* Modal animation */
@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(32px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 600px) {
  .cookie-modal {
    padding: 23px 7px 15px 7px;
    max-width: 97vw;
  }
}

/* ===== GENERAL EFFECTS ===== */
::-webkit-scrollbar {
  width: 10px;
  background: #F5F5F2;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: #e5dacb;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #cdb79e;
}

/* ===== FORM ELEMENTS ===== */
input, textarea, select, button {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.03rem;
}
input, textarea, select {
  border: 1.5px solid #BE9B7B;
  border-radius: 13px;
  padding: 9px 13px;
  background: #fffefc;
  color: #374B49;
  transition: border 0.12s;
  margin-bottom: 12px;
  box-shadow: 0 1.5px 5px rgba(190,155,123,0.09);
}
input:focus, textarea:focus, select:focus {
  border: 2.2px solid #BE9B7B;
  outline: none;
  background: #fff9f3;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #36504C;
  font-size: 1.07rem;
  margin-bottom: 7px;
}

/* ===== Helper classes ===== */
.mt-0 {margin-top:0!important;} .mb-0{margin-bottom:0!important;}
.mt-1{margin-top:7px!important;} .mb-1{margin-bottom:7px!important;}
.mt-2{margin-top:14px!important;} .mb-2{margin-bottom:14px!important;}
.mt-3{margin-top:22px!important;} .mb-3{margin-bottom:22px!important;}

/* ===== Animations, Microinteractions ===== */
.btn-primary, .btn-secondary, .feature-grid > div, .card {
  transition: background 0.18s, color 0.13s, box-shadow 0.16s, transform 0.13s;
}

/* ===== CUSTOM FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Open+Sans:wght@400;600&display=swap');

/* ===== MEDIA QUERIES: RESPONSIVE ===== */
@media (max-width: 500px) {
  html { font-size:15px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.22rem; }
  .container { padding: 0 2vw; }
}

/* REMOVE forbidden properties for columns/grid - all layouts via flexbox */
/* No display:grid, no grid-gap, no columns used throughout this stylesheet */