/* ============================================
   CSS RESET & BASE TYPOGRAPHY — Minimalist
   ============================================ */
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 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  box-sizing: border-box;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #18212B;
  background: #fff;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
  line-height: 1.6;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #184E77;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E63946;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  list-style: none;
}
button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* ============================================
   BRAND TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'EB Garamond', serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #184E77;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1.125rem;
}
.subheadline {
  font-size: 1.125rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #18212B;
  margin-bottom: 18px;
  font-weight: 400;
}
p, ul li, ol li {
  margin-bottom: 14px;
  color: #18212B;
}
strong, b {
  font-weight: 700;
}
.text-section ul {
  padding-left: 0;
  margin: 16px 0 24px 0;
}
.text-section ul li {
  margin-bottom: 8px;
  padding-left: 24px;
  position: relative;
}
.text-section ul li:before {
  content: "\2022";
  color: #184E77;
  font-size: 1.1em;
  position: absolute;
  left: 0;
}

/* ============================================
   SPACING UTILITY CLASSES & LAYOUT
   ============================================ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(24, 78, 119, 0.05);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 300px;
  padding: 32px 24px;
  transition: box-shadow 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 20px rgba(24, 78, 119, 0.11);
}
.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;
  padding: 20px 32px;
  margin-bottom: 24px;
  background: #F6F8FA;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(24, 78, 119, 0.06);
  color: #18212B;
  max-width: 520px;
  min-width: 240px;
  transition: box-shadow 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 22px rgba(24, 78, 119, 0.17);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(24, 78, 119, 0.04);
  margin-bottom: 20px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
  background: #fff;
  border-bottom: 1px solid #F6F8FA;
  width: 100%;
  min-height: 72px;
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  min-height: 72px;
  gap: 0;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #184E77;
  padding: 7px 12px 7px 12px;
  border-radius: 7px;
  transition: background 0.16s, color 0.15s;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F6F8FA;
  color: #E63946;
}
.cta.primary {
  display: inline-block;
  background: #184E77;
  color: #fff;
  border-radius: 8px;
  padding: 10px 28px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 1.5px 8px rgba(24, 78, 119, 0.04);
  border: none;
  margin-left: 12px;
  transition: background 0.18s, box-shadow 0.16s, color 0.16s;
  cursor: pointer;
  line-height: 1.3;
  text-align: center;
}
.cta.primary:hover, .cta.primary:focus {
  background: #E63946;
  color: #fff;
  box-shadow: 0 4px 18px rgba(230, 57, 70, 0.13);
}
.mobile-menu-toggle {
  background: #fff;
  color: #184E77;
  font-size: 2rem;
  padding: 6px 12px;
  border-radius: 8px;
  margin-left: 10px;
  display: none;
  border: 1px solid #E4E8EF;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F6F8FA;
  color: #E63946;
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(0.54,0,0.36,1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0;
  padding-left: 0;
  box-shadow: 0 0 48px rgba(24, 78, 119, 0.16);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #184E77;
  align-self: flex-end;
  margin: 24px 24px 12px 0;
  background: none;
  border-radius: 8px;
  padding: 6px 10px;
  border: 1px solid #E4E8EF;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F6F8FA;
  color: #E63946;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  padding: 0 36px 36px 36px;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: #184E77;
  padding: 13px 0 13px 0;
  font-family: 'Roboto', Arial, sans-serif;
  letter-spacing: 0.01em;
  font-weight: 500;
  width: 100%;
  border-radius: 7px;
  transition: background 0.13s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6F8FA;
  color: #E63946;
}

/* ============================================
   HERO, FEATURES & SERVICES
   ============================================ */
