/* === CSS RESET & NORMALIZATION === */
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;
  scroll-behavior: smooth;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  background: #F2EEEA;
  color: #23252a;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
}
a {
  color: #1C263A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #9DC452;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* === TYPOGRAPHY AND ELEGANT SCALE === */
h1 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.15;
  color: #1C263A;
}
h2 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #1C263A;
}
h3 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #283143;
}
h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 600;
}
p, li, .subheadline, small, span {
  font-family: 'Times New Roman', Times, serif;
  letter-spacing: 0.01em;
  font-size: 1rem;
  color: #23252a;
}
p.subheadline {
  font-size: 1.15rem;
  color: #283143;
}
strong {
  font-weight: 700;
  color: #1C263A;
}

/* === CONTAINER, SPACING & LAYOUT CONSISTENCY === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  /* Elegant classic vertical rhythm */
}

/*************************************************
 == HEADER & NAVIGATION
*************************************************/
header {
  background: #F2EEEA;
  padding: 24px 0 0 0;
  box-shadow: 0 2px 12px rgba(28,38,58,0.05);
  position: relative;
  z-index: 102;
  width: 100%;
}
header > a[ href^="index"] img {
  height: 56px;
  display: block;
  margin-bottom: 12px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  font-size: 1.08em;
}
nav a {
  padding: 8px 10px;
  border-radius: 6px;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 500;
  color: #283143;
  transition: background 0.18s, color 0.2s;
}
nav a.cta-primary {
  background: #1C263A;
  color: #fff;
  border-radius: 32px;
  padding: 10px 30px;
  font-size: 1.08em;
  letter-spacing: 0.015em;
  box-shadow: 0 2px 12px rgba(28,38,58,0.07);
  font-weight: 600;
  transition: background 0.2s, color 0.16s, box-shadow 0.15s;
}
nav a.cta-primary:hover, .cta-primary:hover, .cta-primary:focus {
  background: #9DC452;
  color: #1C263A;
  box-shadow: 0 4px 24px rgba(157,196,82,0.19);
}
nav a:hover, nav a:focus {
  background: #e5eadb;
  color: #9DC452;
}

/* Hide desktop nav on mobile */
@media (max-width: 900px) {
  header nav {
    display: none;
  }
}

/*************************************************
 == MOBILE MENU
*************************************************/
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 32px;
  right: 24px;
  background: #fff;
  color: #1C263A;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  font-size: 2.1rem;
  box-shadow: 0 2px 10px rgba(100,116,172,0.07);
  z-index: 110;
  align-items: center;
  justify-content: center;
  border: 1px solid #DFDFDF;
  cursor: pointer;
  transition: background 0.18s, color 0.15s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #f4f8ea;
}
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-menu {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 6px 24px rgba(28,38,58,0.08);
  z-index: 999;
  transform: translateX(-120%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 0 0;
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
  animation: slideInMenu 0.34s cubic-bezier(.55,.09,.68,.53);
}
@keyframes slideInMenu {
  from {transform: translateX(-120%);}
  to {transform: translateX(0);}
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #fff;
  color: #1C263A;
  font-size: 2.1rem;
  border: 1px solid #DFDFDF;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  box-shadow: 0 2px 10px rgba(157,196,82,0.09);
  align-items: center;
  justify-content: center;
  transition: background 0.16s, color 0.12s;
  z-index: 1001;
  cursor: pointer;
}
.mobile-menu-close:active, .mobile-menu-close:focus {
  background: #dfecd1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 90px;
  padding: 32px 20px;
  align-items: flex-start;
}
.mobile-nav a {
  padding: 14px 8px;
  border-radius: 6px;
  color: #283143;
  font-size: 1.22em;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  background: none;
  font-weight: 500;
  width: 100%;
  transition: background 0.13s, color 0.11s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #e8f2d0;
  color: #9DC452;
}

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

/*************************************************
 == HERO SECTION AND CTA
*************************************************/
.hero {
  background: linear-gradient(112deg, #F2EEEA 85%, #dbeac2 100%);
  border-bottom: 1px solid #ebecf0;
  border-radius: 0 0 32px 32px;
  margin-bottom: 60px;
  padding-top: 54px;
  padding-bottom: 54px;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 6px;
}
.hero .cta-primary {
  margin-top: 14px;
}

.cta {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 1px 18px rgba(28,38,58,0.07);
  text-align: left;
  margin-top: 24px;
}
.cta h2 {
  color: #1C263A;
}
.cta .cta-primary {
  margin-top: 20px;
}

/*************************************************
 == FLEXIBLE GRIDS/CONTAINERS (FLEXBOX ONLY)
*************************************************/
.feature_grid,
.tips_grid,
.values_list,
.tool_grid,
.quick_tip_cards,
.event_list,
.event_highlights,
.review_slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  align-items: stretch;
}
.feature_grid > div,
.tips_grid > div,
.tool_grid > div,
.quick_tip_cards > div,
.values_list > div,
.event_list > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 18px rgba(28,38,58,0.06);
  padding: 30px 24px 26px 24px;
  min-width: 230px;
  flex: 1 1 280px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.24s, transform 0.2s;
}
.feature_grid > div:hover, .tips_grid > div:hover, .tool_grid > div:hover, .quick_tip_cards > div:hover, .event_list > div:hover {
  box-shadow: 0 6px 28px rgba(28,38,58,0.12);
  transform: translateY(-8px) scale(1.03);
}
.feature_grid > div img, .values_list > div img {
  width: 38px;
  margin-bottom: 10px;
  opacity: 0.95;
}

