/* ===================
   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;
  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.6;
  background: #fff;
  color: #283E56;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

ul, ol {
  padding-left: 1.25em;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  padding: 0;
}

/* ================
   TYPOGRAPHY
   ================ */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #283E56;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}
p, li, span, label, input, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #283E56;
}
.subheadline {
  font-size: 1.15rem;
  color: #555b6e;
  margin-bottom: 28px;
  max-width: 38em;
}
.short-bio {
  font-size: 1.07rem;
  color: #444a58;
  margin-bottom: 18px;
}
.price {
  color: #FF9833;
  font-weight: 600;
  font-size: 1.07rem;
  margin-top: 8px;
  letter-spacing: 1.5px;
}
blockquote {
  border-left: 4px solid #FF9833;
  background: #F6F7F9;
  color: #222;
  font-size: 1.07rem;
  padding: 18px 26px;
  margin-bottom: 30px;
  border-radius: 8px;
  font-style: italic;
}

/* ================
   SPACING SYSTEM
   ================ */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(40,62,86,0.04); /* subtle shadow */
}
@media (max-width: 900px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 38px;
  }
  .container {
    padding: 0 8px;
  }
}

/* ================
   HEADER & NAVIGATION
   ================ */
header {
  position: relative;
  width: 100%;
  background: #fff;
  box-shadow: 0 3px 24px -8px rgba(40, 62, 86, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  z-index: 1001;
  min-height: 72px;
}
header > a img {
  height: 42px;
}
nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 2px 0;
  color: #283E56;
  position: relative;
  transition: color 0.18s;
}
nav a:hover,
nav a:focus {
  color: #FF9833;
}
.cta-btn {
  background: #FF9833;
  color: #fff !important;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 28px;
  margin-left: 36px;
  box-shadow: 0 2px 12px 0 rgba(255,152,51,0.06);
  transition: background 0.17s, box-shadow 0.2s, color 0.2s;
  border: none;
  display: inline-block;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #e67600;
  color: #fff !important;
  box-shadow: 0 4px 18px 0 rgba(255,152,51,0.13);
}
header .mobile-menu-toggle {
  display: none;
}
@media (max-width: 900px) {
  nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  header .mobile-menu-toggle {
    display: block;
    background: #fff;
    color: #283E56;
    border-radius: 6px;
    border: 1px solid #e6e9ef;
    font-size: 2rem;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    line-height: 1;
    position: relative;
    z-index: 1101;
    transition: background 0.16s;
  }
  header .mobile-menu-toggle:focus, header .mobile-menu-toggle:hover {
    background: #F6F7F9;
  }
}

/* ================
   MOBILE MENU
   ================ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 360px;
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 24px 0 rgba(40, 62, 86, 0.09);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(110%);
  transition: transform 0.35s cubic-bezier(0.77,0,0.18,1);
  will-change: transform;
  padding: 32px 30px 24px 30px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 6px;
  width: 36px;
  height: 36px;
  font-size: 1.7rem;
  color: #283E56;
  margin-bottom: 16px;
  transition: background 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F6F7F9;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 24px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.09rem;
  color: #283E56;
  padding: 8px 0;
  border-radius: 4px;
  transition: background 0.13s;
  width: 100%;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #F6F7F9;
  color: #FF9833;
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}
/* block scrolling on open */
body.mobile-menu-open {
  overflow: hidden;
}
/* ================
   MAIN LAYOUT PATTERNS
   ================ */
