/* --- 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, 
main, 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;
}

html {
  scroll-behavior: smooth;
  background: #F6F7F9;
}
body {
  background: #F6F7F9;
  color: #19314D;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img {
  max-width: 100%;
  vertical-align: middle;
}
a {
  color: #19314D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #867a6b;
}
ul, ol {
  margin-left: 1.25em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}

/* --- BRAND TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #19314D;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.333rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 6px;
}
strong {
  font-weight: 700;
}
.text-section > h1, 
.text-section > h2, 
.text-section > h3 {
  font-family: 'Montserrat', Arial, sans-serif;
}

p {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #1a2331;
  margin-bottom: 1.2em;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
}

/* --- LAYOUT CONTAINER --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(22,36,54,0.06);
}

@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 40px;
  }
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: #19314D;
  box-shadow: 0 2px 16px rgba(25,49,77,0.07);
  position: relative;
  z-index: 80;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 16px;
}
header img {
  height: 46px;
  width: auto;
  min-width: 124px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  padding: 5px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}
header nav a:hover,
header nav a.active {
  background: #F6F7F9;
  color: #19314D;
}

header .cta.primary {
  margin-left: 24px;
  background: #fff;
  color: #19314D;
  font-weight: 700;
  border-radius: 20px;
  font-size: 1rem;
  padding: 12px 32px;
  box-shadow: 0 2px 12px rgba(25,49,77,0.09);
  border: 2px solid #867a6b;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
header .cta.primary:hover,
header .cta.primary:focus {
  background: #867a6b;
  color: #fff;
  border-color: #19314D;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  padding: 8px 12px 2px 12px;
  z-index: 112;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover { color: #867a6b; }

.mobile-menu {
  display: none;
}

@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #19314D;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100vw);
  transition: opacity 0.38s cubic-bezier(.65,.05,.36,1), transform 0.38s cubic-bezier(.65,.05,.36,1);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  position: absolute;
  top: 24px;
  right: 32px;
  z-index: 240;
  padding: 6px 12px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.16s;
}
.mobile-menu-close:hover {
  color: #FFD027;
}
.mobile-nav {
  width: 100%;
  margin-top: 90px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 0 34px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  padding: 12px 0 12px 8px;
  border-radius: 8px;
  width: 100%;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #F6F7F9;
  color: #19314D;
}

/* --- MAIN --- */
main {
  margin-top: 10px;
}

/* --- SECTIONS, STANDARD GAPS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(25,49,77,0.08);
  background: #fff;
  padding: 24px 18px 18px 18px;
}
.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: 20px;
  background: #F6F7F9;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(25,49,77,0.08);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 430px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- GRIDS / FLEX LAYOUTS --- */
