/* ----------------------------------------------------
   CSS RESET & NORMALIZATION
-----------------------------------------------------*/
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F4F4F9;
  color: #273043;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #2C3141;
  text-decoration: none;
  transition: color 0.18s;
}
a:focus {
  outline: 2px solid #C1A567;
  outline-offset: 2px;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  appearance: none;
}
button:not(:disabled) {
  cursor: pointer;
}
ul, ol {
  list-style: disc inside;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #2C3141;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.18;
}
h1 { font-size: 2.25rem; margin-bottom: 24px; }
h2 { font-size: 1.75rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 16px; font-weight: 600; }
p, .hero-subheadline {
  font-size: 1rem;
  color: #2C3141;
  margin-bottom: 16px;
  line-height: 1.7;
}
.hero-subheadline {
  font-size: 1.125rem;
  color: #42516C;
  margin-bottom: 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.2px;
}
strong { font-weight: 600; color: #2C3141; }

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(44, 49, 65, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 32px;
    border-radius: 10px;
  }
  .container {
    padding: 0 8px;
  }
}

/* ----------------------------------------------------
   HEADER: Desktop & Mobile
-----------------------------------------------------*/
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(44, 49, 65, 0.06);
  position: sticky;
  top: 0;
  z-index: 1100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 80px;
}
header img {
  height: 48px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #2C3141;
  opacity: 0.92;
  letter-spacing: 0.01em;
  padding: 6px 0;
  transition: color .15s, opacity .18s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:active,
.main-nav a:focus {
  color: #C1A567;
  opacity: 1;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 11px 34px;
  border-radius: 26px;
  border: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: #2C3141;
  color: #fff;
  box-shadow: 0 2px 8px rgba(44,49,65,0.13);
  transition: background 0.18s, color 0.18s, box-shadow 0.26s;
  margin-left: 16px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #C1A567;
  color: #2C3141;
}
.btn-secondary {
  background: #C1A567;
  color: #2C3141;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #2C3141;
  color: #fff;
}

/* ----------------------------------------------------
   RESPONSIVE HEADER NAVIGATION & MOBILE BURGER MENU
-----------------------------------------------------*/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  margin-left: 16px;
  color: #2C3141;
  border-radius: 12px;
  transition: background 0.18s;
  z-index: 1102;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #EEF1F4;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,49,65,0.98);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.68,-0.25,.27,1.25);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 0 0 0;
  width: 100vw;
  height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.4rem;
  color: #fff;
  background: none;
  border: none;
  margin: 26px 26px 0 0;
  align-self: flex-end;
  border-radius: 10px;
  transition: background 0.16s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #C1A567;
  color: #2C3141;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100vw;
  margin-top: 40px;
  padding-left: 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  color: #fff;
  font-weight: 500;
  padding: 10px 0;
  transition: color 0.18s;
  border-radius: 6px;
}
.mobile-nav a:hover, .mobile-nav a:active, .mobile-nav a:focus {
  color: #C1A567;
  outline: none;
}
@media (min-width: 981px) {
  .mobile-menu { display: none !important; }
}

/* ----------------------------------------------------
   HERO & CONTENT LAYOUTS
-----------------------------------------------------*/
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
  border: none;
  box-shadow: none;
}
.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 32px;
    padding: 24px 0;
  }
  .content-wrapper {
    padding: 0 8px;
  }
}

