/* 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, main, 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;
}
/* HTML5 display-role reset */
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #f9f9f9;
  color: #19191a;
  min-height: 100vh;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #19191a;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #19191a;
  outline-offset: 2px;
}
strong { font-weight: 600; }


/* MONOCHROME, SOPHISTICATED BRAND PALETTE */
:root {
  --brand-primary: #19191a; /* Soft black */
  --brand-bg: #f9f9f9;    /* Paper white */
  --brand-gray-1: #55565B;
  --brand-gray-2: #cacaca;
  --brand-accent: #F3B53A; /* Brand Accent */
  --brand-dark-accent: #C99824;
  --brand-focus: #274D7F;  /* From brand, but minimize except for focus outlines */
}


/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: var(--brand-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.8rem; line-height: 1.15; margin-bottom: 16px; }
h2 { font-size: 2rem; line-height: 1.19; margin-bottom: 12px; }
h3 { font-size: 1.25rem; line-height: 1.25; margin-bottom: 8px; }
h4 { font-size: 1.05rem; margin-bottom: 6px; }
p, ul, ol, li { font-size: 1rem; line-height: 1.72; color: var(--brand-gray-1); }
p.subheadline { font-size: 1.21rem; color: var(--brand-primary); margin-bottom: 28px; }
ul, ol { margin-left: 22px; margin-bottom: 18px; }
li { margin-bottom: 6px; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.31rem; }
  h3 { font-size: 1.10rem; }
  p, ul, ol, li { font-size: 0.97rem; }
}


/* LAYOUT CONTAINERS / SPACING / FLEXBOX */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-bg);
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .section {
    padding: 22px 6px;
    margin-bottom: 34px;
  }
  .container {
    padding: 0 5px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .text-section {
    gap: 12px;
  }
}

/* FLEX CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 16px 0 rgba(25,25,26,0.065);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
}
.card-content {
  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;
    align-items: flex-start;
    gap: 18px;
  }
}


/* FEATURE LISTS, TEAM, ETC. */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.feature {
  flex: 1 1 240px;
  min-width: 230px;
  max-width: 320px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(25,25,26,0.07);
  padding: 26px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  transition: box-shadow 0.16s, transform 0.18s;
  margin-bottom: 20px;
}
.feature img {
  width: 33px;
  height: 33px;
  filter: grayscale(100%);
  opacity: 0.88;
  margin-bottom: 7px;
}
.feature h3 {
  margin-bottom: 0;
  font-size: 1.15rem;
  color: var(--brand-primary);
  font-weight: 700;
  letter-spacing: -0.008em;
}
.feature p {
  font-size: 1rem;
  color: var(--brand-gray-1);
}
.feature:hover,
.feature:focus-within {
  box-shadow: 0 4px 24px 0 rgba(25,25,26,0.21);
  transform: translateY(-4px) scale(1.029);
  z-index: 2;
}
@media (max-width: 768px) {
  .features-grid {
    gap: 15px;
    justify-content: center;
  }
  .feature {
    min-width: 160px;
    max-width: 100%;
    padding: 17px 10px 14px 10px;
  }
}


/* CARDS & EMPHASIZED CONTAINERS */
.card, .testimonial-card, .faq-item, .blog-teaser,
.bio, .certifications, .team-bio-list > .bio {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(25,25,26,0.05);
  margin-bottom: 20px;
  padding: 28px 27px 24px 23px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.14s;
}
.card:hover, .testimonial-card:hover, .faq-item:hover, .blog-teaser:hover,
.bio:hover {
  box-shadow: 0 6px 32px 0 rgba(35,35,35,0.14);
  transform: translateY(-2px) scale(1.012);
  z-index: 1;
}
@media (max-width: 768px) {
  .card, .testimonial-card, .faq-item, .bio, .blog-teaser {
    padding: 19px 10px 13px 10px;
    border-radius: 11px;
  }
}


/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fafbfc;
  border: 1.5px solid #e6e8ec;
  color: #1b1b1c;
  box-shadow: 0 2px 10px 0 rgba(31,31,37,0.09);
  border-radius: 14px;
  font-size: 1.06rem;
  transition: box-shadow 0.18s, border 0.14s;
}
.testimonial-card p {
  font-size: 1rem;
  color: #222;
  margin-bottom: 0;
}
.testimonial-card strong {
  font-size: .97rem;
  font-style: italic;
  color: #7b7b83;
  margin-left: 16px;
}
@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 8px;
  }
}

/* FAQS */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item h2 {
  font-size: 1.10rem;
  margin-bottom: 7px;
  color: var(--brand-primary);
}
.faq-item p { color: var(--brand-gray-1); }

