/* ============================== */
/* CSS RESET & NORMALIZE           */
/* ============================== */
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, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body { line-height: 1.5; }
ol, ul { list-style: none; }
a { background: transparent; text-decoration: none; color: inherit; }
img { border: 0; max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; background: none; border: none; outline: none; }
button { cursor: pointer; }

/* ============================== */
/* FONT & COLOR VARIABLES         */
/* ============================== */
:root {
  --color-primary: #145361;
  --color-primary-light: #187586;
  --color-primary-rgb: 20,83,97;
  --color-secondary: #FFFFFF;
  --color-secondary-alt: #F5F3F0;
  --color-accent: #FFB100;
  --color-gray-100: #F5F3F0;
  --color-gray-800: #35404B;
  --color-border: #E0E4E8;
  --color-shadow: rgba(20,83,97,0.07);

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

@media (max-width: 400px) {
  html { font-size: 15px; }
}

/* ============================== */
/* GLOBAL TYPOGRAPHY & BACKGROUND */
/* ============================== */
html {
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  background: var(--color-secondary);
  color: var(--color-gray-800);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.32rem; margin-bottom: 12px; margin-top: 0; }
h4, h5, h6 { font-size: 1.12rem; margin-bottom: 8px; }
p, ul, ol, li {
  font-size: 1rem;
  color: #26323a;
  margin-bottom: 16px;
  line-height: 1.7;
}
.subheadline {
  font-size: 1.125rem;
  color: var(--color-primary-light);
  margin-bottom: 20px;
  font-family: var(--font-body);
}
b, strong {
  font-weight: bold;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-secondary-alt);
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--color-shadow);
  transition: box-shadow 0.2s;
}

/* Card Containers and Grids */
.card-container, .feature-grid, .testimonial-grid, .value-grid, .team-profiles, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.feature-grid {
  gap: 28px;
}

/* Cards */
.card, .service-box, .testimonial-card, .value-statement, .team-profile, .service-detail, .service-overview {
  background: var(--color-secondary);
  border-radius: 14px;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  transition: box-shadow 0.2s;
}
.card:hover, .service-box:hover, .testimonial-card:hover, .value-statement:hover, .team-profile:hover {
  box-shadow: 0 4px 28px rgba(20, 83, 97, 0.10);
}

