/* --------------------------------------------------
   RESET & NORMALIZE (MOBILE-FIRST)
----------------------------------------------------- */
html {
  box-sizing: border-box;
  /* font-size: 100%; */
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #20343E;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
ul, ol {
  list-style-type: none;
}
::-webkit-input-placeholder { color: #8693a1; }
::-moz-placeholder { color: #8693a1; }
:-ms-input-placeholder { color: #8693a1; }
::placeholder { color: #8693a1; }

/* --------------------------------------------------
   BRAND COLORS AND TYPOGRAPHY
----------------------------------------------------- */
:root {
  --color-primary: #20343E;
  --color-secondary: #E3E7ED;
  --color-accent: #B9892E;
  --color-accent-alt: #946700;
  --color-bg: #FFFFFF;
  --color-gray: #F6F7FA;
  --color-shadow: rgba(32,52,62,0.05);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* --------------------------------------------------
   LAYOUT CONTAINERS
----------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1152px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (min-width: 992px) {
  .section {
    padding: 60px 0;
    margin-bottom: 80px;
  }
  .content-wrapper {
    gap: 32px;
  }
}

/* --------------------------------------------------
   TYPOGRAPHY
----------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.19;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
h4 { font-size: 1rem; }

@media (min-width: 768px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.3rem; }
}

.subheadline {
  font-family: var(--font-body);
  color: #607083;
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 400;
}
p, li, ul, ol, .text-section {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
}
.text-section {
  margin-bottom: 20px;
}

ul, ol {
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
li b {
  font-weight: 600;
}

/* --------------------------------------------------
   NAVIGATION BAR STYLES
----------------------------------------------------- */
header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-secondary);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  min-height: 64px;
}
.nav-bar nav {
  display: none;
  gap: 24px;
}
.nav-bar > a img {
  height: 38px;
  width: auto;
  display: block;
}

.cta-btn {
  background: var(--color-accent);
  color: #fff;
  border-radius: 6px;
  padding: 0.7em 1.5em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.075rem;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 10px var(--color-shadow);
  border: none;
  outline: none;
  display: inline-block;
  transition: background 0.2s, transform 0.12s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-accent-alt);
  transform: translateY(-2px) scale(1.02);
  color: #fff;
}

.nav-bar .cta-btn {
  display: none;
}

.mobile-menu-toggle {
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  margin-left: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1201;
  width: 42px; height: 42px;
  border-radius: 4px;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover { background: var(--color-secondary); }

@media (min-width: 768px) {
  .nav-bar nav {
    display: flex;
    gap: 32px;
    align-items: center;
  }
  .nav-bar .cta-btn {
    display: inline-block;
    margin-left: 12px;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.16s, border 0.16s;
}
nav a:hover, nav a:focus {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}

/* --------------------------------------------------
   MOBILE NAV OVERLAY
----------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(32,52,62,0.98);
  z-index: 1400;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 28px 28px 0 0;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.48,0.08,0.32,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  color: #fff;
  background: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  border-radius: 4px;
  margin-bottom: 24px;
  transition: background 0.15s;
}
.mobile-menu-close:hover { background: rgba(227,231,237,0.07); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  align-items: flex-start;
  margin-left: 24px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 12px 0;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}
@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --------------------------------------------------
   HERO SECTION / MAIN CTA
----------------------------------------------------- */
main > section:first-child {
  background: linear-gradient(100deg, #FBFCFE 88%, #E3E7ED 100%);
  border-bottom: 1px solid #E3E7ED;
  padding-top: 40px;
  padding-bottom: 40px;
  margin-bottom: 60px;
}
@media (min-width: 992px) {
  main > section:first-child {
    padding-top: 64px;
    padding-bottom: 64px;
    margin-bottom: 80px;
  }
}

/* --------------------------------------------------
   FEATURES & CARDS (Index Hero Features)
----------------------------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
}
.feature-grid > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px var(--color-shadow);
  padding: 28px 20px 22px 20px;
  min-width: 0;
  flex: 1 1 275px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.15s, transform 0.1s;
  border: 1px solid #F0F2F6;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 28px 0 rgba(32,52,62,0.08);
  transform: translateY(-3px) scale(1.02);
}
.feature-grid img {
  height: 34px;
  width: 34px;
  margin-bottom: 4px;
}
.feature-price {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.04rem;
  margin-top: 7px;
}

/* --------------------------------------------------
   FLEX CONTAINERS FOR CUSTOM LAYOUTS
----------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 22px 20px;
  flex: 1 1 300px;
  transition: box-shadow 0.15s, transform 0.1s;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(32,52,62,0.10);
  transform: translateY(-3px) scale(1.015);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/**********************
 TESTIMONIALS
**********************/
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F6F7FA;
  border-radius: 12px;
  box-shadow: 0 2px 14px var(--color-shadow);
  margin-bottom: 20px;
  max-width: 420px;
  flex: 1 1 240px;
  position: relative;
  color: #20343E;
}
.testimonial-card p {
  font-size: 1rem;
  color: #20343E;
}
.testimonial-name {
  color: var(--color-accent-alt);
  font-weight: 700;
  font-size: 1rem;
}
@media (max-width: 768px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
}

/* --------------------------------------------------
   CTA BUTTONS
----------------------------------------------------- */
.faq-link {
  display: inline-block;
  font-family: var(--font-display);
  color: var(--color-accent);
  font-weight: 500;
  margin-top: 6px;
  letter-spacing: 0.01em;
  transition: color 0.16s, border 0.16s;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 2px;
}
.faq-link:hover,
.faq-link:focus {
  color: var(--color-accent-alt);
  border-color: var(--color-accent-alt);
}

/* --------------------------------------------------
   FOOTER
----------------------------------------------------- */
footer {
  background: #FAFBFD;
  border-top: 1px solid #E3E7ED;
  font-size: 0.97rem;
  color: #607083;
}
.footer-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 36px 0 16px 0;
}
.footer-menu {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #607083;
  font-family: var(--font-display);
  letter-spacing: 0.005em;
  font-weight: 400;
  transition: color 0.18s;
}
.footer-menu a:hover { color: var(--color-accent); }
.footer-info {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
}
.footer-info img {
  width: 36px;
  height: 36px;
}
.address {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.96rem;
}
.footer-cta {
  margin-top: 14px;
}
.footer-cta .cta-btn {
  font-size: 1rem;
  padding: 0.6em 1.2em;
  background: var(--color-primary);
  color: #fff;
}
.footer-cta .cta-btn:hover { background: var(--color-accent); color: #fff; }

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
  }
  .footer-menu {
    gap: 32px;
  }
  .footer-info {
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
  }
}

/* --------------------------------------------------
   THANK YOU PAGE
----------------------------------------------------- */
.thank-you-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #F6F7FA;
  padding: 32px 22px;
  border-radius: 14px;
  box-shadow: 0 2px 14px var(--color-shadow);
  align-items: flex-start;
  margin-top: 24px;
}

/* --------------------------------------------------
   CONTACT DETAILS & MAP SECTION
----------------------------------------------------- */
.contact-details {
  background: #F6F7FA;
  padding: 13px 18px;
  border-radius: 10px;
  margin: 18px 0 16px 0;
  box-shadow: 0 2px 12px var(--color-shadow);
}
@media (min-width: 768px) {
  .contact-details {
    max-width: 396px;
  }
}
.map-snippet {
  background: transparent;
  color: #78808A;
  font-size: 0.96rem;
  margin-top: 8px;
}

/* --------------------------------------------------
   RESPONSIVE ADJUSTMENTS
----------------------------------------------------- */
@media (max-width: 1023px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .section {
    padding: 28px 0;
    margin-bottom: 40px;
  }
  nav a, .footer-menu a {
    font-size: 1rem;
    padding: 6px 0;
  }
}
@media (max-width: 520px) {
  .footer-content {
    gap: 20px;
    padding: 24px 0 12px 0;
  }
  .feature-grid > div {
    padding: 19px 8px 16px 13px;
  }
}

/* --------------------------------------------------
   COOKIE CONSENT BANNER
----------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  min-height: 60px;
  z-index: 3200;
  background: #fff;
  box-shadow: 0 -2px 16px var(--color-shadow);
  border-top: 1px solid var(--color-secondary);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: #20343E;
  animation: cookieBannerAppear 0.5s both;
}
@keyframes cookieBannerAppear {
  0% { transform: translateY(5px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  max-width: 720px;
}
.cookie-banner-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.cookie-btn {
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5em 1.4em;
  margin: 0;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.17s, color 0.2s;
}
.cookie-btn.secondary {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-accent-alt);
  color: #fff;
  border-color: var(--color-accent-alt);
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: var(--color-accent);
  color: #fff;
}
@media (min-width: 700px) {
  .cookie-banner-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
}

/* Cookie Preferences MODAL */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(32,52,62,0.38);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 32px 0 rgba(32,52,62,0.17);
  padding: 32px 18px 24px 18px;
  max-width: 390px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: popupAppear 0.34s cubic-bezier(.57,.07,.48,1.4);
}
@keyframes popupAppear {
  0% { transform: translateY(32px) scale(0.98); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-header {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.cookie-pref-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
  font-size: 1rem;
}
.cookie-pref-category label {
  font-family: var(--font-body);
  color: #20343E;
  font-size: 1rem;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 22px;
  background: #E3E7ED;
  position: relative;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-toggle.active {
  background: var(--color-accent);
}
.cookie-toggle-handle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  box-shadow: 0 1px 5px var(--color-shadow);
  transition: left 0.2s;
}
.cookie-toggle.active .cookie-toggle-handle {
  left: 18px;
}
.cookie-category-desc {
  color: #7E8791;
  font-size: 0.93rem;
  margin-left: 6px;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 8px;
}

/* --------------------------------------------------
   ANIMATIONS & MICRO-INTERACTIONS
----------------------------------------------------- */
a, .cta-btn, .cookie-btn, .footer-menu a, .cookie-toggle, .mobile-menu-toggle {
  transition: 
    color 0.2s,
    background 0.15s,
    border-color 0.21s,
    box-shadow 0.17s,
    transform 0.13s;
}
.card, .testimonial-card, .feature-grid > div {
  transition: box-shadow 0.16s, transform 0.14s;
}
.btn:active, .cta-btn:active, .cookie-btn:active {
  transform: translateY(1.5px) scale(0.98);
}

/* --------------------------------------------------
   MISC: GENERAL RULES
----------------------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: #E3E7ED;
  border-radius: 8px;
}

/* Utility */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 20px; }

/****************************************************
   END OF MINIMALIST, FLEXBOX-ONLY, RESPONSIVE CSS
****************************************************/
