/* ===== 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;
  box-sizing: border-box;
  background: none;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  background: #FAFAF7;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #1B1F2B;
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #216869;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E2AF4A;
}
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}
:focus-visible {
  outline: 2px solid #216869;
  outline-offset: 2px;
}

/* ===== ROOT VARIABLES ===== */
:root {
  --brand-primary: #1B1F2B;
  --brand-secondary: #216869;
  --brand-accent: #E2AF4A;
  --neutral-light: #FAFAF7;
  --neutral-mid: #EDEDE6;
  --neutral-grey: #E2E5E7;
  --text-dark: #1B1F2B;
  --text-secondary: #216869;
  --card-bg: #FFF;
  --shadow: 0 2px 8px rgba(32,32,36,0.07);
  --radius: 12px;
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
}

/* ===== TYPOGRAPHY (SCANDINAVIAN CLEAN) ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #1B1F2B;
  line-height: 1.2;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 12px;
}
p, li, blockquote {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #1B1F2B;
  margin-bottom: 14px;
}
blockquote {
  border-left: 4px solid var(--brand-accent);
  padding-left: 16px;
  font-style: italic;
  background: var(--neutral-mid);
  margin-bottom: 0;
}
strong {
  font-weight: 600;
  color: var(--brand-secondary);
}

/* Font smoothing for all text */
body, h1, h2, h3, h4, h5, h6, .cta-btn {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== LAYOUT UTILITIES & CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
}
.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: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}

/* ===== SITEWIDE SPACING ===== */
main > section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper > *:not(:last-child) {
  margin-bottom: 12px;
}

.card-container > *,
.content-grid > *,
.testimonial-cards > *,
.feature-items > * {
  margin-bottom: 0 !important;
}

.text-section > *:not(:last-child) {
  margin-bottom: 20px;
}

/* ===== HEADER, NAVIGATION, MENU ===== */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(27, 31, 43, 0.06);
  position: relative;
  z-index: 30;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px 0;
}
.main-nav > a img {
  height: 38px;
  width: auto;
  display: block;
}
.main-nav ul {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  margin: 0;
}
.main-nav li {
  list-style: none;
}
.main-nav li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--brand-primary);
  padding: 8px 0 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}
.main-nav li a:hover, .main-nav li a.active {
  color: var(--brand-secondary);
  border-bottom: 2px solid var(--brand-accent);
}
.cta-btn {
  display: inline-block;
  background: var(--brand-secondary);
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 28px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 24px;
  box-shadow: 0 2px 4px rgba(27, 31, 43, 0.09);
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--brand-accent);
  color: var(--brand-primary) !important;
  box-shadow: 0 4px 14px 0 rgba(226, 175, 74, 0.12);
}

/* Hamburger */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-secondary);
  color: #fff;
  font-size: 2rem;
  border-radius: 8px;
  padding: 7px 14px;
  margin-left: 12px;
  cursor: pointer;
  z-index: 52;
  transition: background var(--transition), color var(--transition);
  border: none;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--brand-accent);
  color: var(--brand-primary);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 101;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.57,0,.37,1.01);
  box-shadow: 0 6px 24px rgba(27, 31, 43, 0.15);
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.4rem;
  color: var(--brand-secondary);
  position: absolute;
  top: 22px;
  right: 26px;
  cursor: pointer;
  z-index: 110;
  transition: color var(--transition);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--brand-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 80px 30px 40px 30px;
  width: 100%;
  margin: 0;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 12px 0;
  border-bottom: 1px solid var(--neutral-grey);
  display: block;
  width: 100%;
  transition: color var(--transition), background var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-secondary);
  background: var(--neutral-mid);
}

/* Hide nav for mobile and show hamburger */
@media (max-width: 1000px) {
  .main-nav ul {
    display: none;
  }
  .main-nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 550px) {
  .mobile-nav {
    padding: 74px 14px 24px 14px;
  }
}

.mobile-menu {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* ===== HERO & SECTION SHAPES ===== */
.hero {
  background: linear-gradient(120deg, #F6F7F5 80%, #EDEDE6 100%);
  padding: 80px 0 48px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}

/* ===== VALUES FEATURES ===== */
.values-features ul, .services-overview ul, .trust ul, .about-values ul,
.services-list ul, .service-process ol, .service-process ul, .news-latest ul, .events-list ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}
.values-features ul li,
.services-overview ul li,
.trust ul li,
.about-values ul li,
.service-process ul li,
.events-list ul li {
  padding-left: 0;
  background: none;
  position: relative;
  font-size: 1rem;
  color: var(--text-dark);
}
.values-features ul li::before,
.services-overview ul li::before,
.trust ul li::before,
.about-values ul li::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--brand-accent);
  border-radius: 50%;
  margin-right: 11px;
  vertical-align: middle;
  margin-top: -2px;
}

/* ===== BUTTONS =====*/
button, .btn, .cta-btn {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), border-color var(--transition);
}

/* ===== RECOGNITION BADGES ===== */
.recognition-badges {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
  margin-top: 16px;
}
.recognition-badges img {
  width: 46px;
  height: 46px;
  background: var(--neutral-mid);
  border-radius: 50%;
  box-shadow: var(--shadow);
  padding: 8px;
  transition: box-shadow var(--transition);
}
.recognition-badges img:hover {
  box-shadow: 0 4px 14px 0 rgba(33,104,105,0.13);
}

