/* 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,
main, 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 { line-height: 1.5; background-color: #F9F6F3; color: #2E2E2E; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; border: 0; }
button { background: none; border: none; cursor: pointer; font: inherit; }

/* FONTS (WEBSAFE + FALLBACK) ---------------------------------------------- */
:root {
  --brand-primary: #23405C;
  --brand-secondary: #7FC472;
  --brand-accent: #F4F7FB;
  --warm1: #F9E3D1;
  --warm2: #FFD6AF;
  --warm3: #FFE5BB;
  --link: #E19759;
  --shadow: 0 2px 12px rgba(180, 115, 38, 0.10);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&family=Roboto:wght@400;500;700&display=swap');

body {
  font-family: var(--font-body);
  font-size: 16px;
  background: #F9F6F3;
  color: #2E2E2E;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--brand-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 1.8rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4, h5, h6 { margin-bottom: 10px; }
p, li {
  font-size: 1rem;
  margin-bottom: 14px;
}
strong, b { font-weight: 700; }

@media (max-width: 550px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
}

/* GENERAL LAYOUT & CONTAINERS --------------------------------------------- */
.container {
  width: 100%;
  max-width: 1180px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 650px) {
  .content-wrapper {
    padding: 18px 8px;
    margin-bottom: 22px;
    border-radius: var(--radius-md);
  }
}

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

/* FLEX UTILITIES ---------------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 28px rgba(180, 115, 38, 0.13);
}
.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;
  border-radius: var(--radius-lg);
  background: var(--warm3);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FLUID FLEX (RESPONSIVE) ------------------------------------------------- */
@media (max-width: 900px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section { flex-direction: column; align-items: flex-start; }
}

/* MAIN NAV & HEADER ------------------------------------------------------- */
header {
  background: #fff;
  box-shadow: var(--shadow);
  border-bottom: 2px solid var(--brand-accent);
  padding: 0 0;
  min-height: 70px;
}
header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  position: relative;
  width: 100%;
  z-index: 900;
}
.logo {
  margin-left: 26px;
  display: flex;
  align-items: center;
  height: 60px;
  min-width: 120px;
  padding: 3px 0;
}
header .main-nav {
  display: flex;
  gap: 18px;
  margin-left: 26px;
  flex: 1;
}
.main-nav a {
  font-family: var(--font-display);
  color: var(--brand-primary);
  font-size: 1rem;
  background: none;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  transition: background 0.14s, color 0.14s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--warm2);
  color: #8c6606;
}
.cta.primary {
  background: var(--brand-secondary);
  color: #fff;
  font-family: var(--font-display);
  padding: 12px 26px;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 10px rgba(23,87,25,0.09);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: .02em;
  display: inline-block;
  position: relative;
  margin: 0 17px 0 0;
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
}
.cta.primary:hover, .cta.primary:focus {
  background: #66a754;
  color: #fff;
  box-shadow: 0 6px 24px rgba(27, 120, 36, 0.16);
  transform: translateY(-2px) scale(1.04);
}
header .cta.primary {
  margin-right: 12px;
}

/* HEADER RESPONSIVE & MOBILE MENU ----------------------------------------- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: none;
  color: var(--brand-primary);
  border-radius: var(--radius-md);
  margin-right: 24px;
  padding: 6px 10px;
  transition: background 0.16s;
  z-index: 1001;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--warm2);
}
@media (max-width: 850px) {
  header .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header {
    gap: 0;
    justify-content: space-between;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(36, 34, 31, 0.12);
  z-index: 1200;
  transform: translateX(-100vw);
  transition: transform .35s cubic-bezier(.46,.05,.4,.91);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: var(--warm2);
  color: #6c4807;
  border-radius: var(--radius-md);
  margin: 14px 0 12px 24px;
  align-self: flex-start;
  transition: background .18s;
  box-shadow: 0 2px 8px rgba(255,215,134,.07);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--warm1);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  margin: 28px 18px 0 22px;
  padding: 36px 20px 28px 24px;
  box-shadow: var(--shadow);
  min-width: 220px;
  min-height: 48vh;
}
.mobile-nav a {
  font-size: 1.12rem;
  font-family: var(--font-display);
  color: var(--brand-primary);
  padding: 14px 10px;
  border-radius: var(--radius-md);
  background: none;
  transition: background .16s, color .14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--warm2);
  color: #8c6606;
}

@media (max-width: 500px) {
  .mobile-nav { padding: 20px 4vw 20px 11vw; min-width: 0; }
}

/* MAIN SECTIONS, FEATURES, CARDS, ETC. ------------------------------------ */
/* Feature Grid on homepage */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 24px 0 0 0;
}
.feature-grid li {
  background: var(--warm3);
  border-radius: var(--radius-md);
  flex: 1 1 220px;
  min-width: 180px;
  padding: 24px 18px 20px 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .15s;
}
.feature-grid li:hover, .feature-grid li:focus {
  box-shadow: 0 6px 18px rgba(226, 151, 89, 0.13);
}
.feature-grid img {
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
}