/* ============================== */
/* FEATURE-ITEM & FLEX COMPONENTS */
/* ============================== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-secondary);
  padding: 26px 20px;
  border-radius: 14px;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}

.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;
  padding: 20px;
  background: #fff;
  box-shadow: 0 1px 10px var(--color-shadow);
  border-left: 4px solid var(--color-accent);
  border-radius: 12px;
  min-width: 260px;
  max-width: 360px;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #19242a;
  font-size: 1.05rem;
  margin-bottom: 0;
}
.testimonial-card span {
  color: var(--color-primary-light);
  font-size: 0.98rem;
  margin-top: 12px;
  font-family: var(--font-display);
}

.team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  justify-content: flex-start;
}
.team-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--color-gray-100);
  border-radius: 14px;
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 20px 16px;
  min-width: 180px;
  max-width: 220px;
  margin-bottom: 20px;
}
.team-profile img {
  width: 42px;
  height: 42px;
  margin-bottom: 6px;
}
.team-profile h3 {
  font-size: 1.1rem;
  margin-bottom: 2px;
  margin-top: 0;
}
.team-profile p {
  font-size: 0.98rem;
  color: var(--color-gray-800);
}

.value-grid {
  gap: 28px;
  margin-bottom: 12px;
}
.value-statement {
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 220px;
}

.brand-promise {
  background: var(--color-secondary);
  border-radius: 12px;
  box-shadow: 0 1px 6px var(--color-shadow);
  padding: 22px 18px;
  margin-top: 24px;
}

.service-box {
  flex: 1 1 202px;
  transition: box-shadow 0.18s;
  margin-bottom: 20px;
  max-width: 256px;
  box-shadow: 0 1px 10px var(--color-shadow),0px 1px 0 var(--color-border);
  border-left: 4px solid var(--color-primary-light);
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-start;
}
.service-box img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}
.service-box h3 {
  font-size: 1.1rem;
  color: var(--color-primary-light);
  margin-bottom: 2px;
  margin-top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.service-box h3 span {
  color: var(--color-accent);
  font-size: 1rem;
  font-weight: 700;
  margin-left: 6px;
}

.service-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  background: var(--color-secondary-alt);
  box-shadow: none;
  padding: 24px 18px;
  border-radius: 10px;
}
.service-overview {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-secondary);
  border-radius: 8px;
  box-shadow: 0 1px 6px var(--color-shadow);
  padding: 14px 12px;
  min-width: 160px;
  max-width: 220px;
}
.service-overview img {
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
}

.text-section {
  max-width: 800px;
}

.privacy-note {
  margin-top: 16px;
  font-size: 0.97rem;
  color: var(--color-primary-light);
}
.privacy-note a {
  color: var(--color-accent);
  text-decoration: underline;
}

.map-placeholder {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-secondary-alt);
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 16px;
}
.map-placeholder img {
  width: 34px;
  height: 34px;
}
.map-placeholder span {
  font-size: 1rem;
  color: var(--color-primary);
}

.contact-list {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #24313e;
}
.contact-list li {
  margin-bottom: 8px;
}

.content-wrapper a.cta-btn {
  align-self: flex-start;
}

@media (max-width: 900px) {
  .container { max-width: 900px; }
  .feature-grid, .card-container, .team-profiles {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.3rem; }
  .container { max-width: 98vw; padding: 0 8px; }
  .section { padding: 28px 10px; }
  .testimonial-card, .service-box, .value-statement {
    max-width: 100%;
    min-width: 180px;
    padding: 18px 8px;
  }
  .feature-item { padding: 18px 8px; }
  .service-box { max-width: 100%; }
  .service-detail {
    flex-direction: column;
    gap: 18px;
    padding: 14px 5px;
  }
  .team-profiles, .feature-grid, .value-grid, .testimonial-grid {
    gap: 14px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
}

/* ============================== */
/* HEADER & NAVIGATION            */
/* ============================== */
header {
  background: var(--color-secondary);
  border-bottom: 1px solid var(--color-gray-100);
  box-shadow: 0 2px 12px var(--color-shadow);
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  min-height: 68px;
}
.logo {
  margin-right: 24px;
  display: flex;
  align-items: center;
}
.logo img {
  height: 36px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-weight: 500;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  transition: color 0.18s;
  padding: 4px 0 0 0;
  position: relative;
}
.main-nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.18s;
  position: absolute;
  bottom: -2px;
  left: 0;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-primary-light);
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 100%;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 24px;
  border: none;
  padding: 12px 26px;
  box-shadow: 0 2px 10px var(--color-shadow);
  margin-left: 28px;
  margin-right: 0;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.14s;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-primary-light);
  color: var(--color-secondary);
  box-shadow: 0 6px 20px rgba(20,83,97,0.14);
  transform: translateY(-2px) scale(1.03);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--color-primary);
  font-size: 2rem;
  border: none;
  margin-left: 24px;
  z-index: 41;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 990px) {
  .main-nav { gap: 14px; }
  header .container { padding: 14px 12px; }
}
@media (max-width: 820px) {
  .main-nav { gap: 8px; }
}
@media (max-width: 768px) {
  .main-nav, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ============================== */
/* MOBILE MENU / OVERLAY          */
/* ============================== */
.mobile-menu {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,83,97,0.97);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: var(--color-secondary);
  font-size: 2.5rem;
  border: none;
  margin: 24px 32px 12px 0;
  transition: color 0.18s;
  z-index: 1002;
  width: 42px;
  height: 42px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 32px;
}
.mobile-nav a {
  color: var(--color-secondary);
  font-size: 1.2rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 8px 0;
  border-radius: 8px;
  transition: background 0.13s, color 0.13s;
  width: 100%;
  margin-bottom: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-primary-light);
  color: var(--color-accent);
}

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

