/* 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
section, article, aside, footer, header, nav, main {
  display: block;
}
body {
  min-height: 100vh;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #144756;
  background: #F4F8F6;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #144756;
  text-decoration: underline;
  transition: color 0.16s;
}
a:hover, a:focus {
  color: #FCCB45;
}
ul, ol {
  list-style: disc inside;
  margin-top: 8px;
  margin-bottom: 16px;
}
dt {
  font-weight: 600;
  margin-top: 20px;
}
dd {
  margin-left: 0;
  margin-bottom: 10px;
}
strong, b {
  font-weight: 700;
}
hr {
  border: 0;
  border-bottom: 1px solid #E3E4E8;
  margin: 32px 0;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #144756;
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.2;
}
h2 {
  font-size: 1.2rem;
  margin-bottom: 18px;
  line-height: 1.24;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 14px;
  line-height: 1.27;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  margin-bottom: 16px;
  font-size: 1rem;
  color: #254c5c;
}
blockquote {
  font-style: italic;
  color: #144756;
  border-left: 3px solid #FCCB45;
  padding-left: 18px;
  margin-bottom: 12px;
}
cite {
  font-size: 0.97rem;
  color: #888;
  font-style: normal;
  margin-left: 8px;
}

/* CONTAINER, LAYOUT & SPACING */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* FLEXBOX PATTERNS REQUIRED */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border: 1px solid #e8eceb;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(20, 71, 86, 0.07);
  padding: 32px 24px;
  transition: box-shadow 0.16s, border-color 0.15s;
}
.card:hover, .card:focus-within {
  border-color: #FCCB45;
  box-shadow: 0 4px 22px rgba(20, 71, 86, 0.14);
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(20, 71, 86, 0.10);
  border-radius: 16px;
  margin-bottom: 20px;
  border: 1px solid #e8eceb;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== BRAND ELEMENTS ==== */
.cta-primary,
button.cta-primary,
input[type=submit].cta-primary {
  background: #144756;
  color: #fff;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 8px;
  padding: 14px 36px;
  cursor: pointer;
  transition: background 0.18s, color 0.12s, box-shadow 0.13s;
  box-shadow: 0 2px 6px rgba(20, 71, 86, 0.06);
  text-decoration: none;
  display: inline-block;
  margin-top: 6px;
}
.cta-primary:hover, .cta-primary:focus {
  background: #FCCB45;
  color: #144756;
  box-shadow: 0 3px 15px rgba(252,203,69,0.18);
}
.cta-secondary {
  background: #FCCB45;
  color: #144756;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.05rem;
  padding: 12px 28px;
  border-radius: 7px;
  text-decoration: none;
  border: none;
  box-shadow: 0 2px 6px rgba(252,203,69,0.05);
  margin-top: 5px;
  transition: background 0.17s, color 0.13s;
  display: inline-block;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #144756;
  color: #fff;
}
.stars {
  font-family: serif;
  color: #FCCB45;
  font-size: 1.24rem;
  margin-bottom: 4px;
  letter-spacing: 2px;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #e8eceb;
  box-shadow: 0 2px 12px rgba(20,71,86,0.03);
  position: sticky;
  top: 0;
  z-index: 30;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
header nav a img {
  height: 38px;
  width: auto;
  margin-right: 24px;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  list-style: none;
}
header nav ul li a {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #144756;
  font-size: 1.08rem;
  padding: 4px 0;
  text-decoration: none;
  transition: color 0.14s, border-bottom 0.14s;
  border-bottom: 2px solid transparent;
}
header nav ul li a:hover, header nav ul li a:focus {
  color: #FCCB45;
  border-bottom: 2px solid #FCCB45;
}
header nav .cta-primary {
  margin-left: 32px;
  flex-shrink: 0;
}

/* ========== HERO & SECTIONS ========== */
.hero {
  background: #eceeea;
  padding: 50px 0 60px;
  margin-bottom: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.features {
  background: #F4F8F6;
  padding: 50px 0;
}
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 30px;
  justify-content: flex-start;
}
.features .feature-grid li {
  background: #fff;
  border: 1px solid #e8eceb;
  border-radius: 12px;
  padding: 30px 22px;
  min-width: 250px;
  flex: 1 1 22%;
  max-width: 320px;
  box-shadow: 0 2px 14px rgba(20, 71, 86, 0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.16s, border-color 0.14s;
}
.features .feature-grid li:hover, .features .feature-grid li:focus-within {
  border-color: #FCCB45;
  box-shadow: 0 4px 20px rgba(252,203,69,0.13);
}
.features .feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 20px 0 16px 0;
  padding: 0;
  list-style: none;
}
.trust-badges li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1.07rem;
  font-weight: 500;
  color: #254c5c;
}
.trust-badges img {
  width: 26px;
  height: 26px;
}

/* SERVICES LISTS & CARDS */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-top: 12px;
}
.services-list li, .service-card {
  background: #fff;
  border: 1px solid #e8eceb;
  border-radius: 14px;
  padding: 30px 22px 24px 22px;
  box-shadow: 0 2px 12px rgba(20, 71, 86, 0.09);
  flex: 1 1 220px;
  max-width: 330px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  transition: box-shadow 0.15s, border-color 0.13s;
  position: relative;
}
.services-list li:hover, .service-card:hover,
.services-list li:focus-within, .service-card:focus-within {
  border-color: #FCCB45;
  box-shadow: 0 5px 24px rgba(252,203,69,0.11);
}
.services-list img, .service-card img {
  max-width: 40px;
  max-height: 40px;
  margin-bottom: 8px;
}
.service-price {
  margin-top: auto;
  color: #144756;
  font-weight: bold;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  background: #F4F8F6;
  padding: 5px 13px;
  border-radius: 7px;
  margin-left: -8px;
  margin-bottom: -10px;
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 1px solid #e8eceb;
  margin-top: 80px;
  font-size: 1rem;
  color: #254c5c;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 34px;
  padding-bottom: 34px;
}
footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  list-style: none;
}
footer nav ul li a {
  color: #254c5c;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.15s;
  padding: 2px 0;
}
footer nav ul li a:hover, footer nav ul li a:focus {
  color: #FCCB45;
}
footer .footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  margin-top: 16px;
  font-size: 1rem;
}
footer address {
  font-style: normal;
}
footer a {
  color: #144756;
}