.benefits-list, .values-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 16px 0 12px 0;
  padding-left: 5px;
}
.benefits-list li::before, .values-list li::before {
  content: '•';
  color: var(--brand-secondary);
  font-size: 1.32em;
  margin-right: 10px;
}
.benefits-highlights, .values-description, .gdpr-summary, .rights-and-obligations, .terms-and-conditions, .cookies-details, .thank-you-message, .next-steps {
  background: var(--warm2);
  padding: 18px 18px 8px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 1px 4px rgba(200,149,67,0.04);
  margin-top: 14px;
  color: #4a3803;
}

.stats, .milestones {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 9px;
}
.stats strong { font-size: 1.6rem; color: var(--brand-secondary); }

.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 16px;
}
.category-grid li {
  flex: 0 1 195px;
  min-width: 140px;
  background: var(--warm3);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 14px;
  transition: box-shadow .15s;
}
.category-grid li img { width: 32px; height: 32px; }
.category-grid a {
  color: var(--brand-primary);
  font-family: var(--font-display);
  transition: color .14s;
}
.category-grid a:hover { color: var(--brand-secondary); }

.featured-items {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 20px 0;
}
.featured-items li {
  flex: 1 1 210px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 20px 16px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  border: 1.5px solid var(--brand-accent);
  transition: border .17s, box-shadow .13s;
}
.featured-items li:hover {
  border-color: var(--brand-secondary);
  box-shadow: 0 4px 18px rgba(127,196,114,0.13);
}

.news-cards, .guides-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.news-card, .guide-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 22px 18px 18px 18px;
  min-width: 200px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .14s, transform .10s;
}
.news-card:hover, .guide-card:hover {
  box-shadow: 0 8px 36px rgba(34,64,92,.09);
  transform: translateY(-4px) scale(1.02);
}
.news-card a, .guide-card a {
  color: var(--link);
  font-weight: 500;
  font-family: var(--font-display);
  transition: color .13s;
}
.news-card a:hover, .guide-card a:hover { color: var(--brand-secondary); }

.guide-categories {
  margin-top: 15px;
  background: var(--warm3);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.97rem;
}

/**** TESTIMONIALS & SLIDER ****/
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.testimonial-card {
  background: #fff7f0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 26px 24px 16px 26px;
  color: #483B28;
  font-size: 1.08rem;
  min-width: 230px;
  max-width: 360px;
  flex: 1 1 270px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
  transition: box-shadow 0.14s, background 0.11s;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #483B28;
  margin-bottom: 0;
}
.testimonial-card strong {
  font-weight: 500;
  color: var(--brand-primary);
  font-size: 1rem;
}
.testimonial-card:hover {
  background: #ffe9d0;
  box-shadow: 0 7px 30px rgba(255, 215, 134, 0.15);
}

.customer-stories {
  background: var(--warm3);
  padding: 20px 18px;
  margin-top: 14px;
  border-radius: var(--radius-md);
  color: #675e4d;
  box-shadow: 0 1px 5px rgba(230,170,75,0.04);
}

/**** FORMS, CONTACT SECTIONS ****/
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 8px;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
  font-size: 1.05rem;
  color: var(--brand-primary);
}
.contact-info img {
  width: 22px;
  height: 22px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

/* FOOTER ------------------------------------------------------------------ */
footer {
  background: var(--brand-accent);
  border-top: 2px solid var(--brand-secondary);
  padding: 44px 0 0 0;
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 22px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--brand-primary);
  font-size: 1.01rem;
  font-family: var(--font-display);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background .12s, color .13s;
}
.footer-nav a:hover { background: var(--warm2); color: #8c6606; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .97rem;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 0;
  color: #343434;
}
.footer-contact img {
  width: 18px;
  height: 18px;
}
.footer-logo {
  margin-left: 35px;
  align-self: flex-end;
  min-width: 62px;
}
.footer-logo img { width: 62px; height: auto; }
@media (max-width: 850px) {
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding-bottom: 12px;
  }
  .footer-logo { margin-left: 0; align-self: flex-start; }
}

