/* CSS RESET & BASE STYLES - Scandinavian Clean */
html {
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.5;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #2c3740;
  background-color: #fafafa;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #376c8d;
  text-decoration: none;
  transition: color 0.2s linear;
}
a:hover, a:focus {
  color: #f7b940;
  outline: none;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
button {
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  padding: 0;
}
:focus {
  outline: 2px solid #f7b940;
  outline-offset: 2px;
}

/* FONT FACE */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;500;700&display=swap');

/* CONTAINERS & LAYOUTS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* SPACING SECTIONS (MANDATORY) */
.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,24,44,.04);
  transition: box-shadow 0.2s ease, transform 0.3s cubic-bezier(.33,1,.68,1.01);
}
.card:hover {
  box-shadow: 0 6px 36px rgba(0,24,44,.09);
  transform: translateY(-3px) scale(1.012);
}
.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: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 9px rgba(30,60,70,0.06);
  margin-bottom: 20px;
  min-width: 0;
  transition: box-shadow 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 18px rgba(30,60,70,0.14);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .container {
    padding: 0 12px;
  }
}

/* TYPOGRAPHY & HEADINGS */
h1, .display, .hero h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: #2c3740;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2c3740;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #376c8d;
  margin-bottom: 4px;
}
h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #2c3740;
}
.subheadline {
  font-size: 1.25rem;
  color: #4f5b67;
  font-weight: 400;
  margin-bottom: 12px;
}
p, li, span, table, th, td {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #364450;
}
strong {
  font-weight: 700;
}
.testimonial-name {
  font-size: 0.98rem;
  color: #4d5d66;
  font-style: italic;
}

/* HEADER */
header {
  background: #fff;
  box-shadow: 0 1.5px 8px rgba(30,60,70,0.051);
  padding: 0;
  width: 100%;
  z-index: 99;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 0;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #2c3740;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.17s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #f7b94026;
  color: #376c8d;
}
.btn-primary {
  background: #376c8d;
  color: #fff;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 1.5px 8px rgba(30,60,70,0.05);
  padding: 11px 28px;
  margin-left: 20px;
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
  border: none;
  outline: none;
  display: inline-block;
  text-align: center;
  min-width: 120px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #f7b940;
  color: #1d3c44;
  box-shadow: 0 5px 20px rgba(30,60,70,0.17);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: #fff;
  color: #376c8d;
  border: none;
  z-index: 101;
  margin-left: 18px;
  padding: 6px 11px 3px 11px;
  border-radius: 7px;
  transition: background 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #f7b94033;
  color: #bd850e;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 86vw;
  max-width: 360px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 40px rgba(30,60,70,0.11);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.45,.61,.43,1.05);
  display: flex;
  flex-direction: column;
  gap: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  font-size: 2rem;
  color: #376c8d;
  border: none;
  margin: 14px 14px 0 0;
  cursor: pointer;
  padding: 5px 14px 6px 14px;
  border-radius: 7px;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #f7b94026;
  color: #bd850e;
}
.mobile-menu nav.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
  padding-left: 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1.14rem;
  font-weight: 500;
  color: #2c3740;
  padding: 13px 0;
  border-radius: 6px;
  width: fit-content;
  min-width: 180px;
  transition: background 0.14s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #376c8d;
  background: #f7b94033;
}

