/* ==== CSS RESET & BASE ==== */
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;
  background: #F8F7F3;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1a2632;
  min-height: 100vh;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

*, *:before, *:after {
  box-sizing: inherit;
}

main {
  flex: 1 0 auto;
  width: 100%;
}

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

.container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-section {
  align-items: flex-start;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #234E70;
  margin-bottom: 12px;
}
h1 { font-size: 2.75rem; line-height: 1.18; }
h2 { font-size: 2.0rem; line-height: 1.24; }
h3 { font-size: 1.31rem; line-height: 1.3; }
h4 { font-size: 1.13rem; }
h5 { font-size: 1rem; }

p, ul, ol, address, table, th, td {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #263849;
  margin-bottom: 14px;
}

ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

li img {
  width: 28px;
  height: 28px;
  margin-right: 14px;
  vertical-align: middle;
}

strong {
  font-weight: 600;
}

address {
  font-style: normal;
  color: #234E70;
  font-size: 1rem;
  margin-bottom: 8px;
}

a {
  color: #1a2632;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #234E70;
  text-decoration: underline;
}

/* ==== HEADER & NAVIGATION ==== */
header {
  background: #fff;
  border-bottom: 1px solid #e3e8ee;
  box-shadow: 0 2px 8px 0 rgba(35,78,112,.03);
  padding: 0;
  position: relative;
  z-index: 11;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #234E70;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 8px;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #E1E8EF;
  color: #13314D;
  text-decoration: none;
}
header a.btn-primary {
  margin-left: auto;
}
header img {
  height: 46px;
  width: auto;
  vertical-align: middle;
}

/* ==== BUTTONS ==== */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.06rem;
  padding: 13px 32px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.2s;
}
.btn-primary {
  background: #234E70;
  color: #fff;
  box-shadow: 0 2px 8px rgba(35,78,112,0.07);
}
.btn-primary:hover, .btn-primary:focus {
  background: #183553;
  color: #fff;
  box-shadow: 0 3px 16px rgba(35,78,112,0.16);
}
.btn-secondary {
  background: #fff;
  color: #234E70;
  border: 2px solid #234E70;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #234E70;
  color: #fff;
  border-color: #234E70;
  box-shadow: 0 3px 14px rgba(35,78,112,0.12);
}

/* ==== MAIN CONTENT LAYOUT ==== */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid #e1e8ef;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(35,78,112,0.06);
  flex: 1 1 250px;
  min-width: 260px;
  max-width: 340px;
  padding: 32px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.19s, border 0.14s;
}
.service-card:hover {
  border-color: #9FB3C8;
  box-shadow: 0 8px 24px rgba(35,78,112,0.10);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(35,78,112,0.07);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== TESTIMONIALS ==== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F8F7F3;
  border: 1px solid #e1e8ef;
  border-left: 5px solid #234E70;
  border-radius: 6px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px rgba(35,78,112,.06);
  color: #234E70 !important;
  font-size: 1.075rem;
  min-width: 0;
}
.testimonial-card p {
  font-style: italic;
  color: #234E70;
  margin: 0;
}
.testimonial-card strong {
  font-weight: 600;
  color: #1a2632;
}
.testimonial-card span {
  color: #FDAE16;
  font-size: 1.15em;
  margin-left: 8px;
}

/* ==== TABLES ==== */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(35,78,112,.07);
  margin-bottom: 20px;
}
th {
  text-align: left;
  background: #234E70;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1em;
  padding: 16px 8px;
}
td {
  color: #263849;
  padding: 16px 8px;
  border-bottom: 1px solid #e3e8ee;
  font-size: 1em;
}
tr:last-child td {
  border-bottom: none;
}

/* ==== MAP EMBED / ICON SECTIONS ==== */
.map-embed {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ededed;
  border-radius: 6px;
  padding: 12px 18px;
  color: #234E70;
  margin-bottom: 8px;
  font-size: 1rem;
  box-shadow: 0 0 0.5px #bcccdc;
}
.map-embed img {
  width: 28px;
  height: 28px;
  opacity: 0.85;
}

/* ==== FOOTER ==== */
footer {
  background: #234E70;
  color: #fff;
  padding-top: 38px;
  padding-bottom: 28px;
  border-top: 4px solid #9FB3C8;
  margin-top: 60px;
  font-size: 0.96rem;
  width: 100%;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px 22px;
}
.footer-logo img {
  width: 54px;
  height: auto;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 14px;
  align-items: flex-start;
  flex: 1;
}
.footer-nav a {
  color: #fff;
  opacity: 0.93;
  transition: color 0.17s, opacity 0.19s;
  font-family: 'Montserrat', Arial;
  font-size: 1rem;
  padding: 3px 6px;
  border-radius: 2px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FDAE16;
  opacity: 1;
  background: rgba(255,255,255,.06);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 210px;
}
.footer-contact address, .footer-contact span, .footer-contact a {
  color: #e2eaff;
  font-size: 1em;
  word-break: break-word;
}
.footer-contact a {
  text-decoration: underline;
  color: #fff;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 1em;
  color: #9FB3C8;
}
.footer-social img {
  width: 28px;
  height: 28px;
  fill: #9FB3C8;
  opacity: 0.9;
}
.footer-copyright {
  flex-basis: 100%;
  text-align: left;
  margin-top: 16px;
  color: #b3c7de;
  font-size: 0.92em;
}

/*==== MOBILE MENU ====*/
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 105;
  background: #234E70;
  color: #fff;
  border: none;
  border-radius: 5px;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(35,78,112,0.13);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #183553;
  color: #fff;
}

