/* --------------------------------------------------
   CSS RESET & BASE STYLES FOR GLOBAL BOSTADSGUIDE
---------------------------------------------------*/
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, 
main, 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #223E54;
  background-color: #F5F5F5;
  line-height: 1.7;
  min-height: 100vh;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #223E54;
  text-decoration: none;
  transition: color .2s ease;
}
a:hover, a:focus {
  color: #E8B24A;
  outline: none;
}
ul, ol {
  list-style: none;
}

/* -------------------------------
   TYPOGRAPHY & HEADINGS
--------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #223E54;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.125rem;
  line-height: 1.15;
  margin-bottom: 28px;
  letter-spacing: -1px;
}
h2 {
  font-size: 1.5rem;
  line-height: 1.22;
  margin-bottom: 22px;
}
h3 {
  font-size: 1.17rem;
  margin-bottom: 14px;
}
.lead {
  font-size: 1.18rem;
  color: #223E54;
  margin-bottom: 18px;
}
strong {
  font-weight: bold;
  color: #223E54;
}

/* -------------------------------
   LAYOUT STRUCTURE
--------------------------------*/
.container {
  width: 100%;
  max-width: 1120px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(34,62,84,.04);
  padding: 32px 24px;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (max-width: 600px) {
  .content-wrapper {
    padding: 18px 8px;
  }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px 0 rgba(34,62,84,.07);
  padding: 28px 22px;
  flex: 1 1 350px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .22s;
}
.card:hover {
  box-shadow: 0 6px 30px rgba(34,62,84,.14);
}
.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;
  align-items: center;
  gap: 20px;
  background: #F5F5F5;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(34,62,84,0.06);
  margin-bottom: 20px;
  padding: 20px;
  flex-direction: column;
  color: #223E54;
  font-size: 1rem;
  transition: transform .14s;
}
.testimonial-card:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 8px 20px rgba(34,62,84,0.11);
}
.testimonial-meta {
  margin-top: 10px;
  color: #787878;
  font-size: 0.99rem;
  letter-spacing: .01em;
}
.feature-list, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}
.feature-list > li, .service-list > li {
  flex: 1 1 250px;
  background: #f8fafc;
  border-radius: 8px;
  padding: 16px 14px 14px 16px;
  color: #223E54;
  position: relative;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(34,62,84,0.06);
}
.feature-list img {
  width: 22px;
  height: 22px;
  margin-right: 7px;
  flex-shrink: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.region-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}
.region-teasers h3 {
  color: #223E54;
}
.text-section {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.cta-wrapper {
  margin-top: 26px;
}

/* -------------------------------
   TABLES
--------------------------------*/
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(34,62,84,0.08);
  margin-bottom: 32px;
  overflow: hidden;
  font-size: 1rem;
}
thead {
  background: #223E54;
  color: #fff;
}
td, th {
  padding: 12px 16px;
  text-align: left;
}
tbody tr:nth-child(even) {
  background: #f2f5f8;
}
caption {
  caption-side: top;
  font-weight: 600;
  color: #223E54;
  padding: 10px 0 3px 0;
  font-size: 1.01rem;
}

/* -------------------------------
   BUTTONS & LINKS
--------------------------------*/
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #223E54;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: 25px;
  letter-spacing: 0.02em;
  box-shadow: 0 3px 16px 0 rgba(34,62,84,.07);
  text-align: center;
  transition: background .18s, box-shadow .18s, transform .10s;
  border: none;
  cursor: pointer;
  outline: none;
  margin: 16px 0 0 0;
}
.cta-btn:hover, .cta-btn:focus {
  background: #E8B24A;
  color: #223E54;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 6px 30px 0 rgba(34,62,84,.15);
}
button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
}

/* -------------------------------
   HEADER
--------------------------------*/
header {
  background: #223E54;
  color: #fff;
  box-shadow: 0 2px 10px 0 rgba(34,62,84,.09);
  z-index: 200;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}
header nav {
  display: flex;
  gap: 22px;
}
header nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: color .17s;
  position: relative;
}
header nav a:after {
  display: block;
  content: '';
  border-bottom: 2px solid #E8B24A;
  transform: scaleX(0);
  transition: transform .17s ease;
  transform-origin: 0% 50%;
}
header nav a:hover:after, header nav a:focus:after {
  transform: scaleX(1);
}
header nav a:hover, header nav a:focus {
  color: #E8B24A;
}
header img {
  max-height: 38px;
  margin-right: 14px;
}
header .cta-btn {
  margin: 0 0 0 18px;
}

@media (max-width: 992px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  header nav {
    gap: 14px;
  }
}
@media (max-width: 800px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  header nav, header .cta-btn {
    display: none;
  }
}

/* -------------------------------
   MOBILE MENU
--------------------------------*/
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 21px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #E8B24A;
  color: #223E54;
  font-size: 2.1rem;
  z-index: 301;
  box-shadow: 0 2px 10px rgba(34,62,84,.14);
  transition: background .12s;
}
.mobile-menu-toggle:active {
  background: #F5F5F5;
}

@media (max-width: 800px) {
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #223E54;
  color: #fff;
  transform: translateX(-100vw);
  transition: transform .36s cubic-bezier(.68,.33,.4,1.09);
  z-index: 5002;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.05rem;
  position: absolute;
  top: 20px;
  right: 22px;
  z-index: 5010;
  transition: color .2s;
}
.mobile-menu-close:hover {
  color: #E8B24A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
  padding: 68px 36px 18px 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.17rem;
  color: #fff;
  padding: 6px 6px 6px 0;
  border-radius: 4px;
  width: 100%;
  transition: background .11s, color .13s;
  margin-bottom: 2px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E8B24A;
  color: #223E54;
}

