/* ==== RESET & BASE STYLES ==== */
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 {
  box-sizing: border-box;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  color: #202A44;
  background: #fafbf8;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  color: #202A44;
  background-color: #fafbf8;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #00728D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F4B400;
}
ul, ol {
  margin-left: 1.5em;
}
strong {
  font-weight: bold;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Georgia', serif;
  color: #202A44;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
@media (min-width: 768px) {
  h1 {
    font-size: 2.75rem;
    margin-bottom: 32px;
  }
  h2 {
    font-size: 2rem;
    margin-bottom: 24px;
  }
  h3 {
    font-size: 1.4rem;
    margin-bottom: 18px;
  }
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #33384c;
}
li {
  font-size: 1rem;
  margin-bottom: 10px;
}

/* ==== LAYOUT CONTAINERS ==== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* ==== SECTIONS SPACING ==== */
.section,
.hero,
.features,
.services-overview,
.testimonials,
.cta,
.newsletter-cta,
.legal,
.contact-details,
.confirmation {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 5px 30px rgba(32,42,68, 0.10);
  transition: box-shadow 0.3s;
}
.section:last-child, 
.hero:last-child,
.features:last-child, 
.services-overview:last-child,
.testimonials:last-child,
.cta:last-child,
.legal:last-child,
.contact-details:last-child,
.confirmation:last-child {
  margin-bottom: 0;
}

/* ==== HEADER ====*/
header {
  background: #fff;
  border-bottom: 1px solid #e4e7ed;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 16px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', serif;
  color: #202A44;
  font-size: 1.05rem;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  color: #00728D;
  border-color: #F4B400;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 18px;
}
.btn.btn-primary {
  background: #202A44;
  color: #fff;
  font-family: 'Montserrat', serif;
  border: none;
  border-radius: 8px;
  padding: 10px 28px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-left: 24px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(32,42,68,0.07);
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
  background: #00728D;
  color: #fff;
}

/* ==== BURGER MENU ==== */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #202A44;
  font-size: 2rem;
  margin-left: 20px;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.18s;
  z-index: 1021;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #eaf1fa;
  color: #00728D;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #fff;
  box-shadow: -6px 0 24px rgba(32,42,68,0.16);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.5,0,0.2,1);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 28px 24px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: #202A44;
  font-size: 2rem;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #eaf1fa;
  color: #00728D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
  width: 100%;
}
.mobile-nav a {
  color: #202A44;
  font-family: 'Montserrat', serif;
  font-size: 1.15rem;
  padding: 13px 0;
  border-bottom: 1px solid #eef1f7;
  transition: background 0.15s, color 0.15s;
  border-radius: 2px;
  width: 100%;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background-color: #f6f7fa;
  color: #00728D;
}

@media (max-width: 1050px) {
  header nav, .btn.btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1051px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ==== HERO SECTION ==== */
.hero {
  background: #f6f5f1;
  min-height: 290px;
  padding-top: 48px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-shadow: none;
}
.hero h1 {
  font-family: 'Montserrat', serif;
  font-size: 2.2rem;
  margin-bottom: 18px;
  color: #202A44;
}
.hero p {
  font-size: 1.15rem;
  margin-bottom: 28px;
}
@media (min-width: 768px) {
  .hero {
    min-height: 350px;
    padding-top: 64px;
  }
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 24px;
  }
}

/* ==== FEATURES & SERVICE CARDS ==== */
.features .feature-grid,
.services-overview .service-cards,
.team-grid,
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  justify-content: flex-start;
}
.features .feature-grid li,
.services-overview .service-cards > div,
.team-grid > div,
.blog-list .blog-post-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.5px 10px rgba(32,42,68,.06);
  padding: 32px 24px 24px 24px;
  min-width: 220px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.17s;
  border: 1px solid #e5e9ed;
  margin-bottom: 20px;
}
.features .feature-grid li:hover, .features .feature-grid li:focus,
.services-overview .service-cards > div:hover, .services-overview .service-cards > div:focus,
.team-grid > div:hover, .team-grid > div:focus,
.blog-list .blog-post-card:hover, .blog-list .blog-post-card:focus {
  box-shadow: 0 7px 36px rgba(32,42,68,0.13);
  transform: translateY(-2px) scale(1.024);
  border-color: #F4B400;
}
.features .feature-grid img,
.services-overview .service-cards img {
  height: 46px;
  width: 46px;
  margin-bottom: 6px;
  margin-top: 0;
  border-radius: 8px;
  background: #f8f8fa;
}
.features .feature-grid h3,
.services-overview .service-cards h3 {
  font-family: 'Montserrat', serif;
  font-size: 1.18rem;
  color: #202A44;
  margin: 12px 0 8px 0;
}
@media (max-width: 900px) {
  .features .feature-grid,
  .services-overview .service-cards {
    flex-direction: column;
    gap: 18px;
  }
}

