/* === CSS RESET & NORMALIZE === */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
footer span {
  color: white;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
ul, ol {
  list-style-position: inside;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, textarea, select {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
:focus {
  outline: 2px solid #FFBE3D;
  outline-offset: 2px;
}

/* === TYPOGRAPHY === */
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #222e38;
  background: #f6f8fa;
  line-height: 1.7;
}
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #225274;
  line-height: 1.1;
  margin-bottom: 18px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #21465f;
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 500;
  color: #213a49;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
}
p, ul li, ol li, span, label, input, textarea {
  font-size: 1rem;
  color: #374151;
  letter-spacing: 0.01em;
}
strong{
  font-weight: 600;
  color: #1d2b38;
}

/* === SPACING & CONTAINER === */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px 0 rgba(34, 82, 116, 0.06);
}

/* === HEADER === */
header {
  background: #225274;
  padding: 0;
  border-bottom: 1px solid #e3e9ee;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
header a img {
  height: 38px;
  margin-right: 24px;
  vertical-align: middle;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #fff;
  font-weight: 500;
  padding: 7px 6px;
  border-radius: 4px;
  transition: background 0.15s, color 0.16s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: rgba(255,255,255,0.13);
  color: #FFBE3D;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 10px 30px;
  background: #FFBE3D;
  color: #21465f;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 28px;
  margin-left: 32px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(34, 82, 116, 0.13);
  transition: background 0.18s, box-shadow 0.18s;
  text-align: center;
  text-decoration: none;
}
.cta-button:hover, .cta-button:focus {
  background: #ffd57e;
  color: #1d2b38;
  box-shadow: 0 4px 16px 0 rgba(255, 190, 61, 0.18);
}
header .mobile-menu-toggle {
  display: none;
  background: none;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  margin-left: 20px;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.18s;
}
header .mobile-menu-toggle:focus,header .mobile-menu-toggle:hover {
  background: rgba(255,255,255,0.13);
}

/* === MOBILE NAVIGATION === */
.mobile-menu {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: #234f6c;
  z-index: 1200;
  transition: transform 0.32s cubic-bezier(.61,-0.01,.36,1.04), opacity 0.25s;
  transform: translateX(-110vw);
  opacity: 0;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 48px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0vw);
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 2rem;
  background: none;
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 1220;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFBE3D;
}
.mobile-nav {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-left: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  color: #fff;
  font-weight: 600;
  padding: 10px 5px;
  border-radius: 5px;
  transition: background 0.15s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FFBE3D;
  background: rgba(255,255,255,0.09);
}

/* === MAIN / PAGE CONTENT === */
main {
  margin-top: 24px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* === HERO + CTA BANNER === */
section:first-child {
  background: linear-gradient(100deg, #ebf3fb 71%, #fff 100%);
  box-shadow: none;
}
section .cta-button {
  margin-top: 16px;
}

/* === FEATURES & CARDS === */
.card-container, .content-grid, .service-detail-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
}
.card, .service-card {
  flex: 1 1 270px;
  min-width: 230px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px 0 rgba(34, 82, 116, 0.09);
  padding: 28px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .service-card:hover {
  box-shadow: 0 6px 22px 0 rgba(34, 82, 116, 0.14);
  transform: translateY(-2px) scale(1.02);
}
.service-price {
  margin-top: 16px;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #225274;
  font-weight: 700;
}

/* === FLEXBOX PATTERNS === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  background: #f9fbfc;
  border-radius: 8px;
  box-shadow: 0 2px 8px 0 rgba(34, 82, 116, 0.06);
  margin-bottom: 20px;
  color: #1b2631;
  font-style: italic;
  flex-direction: column;
}
.testimonial-card p {
  color: #225274;
  font-size: 1.07rem;
  line-height: 1.5;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #234f6c;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  align-self: flex-end;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === CASE STUDY === */
.case-study {
  background: #f5f8fa;
  padding: 22px 18px;
  border-radius: 8px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(34,82,116,0.07);
  font-size: 1.02rem;
  color: #282f36;
}
.case-study h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #225274;
}

/* === FAQ ACCORDION === */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 12px;
}
.faq-item {
  background: #f6f8fa;
  border-radius: 7px;
  box-shadow: 0 2px 6px rgba(34, 82, 116, 0.07);
  padding: 20px 20px;
  margin-bottom: 0;
}
.faq-item h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #205173;
  font-size: 1.13rem;
  margin-bottom: 6px;
  font-weight: 600;
}
.faq-item p {
  color: #36424b;
  font-size: 1rem;
}
.faq-search-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 22px;
}
.faq-search-box label {
  color: #205173;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.faq-search-box input[type="text"] {
  padding: 8px 13px;
  font-size: 1rem;
  border: 1px solid #b6c2cd;
  border-radius: 7px;
  background: #fff;
  transition: border 0.15s;
}
.faq-search-box input[type="text"]:focus {
  border-color: #225274;
}

