/* ========================== 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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #FFFFFF;
  color: #20404D;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
a {
  color: #20404D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A76734;
  outline: none;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  background: none;
  outline: none;
}
:focus {
  outline: 2px solid #A76734;
  outline-offset: 2px;
}

/* =================== BRAND TYPOGRAPHY & COLORS ==================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #20404D;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.375rem; margin-bottom: 16px; }
h4 { font-size: 1.125rem; margin-bottom: 12px; }
h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p { margin-bottom: 20px; }
.text-section p:last-child { margin-bottom: 0; }
.text-section {
  max-width: 700px;
}

/* ======================== LAYOUT & CONTAINER ======================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 18px 0 rgba(32, 64, 77, 0.04);
  margin-bottom: 20px;
  padding: 32px 24px;
  position: relative;
  min-width: 260px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 24px 0 rgba(32, 64, 77, 0.09);
}
.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;
    align-items: flex-start;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px 20px 28px;
  background: #FAFAFA;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(32,64,77,0.05);
  margin-bottom: 20px;
}
.testimonial-card p {
  font-size: 1.125rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #20404D;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #20404D;
  opacity: 0.7;
  font-size: 0.95rem;
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* Spacing for repeated blocks */
section + section, .section + .section {
  margin-top: 0;
}

/* ==================== HEADER & NAVIGATION ====================== */
header {
  background: #fff;
  border-bottom: 1px solid #F0F0F0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 28px;
}
header nav {
  display: flex;
  gap: 24px;
}
header nav a {
  color: #20404D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0px;
  padding: 7px 0 7px 0;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #EADCC2;
  color: #A76734;
}
header img {
  height: 44px;
  width: auto;
}
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 11px 32px;
  font-size: 1.09rem;
  cursor: pointer;
  transition: background 0.23s, color 0.23s, box-shadow 0.17s;
  box-shadow: 0 1px 6px 0 rgba(32,64,77,0.08);
  margin-top: 4px;
  margin-bottom: 4px;
}
.btn-primary {
  background: #20404D;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #A76734;
  color: #fff;
}
.btn-secondary {
  background: #EADCC2;
  color: #20404D;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #A76734;
  color: #fff;
}

@media (max-width: 991px) {
  header .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  header nav {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 14px;
    height: 66px;
  }
  header nav, header .btn-primary {
    display: none;
  }
  header img {
    height: 38px;
  }
}

/* ========================= MOBILE NAVIGATION ========================== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  background: #fff;
  color: #20404D;
  font-size: 2.2rem;
  border: 1px solid #F0F0F0;
  border-radius: 7px;
  align-items: center;
  justify-content: center;
  z-index: 1110;
  box-shadow: 0 2px 8px rgba(32,64,77,0.09);
  transition: background 0.2s, box-shadow 0.2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #EADCC2;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 32px 3px rgba(32,64,77,0.12);
  z-index: 1200;
  padding: 24px 30px 30px 30px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.33,1.07,.7,1), opacity 0.22s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #20404D;
  background: #fff;
  border-radius: 7px;
  border: 1px solid #F3EEE2;
  padding: 4px 13px;
  margin-bottom: 20px;
  align-self: flex-end;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #EADCC2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  color: #20404D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  border-radius: 7px;
  background: none;
  padding: 13px 6px;
  transition: background 0.18s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EADCC2;
  color: #A76734;
}

@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}


/* ======================== FOOTER =========================== */
footer {
  background: #fff;
  border-top: 1px solid #F0F0F0;
  padding: 28px 0 16px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer nav {
  display: flex;
  gap: 22px;
  margin: 8px 0;
}
footer nav a {
  color: #20404D;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
footer nav a:hover {
  color: #A76734;
}
footer img {
  height: 36px;
  width: auto;
}
footer p {
  font-size: 0.96rem;
  color: #20404D;
  opacity: 0.7;
}

/* ===================== LISTS & ICON FEATURES ===================== */
ul {
  margin-bottom: 16px;
  padding-left: 0;
}
ul li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 0;
  line-height: 1.56;
}
ul li img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  width: 24px;
  height: 24px;
}

ol {
  margin-bottom: 16px;
  padding-left: 22px;
}
ol li {
  margin-bottom: 11px;
}

