/* =====================================================
   CSS RESET & NORMALIZE
   ===================================================== */
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;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  line-height: 1.6;
  background: #F2E8D5;
  color: #354453;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
ul, ol {
  list-style-position: inside;
  margin-left: 0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #354453;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-word;
}
a:focus {
  outline: 2px solid #C0B288;
}
button {
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background: none;
}

/* =====================================================
   BRAND FONTS
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #354453;
  line-height: 1.15;
}
h1 {
  font-size: 2.75rem;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  letter-spacing: 0.025em;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}
p, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.125rem;
  color: #354453;
  margin-bottom: 18px;
}
strong, b {
  font-weight: 700;
  color: #354453;
}

.text-section ul, .text-section ol {
  margin-bottom: 16px;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 8px;
  padding-left: 0;
}

/* ============== Geometric/Structured Visual Elements ================ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(53,68,83,0.04);
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(53,68,83,0.08);
  padding: 32px 24px;
  flex: 1 0 300px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(192,178,136,0.19);
  transform: translateY(-4px) scale(1.015);
  z-index: 2;
}
.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 {
  background: #fff;
  color: #354453;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 1px 6px rgba(53,68,83,0.05);
  margin-bottom: 20px;
  border-left: 6px solid #C0B288;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 24px 20px;
  border-radius: 16px;
  box-shadow: 0 1px 5px rgba(53,68,83,0.05);
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features-grid > div {
  flex: 1 1 220px;
  min-width: 200px;
  background: #fff;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px 20px;
  box-shadow: 0 1px 8px rgba(53,68,83,0.06);
}
.features-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.content-wrapper.text-section {
  max-width: 700px;
}

/* ===================== Header ===================== */
header {
  background: #F2E8D5;
  box-shadow: 0 2px 14px rgba(53,68,83,0.045);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 16px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #354453;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 1rem;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #C0B288;
  color: #fff;
}
.main-nav .btn-primary {
  margin-left: 12px;
}

.mobile-menu-toggle {
  display: none;
  background: #354453;
  color: #fff;
  font-size: 2rem;
  border-radius: 9px;
  padding: 6px 12px;
  margin-left: 10px;
  border: none;
  transition: background 0.14s, color 0.14s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #C0B288;
  color: #354453;
}

/* ============= Mobile Menu Overlay ============= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(53,68,83,0.98);
  color: #fff;
  z-index: 200;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.42,0,.14,.97);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 32px 12px 0;
  font-size: 2rem;
  background: none;
  color: #fff;
  border-radius: 50%;
  transition: background 0.18s;
  padding: 4px 10px;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #C0B288;
  color: #354453;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 18px;
  padding: 0 40px 40px 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: none;
  border-radius: 10px;
  padding: 10px 0 10px 4px;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #C0B288;
  color: #354453;
}

/* ===================== Buttons ===================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: #354453;
  color: #fff !important;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 0.06em;
  font-size: 1.14rem;
  padding: 12px 32px;
  min-height: 44px;
  box-shadow: 0 3px 12px rgba(53,68,83,0.06);
  transition: background 0.16s, box-shadow 0.12s, transform 0.13s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #C0B288;
  color: #354453 !important;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 8px 30px rgba(192,178,136,0.14);
}

/* ===================== Footer ===================== */
footer {
  background: #354453;
  color: #fff;
  margin-top: 60px;
  padding: 0;
}
footer .container {
  padding: 0 16px;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 48px 0 30px 0;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 1rem;
  color: #C0B288;
}
.footer-nav a {
  color: #C0B288;
  transition: color 0.14s, text-decoration 0.14s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #F2E8D5;
  text-decoration: underline;
}
.footer-info {
  color: #fff;
  font-size: 1rem;
}

