/* 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,
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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F8FAFF;
  color: #1C2541;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

/* BRAND VARIABLES */
:root {
  --primary: #1C2541;
  --secondary: #8DA9C4;
  --accent: #D9B26F;
  --surface: #F8FAFF;
  --error: #E63946;
  --success: #38B000;
  --text: #141A27;
  --shadow: 0 8px 24px rgba(28,37,65,0.07),0 1.5px 6px rgba(217,178,111,0.08);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--primary);
  text-shadow: 0 1.5px 0 rgba(221, 157, 35, 0.08);
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}
h4, h5, h6 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
p, ul, ol, li {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
}
p {
  margin-bottom: 14px;
}
.subheadline {
  font-size: 1.15rem;
  font-style: italic;
  margin-bottom: 28px;
}

strong {
  color: var(--primary);
  font-weight: bold;
}

/* LINKS & BUTTONS */
a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--primary);
  text-decoration: underline;
}
.cta {
  display: inline-block;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  padding: 13px 34px;
  border-radius: 36px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.3s, color 0.2s, box-shadow 0.25s;
  box-shadow: 0 3px 18px -2px var(--secondary);
  cursor: pointer;
  border: none;
  margin: 0 8px 16px 0;
}
.cta.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px -6px var(--accent), var(--shadow);
}
.cta.primary:hover, .cta.primary:focus {
  background: #c09434;
  color: #fff;
  box-shadow: 0 7px 28px -6px #c09434;
}
.cta.secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--accent);
  box-shadow: 0 2px 8px -2px var(--secondary);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 7px 24px -6px var(--accent);
}
button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

/* HEADER/NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 24px rgba(28,37,65,0.11);
  position: sticky;
  top: 0;
  z-index: 25;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 20px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 5px;
  transition: background 0.19s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: var(--accent);
  color: #fff;
}
header img {
  height: 48px;
  max-width: 175px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 19px;
  right: 18px;
  font-size: 2.15rem;
  line-height: 1;
  z-index: 30;
  background: var(--accent);
  color: #fff;
  padding: 8px 15px;
  border-radius: 6px;
  box-shadow: 0 7px 20px -10px var(--accent);
  border: none;
  transition: background .23s, color .23s, box-shadow .22s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 14px 32px -8px var(--primary);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 60;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,.2,.2,1.02) 0s;
  box-shadow: 0 18px 36px -10px var(--secondary);
  overflow-y: auto;
  padding: 32px 0 0 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-right: 24px;
  margin-bottom: 32px;
  background: var(--primary);
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.19s, color 0.16s;
  box-shadow: 0 7px 16px -3px var(--primary);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  font-size: 1.35rem;
  color: var(--primary);
  padding: 7px 0;
  font-weight: 600;
  border-radius: 8px;
  width: 94%;
  transition: background .12s, color .12s;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(90deg, var(--secondary) 0%, #87ffe7 100%);
  padding: 54px 0 44px 0;
  box-shadow: 0 14px 48px -16px var(--secondary);
  margin-bottom: 52px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 710px;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* FLEX LAYOUTS */
.feature-grid,
.service-list,
.event-list,
.article-list,
.step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 16px;
  list-style: none;
}
.feature-grid li,
.service-list li,
.event-list li,
.article-list li,
.step-list li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1.5px 9px 0 rgba(140, 169, 196, 0.12), var(--shadow);
  padding: 22px 20px 18px 20px;
  flex: 1 1 286px;
  min-width: 210px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  position: relative;
  border: 2px solid transparent;
  transition: border 0.22s, box-shadow 0.13s;
}
.feature-grid li:hover,
.service-list li:hover,
.event-list li:hover {
  border: 2px solid var(--accent);
  box-shadow: 0 6px 26px -8px var(--accent), var(--shadow);
}
.feature-grid li img,
.text-section img {
  width: 45px;
  height: 45px;
  margin-bottom: 5px;
  filter: drop-shadow(0 2px 8px #eaeaee);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 16px;
  margin-bottom: 14px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 26px 28px 20px 28px;
  background: #fff;
  color: #181c37;
  border-radius: 17px;
  box-shadow: 0 3px 20px -9px var(--primary), var(--shadow);
  border-left: 5px solid var(--accent);
  margin-bottom: 20px;
  min-width: 270px;
  max-width: 410px;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  font-style: italic;
  color: #181c37;
  font-size: 1.1rem;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--secondary);
  font-weight: 600;
}
.testimonial-card strong {
  color: var(--primary);
}
.testimonial-card:hover {
  box-shadow: 0 14px 36px -8px var(--accent), var(--shadow);
  border-left: 5px solid var(--primary);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 15px;
  box-shadow: var(--shadow);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 24px;
}