/* ==== LIST LAYOUTS ==== */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 24px;
}
.service-list li {
  background: #f6f5f1;
  border-radius: 10px;
  padding: 18px 24px 18px 24px;
  box-shadow: 0 1px 7px rgba(32,42,68,0.04);
  margin-bottom: 10px;
  font-size: 1.09rem;
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}
.process-steps li {
  background: #f6f5f1;
  border-radius: 3px;
  padding: 16px 20px;
  border-left: 5px solid #202A44;
  margin-bottom: 10px;
  font-size: 1.07rem;
}

/* ==== TESTIMONIALS ==== */
.testimonials .testimonial-card,
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: #f6f5f1;
  padding: 24px 32px 18px 32px;
  border-radius: 14px;
  margin-bottom: 20px;
  margin-top: 16px;
  border-left: 4px solid #00728D;
  box-shadow: 0 2.5px 18px rgba(32,42,68,0.08);
  position: relative;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #202A44;
  font-style: italic;
}
.testimonial-card span {
  font-family: 'Montserrat', serif;
  color: #202A44;
  font-size: 0.96rem;
  font-weight: 600;
  margin-top: 10px;
}
/* Reference/case-study style */
.case-study-summary {
  background: #fff8e0;
  border-left: 4px solid #F4B400;
  box-shadow: 0 1.5px 16px rgba(244,180,0,0.06);
  padding: 22px 30px 16px 30px;
  border-radius: 11px;
  margin-bottom: 20px;
  margin-top: 12px;
}

/* ==== BLOG LIST ==== */
.blog-list {
  margin-bottom: 24px;
}
.blog-post-card {
  border-left: 5px solid #00728D;
}
.read-more {
  margin-top: 10px;
  font-size: 1rem;
  color: #00728D;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  transition: color 0.17s;
}
.read-more:hover, .read-more:focus {
  color: #F4B400;
}
.categories-list {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
}
.categories-list a {
  color: #202A44;
  font-size: 1rem;
  font-family: 'Montserrat', serif;
  font-weight: 500;
}
.categories-list a:hover {
  color: #00728D;
}

/* ==== FOOTER ==== */
footer {
  background: #202A44;
  color: #fff;
  padding: 42px 0 28px 0;
  margin-top: 64px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}
.footer-brand img {
  height: 36px;
  width: auto;
}
.footer-brand span {
  font-size: 1.08rem;
  font-family: 'Montserrat', serif;
  opacity: 0.92;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 18px 0 10px 0;
}
.footer-menu a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', serif;
  transition: color 0.15s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #F4B400;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  color: #fff;
  opacity: 0.98;
  font-size: 1rem;
  margin-top: 14px;
  line-height: 1.7;
}
.footer-contact img {
  height: 18px;
  display: inline;
  margin: 0 4px -3.5px 6px;
}

/* ==== CTA, NEWSLETTER ==== */
.cta, .newsletter-cta {
  background: #202A44;
  color: #fff;
  text-align: center;
  border-radius: 16px;
  padding: 48px 24px 48px 24px;
  box-shadow: 0 6px 32px rgba(32,42,68,0.12);
  margin-bottom: 60px;
}
.cta h2, .newsletter-cta h2 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 18px;
}
.cta p, .newsletter-cta p {
  font-size: 1.13rem;
  color: #f1f1fa;
  margin-bottom: 28px;
}
.cta .btn, .newsletter-cta .btn {
  margin: 0 auto;
}

/* ==== UTILITY SPACING CLASSES ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.5px 14px rgba(32,42,68,.08);
  padding: 30px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== LEGAL SECTIONS ==== */
.legal {
  background: #fff;
  box-shadow: 0 2px 12px rgba(32,42,68,.07);
  border-radius: 10px;
  margin-bottom: 60px;
  padding: 32px 18px;
}
.legal h2 {
  color: #00728D;
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 1.2rem;
}
.legal ul li {
  margin-bottom: 10px;
}

