/* RESET & BASE STYLES - Scandinavian Clean, Mobile-first */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F5F2ED;
  color: #392004;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #7B3F00;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B5671E;
  outline: none;
}
ul {
  list-style: disc inside;
  margin: 16px 0 16px 20px;
}
li {
  margin-bottom: 8px;
}
main {
  min-height: 50vh;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Bree Serif', Cambria, serif;
  color: #7B3F00;
  font-weight: 400;
  line-height: 1.2;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  letter-spacing: -0.6px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 18px;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 1.19rem;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.tagline {
  color: #7B3F00;
  font-size: 1.06rem;
  margin-bottom: 22px;
  font-family: 'Roboto', Arial, sans-serif;
}
strong {
  font-weight: 700;
}

/* CONTAINER SYSTEM */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (min-width: 900px) {
  .section {
    padding: 60px 0;
  }
  .content-wrapper {
    padding: 0 40px;
  }
}

/* HEADER */
header {
  background: #fff;
  border-bottom: 1px solid #f1e5db;
  padding: 0;
}
header .content-wrapper {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}
header img {
  height: 48px;
}
.main-nav {
  display: none;
}
header .cta-button {
  margin-left: auto;
}

/* BURGER MENU & NAVIGATION */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  background: transparent;
  border: none;
  color: #7B3F00;
  cursor: pointer;
  margin-right: 10px;
  z-index: 105;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  transition: background 0.1s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FFD7B5;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  transform: translateX(-105%);
  transition: transform 0.33s cubic-bezier(0.51,1.02,0.31,1), box-shadow 0.18s;
  z-index: 1000;
  padding: 0 0 56px 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 24px 0 rgba(123,63,0,0.06);
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 0 32px 5px rgba(123,63,0,0.09);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #FFD7B5;
  color: #7B3F00;
  border: none;
  font-size: 2.1rem;
  margin: 24px 18px 10px 0;
  padding: 2px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFF8F3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 32px 32px 32px;
  margin-top: 18px;
}
.mobile-nav a {
  font-family: 'Bree Serif', Cambria, serif;
  color: #7B3F00;
  font-size: 1.2rem;
  text-decoration: none;
  padding: 13px 6px;
  border-radius: 6px;
  width: 100%;
  transition: background 0.13s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD7B5;
}
@media (min-width: 960px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
  .main-nav {
    display: flex;
    gap: 22px;
    margin-left: 12px;
  }
  .main-nav a {
    font-family: 'Bree Serif', Cambria, serif;
    color: #7B3F00;
    font-size: 1.04rem;
    padding: 6px 12px;
    border-radius: 5px;
    transition: background 0.15s, color 0.16s;
  }
  .main-nav a:hover, .main-nav a:focus {
    background: #FFD7B5;
    color: #392004;
  }
}

/* MAIN BUTTONS + CTA */
.cta-button {
  background: #7B3F00;
  color: #fff;
  font-family: 'Bree Serif', Cambria, serif;
  font-size: 1.04rem;
  padding: 12px 34px;
  border: none;
  border-radius: 99px;
  cursor: pointer;
  transition: box-shadow 0.18s, background 0.18s, transform 0.11s;
  box-shadow: 0 2px 8px 0 rgba(123,63,0,0.11);
  display: inline-block;
  margin: 24px 0 0 0;
}
.cta-button:hover, .cta-button:focus {
  background: #B5671E;
  color: #fff;
  box-shadow: 0 6px 24px 0 rgba(123,63,0,0.16);
  transform: translateY(-1px) scale(1.034);
}

/* FLEX CONTAINER UTILS (Required) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 13px 0 rgba(123,63,0,0.03);
  padding: 26px 20px;
  min-width: 240px;
  flex: 1 1 300px;
  transition: box-shadow 0.16s, transform 0.13s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(123,63,0,0.09);
  transform: translateY(-2px) scale(1.017);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.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: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(123,63,0,0.07);
  font-size: 0.98rem;
  position: relative;
  border-left: 5px solid #FFD7B5;
  color: #392004;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURE GRID for offers */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 6px 0 0 0;
}
.feature-grid > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(123,63,0,0.07);
  padding: 24px 20px 18px 20px;
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 0;
  position: relative;
  transition: box-shadow 0.15s, transform 0.13s;
}
.feature-grid > div img {
  height: 48px;
  margin-bottom: 10px;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 32px 0 rgba(123,63,0,0.08);
  transform: translateY(-2px) scale(1.017);
}

/* TEXT SECTION */
.text-section {
  margin-bottom: 18px;
}

