/* 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, 
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;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,main,menu,nav,section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
/* ROOT & CUSTOM PROPERTIES */
:root {
  --primary: #22314D;
  --secondary: #87B39B;
  --accent: #F4F7F9;
  --gradient-main: linear-gradient(135deg, #22406d 0%, #87B39B 100%);
  --text-dark: #22314D;
  --text-light: #fff;
  --border-radius: 16px;
  --shadow-card: 0 2px 16px rgba(34,49,77,0.10);
  --shadow-hover: 0 6px 28px rgba(34,49,77,0.18);
  --transition: 0.25s cubic-bezier(.4,.2,.3,1);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --spacing-section: 60px;
  --spacing-section-py: 40px 20px;
  --container-width: 1200px;
}
/* GOOGLE FONTS IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Roboto:wght@400;500;700&display=swap');

body {
  background: var(--accent);
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

header {
  background: var(--gradient-main);
  color: var(--text-light);
  box-shadow: 0 4px 16px rgba(34, 49, 77, 0.06);
  position: relative;
  z-index: 99;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
header nav a {
  color: var(--text-light);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  transition: color var(--transition);
  padding: 2px 6px;
  border-radius: 4px;
}
header nav a:hover, header nav a:focus {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
header img {
  height: 42px;
  width: auto;
}
.button.primary {
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--font-body);
  font-weight: 700;
  padding: 10px 26px;
  font-size: 18px;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(135,179,155,0.09);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  margin-left: 16px;
  position: relative;
  z-index: 2;
}
.button.primary:hover, .button.primary:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 28px rgba(34,49,77,0.18);
}
/* Hamburger */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--text-light);
  margin-left: 18px;
  cursor: pointer;
  z-index: 105;
  transition: color var(--transition);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #fff;
}
/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--gradient-main);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.35,.95,.58,1.01);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 30px;
  opacity: 0;
  visibility: hidden;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  margin: 22px 0 28px auto;
  font-size: 2rem;
  background: none;
  color: var(--text-light);
  border: none;
  cursor: pointer;
  z-index: 202;
  transition: color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.4rem;
  font-family: var(--font-body);
  font-weight: 500;
  padding: 10px 2px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

/* HERO SECTION */
.hero {
  background: var(--gradient-main);
  color: white;
  border-radius: var(--border-radius);
  margin-bottom: var(--spacing-section);
  padding: 40px 0 52px 0;
  box-shadow: var(--shadow-card);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 0 12px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -1px;
  text-align: center;
}
.hero .subheadline {
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1.6;
  color: #f1f1f8;
  max-width: 680px;
  text-align: center;
}
.hero .button.primary {
  margin-top: 8px;
  font-size: 19px;
}
main {
  margin-top: 0;

}
/* SECTION LAYOUT & SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  background: transparent;
  border-radius: var(--border-radius);
}
/* Section container */
.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  margin-top: 0;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
h4 {
  font-size: 1rem;
}
p, ul, ol, blockquote, dl {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}
blockquote {
  padding: 18px 24px;
  background: #f7fafc;
  border-left: 4px solid var(--secondary);
  font-style: italic;
  border-radius: var(--border-radius);
  color: var(--primary);
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(34,49,77,0.04);
}

ul, ol {
  padding-left: 20px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
ul.feature-icons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 0 0;
}
ul.feature-icons li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: var(--primary);
  gap: 10px;
  font-family: var(--font-body);
}
ul.feature-icons img {
  width: 24px;
  height: 24px;
}

tl, dt, dd {
  padding: 0;
  margin: 0 0 8px 0;
}
dt {
  font-weight: 500;
  color: var(--primary);
}
dd {
  margin-bottom: 12px;
}

/* FLEXBOX GRIDS & SECTION LAYOUTS */
.feature-grid,
.card-container,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 24px;
}
.card-container {
  gap: 24px;
  margin-bottom: 0;
}
.card-container .card {
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 26px 24px;
  transition: box-shadow .24s;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  z-index: 2;
}
.feature-grid {
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 24px 20px 22px 20px;
  min-width: 200px;
  flex: 1 1 220px;
  margin-bottom: 12px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-item img {
  width: 38px;
  height: 38px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.01);
}

.text-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.tip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-top: 20px;
}
.tip-grid > div {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 16px 18px;
  min-width: 220px;
  flex: 1 1 240px;
}

/* TESTIMONIALS */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  color: var(--primary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  min-width: 220px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.02rem;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card .author {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary);
}

/* CALL TO ACTION SECTION */
.cta {
  background: var(--gradient-main);
  color: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 24px rgba(34,49,77,0.09);
  margin-bottom: var(--spacing-section);
  padding: 56px 20px 48px 20px;
}
.cta .content-wrapper {
  align-items: center;
  gap: 24px;
}
.cta h2 {
  color: #fff;
  font-size: 2.1rem;
  margin-bottom: 10px;
  text-align: center;
}
.cta p {
  color: #e7f0eb;
  max-width: 600px;
  text-align: center;
}
.cta .button.primary {
  font-size: 20px;
  margin-top: 18px;
}