/* BLOG TEASERS */
.blog-teaser-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
}
.blog-teaser {
  flex: 1 0 250px;
  min-width: 220px;
  max-width: 335px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.blog-teaser h2 { font-size: 1.18rem; margin-bottom: 7px; }
@media (max-width: 768px) {
  .blog-teaser-list {
    gap: 11px;
  }
}


/* TEAM BIOS / CERTIFICATIONS */
.team-bio-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.bio {
  flex: 1 1 250px;
  min-width: 190px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bio h3 { font-size: 1.09rem; color: var(--brand-primary); }
.bio p { font-size: 0.97rem; color: var(--brand-gray-1); }
.certifications ul { margin-left: 22px; }

@media (max-width: 768px) {
  .team-bio-list {
    flex-direction: column;
    gap: 9px;
  }
}


/* CTA BUTTONS */
.cta-primary {
  background: var(--brand-primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 12px 36px;
  border-radius: 24px;
  box-shadow: 0 1px 5px 0 rgba(25,25,26,0.09);
  text-align: center;
  border: none;
  transition: background 0.18s, color 0.16s, transform 0.15s, box-shadow 0.14s;
  cursor: pointer;
  display: inline-block;
  margin-top: 8px;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--brand-accent);
  color: #19191a;
  transform: translateY(-1.5px) scale(1.04);
  box-shadow: 0 2px 11px 0 rgba(44,44,66,0.14);
}


/* PRIMARY NAVIGATION */
header {
  background: #fff;
  border-bottom: 1.5px solid #ececef;
  box-shadow: 0px 2px 14px 0px rgba(25,25,26,0.04);
  position: sticky;
  top: 0;
  z-index: 30;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  padding: 0 36px;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
}
header nav a {
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 6px 9px;
  border-radius: 8px;
  transition: color 0.18s, background 0.17s;
  font-weight: 500;
  display: inline-block;
}
header nav a:hover:not(.cta-primary),
header nav a:focus-visible:not(.cta-primary) {
  color: var(--brand-accent);
  background: #f3f3f6;
}
header nav img {
  height: 38px;
  width: auto;
  margin-right: 12px;
  vertical-align: middle;
}
.cta-primary {
  margin-left: auto;
}

/* Hide CTA-primary from nav when not enough space */
@media (max-width: 1023px) {
  header nav {
    gap: 17px;
    padding: 0 10px;
  }
  .cta-primary {
    margin-left: 0;
  }
}
@media (max-width: 900px) {
  header nav a:not(.cta-primary) {
    font-size: 0.95rem;
  }
  header nav img {
    height: 30px;
    margin-right: 5px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
}

/* BURGER MENU */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 19px;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: var(--brand-primary);
  cursor: pointer;
  z-index: 110;
  padding: 5px 12px;
  border-radius: 9px;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #e6e8ec;
  color: var(--brand-accent);
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE NAV & OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(25,25,26, 0.92);
  z-index: 999;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100vw);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.33s cubic-bezier(0.68,0.09,0.38,1.02), opacity 0.2s;
}
.mobile-menu.menu-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  margin: 18px 18px 0 0;
  padding: 4px 12px;
  border-radius: 8px;
  cursor: pointer;
  align-self: flex-end;
  z-index: 1010;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #353537;
  color: var(--brand-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100vw;
  align-items: flex-start;
  padding: 40px 36px 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.11rem;
  letter-spacing: 0.01em;
  font-weight: 500;
  padding: 11px 4px 8px 8px;
  border-radius: 7px;
  min-width: 90%;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-accent);
  color: #28292C;
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Main BG & Site Padding */
main {
  flex: 1;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--brand-bg);
}


/* FOOTER */
footer {
  background: #18181a;
  padding: 40px 0 0 0;
  color: #fff;
  border-top: 3px solid #222328;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  margin-top: 65px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  padding: 0 22px;
  justify-content: center;
  margin-bottom: 7px;
}
footer nav a {
  color: #ececf0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .98rem;
  font-weight: 400;
  padding: 6px 8px;
  border-radius: 6px;
  transition: color 0.14s, background 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: #232327;
  color: var(--brand-accent);
}
.footer-contact {
  color: #ececf0;
  font-size: 0.93rem;
  padding: 0 22px 20px 22px;
  text-align: center;
}
.footer-contact strong { color: var(--brand-accent); }
@media (max-width: 768px) {
  footer {
    padding: 18px 0 0 0;
    margin-top: 36px;
  }
  footer nav {
    flex-direction: column;
    gap: 6px;
  }
  .footer-contact {
    padding: 0 4px 18px 4px;
    font-size: .92rem;
  }
}


/* FORMS/STATES */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 7px 12px;
  border: 1.5px solid #d2d5da;
  border-radius: 6px;
  background: #fff;
  font-size: 1rem;
  transition: border 0.15s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-focus);
  box-shadow: 0 2px 8px 0 rgba(39,77,127,.09);
  outline: none;
}