@media (min-width: 801px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* -------------------------------
   FOOTER
--------------------------------*/
footer {
  background: #223E54;
  color: #fff;
  padding: 36px 0 20px 0;
  font-size: 0.98rem;
}
footer .container {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}
footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
footer nav a {
  color: #fff;
  text-decoration: none;
  position: relative;
  font-family: 'Open Sans', Arial, sans-serif;
}
footer nav a:hover, footer nav a:focus {
  color: #E8B24A;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #fff;
  font-size: 0.99rem;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
}
.footer-contact span {
  vertical-align: middle;
  margin-right: 12px;
}
@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
  }
}

/* -------------------------------
   FORMS (if present)
--------------------------------*/
input, select, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border: 1px solid #b4bec5;
  border-radius: 7px;
  padding: 10px 12px;
  margin-bottom: 12px;
  background: #fff;
  color: #223E54;
  width: 100%;
  transition: border .12s;
}
input:focus, select:focus, textarea:focus {
  border: 1.3px solid #E8B24A;
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #223E54;
  font-weight: 600;
  margin-bottom: 7px;
}

/* -------------------------------
   COOKIE CONSENT BANNER
--------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 8000;
  background: #fff;
  color: #223E54;
  border-top: 2.5px solid #E8B24A;
  box-shadow: 0 -4px 24px 0 rgba(34,62,84,.10);
  transition: transform .28s cubic-bezier(.56,0,.47,1.14);
  min-height: 90px;
  padding: 20px 26px 22px 26px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 1.04rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-banner.hide {
  transform: translateY(105%);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  border-radius: 22px;
  padding: 10px 26px;
  font-size: 1rem;
  font-weight: 600;
  margin-right: 3px;
  border: none;
  background: #E8B24A;
  color: #223E54;
  transition: background .17s, color .1s;
}
.cookie-btn.secondary {
  background: #223E54;
  color: #fff;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #F5F5F5;
  color: #223E54;
  outline: none;
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: rgba(34,62,84, 0.46);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .28s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  color: #223E54;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(34,62,84,0.16);
  max-width: 420px;
  width: 97vw;
  padding: 34px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  font-size: 1.01rem;
}
.cookie-modal .cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 6px;
}
.cookie-modal .cookie-modal-close {
  font-size: 1.5rem;
  background: none;
  color: #223E54;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 18px;
  top: 18px;
  transition: color .17s;
}
.cookie-modal .cookie-modal-close:hover {
  color: #E8B24A;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 500;
  margin-bottom: 0;
}
.cookie-switch {
  width: 38px;
  height: 22px;
  border-radius: 12px;
  background: #E8B24A;
  position: relative;
  transition: background .13s;
  display: inline-block;
  margin-left: 9px;
}
.cookie-switch input[type='checkbox'] {
  display: none;
}
.cookie-switch label {
  display: block;
  width: 100%; height: 100%;
  cursor: pointer;
  position: relative;
}
.cookie-switch .slider {
  position: absolute;
  left: 2px; top: 2px;
  background: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  transition: left .16s;
}
.cookie-switch input[type='checkbox']:checked + .slider {
  left: 18px;
  background: #fff;
}
.cookie-category.essential .cookie-switch {
  background: #b6bdc1;
}
.cookie-category.essential .cookie-switch label {
  cursor: not-allowed;
}
.cookie-category.essential .cookie-switch .slider {
  background: #ececec;
}

/* -------------------------------
   RESPONSIVE DESIGN
--------------------------------*/
@media (max-width: 1050px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 992px) {
  .section {
    padding: 32px 6px;
  }
  .content-wrapper {
    padding: 16px 2px;
  }
  .card {
    padding: 18px 8px;
  }
}
@media (max-width: 800px) {
  .section {
    padding: 21px 2px;
  }
  .card-container, .content-grid, .feature-list, .service-list {
    flex-direction: column;
    gap: 20px;
  }
  .card {
    margin-bottom: 18px;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 6px;  /* less vertical space on mobile */
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .feature-list, .service-list {
    flex-direction: column;
    gap: 15px;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.46rem; }
  h2 { font-size: 1.18rem; }
  .cta-btn {
    padding: 11px 16px;
    font-size: .99rem;
  }
  .card {
    padding: 13px 5px;
  }
  .section {
    padding: 13px 0;
  }
  table, th, td {
    font-size: .97rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 7px 14px 7px;
    font-size: .96rem;
    gap: 12px;
  }
}

/* -------------------------------
ANIMATIONS & MICRO-INTERACTIONS
--------------------------------*/
a, .cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: color .17s, background .13s, box-shadow .16s, transform .16s;
}
.card, .testimonial-card {
  transition: box-shadow .14s, transform .14s;
}

::-webkit-scrollbar {
  width: 8px;
  background: #223E5411;
}
::-webkit-scrollbar-thumb {
  background: #b6bdc1;
  border-radius: 6px;
}

/* Accessibility focus styles */
a:focus-visible, button:focus-visible, .cta-btn:focus-visible {
  outline: 2.5px solid #E8B24A;
  outline-offset: 2px;
  border-radius: 3px;
}

/* Utility Classes*/
.mb-20 { margin-bottom: 20px !important; }
.mt-18 { margin-top: 18px !important; }
.mt-32 { margin-top: 32px !important; }

/******************************************************/
/* The End of Corporate Blue/Gray Modern UI Stylesheet */
/******************************************************/