/* FOOTER */
footer {
  background: var(--primary);
  color: #fff;
  padding: 36px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: flex-start;
  justify-content: space-between;
  font-family: var(--font-body);
}
footer .container > div {
  flex: 1 1 160px;
  margin-bottom: 20px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #e9e8f4;
  font-size: 1rem;
  margin-bottom: 2px;
  transition: color var(--transition);
}
footer nav a:hover, footer nav a:focus {
  color: var(--secondary);
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  color: #e9e8f4;
}
footer img {
  width: 37px;
  height: auto;
  filter: brightness(0.93);
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -2px 18px rgba(34,49,77,.13);
  padding: 22px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  z-index: 9999;
  font-size: 1rem;
  animation: fadeInUp .6s;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(60px);}
  to { opacity: 1; transform: translateY(0);}
}
.cookie-consent-banner .cookie-message {
  flex: 1 1 260px;
  margin-right: 10px;
  color: var(--primary);
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-btn {
  font-family: var(--font-body);
  cursor: pointer;
  padding: 8px 18px;
  border-radius: 36px;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  font-weight: 600;
  font-size: 16px;
  margin-left: 0;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 10px rgba(135,179,155,0.09);
}
.cookie-btn.accept {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.reject {
  background: #f4f5f9;
  color: var(--primary);
  border: 1px solid var(--secondary);
}
.cookie-btn.settings {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  font-weight: 500;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(34,49,77, 0.09);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e7eeea;
}
/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(34, 49, 77, 0.29);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--border-radius);
  max-width: 414px;
  width: 94vw;
  box-shadow: 0 8px 40px rgba(34,49,77,.18);
  padding: 34px 28px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeInDown .5s;
  position: relative;
  z-index: 11000;
}
@keyframes fadeInDown {
  from { opacity:0; transform: translateY(-90px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--primary);
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 16px;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.15rem;
  cursor: pointer;
  transition: color var(--transition);
}
.cookie-modal .close-modal-btn:hover {
  color: var(--secondary);
}
.cookie-category input[type=checkbox] {
  accent-color: var(--secondary);
  width: 20px;
  height: 20px;
  margin-right: 4px;
}

/* ACCESSIBILITY FOCUS */
:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* MICRO-INTERACTIONS & TRANSITIONS */
.button, .feature-item, .card, .cta, .testimonial-card, .cookie-btn, .cookie-modal {
  transition: box-shadow var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}
.button:active {
  transform: scale(0.96);
}
.card:active, .feature-item:active, .testimonial-card:active {
  transform: scale(0.98);
}

/* RESPONSIVE DESIGN — MOBILE FIRST */
/* Stacking breakpoints: 1. <768px single column, 2. >=768px two columns, 3. >=1024px wide */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .feature-grid, .card-container, .content-grid, .testimonial-slider {
    gap: 18px;
  }
}
@media (max-width: 800px) {
  .container {
    max-width: 100vw;
  }
  header .container {
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 12px;
  }
  .footer .container, footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .feature-grid, .testimonial-slider, .card-container, .content-grid, .tip-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .section, section {
    padding: 32px 6px;
    margin-bottom: 38px;
  }
  .hero {
    padding: 30px 0 35px 0;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
  .cta {
    padding: 33px 8px 32px 8px;
  }
  .cta h2 {
    font-size: 1.3rem;
  }
  header nav {
    display: none;
  }
  .button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-item, .card, .testimonial-card, .tip-grid > div {
    padding: 14px 10px 15px 10px;
    border-radius: 14px;
  }
  .testimonial-card, .feature-item {
    min-width: unset;
    flex: 1 1 100%;
  }
  .content-wrapper {
    gap: 22px;
    padding: 0 2px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  footer .container > div {
    min-width: 140px;
    margin-bottom: 14px;
  }
}
@media (max-width: 520px) {
  .container {
    padding: 0 6px;
  }
  .feature-item, .card, .testimonial-card, .tip-grid > div {
    padding: 8px 6px 11px 6px;
    font-size: 0.96rem;
  }
  .cta, .hero, section {
    border-radius: 0;
  }
  .cookie-modal {
    padding: 18px 6px 8px 6px;
  }
}

/* UTILITIES & OVERRIDES */
.center {
  text-align: center;
}
.mb-20 {
  margin-bottom: 20px;
}
.mt-20 {
  margin-top: 20px;
}
.mt-40 {
  margin-top: 40px;
}

/* Hide scroll on mobile menu open (to be toggled by JS) */
body.menu-open {
  overflow: hidden;
}

/* END CSS */