/* ===================== Cookie Consent Banner ===================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: #fff;
  color: #354453;
  border-top: 2px solid #C0B288;
  box-shadow: 0 -3px 20px rgba(53,68,83,0.13);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 32px 22px 32px;
  font-size: 1rem;
  animation: cookieSlideIn 0.6s cubic-bezier(.42,0,.18,1.14);
}
@keyframes cookieSlideIn {
  from {transform: translateY(100%);} to {transform: translateY(0);}
}
.cookie-banner p {
  flex: 1 1 auto;
  max-width: 700px;
}
.cookie-btn-group {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  margin-left: 0;
  min-width: 110px;
  font-weight: 600;
  transition: background 0.15s, color 0.12s;
}
.cookie-btn.accept {
  background: #354453;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #C0B288;
  color: #354453;
}
.cookie-btn.reject {
  background: #C0B288;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #354453;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: #354453;
  border: 2px solid #C0B288;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #C0B288;
  color: #fff;
}

/* -------- Cookie Modal --------- */
.cookie-modal-cover {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  z-index: 400;
  background: rgba(53,68,83,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.25s;
}
@keyframes fadeIn {from{opacity:0;}to{opacity:1;}}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  max-width: 400px;
  width: 94vw;
  padding: 32px 28px;
  box-shadow: 0 8px 52px rgba(53,68,83,0.17);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  color: #354453;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cookie-toggle {
  width: 44px;
  height: 22px;
  border-radius: 12px;
  background: #C0B288;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-toggle input {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0; top: 0;
}
.cookie-toggle span {
  display: block;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px;
  top: 2px;
  transition: left 0.19s;
  box-shadow: 0 1px 6px rgba(53,68,83,0.043);
}
.cookie-toggle input:checked + span {
  left: 24px;
}
.cookie-category.disabled label {
  color: #CCC;
}
.cookie-modal .btn-primary {
  margin-top: 16px;
  align-self: flex-end;
}
.cookie-modal-close {
  background: transparent;
  color: #354453;
  font-size: 1.6rem;
  border: none;
  position: absolute;
  top: 18px; right: 20px;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #C0B288;
}

/* ===================================================
   Accessibility utility classes
   =================================================== */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ===================== General Spacing =========== */
main {
  margin-bottom: 48px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  margin-bottom: 0;
}

.card {
  margin-bottom: 20px;
}

.testimonial-card {
  margin-bottom: 20px;
}
.features-grid,
.card-container,
.content-grid {
  gap: 24px;
}
.text-image-section {
  gap: 30px;
}
.feature-item {
  gap: 15px;
}

/* ===================== Icon and visual style =========== */
section ul img {
  margin-right: 8px;
  vertical-align: -5px;
}

/* ===================== Responsive Design ===================== */
@media (max-width: 1024px) {
  .features-grid > div,
  .card {
    flex: 1 1 320px;
  }
  .container {
    max-width: 900px;
    padding: 0 10px;
  }
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.55rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    padding: 0 8px;
    max-width: 99vw;
  }
  section, .section {
    padding: 30px 7px;
    margin-bottom: 44px;
    border-radius: 16px;
  }
  h1 {
    font-size: 1.55rem;
    margin-bottom: 18px;
  }
  h2 {
    font-size: 1.16rem;
    margin-bottom: 14px;
  }
  .features-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .testimonials {
    flex-direction: column;
  }
  .footer-content {
    padding: 36px 0 20px 0;
    gap: 16px;
  }
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    padding: 18px 14px;
    border-radius: 12px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 14px 15px 14px;
    gap: 14px;
    font-size: 0.99rem;
  }
  .cookie-btn-group {
    gap: 7px;
    width: 100%;
  }
  .cookie-modal {
    padding: 22px 7px;
    max-width: 97vw;
  }
}

@media (max-width: 550px) {
  html {
    font-size: 14px;
  }
  .section, section {
    padding: 19px 2px;
  }
}

/* ===== Micro-interactions & transitions ===== */
.card, .testimonial-card, .features-grid > div, .feature-item {
  transition: box-shadow 0.19s, transform 0.19s;
}
.card:hover, .features-grid > div:hover, .testimonial-card:hover, .feature-item:hover {
  box-shadow: 0 6px 36px rgba(192,178,136,0.12);
  transform: translateY(-2px) scale(1.01);
  z-index: 3;
}

.btn-primary:active, .cookie-btn:active {
  transform: scale(0.96);
}

/* ===== Scrollbar Styling (for geometric feel) ===== */
::-webkit-scrollbar {
  width: 9px;
  background: #F2E8D5;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: #C0B288;
  border-radius: 6px;
}

/* ===================== Utility ===================== */
.mt-0 {margin-top: 0!important;}
.mb-0 {margin-bottom: 0!important;}
.mt-24 {margin-top: 24px!important;}
.mb-24 {margin-bottom: 24px!important;}

/* ===================== Overwrite autofill for buttons on mobile chrome ===================== */
input:-webkit-autofill, select:-webkit-autofill, textarea:-webkit-autofill {
  box-shadow: 0 0 0 30px #fff inset;
  -webkit-box-shadow: 0 0 0 30px #fff inset;
  -webkit-text-fill-color: #354453;
}

/* ===================== End of main CSS ===================== */