/* === CONTACT DETAILS & MAP === */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 1rem;
  padding: 15px 0;
}
.map-placeholder {
  background: #e2e9ef;
  border: 1px solid #c6d3e3;
  border-radius: 8px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #205173;
  font-size: 1.08rem;
}

/* === FOOTER === */
footer {
  background: #1b344e;
  color: #fff;
  padding: 40px 0 0 0;
  box-shadow: 0 -1px 10px rgba(34,82,116,0.09);
  margin-top: 60px;
  font-size: 1rem;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  opacity: 0.85;
  transition: color 0.12s, opacity 0.12s;
  padding: 2px 3px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFBE3D;
  opacity: 1;
}
.contact-footer {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  font-size: 0.97rem;
  margin-bottom: 10px;
  opacity: 0.87;
}
.footer-copy {
  font-size: 0.95rem;
  color: #c6d3e3;
  opacity: 0.7;
  margin-bottom: 16px;
}

/* === FORM ELEMENTS === */
input, textarea, select {
  background: #fff;
  border: 1px solid #c5d4e1;
  border-radius: 7px;
  padding: 8px 13px;
  transition: border 0.14s, box-shadow 0.14s;
  margin-bottom: 12px;
}
input:focus, textarea:focus, select:focus {
  border-color: #225274;
  box-shadow: 0 2px 10px rgba(34,82,116,0.065);
}
label {
  margin-bottom: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}

/* === BUTTONS === */
button, .button {
  display: inline-flex;
  align-items: center;
  padding: 10px 26px;
  border-radius: 22px;
  border: none;
  background: #225274;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 1px 4px 0 rgba(34, 82, 116, 0.10);
  transition: background 0.16s, color 0.12s, box-shadow 0.11s, transform 0.14s;
}
button:hover, button:focus, .button:hover, .button:focus {
  background: #FFBE3D;
  color: #223848;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 2px 10px 0 rgba(255, 190, 61, 0.14);
}

/* == LIST STYLES == */
ul, ol {
  padding-left: 1.35em;
  margin-bottom: 10px;
}
ul > li, ol > li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #374151;
}
ul > li strong, ol > li strong {
  color: #205173;
}