/* ======================== FORMS & INPUTS ==================== */
input, textarea, select {
  border: 1px solid #E1E3E5;
  background: #FCFCFC;
  border-radius: 6px;
  padding: 11px 14px;
  font-size: 1rem;
  color: #20404D;
  width: 100%;
  margin-bottom: 18px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #A76734;
  background: #fff;
  box-shadow: 0 2px 16px rgba(167,103,52,0.07);
}
label {
  display: block;
  font-size: 1rem;
  margin-bottom: 7px;
  color: #20404D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}

/* =================== RESPONSIVE DESIGN ===================== */
@media (max-width: 991px) {
  .container {
    max-width: 96vw;
  }
  .section { padding: 32px 8px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.05rem; }
  .container { max-width: 100%; padding: 0 8px; }
  .section { margin-bottom: 40px; padding: 22px 2px; }
  .card, .testimonial-card {
    padding: 22px 13px;
    min-width: 0;
  }
  .footer { padding: 20px 0 6px 0; }
  .content-wrapper, .card-container, .content-grid {
    gap: 12px;
  }
}

/* ================= MICRO-INTERACTIONS & ANIMATIONS ================= */
@media (prefers-reduced-motion: no-preference) {
  .btn-primary, .btn-secondary, .mobile-menu, .mobile-menu-toggle, .testimonial-card, .card {
    transition: background 0.21s, color 0.21s, box-shadow 0.17s, transform 0.14s;
  }
  .btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-1px) scale(1.025);
  }
}

/* ============ COOKIE CONSENT BANNER & MODAL ============== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  color: #20404D;
  box-shadow: 0 -2px 18px 0 rgba(32,64,77,0.13);
  z-index: 1300;
  padding: 14px 22px 14px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
}
.cookie-banner p {
  font-size: 1rem;
  margin-bottom: 0;
  color: #20404D;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.cookie-btn, .cookie-btn-primary, .cookie-btn-secondary {
  border-radius: 7px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 18px;
  font-size: 1rem;
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
}
.cookie-btn-primary {
  background: #20404D;
  color: #fff;
}
.cookie-btn-primary:hover, .cookie-btn-primary:focus {
  background: #A76734;
  color: #fff;
}
.cookie-btn-secondary {
  background: #EADCC2;
  color: #20404D;
}
.cookie-btn-secondary:hover, .cookie-btn-secondary:focus {
  background: #A76734;
  color: #fff;
}
.cookie-btn {
  background: #FAFAFA;
  color: #20404D;
  border: 1px solid #D8DADF;
}
.cookie-btn:hover {
  background: #EADCC2;
  color: #20404D;
}
/* Banner Animation */
.cookie-banner.slidein {
  animation: cookieSlideIn 0.36s cubic-bezier(.43,1.17,.77,1);
}
@keyframes cookieSlideIn {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Cookie Modal Preferences */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-55%) scale(1);
  padding: 32px 26px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 36px 0 rgba(32,64,77,0.16);
  z-index: 3200;
  min-width: 290px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.21s, transform 0.23s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,40%) scale(0.94);
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 700;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-category label {
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.cookie-toggle {
  width: 42px; height: 24px;
  background: #EADCC2;
  border-radius: 13px;
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s;
  margin-right: 7px;
}
.cookie-toggle input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-toggle .slider {
  position: absolute;
  height: 18px;
  width: 18px;
  background: #fff;
  border-radius: 50%;
  left: 3px;
  top: 3px;
  box-shadow: 0 1px 7px 0 rgba(32,64,77,0.06);
  transition: left 0.17s;
}
.cookie-toggle input:checked + .slider {
  left: 21px;
  background: #20404D;
}
.cookie-toggle input:checked ~ .slider {
  background: #20404D;
}
.cookie-category.essential .cookie-toggle {
  background: #20404D !important;
}
.cookie-category.essential .slider {
  background: #20404D !important;
  opacity: .88;
}

.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 16px 7px;
    min-width: 0;
    width: 98vw;
  }
  .cookie-banner { padding: 9px 8px 9px 8px; }
}

/* =================== GENERAL UTILITIES ==================== */
.hide, .hidden {
  display: none !important;
}
.noscroll {
  overflow: hidden !important;
}

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