/* ===================== 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,
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 {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
body {
  line-height: 1.6;
  background: #F6F7F9;
  color: #233240;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #185D77;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #10475a;
  outline: none;
}
ul, ol {
  padding-left: 1.2em;
  margin: 1em 0;
}
li {
  margin-bottom: 8px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1, h2, h3, h4, h5, h6 {
  color: #185D77;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.25rem; margin-bottom: 20px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
p, .subheadline {
  color: #233240;
  font-size: 1rem;
  margin-bottom: 16px;
}
strong {
  font-weight: 600;
}

/* ===================== BRAND CONTAINER ======================= */
.container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ===================== HEADER & NAV ======================= */
header {
  background: #fff;
  border-bottom: 1px solid #e8eaec;
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  gap: 20px;
}
header img {
  height: 46px;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: #185D77;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #f0f4f6;
  color: #10475a;
}
.main-nav .cta-btn {
  background: #185D77;
  color: #fff;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 22px;
  box-shadow: 0 2px 6px rgba(24,93,119,0.07);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: #FFC145;
  color: #185D77;
  box-shadow: 0 4px 12px rgba(24,93,119,0.12);
}

/* ===================== MOBILE MENU ======================= */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  line-height: 1;
  background: transparent;
  border: none;
  color: #185D77;
  cursor: pointer;
  margin-left: 12px;
  padding: 5px 12px;
  border-radius: 6px;
  transition: background 0.2s;
  z-index: 40;
}
.mobile-menu-toggle:focus {
  background: #e8eaec;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 100%;
  background: #fff;
  width: 100vw;
  height: 100vh;
  z-index: 50;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1), left 0.3s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 12px 0 rgba(34,51,64,.04);
  padding: 0;
}
.mobile-menu.open {
  left: 0;
  transform: translateX(-100vw);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 1.8rem;
  margin: 20px 20px 0 0;
  background: transparent;
  border: none;
  color: #185D77;
  cursor: pointer;
  border-radius: 6px;
  padding: 2px 10px;
  transition: background 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #e8eaec;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 40px 0 0 0;
  padding: 0 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: #185D77;
  padding: 6px 0;
  border-bottom: 1px solid #F0F4F6;
  transition: color 0.2s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FFC145;
}