/* Cards & Flex Grids */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(40,62,86,0.06);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  flex: 1 1 280px;
  transition: box-shadow 0.16s;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(40,62,86,0.09);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F6F7F9;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(40,62,86,0.04);
  max-width: 520px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px 0 rgba(40,62,86,0.08);
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.97rem;
  color: #222;
}
.testimonial-meta img {
  width: 18px;
  height: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Brand (Home Page) feature-grid */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  width: 100%;
  margin: 28px 0 8px 0;
}
.feature-grid > div {
  background: #F6F7F9;
  box-shadow: 0 2px 10px 0 rgba(40,62,86,0.03);
  border-radius: 14px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 230px;
  min-width: 186px;
  max-width: 350px;
  transition: box-shadow 0.17s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 26px 0 rgba(40,62,86,0.09);
}
.feature-grid img {
  width: 38px;
  margin-bottom: 12px;
}
.brand-pillars {
  margin-bottom: 6px;
}
.brand-pillars li {
  margin-bottom: 8px;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 18px;
}
.service-list li {
  padding: 18px 12px 18px 0;
  border-bottom: 1px solid #F6F7F9;
  list-style-type: none;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 1.07rem;
  position: relative;
}
.service-list li:last-child {
  border-bottom: 0;
}
.service-list img {
  width: 34px;
  min-width: 34px;
  margin-right: 8px;
}
.benefits-list {
  margin-bottom: 16px;
}
.benefits-list li {
  margin-bottom: 7px;
}
.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 18px 0 12px 0;
}
.team-bios > div {
  background: #F6F7F9;
  border-radius: 13px;
  padding: 18px 18px 12px 18px;
  min-width: 200px;
  flex: 1 1 240px;
  box-shadow: 0 2px 12px 0 rgba(40,62,86,0.03);
}
.results-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
  margin-top: 16px;
}
.results-grid > div {
  background: #F6F7F9;
  border-radius: 13px;
  padding: 24px 18px 14px 18px;
  min-width: 200px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.results-grid img {
  width: 34px;
  margin-bottom: 14px;
}
.map-placeholder {
  background: #F6F7F9;
  border-radius: 10px;
  color: #283E56;
  font-size: 0.99rem;
  padding: 24px 14px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 1px 4px 0 rgba(40,62,86,0.022);
}

@media (max-width: 1080px) {
  .container { max-width: 100%; }
  .results-grid, .feature-grid, .team-bios, .card-container, .content-grid {
    gap: 15px;
  }
}
@media (max-width: 880px) {
  .feature-grid, .results-grid, .team-bios, .card-container, .content-grid {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .feature-grid > div, .results-grid > div, .team-bios > div {
    max-width: 100%;
  }
}


/* ================
   CTA BANNER / BUTTONS
   ================ */
section > .container > .content-wrapper > .cta-btn,
section > .container > .content-wrapper > a.cta-btn {
  margin-top: 10px;
  align-self: flex-start;
}

/* ================
   FOOTER
   ================ */
footer {
  background: #F6F7F9;
  border-top: 1px solid #eceff1;
  padding: 38px 16px 18px 16px;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  font-size: 0.99rem;
}
.footer-menu {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  align-items: center;
}
.footer-menu a {
  color: #283E56;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  transition: color 0.18s;
  opacity: 0.7;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #FF9833;
  opacity: 1;
}
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 6px;
}
.social-links img {
  width: 30px;
  opacity: 0.8;
  transition: opacity 0.15s;
}
.social-links img:hover {
  opacity: 1;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.99rem;
  color: #283E56;
}
.contact-info img {
  width: 17px;
  opacity: 0.85;
}
@media (max-width: 700px) {
  .footer-menu { gap: 16px; font-size: 0.97rem; }
  .social-links { gap: 10px; }
}

/* ================
   MICRO-INTERACTIONS & HOVERS
   ================ */
a:not(.cta-btn):hover, a:not(.cta-btn):focus {
  color: #FF9833;
  text-decoration: underline;
}
button:hover, button:focus {
  outline: none;
}
::selection {
  background: #FF9833;
  color: #fff;
}

/* ================
   TESTIMONIAL SLIDER + STYLING
   ================ */
.testimonial-slider {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 8px;
}
.testimonial-slider .testimonial-card {
  min-width: 240px;
  flex: 1 1 260px;
  max-width: 440px;
}
@media (max-width: 700px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-slider .testimonial-card {
    max-width: 100%;
  }
}

/* ================
   RESPONSIVE TYPOGRAPHY
   ================ */
@media (max-width: 580px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.11rem; }
  .subheadline { font-size: 1rem; }
}

