/* RESET & BASE ------------------------------- */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #181E22;
  color: #E9ECF3;
  min-height: 100vh;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #46B5D1;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-word;
}
a:hover,
a:focus {
  color: #E9ECF3;
  text-decoration: underline;
}
ul,ol {
  margin-left: 1.5em;
  margin-bottom: 20px;
}
li + li { margin-top: 10px; }

/* TYPOGRAPHY ------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #E9ECF3;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}
h1 { font-size: 2.4rem; margin-bottom: 20px; }
h2 { font-size: 2rem;    margin-bottom: 18px; }
h3 { font-size: 1.3rem;  margin-bottom: 12px; }
h4 { font-size: 1.1rem; }
p, ul, ol, blockquote {
  font-size: 1rem;
  margin-bottom: 18px;
  color: #CDD2DA;
}
blockquote {
  background: #31353B;
  color: #22262A;
  border-left: 4px solid #46B5D1;
  font-style: italic;
  padding: 14px 22px;
  border-radius: 8px;
  margin: 0 0 12px 0;
}
strong, b {
  color: #E9ECF3;
  font-weight: 700;
}
em {
  color: #46B5D1;
}

/* CONTAINER & LAYOUTS ---------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #252B31;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,10,30,0.09);
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
  border: 1.5px solid #31353B;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  box-shadow: 0 4px 18px 0 rgba(70, 181, 209, 0.1), 0 2px 10px rgba(0,10,30,0.12);
  border-color: #46B5D1;
}
.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: 20px;
  background: #F7F9FB;
  color: #181E22;
  border-radius: 10px;
  border: 2px solid #D2D6DD;
  box-shadow: 0 1px 8px 0 rgba(0,0,0,0.04);
  padding: 20px;
  margin-bottom: 20px;
}
.testimonial-card blockquote {
  background: none;
  color: #181E22;
  border-left: 3px solid #003459;
  margin-bottom: 6px;
  padding: 0 0 0 16px;
}
.testimonial-card span {
  font-size: 0.95rem;
  color: #003459;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 24px;
}
.feature-grid > div {
  background: #252B31;
  border-radius: 10px;
  border: 1.5px solid #466B81;
  box-shadow: 0 1px 7px 0 rgba(0,0,0,0.08);
  flex: 1 1 240px;
  min-width: 240px;
  max-width: 350px;
  padding: 26px 18px 20px 18px;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-grid > div:hover {
  border-color: #46B5D1;
  box-shadow: 0 4px 16px 0 rgba(70,181,209,0.07);
}
.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  filter: grayscale(0.25) brightness(1.25);
}
.cta-banner {
  background: #003459;
  color: #E9ECF3;
  border-radius: 10px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0,30,30,0.06);
}
.address-snippet, .address-details {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 16px;
}
.address-snippet p, .address-details p {
  display: flex;
  align-items: center;
  gap: 12px;
}
.map-snippet {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.office-hours {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact {
  margin: 18px 0 10px 0;
  color: #B7C6D9;
}
.footer-contact p { font-size: 0.97rem; }

/* HEADER & NAVIGATION -------------------- */
header {
  background: #181E22;
  border-bottom: 2px solid #252B31;
  position: sticky;
  top: 0;
  z-index: 990;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 20px 18px 14px 18px;
}
header a img {
  height: 48px;
  width: auto;
  margin-right: 24px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #E9ECF3;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 6px 0;
  position: relative;
  transition: color 0.18s;
}
header nav a:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #46B5D1;
  transition: width 0.22s;
}
header nav a:hover, header nav a:focus {
  color: #46B5D1;
}
header nav a:hover:after, header nav a:focus:after {
  width: 100%;
}
.button.button-primary {
  background: linear-gradient(90deg, #003459 70%, #46B5D1 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 11px 26px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 12px 0 rgba(0, 52, 89, 0.08);
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.18s, color 0.19s;
  font-size: 1.07rem;
  margin-left: 16px;
  outline: none;
}
.button.button-primary:hover, .button.button-primary:focus {
  background: #46B5D1;
  color: #003459;
  box-shadow: 0 4px 18px 0 rgba(70, 181, 209, 0.14);
}
.button {
  background: #31353B;
  border: 1.5px solid #46B5D1;
  color: #46B5D1;
  border-radius: 6px;
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: background 0.21s, color 0.13s, border 0.19s, box-shadow 0.16s;
  cursor: pointer;
  display: inline-block;
  outline: none;
}
.button:hover, .button:focus {
  background: #46B5D1;
  color: #003459;
  border-color: #003459;
  box-shadow: 0 3px 14px 0 rgba(70, 181, 209, 0.13);
}

/* MOBILE NAVIGATION ---------------------- */
.mobile-menu-toggle {
  display: none;
  background: #181E22;
  color: #46B5D1;
  font-size: 2.2rem;
  border: none;
  padding: 8px 15px;
  margin-left: 14px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  position: relative;
  z-index: 1020;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #212A30;
  color: #E9ECF3;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #252B31;
  box-shadow: 2px 0 40px 0 rgba(20,40,50,0.29);
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
  z-index: 1002;
  padding: 0 0 30px 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #46B5D1;
  font-size: 2rem;
  align-self: flex-end;
  margin: 22px 22px 0 0;
  cursor: pointer;
  border-radius: 6px;
  padding: 8px 15px 8px 8px;
  transition: background 0.15s, color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #003459;
  color: #E9ECF3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px 30px 0 34px;
  width: 100%;
}
.mobile-nav a {
  color: #E9ECF3;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 12px 0 12px 0;
  border-radius: 4px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #46B5D1;
  color: #003459;
}

/* Hide main nav on mobile, show burger */
@media (max-width: 1024px) {
  header .container nav {
    display: none;
  }
  .button.button-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}


/* MAIN & FOOTER -------------------------- */
main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 40px;
}
footer {
  background: #181E22;
  border-top: 2px solid #252B31;
  padding: 38px 0 25px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
footer nav a {
  color: #A4B5C7;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 2px;
  transition: color 0.21s;
}
footer nav a:hover, footer nav a:focus {
  color: #46B5D1;
}
footer small {
  color: #6F7A84;
  margin-top: 5px;
  font-size: 0.98rem;
}

/* GENERIC COMPONENTS --------------------- */
.cta {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 12px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* FORMS (if present) --------------------- */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  color: #252B31;
  background: #F7F9FB;
  border: 1.5px solid #31353B;
  border-radius: 5px;
  padding: 9px 13px;
  margin-bottom: 14px;
  width: 100%;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #46B5D1;
  outline: none;
}
label {
  display: block;
  margin-bottom: 7.5px;
  color: #46B5D1;
  font-size: 1.01rem;
}

/* ADDRESS/CONTACT ICONS ------------------ */
.address-snippet img, .address-details img, .office-hours img, ul li img {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  filter: invert(38%) sepia(57%) saturate(542%) hue-rotate(165deg) brightness(1.15);
}

/* RESPONSIVENESS ------------------------- */
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
    padding: 0 8px;
  }
  .feature-grid > div {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }
  .section {
    padding: 28px 7px;
    margin-bottom: 34px;
  }
  .content-grid,
  .card-container,
  .feature-grid,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .cta-banner { padding: 24px 5vw; }
  .testimonial-card,
  .feature-grid > div {
    min-width: 0;
    max-width: 100%;
    padding: 18px 9px 16px 13px;
  }
  header .container {
    flex-direction: row;
    padding: 14px 4px 10px 4px;
    gap: 11px;
  }
  .address-snippet, .address-details {
    gap: 6px;
  }
  footer .container {
    gap: 4px;
    padding: 0 4px;
  }
}