/* ============================== */
/* FOOTER STYLES                  */
/* ============================== */
footer {
  background: var(--color-primary);
  color: var(--color-secondary);
  font-family: var(--font-body);
  padding: 44px 0 18px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-logo img {
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  filter: brightness(1.08);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: var(--color-accent);
  font-size: 1rem;
  font-family: var(--font-display);
  transition: color 0.16s;
  border-radius: 8px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
  background: var(--color-primary-light);
}
.footer-contact {
  color: var(--color-secondary-alt);
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}
.footer-copy {
  font-size: 0.97rem;
  color: var(--color-gray-100);
  opacity: 0.94;
}
@media (max-width: 600px) {
  footer .container { padding: 0 2vw; }
  .footer-logo img { width: 36px; height: 36px; }
}

/* ============================== */
/* BUTTONS, LINKS & INTERACTIONS  */
/* ============================== */
a, button {
  outline: none;
  transition: color 0.13s, background 0.13s, border-color 0.13s;
}
a:focus, button:focus {
  box-shadow: 0 0 0 3px var(--color-accent);
}
button:active, a:active {
  filter: brightness(0.98);
}

/* ============================== */
/* COOKIE CONSENT BANNER & MODAL  */
/* ============================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 9999;
  width: 100%;
  background: var(--color-secondary-alt);
  color: var(--color-primary);
  padding: 24px 18px 18px 18px;
  box-shadow: 0 -2px 20px rgba(20,83,97,0.12);
  border-top: 2px solid var(--color-primary-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1.05rem;
  animation: cookieSlideIn 0.5s cubic-bezier(0.49,0.23,0.33,1.06);
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  margin-top: 8px;
}
.cookie-banner button {
  padding: 9px 24px;
  border-radius: 8px;
  border: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  background: var(--color-primary);
  color: var(--color-secondary);
  margin-right: 0;
  transition: background 0.17s, color 0.13s;
}
.cookie-banner button.cookie-settings {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-primary-light);
  color: var(--color-secondary);
}
.cookie-banner button.cookie-reject {
  background: var(--color-gray-800);
  color: var(--color-accent);
}
.cookie-banner button.cookie-reject:hover, .cookie-banner button.cookie-reject:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(20,83,97,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.2s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--color-secondary);
  border-radius: 18px;
  box-shadow: 0 6px 40px rgba(20, 83, 97, 0.19);
  padding: 36px 28px 22px 28px;
  max-width: 95vw;
  min-width: 340px;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: scaleIn 0.24s cubic-bezier(.22,.68,.5,1.32);
}
@keyframes scaleIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 1px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-secondary-alt);
  border-radius: 10px;
  padding: 13px 18px;
  font-size: 1rem;
  color: var(--color-primary);
  box-shadow: 0 1px 6px var(--color-shadow);
}
.cookie-category .toggle {
  margin-left: auto;
}
/* Toggle */
.cookie-toggle {
  width: 36px;
  height: 22px;
  border-radius: 20px;
  background: #bcd4db;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  transition: background 0.13s;
  display: inline-block;
}
.cookie-toggle[aria-checked="true"] {
  background: var(--color-accent);
}
.cookie-toggle .toggle-knob {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-secondary);
  box-shadow: 0 1px 2px rgba(20,83,97,.13);
  transition: left 0.13s;
}
.cookie-toggle[aria-checked="true"] .toggle-knob {
  left: 17px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 2px;
  width: 100%;
  justify-content: center;
}
.cookie-modal button {
  padding: 9px 22px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  color: var(--color-secondary);
  background: var(--color-primary);
  transition: background 0.16s, color 0.12s;
}
.cookie-modal button.cookie-cancel {
  background: var(--color-gray-800);
  color: var(--color-accent);
}
.cookie-modal button.cookie-cancel:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: var(--color-primary-light);
  color: var(--color-secondary);
}
@media (max-width: 480px) {
  .cookie-modal { min-width: 90vw; padding: 14vw 5vw 5vw 5vw; }
  .cookie-banner { padding: 8vw 2.5vw 4vw 2.5vw; font-size: 0.99rem; }
}

/* ============================== */
/* RESPONSIVE TABLES & IMAGES     */
/* ============================== */
table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 1rem; }
th, td { border: 1px solid var(--color-border); padding: 8px; text-align: left; }
th { background: var(--color-primary); color: var(--color-secondary); }

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

/* ============================== */
/* UTILITY SPACING                */
/* ============================== */
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }
.text-center { text-align: center; }

/* ============================== */
/* PRINT STYLES                   */
/* ============================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { background: #fff; color: #222; }
  .container { max-width: 98vw; padding: 0 6vw; }
  .section, .card, .card-container, .feature-item, .service-box, .testimonial-card { box-shadow: none !important; }
}
