/* --- 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FAFAF7;
}

*, *:before, *:after {
  box-sizing: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
:focus {
  outline: 2px solid #F3B34A;
  outline-offset: 2px;
}

/* --- Typography --- */
body {
  font-family: "Open Sans", Georgia, Times, serif;
  color: #263040;
  background: #FAFAF7;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", Georgia, Times, serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: #19304D;
}
h1 { font-size: 2.5rem; margin-bottom: 28px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 16px; }
h4, h5, h6 { font-size: 1.1rem; }

p, ul, ol {
  margin-bottom: 16px;
  color: #364157;
}
ul, ol {
  padding-left: 1.22em;
}
ul li, ol li {
  margin-bottom: 12px;
}
a {
  color: #286BA6;
  text-decoration: underline;
  transition: color 0.18s;
}
a:hover,
a:focus {
  color: #F3B34A;
  text-decoration: none;
}
strong, b {
  font-weight: 700;
  color: #19304D;
}

/* --- Layout Containers --- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.section,
.hero,
.features,
.services,
.industries,
.testimonials,
.cta,
.about,
.team,
.trust,
.process,
.benefits,
.resources,
.blog,
.newsletter,
.case-studies,
.clients,
.contact,
.confirmation,
.privacy-policy,
.gdpr,
.cookie-policy,
.terms-of-use {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  .section,
  .hero,
  .features,
  .services,
  .industries,
  .testimonials,
  .cta,
  .about,
  .team,
  .trust,
  .process,
  .benefits,
  .resources,
  .blog,
  .newsletter,
  .case-studies,
  .clients,
  .contact,
  .confirmation,
  .privacy-policy,
  .gdpr,
  .cookie-policy,
  .terms-of-use {
    margin-bottom: 40px;
    padding: 26px 8px;
  }
}

/* --- Cards, Grids, Flex Containers --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(25, 48, 77, 0.08);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 28px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(25, 48, 77, 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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(25, 48, 77, 0.09);
  border-left: 4px solid #F3B34A;
  color: #19304D;
  min-width: 0;
  transition: box-shadow 0.17s, border-color 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px rgba(25, 48, 77, 0.15);
  border-color: #286BA6;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(25, 48, 77, 0.06);
  padding: 28px 22px;
  margin-bottom: 18px;
}

/* Hero Section */
.hero {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(25, 48, 77, 0.085);
  padding: 54px 20px 64px 20px;
  margin-top: 36px;
  text-align: center;
}
.hero h1 {
  margin-bottom: 20px;
  font-size: 2.6rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 28px;
}

/* Feature Section */
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-top: 20px;
}
.features .feature-grid > div {
  flex: 1 1 260px;
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(25, 48, 77, 0.06);
  padding: 28px 20px 26px 20px;
  text-align: center;
  transition: box-shadow 0.18s;
}
.features .feature-grid > div:hover {
  box-shadow: 0 6px 26px rgba(25, 48, 77, 0.13);
}
.features img {
  display: block;
  margin: 0 auto 18px auto;
  width: 46px;
  height: 46px;
}
.features h3 {
  font-size: 1.20rem;
  margin-bottom: 14px;
}

/* --- Button Styles --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", Georgia, Times, serif;
  font-size: 17px;
  padding: 12px 34px;
  border-radius: 22px;
  font-weight: 600;
  border: none;
  background: #fff;
  color: #19304D;
  cursor: pointer;
  box-shadow: 0 1.5px 7px rgba(25, 48, 77, 0.08);
  margin-top: 16px;
  margin-bottom: 16px;
  transition: background 0.17s, color 0.17s, box-shadow 0.15s, border 0.18s;
  text-decoration: none;
}
.btn.primary {
  background: #19304D;
  color: #fff;
  border: 2px solid #19304D;
}
.btn.primary:hover,
.btn.primary:focus {
  background: #286BA6;
  color: #fff;
  border-color: #286BA6;
  box-shadow: 0 4px 22px rgba(40, 107, 166, 0.15);
}
.btn.secondary {
  background: #fff;
  color: #19304D;
  border: 2px solid #19304D;
}
.btn.secondary:hover,
.btn.secondary:focus {
  background: #F3B34A;
  color: #19304D;
  border-color: #F3B34A;
}
/* Utility links in lists */
ul li .btn, ol li .btn {
  margin-top: 8px;
  margin-bottom: 0;
}
@media (max-width: 480px) {
  .btn { padding: 12px 16px; font-size: 15px; }
}

