/* CSS RESET & NORMALIZATION */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F7FA;
  color: #232629;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  color: #164168;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C39B59;
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 16px;
  text-align: left;
}

/* BRAND COLORS & FONTS */
:root {
  --dm-blue: #164168;
  --dm-blue-light: #71A8D0;
  --dm-offwhite: #F5F7FA;
  --dm-gold: #C39B59;
  --dm-gold-light: #E1C085;
  --dm-black: #232629;
  --dm-gray: #7D8893;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--dm-blue);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.1rem;
}
p, ul, ol, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--dm-black);
  margin-bottom: 12px;
}
p {
  max-width: 730px;
}
strong {
  color: var(--dm-blue);
  font-weight: 700;
}
small {
  font-size: 0.95em;
  color: var(--dm-gray);
}

/* CONTAINER / SECTION LAYOUTS */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(35,38,41,0.08), 0 1.5px 5px rgba(195,155,89,0.04);
  padding: 32px 28px;
  margin-bottom: 20px;
  position: relative;
  border: 1.5px solid #eee;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  border-color: var(--dm-gold);
  box-shadow: 0 8px 32px rgba(35,38,41,0.14), 0 2.5px 8px rgba(195,155,89,0.09);
  z-index: 1;
}
.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;
}

/* SPECIAL FLEX LAYOUTS */
.feature-grid, .service-cards, .testimonials, .faq-items, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 8px;
}
.feature-grid > div, .service-cards > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(22,65,104,0.10);
  padding: 32px 24px;
  min-width: 260px;
  flex: 1 1 270px;
  border-top: 3px solid var(--dm-gold);
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-grid > div:hover, .service-cards > div:hover {
  box-shadow: 0 6px 28px rgba(22,65,104,0.16);
  transform: translateY(-4px) scale(1.02);
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(22,65,104,0.08);
  padding: 28px 20px;
}
.feature-list ul {
  padding-left: 0;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.faq-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.faq-items article {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(22,65,104,0.06);
  padding: 22px 20px;
  flex: 1 1 300px;
  min-width: 270px;
  margin-bottom: 20px;
  border-left: 3px solid var(--dm-gold);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.faq-items article:hover {
  box-shadow: 0 7px 17px rgba(22,65,104,0.13);
  border-color: var(--dm-gold-light);
}

/* PRICING TABLES */
.pricing-tables {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
  width: 100%;
}
.pricing-tables table {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(22,65,104,0.08);
  border: 1px solid #e0e3e6;
  min-width: 280px;
  max-width: 340px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  font-size: 1.05rem;
  overflow: hidden;
}
.pricing-tables caption {
  background: var(--dm-gold);
  color: #fff;
  font-weight: 700;
  padding: 12px 0;
  font-size: 1.12em;
  letter-spacing: 0.015em;
  font-family: var(--font-display);
}
.pricing-tables th {
  background: var(--dm-blue-light);
  color: #fff;
  font-weight: 700;
  border: 1px solid #e0e3e6;
}
.pricing-tables td {
  border: 1px solid #e0e3e6;
}

/* BUTTONS */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: #fff;
  background: var(--dm-blue);
  border: none;
  border-radius: 32px;
  padding: 13px 38px;
  margin-top: 8px;
  box-shadow: 0 2px 10px rgba(22,65,104,0.08);
  transition: background 0.2s, box-shadow 0.2s, transform 0.16s;
  cursor: pointer;
  letter-spacing: 0.01em;
  position: relative;
}
.cta-primary::after {
  content: '';
  display: block;
  position: absolute;
  left: 5%; top: 5%;
  width: 90%; height: 90%;
  border-radius: 32px;
  border: 1.5px solid var(--dm-gold);
  pointer-events: none;
  opacity: 0.55;
  transition: opacity 0.2s;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--dm-gold);
  color: #fff;
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 8px 20px rgba(195,155,89,0.13);
}
.cta-primary:active {
  background: var(--dm-gold-light);
  color: #fff;
}

button, .mobile-menu-close, .mobile-menu-toggle {
  font-family: inherit;
  font-size: 1.08rem;
  border: none;
  border-radius: 30px;
  background: transparent;
  color: var(--dm-blue);
  cursor: pointer;
  padding: 6px 14px;
  transition: background 0.14s, color 0.14s;
}
button:focus, .mobile-menu-close:focus, .mobile-menu-toggle:focus {
  outline: 2px solid var(--dm-gold);
}

