/* =====================
   Scandinavian Clean by Rare Returns
   ===================== */

/* RESET & BASE TYPOGRAPHY */
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, caption, tbody, tfoot, thead, tr, th, td, main, section, article, footer, header, nav, figure, figcaption {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F3F6FB;
  color: #193248;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #193248;
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.375rem; margin-bottom: 14px; }
h4 { font-size: 1.125rem; margin-bottom: 12px; }

p, li, span, label {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #193248;
}
a {
  color: #22A6B3;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #14606D;
  text-decoration: underline;
}

ul, ol {
  margin-left: 20px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 10px;
}

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

strong { font-weight: 700; }

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(25,50,72,0.03);
  transition: box-shadow 0.2s;
}
.section:last-child {
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 40px;
    border-radius: 12px;
  }
  .container { padding: 0 10px; }
}

/* FLEX UTILITIES (MANDATORY CLASSES) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(25,50,72,0.04);
  position: relative;
  min-width: 250px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px rgba(34,166,179,0.11);
  transform: translateY(-2px) scale(1.02);
}
.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: 12px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F3F6FB;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(25,50,72,0.09);
  font-style: italic;
  color: #193248;
  min-width: 240px;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  color: #193248;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #22A6B3;
  font-weight: 600;
  font-style: normal;
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: 0 6px 18px rgba(34,166,179,0.10);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* SERVICE CARD GRID ON SERVICES PAGE */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.service-card {
  background: #fff;
  border-radius: 13px;
  padding: 24px 18px;
  box-shadow: 0 2px 10px rgba(34,166,179,0.06);
  flex: 1 1 260px;
  min-width: 250px;
  max-width: 340px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
  border-left: 5px solid #22A6B3;
  transition: box-shadow 0.15s;
}
.service-card:hover {
  box-shadow: 0 7px 20px rgba(34,166,179,0.15);
}

/* BUTTONS */
.button,
.button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 12px 32px;
  border-radius: 28px;
  font-size: 1.125rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: none;
  background: #22A6B3;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.18s, transform 0.18s;
  box-shadow: 0 2px 12px rgba(34,166,179,0.08);
  margin-top: 10px;
  margin-right: 12px;
  margin-bottom: 10px;
  text-align: center;
  text-decoration: none;
}
.button.primary {
  background: #193248;
  color: #fff;
}
.button:hover, .button:focus {
  background: #14606D;
  color: #fff;
  box-shadow: 0 4px 20px rgba(34,166,179,0.14);
  transform: translateY(-2px) scale(1.02);
}
.button.primary:hover, .button.primary:focus {
  background: #22A6B3;
  color: #fff;
}

/* NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 1px 22px rgba(25,50,72,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  justify-content: flex-start;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}
.main-nav > a {
  color: #193248;
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 1.05rem;
  transition: background 0.14s, color 0.14s;
}
.main-nav > a.button.primary {
  margin-left: 12px;
  margin-right: 0;
  font-size: 1.08rem;
}
.main-nav > a:hover, .main-nav > a:focus {
  color: #22A6B3;
  background: #F3F6FB;
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 22px;
  display: inline-flex;
  vertical-align: middle;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #193248;
  padding: 12px 18px;
  cursor: pointer;
  z-index: 201;
  transition: background 0.13s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F3F6FB;
  border-radius: 16px;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 300;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #F3F6FB;
  box-shadow: 0 7px 40px rgba(25,50,72,0.13);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.72,0,.33,1);
  pointer-events: none;
  opacity: 0.98;
}
.mobile-menu.open {
  transform: translateX(0%);
  pointer-events: auto;
}
.mobile-menu-close {
  display: block;
  position: absolute;
  top: 22px;
  right: 18px;
  background: #fff;
  border: none;
  font-size: 2.2rem;
  color: #193248;
  border-radius: 10px;
  padding: 7px 12px;
  cursor: pointer;
  z-index: 400;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E5EDF7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 80px 0 30px 0;
  align-items: flex-start;
  padding: 0 36px 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  color: #193248;
  padding: 13px 0;
  border-bottom: 1px solid #E5EDF7;
  width: 100%;
  border-radius: 6px;
  transition: background 0.1s, color 0.16s;
  margin-bottom: 0;
}
.mobile-nav a:last-child {
  border: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #22A6B3;
  background: #e7f5f8;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 12px;
    padding: 14px 10px;
  }
}
@media (max-width: 900px) {
  .main-nav img {
    height: 28px;
    margin-right: 12px;
  }
  .main-nav {
    font-size: 1rem;
    gap: 8px;
  }
}
@media (max-width: 830px) {
  .main-nav > a:not(:first-child):not(.button.primary) {
    display: none;
  }
  .main-nav > a.button.primary {
    font-size: 0.98rem;
    padding: 10px 16px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* Hide mobile nav when menu NOT open */
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #193248;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  z-index: 5000;
  padding: 24px 10px 20px 10px;
  box-shadow: 0 -8px 32px rgba(25,50,72,0.10);
  font-size: 1rem;
  animation: slideUpBanner 0.48s cubic-bezier(.76,0,.34,1);
}
@keyframes slideUpBanner {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-content {
  max-width: 680px;
  text-align: center;
  color: #fff;
  margin-bottom: 10px;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: center;
  align-items: center;
}
.cookie-btn, .cookie-btn.settings {
  border: none;
  background: #22A6B3;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 18px;
  cursor: pointer;
  margin-bottom: 0;
  transition: background 0.14s;
}
.cookie-btn.reject {
  background: #fff;
  color: #193248;
  border: 1px solid #22A6B3;
}
.cookie-btn.settings {
  background: #f3f6fb;
  color: #193248;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #14606D;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #E5EDF7;
  color: #14606D;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #e7f5f8;
  color: #193248;
}

.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25, 50, 72, 0.36);
  z-index: 5100;
  justify-content: center;
  align-items: center;
  animation: fadeInOverlay 0.37s;
}
@keyframes fadeInOverlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 40px rgba(34,166,179,0.21);
  padding: 32px 32px 24px 32px;
  max-width: 420px;
  width: 96vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: slideinCookieModal 0.27s cubic-bezier(.68,0,.31,1);
}
@keyframes slideinCookieModal {
  from { transform: translateY(44px) scale(0.94); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  border: none;
  background: #F3F6FB;
  color: #193248;
  font-size: 1.4rem;
  border-radius: 8px;
  padding: 3px 10px;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #e3eefe;
}
/* Cookie Categories */
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 12px;
}
.cookie-category {
  background: #F3F6FB;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
}
.cookie-category.essential {
  background: #e9f6f9;
  color: #193248;
  font-weight: 500;
}
.cookie-toggle {
  margin-left: 16px;
  appearance: none;
  background: #fff;
  width: 38px;
  height: 22px;
  border-radius: 18px;
  border: 1.3px solid #22A6B3;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-toggle:checked {
  background: #22A6B3;
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: left 0.15s;
}
.cookie-toggle:checked:before {
  left: 18px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
}

@media (max-width: 600px) {
  .cookie-modal {
    padding: 18px 7vw 14px 7vw;
    max-width: 97vw;
  }
  .cookie-consent-banner {
    padding: 16px 4vw 14px 4vw;
    font-size: 0.99rem;
  }
}

/* ========= SECTION & CARD LAYOUTS ========= */
.value-proofs {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
  margin-top: 16px;
  flex-wrap: wrap;
}
.value-proofs img {
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
  margin-right: 7px;
  display: inline-block;
}
.value-proofs {
  font-size: 1rem;
  color: #193248;
}

