/* --- CSS RESET & BASE --- */
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;
  vertical-align: baseline;
  font: inherit;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #f7f5f3;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #193a5a;
  line-height: 1.6;
  font-size: 1rem;
  font-weight: 400;
  word-break: break-word;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
a {
  color: #2a8c82;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #f2994a;
  outline: none;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #193a5a;
  margin-bottom: 0.7em;
  line-height: 1.13;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 0.7em; }
h2 { font-size: 2rem; margin-bottom: 0.6em; }
h3 { font-size: 1.4rem; margin-bottom: 0.5em; }
h4 { font-size: 1.1rem; margin-bottom: 0.3em; }

p, .subheadline, .text-section {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #26425f;
}
p, .subheadline { font-size: 1.08rem; margin-bottom: 1em; }
.subheadline {
  font-size: 1.2rem;
  color: #2a8c82;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 500;
}
strong { font-weight: 600; }

/* --- CONTAINERS & FLEX LAYOUTS --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 18px 0 rgba(31, 44, 61, 0.08);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (max-width: 768px) {
  .section {
    padding: 22px 8px;
    gap: 20px;
    margin-bottom: 32px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: #fffbea;
  box-shadow: 0 2px 10px 0 rgba(31,44,61,0.05);
  position: relative;
  z-index: 99;
  border-bottom-right-radius: 26px;
  border-bottom-left-radius: 26px;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo img {
  height: 48px;
  border-radius: 12px;
}

.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  color: #193a5a;
  padding: 8px 16px;
  border-radius: 10px;
  transition: background 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #f9e5e1;
  color: #2a8c82;
}
.cta-header {
  background: #2a8c82;
  color: #fff;
  padding: 10px 25px;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  box-shadow: 0 4px 16px 0 rgba(42,140,130,0.12);
  transition: background 0.21s, color 0.18s;
  margin-left: 10px;
  border: none;
  cursor: pointer;
}
.cta-header:hover, .cta-header:focus {
  background: #f2994a; /* orange accent */
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  background: #2a8c82;
  color: #fff;
  border: none;
  font-size: 2.3rem;
  border-radius: 18px;
  padding: 4px 14px;
  line-height: 1;
  box-shadow: 0 2px 8px 0 rgba(42,140,130,0.09);
  cursor: pointer;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #f2994a;
  color: #fff;
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .cta-header { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,251,234,0.96);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.66,.04,.4,1.02);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  box-shadow: 0 3px 32px -8px rgba(30,60,90,0.13);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 18px 4px 0;
  font-size: 2.1rem;
  color: #2a8c82;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  padding: 6px 18px;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #f2994a;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 30px 0 0 16px;
  width: 80vw;
}
.mobile-nav a {
  color: #193a5a;
  font-size: 1.25rem;
  padding: 16px 8px;
  border-radius: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: background 0.17s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f4dada;
  color: #2a8c82;
}

@media (min-width: 901px) {
  .mobile-menu { display: none; }
}

/* --- SECTION & FLEX UTILITIES --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(31,44,61,0.07);
  padding: 30px 24px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(42,140,130,0.17);
  transform: translateY(-4px) scale(1.03);
}

.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, .card-container, .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  background: #fffbea;
  border-radius: 18px;
  box-shadow: 0 4px 14px 0 rgba(42,140,130,0.07);
  font-size: 1.12rem;
  margin-bottom: 20px;
  max-width: 540px;
  color: #193a5a;
  transition: box-shadow 0.16s, background 0.14s;
}
.testimonial-card p {
  font-size: 1.14rem;
  color: #1b3363;
  margin-bottom: 3px;
}
.testimonial-card span {
  color: #2a8c82;
  font-size: 1.08rem;
  font-weight: 500;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 28px 0 rgba(42,140,130,0.14);
  background: #fefaf5;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- SERVICE & BLOG CARDS --- */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-block {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(31,44,61,0.10);
  padding: 28px 22px;
  min-width: 260px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.14s;
}
.service-block:hover, .service-block:focus-within {
  box-shadow: 0 8px 26px 0 rgba(42,140,130,0.14);
  transform: translateY(-3px) scale(1.025);
}
.price {
  color: #f2994a;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 10px;
}