.feature-grid, .filter-grid, .city-cards, .city-grid, .service-cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0;
}
.feature-grid > div, .city-cards > div, .city-grid > div, .service-cards > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(25,49,77,0.07);
  padding: 26px 20px;
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 260px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.feature-grid > div:hover, .city-cards > div:hover, .city-grid > div:hover, .service-cards > div:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 36px rgba(25,49,77,0.12);
}
.city-cards {
  gap: 24px;
  margin-bottom: 30px;
}
.city-cards > div {
  background: #19314D;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(25,49,77,0.10);
}
.city-cards h3,
.city-cards p { color: #fff; }
.city-grid {
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.city-grid > div {
  min-width: 220px;
  flex: 1 1 220px;
  margin-bottom: 12px;
}
.service-cards > div {
  background: #fff;
  min-width: 220px;
  flex: 1 1 220px;
}

@media (max-width: 1000px) {
  .feature-grid, .filter-grid, .city-cards, .city-grid, .service-cards {
    flex-wrap: wrap;
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 800px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 700px) {
  .city-grid > div, .city-cards > div, .feature-grid > div, .service-cards > div {
    min-width: 100%;
    max-width: 100%;
  }
}

.results-info {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin: 14px 0 10px 0;
  font-weight: 600;
}
@media (max-width: 600px) {
  .results-info {
    flex-direction: column;
    gap: 8px;
  }
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 20px 7px;
  }
  .content-wrapper {
    padding: 0 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .container {
    padding: 0 6px;
  }
}

/* --- CTA BUTTONS, LINKS --- */
.cta {
  display: inline-block;
  background: #867a6b;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 12px 32px;
  border-radius: 20px;
  margin: 18px 0 0 0;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(25,49,77,0.07);
  transition: background 0.22s, color 0.18s, box-shadow 0.22s, transform 0.18s;
}
.cta.primary {
  background: #19314D;
  color: #fff;
}
.cta:hover, .cta:focus {
  background: #19314D;
  color: #FFD027;
  box-shadow: 0 6px 18px rgba(25,49,77,0.15);
  transform: translateY(-2px) scale(1.04);
}
.cta.primary:hover, .cta.primary:focus {
  background: #867a6b;
  color: #fff;
}
button.cta {
  outline: none;
}
/* Cookie Banner buttons */
.cookie-btn {
  background: #19314D;
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 10px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-right: 14px;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-btn.settings {
  background: #867a6b;
  color: #fff;
}
.cookie-btn.reject {
  background: #C13515;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  opacity: 0.9;
  background: #234f81;
}
.cookie-btn.settings:hover { background: #a09585; }
.cookie-btn.reject:hover {background: #932b13;}

/* --- TESTIMONIALS --- */
.testimonial-slider {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.testimonial-card {
  background: #fff;
  border-left: 7px solid #867a6b;
  color: #1a2331;
  box-shadow: 0 2px 12px rgba(25,49,77,0.10);
  border-radius: 16px;
  padding: 28px 26px;
  flex: 1 1 270px;
  min-width: 220px;
  max-width: 380px;
  transition: box-shadow 0.19s;
}
.testimonial-card p {
  color: #19314D;
  font-size: 1.1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 14px;
  font-style: italic;
}
.testimonial-card span {
  font-size: 1rem;
  color: #867a6b;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(134,122,107,0.17);
}

/* --- FOOTER --- */
footer {
  width: 100%;
  background: #19314D;
  color: #fff;
  margin-top: 60px;
  padding: 36px 0 24px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 22px;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 10px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
}
footer nav a:hover {
  background: #FFD027;
  color: #19314D;
}
.footer-contact {
  font-size: 0.95rem;
  color: #c8d1de;
}

/* --- SPECIFIC SECTIONS AND CARDS --- */
.value-list,
.unique-points-list,
.facts-figures ul,
.bullet-points,
.faq-list {
  margin-top: 18px;
  margin-bottom: 22px;
}
.value-list li, .unique-points-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 600;
}
.facts-figures ul li {
  font-weight: 600;
  margin-bottom: 11px;
  color: #19314D;
}
.bullet-points li {
  font-size: 1.13rem;
  color: #19314D;
  margin-bottom: 8px;
}
.faq-list dt {
  font-weight: 700;
  margin-top: 10px;
  color: #19314D;
}
.faq-list dd {
  margin-bottom: 10px;
  color: #575757;
}
.steps-overview ul {
  margin-left: 1.1em;
  font-weight: 600;
  margin-bottom: 14px;
}
.location-map {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin: 18px 0;
}
.location-map img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}
.location-map a {
  color: #19314D;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.16s;
}
.location-map a:hover {
  color: #867a6b;
}
.contact-details p {
  margin-bottom: 13px;
  color: #19314D;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-details img {
  height: 20px;
  width: 20px;
  margin-right: 4px;
}

.partner-logos {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 0;
}
.partner-logos img {
  height: 48px;
  width: auto;
}

.infographics {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  margin: 16px 0;
}
.infographics img {
  height: 48px;
  width: 48px;
}

/* --- FORMS --- */
input,
select,
textarea {
  background: #f3f3f6;
  border: 2px solid #19314D;
  border-radius: 12px;
  padding: 12px;
  font-size: 1rem;
  color: #19314D;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 18px;
  outline: none;
  transition: border 0.2s;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #867a6b;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
  color: #19314D;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
  header .container {
    height: 58px;
    min-height: 50px;
    gap: 7px;
    padding: 0 4px;
  }
  header img { height: 38px; }
  footer nav {
    gap: 16px;
  }
  .infographics img, .partner-logos img { height: 31px; }
}
@media (max-width: 540px) {
  .results-info {
    gap: 6px;
    font-size: 0.97rem;
  }
  .testimonial-card {
    min-width: 90vw;
    max-width: 100vw;
    padding: 16px 8px;
  }
  .faq-list dt, .faq-list dd {
    font-size: 0.97rem;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #19314D;
  color: #fff;
  z-index: 2500;
  box-shadow: 0 -2px 24px rgba(10,14,30,0.10);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 24px 18px;
  font-size: 1rem;
  gap: 22px;
  transition: transform 0.35s, opacity 0.27s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
.cookie-banner .cookie-btn {
  margin-left: 0;
}
.cookie-banner p {
  color: #fff;
  margin-bottom: 0;
  font-size: 1rem;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 17px 6px;
    font-size: 0.97rem;
  }
}

/* --- COOKIE MODAL ---- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3000;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25,49,77,0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.29s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  color: #19314D;
  max-width: 445px;
  min-width: 0;
  padding: 36px 32px 22px 32px;
  box-shadow: 0 10px 72px rgba(10,22,46,0.19);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 20px;
  right: 26px;
  font-size: 2rem;
  background: none;
  color: #867a6b;
  border: none;
  cursor: pointer;
}
.cookie-modal label {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #19314D;
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-category {
  margin-bottom: 15px;
}
.cookie-modal .cookie-category.essential {
  color: #19314D;
  font-weight: 700;
  opacity: 0.57;
}
.cookie-modal .cookie-modal-footer {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 14px;
}
@media (max-width: 520px) {
  .cookie-modal {
    max-width: 97vw;
    padding: 18px 5vw 14px 5vw;
  }
}

/* --- MICRO-ANIMATION KEYFRAMES --- */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: none; }
}
@keyframes slideInRight {
  0% {transform: translateX(80vw); opacity: 0;}
  100% {transform: none; opacity: 1;}
}

.section, .card, .feature-grid > div, .city-cards > div, .city-grid > div, .service-cards > div, .testimonial-card {
  animation: fadeIn 0.7s cubic-bezier(.23,1.08,.64,.95) both;
}

/* --- ACCESSIBILITY --- */
:focus {
  outline: 2px solid #FFD027;
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 8px 12px;
  z-index: 9999;
  background: #FFD027;
  color: #19314D;
  border-radius: 10px;
}

/* --- SPECIAL --- */
::-webkit-input-placeholder { color: #c3c6ce; }
::-moz-placeholder { color: #c3c6ce; }
:-ms-input-placeholder { color: #c3c6ce; }
::placeholder { color: #c3c6ce; }

/* --- Print styles for Terms/Policies --- */
@media print {
  header, footer, .cta, .mobile-menu-toggle, .mobile-menu,
  .cookie-banner, .cookie-modal-overlay, button, nav { display: none !important; }
  main, .container, .content-wrapper, .section {
    width: 100% !important;
    box-shadow: none !important;
    background: #fff !important;
    color: #000 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}