@media (max-width: 970px) {
  header .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 971px) {
  .mobile-menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* HERO */
.hero {
  background: #f9f9f7;
  border-bottom: 2px solid #ede6d6;
  padding: 64px 0 48px 0;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
@media (max-width: 768px) {
  .hero {
    padding: 36px 0 28px 0;
  }
  .hero .content-wrapper {
    padding-top: 8px;
    gap: 14px;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
}

/* FEATURES */
.features, .features .container, .features .content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.features h2 {
  margin-top: 0;
}
.features ul,
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 20px;
  margin-top: 10px;
}
.features li, .feature-item, .feature-grid li {
  flex: 1 1 240px;
  min-width: 215px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.5px 10px rgba(30,50,70,0.06);
  padding: 22px 18px 18px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  position: relative;
  transition: box-shadow 0.2s, background 0.18s;
}
.features li img, .feature-item img, .feature-grid li img {
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
}
.features li:hover, .feature-grid li:hover, .feature-item:hover {
  box-shadow: 0 4px 24px rgba(30,50,70,0.16);
  background: #ffe6ab26;
}
.features strong {
  color: #376c8d;
}
@media (max-width: 780px) {
  .features .feature-grid {
    flex-direction: column;
    gap: 18px 0;
  }
  .features li,
  .feature-grid li {
    min-width: 0;
    width: 100%;
  }
}

/* SERVICES & SERVICE LISTS, PRICING TABLES */
.services .service-list,
.services ul.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 20px;
  margin-top: 8px;
}
.services .service-list li {
  background: #fcfcfc;
  border: 1.5px solid #dfe5ea;
  border-radius: 12px;
  padding: 18px 18px 13px 18px;
  min-width: 205px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border-color 0.18s;
  box-shadow: 0 1.5px 9px rgba(30,40,60,0.03);
  position: relative;
}
.services .service-list li .price {
  background: #f7b940;
  color: #2c3740;
  font-size: 0.97rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  border-radius: 7px;
  padding: 3px 14px;
  margin-top: 4px;
}
.services .service-list li:hover {
  border-color: #f7b940;
  box-shadow: 0 4px 18px rgba(30,57,87,0.13);
}
@media (max-width: 780px) {
  .services .service-list {
    flex-direction: column;
    gap: 16px 0;
  }
  .services .service-list li {
    min-width: 0;
    width: 100%;
  }
}
/* Pricing Table */
.pricing-table {
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(30,50,70,0.09);
  margin: 0;
}
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 16px 14px;
}
.pricing-table th {
  background: #f4f6f8;
  color: #376c8d;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 2px solid #ececec;
}
.pricing-table tbody td {
  border-bottom: 1px solid #ededed;
  font-size: 1rem;
  color: #425062;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
@media (max-width: 620px) {
  .pricing-table th, .pricing-table td {
    padding: 10px 8px;
    font-size: 0.97rem;
  }
}

/* TESTIMONIALS */
.testimonials .content-wrapper {
  flex-direction: column;
  gap: 24px 0;
}
.testimonial-card {
  border-left: 7px solid #376c8d;
  box-shadow: 0 1.6px 9px rgba(30,40,70,0.09);
  background: #fff;
  color: #193343;
  min-width: 0;
  width: 100%;
  max-width: 570px;
  margin-left: 0;
}
.testimonial-card p {
  font-size: 1.13rem;
  font-weight: 500;
  color: #2c3740;
  margin-bottom: 10px;
}
.testimonial-name {
  font-size: 0.97rem;
  color: #58687c;
}
@media (max-width: 540px) {
  .testimonial-card {
    padding: 14px 8px;
    font-size: 1rem;
  }
}

/* TEXT SECTIONS, GENERAL LISTS */
.text-section {
  width: 100%;
  padding: 0;
  margin-bottom: 16px;
}
.text-section ul,
.text-section ol {
  padding-left: 20px;
  margin-bottom: 18px;
}
.text-section ul li,
.text-section ol li {
  padding-left: 0;
  margin-bottom: 10px;
  color: #374753;
  list-style-type: disc;
  font-size: 1rem;
}
.text-section h3 {
  margin-top: 20px;
}

/* ACCENT, BANNERS & BADGES */
.tagline {
  color: #6d7c86;
  font-style: italic;
  font-size: 1rem;
  margin-left: 10px;
  font-weight: 500;
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 2px solid #e0e6ec;
  padding: 0;
  margin-top: 50px;
  width: 100%;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
  padding: 34px 20px 28px 20px;
  align-items: flex-start;
}
.footer-brand {
  flex: 1 0 210px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
}
.footer-brand img {
  height: 37px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  flex: 3 1 330px;
  gap: 14px 24px;
  margin-bottom: 0;
  align-items: center;
}
.footer-nav a {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  color: #2c3740;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 4px;
  padding: 8px 8px;
  border-radius: 6px;
  transition: background 0.17s, color 0.21s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #376c8d;
  background: #f7b94033;
}
.footer-contact {
  flex: 2 1 240px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.97rem;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  margin-right: 5px;
  vertical-align: middle;
}
.footer-contact a {
  color: #376c8d;
  font-weight: 500;
  margin-left: 2px;
}
.footer-legal {
  flex: 1 0 210px;
  color: #7d8c99;
  font-size: 0.92rem;
  margin-top: 17px;
}
.footer-legal a {
  color: #6092b1;
}
@media (max-width: 990px) {
  footer .container {
    flex-direction: column;
    gap: 14px 0;
    align-items: flex-start;
    padding: 22px 12px 20px 12px;
  }
  .footer-nav {
    gap: 8px 14px;
    margin: 10px 0;
    flex-wrap: wrap;
  }
  .footer-brand,
  .footer-contact,
  .footer-legal {
    margin-top: 9px;
  }
}

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 14px 0;
  font-size: 1rem;
}
th, td {
  padding: 10px 13px;
}
th {
  background: #f5f8fa;
  color: #376c8d;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 600;
}
td {
  color: #2c3740;
  background: #fff;
}
tr:nth-child(even) td {
  background: #f7f8fa;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  padding: 24px 18px 13px 18px;
  background: #fffef8;
  border-top: 2px solid #f7b940;
  box-shadow: 0 -4px 28px rgba(30,60,70,0.06);
  z-index: 2100;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
  font-size: 1.02rem;
  transition: transform 0.32s cubic-bezier(.47,.41,.6,1), opacity 0.22s;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-text {
  flex: 2 1 310px;
  color: #364450;
  margin-right: 8px;
}
.cookie-banner-actions {
  flex: 1 0 160px;
  display: flex;
  gap: 15px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}
.btn-cookie {
  background: #376c8d;
  color: #fff;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  padding: 8px 24px;
  border-radius: 7px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.15s, color 0.13s, box-shadow 0.14s;
  box-shadow: 0 1.5px 6px rgba(30,60,70,0.045);
}
.btn-cookie:hover, .btn-cookie:focus {
  background: #f7b940;
  color: #1d3c44;
}
.btn-cookie-secondary {
  background: #e0e6ec;
  color: #364450;
  font-weight: 500;
  border: none;
  border-radius: 7px;
  padding: 8px 14px;
  margin-left: 0;
  transition: background 0.13s, color 0.13s;
  box-shadow: none;
}
.btn-cookie-secondary:hover, .btn-cookie-secondary:focus {
  background: #fafafa;
  color: #376c8d;
}
@media (max-width: 768px) {
  .cookie-consent-banner {
    flex-direction: column;
    padding: 16px 10px 10px 10px;
    gap: 17px 0;
    font-size: 0.99rem;
  }
  .cookie-banner-actions {
    gap: 8px;
    justify-content: flex-start;
  }
}

/* COOKIE MODAL (Preferences) */
.cookie-modal-backdrop {
  position:fixed;
  z-index: 2140;
  left:0; right:0; top:0; bottom:0;
  background: rgba(44,51,62,0.21);
  /* Fade-in by default hidden */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fffef8;
  border-radius: 16px;
  min-width: 95vw;
  max-width: 420px;
  box-shadow: 0 5px 34px rgba(30,60,70,0.22);
  padding: 32px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookiePop .33s cubic-bezier(.41,.89,.58,1.2);
  margin: 14px;
}
@keyframes cookiePop {
  0% { transform: translateY(80px) scale(.93); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal-title {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #2c3740;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  background: #f9f9f5;
  border-radius: 8px;
  padding: 10px 13px;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  color: #2d3543;
  flex: 1 1 auto;
}
.cookie-switch {
  appearance: none;
  width: 42px;
  height: 24px;
  background: #e3e8ec;
  border-radius: 13px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-switch:checked {
  background: #376c8d;
}
.cookie-switch:disabled {
  opacity: 0.62;
  cursor: default;
}
.cookie-switch::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.17s cubic-bezier(.45,.63,.6,1);
  box-shadow: 0 1px 4px rgba(40,70,90,0.11);
}
.cookie-switch:checked::before {
  transform: translateX(18px);
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 4px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 1.65rem;
  color: #376c8d;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.14s;
  padding: 2px 10px;
  border-radius: 6px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #f7b94033;
  color: #bd850e;
}

@media (max-width: 520px) {
  .cookie-modal {
    min-width: 95vw;
    max-width: 97vw;
    padding: 21px 7vw 17px 7vw;
  }
  .cookie-modal-title {
    font-size: 1.09rem;
  }
}

/* MISC: BUTTONS */
button, .btn {
  transition: background 0.15s, color 0.18s, box-shadow 0.17s;
}

/* ANIMATIONS, MICRO-INTERACTIONS */
.btn-primary, .btn-cookie {
  position: relative;
  overflow: hidden;
}
.btn-primary:active:after, .btn-cookie:active:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 110%;
  background: #fff7cc66;
  transform: translate(-50%, -50%) scale(0.7);
  border-radius: 40%;
  z-index: 0;
  pointer-events: none;
  animation: btnPulse 0.37s cubic-bezier(.58,1.26,.51,.99);
}
@keyframes btnPulse {
  0% { opacity:1; transform:translate(-50%, -50%) scale(0.7); }
  80% { opacity:0.56; transform:translate(-50%, -50%) scale(1.5); }
  100% { opacity:0; transform:translate(-50%, -50%) scale(1.9); }
}

/* UTILITIES & MISC */
.hide {
  display: none !important;
}

/* RESPONSIVE HEADINGS */
@media (max-width: 480px) {
  h1, .display, .hero h1 { font-size: 1.25rem; }
  h2 { font-size: 1.05rem; }
}

/* PRINT STYLES */
@media print {
  header, .cookie-consent-banner, .mobile-menu, .mobile-menu-toggle, footer {
    display: none !important;
  }
  body, main, .container, .content-wrapper {
    background: #fff !important;
    color: #2c3740 !important;
  }
  a, a:visited {
    color: #376c8d !important;
    text-decoration: underline;
  }
}

/* --- END OF STYLE.CSS --- */