.categories {
  display: flex;
  flex-direction: row;
  gap: 12px;
  font-size: 0.98rem;
  margin: 10px 0 10px 0;
}
.category {
  background: #22A6B3;
  color: #fff;
  border-radius: 13px;
  padding: 3px 13px;
  font-size: 0.97rem;
}
.featured-post {
  margin: 18px 0 0 0;
  background: #f3f6fb;
  border-radius: 10px;
  box-shadow: 0 2px 7px rgba(25,50,72,0.06);
  padding: 18px 12px;
}

.address-details, .phone-details, .email-details, .hours-details {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.map {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #E5EDF7;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 0.99rem;
  margin-bottom: 8px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  margin-bottom: 4px;
}

/* Footer */
footer {
  background: #193248;
  color: #fff;
  padding: 36px 0 20px 0;
  margin-top: 40px;
  font-size: 0.97rem;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}
footer nav a {
  color: #F3F6FB;
  font-size: 1rem;
  padding: 4px 9px;
  border-radius: 6px;
  transition: background 0.14s, color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  background: #22A6B3;
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  align-items: center;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}
.footer-contact img {
  width: 21px;
  height: 21px;
}

/* Responsive layouts */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.56rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.07rem; }
  .content-grid, .card-container, .service-list, .value-proofs, .features {
    flex-direction: column;
    gap: 16px;
  }
  .service-card { max-width: 98vw; }
  .footer-contact { flex-direction: column; gap: 8px; align-items: flex-start; }
}
@media (max-width: 550px) {
  .section {
    padding: 14px 3vw;
  }
  .value-proofs {
    gap: 7px;
    flex-direction: column;
    align-items: flex-start;
  }
}
/* text-image-section: column on small screens */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* VISUAL EFFECTS & MICRO-ANIMATIONS */
.card, .service-card, .testimonial-card, .featured-post {
  transition: box-shadow 0.11s, transform 0.14s;
}
.card:hover, .service-card:hover, .testimonial-card:hover, .featured-post:hover {
  box-shadow: 0 8px 34px rgba(34,166,179,0.14);
  transform: translateY(-2px) scale(1.013);
}

.button,
.button.primary,
.cookie-btn {
  transition: background 0.18s, box-shadow 0.19s, color 0.13s, transform 0.15s;
}
.button:active,
.button.primary:active,
.cookie-btn:active {
  transform: scale(0.97);
}

/* ======== ADDITIONAL CLASSES ======== */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 10px;
}
.features .feature-item {
  background: #F3F6FB;
  padding: 14px 16px;
  border-radius: 10px;
  min-width: 200px;
}

/* LISTS in content-wrapper */
.content-wrapper ul, .content-wrapper ol {
  margin-left: 24px;
  margin-bottom: 18px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
.content-wrapper ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.content-wrapper ul li img {
  width: 27px;
  height: 27px;
  min-width: 27px;
  margin-right: 5px;
}

/* FORM ELEMENTS for potential contact forms (futureproofing) */
input, textarea, select, button[type='submit'] {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.2px solid #E5EDF7;
  padding: 10px 16px;
  margin-bottom: 10px;
  background: #fff;
  color: #193248;
  box-shadow: none;
  outline: none;
  transition: border-color 0.14s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #22A6B3;
  box-shadow: 0 0 8px rgba(34,166,179,0.12);
}

/* Accessibility: focus-visible outlines */
a:focus-visible, button:focus-visible {
  outline: 2px solid #22A6B3;
  outline-offset: 2px;
}

/* Hide scrollbars on mobile nav overlay */
.mobile-menu {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #22A6B3 #F3F6FB;
}
.mobile-menu::-webkit-scrollbar {
  width: 7px;
}
.mobile-menu::-webkit-scrollbar-thumb {
  background: #22A6B3;
  border-radius: 7px;
}
.mobile-menu::-webkit-scrollbar-track {
  background: #F3F6FB;
}

/* ====================
   END OF STYLES
   ==================== */