@media (max-width: 1080px) {
  .container { max-width: 100%; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 900px) {
  .header-flex { flex-wrap: wrap; align-items: center; }
  .container { padding: 0 8px; }
}

/* ===================== HERO ======================= */
.hero {
  background: #F6F7F9;
  padding: 54px 0 44px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.hero .subheadline {
  font-size: 1.13rem;
  color: #46617a;
  margin-bottom: 24px;
}

@media (max-width: 700px) {
  .hero { padding: 40px 0 28px 0; }
  .hero h1 { font-size: 1.45rem; }
  .hero .subheadline { font-size: 1rem; }
}

/* ===================== SECTION/SPACING PATTERNS ======================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(34,51,64,0.04);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 15px;
  padding: 28px 24px;
  box-shadow: 0 4px 18px 2px rgba(24,93,119,0.06);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 700px) {
  .card-container, .content-grid { flex-direction: column; gap: 18px; }
}

/* ===================== FEATURE GRID ======================= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 18px;
}
.feature-grid > div {
  background: #fff;
  box-shadow: 0 2px 12px rgba(24,93,119,0.05);
  border-radius: 13px;
  padding: 28px 24px 22px 24px;
  flex: 1 1 260px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.14s;
}
.feature-grid > div:hover,
.feature-grid > div:focus-within {
  box-shadow: 0 8px 24px rgba(24,93,119,0.13);
  transform: translateY(-3px) scale(1.025);
  z-index: 2;
}
@media (max-width: 900px) {
  .feature-grid { flex-direction: column; gap: 20px; }
  .feature-grid > div { min-width: 0; width: 100%; }
}

/* ===================== CARD/SECTION LAYOUTS & TYPO ======================= */
.text-section {
  background: none;
  padding: 0;
  border-radius: 0;
}
.key-stats {
  background: #e9f2f6;
  border-radius: 10px;
  margin: 24px 0 0 0;
  padding: 22px 20px;
  color: #185D77;
  font-size: 1rem;
  box-shadow: 0 1px 5px rgba(24,93,119,.04);
}
.key-stats ul { margin: 0.5em 0; }
.box-highlight {
  background: #fff4d6;
  border-radius: 10px;
  padding: 20px 18px;
  color: #85611b;
}
.step-list {
  background: #F6F7F9;
  border-radius: 10px;
  padding: 18px 16px;
  color: #233240;
  margin: 24px 0 0 0;
}
.pro-tips {
  background: #e9f2f6;
  border-radius: 10px;
  padding: 16px 16px 8px 16px;
  font-size: 1rem;
  margin-top: 20px;
  color: #185D77;
}
.guide-download-box {
  background: #F6F7F9;
  border-radius: 12px;
  padding: 24px 18px 24px 24px;
  margin-bottom: 20px;
  border-left: 4px solid #185D77;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.resource-links {
  background: #fff;
  border-radius: 10px;
  padding: 18px 16px;
  margin: 22px 0 0 0;
  color: #233240;
}

/* ===================== Testimonials ======================= */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 28px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 16px 2px rgba(34,51,64,0.10);
  margin-top: 16px;
  margin-bottom: 24px;
  transition: box-shadow 0.18s, transform 0.13s;
}
.testimonial-card p {
  font-size: 1.15rem;
  color: #233240;
  font-style: italic;
}
.testimonial-card strong {
  color: #185D77;
  font-size: 0.98rem;
  padding-top: 2px;
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(24,93,119,0.15);
  transform: translateY(-2px) scale(1.01);
}

/* ===================== CTA Buttons ======================= */
.cta-btn {
  background: #185D77;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.11rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 32px;
  border: none;
  text-align: center;
  cursor: pointer;
  margin-top: 6px;
  display: inline-block;
  letter-spacing: 0.4px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
  box-shadow: 0 2px 8px rgba(24,93,119,0.10);
}
.cta-btn:hover, .cta-btn:focus {
  background: #FFC145;
  color: #185D77;
  transform: translateY(-1.5px) scale(1.03);
  box-shadow: 0 4px 16px rgba(255,193,69,0.15);
  outline: none;
}

.cta-section {
  margin-top: 28px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ===================== Alert/Checklist/Info Boxes ======================= */
.alert-box {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff4d6;
  color: #85611b;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 1rem;
  margin-top: 22px;
  box-shadow: 0 2px 8px rgba(255,193,69,0.06);
}
.checklist {
  background: #f0f6fa;
  border-radius: 8px;
  padding: 14px 16px;
  color: #233240;
  margin-top: 18px;
}
.accordion-box {
  background: #F6F7F9;
  border-radius: 10px;
  padding: 18px 16px;
  margin-bottom: 20px;
  font-size: 1rem;
}
.infographic {
  background: #e9f2f6;
  border-radius: 10px;
  padding: 16px 14px;
  color: #185D77;
  margin: 22px 0 0 0;
  font-size: 1rem;
}
.before-after {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 7px rgba(24,93,119,.06);
  padding: 18px 15px;
  margin: 18px 0 0 0;
}
.trust {
  background: #e9f2f6;
  border-radius: 10px;
  color: #185D77;
  padding: 16px 14px;
  margin: 20px 0;
}

/* ===================== FEATURED LIST/ITEMS ======================= */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===================== GENERAL LAYOUT PADDING AND GAPS ======================= */
section {
  margin-bottom: 60px;
}
section:last-child { margin-bottom: 0; }

@media (max-width: 700px) {
  section {
    margin-bottom: 36px;
    padding: 0;
  }
}

/* ===================== FLEXBOX PATTERNS ======================= */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ===================== FORM, LOCATION ======================= */
.contact-info ul {
  list-style-type: none;
  padding: 0;
}
.contact-info img {
  vertical-align: middle;
  width: 18px;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.location-map a {
  color: #185D77;
  font-weight: 600;
  text-decoration: underline;
}
.location-map a:hover { color: #FFC145; }

/* ===================== FOOTER ======================= */
footer {
  background: #fff;
  padding: 38px 0 14px 0;
  border-top: 1px solid #e8eaec;
  margin-top: 60px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 12px;
}
.footer-menu a {
  color: #185D77;
  opacity: 0.88;
  transition: opacity 0.17s, color 0.18s;
}
.footer-menu a:hover, .footer-menu a:focus { color: #FFC145; opacity: 1; }
.footer-contact {
  text-align: center;
  color: #8caab4;
  font-size: 0.98rem;
  margin-bottom: 6px;
}
.copyright {
  text-align: center;
  color: #b7c8d2;
  font-size: 0.92rem;
  padding-top: 3px;
}
@media (max-width: 600px) {
  .footer-menu {flex-direction: column; gap: 12px; align-items: center;}
}

/* ===================== THANK-YOU PAGE ======================= */
.thank-you .content-wrapper {
  background: #F6F7F9;
  border-radius: 18px;
  padding: 26px 24px 34px 24px;
  box-shadow: 0 3px 18px rgba(24,93,119,0.07);
}

/* ===================== COOKIE BANNER ======================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: #fffbe9;
  box-shadow: 0 -2px 16px 4px rgba(80,90,120,0.08);
  padding: 26px 32px 19px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  z-index: 90;
  gap: 22px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  font-size: 1.05rem;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1), opacity 0.28s;
  will-change: transform;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  background: #185D77;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.99rem;
  font-weight: 600;
  padding: 7px 18px;
  border: none;
  border-radius: 20px;
  margin-left: 8px;
  cursor: pointer;
  transition: background 0.16s, color 0.15s, box-shadow 0.15s;
}
.cookie-banner button.cookie-settings-btn {
  background: #FFC145;
  color: #185D77;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #10475a;
  color: #fff;
}
.cookie-banner button.cookie-settings-btn:hover, .cookie-banner button.cookie-settings-btn:focus {
  background: #ffd27a;
  color: #185D77;
}

@media (max-width: 700px) {
  .cookie-banner {flex-direction: column; gap: 12px; align-items: flex-start; padding: 16px 10px 12px 10px;}
  .cookie-banner .cookie-actions { gap: 10px; flex-wrap: wrap; }
}

/* ===================== COOKIE MODAL PREFS ======================= */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,51,64,0.32);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInOverlay 0.3s;
}
@keyframes fadeInOverlay { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: #fff;
  border-radius: 17px;
  max-width: 400px;
  width: 90vw;
  box-shadow: 0 6px 32px rgba(24,93,119,0.19);
  padding: 38px 26px 24px 26px;
  animation: popInCookie 0.39s cubic-bezier(.45,1.5,.17,1);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
@keyframes popInCookie {
  0% { opacity: 0; transform: scale(0.94) translateY(35px); }
  70% { opacity: 1; transform: scale(1.04) translateY(-7px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  font-size: 1.33rem;
  margin-bottom: 0;
  color: #185D77;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 7px 0;
  border-bottom: 1px solid #e9f2f6;
}
.cookie-modal .cookie-category:last-child { border-bottom: none; }
.cookie-modal .category-label {
  color: #233240;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-modal .cookie-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
}
.cookie-modal .cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e9f2f6;
  border-radius: 22px;
  transition: background 0.2s;
}
.cookie-modal .cookie-switch input:checked + .slider {
  background: #FFC145;
}
.cookie-modal .slider:before {
  position: absolute;
  content: '';
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(34,51,64,0.08);
}
.cookie-modal .cookie-switch input:checked + .slider:before {
  transform: translateX(18px);
}

.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}
.cookie-modal .cookie-close-modal {
  position: absolute;
  top: 13px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #185D77;
  cursor: pointer;
  padding: 2px 7px;
  border-radius: 6px;
  transition: background 0.15s;
}
.cookie-modal .cookie-close-modal:hover, .cookie-modal .cookie-close-modal:focus {
  background: #e9f2f6;
}
@media (max-width: 520px) {
  .cookie-modal { padding: 22px 7px 17px 10px;}
}

/* ============= UTILITY CLASSES =============== */
.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }
.hidden { display: none !important; }
.visible { display: block !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.mt-60 { margin-top: 60px; }
.mb-32 { margin-bottom: 32px; }
.mb-16 { margin-bottom: 16px; }
.gap-24 { gap: 24px; }
.gap-12 { gap: 12px; }

/* ============== MEDIA QUERIES, ADAPT SPACING ======= */
@media (max-width: 640px) {
  .section, .card, .testimonial-card, .box-highlight, .key-stats, .feature-grid > div, .guide-download-box {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .container { padding-left: 7px; padding-right: 7px; }
}

/* ===================== ANIMATIONS & FOCUS STATES ======================= */
button, .cta-btn, a {
  outline: none;
}
button:focus-visible, .cta-btn:focus-visible, a:focus-visible {
  box-shadow: 0 0 0 3px #FFC14533;
}

/* ===================== END CSS ======================= */