.hero {
  background: #F6F8FA;
  padding: 48px 0 52px 0;
  margin-bottom: 42px;
}
.hero .container, .hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.hero h1 {
  font-size: 2.5rem;
  color: #184E77;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.125rem;
  color: #18212B;
}
.features {
  background: #fff;
  padding: 32px 0 32px 0;
  margin-bottom: 60px;
}
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  justify-content: flex-start;
}
.features .feature-grid li {
  background: #F6F8FA;
  border-radius: 11px;
  box-shadow: 0 1.5px 9px rgba(24, 78, 119, 0.06);
  padding: 26px 20px 20px 20px;
  flex: 1 1 260px;
  min-width: 230px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s;
}
.features .feature-grid li:hover, .features .feature-grid li:focus-within {
  box-shadow: 0 5px 20px rgba(24, 78, 119, 0.18);
}
.features .feature-grid img {
  height: 34px;
  width: 34px;
  margin-bottom: 6px;
}
.features .feature-grid h3 {
  font-size: 1.18rem;
  color: #184E77;
}
.features .feature-grid p {
  color: #18212B;
  font-size: 1rem;
}
.services {
  background: #fff;
  padding: 34px 0 30px 0;
  margin-bottom: 60px;
}
.services .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
  justify-content: flex-start;
}
.services .service-list li {
  background: #F6F8FA;
  border-radius: 11px;
  box-shadow: 0 2px 10px rgba(24, 78, 119, 0.07);
  padding: 30px 20px 22px 20px;
  flex: 1 1 280px;
  min-width: 250px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.19s;
}
.services .service-list li:hover, .services .service-list li:focus-within {
  box-shadow: 0 6px 22px rgba(24, 78, 119, 0.15);
}
.services .service-list h3 {
  font-size: 1.13rem;
  color: #184E77;
  margin-bottom: 7px;
}
.services .service-list p {
  color: #18212B;
  font-size: 1rem;
}
.service-price {
  margin-top: 12px;
  font-size: 1.04rem;
  font-weight: 700;
  color: #E63946;
  letter-spacing: 0.01em;
  background: #fff;
  padding: 5px 12px;
  border-radius: 7px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials, .testimonial-list {
  background: #fff;
  padding: 38px 0 36px 0;
}
.testimonials .testimonial-slider,
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  justify-content: flex-start;
}
.testimonial-card p {
  font-size: 1rem;
  color: #18212B;
}
.testimonial-name {
  color: #184E77;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.testimonial-rating {
  color: #E63946;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

/* ============================================
   CTA SECTIONS & SUCCESS MESSAGE
   ============================================ */
.cta {
  background: #F6F8FA;
  padding: 36px 0 32px 0;
  margin-bottom: 64px;
  text-align: center;
}
.cta h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #184E77;
}
.cta p {
  color: #18212B;
  font-size: 1.08rem;
  max-width: 600px;
  margin: 0 auto 22px auto;
}
.success {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  padding: 62px 0 60px 0;
  background: #F6F8FA;
  margin-bottom: 60px;
}
.success h1 {
  color: #184E77;
  font-size: 2.1rem;
  margin-bottom: 20px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: #fff;
  border-top: 1px solid #F6F8FA;
  padding: 30px 0 20px 0;
  margin-top: 22px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #184E77;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  padding: 5px 9px;
  border-radius: 6px;
  transition: background 0.14s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F6F8FA;
  color: #E63946;
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 0.99rem;
  color: #7C8799;
  flex-direction: row;
}
.footer-info a {
  color: #184E77;
}
.footer-info a:hover {
  color: #E63946;
}

/* ============================================
   GENERAL ELEMENTS & INFO BOX
   ============================================ */
.info-box {
  background: #F6F8FA;
  padding: 22px 16px;
  border-radius: 8px;
  margin-top: 18px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 9px rgba(24, 78, 119, 0.03);
  font-size: 1rem;
  color: #18212B;
}
.map-embed {
  font-size: 1rem;
  color: #184E77;
  font-style: italic;
  margin-bottom: 15px;
}