/* ANIMATIONS & MICRO-INTERACTIONS -------- */
.button, .button.button-primary {
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.2s, transform 0.14s;
}
.button:active, .button.button-primary:active {
  transform: scale(0.97);
}
.card, .feature-grid > div {
  transition: box-shadow 0.18s, border-color 0.21s, transform 0.13s;
}
.card:hover, .feature-grid > div:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 6px 24px 0 rgba(70, 181, 209, 0.15),0 4px 32px 0 rgba(0,20,40,0.07);
}

/* COOKIE CONSENT BANNER ------------------ */
.cookie-consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  z-index: 9998;
  background: none;
}
.cookie-consent-inner {
  background: #252B31;
  color: #E9ECF3;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -2px 28px 0 rgba(0,30,40,0.15);
  padding: 26px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  max-width: 96vw;
}
.cookie-consent p {
  font-size: 1rem;
  color: #E9ECF3;
  margin-bottom: 8px;
}
.cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 5px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-button {
  border: none;
  border-radius: 6px;
  padding: 9px 21px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  outline: none;
}
.cookie-accept {
  background: #46B5D1;
  color: #003459;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #003459;
  color: #fff;
  box-shadow: 0 1px 8px 0 rgba(70,181,209,0.13);
}
.cookie-reject {
  background: #252B31;
  color: #E9ECF3;
  border: 1.5px solid #46B5D1;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #003459;
  color: #fff;
}
.cookie-settings {
  background: #31353B;
  color: #46B5D1;
  border: 1.5px solid #46B5D1;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #46B5D1;
  color: #003459;
}