/* ----------------------------------------------------
   FLEXBOX CARDS, FEATURES, TESTIMONIALS
-----------------------------------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(44, 49, 65, 0.07);
  padding: 26px 22px;
  flex: 1 1 280px;
  min-width: 240px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.18s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 32px rgba(44,49,65,0.12);
  transform: translateY(-2px);
}

.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) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 12px;
  flex: 1 1 270px;
  min-width: 210px;
  box-shadow: 0 2px 12px rgba(44, 49, 65, 0.08);
  padding: 24px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 20px rgba(44,49,65,0.15);
  transform: translateY(-3px) scale(1.02);
}
.feature-grid img {
  height: 36px;
  width: 36px;
  margin-bottom: 10px;
}
.feature-grid h3 {
  margin-bottom: 8px;
  color: #2C3141;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f4f4f9;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(44,49,65,0.06);
  margin-bottom: 20px;
  flex-wrap: wrap;
  min-width: 0;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #23283D;
  font-size: 1.08rem;
  font-style: italic;
  background: none;
  border-left: 4px solid #C1A567;
  padding-left: 16px;
  margin: 0;
  line-height: 1.6;
}
.testimonial-meta {
  margin-left: auto;
  min-width: 120px;
}
.testimonial-meta p {
  color: #42516C;
  margin-bottom: 0;
  font-size: 0.98rem;
  text-align: right;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .testimonial-meta {
    margin-left: 0;
    text-align: left;
  }
}

/* ----------------------------------------------------
   FOOTER
-----------------------------------------------------*/
footer {
  background: #2C3141;
  color: #F4F4F9;
  padding: 50px 0 32px;
  width: 100%;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-left {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.footer-left img {
  height: 46px;
  margin-bottom: 6px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}
.footer-nav a {
  color: #F4F4F9;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  opacity: 0.88;
  letter-spacing: 0.01em;
  transition: color 0.15s, opacity 0.15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #C1A567;
  opacity: 1;
}
.footer-contact {
  flex: 2 1 260px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 1rem;
  color: #f3f1ee;
}
.footer-contact strong {
  color: #C1A567;
}
.footer-contact img {
  height: 1.1em;
  vertical-align: middle;
  margin-right: 4px;
  margin-bottom: 2px;
}
@media (max-width: 980px) {
  footer .container {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
}

/* ----------------------------------------------------
   COOKIE CONSENT BANNER
-----------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #273043;
  color: #fff;
  z-index: 2000;
  width: 100%;
  padding: 20px 10px 20px 10px;
  box-shadow: 0 -2px 32px rgba(44,49,65,0.11);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: transform 0.32s cubic-bezier(.82,-0.1,.36,1), opacity 0.28s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner__text {
  font-size: 1rem;
  color: #f2f2f6;
  max-width: 540px;
  margin-right: 20px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 9px 24px;
  border-radius: 22px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  margin-right: 0;
  transition: background 0.14s, color 0.14s;
  margin-bottom: 0;
}
.cookie-btn.accept {
  background: #C1A567;
  color: #2C3141;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #f4f4f8;
  color: #2C3141;
}
.cookie-btn.reject {
  background: #fff;
  color: #2C3141;
  border: 1.5px solid #C1A567;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #C1A567;
  color: #2C3141;
}
.cookie-btn.settings {
  background: none;
  color: #C1A567;
  border: 1.5px solid #C1A567;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #C1A567;
  color: #2C3141;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 6px 18px 6px;
  }
  .cookie-banner__text {
    margin-right: 0;
    font-size: 0.99rem;
    max-width: 100%;
  }
  .cookie-banner__actions {
    gap: 10px;
  }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(41,45,70, 0.70);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.23s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  color: #2C3141;
  border-radius: 14px;
  box-shadow: 0 6px 32px rgba(44,49,65,0.16);
  padding: 34px 32px;
  max-width: 350px;
  min-width: 240px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalPop .38s cubic-bezier(.7,-0.12,.24,1.19);
}
@keyframes cookieModalPop {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h3 {
  font-size: 1.19rem;
  margin-bottom: 4px;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.03rem;
  margin-bottom: 8px;
}
.cookie-modal-content input[type="checkbox"] {
  accent-color: #C1A567;
  margin-left: 0;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 13px;
  background: none;
  color: #2C3141;
  font-size: 1.8rem;
  border: none;
  border-radius: 5px;
  transition: background .12s;
}
.cookie-modal-close:focus,
.cookie-modal-close:hover {
  background: #f4f4f4;
  color: #C1A567;
}

/* ----------------------------------------------------
   TYPOGRAPHY ENHANCEMENTS & UTILITIES
-----------------------------------------------------*/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section ul {
  margin-bottom: 8px;
  padding-left: 20px;
}
.text-section h2, .text-section h3, .text-section h4 {
  margin-top: 10px;
}

/* ----------------------------------------------------
   MISC WHITE SPACE & UTILITIES
-----------------------------------------------------*/
.mt-16 { margin-top: 16px !important; }
.mb-12 { margin-bottom: 12px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mb-40 { margin-bottom: 40px !important; }
.pt-24 { padding-top: 24px !important; }
.pb-24 { padding-bottom: 24px !important; }

/* ----------------------------------------------------
   CARDS (INFO, FEATURE, ETC.)
-----------------------------------------------------*/
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ----------------------------------------------------
   MISC
-----------------------------------------------------*/
::-webkit-input-placeholder { color: #ACB1BC; }
::-moz-placeholder { color: #ACB1BC; }
:-ms-input-placeholder { color: #ACB1BC; }
::placeholder { color: #ACB1BC; }

/* ----------------------------------------------------
   SCROLL BAR
-----------------------------------------------------*/
body::-webkit-scrollbar {
  width: 12px;
  background: #F4F4F9;
}
body::-webkit-scrollbar-thumb {
  background: #C1A567;
  border-radius: 8px;
  border: 4px solid #F4F4F9;
}
body::-webkit-scrollbar-thumb:hover {
  background: #2C3141;
}

/* ----------------------------------------------------
   FORMS (if ever used)
-----------------------------------------------------*/
input, textarea, select {
  background: #f8fafc;
  border: 1.5px solid #C1A567;
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 1rem;
  color: #2C3141;
  margin-bottom: 12px;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #2C3141;
}

/* ----------------------------------------------------
   TRANSITIONS (micro-interactions)
-----------------------------------------------------*/
a, button, .feature-grid > div, .card, .btn-primary, .btn-secondary, .testimonial-card, .footer-nav a {
  transition: color 0.18s, background 0.18s, box-shadow 0.18s, transform 0.17s;
}

/* ----------------------------------------------------
   FONT IMPORTS (RECOMMENDED TO PUT IN HTML HEAD)
-----------------------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* ----------------------------------------------------
   MEDIA QUERIES FOR MOBILE-FIST RESPONSIVE DESIGN
-----------------------------------------------------*/
@media (max-width: 830px) {
  .feature-grid {
    flex-direction: column;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 650px) {
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.04rem; }
  .btn-primary, .btn-secondary {
    font-size: 0.99rem;
    padding: 9px 18px;
    margin-left: 0;
  }
  .section {
    padding: 18px 2px;
    border-radius: 7px;
  }
  .feature-grid > div, .card {
    padding: 16px 8px;
  }
}
@media (max-width: 430px) {
  header .container {
    height: 52px;
  }
  header img {
    height: 34px;
  }
}

/* ----------------------------------------------------
   ACCESSIBILITY IMPROVEMENTS
-----------------------------------------------------*/
:focus-visible {
  outline: 2px solid #C1A567;
  outline-offset: 3px;
}

/* ----------------------------------------------------
   PRINT STYLES (HIDE NAV, FOOTER, BANNERS, ETC.)
-----------------------------------------------------*/
@media print {
  header, footer, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff !important; color: #222 !important; }
}