/* == TABLE (if any) == */
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  border: 1px solid #e6ecf2;
  padding: 12px 9px;
  text-align: left;
}
th {
  background: #f5f8fa;
  color: #21465f;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #225274;
  color: #fff;
  box-shadow: 0 -2px 18px 0 rgba(34,82,116,0.15);
  padding: 22px 18px 22px 18px;
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  animation: showBanner 0.29s cubic-bezier(.68,.01,.4,1.01);
}
@keyframes showBanner {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 8px 0;
  max-width: 500px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner .cookie-action {
  padding: 9px 17px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  background: #fff;
  color: #225274;
  font-size: 1rem;
  transition: background 0.16s, color 0.13s;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(34,82,116,0.11);
}
.cookie-banner .cookie-action.accept {
  background: #FFBE3D;
  color: #1b2631;
}
.cookie-banner .cookie-action.reject {
  background: #dee5ea;
  color: #2e465e;
}
.cookie-banner .cookie-action.settings {
  background: #fff;
  color: #225274;
}
.cookie-banner .cookie-action:hover, .cookie-banner .cookie-action:focus {
  background: #ffd57e;
  color: #1d2b38;
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 90vw;
  max-width: 410px;
  background: #fff;
  color: #1b2631;
  border-radius: 17px;
  box-shadow: 0 8px 32px 0 rgba(34,82,116,0.18);
  z-index: 3000;
  transform: translate(-50%, -50%) scale(0.94);
  padding: 34px 36px 30px 36px;
  display: none;
  flex-direction: column;
  gap: 21px;
  animation: showCookieModal 0.28s cubic-bezier(.68,-0.01,.37,1.01);
}
.cookie-modal.open {
  display: flex;
  transform: translate(-50%, -50%) scale(1.005);
}
@keyframes showCookieModal {
  from { opacity: 0; transform: translate(-50%,-47%) scale(0.82); }
  to { opacity: 1;  transform: translate(-50%,-50%) scale(1.005); }
}
.cookie-modal h3 {
  color: #225274;
  font-size: 1.20rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 0;
  font-size: 1rem;
  color: #205173;
}
.cookie-modal .cookie-toggle {
  width: 34px;
  height: 20px;
  background: #f6f8fa;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  border: 1px solid #c6d3e3;
  transition: background 0.21s, border 0.13s;
}
.cookie-modal .cookie-toggle.active {
  background: #225274;
  border: 1px solid #225274;
}
.cookie-modal .cookie-toggle::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(34,82,116,0.10);
  transition: left 0.16s, background 0.14s;
}
.cookie-modal .cookie-toggle.active::before {
  left: 15px;
  background: #FFBE3D;
}
.cookie-modal .cookie-category.essential .cookie-toggle {
  background: #dee5ea;
  border: 1px solid #b6c2cd;
  cursor: not-allowed;
}
.cookie-modal .cookie-category.essential .cookie-toggle::before {
  background: #FFBE3D;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .modal-action {
  padding: 11px 20px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  background: #225274;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.16s, color 0.12s;
}
.cookie-modal .modal-action.cancel {
  background: #dce4eb;
  color: #225274;
}
.cookie-modal .modal-action.cancel:hover, .cookie-modal .modal-action.cancel:focus {
  background: #e7ebef;
  color: #225274;
}
.cookie-modal .modal-action.save {
  background: #FFBE3D;
  color: #1b2631;
}
.cookie-modal .modal-action.save:hover, .cookie-modal .modal-action.save:focus {
  background: #ffd57e;
  color: #1d2b38;
}

/* === UTILITY CLASSES === */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-16 { gap: 16px; }

/* === ANIMATIONS === */
.fade-in {
  animation: fadeIn 0.28s cubic-bezier(.68,-0.01,.37,1.01);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* === RESPONSIVE: MOBILE FIRST === */
@media (max-width: 1020px) {
  .container {
    max-width: 96vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .main-nav {
    gap: 12px;
  }
  .footer-nav {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding-left: 7px;
    padding-right: 7px;
  }
  header .container {
    height: auto;
    flex-direction: row;
  }
  .main-nav {
    display: none;
  }
  .cta-button {
    margin-left: 0;
    margin-right: 0;
    padding: 10px 18px;
    font-size: 0.97rem;
  }
  header .mobile-menu-toggle {
    display: inline-flex;
  }
  .content-wrapper {
    gap: 11px;
  }
  .section, section {
    padding: 27px 7px;
    margin-bottom: 37px;
    border-radius: 8px;
  }
  .card-container, .content-grid, .service-detail-grid {
    gap: 14px;
  }
  .testimonial-card {
    padding: 15px 12px;
    gap: 10px;
  }
  .card, .service-card {
    min-width: 95%;
    padding: 17px 10px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 17px;
    align-items: flex-start;
  }
  .contact-footer {
    gap: 12px;
    font-size: 0.95rem;
  }
  .case-study {
    padding: 14px 6px;
    border-radius: 6px;
  }
  .cookie-modal {
    min-width: 97vw;
    padding: 16px 8px 13px 8px;
    border-radius: 9px;
  }
}

@media (max-width: 480px) {
  h1, .h1 {
    font-size: 1.35rem;
  }
  h2, .h2 {
    font-size: 1.07rem;
  }
  .cta-button, button, .button {
    font-size: 0.93rem;
    padding: 8px 11px;
  }
  .footer-copy, .footer-nav a {
    font-size: 0.88rem;
  }
  .cookie-banner {
    padding: 15px 3px 14px 3px;
    gap: 8px;
  }
}

/* === ACCESSIBILITY HOVERS === */
a, button, .cta-button, .cookie-action, .modal-action {
  transition: background 0.14s, color 0.13s, box-shadow 0.12s;
}

/* === NO GRID === */
/* All layouts use only flexbox, grid and columns are forbidden. */