/* TESTIMONIALS */
.testimonials {
  background: #F4F8F6;
}
.testimonials .testimonial-card {
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 2px 9px rgba(20,71,86,0.11);
  border-radius: 16px;
  border: 1px solid #e8eceb;
  color: #144756;
  max-width: 670px;
  font-size: 1.11rem;
}

/* CASE STUDIES on references page */
.case-study {
  background: #fff;
  border: 1px solid #e8eceb;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(20, 71, 86, 0.09);
  padding: 32px 24px;
  margin-bottom: 20px;
}
.case-study h3 {
  margin-bottom: 8px;
  color: #144756;
}
.case-study ul {
  margin-top: 10px;
}

/* FAQ-LIST */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-list dt {
  font-weight: bold;
  color: #144756;
  margin-bottom: 2px;
  font-size: 1.11rem;
}
.faq-list dd {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #254c5c;
  margin-bottom: 8px;
  font-size: 1rem;
}

/* PROCESS STEPPER in SERVICES */
.process-stepper {
  padding: 0 0 12px 0;
}
.process-stepper ol {
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: decimal inside;
}
.process-stepper li {
  font-size: 1.07rem;
  color: #144756;
}

/* TEXT-SECTION GENERIC */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  display: none;
  background: #FCCB45;
  color: #144756;
  font-size: 2rem;
  border: none;
  border-radius: 7px;
  padding: 8px 20px;
  cursor: pointer;
  position: relative;
  z-index: 60;
  margin-left: 16px;
  transition: background 0.17s, color 0.12s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #144756;
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 4px 24px #14475618;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(0.8,0.2,0.2,1);
  z-index: 1010;
  padding: 32px 28px 0 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #144756;
  margin-bottom: 24px;
  align-self: flex-end;
  cursor: pointer;
  padding: 6px 16px;
  border-radius: 7px;
  transition: background 0.13s, color 0.09s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FCCB45;
  color: #fff;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.19rem;
  color: #144756;
  padding: 12px 0;
  text-decoration: none;
  border-bottom: 1px solid #eceee8;
  transition: color 0.13s, background 0.13s;
  border-radius: 0;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FCCB45;
  color: #144756;
}