/* COOKIE CONSENT BANNER */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: #232327;
  color: #fff;
  box-shadow: 0 -5px 18px 0 rgba(25,25,26,0.17);
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 34px;
  gap: 24px;
  font-size: 1rem;
  animation: cookie-slidein 0.44s cubic-bezier(.7,.19,.31,.95);
}
@keyframes cookie-slidein {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

#cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  flex-wrap: wrap;
}
#cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: .99rem;
  background: #fff;
  color: var(--brand-primary);
  border: none;
  border-radius: 18px;
  padding: 9px 24px;
  margin-left: 0px;
  cursor: pointer;
  transition: background 0.14s, color 0.16s, box-shadow 0.13s;
  box-shadow: 0 2px 9px 0 rgba(30,29,40,0.08);
}
#cookie-banner button:hover, #cookie-banner button:focus {
  background: var(--brand-accent);
  color: #232327;
}
#cookie-banner .cookie-settings-btn {
  background: var(--brand-accent);
  color: #232327;
  font-weight: 700;
}
#cookie-banner .cookie-settings-btn:hover, #cookie-banner .cookie-settings-btn:focus {
  background: #ffd564;
}
@media (max-width: 768px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 15px 6px 18px 7px;
    font-size: .97rem;
  }
  #cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 7px;
  }
}

/* COOKIE SETTINGS MODAL */
#cookie-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25,25,26,0.79);
  width: 100vw; height: 100vh;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-bg 0.34s cubic-bezier(.61,.33,.52,.85);
}
#cookie-modal.active {
  display: flex;
}
@keyframes cookie-modal-bg {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 38px 3px rgba(25,25,26,0.16);
  padding: 36px 26px 28px 26px;
  min-width: 320px;
  max-width: 95vw;
  color: #232327;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookie-modal-content-anim 0.35s cubic-bezier(.62,.36,.53,.74);
}
@keyframes cookie-modal-content-anim {
  from { transform: scale(.98) translateY(70px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.3rem;
  letter-spacing: 0.005em;
  margin-bottom: 13px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 22px;
}
.cookie-cat-row {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-cat-row label {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #232327;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-cat-row input[type="checkbox"] {
  accent-color: var(--brand-accent);
  width: 21px;
  height: 21px;
}
.cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 17px;
  justify-content: flex-end;
}
.cookie-modal-content .close-modal {
  position: absolute;
  top: 22px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.65rem;
  color: #232327;
  cursor: pointer;
}
@media (max-width: 520px) {
  .cookie-modal-content {
    min-width: 0;
    padding: 17px 2vw 12px 2vw;
  }
}


/* TRANSITIONS, HOVER, FOCUS */
a, button, .cta-primary {
  transition: color 0.18s, background 0.17s, box-shadow 0.15s, transform 0.17s;
}

/* ACCESSIBILITY OUTLINES */
:focus-visible {
  outline: 2px solid var(--brand-focus);
  outline-offset: 2px;
}

/* VISUAL HIERARCHY SPACING (Consistency) */
.section:not(:last-child) { margin-bottom: 60px; }
.card:not(:last-child), .testimonial-card:not(:last-child), .feature:not(:last-child),
.faq-item:not(:last-child), .bio:not(:last-child), .blog-teaser:not(:last-child) {
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .section:not(:last-child) { margin-bottom: 34px; }
}

/* Custom rules for extra breathing room */
main > section {
  margin-bottom: 52px;
}

/* Forms - simple, monochrome */
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
label { font-weight: 600; font-size: 0.99rem; }

/* Utility classes for alignment if needed */
.flex-center        { display: flex; align-items: center; justify-content: center; }
.flex-between       { display: flex; justify-content: space-between; align-items: center; }
.flex-col           { display: flex; flex-direction: column; }
.flex-row           { display: flex; flex-direction: row; }
.align-start        { align-items: flex-start; }
.align-center       { align-items: center; }

/* Hide visually but keep accessible */
.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px; width: 1px;
  margin: -1px; padding: 0; border: 0;
}


/* ANIMATIONS */
@media (prefers-reduced-motion: no-preference) {
  .feature, .card, .testimonial-card, .faq-item, .bio, .blog-teaser {
    transition: box-shadow 0.19s, transform 0.18s, background 0.17s;
  }
  .cta-primary, header nav a, .mobile-nav a {
    transition: color 0.13s, background 0.13s, box-shadow 0.13s, transform 0.14s;
  }
}


/* PRINT PANELS, IF ANY */
@media print {
  header, footer, #cookie-banner, #cookie-modal {
    display: none !important;
  }
  body {
    background: #fff !important;
  }
}