/* ============================================
   COOKIE CONSENT BANNER & MODAL
   ============================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 99999;
  background: #fff;
  box-shadow: 0 -2px 18px rgba(24, 78, 119, 0.14);
  border-top: 1px solid #E4E8EF;
  padding: 22px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  transition: transform 0.24s cubic-bezier(0.54,0,0.36,1);
}
.cookie-banner.hide {
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner__text {
  font-size: 1rem;
  color: #18212B;
  margin-bottom: 8px;
  text-align: center;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  border: none;
  outline: none;
  border-radius: 7px;
  padding: 9px 21px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin: 0;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.16s, color 0.16s, border 0.16s;
  background: #F6F8FA;
  color: #184E77;
}
.cookie-btn.primary {
  background: #184E77;
  color: #fff;
}
.cookie-btn.primary:hover, .cookie-btn.primary:focus {
  background: #E63946;
  color: #fff;
}
.cookie-btn.secondary {
  border: 1px solid #184E77;
  color: #184E77;
  background: #fff;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  border: 1px solid #E63946;
  color: #E63946;
}
.cookie-btn.ghost {
  color: #18212B;
  background: #F6F8FA;
}
.cookie-btn.ghost:hover {
  color: #E63946;
  text-decoration: underline;
}
.cookie-preferences-modal {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  background: rgba(24, 33, 43, 0.17);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: background 0.25s;
}
.cookie-modal__content {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 28px rgba(24, 78, 119, 0.18);
  max-width: 420px;
  width: 90%;
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal__content h2 {
  font-size: 1.35rem;
  color: #184E77;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  width: 24px;
  height: 24px;
  accent-color: #184E77;
  outline: none;
}
.cookie-category label {
  color: #184E77;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-category.essential label {
  opacity: 0.65;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal__close {
  position: absolute;
  right: 24px;
  top: 18px;
  font-size: 1.7rem;
  background: none;
  color: #184E77;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 7px;
  padding: 4px 9px;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #F6F8FA;
  color: #E63946;
}

/* ============================================
   RESPONSIVE DESIGN — MOBILE FIRST
   ============================================ */
@media (max-width: 1200px) {
  .container {
    max-width: 96vw;
    padding: 0 10px;
  }
}
@media (max-width: 980px) {
  .features .feature-grid li,
  .services .service-list li {
    min-width: 200px;
    flex: 1 1 160px;
    max-width: 100%;
  }
  .testimonial-card {
    padding: 16px 12px;
  }
}
@media (max-width: 860px) {
  .features .feature-grid,
  .services .service-list,
  .testimonial-list,
  .testimonials .testimonial-slider {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 5px;
  }
  .section {
    margin-bottom: 36px;
    padding: 28px 8px;
  }
  .hero {
    padding: 32px 0 38px 0;
    margin-bottom: 30px;
  }
  .cta {
    margin-bottom: 38px;
    padding: 20px 0 18px 0;
  }
  .success {
    padding: 32px 0 28px 0;
    min-height: 220px;
    margin-bottom: 34px;
  }
  .footer-nav, .footer-info {
    gap: 10px;
    font-size: 0.94rem;
  }
  .main-nav {
    display: none;
  }
  .cta.primary {
    margin-left: 0;
    margin-top: 10px;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header .container {
    gap: 0;
    padding: 0 10px;
    flex-direction: row;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.23rem;
  }
  .cta {
    padding: 13px 0 13px 0;
  }
  .card,
  .services .service-list li,
  .features .feature-grid li {
    padding: 18px 8px 16px 8px;
    font-size: 0.95rem;
  }
  .testimonial-card {
    padding: 11px 7px;
    font-size: 0.96rem;
  }
  .cookie-modal__content {
    padding: 17px 7px 14px 7px;
    min-width: unset;
  }
}
@media (max-width: 400px) {
  .cookie-banner__actions {
    gap: 8px;
  }
  .logo img {
    height: 28px;
  }
}

/* ============================================
   MICRO-INTERACTIONS & TRANSITIONS
   ============================================ */
.card, .features .feature-grid li, .services .service-list li, .cta.primary, .cookie-btn {
  transition: box-shadow 0.19s, background 0.18s, color 0.18s, border 0.14s;
}
.testimonial-card {
  transition: box-shadow 0.15s;
}
/* Button focus visible */
.cta.primary:focus, .cookie-btn:focus {
  box-shadow: 0 0 0 2.5px #E63946;
  outline: none;
}

/* ============================================
   Z-INDEX SAFETY FOR OVERLAYS
   ============================================ */
.mobile-menu, .mobile-menu.active {
  z-index: 9999;
}
.cookie-banner,
.cookie-preferences-modal {
  z-index: 99999;
}

/* ============================================
   MINIMALIST SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  height: 10px;
  width: 7px;
  background: #F6F8FA;
}
::-webkit-scrollbar-thumb {
  background: #E4E8EF;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C0CCE0;
}

/* ============================================
   END
   ============================================ */
