/* ===========================
   CSS RESET & BASELINE STYLES
   =========================== */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  font-size: 16px;
  background: #F1F1ED;
  /* system font fallback */
  font-family: Roboto, Arial, Helvetica, sans-serif;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  color: #19413D;
  background: #F1F1ED;
  font-size: 1rem;
  line-height: 1.7;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #19413D;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #19413D;
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 6px;
}

strong {
  font-weight: 700;
}

/* ==============================
   TYPOGRAPHY - SCANDINAVIAN CLEAN
   ============================== */
h1, h2, h3, h4, h5, h6 {
  color: #19413D;
  font-family: 'Montserrat', Roboto, Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.4rem; font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
h5, h6 { font-size: 1rem; }

p, li {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #273D38;
}
.subheadline {
  font-size: 1.15rem;
  font-weight: 500;
  color: #44665e;
  margin-bottom: 22px;
  font-family: Roboto, Arial, Helvetica, sans-serif;
}

/* Typography scale utility */
.text-xl { font-size: 2rem; }
.text-lg { font-size: 1.5rem; }
.text-md { font-size: 1.15rem; }
.text-sm { font-size: 0.95rem; }

/* =========================
   LAYOUTS & SPACING RULES
   ========================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 600px) {
  .section { padding: 28px 8px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(25,65,61,0.07);
  padding: 32px 24px;
  position: relative;
  flex: 1 1 320px;
  min-width: 270px;
  transition: box-shadow 0.2s;
}
.card:hover, .service-card:hover {
  box-shadow: 0 6px 32px 0 rgba(25,65,61,0.14);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .content-grid { flex-direction: column; gap: 18px; }
}

.text-image-section, .text-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section, .text-section { flex-direction: column; align-items: flex-start; gap: 18px; }
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 2px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(25,65,61,0.11);
  min-width: 260px;
  flex: 1 1 300px;
  margin-bottom: 16px;
  color: #1a2f2d;
}
.testimonial-card p {
  color: #19413D;
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.55;
}
.testimonial-card strong {
  font-weight: 600;
  color: #3C5847;
  font-size: 1rem;
}
.star-rating {
  color: #C3BC7F;
  font-size: 1.35rem;
  margin-top: -6px;
}

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

.features-grid,
.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.features-grid li,
.features-list li {
  background: #fff;
  border-radius: 12px;
  padding: 26px 20px 22px 20px;
  flex: 1 1 245px;
  min-width: 200px;
  box-shadow: 0 1px 8px 0 rgba(120,120,70,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.22s;
}
.features-grid li:hover, .features-list li:hover {
  box-shadow: 0 6px 18px 0 rgba(25,65,61,0.15);
  transform: translateY(-5px) scale(1.02);
}
.features-grid img, .features-list img {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 16px 0 12px 0;
}
.services-list li {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px 14px 20px;
  box-shadow: 0 1px 8px 0 rgba(120,120,70,0.06);
  min-width: 210px;
  flex: 1 1 260px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.services-list li a {
  align-self: flex-start;
}
.service-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 10px rgba(25,65,61,0.08);
  padding: 32px 20px 20px 24px;
  margin-bottom: 20px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 220px;
  transition: box-shadow 0.2s, transform 0.17s;
}
.service-card span {
  color: #C3BC7F;
  font-weight: 600;
  font-size: 1.07rem;
  margin-bottom: 8px;
}
.services-list a, .service-card a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #19413D;
  font-size: 1.05rem;
  margin-top: 8px;
  border-bottom: 2px solid #c3bc7f2c;
  transition: color 0.18s, border-color 0.2s;
}
.services-list a:hover, .service-card a:hover {
  color: #C3BC7F;
  border-color: #19413D44;
}

.cta {
  background: #E6E9DB;
}
.cta .cta-btn {
  margin-top: 18px;
}

.thank-you {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =====================
   BUTTONS & LINK STYLES
   ===================== */
.cta-btn {
  display: inline-block;
  background: #19413D;
  color: #fff;
  font-family: 'Montserrat', Roboto, Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 26px;
  padding: 13px 30px;
  font-size: 1.15rem;
  box-shadow: 0 1px 6px 0 rgba(120,120,70,0.08);
  transition: background 0.23s, box-shadow 0.23s, transform 0.18s;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 8px;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #C3BC7F;
  color: #182e29;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 5px 22px 0 rgba(25,65,61,0.11);
  outline: none;
}

button {
  font-family: inherit;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 22px;
  border: none;
  background: #19413D;
  color: #fff;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.13s;
}
button:hover,
button:focus {
  background: #C3BC7F;
  color: #182e29;
}

/* Text links */
a:hover, .footer-content nav a:hover {
  color: #C3BC7F;
}

/* ====================
   HEADER & NAVIGATION
   ==================== */
header {
  background: #F1F1ED;
  border-bottom: 1px solid #e7e5da;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: relative;
}
nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
}
nav ul li {
  position: relative;
}
nav a {
  font-family: 'Montserrat', Roboto, Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #19413D;
  transition: color 0.2s;
  font-size: 1.03rem;
  padding: 6px 12px;
  border-radius: 6px;
}
nav a.cta-btn {
  margin-left: 12px;
  background: #C3BC7F;
  color: #19413D;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 8px 26px;
  box-shadow: 0 1px 6px 0 rgba(120,120,70,0.05);
  transition: background 0.16s, color 0.17s;
  border: none;
}
nav a.cta-btn:hover, nav a.cta-btn:focus {
  background: #19413D;
  color: #fff;
}