.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: #234E70;
  box-shadow: 0 2px 24px rgba(35,78,112,0.26);
  z-index: 120;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.7,.1,.22,1);
  opacity: 0.99;
  padding: 36px 22px 22px 22px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 121;
  transition: color 0.18s;
  padding: 4px 7px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FDAE16;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  margin-top: 38px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.34rem;
  font-weight: 600;
  padding: 16px 8px;
  border-radius: 4px;
  transition: background 0.16s, color 0.14s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #16344A;
  color: #FDAE16;
}
/* Hide desktop nav on mobile */
@media (max-width: 950px) {
  header nav, header .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}

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


/* ==== SPACING & FLEXBOX MANDATORY PATTERNS ==== */
/* Section, Card Patterns, etc already included above! */

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #234E70;
  color: #fff;
  z-index: 200;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 18px;
  box-shadow: 0 -2px 16px rgba(35,78,112,0.16);
  font-size: 1rem;
  animation: bannerIn 0.57s ease;
}
@keyframes bannerIn {
  0% { transform: translateY(100%); opacity:0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-text {
  flex: 1 1 0;
  color: #fff;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner .btn-cookie {
  font-family: 'Montserrat', Arial;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.13s;
  outline: none;
}
.cookie-banner .btn-accept {
  background: #FDAE16;
  color: #234E70;
}
.cookie-banner .btn-accept:hover, .cookie-banner .btn-accept:focus {
  background: #ffe3b2;
  color: #234E70;
}
.cookie-banner .btn-reject {
  background: #eee;
  color: #234E70;
}
.cookie-banner .btn-reject:hover, .cookie-banner .btn-reject:focus {
  background: #E1E8EF;
  color: #234E70;
}
.cookie-banner .btn-settings {
  background: transparent;
  color: #FDAE16;
  border: 2px solid #FDAE16;
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
  background: #FDAE16;
  color: #234E70;
}

/* ==== COOKIE PREFERENCES MODAL ==== */
.cookie-modal {
  position: fixed;
  left: 0; right:0; top:0; bottom:0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18,36,58,0.48);
  animation: modalIn 0.24s cubic-bezier(.77,.12,.24,1);
}
@keyframes modalIn {
  0% { opacity:0; }
  100% { opacity:1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(35,78,112,0.23);
  padding: 36px 24px 30px 24px;
  min-width: 300px;
  max-width: 96vw;
  width: 450px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}
.cookie-modal-content h2 {
  color: #234E70;
  font-size: 1.6rem; margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 9px;
}
.cookie-category label {
  font-family: 'Roboto', Arial;
  font-weight: 500;
  font-size: 1em;
  color: #234E70;
}
.cookie-toggle {
  appearance: none;
  width: 34px;
  height: 20px;
  background: #E1E8EF;
  border-radius: 11px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-toggle:checked {
  background: #234E70;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  width: 16px; height: 16px;
  background: #fff;
  transition: transform 0.15s;
}
.cookie-toggle:checked:before {
  transform: translateX(14px);
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #234E70;
  z-index: 251;
  cursor: pointer;
  padding: 2px 5px;
  transition: color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #FDAE16;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1100px) {
  .container { max-width: 1024px; }
  .service-cards { flex-direction: column; align-items: stretch; }
}
@media (max-width: 900px) {
  .container { max-width: 760px; }
  main .container { padding-left: 6px; padding-right: 6px; }
}
@media (max-width: 768px) {
  body, html { font-size: 15px; }
  header .container { gap: 11px; min-height: 68px; }
  .section, section { padding: 26px 5px; margin-bottom: 38px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .service-card, .card { padding: 18px 8px; min-width: unset; }
  .service-cards, .content-grid, .card-container { flex-direction: column; gap: 18px; }
  .footer-nav { flex-direction: column; flex-basis: 100%; }
  .container { padding: 0 4px; }
}
@media (max-width: 600px) {
  footer .container, .footer-contact, .footer-social { flex-direction: column; gap: 8px !important; }
  .footer-logo { margin-bottom: 8px; }
  .footer-nav { gap: 10px 6px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.3rem; }
  .container { padding: 0 2px; }
  .footer-logo img { width: 38px; }
  .service-card, .card { padding: 11px 3px; }
}

/* ==== CARD/SECTION MARGIN LOGIC ==== */
.section, section, .card, .testimonial-card {
  margin-bottom: 60px;
  margin-top: 0;
}
.card, .testimonial-card {
  margin-bottom: 20px;
}

/* ==== DISABLED STATES, MISC ==== */
button:disabled, .btn-primary:disabled, .btn-secondary:disabled {
  background: #e7e7e7 !important;
  color: #b1b1b1 !important;
  cursor: not-allowed;
  opacity: 0.7;
}

/* ==== FOCUS STYLES (ACCESSIBILITY) ==== */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px solid #FDAE16;
  outline-offset: 2px;
}

/* ==== MICRO-INTERACTIONS ==== */
.btn-primary, .btn-secondary, .btn-cookie, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.18s, color 0.16s, box-shadow 0.18s, border 0.13s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(35,78,112,0.12);
}
@media (hover: none) {
  .service-card:hover { transform: none; box-shadow: 0 2px 8px rgba(35,78,112,0.05); }
}

/* ==== PRINT STYLES ==== */
@media print {
  body, html, main, section, .container { background: #fff !important; color: #000 !important; }
  header, nav, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
}