/* --- Navigation --- */
header {
  background: #fff;
  border-bottom: 1px solid #E5E8EE;
  padding: 0;
  box-shadow: 0 2px 15px rgba(25, 48, 77, 0.04);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 0;
  padding-bottom: 0;
  gap: 12px;
}
.logo {
  display: flex;
  align-items: center;
  height: 56px;
}
.logo img {
  max-height: 52px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 38px;
  align-items: center;
}
.main-nav a {
  font-family: "Montserrat", Georgia, Times, serif;
  font-weight: 500;
  font-size: 1rem;
  color: #19304D;
  text-decoration: none;
  position: relative;
  padding: 6px 0 4px 0;
  transition: color 0.14s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #286BA6;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #F3B34A;
  width: 0%;
  transition: width 0.18s;
  margin: 0 auto 0 auto;
}
.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 60%;
}
header .btn {
  margin-top: 0; margin-bottom: 0;
  margin-left: 16px;
}
.mobile-menu-toggle {
  display: none;
}
/* --- Mobile Navigation --- */
@media (max-width: 980px) {
  .main-nav, header .btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #19304D;
    color: #fff;
    border: none;
    font-size: 2.15rem;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    margin-left: 10px;
    cursor: pointer;
    z-index: 200;
    transition: background 0.16s;
  }
  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:focus {
    background: #286BA6;
  }
}
.mobile-menu {
  position: fixed;
  z-index: 500;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #f9f8f5;
  box-shadow: 0 0 60px rgba(25, 48, 77, 0.14);
  padding: 0;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.95,.05,.5,1.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #19304D;
  background: none;
  border: none;
  align-self: flex-end;
  margin: 26px 14px 10px 0;
  padding: 8px 8px 2px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 1000;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F3B34A;
  color: #19304D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 90vw;
  gap: 18px;
  padding: 2.5rem 2.5rem 1rem 2.5rem;
}
.mobile-nav a {
  font-family: 'Montserrat', Georgia, Times, serif;
  font-size: 1.22rem;
  color: #19304D;
  padding: 13px 6px 10px 6px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.13s, color 0.16s;
  font-weight: 600;
  min-width: 150px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F3B34A;
  color: #19304D;
}

@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
    pointer-events: none;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* --- Footer --- */
footer {
  background: #F8F7F5;
  padding: 48px 0 40px 0;
  border-top: 1px solid #E5E8EE;
  font-size: 16px;
  color: #364157;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}
.footer-nav a {
  font-family: "Montserrat", Georgia, Times, serif;
  font-size: 1.01rem;
  color: #19304D;
  text-decoration: none;
  opacity: 0.93;
  transition: color 0.14s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #286BA6;
}
.footer-contact {
  font-size: 1rem;
  color: #364157;
  line-height: 1.65;
  margin-top: 0;
}
.footer-contact a {
  color: #286BA6;
  text-decoration: underline;
}
.logo {
  margin-bottom: 2px;
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px;
  }
  .footer-contact {
    margin-top: 0;
  }
}
@media (max-width: 500px) {
  footer {
    font-size: 15px;
    padding: 36px 4px 18px 4px;
  }
}

/* --- Misc & Utility Styles --- */
.tag {
  display: inline-block;
  background: #EAE7DD;
  color: #19304D;
  font-size: 0.92rem;
  padding: 3px 12px;
  border-radius: 12px;
  margin-top: 5px;
}
.industry-tags,
.client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.industry-tags span, .client-logos span {
  background: #F6F4F0;
  color: #19304D;
  padding: 10px 24px;
  border-radius: 16px;
  border: 1.7px solid #E0E5EC;
  font-size: 1rem;
  font-family: 'Montserrat', Georgia, Times, serif;
  font-weight: 500;
  margin-bottom: 4px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #364157;
}

.blog-teaser {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(25, 48, 77, 0.08);
  padding: 22px 20px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.18s;
}
.blog-teaser:hover {
  box-shadow: 0 4px 22px rgba(25, 48, 77, 0.13);
}

