/* CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F5F6F8;
  color: #173655;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #173655;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B09F4E;
  text-decoration: underline;
}
ul, ol {
  margin-left: 2em;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 0.75em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #173655;
  letter-spacing: 0.01em;
  margin-bottom: 0.7em;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.125rem;
}
p, address {
  font-size: 1rem;
  margin-bottom: 1.2em;
}
address {
  font-style: normal;
  color: #173655;
}

/* UTILITY FLEX CONTAINERS & SPACING */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 18px rgba(23,54,85,0.07);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(23,54,85,0.08);
  padding: 28px 24px;
  transition: box-shadow 0.3s, border-color 0.2s;
  border: 1px solid #f1efe6;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(23,54,85,0.13);
  border-color: #EAD97A;
}
.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: 16px;
  padding: 20px 28px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(23,54,85,0.11);
  border-left: 4px solid #EAD97A;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* BRAND & ACCENT COLORS */
:root {
  --primary: #173655;
  --secondary: #EAD97A;
  --accent: #FFFFFF;
  --gold: #EAD97A;
  --primary-dark: #101D2B;
  --link-hover: #B09F4E;
  --section: #fff;
  --soft: #F5F6F8;
  --border: #e7e6e3;
  --shadow: 0 2px 18px rgba(23,54,85,0.07);
}

/* HEADER */
header {
  background: var(--section);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(23,54,85,0.015);
}
header .container {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
}
header img {
  max-height: 56px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  position: relative;
  padding: 4px 6px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--gold);
  color: var(--primary-dark);
  text-decoration: none;
}

/* CTA PRIMARY BUTTON */
.btn, .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  border: none;
  border-radius: 6px;
  padding: 13px 32px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(23,54,85,0.10);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  letter-spacing: 0.03em;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--gold);
  color: var(--primary-dark);
  box-shadow: 0 5px 24px rgba(23,54,85,0.18);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg, #EFEBDC 0%, #fff 100%);
  padding: 0 0 40px 0;
}
.hero .container {
  padding-top: 60px;
  padding-bottom: 48px;
}
.hero h1 {
  font-size: 2.4rem;
  color: var(--primary-dark);
  margin-bottom: 0.6em;
}
.hero .subheadline {
  font-size: 1.25rem;
  color: #4B5E75;
  margin-bottom: 1.3em;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.5;
}

