/* =======================  CSS RESET & BASE  ============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7F6F3;
  color: #1A3A2D;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: #1A3A2D;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: disc inside;
}

/* Typography Scale & Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1A3A2D;
  font-weight: 700;
}
h1 { font-size: 2.25rem; margin-bottom: 24px; letter-spacing: -1px; }
h2 { font-size: 1.5rem; margin-bottom: 20px; letter-spacing: -0.7px; }
h3 { font-size: 1.125rem; margin-bottom: 12px; letter-spacing: -0.2px; }
h4, h5, h6 { margin-bottom: 10px; }
p { margin-bottom: 16px; }
strong { font-weight: 700; }

/* ========== LAYOUT UTILITIES ========== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(26, 58, 45, 0.07);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 250px;
  flex: 1 1 300px;
}

.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 {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(26, 58, 45, 0.09);
  margin-bottom: 20px;
  min-width: 225px;
  flex-direction: column;
}
.testimonial-card p {
  color: #1A3A2D;
  margin-bottom: 10px;
  font-size: 1rem;
}
.testimonial-card span {
  font-size: 0.95rem;
  color: #979797;
}

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


/* ============ HEADER & NAV ============ */
header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
  justify-content: flex-start;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.main-nav > a {
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.main-nav > a:hover, .main-nav > a:focus {
  background: #D54324;
  color: #fff;
}
.main-nav > a.btn-primary {
  margin-left: auto;
}
.header .main-nav img {
  display: inline-block;
  height: 36px;
  width: auto;
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1A3A2D;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  margin-top: 12px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(26, 58, 45, 0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #D54324;
  color: #fff;
  box-shadow: 0 4px 32px 0 rgba(213, 67, 36, 0.18);
}

/* ========== FEATURE & CARD SECTIONS ========== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(26, 58, 45, 0.06);
  padding: 18px 16px;
  flex: 1 1 220px;
  min-width: 175px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.feature-grid img {
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
  filter: grayscale(30%) contrast(115%);
}

/* ========== FOOTER ========== */
footer {
  background: #fff;
  border-top: 1px solid #eee;
  margin-top: 72px;
  padding: 32px 0 20px 0;
}
footer > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer img {
  width: 52px;
  height: auto;
  margin-bottom: 8px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}
footer nav a {
  font-size: 0.97rem;
  color: #979797;
  border-radius: 4px;
  padding: 4px 10px;
  transition: background 0.15s, color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  background: #D54324;
  color: #fff;
}
footer p {
  font-size: 0.98rem;
  color: #555;
}
footer p img {
  width: 18px;
  vertical-align: middle;
  margin-right: 5px;
}

/* ========== MOBILE MENU (BURGER) ========== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #1A3A2D;
  font-size: 2em;
  position: absolute;
  right: 18px;
  top: 14px;
  z-index: 1200;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background .16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #D54324;
  color: #fff;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.77,.05,.82,.99);
  box-shadow: 2px 0 30px 0 rgba(0,0,0,.12);
  padding: 22px 26px 0 26px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.2em;
  color: #1A3A2D;
  margin-bottom: 24px;
  padding: 6px 10px;
  border-radius: 5px;
  transition: background .13s, color .13s;
  cursor: pointer;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #D54324;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.15rem;
  padding: 12px 0 12px 5px;
  border-radius: 6px;
  color: #1A3A2D;
  transition: background 0.13s, color 0.13s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #D54324;
  color: #fff;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -4px 32px 0 rgba(26,58,45,0.09);
  border-top: 1px solid #e5e5e5;
  padding: 22px 12px 18px 12px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
}
.cookie-banner__btn,
.cookie-banner__btn-settings {
  background: #1A3A2D;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  margin: 0 2px;
  transition: background 0.14s, color 0.14s, box-shadow 0.21s;
  box-shadow: 0 1px 6px 0 rgba(26,58,45,0.08);
}
.cookie-banner__btn:hover, .cookie-banner__btn:focus {
  background: #D54324;
  color: #fff;
}
.cookie-banner__btn--reject {
  background: #D54324;
  color: #fff;
}
.cookie-banner__btn--reject:hover, .cookie-banner__btn--reject:focus {
  background: #1A3A2D;
}
.cookie-banner__btn-settings {
  background: transparent;
  color: #1A3A2D;
  border: 1px solid #1A3A2D;
}
.cookie-banner__btn-settings:hover, .cookie-banner__btn-settings:focus {
  background: #1A3A2D;
  color: #fff;
}

/* ========== COOKIE CONSENT MODAL ========== */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.98);
  background: #fff;
  padding: 38px 28px 30px 28px;
  border-radius: 18px;
  box-shadow: 0 6px 60px 0 rgba(26,58,45,0.17);
  z-index: 3100;
  min-width: 320px;
  max-width: 92vw;
  max-height: 85vh;
  display: none;
  flex-direction: column;
  gap: 22px;
  animation: fadeInModal 0.28s;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeInModal {
  from {
    opacity: 0;
    transform: translate(-50%, -46%) scale(.90);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
.cookie-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6em;
  color: #1A3A2D;
  cursor: pointer;
  border-radius: 4px;
  padding: 3px 8px;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #D54324;
  color: #fff;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category label {
  font-size: 1rem;
  color: #1A3A2D;
}
.cookie-category input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: #1A3A2D;
  cursor: pointer;
}
.cookie-category--essential {
  opacity: 0.65;
}
.cookie-modal__actions {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}

/* ========== SPACING, LISTS ========== */
ul, ol {
  margin-bottom: 18px;
  padding-left: 1.25em;
}
ul li, ol li {
  margin-bottom: 7px;
  font-size: 1rem;
}

/* ========== LINKS ========== */
a:focus {
  outline: 2px solid #D54324;
  outline-offset: 2px;
}
a.underline {
  border-bottom: 1px solid #D54324;
}

/* ========== TRANSITIONS & MICRO-INTERACTIONS ========== */
section, .card, .btn-primary, .main-nav > a, .footer nav a, .feature-grid > div, .testimonial-card, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.18s, background 0.18s, color 0.16s;
}

