/* =======================
   CSS RESET & BASE STYLES
   ======================= */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font: inherit;
  vertical-align: baseline;
  background: transparent;
}
body {
  min-height: 100vh;
  background: #F6F5F4;
  color: #174D59;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #174D59;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #FCCB76;
  text-decoration: underline;
}
ul, ol {
  padding-left: 24px;
}
li + li {
  margin-top: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #174D59;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; font-weight: 600; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 6px; font-weight: 500; }
p {
  font-size: 1rem;
  margin-bottom: 12px;
}
strong, b { font-weight: 700; }
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* =========================
   LAYOUT SECTIONS & SPACING
   ========================= */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
@media (max-width: 768px) {
  section {
    padding: 32px 0 0 0;
    margin-bottom: 40px;
  }
}

.card-container, .tip-cards, .feature-grid, .resource-cards, .testimonial-slider, .testimonial-cards, .resource-list, .step-list, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.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) {
  .content-grid, .feature-grid, .resource-cards, .testimonial-slider, .tip-cards {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

.card, .feature-item, .resource-item, .faq-item, .testimonial-card {
  background: #fff;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 1.5px 10px rgba(23,77,89,0.05);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .feature-item:hover, .resource-item:hover, .faq-item:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(23,77,89,0.10);
  transform: translateY(-2px) scale(1.01);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  width: 100%;
  min-width: 220px;
  flex: 1 1 250px;
}
.resource-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex: 1 1 220px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 24px;
  background: #F6F5F4;
  border: 2px solid #FCCB76;
  border-radius: 14px;
  box-shadow: 0 1.5px 10px rgba(23,77,89,0.08);
  min-width: 270px;
  max-width: 480px;
  color: #174D59;
}
.testimonial-card p {
  color: #174D59;
  font-size: 1.06rem;
  font-style: italic;
  margin-bottom: 10px;
  line-height: 1.55;
}
.testimonial-card span {
  color: #174D59;
  font-size: 0.97rem;
  font-weight: 600;
  opacity: 0.8;
}


/* ====================
   NAVIGATION & HEADER
   ==================== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1.5px 7px rgba(23,77,89,0.04);
  position: sticky;
  top: 0;
  z-index: 103;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0 12px 0;
  flex-wrap: wrap;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #174D59;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
header nav a.cta-primary {
  background: #174D59;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 24px;
  margin-left: 8px;
  box-shadow: 0 2px 10px rgba(23,77,89,0.08);
  transition: background 0.2s, color 0.2s;
}
header nav a.cta-primary:hover,
header nav a.cta-primary:focus {
  background: #FCCB76;
  color: #174D59;
}
header nav a:hover:not(.cta-primary),
header nav a:focus:not(.cta-primary) {
  background: #FCCB76;
  color: #174D59;
}
header nav img {
  height: 36px;
  margin-right: 10px;
}

/* Mobile nav toggle button */
.mobile-menu-toggle {
  display: none;
  background: #FCCB76;
  color: #174D59;
  font-size: 1.8rem;
  border: none;
  border-radius: 50%;
  padding: 8px 14px;
  cursor: pointer;
  margin-left: auto;
  transition: background 0.2s, color 0.2s;
  z-index: 110;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #174D59;
  color: #fff;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 6px 24px rgba(23,77,89,0.14);
  z-index: 1110;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.77,.19,.49,.91);
  display: flex;
  flex-direction: column;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  display: block;
  align-self: flex-end;
  margin: 22px 22px 0 0;
  background: #FCCB76;
  color: #174D59;
  border: none;
  border-radius: 50%;
  font-size: 2.1rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  box-shadow: 0 1.5px 7px rgba(23,77,89,0.07);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #174D59;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 36px 0 0 0;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #174D59;
  font-size: 1.17rem;
  padding: 12px 0 12px 4px;
  border-radius: 8px;
  min-width: 180px;
  font-weight: 600;
  transition: color 0.12s, background 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #174D59;
  color: #fff;
}

@media (max-width: 1023px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
    position: absolute;
    top: 26px;
    right: 24px;
  }
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =======================
   HERO, CTA, BUTTONS ETC.
   ======================= */
.cta-primary {
  display: inline-block;
  background: #174D59;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  padding: 12px 32px;
  border-radius: 24px;
  box-shadow: 0 2px 10px rgba(23,77,89,0.10);
  margin-top: 10px;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  cursor: pointer;
  border: none;
  text-align: center;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #FCCB76;
  color: #174D59;
  transform: translateY(-2px) scale(1.03);
}

button, .category-filters button {
  background: #FCCB76;
  color: #174D59;
  border: none;
  border-radius: 16px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 22px;
  margin-right: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
  box-shadow: 0 1.5px 6px rgba(23,77,89,0.07);
}
button:hover, button:focus,
.category-filters button:hover,
.category-filters button:focus {
  background: #174D59;
  color: #fff;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 12px 0 16px 0;
}
.category-filters span {
  color: #174D59;
  font-weight: 600;
  font-family: 'Montserrat';
  font-size: 1rem;
}

/* =====================
   TABLES & LISTS
   ===================== */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(23,77,89,0.06);
  margin: 18px 0 24px 0;
}
th, td {
  padding: 16px 14px;
  text-align: left;
  border-bottom: 1px solid #F6F5F4;
  color: #174D59;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
}
th {
  background: #FCCB76;
  color: #174D59;
  font-family: 'Montserrat';
  font-weight: 700;
  font-size: 1.08rem;
}
tr:last-child td {
  border-bottom: none;
}

