/* ========================
   RESET & BASE STYLES
======================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 16px;
  color: #272B34;
  background: #F5F7FA;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #272B34;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #A0A2A8;
  outline-offset: 2px;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #272B34;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
.lead {
  font-size: 1.25rem;
  color: #575962;
  margin-bottom: 20px;
}

/* ========================
   SCANDINAVIAN CLEAN LAYOUT
======================== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(39,43,52,0.04);
}

/* Flexbox spacing patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 5px rgba(39,43,52,0.06);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 4px 16px rgba(39,43,52,0.13);
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  margin-bottom: 24px;
  background: #F5F7FA;
  border-radius: 14px;
  box-shadow: 0 1px 7px rgba(39,43,52,0.06);
  color: #272B34;
  min-width: 260px;
  max-width: 500px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 3px 20px rgba(39,43,52,0.11);
}
.stars {
  font-size: 1.1rem;
  color: #A0A2A8;
  letter-spacing: 3px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 20px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(39,43,52,0.05);
  transition: box-shadow 0.18s;
}
.feature-item:hover {
  box-shadow: 0 2.5px 10px rgba(39,43,52,0.10);
}

/***** Feature Grid (index, others) *****/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 4px rgba(39,43,52,0.07);
  padding: 20px 18px 18px;
  margin-bottom: 20px;
  min-width: 200px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s;
}
.feature-grid > div:hover {
  box-shadow: 0 2.5px 16px rgba(39,43,52,0.12);
}
.feature-grid img {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
}

/***** Buttons & CTA Styles *****/
.cta, .cta-main {
  display: inline-flex;
  align-items: center;
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  background: #272B34;
  color: #fff;
  border: none;
  letter-spacing: 0.03em;
  outline: none;
  transition: background 0.20s, transform 0.15s;
  box-shadow: 0 1px 4px rgba(39,43,52,0.06);
  margin-right: 12px;
  margin-bottom: 8px;
  cursor: pointer;
}
.cta-main:hover, .cta:hover,
.cta-main:focus, .cta:focus {
  background: #A0A2A8;
  color: #272B34;
  transform: translateY(-2px) scale(1.02);
}
.secondary-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 48px;
  background: #F5F7FA;
  border: 1px solid #A0A2A8;
  color: #272B34;
  font-weight: 600;
  margin-bottom: 8px;
  margin-right: 8px;
  transition: background 0.2s, border 0.2s, color 0.2s;
}
.secondary-link:hover, .secondary-link:focus {
  background: #E3E5E8;
  border-color: #272B34;
  color: #272B34;
}

/***** HEADER *****/
header {
  background: #fff;
  box-shadow: 0 1px 6px rgba(39,43,52,0.03);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  min-height: 72px;
}
header a img {
  height: 38px;
  width: auto;
  margin-right: 35px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #272B34;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 24px;
  transition: background 0.17s, color 0.17s;
}
.main-nav a.cta {
  background: #272B34;
  color: #fff;
  margin-left: 20px;
  padding: 9px 30px;
  font-weight: 700;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F5F7FA;
  color: #272B34;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: #A0A2A8;
  color: #272B34;
}

/***** MOBILE BURGER MENU *****/
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2rem;
  color: #272B34;
  margin-left: 14px;
  border-radius: 10px;
  padding: 4px 14px;
  z-index: 62;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F5F7FA;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 40px rgba(39,43,52,0.06);
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 26px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.5rem;
  color: #272B34;
  background: none;
  border: none;
  align-self: flex-end;
  margin-bottom: 26px;
  margin-right: 6px;
  cursor: pointer;
  z-index: 100;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #272B34;
  padding: 14px 0 14px 8px;
  border-radius: 25px;
  transition: background 0.18s, color 0.18s;
  display: block;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: #F5F7FA;
}

/***** Hide Desktop Nav, Show Burger on Mobile *****/
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/***** MAIN + SECTIONS *****/
main {
  margin-top: 40px;
  margin-bottom: 40px;
}
section {
  width: 100%;
  margin-bottom: 40px;
  display: flex;
}
section .container {
  width: 100%;
}
.section {
  background: #fff;
}

/***** Responsive and Utility Styles *****/
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  section {
    margin-bottom: 32px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column !important;
    gap: 18px !important;
  }
  .content-wrapper {
    padding: 0;
  }
  .section {
    padding: 24px 8px;
  }
  .feature-grid > div, .card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .testimonial-card {
    max-width: 100%;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .cta, .cta-main, .secondary-link, .main-nav a, .mobile-nav a {
    font-size: 1rem;
  }
}

/***** FOOTER *****/
footer {
  background: #fff;
  border-top: 1px solid #E3E5E8;
  padding: 0 0 0 0;
}
.footer-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 38px 0 20px 0;
}
.footer-content > * {
  min-width: 180px;
}
.footer-content a img {
  width: 44px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #272B34;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.18s;
  margin-bottom: 4px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #A0A2A8;
}
address {
  font-style: normal;
  color: #383b44;
  font-size: 1rem;
  margin-top: 12px;
  line-height: 1.6;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
address a {
  color: #272B34;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 1rem;
}
.opening-hours {
  margin-top: 6px;
  color: #A0A2A8;
  font-size: 0.96rem;
  display: flex;
  align-items: center;
  gap: 7px;
}
.brand-tagline {
  margin-top: 18px;
  color: #A0A2A8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.96rem;
  font-style: italic;
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    gap: 22px;
  }
}