/* ARTICLE LISTS, STEP LISTS, OTHERS */
.article-list li {
  border-left: 5px solid var(--secondary);
  transition: border 0.19s;
}
.article-list li:hover {
  border-left: 5px solid var(--accent);
}
.step-list {
  counter-reset: steps;
  flex-direction: column;
  gap: 0;
}
.step-list li {
  padding-left: 56px;
  position: relative;
}
.step-list li:before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 16px;
  top: 30px;
  transform: translateY(-50%);
  background: var(--accent);
  color: #fff;
  width: 32px;
  height: 32px;
  line-height: 32px;
  font-size: 1.13rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 14px -6px var(--accent);
}

/* FOOTER */
footer {
  background: var(--primary);
  color: #fff;
  padding: 48px 0 0 0;
  margin-top: 60px;
  width: 100%;
  font-size: 1rem;
  box-shadow: 0 -2px 24px rgba(28,37,65,0.07);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 16px 20px;
}
.footer-logo img {
  height: 52px;
  max-width: 185px;
  margin-bottom: 19px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 2px;
  border-radius: 5px;
  padding: 3px 8px;
  font-weight: 500;
  transition: background 0.18s, color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--secondary);
  color: #fff;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #fff;
  font-size: 0.98rem;
}
.contact-info a { color: var(--accent); }
.contact-info a:hover, .contact-info a:focus { color: var(--secondary); }

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -5px 28px -8px var(--primary);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 16px 18px 16px;
  gap: 24px;
  animation: cookieSlidein 0.56s cubic-bezier(.6,.07,.72,1.03) 0s;
  font-size: 1.07rem;
}
@keyframes cookieSlidein {
  from { transform: translateY(130%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text { max-width: 700px; }
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.cookie-button {
  padding: 8px 18px;
  border-radius: 28px;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 0;
  margin-right: 8px;
  border: none;
  box-shadow: 0 3px 10px -4px var(--accent);
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .15s;
}
.cookie-button.accept {
  background: var(--accent);
  color: #fff;
}
.cookie-button.accept:hover,
.cookie-button.accept:focus {
  background: #bfa262;
  color: #fff;
}
.cookie-button.reject {
  background: #fff;
  border: 2px solid var(--accent);
  color: var(--primary);
}
.cookie-button.reject:hover,
.cookie-button.reject:focus {
  background: var(--accent);
  color: #fff;
}
.cookie-button.settings {
  background: var(--secondary);
  color: #fff;
}
.cookie-button.settings:hover,
.cookie-button.settings:focus {
  background: var(--primary);
  color: var(--accent);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28, 37, 65, 0.83);
  align-items: center;
  justify-content: center;
  transition: opacity 0.20s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  border-radius: 22px;
  max-width: 480px;
  width: 97vw;
  padding: 35px 32px 28px 32px;
  box-shadow: 0 14px 60px -14px var(--primary), var(--shadow);
  animation: modalIn .31s cubic-bezier(.63,.07,.74,1.03) 0s;
}
@keyframes modalIn {
  from { transform: translateY(56px) scale(.92); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 12px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}
.cookie-modal-toggle {
  width: 38px;
  height: 22px;
  background: var(--secondary);
  border-radius: 19px;
  position: relative;
  transition: background 0.17s;
  cursor: pointer;
}
.cookie-modal-toggle[aria-checked="true"] {
  background: var(--accent);
}
.cookie-modal-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 2.7px;
  top: 2.2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1.5px 3px rgba(0,0,0,0.12);
  transition: left .18s;
}
.cookie-modal-toggle[aria-checked="true"]:before {
  left: 18px;
}
.cookie-modal-category label {
  font-size: 1.01rem;
  user-select: none;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 1.4rem;
  background: transparent;
  color: var(--primary);
  border: none;
  cursor: pointer;
}

/* UTILITY CLASSES */
.text-center { text-align: center; }
.flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-20 { gap: 20px; }

/* MEDIA QUERIES & RESPONSIVE LAYOUTS */
@media (max-width: 1024px) {
  .container, header .container, footer .container {
    max-width: 98vw;
    padding: 0 12px;
  }
  .footer-logo img { height: 44px; }
}
@media (max-width: 900px) {
  .feature-grid li,
  .service-list li,
  .event-list li,
  .article-list li,
  .step-list li {
    flex: 1 1 100%;
    min-width: 180px;
    max-width: 98vw;
    padding: 18px 12px 14px 16px;
  }
  .testimonial-card {
    padding: 18px 14px 14px 16px;
    min-width: 170px;
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container, header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    max-width: 100vw;
    gap: 18px;
    padding: 0 8px;
  }
  header .container {
    gap: 10px;
    padding: 12px 8px;
  }
  header nav { display: none; }
  .cta.primary { margin-bottom: 0; }
  .mobile-menu-toggle { display: block; }
  .hero, .section {
    padding: 34px 0 27px 0;
    margin-bottom: 44px;
  }
  .hero .container, .content-wrapper {
    gap: 14px;
    align-items: flex-start;
  }
  .testimonial-slider {
    gap: 11px;
    flex-direction: column;
    align-items: stretch;
  }
  .feature-grid, .service-list, .event-list, .article-list, .step-list {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section, .card-container, .content-grid {
    flex-direction: column;
    gap: 15px;
  }
  .footer-logo img { height: 38px; }
}
@media (max-width: 540px) {
  html { font-size: 14px; }
  header img, .footer-logo img {
    height: 33px;
    max-width: 99px;
  }
  .hero, .section {
    padding: 18px 0 13px 0;
    margin-bottom: 25px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .feature-grid li, .service-list li, .testimonial-card {
    padding: 11px 8px;
  }
  .footer-logo img { margin-bottom: 7px; }
}

/* MICRO-INTERACTIONS */
.feature-grid li,
.service-list li,
.event-list li,
.article-list li,
.step-list li,
.card {
  transition: box-shadow .19s, border .18s, transform .18s;
}
.card:hover,
.feature-grid li:hover,
.service-list li:hover,
.event-list li:hover,
.article-list li:hover,
.step-list li:hover {
  transform: translateY(-3px) scale(1.021);
  z-index: 2;
}

.cta, .cookie-button {
  transition: background .3s, color .2s, box-shadow .23s, transform .17s;
}
.cta:active, .cookie-button:active {
  transform: scale(0.97);
}

/* ICON ALIGNMENT INSIDE TEXT */
.text-section img {
  display: inline-block;
  vertical-align: middle;
  margin: 0 8px 0 0;
  width: 28px;
  height: 28px;
}

/* FORMATS FOR ACCESSIBILITY */
:focus { outline: 2px solid var(--accent); outline-offset: 1.5px; }
img[alt] { font-style: italic; }

/* Z-INDEX LAYERING */
header, .mobile-menu, .mobile-menu-toggle { z-index: 60; }
.cookie-banner { z-index: 1000; }
.cookie-modal-overlay { z-index: 1100; }

/* ENSURE NO OVERLAPPING, EXTRA SPACING */
.section, .feature-grid li, .service-list li, .testimonial-card, .card {
  margin-bottom: 20px;
}
/* END OF STYLE.CS */