/* BUTTONS, LINKS, & CTAs -------------------------------------------------- */
a, button {
  transition: color 0.15s, background-color 0.15s, border 0.15s, box-shadow 0.17s;
}
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 2px;
}

.btn, .cta, .button {
  display: inline-block;
  padding: 10px 24px;
  background: var(--brand-secondary);
  color: #fff;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  cursor: pointer;
}
.btn:hover, .cta:hover, .button:hover { background: #66a754; color:#fff; }

a {
  color: var(--link);
  transition: color 0.14s;
}
a:hover {
  color: var(--brand-secondary);
}

/* GAPS, SPACING, AND FLEX LAYOUT ------------------------------------------ */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SPACE BETWEEN SECTIONS */
section + section, .section + .section {
  margin-top: 0;
}

/* MOBILE RESPONSIVENESS --------------------------------------------------- */
@media (max-width: 900px) {
  .feature-grid, .category-grid, .featured-items, .news-cards, .guides-list, .testimonial-slider {
    flex-direction: column;
    gap: 22px;
  }
  .footer-nav { flex-direction: column; gap: 8px; }
  .footer-contact { font-size: 0.92rem; }
}
@media (max-width: 650px) {
  .container { padding: 0 7vw; }
  section, .section { padding: 28px 0; }
  .footer-logo img { width: 48px; }
}
@media (max-width: 480px) {
  .container { padding: 0 3vw; }
  footer { padding-top: 14px; }
}

/* TRANSITIONS, MICRO-INTERACTIONS ----------------------------------------- */
.card, .featured-items li, .category-grid li, .feature-grid li, .news-card, .guide-card, .testimonial-card {
  transition: box-shadow 0.15s, transform 0.11s;
}
.card:active, .featured-items li:active, .category-grid li:active, .feature-grid li:active {
  transform: scale(0.97);
}

/* COOKIE BANNER & PREFERENCES MODAL --------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 2150;
  background: #fff8f7;
  border-top: 2px solid var(--brand-secondary);
  box-shadow: 0 -4px 32px rgba(211, 154, 77, 0.11);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 24px 4vw;
  gap: 22px;
  font-size: 1rem;
  font-family: var(--font-body);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transition: transform 0.22s cubic-bezier(.6,.13,.6,.91);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
@media (max-width: 700px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 15px; padding: 18px 4vw; font-size: .97rem; }
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 4px;
}
.cookie-banner .cookie-btn {
  font-family: var(--font-display);
  font-size: 1.03rem;
  border: none;
  padding: 10px 20px;
  margin: 0;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--brand-secondary);
  color: #fff;
  transition: background 0.12s, transform .10s;
  box-shadow: var(--shadow);
}
.cookie-banner .cookie-btn.reject {
  background: #ffe5bb;
  color: #7E5300;
  border: 1.5px solid var(--brand-secondary);
}
.cookie-banner .cookie-btn.settings {
  background: var(--brand-accent);
  color: #2d3460;
  border: 1.5px solid var(--brand-primary);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #66a754;
  color: #fff;
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: #ffd6af;
  color: #8c6606;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: #e9edef;
  color: #224080;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2500;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(36, 34, 31, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.14s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 42px rgba(200,149,67,0.16);
  padding: 32px 28px 20px 28px;
  max-width: 360px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  font-size: 1.38rem;
  color: var(--brand-primary);
  margin-bottom: 11px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 12px 0 16px 0;
}
.cookie-modal .cookie-option {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal .cookie-desc {
  font-size: .95rem;
  color: #4e4128;
}
.cookie-modal input[type=checkbox] {
  width: 18px; height: 18px;
  accent-color: var(--brand-secondary);
}
.cookie-modal .cookie-btns {
  display: flex;
  gap: 11px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  background: none;
  color: var(--brand-secondary);
  font-size: 1.5rem;
  border-radius: 50%;
  margin-right: -10px;
  float: right;
  transition: background 0.08s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: var(--brand-accent);
}

/* ANIMATIONS ------------------------------------------------------------- */
@keyframes fadein {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: none; }
}
*[class*='card'], .feature-grid li, .category-grid li, .news-card, .guide-card {
  animation: fadein .55s ease;
}

/* SCROLLBAR -------------------------------------------------------------- */
::-webkit-scrollbar { width: 10px; background: #f4f7fb; }
::-webkit-scrollbar-thumb { background: #ffe5bb; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #ffd6af; }

/* ACCESSIBILITY ---------------------------------------------------------- */
[tabindex]:focus-visible { outline: 2px solid var(--brand-secondary); outline-offset: 1.5px; }

/* END OF STYLE ----------------------------------------------------------- */