/***** CONTACT INFO, NOTE, ETC. *****/
.contact-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.contact-info li, .service-select ul li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-select ul {
  margin: 10px 0 16px 0;
  padding-left: 0;
  list-style: disc inside;
}
.info-note {
  background: #F5F7FA;
  border-radius: 8px;
  padding: 14px 17px;
  color: #797B81;
  font-size: 1rem;
  margin-top: 18px;
}
.contact-hint {
  font-size: 0.97rem;
  color: #575962;
  display: block;
  margin-top: 12px;
}

/***** TYPOGRAPHY SCALE *****/
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4, h5, h6 { font-size: 1.1rem; }
@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.08rem; }
}

/***** LISTS, UL/OL *****/
ul, ol {
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 7px;
  line-height: 1.6;
  font-size: 1rem;
}

/***** MICRO-INTERACTIONS *****/
.card, .feature-grid > div, .feature-item, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover, .feature-grid > div:hover, .feature-item:hover, .testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(39,43,52,0.13);
  transform: translateY(-2px) scale(1.01);
}

/***** SPECIAL SECTION COLORS *****/
.section:last-of-type {
  background: #F5F7FA;
}

/***** COOKIE CONSENT BANNER & MODAL *****/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #272B34;
  color: #fff;
  padding: 18px 20px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 -7px 28px rgba(39,43,52,0.10);
  z-index: 1010;
  font-size: 1.025rem;
  animation: cookieFadeIn 0.6s;
}
@keyframes cookieFadeIn {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 15px;
}
.cookie-banner button {
  border-radius: 32px;
  padding: 10px 30px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 0;
  min-width: 120px;
  transition: background 0.2s, color 0.2s, border 0.2s;
  background: #fff;
  color: #272B34;
  border: 1.5px solid #A0A2A8;
}
.cookie-banner .cookie-accept {
  background: #272B34;
  color: #fff;
  border-color: #A0A2A8;
}
.cookie-banner .cookie-accept:hover, .cookie-accept:focus {
  background: #A0A2A8;
  color: #272B34;
}
.cookie-banner .cookie-settings {
  background: #F5F7FA;
  color: #272B34;
  border-color: #A0A2A8;
}
.cookie-banner .cookie-settings:focus, .cookie-settings:hover {
  background: #E3E5E8;
  color: #272B34;
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: #A0A2A8;
  border-color: #A0A2A8;
}
.cookie-banner .cookie-reject:focus, .cookie-reject:hover {
  background: #F5F7FA;
  color: #272B34;
}

/****** COOKIE PREFERENCES MODAL ******/
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(40, 43, 50, 0.28);
  z-index: 1020;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 420px;
  width: 97vw;
  padding: 32px 26px 26px 26px;
  box-shadow: 0 7px 34px rgba(39,43,52,0.16);
  position: relative;
  animation: fadeUpModal 0.35s;
}
@keyframes fadeUpModal {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 0;
  border-bottom: 1px solid #F5F7FA;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  color: #272B34;
}
.cookie-toggle {
  width: 36px;
  height: 20px;
  background: #A0A2A8;
  border-radius: 10px;
  position: relative;
  transition: background 0.18s;
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.cookie-toggle .slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.23s;
  box-shadow: 0 1px 2px rgba(50,50,58,0.05);
}
.cookie-toggle input:checked + .slider {
  left: 18px;
  background: #81c784;
}
.cookie-category[data-essential] .cookie-toggle {
  opacity: 0.45;
  pointer-events: none;
}
.cookie-modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  font-size: 1.7rem;
  color: #A0A2A8;
  background: none;
  border: none;
  cursor: pointer;
}
.cookie-modal-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-actions .cta-main, .cookie-modal-actions .cookie-cancel {
  min-width: 110px;
}
.cookie-modal-actions .cookie-cancel {
  background: #F5F7FA;
  color: #272B34;
  border: 1px solid #A0A2A8;
  border-radius: 32px;
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.cookie-modal-actions .cookie-cancel:focus,
.cookie-modal-actions .cookie-cancel:hover {
  background: #E3E5E8;
}

/***** END COOKIE CONSENT *****/

/* ============= Fancier Headings/Details =============== */
h1, h2, h3 {
  margin-top: 0;
  margin-bottom: 0.6em;
}
.content-wrapper h2 {
  margin-top: 0.8em;
}
/* Spacing helpers for consistency */
.section + .section { margin-top: 20px; }
.content-wrapper > * + * { margin-top: 18px; }

/***** CREDITED QUOTATIONS IN TESTIMONIALS *****/
.testimonial-card p strong {
  color: #272B34;
  font-size: 0.99rem;
  margin-top: 8px;
  display: block;
}
.testimonial-card .stars {
  color: #A0A2A8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
}

/***** THANK YOU, EMPTY ETC. *****/
.cta-main[disabled],
.cta[disabled],
.secondary-link[disabled] {
  opacity: 0.55;
  pointer-events: none;
}

/***** FADE-IN ANIMATION FOR PAGE ENTRANCE *****/
.fade-in {
  opacity: 0;
  animation: fadeInPage 0.55s cubic-bezier(0.36,0.55,0.19,1.02) forwards;
}
@keyframes fadeInPage {
  100% { opacity: 1; }
}

/**** FORMS (if any, robust and accessible base) ****/
input[type="text"],
input[type="email"],
input[type="search"],
textarea {
  padding: 11px 14px;
  border: 1.5px solid #E3E5E8;
  border-radius: 7px;
  font-size: 1rem;
  background: #F5F7FA;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #272B34;
  margin-bottom: 20px;
  transition: border 0.18s;
}
input:focus, textarea:focus {
  border-color: #A0A2A8;
  outline: none;
}
label { font-weight: 500; }

/***** UTILITY CLASSES *****/
.d-none { display: none !important; }
.text-center { text-align: center !important; }
.flex-grow { flex-grow: 1 !important; }

/***** END OF MAIN STYLESHEET *****/