/* ========== VISUAL MINIMALIST ENHANCEMENTS ========== */
.card, .feature-grid > div, .testimonial-card {
  border: 1px solid #ECECEC;
}
.card {
  box-shadow: 0 1px 8px 0 rgba(26,58,45,0.08);
}

/* ========== RESPONSIVE DESIGN (MOBILE-FIRST) ========== */
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding: 0 7vw;
  }
  .main-nav {
    font-size: 0.96rem;
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding: 0 2vw;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .section {
    padding: 26px 7px;
    margin-bottom: 38px;
  }
  .content-wrapper, .feature-grid, .card-container {
    flex-direction: column !important;
    gap: 18px;
  }
  .feature-grid {
    padding: 0;
  }
  .feature-grid > div {
    min-width: 100%;
    width: 100%;
  }
  .card-container > .card {
    min-width: 100%;
    width: 100%;
  }
  .testimonial-card {
    align-items: flex-start;
    font-size: 1em;
  }
  .footer nav {
    flex-direction: column;
    align-items: center;
    gap: 7px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 18px;
    align-items: flex-start;
  }
  .mobile-menu {
    padding-top: 44px;
    font-size: 1.02rem;
  }
}

/* ========== HIGH CONTRAST TESTIMONIALS TEXT ========== */
.testimonial-card p, .testimonial-card span {
  color: #1A3A2D !important;
}

/* ========== Z-INDEX SAFETY ========== */
.mobile-menu, .cookie-modal, .cookie-banner {
  z-index: 3000;
}

/* ========== FORM ELEMENTS ========== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #FAFAF8;
  margin-bottom: 13px;
  outline: none;
  transition: border 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #1A3A2D;
}

/* ========== ANIMATIONS ON SCROLL / HOVER ========== */
.card, .feature-grid > div {
  will-change: transform, box-shadow;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover, .feature-grid > div:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 10px 40px 0 rgba(26,58,45,0.11);
}

/* ========== SPECIAL STATES ========== */
::-webkit-input-placeholder { color: #b5b5b2; }
::-moz-placeholder { color: #b5b5b2; }
:-ms-input-placeholder { color: #b5b5b2; }
::placeholder { color: #b5b5b2; }

/* ========== PRINT STYLES ========== */
@media print {
  body, html { background: #fff !important; color: #000; }
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  .container { max-width: 99vw; }
}

/* ========== UTILITY HELPERS ========== */
.invisible { visibility: hidden !important; }
.hidden { display: none !important; }
.d-flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.centered { justify-content: center !important; align-items: center !important; }

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

/* ========== END OF CSS ========== */