/* HEADER/NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 3px 10px rgba(22,65,104,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 0 0 0;
  min-height: 68px;
}
header > img {
  height: 52px;
  margin: 14px 0 14px 24px;
  float: left;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 38px;
  min-width: 0;
}
header nav a {
  font-family: var(--font-display);
  color: var(--dm-blue);
  font-size: 1.07rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  padding: 2px 4px;
}
header nav a:hover, header nav a.active {
  color: var(--dm-gold);
}
header .cta-primary {
  margin-left: auto;
  margin-right: 24px;
  padding: 10px 28px;
  font-size: 1.08rem;
}
.mobile-menu-toggle {
  display: none;
  background: var(--dm-gold);
  color: #fff;
  font-size: 2rem;
  border: none;
  padding: 8px 18px;
  margin-left: 18px;
  border-radius: 50%;
  transition: background 0.2s;
  z-index: 1502;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--dm-blue);
  color: #fff;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(22,65,104,0.96);
  color: #fff;
  z-index: 1500;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.77,0.21,0.28,0.95);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding-top: 16px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  color: #fff;
  font-size: 2.2rem;
  margin: 12px 22px 0 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1503;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 38px;
  gap: 28px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  padding: 9px 0;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  transition: color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--dm-gold);
  background: transparent;
}

/* FOOTER */
footer {
  width: 100%;
  background: #fff;
  border-top: 2.5px solid var(--dm-gold);
  padding: 40px 0 12px 0;
  margin-top: 60px;
  font-size: 1.06rem;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  max-width: 1160px;
  margin: auto;
  padding: 0 20px 16px 20px;
}
.footer-wrapper > img {
  height: 46px;
  flex-shrink: 0;
}
.footer-wrapper nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 190px;
}
.footer-wrapper nav a {
  font-family: var(--font-display);
  color: var(--dm-blue);
  font-size: 1.01rem;
  font-weight: 500;
  margin-bottom: 0;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 210px;
  color: var(--dm-black);
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.98rem;
}
.footer-contact img {
  width: 20px; height: 20px;
}
.footer-legal {
  margin-top: 12px;
  width: 100%;
  color: var(--dm-gray);
  text-align: left;
  font-size: 0.94em;
}
/* TESTIMONIALS */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 16px rgba(22,65,104,0.12);
  min-width: 245px;
  max-width: 340px;
  flex: 1 1 240px;
  padding: 30px 28px 18px 28px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  border-left: 3px solid var(--dm-gold);
  position: relative;
}
.testimonial-card p {
  font-size: 1.04rem;
  color: var(--dm-black);
  font-family: var(--font-display);
  font-weight: 500;
  text-align: center;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: var(--dm-gray);
  text-align: center;
}
/* PROMO NOTES */
.promo-notes {
  background: var(--dm-blue-light);
  color: #fff;
  padding: 11px 18px;
  border-radius: 9px;
  font-weight: 500;
  margin: 12px 0 18px 0;
  box-shadow: 0 1.5px 6px rgba(22,65,104,0.12);
}

/* MAP PLACEHOLDER STYLE */
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  box-shadow: 0 1.5px 9px rgba(22,65,104,0.09);
  border-radius: 9px;
  padding: 26px 18px;
  margin: 14px 0 6px 0;
  min-height: 64px;
  font-size: 1.06rem;
  color: var(--dm-blue);
}
.map-placeholder img {
  width: 40px; height: 40px;
}

/* TWEAKS FOR GOLD ACCENTS */
h2, h3 {
  position: relative;
}
h2::after, h3::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  background: var(--dm-gold);
  border-radius: 1.5px;
  margin-top: 7px;
}

/* GOLD DETAILS FOR ICONS IN FEATURES */
.feature-grid img, .feature-list img, .footer-contact img, .text-section > ul img, .text-section > li img, .map-placeholder img {
  filter: grayscale(0%) sepia(100%) saturate(600%) hue-rotate(-15deg) brightness(1.25) sepia(0.35) drop-shadow(0 1.5px 3px rgba(195,155,89,0.15));
  max-width: 34px;
  height: 34px;
  margin-right: 0;
}

/* UL, OL List Styles */
.text-section ul, .text-section ol {
  padding-left: 26px;
  margin-bottom: 16px;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 8px;
  position: relative;
  font-size: 1.03em;
}
.text-section ul li::before {
  content: '\2022';
  color: var(--dm-gold);
  font-size: 1.14em;
  position: absolute;
  left: -20px;
  top: 1px;
}

.text-section ol li {
  list-style-type: decimal;
  margin-left: -10px;
}

/* GENERAL INTERACTIVE TRANSITIONS */
*, *::before, *::after {
  box-sizing: inherit;
  transition: background 0.18s, border-color 0.18s, box-shadow 0.14s, color 0.16s;
}

