/* RESET & BASE ---------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F6F3ED;
  color: #36414B;
  font-weight: 400;
  line-height: 1.75;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  padding-left: 1.5em;
  margin: 12px 0;
}
li {
  margin-bottom: 6px;
}
a {
  color: #36414B;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
}
a:focus, a:hover {
  color: #9A7B4F;
  text-decoration: underline;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Merriweather', 'Times New Roman', serif;
  color: #36414B;
  margin-bottom: 12px;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.32rem;
  margin-bottom: 12px;
  font-weight: 600;
}
.subheadline {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #6C737A;
  font-size: 1.15rem;
  margin-bottom: 18px;
  font-weight: 400;
}

strong, b {
  font-weight: 600;
  color: #36414B;
}

blockquote {
  border-left: 4px solid #D1BFA3;
  background: #FAF8F4;
  margin: 12px 0 16px 0;
  padding: 10px 18px;
  font-style: italic;
  color: #6C737A;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: stretch;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(54,65,75,0.05);
}

/* ----- HEADER & NAV ----- */
header {
  background: #fff;
  box-shadow: 0 1px 16px rgba(54,65,75,0.04);
  position: sticky;
  top: 0;
  z-index: 1004;
}
header nav {
  max-width: 1200px;
  margin: 0 auto;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 24px;
}
header nav img {
  height: 46px;
}
header nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  align-items: center;
  flex-wrap: wrap;
}
header nav ul li {
  margin: 0;
}
header nav ul li a {
  font-size: 1rem;
  color: #36414B;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 7px;
  transition: background 0.15s, color 0.2s;
}
header nav ul li a:hover, 
header nav ul li a:focus {
  background: #F6F3ED;
  color: #9A7B4F;
}

.cta-button {
  background: #36414B;
  color: #fff !important;
  border-radius: 7px;
  padding: 11px 30px;
  font-size: 1.05rem;
  font-family: "Merriweather", serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(54,65,75,0.07);
  transition: background 0.21s, color 0.21s, box-shadow 0.2s;
  display: inline-block;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: #D1BFA3;
  color: #36414B !important;
  box-shadow: 0 4px 18px rgba(54,65,75,0.10);
  text-decoration: none;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #36414B;
  font-size: 2.2rem;
  padding: 7px 16px;
  margin-left: 0;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.15s;
  z-index: 1500;
}

.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F6F3ED;
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 2002;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.8,0.1,0.2,1.1);
  box-shadow: 4px 0 24px 0 rgba(54,65,75,0.10);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #36414B;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 18px 26px 18px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #D1BFA3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 0 38px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #36414B;
  font-weight: 500;
  padding: 11px 0;
  border-bottom: 1px solid #F6F3ED;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6F3ED;
  color: #9A7B4F;
}

@media (max-width: 992px) {
  header nav ul {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
  header nav {
    padding: 0 12px;
    gap: 8px;
  }
}

/* ---- HERO SECTION ---- */
.hero {
  background: #F6F3ED url('../assets/hero-bg.jpg') center/cover no-repeat;
  padding: 48px 0 36px 0;
  margin-bottom: 0;
}
.hero .container {
  align-items: flex-start;
}
.hero .content-wrapper {
  max-width: 620px;
  margin: 0 auto;
  align-items: flex-start;
  gap: 14px;
  padding: 0 8px;
}
.hero h1 {
  color: #36414B;
  font-size: 2.6rem;
  font-weight: 700;
}
.hero .subheadline {
  color: #6C737A;
  font-size: 1.2rem;
  margin-bottom: 28px;
}

/* ---- FLEX PATTERNS & GRIDS ---- */
.features-grid, .testimonials .testimonial-list, .case-studies, .project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 20px;
}
.features-grid {
  gap: 24px;
}
.feature-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(54,65,75,0.05);
  padding: 22px 18px;
  margin-bottom: 20px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 340px;
  transition: box-shadow 0.2s, transform 0.18s;
  gap: 15px;
}
.feature-block img {
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  opacity: 0.95;
}
.feature-block h3 {
  font-size: 1.13rem;
  color: #36414B;
}
.feature-block p {
  font-size: 1rem;
  color: #545C64;
}
.feature-block:hover, .feature-block:focus {
  box-shadow: 0 6px 24px rgba(54,65,75,0.13);
  transform: translateY(-2px) scale(1.02);
}