/* ================
   COOKIE CONSENT BANNER
   ================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 1px solid #e6e9ef;
  box-shadow: 0 -4px 20px 0 rgba(40,62,86,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 16px 16px;
  z-index: 4000;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.34s cubic-bezier(0.77,0,0.18,1), opacity 0.2s;
  font-size: 1rem;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner strong {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #283E56;
  font-weight: 700;
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #FF9833;
  color: #fff;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 20px;
  border: none;
  transition: background 0.18s, color 0.2s;
  cursor: pointer;
  margin: 0 2px;
}
.cookie-btn.secondary {
  background: #F6F7F9;
  color: #283E56;
  border: 1px solid #eceff1;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #e67600;
  color: #fff;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #eceff1;
  color: #FF9833;
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 4400;
  top:0; left:0; right:0; bottom:0;
  background: rgba(40,62,86,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.17s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 8px 56px rgba(40,62,86,0.13);
  width: 92vw;
  max-width: 420px;
  padding: 32px 20px 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookieModalIn 0.28s cubic-bezier(0.73,0.2,0.37,1);
  font-size: 1rem;
  z-index: 4600;
}
@keyframes cookieModalIn {
  from { transform: scale(0.93) translateY(24px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  margin: 0 0 12px 0;
  font-size: 1.4rem;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 1.07rem;
}
.cookie-category-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}
.toggle-switch {
  width: 36px;
  height: 20px;
  border-radius: 20px;
  background: #eceff1;
  position: relative;
  transition: background 0.18s;
  margin-left: 6px;
}
.toggle-switch.enabled {
  background: #FF9833;
}
.toggle-knob {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 1px;
  top: 1px;
  box-shadow: 0 1px 5px 0 rgba(40,62,86,0.04);
  transition: left 0.2s;
}
.toggle-switch.enabled .toggle-knob {
  left: 17px;
}
.cookie-modal-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .close {
  position: absolute;
  right: 14px;
  top: 16px;
  background: #F6F7F9;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #283E56;
  font-size: 1.33rem;
  border: 1px solid #eceff1;
  cursor: pointer;
  z-index: 4610;
}
.cookie-modal .close:hover {
  background: #eceff1;
  color: #FF9833;
  border-color: #FF9833;
}
/* No scroll while modal active */
body.cookie-modal-open {
  overflow: hidden;
}

/* ================
   UTILS & HELPER CLASSES
   ================ */
.text-center { text-align: center; }
.align-center { align-items: center; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.w-100 { width: 100%; }

/* ================
   PRINT (minimal)
   ================ */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-backdrop { display: none !important; }
  body { background: #fff; color: #000; }
  .section { box-shadow: none; background: #fff; }
}

/* ================
   FORCED FLEX LAYOUTS - ENFORCE FLEXBOX ONLY
   ================ */
/* Reinforce flex-only layout on all key containers */
.page-layout, .main, .container, .content-grid, .card-container, .feature-grid, .results-grid, .team-bios, .testimonial-slider, .footer-menu, .social-links, .contact-info, .brand-pillars, .service-list {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 20px;
}
@media (min-width: 600px) {
  .testimonial-slider, .feature-grid, .results-grid, .team-bios, .content-grid, .card-container {
    flex-direction: row;
    gap: 24px;
    align-items: stretch;
  }
}

/* MINIMUM CARD MARGIN */
.card, .testimonial-card, .feature-grid > div, .results-grid > div, .team-bios > div {
  margin-bottom: 20px !important;
}
.section + .section {
  margin-top: 20px;
}

/* ================
   ACCESSIBILITY
   ================ */
:focus {
  outline: 2px solid #FF9833;
  outline-offset: 2px;
}

/* Hide visually but still accessible to screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ================
   END OF STYLE.CSS
   ================ */