@media (max-width: 992px) {
  .container {
    max-width: 95vw;
  }
  header nav ul {
    gap: 18px;
  }
  .features .feature-grid {
    gap: 18px;
  }
  .services-list {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 7vw;
  }
  header nav ul {
    display: none;
  }
  header nav .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .content-wrapper, .footer .container {
    gap: 18px;
  }
  .section, .hero {
    padding: 32px 7vw;
  }
  .features .feature-grid, .services-list {
    flex-direction: column;
    gap: 20px;
  }
  .feature-item, .service-card {
    min-width: unset;
    max-width: unset;
    width: 100%;
  }
  .testimonial-card, .case-study {
    max-width: 98vw;
    padding: 20px 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  footer .footer-info {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 2vw;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  .section, .hero {
    padding: 22px 2vw;
  }
}

/* ================== COOKIE CONSENT BANNER ================== */
.cookie-banner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -4px 40px #14475628;
  border-top: 2px solid #e8eceb;
  z-index: 1140;
  padding: 24px 24px 20px 24px;
  gap: 14px;
  transition: transform 0.28s cubic-bezier(.82,0,.22,1);
  transform: translateY(0);
  font-size: 1.02rem;
}
.cookie-banner.closed {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner p {
  color: #204357;
  font-size: 1.1rem;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  margin-top: 8px;
}
.cookie-btn {
  background: #fccb45;
  color: #144756;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  border: none;
  border-radius: 7px;
  padding: 10px 26px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(252,203,69,0.08);
  margin-right: 6px;
  transition: background 0.13s, color 0.13s;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #144756;
  color: #fff;
}
.cookie-btn.reject {
  background: #F4F8F6;
  color: #144756;
  border: 1px solid #e8eceb;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fccb45;
  color: #144756;
}
.cookie-btn.settings {
  background: transparent;
  color: #144756;
  border: 1px solid #FCCB45;
  box-shadow: none;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FCCB45;
  color: #144756;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,70,86,0.50);
  z-index: 1155;
  justify-content: center;
  align-items: center;
  animation: fadeInModalBg 0.22s;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeInModalBg {
  from { background: rgba(36,70,86,0); }
  to { background: rgba(36,70,86,0.50); }
}
.cookie-modal-content {
  background: #fff;
  padding: 38px 30px 26px 30px;
  border-radius: 18px;
  min-width: 310px;
  max-width: 95vw;
  box-shadow: 0 4px 34px #174b5f33;
  transition: box-shadow 0.13s;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: slideInCookieModal 0.22s cubic-bezier(.7,0,.32,1);
}
@keyframes slideInCookieModal {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.32rem;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
}
.cookie-category label {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: bold;
}
.cookie-category input[type=checkbox], .cookie-category input[type=radio] {
  accent-color: #FCCB45;
  width: 20px;
  height: 20px;
}
.cookie-category input[type=checkbox][disabled] {
  opacity: 0.48;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 6px; right: 14px;
  background: none;
  font-size: 2rem;
  color: #144756;
  border: none;
  cursor: pointer;
  z-index: 2002;
  transition: background 0.13s;
  border-radius: 7px;
  padding: 3px 18px 3px 8px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F4F8F6;
}

@media (max-width: 600px) {
  .cookie-modal-content {
    padding: 20px 7vw 18px 7vw;
    min-width: 0;
    font-size: 0.97rem;
  }
}

/* ========== ANIMATIONS, EFFECTS, MICRO-INTERACTIONS ========== */
.card, .service-card, .testimonial-card, .case-study {
  transition: box-shadow 0.18s, border-color 0.13s, transform 0.13s;
}
.card:hover, .service-card:hover, .testimonial-card:hover, .case-study:hover {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 10px 38px rgba(20,71,86,0.14);
}
.cta-primary, .cta-secondary, .cookie-btn {
  transition: background 0.17s, color 0.12s, box-shadow 0.13s, transform 0.11s;
}
.cta-primary:active, .cta-secondary:active, .cookie-btn:active {
  transform: scale(0.97);
}
.mobile-menu {
  /* handled by transform */
}
.mobile-menu.open {
  box-shadow: 0 2px 40px #1447563a;
}

/* FOCUS STYLES */
a:focus-visible, .cta-primary:focus-visible, .cta-secondary:focus-visible, button:focus-visible, .mobile-menu-close:focus-visible, .cookie-btn:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid #FCCB45;
  outline-offset: 2px;
  border-radius: 8px;
}

/* Hide scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* UTILITY CLASSES */
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.mt-32 { margin-top: 32px; }

/* Hide elements visually only but keep for a11y */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