@media (max-width: 950px) {
  .feature_grid,.tips_grid,.tool_grid,.values_list,.quick_tip_cards,.event_list {
    flex-direction: column;
    gap: 20px;
  }
  .feature_grid > div,.tips_grid > div,.tool_grid > div,.quick_tip_cards > div,.values_list > div,.event_list > div {
    min-width: 0;
    flex: unset;
    width: 100%;
  }
}

/*************************************************
 == CARDS, LISTS, ACCORDIONS & HIGHLIGHTS
*************************************************/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 18px rgba(28,38,58,0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 30px 22px 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 7px 24px rgba(28,38,58,0.14);
}

/***** Testimonials/Reviews *****/
.review_slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(28,38,58,0.10);
  min-width: 260px;
  flex: 1 1 320px;
  margin-bottom: 24px;
  transition: box-shadow 0.23s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(157,196,82,0.16);
}
.testimonial-card p {
  color: #1C263A;
  font-size: 1.07em;
}
.testimonial-card .user_quote {
  font-style: italic;
  color: #9DC452;
  font-size: 0.97em;
  margin-top: -12px;
}

/***** FAQ accordion style *****/
.faq_accordion h3, .faq_list h3 {
  margin-bottom: 8px;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  background: #f6f8f1;
  color: #1C263A;
  transition: background 0.15s;
  font-size: 1.13em;
}
.faq_accordion h3:hover, .faq_list h3:hover {
  background: #e1eae0;
}
.faq_accordion p, .faq_list p {
  margin-bottom: 14px;
  margin-left: 12px;
  color: #283143;
}

/***** List views *****/
.benefit_list, .howto_list, .list_view, .privacy_text_sections ul, .gdpr_text_sections ul, .cookie_text_sections ul {
  margin-bottom: 18px;
  margin-left: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.benefit_list li, .howto_list li, .list_view li {
  background: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  color: #1C263A;
  box-shadow: 0 1px 6px rgba(28,38,58,0.05);
  margin-bottom: 7px;
  font-size: 1.05em;
}

/***** Content highlight cards *****/
.short_text_snippets p, .solution_highlights p, .hint_highlights p, .feature_highlights ul, .privacy_text_sections, .gdpr_text_sections, .cookie_text_sections, .terms_text_sections {
  background: #f6f8f4;
  border-left: 5px solid #9DC452;
  border-radius: 7px;
  padding: 12px 18px;
  margin-bottom: 12px;
  font-size: 1em;
}

/***** Content grid, text-image, feature items *****/
.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;}
  .content-grid { flex-direction: column;}
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*************************************************
 == CONTACT, ADDRESS BLOCKS, BUSINESS HOURS