/* RESPONSIVE DESIGN: MOBILE-FIRST */
@media (max-width: 1024px) {
  .container {
    padding: 0 12px;
  }
  .footer-wrapper {
    gap: 18px;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-cards, .pricing-tables, .testimonials, .faq-items {
    flex-direction: column;
    gap: 18px;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 6px;
  }
  header {
    min-height: 52px;
    padding-bottom: 0;
  }
  header > img {
    margin: 8px 0 8px 10px;
    height: 38px;
  }
  header nav, header .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    float: right;
    margin-top: 12px;
    margin-right: 6vw;
  }
  .section {
    padding: 30px 0;
    margin-bottom: 38px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .feature-grid > div, .service-cards > div, .faq-items article, .pricing-tables table {
    min-width: 0;
    max-width: 100%;
    flex: 1 1 100%;
    padding: 22px 10px;
  }
  .card-container {
    gap: 18px;
  }
  .testimonial-card {
    padding: 19px 10px 14px 10px;
    max-width: 100%;
    min-width: 0;
  }
}
@media (max-width: 640px) {
  .footer-wrapper {
    padding: 0 6px 14px 6px;
  }
  .footer-contact li {
    font-size: 0.98em;
    gap: 3px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.55rem; }
  .cta-primary { font-size: 1rem; padding: 9px 15px; }
}
@media (max-width: 520px) {
  .pricing-tables, .feature-grid, .service-cards, .faq-items, .testimonials {
    gap: 11px;
  }
}

/* FLEX DIRECTION ON MOBILE */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: var(--dm-black);
  border-top: 3px solid var(--dm-gold);
  box-shadow: 0 -3px 19px rgba(22,65,104,0.13);
  padding: 20px 10px;
  z-index: 1800;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform 0.4s cubic-bezier(0.54,0.29,0.24,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner__buttons {
  display: flex;
  gap: 18px;
}
.cookie-banner__button {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 27px;
  padding: 10px 22px;
  border: none;
  cursor: pointer;
  background: var(--dm-blue);
  color: #fff;
  margin: 0;
  box-shadow: 0 1.5px 7px rgba(22,65,104,0.10);
  transition: background 0.16s, color 0.16s;
}
.cookie-banner__button:hover {
  background: var(--dm-gold);
  color: #fff;
}
.cookie-banner__button--secondary {
  background: #fff;
  color: var(--dm-blue);
  border: 1.2px solid var(--dm-gold);
  box-shadow: none;
}
.cookie-banner__button--secondary:hover {
  background: var(--dm-blue-light);
  color: #fff;
}
.cookie-banner__button--settings {
  background: var(--dm-gold);
  color: #fff;
  border: none;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(22,65,104,0.62);
  z-index: 1900;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.27s;
}
.cookie-modal-overlay.active {
  display: flex;
  animation: fadein 0.23s;
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 98vw;
  width: 370px;
  box-shadow: 0 4px 36px rgba(35,38,41,0.18);
  padding: 32px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--dm-black);
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  top: 12px; right: 18px;
  font-size: 1.66rem;
  background: none;
  color: var(--dm-blue);
  border: none;
  border-radius: 50%;
  padding: 3px 8px;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 2;
}
.cookie-modal__close:hover {
  background: var(--dm-gold);
  color: #fff;
}
.cookie-modal__cats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal__cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F5F7FA;
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 1.02em;
}
.cookie-modal__switch {
  position: relative;
  width: 44px;
  height: 24px;
  display: inline-block;
}
.cookie-modal__switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal__slider {
  position: absolute;
  cursor: pointer;
  top: 2px; left: 0;
  right: 0; bottom: 2px;
  background: #ddd;
  border-radius: 20px;
  transition: background 0.2s;
}
.cookie-modal__switch input:checked + .cookie-modal__slider {
  background: var(--dm-gold);
}
.cookie-modal__slider:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 3px; bottom: 2.3px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0.5px 2.5px rgba(22,65,104,0.08);
  transition: transform 0.24s;
}
.cookie-modal__switch input:checked + .cookie-modal__slider:before {
  transform: translateX(17px);
}
.cookie-modal__cat--essential label {
  color: var(--dm-gray); font-style: italic;
}
.cookie-modal__cat--essential .cookie-modal__switch {
  opacity: 0.58;
  pointer-events: none;
}
.cookie-modal__actions {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}
.cookie-modal__actions button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 23px;
  padding: 9px 20px;
  border: none;
  cursor: pointer;
  background: var(--dm-blue);
  color: #fff;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal__actions button:hover, .cookie-modal__actions button:focus {
  background: var(--dm-gold);
  color: #fff;
}
.cookie-modal__actions .cookie-modal__actions-secondary {
  background: #fff;
  color: var(--dm-blue);
  border: 1.1px solid var(--dm-gold);
}
.cookie-modal__actions .cookie-modal__actions-secondary:hover {
  background: var(--dm-blue-light);
  color: #fff;
}

/* MICRO-INTERACTIONS AND HOVER ANIMATION */
.card, .feature-grid > div, .service-cards > div {
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.14s;
}
a, .cta-primary, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner__button {
  transition: color 0.18s, background 0.19s, box-shadow 0.17s, transform 0.13s;
}

/* Z-INDEXS for overlays & header */
header {z-index: 1100;} 
.mobile-menu {z-index: 1500;} 
.cookie-banner {z-index: 1800;}
.cookie-modal-overlay {z-index: 1900;}


/* NO CSS GRID: only Flexbox used throughout. */

/* END OF STYLES */