/* COOKIE MODAL --------------------------- */
.cookie-modal-overlay {
  position: fixed;
  top:0;left:0;right:0;bottom:0;
  background: rgba(30,36,40,0.88);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  animation: fadeInModalBg 0.25s;
}
@keyframes fadeInModalBg {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #252B31;
  border-radius: 14px;
  padding: 36px 32px 24px 32px;
  max-width: 95vw;
  min-width: 320px;
  color: #E9ECF3;
  position: relative;
  box-shadow: 0 0 100px 0 rgba(0,10,30,0.15);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: showModal 0.25s cubic-bezier(.65,0,.18,1);
}
@keyframes showModal {
  from { transform: scale(0.95) translateY(48px); opacity: 0; }
  to   { transform: scale(1) translateY(0);       opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 2rem;
  color: #46B5D1;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  padding: 5px 13px 5px 5px;
  transition: background 0.12s, color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #003459;
  color: #E9ECF3;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 11px;
}
.cookie-category-label {
  font-size: 1.04rem;
  font-weight: 600;
  min-width: 140px;
  color: #46B5D1;
}
.cookie-toggle {
  width: 36px;
  height: 22px;
  background: #31353B;
  border-radius: 15px;
  position: relative;
  margin-left: 7px;
  cursor: pointer;
  box-shadow: 0 0.7px 3px 0 rgba(70,181,209, 0.08);
}
.cookie-toggle input {
  opacity: 0;
  width: 36px;
  height: 22px;
  position: absolute;
  left: 0; top: 0;
  cursor: pointer;
}
.cookie-toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #46B5D1;
  border-radius: 50%;
  transition: left 0.2s, background 0.2s;
  box-shadow: 0 0.5px 2px 0 rgba(70,181,209,0.13);
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  left: 16px;
  background: #003459;
}
.cookie-category-desc {
  font-size: 0.97rem;
  color: #A4B5C7;
  margin-left: 18px;
}

/* UNIQUE/UTILITY CLASSES ----------------- */
.text-center { text-align: center; }
.d-none { display: none !important; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 26px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 38px; }

/* INDUSTRIAL MODERN DETAILS -------------- */
.card, .feature-grid > div, .cookie-modal, .cookie-consent-inner {
  box-shadow: 0 1.5px 11px 0 rgba(60,70,90,0.08), 0 0.5px 2px 0 rgba(70,181,209,0.04);
  border: 1.5px solid #31353B;
}

hr {
  border: none;
  border-top: 1.5px solid #252B31;
  margin: 24px 0;
}

/* SCROLLBAR MODERNIZATION ---------------- */
::-webkit-scrollbar { width: 10px; background: #252B31; }
::-webkit-scrollbar-thumb { background: #31353B; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #003459; }

/* MISC: PREVENT OVERLAP, GAPS, ETC. ----- */
section + section {
  margin-top: 0;
}
.section + .section {
  margin-top: 0;
}
.section, .card, .feature-grid > div, .testimonial-card {
  margin-bottom: 32px;
}
.content-wrapper {
  margin-bottom: 1px;
}

/* ACCESSIBILITY COLORS (EMPHASIZE CONTRAST) ----- */
@media (prefers-color-scheme: dark) {
  body, header, footer, .container {
    background: #181E22;
    color: #E9ECF3;
  }
  .testimonial-card { background: #F7F9FB; color: #181E22; }
}

/* FOCUS VISIBILITY ----------------------- */
a:focus-visible, .button:focus-visible, .cookie-button:focus-visible, .mobile-menu-toggle:focus-visible, .mobile-menu-close:focus-visible, .cookie-modal-close:focus-visible {
  outline: 2.5px dashed #46B5D1;
  outline-offset: 2.5px;
  z-index: 5;
}

/* PRINT ----------------------------- */
@media print {
  header, footer, .mobile-menu, .cookie-consent, .cookie-modal-overlay { display: none !important; }
  .container { max-width: 100vw; padding: 0; }
}