/* FEATURE GRID & SECTIONS */
.feature-grid, .service-teasers, .service-list, .team-member-grid, .guide-articles-list, .value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div,
.service-teasers > div,
.service-list > div,
.team-member-grid > div,
.value-list > div,
.guide-articles-list > article {
  background: #fff;
  border-radius: 14px;
  padding: 28px 22px;
  box-shadow: 0 2px 12px rgba(23,54,85,0.05);
  border: 1px solid var(--border);
  flex: 1 1 275px;
  min-width: 220px;
  max-width: 370px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.feature-grid > div:hover,
.service-teasers > div:hover,
.service-list > div:hover,
.team-member-grid > div:hover,
.value-list > div:hover,
.guide-articles-list > article:hover {
  box-shadow: 0 6px 24px rgba(23,54,85,0.13);
  border-color: #EAD97A;
  z-index: 2;
}
.feature-grid img,
.value-list img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

/* SERVICE TEASERS */
.service-teasers > div h3,
.service-list > div h3 {
  font-size: 1.22rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.service-teasers > div p {
  color: #47546c;
  margin-bottom: 8px;
}
.service-teasers > div a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s;
}
.service-teasers > div a:hover {
  color: var(--gold);
}

.specializations, .benefits {
  background: #fcfbf6;
  border: 1px solid #ede8c7;
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 24px;
}
.specializations h3, .benefits h3 {
  color: var(--primary);
  font-size: 1.13rem;
}

/* TEAM LIST */
.team-member-grid > div {
  min-width: 260px;
  max-width: 330px;
  text-align: left;
  border-left: 4px solid #EAD97A;
}
.team-member-grid h3 {
  font-size: 1.17rem;
  margin-bottom: 8px;
}
.expertise-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.expertise-tags li {
  display: inline-block;
  background: #F5F6F8;
  border-radius: 6px;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  padding: 3px 11px;
  border: 1px solid #ede8c7;
}

/* FAQ PREVIEW */
.faq-preview {
  background: #fcfbf6;
  border-left: 4px solid #EAD97A;
  padding: 18px 24px;
  border-radius: 10px;
  margin-top: 14px;
}
.faq-preview h4 {
  color: var(--primary-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 10px;
}
.faq-preview strong {
  color: var(--primary);
}

/* CTA STRIP */
.cta-strip {
  background: linear-gradient(92deg, #173655 0%, #193F6A 100%);
  color: #fff;
  padding: 28px 0;
  margin-bottom: 54px;
}
.cta-strip .content-wrapper {
  align-items: center;
}
.cta-strip .btn-primary {
  background: var(--gold);
  color: var(--primary-dark);
  margin-top: 12px;
  box-shadow: 0 4px 14px rgba(23,54,85,0.13);
}
.cta-strip .btn-primary:hover, .cta-strip .btn-primary:focus {
  background: #fff;
  color: var(--primary);
}
.cta-strip p {
  font-size: 1.22rem;
  margin-bottom: 0.7em;
  color: #fff;
  text-align: center;
}

/* TESTIMONIALS */
.testimonial-slider {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
  color: #0c1933;
}
.testimonial-author {
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #B09F4E;
  margin-top: 6px;
}

/* VALUE LIST FOR ABOUT/TEAM */
.value-list li, .value-list > div p {
  font-size: 1.06rem;
  color: #193F6A;
  margin-left: 8px;
}
.value-list li img, .value-list > div img {
  vertical-align: middle;
  margin-right: 8px;
}

/* CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}
.contact-details .text-section {
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 360px;
}
.contact-details h3 {
  margin-bottom: 0.5em;
  font-size: 1.12rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.contact-details p, .contact-details address {
  margin-bottom: 1em;
  color: #4B5E75;
}

/* FOOTER */
footer {
  margin-top: 48px;
  background: linear-gradient(88deg, #173655 0%, #162942 100%);
  color: #fff;
  padding: 36px 0 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  gap: 28px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #EAD97A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 2px 4px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #fff;
  color: #173655;
}
.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  font-size: 1rem;
  color: #fff;
}
.footer-contact img {
  height: 42px;
  width: auto;
  margin-right: 12px;
}
footer address {
  color: #fcfcf1;
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}
footer address a {
  color: #EAD97A;
}
footer address a:hover {
  color: #fff;
}

/* TEXT-SECTION & GENERAL */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.text-section h3 {
  font-size: 1.14rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 4px;
  color: var(--primary-dark);
}

/*******************
   MOBILE NAVIGATION
*******************/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2.1rem;
  cursor: pointer;
  margin-left: 14px;
  z-index: 1400;
  transition: color 0.2s, background 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #B09F4E;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 95vw;
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 30px rgba(23,54,85,0.13);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.77,0,.18,1), box-shadow 0.26s;
  z-index: 2000;
  padding: 32px 20px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
  box-shadow: -12px 0 48px rgba(23,54,85,0.16);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--primary-dark);
  align-self: flex-end;
  cursor: pointer;
  line-height: 1.2;
  margin-bottom: 12px;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.mobile-nav a {
  color: var(--primary);
  font-size: 1.19rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 4px;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--gold);
  color: var(--primary-dark);
}