.blog-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.blog-post {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(31,44,61,0.07);
  padding: 20px 18px;
  min-width: 220px;
  flex: 1 1 230px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.blog-post:hover, .blog-post:focus-within {
  box-shadow: 0 7px 18px 0 rgba(42,140,130,0.19);
  transform: scale(1.020);
}
.tag {
  display: inline-block;
  background: #f1f3f7;
  color: #2a8c82;
  border-radius: 10px;
  font-size: 0.97rem;
  padding: 3px 13px;
  margin-top: 12px;
}
.topic-tags {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.topic-tags span {
  font-size: 1rem;
  color: #f2994a;
  background: #fff8f0;
  border-radius: 8px;
  padding: 4px 10px;
}

/* --- CTA BUTTONS --- */
.cta-main, .cta-secondary, .cta-header {
  display: inline-block;
  border: none;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.22rem;
  padding: 14px 44px;
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.21s, color 0.15s, box-shadow 0.22s, transform 0.13s;
  box-shadow: 0 2px 14px 0 rgba(42,140,130,0.10);
}
.cta-main {
  background: #f2994a;
  color: #fff;
}
.cta-main:hover, .cta-main:focus {
  background: #2a8c82;
  color: #fff;
  box-shadow: 0 6px 30px 0 rgba(42,140,130,0.13);
  transform: scale(1.02);
}
.cta-secondary {
  background: #fff;
  color: #2a8c82;
  border: 2px solid #2a8c82;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #2a8c82;
  color: #fff;
  transform: scale(1.01);
  border-color: #f2994a;
}

@media (max-width:480px) {
  .cta-main, .cta-secondary, .cta-header {
    padding: 12px 8vw;
    font-size: 1.1rem;
  }
}

/* --- PRICING TABLE --- */
.pricing-table {
  width: 100%;
  margin-top: 30px;
  border-collapse: separate;
  border-spacing: 0 10px;
}
.pricing-table th, .pricing-table td {
  padding: 12px 20px;
  background: #fff;
  border-radius: 10px;
  font-size: 1.12rem;
  text-align: left;
  color: #26425f;
}
.pricing-table thead th {
  background: #2a8c82;
  color: #fff;
  font-weight: 700;
  border-radius: 12px 12px 0 0;
}
.pricing-table tbody tr { box-shadow: 0 2px 6px 0 rgba(42,140,130,0.08); }
.pricing-table tbody td:last-child {
  color: #f2994a;
  font-weight: 700;
}

/* --- TEXT SECTION --- */
.text-section {
  background: #fffbea;
  border-radius: 16px;
  padding: 20px 18px;
  margin-bottom: 18px;
  color: #193a5a;
  font-size: 1.1rem;
}

.next-steps {
  background: #f1f3f7;
  border-radius: 12px;
  padding: 16px 14px;
  margin-bottom: 22px;
}

/* --- FOOTER --- */
footer {
  width: 100%;
  background: #193a5a;
  color: #fff;
  padding: 32px 0 14px 0;
  border-top-left-radius: 34px;
  border-top-right-radius: 34px;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.footer-nav a {
  color: #fff;
  font-size: 1.05rem;
  opacity: 0.87;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 3px 8px;
  border-radius: 8px;
  transition: background 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #f2994a;
  color: #fff;
  opacity: 1;
}
footer p {
  font-size: 1.03rem;
  opacity: 0.8;
}

/* --- ICONS IN LISTS --- */
ul li img, .text-section li img {
  width: 28px;
  height: 28px;
  margin-right: 10px;
  vertical-align: middle;
}

/* --- GENERAL SPACING --- */
main section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
}
@media (max-width: 768px) {
  main section { margin-bottom: 36px; padding: 24px 0; }
}

/* --- ACCESSIBILITY --- */
a, button {
  outline: none;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid #f2994a;
  outline-offset: 2px;
}

/* --- COOKIE CONSENT BANNER + MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2002;
  background: #fffbea;
  color: #193a5a;
  box-shadow: 0 -3px 20px 0 rgba(42,140,130,0.17);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 30px;
  font-size: 1rem;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.36s cubic-bezier(.5,.07,.86,.68), opacity 0.33s;
}
.cookie-banner.hide {
  opacity: 0; transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-consent-btn, .cookie-settings-btn {
  border-radius: 18px;
  outline: none;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  transition: background 0.17s, color 0.14s, box-shadow 0.13s;
  box-shadow: 0 2px 9px 0 rgba(31,44,61,0.09);
  cursor: pointer;
}
.cookie-consent-btn {
  background: #2a8c82;
  color: #fff;
}
.cookie-consent-btn.reject {
  background: #f2994a;
  color: #fff;
}
.cookie-settings-btn {
  background: #fff;
  border: 2px solid #f2994a;
  color: #f2994a;
}
.cookie-consent-btn:hover, .cookie-consent-btn:focus {
  background: #f2994a;
  color: #fff;
}
.cookie-consent-btn.reject:hover, .cookie-consent-btn.reject:focus {
  background: #cf4d30;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #f2994a;
  color: #fff;
  border-color: #2a8c82;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 10px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-btns { justify-content: flex-start; }
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(25,58,90,0.15);
  z-index: 2501;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active { display: flex; }
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  padding: 32px 26px 26px 26px;
  box-shadow: 0 8px 44px 0 rgba(25,58,90,0.18);
  min-width: 305px;
  max-width: 94vw;
  animation: fadeInScale 0.32s;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
}
@keyframes fadeInScale {
  from { opacity:0; transform: scale(0.91); }
  to   { opacity:1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.5rem;
  color: #2a8c82;
  margin-bottom: 6px;
}
.cookie-modal .category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #fffbea;
  border-radius: 14px;
  padding: 16px 14px;
  margin-bottom: 10px;
}
.cookie-modal .category.label {
  font-weight: 700;
  color: #193a5a;
  font-size: 1.05rem;
}
.cookie-modal .toggle {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.cookie-modal .toggle input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal .slider {
  position: absolute;
  left: 0; top: 0;
  width: 38px; height: 22px;
  background: #f1f3f7;
  border-radius: 22px;
  transition: background 0.13s;
}
.cookie-modal .toggle input:checked + .slider {
  background: #2a8c82;
}
.cookie-modal .slider:before {
  position: absolute;
  content: '';
  height: 16px; width: 16px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px 0 rgba(0,0,0,0.07);
  transition: transform 0.17s;
}
.cookie-modal .toggle input:checked + .slider:before {
  transform: translateX(16px);
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal .modal-close-btn {
  background: #f2994a;
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 8px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal .modal-close-btn:hover, .cookie-modal .modal-close-btn:focus {
  background: #2a8c82;
}

/* --- RESPONSIVE LAYOUTS --- */
@media (max-width: 1024px) {
  .service-grid, .card-container, .blog-post-list {
    gap: 16px;
  }
}
@media (max-width: 820px) {
  .service-grid, .card-container, .blog-post-list {
    gap: 12px;
  }
}
@media (max-width: 680px) {
  h1 { font-size: 1.63rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }
  .service-block, .blog-post, .testimonial-card, .card {
    min-width: 180px;
    padding: 18px 10px;
  }
}

/* --- FORM ELEMENTS --- */
input, textarea {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #fff;
  border: 1.5px solid #f1f3f7;
  border-radius: 14px;
  padding: 12px 14px;
  color: #193a5a;
  font-size: 1rem;
  transition: border 0.15s;
}
input:focus, textarea:focus {
  border-color: #f2994a;
  outline: none;
}
button, .cta-main, .cta-secondary, .cta-header {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

/* --- MISC/UTILS --- */
.hide { display: none !important; }

/* --- END OF CSS --- */