*************************************************/
.contact_details, .address_block, .business_hours {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.07em;
}
.contact_form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
}

/*************************************************
 == FOOTER
*************************************************/
footer {
  background: #1C263A;
  color: #fff;
  padding: 40px 0 20px 0;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -2px 24px rgba(28,38,58,0.03);
}
footer .container { gap: 0; }
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
}
.footer-flex a img {
  height: 46px;
  margin-bottom: 6px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  color: #E7EEEC;
  font-size: 1.09em;
  font-family: 'Georgia', serif;
  padding: 5px 4px;
  transition: color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  color: #9DC452;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  background-color: #CED6B6;
}
.footer-contact img {
  width: 24px;
  margin-right: 7px;
  vertical-align: middle;
  opacity: 0.62;
}
.footer-branding {
  text-align: left;
  color: #CED6B6;
  font-size: 0.99em;
  margin-top: 12px;
}

@media (max-width: 840px) {
  .footer-flex{
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/*************************************************
 == BUTTONS, CTA PRIMARY & SECONDARY
*************************************************/
.cta-primary,
button.cta-primary,
input[type='submit'].cta-primary {
  background: #1C263A;
  color: #fff;
  border-radius: 32px;
  padding: 12px 34px;
  font-family: 'Georgia', serif;
  font-size: 1.13em;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  box-shadow: 0 2px 10px rgba(28,38,58,0.11);
  cursor: pointer;
  transition: background 0.22s, color 0.16s, box-shadow 0.15s;
  outline: none;
  margin-bottom: 10px;
  margin-top: 10px;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus,
button.cta-primary:hover,
input[type='submit'].cta-primary:hover {
  background: #9DC452;
  color: #23252a;
  box-shadow: 0 4px 24px rgba(157,196,82,0.19);
}
.cta-secondary {
  background: #9DC452;
  color: #1C263A;
  border-radius: 28px;
  padding: 11px 30px;
  font-family: 'Georgia', serif;
  font-size: 1.05em;
  letter-spacing: 0.002em;
  font-weight: 550;
  border: none;
  box-shadow: 0 2px 8px rgba(157,196,82,0.14);
  transition: background 0.19s, color 0.13s, box-shadow 0.15s;
  outline: none;
  cursor: pointer;
  margin-bottom: 8px;
  margin-top: 8px;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #1C263A;
  color: #fff;
  box-shadow: 0 7px 28px rgba(28,38,58,0.09);
}

/*************************************************
 == SECTION SPECIFIC & MISC ELEMENTS
*************************************************/
.team_photos_placeholder {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}
.mission_statement, .brand_story, .founder_note {
  margin-bottom: 16px;
  font-size: 1.03em;
  color: #29323a;
  line-height: 1.65;
  background: #f5f7f2;
  padding: 18px 22px 16px 22px;
  border-radius: 6px;
  border-left: 4px solid #9DC452;
}
.event_highlights, .hint_highlights, .feature_highlights, .short_text_snippets {
  margin-top: 18px;
  background: #f2ffee;
  border-left: 5px solid #9DC452;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 1em;
  color: #283143;
}

/*************************************************
 == RESPONSIVENESS & MEDIA QUERIES
*************************************************/
@media (max-width: 740px) {
  .container {
    padding: 0 7px;
  }
  section, .section {
    padding: 24px 7px;
  }
  .testimonial-card {
    min-width: 0;
    flex: 1 1 99%;
    padding: 16px 10px;
  }
  .feature_grid > div, .tips_grid > div, .tool_grid > div, .values_list > div {
    padding: 16px 12px;
  }
  .brand_story, .founder_note, .mission_statement {
    padding: 12px 8px 10px 12px;
  }
}

/*************************************************
 == COOKIE CONSENT BANNER & MODAL
*************************************************/
#cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 2px solid #9DC452;
  box-shadow: 0 -3px 30px rgba(28,38,58,0.09);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 26px;
  font-size: 1em;
  z-index: 1200;
  transition: transform 0.27s cubic-bezier(.86,.01,.52,.98);
}
@media (max-width: 700px) {
  #cookie-banner {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    padding: 14px 10px;
    font-size: 0.97em;
  }
}
#cookie-banner button,
#cookie-banner .cookie-btn {
  margin-right: 9px;
  background: #9DC452;
  color: #1C263A;
  border: none;
  border-radius: 24px;
  padding: 7px 26px;
  font-family: 'Georgia', serif;
  font-size: 1.03em;
  font-weight: 550;
  transition: background .13s, color .15s, box-shadow .12s;
  cursor: pointer;
}
#cookie-banner button:hover {
  background: #1C263A;
  color: #fff;
}
#cookie-banner .cookie-btn.reject {
  background: #f0e1e1;
  color: #1C263A;
  border: 1px solid #f5cfcf;
}
#cookie-banner .cookie-btn.reject:hover {
  background: #d7cad2;
  color: #46272a;
}
#cookie-banner .cookie-btn.settings {
  background: #fffde6;
  color: #283143;
  border: 1px solid #E4E9BC;
}
#cookie-banner .cookie-btn.settings:hover {
  background: #fffceb;
  color: #678020;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left:0; width: 100vw; height: 100vh;
  background: rgba(36,48,62,0.35);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.opened {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 34px 29px;
  max-width: 400px;
  width: 93vw;
  box-shadow: 0 4px 36px rgba(28,38,58,0.18);
  position: relative;
  z-index: 2100;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.04em;
  color: #1C263A;
  transform: translateY(45px);
  transition: transform 0.26s, opacity 0.22s;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 17px;
  right: 14px;
  background: #f3f6ec;
  color: #1C263A;
  border-radius: 99px;
  border: none;
  font-size: 1.28em;
  width: 32px; height: 32px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(64,78,41,0.10);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category input[type='checkbox'] {
  accent-color: #9DC452;
  width: 17px;
  height: 17px;
  margin-top: 0;
}
.cookie-category label {
  font-size: 1em;
  color: #23252a;
  font-weight: 500;
}
.cookie-category .always-on {
  color: #CED6B6;
  font-size: 0.92em;
  margin-left: 10px;
}
.cookie-modal .modal-btn-group {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal .modal-btn-group button {
  background: #9DC452;
  color: #1C263A;
  border-radius: 20px;
  padding: 7px 18px;
  font-family: 'Georgia', serif;
  font-weight: 600;
  font-size: 1.01em;
  border: none;
  transition: background .13s, color .11s;
}
.cookie-modal .modal-btn-group .cancel {
  background: #e7f4d7;
  color: #678020;
}
.cookie-modal .modal-btn-group button:hover {
  background: #1C263A;
  color: #fff;
}

/*************************************************
 == UTILITY: MISC & OVERRIDES
*************************************************/
::-webkit-scrollbar {
  width: 8px; background: #e6ebdf;
}
::-webkit-scrollbar-thumb {
  background: #dfe2cb;
  border-radius: 10px;
}

[hidden] { display: none !important; }

/*************************************************
 == MICRO-INTERACTIONS & TRANSITIONS
*************************************************/
section, .card, .testimonial-card, .feature_grid > div,
.cta-primary, .cta-secondary, .mobile-menu, .cookie-modal {
  transition: box-shadow 0.21s, background 0.22s, color 0.19s, border-color 0.17s, transform 0.21s, opacity 0.22s;
}

/*************************************************
 == PRINT STYLES: Hide navigation, action, banner
*************************************************/
@media print {
  header, nav, .mobile-menu, .mobile-menu-toggle, #cookie-banner, .cookie-modal-overlay, footer { display: none !important; }
  section, .section { padding: 6px !important; }
}