.case {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(25, 48, 77, 0.09);
  padding: 28px 20px 18px 20px;
  margin-bottom: 34px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  min-width: 0;
}
.case h2 {
  font-size: 1.32rem;
  margin-bottom: 10px;
}
.case strong { color: #286BA6; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .features .feature-grid {
    flex-direction: column;
  }
  .features .feature-grid > div {
    min-width: 0;
  }
}
@media (max-width: 700px) {
  .industry-tags, .client-logos {
    gap: 12px;
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .features .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* --- Accord with Brand & Elegant Classic --- */
h1, h2, h3 {
  text-shadow: 0 1px 0 #FCFCFC;
}
.section, .card, .blog-teaser, .case {
  background: #fff;
}
.card, .testimonial-card, .blog-teaser, .case {
  border: 1px solid #ECE9E0;
}

/* --- List Styles --- */
ul li::marker, ol li::marker {
  color: #F3B34A;
}
ul li img, ol li img {
  vertical-align: middle;
  height: 1.1em;
  width: auto;
  margin-right: 6px;
}

/* --- Section Specific --- */
.cta {
  background: #19304D;
  color: #fff;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(25, 48, 77, 0.13);
}
.cta h2 {
  color: #fff;
}
.cta .btn.primary {
  background: #F3B34A;
  color: #19304D;
  border: 2px solid #F3B34A;
}
.cta .btn.primary:hover,
.cta .btn.primary:focus {
  background: #fff;
  color: #19304D;
  border-color: #fff;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -2px 12px rgba(25, 48, 77, 0.14);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 38px;
  z-index: 9999;
  font-size: 1rem;
  color: #19304D;
  border-top: 1.5px solid #F3B34A;
  opacity: 1;
  transition: transform 0.32s cubic-bezier(.85,.02,.38,1.11), opacity 0.22s;
}
.cookie-banner.hide {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 2 1 320px;
  margin-right: 16px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  font-family: "Montserrat", Georgia, Times, serif;
  font-size: 1rem;
  border-radius: 9px;
  padding: 9px 28px;
  border: 2px solid #19304D;
  background: #fff;
  color: #19304D;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, border-color 0.16s;
}
.cookie-banner .accept {
  background: #19304D;
  color: #fff;
  border-color: #19304D;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #286BA6;
  border-color: #286BA6;
}
.cookie-banner .reject {
  background: #fff;
  color: #19304D;
  border-color: #19304D;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #F3B34A;
  color: #19304D;
}
.cookie-banner .settings {
  background: #fff;
  color: #286BA6;
  border-color: #286BA6;
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: #f1f6fc;
  color: #19304D;
}
@media (max-width: 900px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 9px;
  }
  .cookie-banner .cookie-actions {
    gap: 10px;
  }
  .cookie-banner .cookie-text {
    margin-right: 0;
  }
}

/* --- Cookie Modal --- */
.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.97);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 36px rgba(25, 48, 77, 0.27);
  padding: 42px 38px 28px 38px;
  max-width: 360px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.21s, transform 0.25s cubic-bezier(.7,.02,.53,1.06);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h3 {
  margin-bottom: 18px;
  color: #19304D;
  font-size: 1.19rem;
  font-family: "Montserrat", Georgia, Times, serif;
}
.cookie-modal .cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.cookie-modal label {
  font-size: 1rem;
  color: #364157;
  font-weight: 500;
}
.cookie-modal input[type="checkbox"] {
  appearance: none;
  border: 1.5px solid #286BA6;
  border-radius: 6px;
  width: 24px;
  height: 24px;
  background: #f7f7f6;
  cursor: pointer;
  margin-right: 0;
  display: inline-block;
  vertical-align: middle;
  position: relative;
}
.cookie-modal input[type="checkbox"]:checked {
  background: #F3B34A;
  border-color: #F3B34A;
}
.cookie-modal input[type="checkbox"]:checked:after {
  content: '\2713';
  display: block;
  position: absolute;
  left: 4px;
  top: 1px;
  font-size: 14px;
  color: #19304D;
}
.cookie-modal .close-cookie-modal {
  align-self: flex-end;
  margin-top: 22px;
  background: #19304D;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 10px 26px;
  font-family: 'Montserrat', Georgia, Times, serif;
  font-weight: 600;
  font-size: 1.01rem;
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
}
.cookie-modal .close-cookie-modal:hover,
.cookie-modal .close-cookie-modal:focus {
  background: #286BA6;
  color: #fff;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 24px 7px 16px 7px;
    max-width: 98vw;
  }
}

/* --- Micro-Interactions & Animations --- */
.btn, .footer-nav a, .main-nav a, .mobile-nav a {
  transition: background 0.13s, color 0.13s, border 0.14s, box-shadow 0.18s, text-decoration 0.1s;
}
.card, .blog-teaser, .testimonial-card, .case {
  transition: box-shadow 0.17s, border-color 0.15s;
}

/* --- Print --- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .section, .card, .blog-teaser, .case {
    background: #fff;
    box-shadow: none;
    border: none;
  }
}

/* --- Elegant Spacing Helper Utilities (for future) --- */
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }
.gap-32 { gap: 32px !important; }
.mr-20 { margin-right: 20px !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }

/* --- Accessibility --- */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    transition: none !important;
    animation-duration: 0.001ms !important;
  }
}

/* --- END --- */