header img {
  width: 135px;
  max-height: 54px;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2.25rem;
  padding: 6px 18px;
  color: #19413D;
  cursor: pointer;
  transition: color 0.18s, transform 0.13s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #19413D;
}
@media (max-width: 970px) {
  nav ul { gap: 18px; }
  header img, footer img { width: 106px; }
}

@media (max-width: 820px) {
  nav ul { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* =======
MOBILE MENU
======= */
.mobile-menu {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #F1F1ED;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  box-shadow: 0 2px 24px 0 rgba(25,65,61,0.13);
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(.77,0,.18,1), opacity 0.22s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: transparent;
  color: #19413D;
  margin: 20px 26px 0 0;
  padding: 4px 10px;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 1100;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #C3BC7F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 90vw;
  margin: 30px auto 0 auto;
  gap: 16px;
}
.mobile-nav a {
  font-family: 'Montserrat', Roboto, Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #19413D;
  font-size: 1.2rem;
  padding: 14px 0 14px 18px;
  border-radius: 8px;
  transition: background 0.14s, color 0.17s;
  background: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #E6E9DB;
  color: #C3BC7F;
}

/* ============
   HERO SECTION
   ============ */
.hero {
  background: #E6E9DB;
  border-radius: 0 0 34px 34px;
  margin-bottom: 46px;
  padding: 64px 0 48px 0;
}
.hero h1 {
  font-size: 2.8rem;
  letter-spacing: -1px;
  line-height: 1.13;
  color: #19413D;
  margin-bottom: 12px;
}
.hero .subheadline {
  color: #3C5847;
  margin-bottom: 30px;
  font-size: 1.17rem;
}
@media (max-width: 600px) {
  .hero { padding: 34px 0 20px 0; margin-bottom: 22px; }
  .hero h1 { font-size: 1.52rem; }
}

/* ==================================
   FOOTER - MODERN SCANDINAVIAN LOOK
   ================================== */
footer {
  background: #fff;
  border-top: 1px solid #e5e3d4;
  margin-top: 60px;
  padding-top: 16px;
  padding-bottom: 20px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
}
.footer-content nav {
  font-size: 1rem;
  color: #3C5847;
  margin-top: 12px;
  margin-bottom: 12px;
}
.footer-content nav a {
  color: #19413D;
  margin-right: 8px;
  font-family: 'Montserrat', Roboto, sans-serif;
  font-weight: 500;
}
.footer-content nav a:hover {
  color: #C3BC7F;
}
.footer-content img {
  width: 90px;
  height: auto;
  border-radius: 0;
}
.small-story {
  font-size: 0.97rem;
  color: #345158;
  max-width: 340px;
  margin-top: 8px;
  opacity: 0.86;
  font-style: italic;
}
@media (max-width: 820px) {
  .footer-content { flex-direction: column; gap: 14px; align-items: flex-start; }
  .footer-content nav { margin-top: 8px; margin-bottom: 8px; }
}

/* ========================
   COOKIES CONSENT BANNER
   ======================== */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #C3BC7F;
  box-shadow: 0 -2px 16px 0 rgba(15,25,14,0.10);
  padding: 22px 18px 18px 18px;
  z-index: 2000;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(48px);
  transition: opacity 0.29s, transform 0.33s cubic-bezier(.37,1.2,.23,1);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
#cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#cookie-banner p {
  font-size: 1.04rem;
  color: #273D38;
  text-align: center;
  max-width: 540px;
  margin-bottom: 4px;
}
#cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
  justify-content: center;
}
#cookie-banner button {
  padding: 9px 22px;
  font-size: 1rem;
  border-radius: 18px;
  font-weight: 500;
  background: #19413D;
  color: #fff;
  border: none;
  cursor: pointer;
  min-width: 120px;
  transition: background 0.16s, color 0.15s;
}
#cookie-banner button.cookie-accept {
  background: #19413D;
}
#cookie-banner button.cookie-reject {
  background: #fff;
  color: #19413D;
  border: 1px solid #C3BC7F;
}
#cookie-banner button.cookie-settings {
  background: #C3BC7F;
  color: #19413D;
}
#cookie-banner button:hover,
#cookie-banner button:focus {
  background: #C3BC7F;
  color: #19413D;
}
/* COOKIE PREFERENCE MODAL */
#cookie-modal {
  position: fixed;
  z-index: 2200;
  left: 50%;
  top: 50%;
  transform: translate(-50%,100px) scale(0.925);
  opacity: 0;
  pointer-events: none;
  background: #FFFFFF;
  width: 92vw;
  max-width: 440px;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(28,49,44,0.18);
  padding: 36px 22px 30px 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.29s, transform 0.34s cubic-bezier(.37,1.2,.23,1);
}
#cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
#cookie-modal h3 {
  font-size: 1.27rem;
  color: #19413D;
  margin-bottom: 4px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F1F1ED;
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 8px;
  font-size: 1.01rem;
  color: #273D38;
}
.cookie-switch {
  position: relative;
  width: 48px;
  height: 24px;
}
.cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #C3BC7F;
  border-radius: 24px;
  transition: background 0.2s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #19413D;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(24px);
}
.cookie-required {
  color: #a0a093;
  font-size: 0.92rem;
  font-style: italic;
  margin-left: 8px;
}
#cookie-modal .cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}
#cookie-modal button {
  padding: 8px 19px;
  font-size: 1rem;
  border-radius: 12px;
}

