/* =====================
   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;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  min-height: 100vh;
  background: #F3F6F9;
  color: #2C3A47;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

ul, ol {
  list-style: none;
}

a {
  color: #2C3A47;
  text-decoration: none;
  transition: color 0.2s;
}

a:focus {
  outline: 2px dashed #E5B262;
  outline-offset: 2px;
}

strong {
  font-weight: 600;
}

hr {
  border: none;
  border-top: 1px solid #E5B262;
  margin: 24px 0;
}
/* =====================
      Typography
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, sans-serif;
  color: #2C3A47;
  margin-bottom: 0.7em;
  font-weight: 600;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.subheadline {
  font-size: 1.18rem;
  color: #444;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 22px;
}
p, ul li, ol li, small, address {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 20px;
}

small {
  font-size: 0.93rem;
}

.text-section {
  font-size: 1.06rem;
  color: #2C3A47;
}

/* Visual hierarchy in lists */
ul li {
  margin-bottom: 16px;
  line-height: 1.7;
}
/* =====================
      Layout Wrappers
   ===================== */
.container {
  width: 100%;
  max-width: 1200px;
  padding-right: 20px;
  padding-left: 20px;
  margin: 0 auto;
}

.content-wrapper {
  width: 100%;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 24px rgba(44,58,71, 0.08);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(44,58,71,0.08);
  position: relative;
  overflow: hidden;
  border: 1.5px solid #e6eaf3;
  transition: box-shadow 0.25s, border 0.25s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  border: 1.5px solid #E5B262;
  box-shadow: 0 8px 32px rgba(44,58,71,0.18);
  z-index: 2;
}
/* Features, Cards, Content Grids */
.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;
}

/* Unique items for testimonials, features */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  background: #F3F6F9;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(44,58,71,0.07);
  border: 1px solid #E5B262;
  color: #25272a;
  font-size: 1.08rem;
  transition: box-shadow 0.24s, border 0.2s;
}

.testimonial-card strong {
  margin-top: 8px;
  color: #564105;
  font-weight: 600;
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(44,58,71,0.13);
  border: 1.5px solid #e5b262; 
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 22px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(44,58,71,0.06);
  margin-bottom: 24px;
}

/* =====================
   Header & Navigation
   ===================== */
header {
  background: #fff;
  padding: 0 0 0 0;
  box-shadow: 0 2px 12px rgba(44,58,71,0.03);
  position: relative;
  z-index: 60;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  padding: 18px 20px;
}
header nav a,
footer nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.12rem;
  color: #2C3A47;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  letter-spacing: 0.02em;
  font-weight: 500;
}
header nav a:hover,
header nav a:focus {
  color: #E5B262;
  background: rgba(44,58,71,0.065);
}
header nav a.cta {
  background: #E5B262;
  color: #231b07;
  font-weight: 600;
  padding: 9px 26px;
  margin-left: 18px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 1.5px 9px rgba(229,178,98, 0.09);
  transition: background 0.22s, color 0.20s;
}
header nav a.cta:hover, header nav a.cta:focus {
  background: #f8e6c3;
  color: #b2871e;
}
header nav img {
  height: 46px;
  margin-right: 12px;
  vertical-align: middle;
  filter: drop-shadow(0 1px 3px rgba(229,178,98,0.1));
}
/* Mobile hamburger button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #2C3A47;
  padding: 10px 18px 8px 8px;
  margin-left: auto;
  cursor: pointer;
  z-index: 103;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus {
  color: #E5B262;
  outline: 2px solid #E5B262;
}
/* Mobile menu overlay */
.mobile-menu {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100vw;
  min-height: 100vh;
  background: #2C3A47;
  z-index: 120;
  transform: translateX(-100%);
  transition: transform 0.42s cubic-bezier(.65,.02,.28,1);
  box-shadow: 0 4px 42px rgba(44,58,71,0.45);
  will-change: transform;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 28px;
  font-size: 2.5rem;
  color: #E5B262;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 103;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 100px;
  align-items: center;
  justify-content: flex-start;
  width: 100vw;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.22rem;
  font-family: 'Oswald', Arial, sans-serif;
  padding: 13px 36px;
  border-radius: 22px;
  transition: background 0.18s, color 0.18s;
  text-align: center;
  width: 80vw;
  max-width: 370px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E5B262;
  color: #23231f;
}

/* =====================
   Main, Sections
   ===================== */
main {
  min-height: 70vh;
  margin-top: 16px;
  margin-bottom: 54px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Text-Image section alignment (flex!) */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* =====================
   Buttons & CTA
   ===================== */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #E5B262;
  color: #231b07;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  border-radius: 32px;
  border: none;
  padding: 13px 32px;
  margin-top: 6px;
  margin-bottom: 12px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(229,178,98,0.08);
  transition: background 0.19s, color 0.19s, transform 0.19s;
  position: relative;
  text-shadow: 0px 1px 0px #fff1d0;
}
.cta:hover, .cta:focus {
  background: #f8e6c3;
  color: #986c08;
  transform: translateY(-2px) scale(1.03);
}

/* =====================
   Footer
   ===================== */