/*********************
RESPONSIVE QUERIES
*********************/
@media (max-width: 1160px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .service-list > div, .feature-grid > div, .team-member-grid > div, .value-list > div {
    min-width: 200px;
    max-width: 100%;
    flex: 1 1 230px;
  }
}
@media (max-width: 950px) {
  .feature-grid, .service-teasers, .service-list, .team-member-grid, .guide-articles-list, .value-list {
    flex-direction: column;
    gap: 18px;
  }
  .card, .section, .value-list > div {
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 768px) {
  header .container {
    height: auto;
    flex-direction: row;
    gap: 12px;
    flex-wrap: wrap;
    padding: 8px 10px;
  }
  .main-nav {
    display: none;
  }
  .btn-primary {
    padding: 12px 22px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    max-width: 100vw;
    padding: 0 7px;
  }
  .content-wrapper {
    padding: 0;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .card, .section {
    padding: 23px 7px;
    margin-bottom: 32px;
  }
  .hero .container {
    padding-top: 36px;
    padding-bottom: 27px;
  }
  .feature-grid > div, .service-teasers > div, .service-list > div, .team-member-grid > div, .value-list > div {
    min-width: 0;
    max-width: 100%;
    flex: 1 1 90vw;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 17px;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-nav {
    gap: 17px;
    flex-wrap: wrap;
  }
  .cta-strip {
    margin-bottom: 36px;
    padding: 18px 0;
  }
  .cta-strip .btn-primary {
    margin-top: 17px;
    font-size: 1rem;
    padding: 13px 19px;
  }
  .contact-details {
    flex-direction: column;
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .value-list {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.28rem; }
  h3 { font-size: 1.11rem; }
  .footer-contact img { height: 31px; }
  .hero .container { padding-top: 22px; }
}

/*********************
COOKIE CONSENT BANNER
*********************/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbe7;
  color: #173655;
  box-shadow: 0 -2px 18px rgba(23,54,85,0.12);
  border-top: 2px solid #EAD97A;
  z-index: 3000;
  padding: 26px 2vw 22px 2vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  transition: transform 0.34s cubic-bezier(.77,0,.18,1), opacity 0.24s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  flex: 1 1 300px;
  font-size: 1rem;
  color: #173655;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 5px;
  border: none;
  padding: 9px 21px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
  margin-left: 2px;
}
.cookie-banner .cookie-accept {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(23,54,85,0.12);
}
.cookie-banner .cookie-accept:hover {
  background: var(--gold);
  color: var(--primary-dark);
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: var(--primary);
  border: 1px solid #ccc5ad;
}
.cookie-banner .cookie-reject:hover {
  background: #f8f4e6;
}
.cookie-banner .cookie-settings {
  background: #f7f6ef;
  color: var(--primary);
}
.cookie-banner .cookie-settings:hover {
  background: var(--gold);
  color: var(--primary-dark);
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    padding: 17px 3vw 15px 3vw;
  }
  .cookie-banner__actions {
    flex-direction: column;
    gap: 10px;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23, 54, 85, 0.41);
  z-index: 3999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
  opacity: 1;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #173655;
  border-radius: 21px;
  box-shadow: 0 4px 34px rgba(23,54,85,0.17);
  padding: 36px 32px 28px 32px;
  min-width: 288px;
  max-width: 94vw;
  min-height: 0;
  max-height: 92vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.cookie-modal h2 {
  font-size: 1.45rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 2px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}
.cookie-modal label {
  font-size: 1.06rem;
  color: #1f2342;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal .toggle {
  appearance: none;
  width: 40px;
  height: 24px;
  border-radius: 20px;
  border: 1.5px solid #ede8c7;
  background: #f5f6f8;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: border 0.19s, background 0.19s;
}
.cookie-modal .toggle:checked {
  background: var(--gold);
  border-color: #d2b94b;
}
.cookie-modal .toggle::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(23,54,85,0.12);
  transition: left 0.24s;
}
.cookie-modal .toggle:checked::after {
  left: 19px;
}
.cookie-modal .cookie-essential {
  opacity: 0.56;
  pointer-events: none;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .btn-primary, .cookie-modal .cookie-modal-close {
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
}
.cookie-modal .cookie-modal-close {
  background: #F7F6EF;
  color: var(--primary-dark);
  border: 1px solid #ede8c7;
}
.cookie-modal .cookie-modal-close:hover {
  background: #ede8c7;
}
@media (max-width: 540px) {
  .cookie-modal {
    padding: 22px 6vw 19px 6vw;
    gap: 16px;
  }
}
@media (max-width: 370px) {
  .cookie-modal {
    padding: 9px 2vw 9px 2vw;
  }
}

/*********************
MICRO-INTERACTIONS
*********************/
a, .btn, .btn-primary, .main-nav a, .mobile-nav a, .footer-nav a, .cookie-banner button {
  transition: color 0.18s, background 0.18s, box-shadow 0.18s;
}
.card, .testimonial-card, .team-member-grid > div, .service-teasers > div, .value-list > div {
  transition: box-shadow 0.26s, border-color 0.21s;
}
.card:active, .testimonial-card:active {
  box-shadow: 0 2px 10px rgba(23,54,85,0.08);
}

/*********************
SCROLLBAR STYLING (DESKTOP)
*********************/
@media (min-width: 920px) {
  ::-webkit-scrollbar {
    width: 12px;
    background: #f4f1e7;
  }
  ::-webkit-scrollbar-thumb {
    background: #EAD97A;
    border-radius: 8px;
  }
}

/*********************
SUPPORTIVE DETAILS
*********************/
h1, h2, h3, h4 {
  text-shadow: 0 2px 6px rgba(234,217,122,0.11);
}

/*********************
VISUAL HIERARCHY
*********************/
.section h2 {
  border-left: 5px solid var(--gold);
  padding-left: 18px;
  color: var(--primary-dark);
  font-size: 2rem;
  margin-bottom: 1em;
}
.section > .container > .content-wrapper > h2:first-child {
  margin-top: 0;
}

/* Confirmation section (thank-you) */
.confirmation {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}
.confirmation .content-wrapper {
  align-items: center;
  text-align: center;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(23,54,85,0.09);
  padding: 55px 28px;
}

/*********************
END OF CSS
*********************/