/* =============
   MEDIA QUERIES
   ============= */
@media (max-width: 1100px) {
  .container { max-width: 97vw; }
}
@media (max-width: 820px) {
  nav { gap: 10px; }
  .footer-content { flex-direction: column; gap: 20px; }
}
@media (max-width: 600px) {
  .features-list, .features-grid, .services-list, .testimonials { flex-direction: column; gap: 16px; }
  .card-container, .content-grid { flex-direction: column; gap: 14px; }
  .service-card, .card, .testimonial-card {
    min-width: 0; width: 99%;
  }
  .hero { padding-bottom: 18px; }
}

/* Utility Classes */
.mt16 { margin-top: 16px; }
.mt32 { margin-top: 32px; }
.mb16 { margin-bottom: 16px; }
.mb24 { margin-bottom: 24px; }
.mb32 { margin-bottom: 32px; }
.gap8 { gap: 8px; }
.gap16 { gap: 16px; }
.gap24 { gap: 24px; }

display: flex;
f flex-wrap: wrap; gap: 20px; }

/* Misc. micro-interactions and focus management */
.card, .testimonial-card, .feature-card, .service-card, .cta-btn, button, .cookie-btns button, .mobile-nav a {
  transition: box-shadow 0.19s, border-color 0.17s, transform 0.13s, background 0.16s, color 0.14s;
}
.card:focus-within, .service-card:focus-within, .features-list li:focus-within {
  box-shadow: 0 0 0 3px #C3BC7F88;
}

/* ================
   SCROLLBAR STYLING
   ================ */
body::-webkit-scrollbar {
  width: 13px;
}
body::-webkit-scrollbar-track {
  background: #F1F1ED;
}
body::-webkit-scrollbar-thumb {
  background: #C3BC7F;
  border-radius: 6px;
  border: 3px solid #F1F1ED;
}

/* ============================
   SCANDINAVIAN SHADOW & EFFECTS
   ============================ */
.card, .feature-card, .testimonial-card, .service-card {
  box-shadow: 0 2px 12px 0 rgba(25,65,61,0.07);
}

/* ==========
   FORMS (future)
   ========== */
input, textarea, select {
  font-family: inherit;
  border: 1px solid #DFE2D6;
  border-radius: 8px;
  padding: 9px 11px;
  background: #fafaf7;
  margin-bottom: 14px;
  font-size: 1rem;
  color: #273D38;
  width: 100%;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 1px solid #C3BC7F;
  outline: none;
}

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