footer {
  background: #222933;
  color: #cabad0;
  padding: 32px 18px 20px 18px;
  border-top: 4px solid #E5B262;
  box-shadow: 0 -2.5px 24px rgba(44,58,71,0.07);
  margin-top: 40px;
  width: 100%;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
footer nav a {
  color: #E5B262;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.06rem;
  padding: 5px 15px;
  border-radius: 8px;
  transition: background 0.12s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: #E5B262;
  color: #2C3A47;
}
footer small {
  display: block;
  color: #f2e6cd;
  text-align: center;
  margin-top: 18px;
}

/* =====================
   Custom List Icons
   ===================== */
ul > li > img {
  width: 32px;
  height: 32px;
  margin-right: 12px;
  vertical-align: middle;
  display: inline-block;
  margin-bottom: -7px;
}

/* =====================
   Forms (if any)
   ===================== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 1px solid #e1e4e7;
  border-radius: 8px;
  padding: 12px 13px;
  margin-bottom: 16px;
  width: 100%;
  background: #F8F8FB;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #E5B262;
  outline: none;
}

label {
  font-size: 1rem;
  font-weight: 500;
  color: #534926;
  font-family: 'Oswald', Arial, sans-serif;
  margin-bottom: 7px;
  display: block;
}

/* =====================
   Cookie Consent Banner
   ===================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #2C3A47;
  color: #fff;
  padding: 22px 17px 22px 17px;
  z-index: 3000;
  box-shadow: 0 -3px 28px 4px rgba(44,58,71,0.16);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  font-size: 1rem;
  animation: banner-slide-in 0.35s 
cubic-bezier(.7,.16,.24,1);
}
@keyframes banner-slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner.hide {
  display: none;
}
.cookie-banner-message {
  margin-bottom: 8px;
  text-align: center;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.cookie-btn {
  background: #E5B262;
  color: #2C3A47;
  border: none;
  border-radius: 21px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  padding: 12px 25px;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.15s, transform 0.18s;
  box-shadow: 0 2px 5px rgba(229,178,98,0.17);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: #E5B262;
  transform: translateY(-1px);
}
.cookie-btn.reject {
  background: #fff;
  color: #2C3A47;
  border: 1.5px solid #E5B262;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #E5B262;
  color: #23231f;
}
.cookie-btn.settings {
  background: #2C3A47;
  color: #E5B262;
  border: 1.5px solid #E5B262;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #E5B262;
  color: #2C3A47;
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,58,71, 0.77);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-overlay-in 0.3s cubic-bezier(.7,.16,.24,1);
}
@keyframes modal-overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #2C3A47;
  border-radius: 18px;
  box-shadow: 0 7px 32px rgba(44,58,71, 0.19);
  padding: 32px 24px 24px 24px;
  min-width: 320px;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: modal-slide-in 0.32s cubic-bezier(.7,.16,.24,1);
  position: relative;
}
@keyframes modal-slide-in {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.36rem;
  margin-bottom: 18px;
  color: #2C3A47;
}
.cookie-categories {
  width: 100%;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  font-size: 1.05rem;
}
.cookie-category .toggle-switch {
  position: relative;
  width: 40px;
  height: 22px;
}
.toggle-switch input[type="checkbox"] {
  display: none;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #E5B262;
  border-radius: 22px;
  transition: background 0.19s;
}
.toggle-slider:before {
  content: '';
  position: absolute;
  left: 2.5px;
  top: 2.5px;
  width: 17px;
  height: 17px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.23s;
  box-shadow: 0 2px 6px rgba(44,58,71,0.12);
}
.toggle-switch input:checked + .toggle-slider {
  background: #2C3A47;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(17px);
  background: #E5B262;
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 18px;
  font-size: 1.7rem;
  background: none;
  border: none;
  color: #2C3A47;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #E5B262;
}

.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 15px;
}
.cookie-modal-actions button {
  min-width: 105px;
}

/* ==========
   Animations
   ========== */
.card, .testimonial-card, .feature-item, .section {
  transition: box-shadow 0.23s, border 0.19s, background 0.18s;
}
.cta, .cookie-btn {
  transition: background 0.19s, color 0.19s, transform 0.18s;
}
.mobile-menu, .mobile-menu-close {
  transition: background 0.17s, color 0.19s, transform 0.21s;
}

/* =====================
   Responsive Design
   ===================== */
@media (max-width: 1024px) {
  .container {
    max-width: 90vw;
  }
}
@media (max-width: 900px) {
  header nav a {
    font-size: 1rem;
    padding: 7px 12px;
  }
  h1 {
    font-size: 2.1rem;
  }
}
@media (max-width: 768px) {
  main {
    margin-bottom: 40px;
  }
  section {
    padding: 32px 8px;
  }
  .section {
    padding: 28px 7px;
  }
  .container {
    padding: 0 5px;
    max-width: 100vw;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
  .card-container, .feature-item {
    flex-direction: column;
    gap: 16px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: block;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.72rem;
    margin-bottom: 19px;
  }
  .section {
    padding: 19px 3px;
    margin-bottom: 32px;
  }
  .testimonial-card, .feature-item {
    padding: 14px;
  }
  .cookie-modal {
    padding: 12px 5vw 18px 5vw;
  }
}
/* Spacing between all cards and sections */
.card, .testimonial-card, .feature-item, .section, .card-container > *, .content-grid > * {
  margin-bottom: 20px;
}
.card-container, .content-grid, .text-image-section, .feature-item, .testimonial-card {
  gap: 20px;
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation-duration: 0s !important;
  }
}
}