ul.step-list, ul.resource-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
}
ul.resource-list li, ul.step-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  padding: 14px 16px;
  border-radius: 11px;
  box-shadow: 0 1px 8px rgba(23,77,89,0.04);
  font-size: 1rem;
}
ul.resource-list li img, ul.step-list li img {
  height: 32px;
  width: 32px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-radius: 11px;
  padding: 18px 22px;
  box-shadow: 0 1.5px 10px rgba(23,77,89,0.05);
}
.faq-item h3 {
  margin-bottom: 6px;
  font-size: 1.06rem;
}
.faq-item p {
  margin-bottom: 0;
}


/* =====================
   FOOTER
   ===================== */
footer {
  background: #174D59;
  color: #fff;
  width: 100%;
  padding: 36px 0 16px 0;
  margin-top: 40px;
}
footer .content-wrapper {
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
footer img {
  height: 36px;
  margin-bottom: 5px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 6px;
}
footer nav a {
  color: #fff;
  font-size: 0.99rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 6px 11px;
  border-radius: 7px;
  transition: background 0.13s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: #FCCB76;
  color: #174D59;
}
footer p {
  color: #fff;
  font-size: 0.96rem;
  opacity: 0.9;
  margin-bottom: 0;
}

/* ===============
   RESPONSIVENESS
   =============== */
@media (max-width: 700px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.22rem; }
  .section { padding: 28px 8px; margin-bottom: 32px; }
  .card, .feature-item, .resource-item, .testimonial-card, .faq-item {
    padding: 14px 10px;
  }
  table th, table td {
    padding: 9px 5px;
    font-size: 0.97rem;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* =====================
   MICRO-INTERACTIONS
   ===================== */
.card, .feature-item, .resource-item, .faq-item, .testimonial-card, button, .cta-primary {
  transition: box-shadow 0.22s, transform 0.16s, background 0.18s, color 0.17s;
}
.card:hover, .feature-item:hover, .resource-item:hover {
  box-shadow: 0 8px 24px rgba(23,77,89,0.11);
}
.cta-primary:active {
  transform: scale(0.97);
}
button:active, .category-filters button:active {
  transform: scale(0.98);
}

/* ================
   COOKIE BANNER
   ================ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 98vw;
  max-width: 480px;
  background: #fff;
  color: #174D59;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -2px 20px rgba(23,77,89,0.11);
  padding: 22px 20px 20px 20px;
  text-align: left;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(.57,.01,.33,1.01), opacity 0.25s cubic-bezier(.7,0,.51,1);
  font-family: 'Lato', Arial, sans-serif;
}
#cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
#cookie-banner h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.11rem;
  font-weight: 600;
  color: #174D59;
  margin-bottom: 6px;
}
#cookie-banner p {
  font-size: 0.98rem;
  margin-bottom: 0;
}
#cookie-banner .cookie-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}
#cookie-banner button {
  background: #FCCB76;
  color: #174D59;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 13px;
  transition: background 0.19s, color 0.16s;
  box-shadow: 0 1px 7px rgba(23,77,89,0.11);
}
#cookie-banner button:hover, #cookie-banner button:focus {
  background: #174D59;
  color: #fff;
}

/* Cookie Settings Modal */
#cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,77,89,0.22);
  z-index: 1300;
  display: none;
  justify-content: center;
  align-items: center;
  animation: fadeInModalBg 0.22s;
}
#cookie-modal.open {
  display: flex;
}
@keyframes fadeInModalBg {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #174D59;
  padding: 34px 26px 30px 26px;
  border-radius: 18px;
  box-shadow: 0 4px 44px rgba(23,77,89,0.19);
  min-width: 312px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-modal-content h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.17rem;
  color: #174D59;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 9px 0 3px 0;
}
.cookie-switch {
  position: relative;
  width: 40px;
  height: 22px;
  background: #FCCB76;
  border-radius: 12px;
  transition: background 0.13s;
}
.cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  height: 18px;
  width: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(23,77,89,0.09);
  transition: transform 0.14s;
}
.cookie-switch input:checked + .cookie-slider {
  transform: translateX(18px);
  background: #174D59;
}
.cookie-modal-footer {
  display: flex;
  gap: 13px;
  margin-top: 13px;
  justify-content: flex-end;
}
.cookie-modal-footer button {
  background: #FCCB76;
  color: #174D59;
  padding: 7px 18px;
  border-radius: 13px;
  font-weight: 600;
}
.cookie-modal-footer button:hover, .cookie-modal-footer button:focus {
  background: #174D59;
  color: #fff;
}
/* Cookie Modal ESCAPE button */
.cookie-modal-close {
  background: transparent;
  color: #174D59;
  font-size: 1.7rem;
  border: none;
  position: absolute;
  top: 16px;
  right: 19px;
  cursor: pointer;
}

/* ================
   UTILS & DECOR
   ================ */
::selection {
  background: #FCCB76;
  color: #174D59;
}
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}
hr {
  border: 0;
  border-top: 1px solid #F6F5F4;
  margin: 28px 0;
}

/* ===== Icons within text ===== */
.text-section img, .text-section svg {
  vertical-align: middle;
  margin-right: 8px;
  height: 22px;
}

/* ===========
   PRINT STYLES
   =========== */
@media print {
  nav, .mobile-menu-toggle, .mobile-menu, #cookie-banner, #cookie-modal {
    display: none !important;
  }
  footer {
    color: #333 !important;
    background: none !important;
    box-shadow: none !important;
  }
}