/* ==== COOKIE CONSENT ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: #202A44;
  color: #fff;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  padding: 23px 20px 23px 20px;
  box-shadow: 0 -4px 18px rgba(32,42,68,0.10);
  font-size: 1rem;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  gap: 22px;
  animation: fadeInUp 0.58s cubic-bezier(.54,.11,.4,.89);
}
.cookie-banner button {
  margin: 0 5px;
  padding: 8px 23px;
  border: none;
  border-radius: 6px;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 5px rgba(32,42,68,0.06);
}
.cookie-banner .cookie-accept {
  background: #F4B400;
  color: #202A44;
}
.cookie-banner .cookie-accept:hover {
  background: #ffca2b;
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: #202A44;
  border: 1px solid #d7dbe4;
}
.cookie-banner .cookie-reject:hover {
  background: #e4e7ed;
}
.cookie-banner .cookie-settings {
  background: #00728D;
  color: #fff;
}
.cookie-banner .cookie-settings:hover {
  background: #005a6c;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    padding-left: 10px;
    padding-right: 10px;
  }
}

@keyframes fadeInUp {
  from { opacity:0; transform: translateY(34px); }
  to { opacity:1; transform: translateY(0); }
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,42,68,.44);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.26s;
}
.cookie-modal {
  background: #fff;
  color: #202A44;
  border-radius: 13px;
  box-shadow: 0 7px 31px rgba(32,42,68,0.12);
  padding: 38px 32px 32px 32px;
  width: 94vw;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeInUp 0.45s cubic-bezier(.49,.09,.44,1);
  position: relative;
}
.cookie-modal h2 {
  font-family: 'Montserrat', serif;
  margin-bottom: 7px;
  font-size: 1.36rem;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid #f2f2f5;
}
.cookie-modal .cookie-toggle {
  margin-left: auto;
}
.cookie-modal .cookie-toggle input[type="checkbox"] {
  width: 34px;
  height: 20px;
  accent-color: #00728D;
  cursor: pointer;
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 13px;
  background: none;
  border: none;
  color: #202A44;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.16s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #eee;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 900px) {
  .container {
    max-width: 100vw;
  }
  .footer-menu {
    gap: 20px;
  }
  .footer-contact {
    font-size: 0.97rem;
  }
  header .container {
    gap: 10px;
  }
}
@media (max-width: 700px) {
  .container, .section, .content-wrapper {
    padding-left: 8px;
    padding-right: 8px;
  }
  .cta, .newsletter-cta {
    padding-left: 10px;
    padding-right: 10px;
  }
  .features .feature-grid li, .services-overview .service-cards > div, .team-grid > div {
    min-width: unset;
    padding: 20px 12px 18px 12px;
  }
}
@media (max-width: 600px) {
  .footer-brand img {
    height: 27px;
  }
  .footer-brand span {
    font-size: 0.97rem;
  }
  .cta h2, .newsletter-cta h2 { font-size: 1.4rem; }
}
@media (max-width: 440px) {
  h1 {
    font-size: 1.35rem;
  }
  h2 {
    font-size: 1.06rem;
  }
  .btn.btn-primary {
    font-size: 0.98rem;
    padding: 9px 14px;
  }
}

/* ==== FORMS/INPUTS ==== */
input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}
input[type="text"], input[type="email"], textarea {
  border: 1px solid #d7dbe4;
  border-radius: 7px;
  padding: 10px 14px;
  transition: border-color 0.13s;
  background: #f6f5f1;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #00728D;
}
label {
  font-size: 0.98rem;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  color: #202A44;
  margin-bottom: 7px;
  display: block;
}

/* ==== MICRO-ANIMATIONS ==== */
.btn, a, .blog-post-card, .card, .feature-grid li, .service-cards > div, .mobile-menu-toggle {
  transition: box-shadow 0.15s, background 0.13s, border-color 0.17s, transform 0.13s, color 0.13s;
}

/* ==== ACCESSIBILITY/FOCUS VISIBLE ==== */
:focus-visible {
  outline: 2px solid #F4B400;
  outline-offset: 2px;
}

/* ==== PRINT ==== */
@media print {
  header, footer, .mobile-menu, .cookie-banner {
    display: none !important;
  }
  .section, .container {
    padding: 0;
    margin-bottom: 18px;
    box-shadow: none;
    border-radius: 0;
    background: none;
  }
}