/* ===== TESTIMONIALS ===== */
.testimonials, .testimonial-cards {
  width: 100%;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.testimonial-card blockquote {
  margin-bottom: 0;
  border-left: 4px solid var(--brand-accent);
  padding-left: 14px;
  color: var(--brand-primary);
  font-style: italic;
  font-size: 1.02rem;
}
.testimonial-card p {
  font-size: 1rem;
  color: var(--brand-secondary);
  margin-bottom: 0;
}

/* ===== CARDS ===== */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 28px 24px;
}

/* ===== FOOTER ===== */
footer {
  background: #fff;
  border-top: 1px solid var(--neutral-grey);
  padding: 38px 0 28px 0;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.97rem;
  margin-bottom: 8px;
}
.footer-nav a {
  color: var(--brand-secondary);
  text-decoration: none;
  opacity: 0.92;
}
.footer-nav a:hover {
  color: var(--brand-accent);
  opacity: 1;
}
.footer-contact p {
  font-size: 0.97rem;
  color: #737579;
  margin-bottom: 0;
}
footer img {
  width: 54px;
  height: auto;
}

/* ===== SECTION & CARD SPACING RULES ===== */
main > section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1080px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .footer .content-wrapper {
    gap: 16px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .hero, main > section, .section {
    padding: 30px 10px;
    margin-bottom: 36px;
  }
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  .recognition-badges img {
    width: 36px;
    height: 36px;
  }
  .card {
    padding: 16px 12px;
  }
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 1.02rem;
    margin-bottom: 8px;
  }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 6px;
  }
}

/* ===== MICRO-INTERACTIONS ===== */
.card,
.testimonial-card {
  transition: box-shadow var(--transition);
}
.card:hover,
.testimonial-card:hover {
  box-shadow: 0 8px 20px 0 rgba(33,104,105,0.09), var(--shadow);
}

/* ===== CASE, ABOUT, NEWS, ETC. ===== */
.case-studies, .about-values, .about-team, .about-story, .cookie-policy, .gdpr-policy, .terms-of-use, .privacy-policy, .news-latest, .industry-trends, .events-list {
  background: #FAFAF7;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== CONTACT, CTA, THANK YOU ===== */
.contact-info, .contact-cta, .cta-section, .cta-final, .thank-you {
  background: #FAFAF7;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-cta .cta-btn, .cta-section .cta-btn, .cta-final .cta-btn, .thank-you .cta-btn {
  margin-top: 16px;
}

/* ===== COOKIE CONSENT BANNER & MODAL ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 3005;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-top: 1.5px solid var(--neutral-grey);
  box-shadow: 0 -2px 18px 0 rgba(33,104,105,0.07);
  padding: 18px 22px;
  gap: 18px;
  animation: cookiebanner-fade-in 0.4s cubic-bezier(.54,.12,.23,.85);
}
.cookie-banner p {
  font-size: 0.98rem;
  color: #444;
  margin: 0 16px 0 0;
  flex: 1 1 220px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  flex: none;
}
.cookie-banner .cookie-btn {
  background: var(--brand-secondary);
  color: #fff;
  border-radius: 22px;
  padding: 8px 20px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-banner .cookie-btn.cookie-reject {
  background: #E2E5E7;
  color: var(--brand-primary);
}
.cookie-banner .cookie-btn.cookie-settings {
  background: transparent;
  color: var(--brand-secondary);
  border: 1.2px solid var(--brand-secondary);
}
.cookie-banner .cookie-btn:focus,
.cookie-banner .cookie-btn:hover {
  background: var(--brand-accent);
  color: #1B1F2B;
  border-color: var(--brand-accent);
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 8px;
    gap: 10px;
  }
  .cookie-banner .cookie-actions {
    gap: 10px;
  }
}
@keyframes cookiebanner-fade-in {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 31, 43, 0.30);
  animation: cookiebackdrop-fade-in 0.28s;
}
@keyframes cookiebackdrop-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal .cookie-modal-inner {
  background: #fff;
  border-radius: var(--radius);
  width: 90vw;
  max-width: 430px;
  padding: 34px 22px 20px 22px;
  box-shadow: 0 24px 34px 0 rgba(33,104,105,0.10);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookiemodal-slide-in 0.22s cubic-bezier(.76,0,.17,1);
  position: relative;
}
@keyframes cookiemodal-slide-in {
  from { transform: translateY(60px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 20px;
  font-size: 1.6rem;
  color: var(--brand-secondary);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 4010;
}
.cookie-modal-inner h2 {
  margin-bottom: 4px;
  font-size: 1.15rem;
}
.cookie-modal-inner .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 6px;
}
.cookie-modal-inner .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
}
.cookie-modal-inner .cookie-category input[type='checkbox'] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-secondary);
}
.cookie-modal-inner .cookie-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #222;
  cursor: pointer;
}
.cookie-modal-inner .category-always {
  color: #888;
  font-style: italic;
}
.cookie-modal-inner .cookie-modal-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 12px;
}
.cookie-modal-inner .cookie-btn {
  background: var(--brand-secondary);
  color: #fff;
  border-radius: 22px;
  padding: 8px 18px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-modal-inner .cookie-btn.cookie-cancel {
  background: #E2E5E7;
  color: var(--brand-primary);
}
.cookie-modal-inner .cookie-btn:focus,
.cookie-modal-inner .cookie-btn:hover {
  background: var(--brand-accent);
  color: #1B1F2B;
}

/* ===== MISC ===== */
::-webkit-scrollbar {
  width: 9px;
  background: #E2E5E7;
}
::-webkit-scrollbar-thumb {
  background: #D1D7E0;
  border-radius: 8px;
}

/* Accessibility */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

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