/* -------------------------------
   CSS RESET & BASE STYLES
------------------------------- */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #f4f7fa;
  color: #124559;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased; 
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #124559;
  text-decoration: none;
  transition: color .18s;
}
a:hover, a:focus {
  color: #F06449;
  outline: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #124559;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.6rem; margin-top: 24px; }
h3 { font-size: 1.22rem; margin-top: 16px; }
h4 { font-size: 1.05rem; }
.subtitle {
  color: #2d3846;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 20px;
  max-width: 560px;
}
p, ul, ol, table {
  margin-bottom: 16px;
}
ul, ol {
  padding-left: 22px;
}
li {
  margin-bottom: 8px;
  font-size: 1rem;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* BORDERS & SHADOWS */
.card, .service-card, .testimonial-card, .feature-item {
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(18,69,89,0.06), 0 1.5px 3px 0 rgba(18,69,89,0.08);
}

/* -------------------------------------
   CONTAINER SYSTEM & STRUCTURED SIZING
------------------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(18,69,89,0.06);
  padding: 24px;
  flex: 1 1 300px;
  min-width: 260px;
}
.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;
  padding: 20px;
  margin-bottom: 20px;
  background: #ffffff;
  border: 1px solid #e1e5ea;
  box-shadow: 0 2px 10px 0 rgba(18,69,89,0.06);
  color: #124559;
  font-size: 1.05rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  flex: 1 1 220px;
  background: #fff;
  padding: 24px 16px 20px 16px;
  box-shadow: 0 2px 12px 0 rgba(18,69,89,0.08);
  border: 1px solid #e1e5ea;
  margin-bottom: 20px;
}
.feature-item img {
  width: 38px;
  height: 38px;
}
.rating-summary {
  font-weight: 700;
  color: #124559;
  background: #e9eff4;
  border-radius: 8px;
  padding: 8px 18px;
  margin-top: 12px;
  display: inline-block;
  font-size: 1rem;
}

/*******************************************
 HERO BANNER
*******************************************/
.hero {
  min-height: 330px;
  background: linear-gradient(120deg, #e1e5ea 60%, #f4f7fa);
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 16px;
}

/*******************************************
 HEADER & NAVIGATION
*******************************************/
header {
  background: #fff;
  border-bottom: 1px solid #e1e5ea;
  box-shadow: 0 1px 12px rgba(18,69,89,0.04);
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
header img {
  height: 42px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
nav a {
  padding: 6px 12px;
  border-radius: 6px;
  position: relative;
  color: #124559;
  font-weight: 500;
  transition: background .14s, color .14s;
}
nav a:hover, nav a:focus {
  background: #e1e5ea;
  color: #F06449;
}

.cta-button {
  color: #fff;
  background: #124559;
  border: none;
  border-radius: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
  padding: 11px 24px;
  margin-left: 28px;
  box-shadow: 0 2px 12px rgba(18,69,89,0.13);
  cursor: pointer;
  display: inline-block;
  transition: background 0.13s, color 0.13s, box-shadow 0.18s;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: #22688a;
  color: #ffffff;
  box-shadow: 0 6px 24px 0 rgba(18,69,89,0.19);
}

button,
.mobile-menu-toggle,
.mobile-menu-close {
  font-family: inherit;
  font-size: 1.45rem;
  border: none;
  background: none;
  color: #124559;
  cursor: pointer;
  padding: 8px 12px;
  transition: background .18s, color .14s;
  border-radius: 8px;
}
button:focus,
.mobile-menu-toggle:focus,
.mobile-menu-close:focus {
  outline: 2px solid #F06449;
  background: #f6eeeb;
}
.mobile-menu-toggle {
  display: none;
  margin-left: 20px;
  font-size: 2.1rem;
  background: #f4f7fa;
  color: #124559;
  border-radius: 7px;
  height: 44px;
  width: 44px;
  align-items: center;
  justify-content: center;
}

/*******************************************
 MOBILE NAVIGATION
*******************************************/
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 88vw;
  max-width: 370px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -4px 0 24px rgba(18,69,89,0.15);
  transform: translateX(105%);
  transition: transform .36s cubic-bezier(.55,.19,.27,1.17);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px 20px 15px;
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background-color: #f4f7fa;
  color: #124559;
  font-size: 2rem;
  margin-bottom: 8px;
  border-radius: 8px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
}
.mobile-nav a {
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 8px;
  border-radius: 7px;
  transition: background .13s, color .13s;
  color: #124559;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e1e5ea;
  color: #F06449;
}

/*******************************************
 FOOTER
*******************************************/
footer {
  background: #124559;
  color: #fff;
  padding: 44px 0 20px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 28px;
  justify-content: space-between;
}
footer img {
  height: 38px;
  width: auto;
  margin-bottom: 10px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
footer nav a {
  color: #e1e5ea;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 0;
  background: none;
  border-radius: 6px;
  transition: color .16s, background .16s;
}
footer nav a:hover,footer nav a:focus { color: #F06449; background: #e1e5ea11; }
.footer-contact p {
  margin-bottom: 6px;
  font-size: 0.96rem;
  color: #e1e5ea;
}

/*******************************************
 FORMS, TABLES, CARDS, LISTS
*******************************************/
.contact-details {
  background: #e9eff4;
  border-radius: 10px;
  padding: 18px 24px;
  margin-bottom: 20px;
  font-size: 1rem;
  color: #124559;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.address-map {
  padding: 16px 0 0 0;
  font-size: 1rem;
  color: #768694;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 1rem;
}
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid #e1e5ea;
}
.pricing-table th {
  background: #124559;
  color: #fff;
}
.pricing-table tr:nth-child(even) td {
  background: #f6f8fa;
}
.price {
  display: inline-block;
  color: #F06449;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.11rem;
  margin-top: 7px;
}
.text-section {
  background: none;
  border-radius: 0;
  color: #124559;
  font-size: 1.02rem;
  margin-bottom: 14px;
  line-height: 1.6;
}
.service-list {
  margin: 12px 0 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
}
.service-card {
  min-width: 220px;
  flex: 1 1 220px;
  padding: 22px 18px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e1e5ea;
  margin-bottom: 20px;
  box-shadow: 0 2.5px 12px 0 rgba(18,69,89,0.08);
  display: flex;
  flex-direction: column;
}

/*******************************************
 BUTTONS & INTERACTIONS
*******************************************/
button,
input[type="submit"],
.cta-button {
  transition: background .2s, color .16s, box-shadow .19s, border-color .14s;
}
button:active,
input[type="submit"]:active,
.cta-button:active {
  background: #F06449;
  color: #fff;
}
button[disabled],
input[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Micro interactions for icons/buttons */
button:active, .cta-button:active, .mobile-menu-toggle:active {
  transform: scale(0.97);
}

/*******************************************
 FLEXBOX-LAYOUTS FOR ALL CONTENT
*******************************************/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-left: 4px solid #124559;
}
.testimonial-card strong {
  display: block;
  margin-top: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #124559;
  font-weight: 600;
}

/*******************************************
 COOKIE CONSENT BANNER & MODAL
*******************************************/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: #124559;
  color: #fff;
  padding: 24px 17px 19px 17px;
  box-shadow: 0 -2px 16px 0 rgba(18,69,89,0.14);
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  transition: transform .30s cubic-bezier(.55,.19,.27,1.17);
}
.cookie-banner.hide {
  transform: translateY(110%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner__text {
  flex: 1 1 230px;
  max-width: 620px;
  margin-right: 12px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.cookie-btn {
  padding: 7px 20px;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin: 0 6px 0 0;
  transition: background 0.14s, color 0.14s;
}
.cookie-btn.accept {
  background: #F06449;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #d8543c;
  color: #fff;
}
.cookie-btn.reject {
  background: #e1e5ea;
  color: #124559;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #cbe0ec;
  color: #F06449;
}
.cookie-btn.settings {
  background: transparent;
  border: 2px solid #e1e5ea;
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #e1e5ea11;
  color: #F06449;
  border-color: #F06449;
}

/* Cookie Modal Styles */
.cookie-modal {
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  z-index: 2100;
  background: rgba(18,69,89, .49);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .22s;
}
.cookie-modal.open {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal__box {
  background: #fff;
  padding: 34px 28px 28px 28px;
  border-radius: 12px;
  max-width: 460px;
  min-width: 290px;
  width: 90vw;
  box-shadow: 0 6px 32px rgba(18,69,89,0.14);
  display: flex;
  flex-direction: column;
  gap: 21px;
  color: #124559;
  font-size: 1.07rem;
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #f4f7fa;
  color: #124559;
  border-radius: 7px;
  border: none;
  font-size: 1.5rem;
  padding: 4px 10px;
  cursor: pointer;
  transition: background .12s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #e1e5ea;
}
.cookie-list {
  list-style: none;
  margin: 0 0 18px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-list__item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f7f9fb;
  border-radius: 7px;
  padding: 10px 13px;
}
.cookie-toggle {
  width: 42px;
  height: 22px;
  background: #e1e5ea;
  border-radius: 11px;
  position: relative;
  cursor: pointer;
  border: 1.5px solid #cbd1dc;
  margin-right: 0;
  transition: background .14s;
  flex-shrink: 0;
}
.cookie-toggle[aria-checked="true"] {
  background: #124559;
}
.cookie-toggle__circle {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px 0 rgba(18,69,89,0.05);
  transition: left .17s;
}
.cookie-toggle[aria-checked="true"] .cookie-toggle__circle {
  left: 22px;
}
.cookie-list__label {
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #124559;
}
.cookie-list__desc {
  color: #767e86;
  font-size: 0.96rem;
}
.cookie-modal__submit {
  padding: 10px 23px;
  border-radius: 8px;
  background: #124559;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 17px;
  align-self: flex-end;
  cursor: pointer;
  transition: background .14s;
}
.cookie-modal__submit:hover, .cookie-modal__submit:focus {
  background: #22688a;
}

/***************************************
 RESPONSIVE DESIGN
***************************************/
@media (max-width: 1180px) {
  .container { max-width: 990px; }
}
@media (max-width: 990px) {
  .container { max-width: 98vw; }
  nav { gap: 14px; }
  .footer-contact p { font-size: 0.92rem; }
}
@media (max-width: 780px) {
  .footer-contact p { font-size: 0.90rem; }
  .container { max-width: 100vw; padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 900px) {
  .service-list, .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .footer-contact, footer nav { margin-bottom: 12px; }
}
@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    height: auto;
    min-height: 68px;
    gap: 8px;
  }
  nav {
    display: none;
  }
  .cta-button {
    margin-left: 0;
    margin-top: 7px;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero {
    min-height: 180px;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 46px;
  }
  .service-list, .feature-grid, .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .footer-contact, footer nav { margin-bottom: 16px; }
  footer .container { flex-direction: column; align-items: flex-start; gap: 18px; }
  .testimonial-card {
    font-size: 1rem;
    padding: 14px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.08rem; }
  .section { padding-left: 2px; padding-right: 2px; }
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/***************************************
 ANIMATIONS
***************************************/
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.section, .hero, .feature-item, .service-card, .testimonial-card, .contact-details {
  animation: fadeInUp .67s cubic-bezier(.47,.29,.33,1.12) both;
}

/*******************************************
 UTILITY CLASSES
********************************************/
.flex, .d-flex { display: flex; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.gap-20 { gap: 20px; }
.mr-2 { margin-right: 8px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.rounded { border-radius: 8px; }
.bg-primary { background: #124559; color: #fff; }

/*******************************************
 OVERRIDES & ACCESSIBILITY
*******************************************/
:focus {
  outline: 2px solid #F06449;
  outline-offset: 1px;
}
[role="button"]:focus {
  outline: 2px solid #22688a;
}
::-webkit-input-placeholder {
  color: #768694;
}
::-moz-placeholder {
  color: #768694;
}
:-ms-input-placeholder {
  color: #768694;
}
::placeholder {
  color: #768694;
}

/*******************************************
 PRINT OVERRIDES
*******************************************/
@media print {
  header,.mobile-menu,.cookie-banner,.cookie-modal,footer { display: none !important; }
  body, .container, main { background: #fff; color: #111 !important; }
}