/* SOCIAL LINKS */
.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 14px 0 20px 0;
}
.social-links a {
  background: #FFD7B5;
  border-radius: 50%;
  padding: 10px;
  display: flex;
  align-items: center;
  transition: box-shadow 0.13s, background 0.12s;
}
.social-links a:hover, .social-links a:focus {
  background: #FFF8F3;
  box-shadow: 0 4px 18px 0 rgba(123,63,0,0.09);
}
.social-links img {
  height: 28px;
  width: 28px;
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 1px solid #f1e5db;
  padding: 32px 0 18px 0;
  margin-top: 30px;
  font-size: 0.97rem;
}
footer .content-wrapper {
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
footer img {
  height: 40px;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 14px 0;
}
.footer-nav a {
  font-family: 'Bree Serif', Cambria, serif;
  color: #7B3F00;
  font-size: 1.01rem;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #FFD7B5;
  color: #392004;
}
footer p {
  color: #392004;
  opacity: 0.7;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid #f1e5db;
  box-shadow: 0 -3px 18px 0 rgba(123,63,0,0.07);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 18px 18px 18px;
  gap: 18px;
  animation: fadeInBottom 0.5s;
}
@keyframes fadeInBottom {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.cookie-banner button {
  font-family: 'Bree Serif', Cambria, serif;
  border: none;
  border-radius: 99px;
  padding: 10px 22px;
  margin: 0;
  font-size: 1rem;
  cursor: pointer;
  transition: box-shadow 0.14s, background 0.14s;
}
.cookie-banner .cookie-accept {
  background: #7B3F00;
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(123,63,0,0.04);
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #B5671E;
}
.cookie-banner .cookie-reject {
  background: #FFD7B5;
  color: #7B3F00;
  box-shadow: 0 2px 8px 0 rgba(255,215,181,0.16);
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #FFF8F3;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: #7B3F00;
  border: 1px solid #FFD7B5;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #FFD7B5;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(123,63,0,0.11);
  z-index: 4000;
  transition: opacity 0.18s;
}
.cookie-modal {
  position: fixed;
  left: 50%; top: 54%;
  transform: translate(-50%, -50%) scale(1);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 38px 0 rgba(123,63,0,0.13);
  width: 96vw;
  max-width: 420px;
  padding: 36px 26px 26px 26px;
  z-index: 4050;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInPop 0.36s;
}
@keyframes fadeInPop {
  from { opacity: 0; transform: translate(-50%,8%) scale(0.98); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal h3 {
  font-size: 1.18rem;
  color: #7B3F00;
  margin-bottom: 2px;
}
.cookie-modal .cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: #7B3F00;
  width: 19px;
  height: 19px;
}
.cookie-modal .category-essential {
  color: #aaa;
  font-style: italic;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal button {
  font-family: 'Bree Serif', Cambria, serif;
  border: none;
  border-radius: 99px;
  padding: 9px 22px;
  margin: 0;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(123,63,0,0.04);
  transition: box-shadow 0.13s, background 0.13s;
}
.cookie-modal .modal-save {
  background: #7B3F00;
  color: #fff;
}
.cookie-modal .modal-save:hover, .cookie-modal .modal-save:focus {
  background: #B5671E;
}
.cookie-modal .modal-cancel {
  background: #FFD7B5;
  color: #7B3F00;
}
.cookie-modal .modal-cancel:hover, .cookie-modal .modal-cancel:focus {
  background: #FFF8F3;
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
  h1 { font-size: 1.67rem; }
  h2 { font-size: 1.31rem; }
}
@media (max-width: 768px) {
  .content-wrapper, .container {
    padding: 0 8px;
  }
  .section {
    padding: 29px 5px;
    margin-bottom: 34px;
  }
  .content-grid, .card-container, .feature-grid, .footer-nav {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .card {
    padding: 18px 10px;
    min-width: 0;
    max-width: 100%;
  }
  .feature-grid > div {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    font-size: 0.97rem;
    flex-direction: column;
    gap: 12px;
    padding: 16px 10px;
  }
  .footer-nav {
    justify-content: center;
    gap: 11px;
    padding: 0;
  }
}

/* HEADER - MOBILE LOGO */
@media (max-width: 600px) {
  header img {
    height: 36px;
  }
}

/* INTERACTIVE ELEMENTS & MICRO-INTERACTIONS */
.card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.16s, transform 0.12s;
}
.card:focus-within, .feature-grid > div:focus-within, .testimonial-card:focus-within {
  outline: 2px solid #FFD7B5;
  outline-offset: 2px;
}

.cta-button:disabled, button:disabled {
  background: #d2c9c4 !important;
  color: #fff !important;
  cursor: not-allowed;
}

/* BLOCKQUOTE OPINIE - TESTIMONIALS */
.testimonial-card blockquote {
  color: #392004;
  font-style: italic;
  font-size: 1.05em;
  quotes: "\201E" "\201D" "\201A" "\2019";
}
.testimonial-card blockquote:before {
  content: open-quote;
  color: #FFD7B5;
  font-size: 2em;
  line-height: 0;
  position: relative;
  top: 10px;
  left: -6px;
  font-family: 'Bree Serif', Cambria, serif;
}

/* SPECIAL UTILS */
.contact-details {
  color: #7B3F00;
  background: #FFD7B5;
  margin: 12px 0 14px 0;
  border-radius: 12px;
  padding: 16px 14px;
  font-size: 1rem;
}

/* FORM DECOR - (if forms introduced in future) */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #FFD7B5;
  border-radius: 7px;
  padding: 9px 13px;
  background: #f9f6f2;
  color: #392004;
  margin-bottom: 16px;
  width: 100%;
  transition: border 0.11s;
}
input:focus, textarea:focus, select:focus {
  border-color: #7B3F00;
  outline: none;
}

/* ACCESSIBILITY */
:focus-visible {
  outline: 2px solid #FFD7B5;
  outline-offset: 1px;
}

/* HIDE visually only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* OVERRIDES (prohibit overlapping and enforce minimal spacing) */
section + section, .container + .container, .content-wrapper + .content-wrapper {
  margin-top: 20px;
}
.card:not(:last-child) {
  margin-bottom: 20px;
}
.feature-grid > div:not(:last-child) {
  margin-bottom: 20px;
}

/* ANIMATIONS for entrance (optional, can be improved with JS) */
.fadein {
  animation: fadein 0.8s;
}
@keyframes fadein {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* PRINT SUPPORT */
@media print {
  nav, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal, footer { display: none !important; }
  body { background: #fff !important; }
}