.step-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.step-list li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(54,65,75,0.06);
  padding: 22px 18px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  min-width: 210px;
  max-width: 340px;
}
.step-list li img {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
}
.step-list li h3 {
  font-size: 1.12rem;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(54,65,75,0.05);
  position: relative;
  flex: 1 1 320px;
  min-width: 270px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.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;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  background: none;
}

.testimonials .testimonial-list {
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  padding: 20px 28px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px rgba(54,65,75,0.09);
  flex: 1 1 300px;
  min-width: 230px;
  max-width: 370px;
  border-left: 5px solid #D1BFA3;
  transition: box-shadow 0.22s, border 0.19s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 28px rgba(54,65,75,0.17);
  border-left: 5px solid #36414B;
}
.testimonial-card p {
  font-size: 1.09rem;
  color: #36414B;
  line-height: 1.6;
}
.testimonial-card strong {
  font-size: 1.01rem;
  color: #6C737A;
  font-weight: 600;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.case-studies {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.project-list .text-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(54,65,75,0.05);
  padding: 22px 18px;
  margin-bottom: 20px;
  flex: 1 1 320px;
  min-width: 240px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ---- CTA SECTIONS ---- */
.cta {
  background: #D1BFA3;
  color: #36414B;
  border-radius: 24px;
  box-shadow: 0 4px 22px rgba(145,121,80,0.08);
  padding: 36px 20px;
  margin-bottom: 60px;
}
.cta h2 {
  color: #36414B;
  margin-bottom: 14px;
}
.cta .cta-button {
  background: #36414B;
  color: #fff;
  margin-top: 22px;
}
.cta .cta-button:hover, .cta .cta-button:focus {
  background: #fff;
  color: #36414B;
}

/* ---- FOOTER ---- */
footer {
  background: #fff;
  border-top: 1px solid #ECE7DE;
  padding: 32px 0 18px 0;
  margin-top: 60px;
}
footer nav {
  display: flex;
  gap: 28px;
  justify-content: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
footer nav a {
  font-size: 0.97rem;
  color: #78828A;
  text-decoration: none;
  transition: color 0.12s;
  padding: 4px 9px;
  border-radius: 6px;
}
footer nav a:hover, footer nav a:focus {
  background: #F6F3ED;
  color: #36414B;
}
footer address {
  font-style: normal;
  font-size: 0.98rem;
  color: #6B7177;
  text-align: center;
  margin-bottom: 6px;
}
footer address a {
  color: #36414B;
  text-decoration: underline;
}
footer p {
  text-align: center;
  font-size: 0.88rem;
  color: #CAC8BE;
}

/* ---- COOKIE BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #36414B;
  box-shadow: 0 -2px 22px 0 rgba(54,65,75,0.11);
  border-top: 1px solid #ECE7DE;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 32px 20px 24px;
  flex-wrap: wrap;
  transition: transform 0.4s cubic-bezier(0.8,0.1,0.2,1.1);
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner__message {
  font-size: 1rem;
  color: #36414B;
  max-width: 600px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.cookie-btn {
  background: #D1BFA3;
  color: #36414B;
  border: none;
  border-radius: 5px;
  padding: 10px 18px;
  font-size: 0.97rem;
  cursor: pointer;
  margin-right: 3px;
  margin-bottom: 0;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(54,65,75,0.03);
  transition: background 0.19s, color 0.19s, box-shadow 0.16s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #36414B;
  color: #fff;
}
.cookie-btn-settings {
  background: transparent;
  border: 1.7px solid #36414B;
  color: #36414B;
  margin-left: 0;
  margin-right: 3px;
  transition: background 0.14s, color 0.14s;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #D1BFA3;
  color: #36414B;
}

.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 3201;
  background: rgba(54,65,75,0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.32s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal__window {
  min-width: 340px;
  max-width: 95vw;
  background: #fff;
  padding: 32px 24px 24px 24px;
  border-radius: 20px;
  box-shadow: 0 8px 38px -2px rgba(54,65,75,0.16);
  color: #36414B;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal__close {
  position: absolute;
  top: 12px;
  right: 15px;
  background: transparent;
  border: none;
  color: #36414B;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #D1BFA3;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 2px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #F6F3ED;
  border-radius: 7px;
  padding: 10px 12px;
  gap: 20px;
  min-width: 220px;
}
.cookie-category label {
  font-size: 1rem;
  flex:1;
  color: #36414B;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  accent-color: #D1BFA3;
  width: 22px;
  height: 22px;
}
.cookie-category .cookie-essential {
  color: #D1BFA3;
  font-size: 1rem;
  font-style: italic;
}

/* ---- FORMS ---- */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F6F3ED;
  color: #36414B;
  border: 1.5px solid #D1BFA3;
  border-radius: 7px;
  padding: 12px;
  font-size: 1rem;
  margin-bottom: 16px;
  width: 100%;
  outline: none;
  transition: border 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #36414B;
}

/* ---- ICON IN LISTS ---- */
.text-section ul li img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 7px;
}

/* ---- FORM & BUTTON ANIMATION ---- */
button, .cta-button, .cookie-btn, .cookie-btn-settings {
  transition: background 0.18s, color 0.17s, box-shadow 0.18s;
}

/* ---- TRANSITIONS ---- */
.section, .card, .feature-block, .testimonial-card, .cookie-modal__window, .cta {
  transition: box-shadow 0.18s, border 0.14s, transform 0.17s;
}

/* ---- RESPONSIVENESS ---- */
@media (max-width: 1200px) {
  .container {
    padding: 0 10px;
  }
}
@media (max-width: 990px) {
  .features-grid, .testimonials .testimonial-list, .case-studies, .project-list {
    gap: 14px;
  }
  .card, .feature-block, .step-list li, .testimonial-card {
    min-width: 180px;
    max-width: 99vw;
    padding: 16px 10px;
  }
  .section {
    padding: 24px 6px;
    margin-bottom: 37px;
  }
  .cta {
    padding: 24px 6px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 3vw;
    max-width: 100vw;
  }
  .section,
  .cta {
    padding: 16px 2vw;
    margin-bottom: 28px;
  }
  .hero {
    padding: 32px 0 20px 0;
    background-size: cover;
  }
  .hero .content-wrapper {
    padding: 0 1px;
  }
  .content-wrapper {
    gap: 13px;
  }
  .features-grid, .testimonials .testimonial-list, .case-studies, .project-list, .step-list {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .feature-block, .card, .testimonial-card, .step-list li, .project-list .text-section {
    min-width: unset;
    max-width: unset;
    width: 100%;
  }
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .faq-list {
    gap: 8px;
  }
  .cta {
    border-radius: 10px;
    padding: 12px 3vw;
  }
  header nav img {
    height: 38px;
  }
  footer nav {
    gap: 10px;
    font-size: 0.97rem;
    margin-bottom: 9px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 12px 10px 12px 10px;
    align-items: flex-start;
  }
}

@media (max-width: 500px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .section,
  .cta {
    padding: 11px 1vw;
    margin-bottom: 16px;
  }
  .hero {
    padding: 17px 0 10px 0;
  }
  .cookie-modal__window {
    padding: 15vw 6vw 8vw 6vw;
    min-width: 0;
    max-width: 98vw;
  }
}

/* ---- MICRO-INTERACTIONS & FOCUS STATES ---- */
button:focus, .cta-button:focus, .cookie-btn:focus,
input:focus, textarea:focus, select:focus {
  outline: 2px solid #D1BFA3;
  outline-offset: 1px;
}
.cta-button:active, .cookie-btn:active {
  transform: scale(0.98);
}

/* ---- SCROLLBAR FOR SCANDINAVIAN CLEAN ---- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: #ece7de;
  border-radius: 7px;
}
::-webkit-scrollbar-track {
  background: #faf8f4;
}

/* ----------- END --------- */
