/* =====================
   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;
}

/* HTML5 display-role reset */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F9F8F3;
  color: #17223B;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  outline: none;
  transition: color 0.12s;
}
a:focus,
a:active {
  outline: 2px solid #28AFA0;
}

/* ============
   BRAND COLORS
   ============ */
:root {
  --color-primary: #17223B;
  --color-secondary: #28AFA0;
  --color-accent: #F9F8F3;
  --color-bg-card: #fff;
  --color-bg-hero: #e6eaea;
  --color-text: #17223B;
  --color-headline: #15213f;
  --color-gray-light: #D8DEE9;
  --color-gray-medium: #7e8ba3;
  --shadow-lg: 0 12px 32px rgba(23,34,59,0.09);
  --shadow-md: 0 6px 18px rgba(23,34,59,0.1);
  --shadow-sm: 0 1.5px 4px rgba(23,34,59,0.07);
  --radius: 14px;
  --radius-btn: 6px;
  --radius-card: 10px;
}

/* ================
   TYPOGRAPHY SCALE
   ================ */
h1 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--color-headline);
  margin-bottom: 18px;
  line-height: 1.2;
}
h2 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-headline);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  line-height: 1.25;
}
h3 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-headline);
}
.section h2,
section h2 {
  margin-bottom: 23px;
}
p {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 18px;
}
strong, b {
  font-weight: 600;
  color: var(--color-primary);
}
.text-section ul li,
.usp-list li,
.advantage-list li,
.criteria-list li,
.service-list li,
.spotlight-list li,
.team-bios li,
.comparison-grid li {
  margin-bottom: 8px;
  font-size: 1rem;
}

/* ===========
   CONTAINERS
   =========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
}
/* All page sections spacing */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.hero {
  background: var(--color-bg-hero);
  border-radius: var(--radius);
  margin-top: 16px;
  box-shadow: var(--shadow-md);
}

/* =====================
   FLEXBOX LAYOUT RULES
   ===================== */
.features,
.services,
.testimonials,
.about,
.contact,
.analysis-features,
.service-highlights,
.advantages,
.spotlights-features,
.consulting-overview,
.services-overview,
.contact-section,
.legal,
.thank-you {
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
}

.feature-grid,
.values-grid,
.comparison-grid,
.spotlight-list,
.advantage-list,
.analysis-methods,
.usp-list,
.criteria-list,
.team-bios,
.steps-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 16px;
}
.feature-grid li,
.values-grid li,
.comparison-grid li,
.advantage-list li,
.analysis-methods li,
.usp-list li,
.criteria-list li,
.team-bios li,
.spotlight-list li,
.steps-list li {
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
  min-width: 180px;
  flex: 1 1 160px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Cards & Card Containers */
.card-container, .testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  align-items: stretch;
}
.card, .testimonial-card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  position: relative;
}

/* Spacing for card grid and feature items */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* ===================
   HEADER & NAVIGATION
   =================== */
header {
  width: 100%;
  background: #fff;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 120;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 18px;
}
.logo img {
  height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-gray-medium);
  padding: 8px 6px;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--color-primary);
}
.btn.btn-primary {
  padding: 10px 28px;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
  background: #21a292;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px) scale(1.025);
}
.btn.btn-secondary {
  padding: 10px 20px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 0.98rem;
  box-shadow: var(--shadow-sm);
  transition: background 0.17s, box-shadow 0.17s, transform 0.13s;
}
.btn.btn-secondary:hover, .btn.btn-secondary:focus {
  background: #20305a;
  box-shadow: var(--shadow-md);
  transform: translateY(-1.5px) scale(1.018);
}

/* Main nav desktop only */
.main-nav,
.btn.btn-primary {
  display: flex;
}

/* ===============
   MOBILE NAV MENU
   =============== */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: var(--color-primary);
  padding: 6px 14px;
  margin-left: 12px;
  border-radius: 6px;
  cursor: pointer;
  align-self: center;
  transition: background 0.14s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-gray-light);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: rgba(23,34,59,0.98);
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.5,.9,.2,1);
  z-index: 999;
  padding: 42px 34px 24px 32px;
  width: 100vw;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 0 0 100vw rgba(25,34,50,0.30);
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  margin-bottom: 30px;
  cursor: pointer;
  border-radius: 6px;
  padding: 0 6px;
  transition: background 0.13s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: rgba(40,175,160,0.12);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 10px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  color: #fff;
  font-weight: 500;
  padding: 14px 4px 14px 4px;
  border-radius: 4px;
  transition: background 0.14s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #28AFA0;
  color: #fff;
}
/* Overlay scroll fix */
body.mobile-menu-open {
  overflow: hidden;
}

/* ================
   HERO SECTIONS
   ================ */
.hero {
  background: var(--color-bg-hero);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 56px 20px 56px 20px;
  min-height: 270px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero .content-wrapper {
  max-width: 650px;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 28px;
}
.hero p {
  font-size: 1.3rem;
  color: var(--color-gray-medium);
  margin-bottom: 30px;
}

/* ===============
   FEATURE GRID
   =============== */
.feature-grid img {
  height: 32px;
  width: 32px;
}
.feature-grid span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.07rem;
}

/* ===============
   SERVICE LISTS
   =============== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 25px;
}
.service-list li {
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 27px 24px 22px 24px;
  flex: 1 1 270px;
  min-width: 225px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-list .price {
  float: right;
  color: var(--color-secondary);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-left: 12px;
}
.service-list h3 {
  margin-bottom: 7px;
}

/* ===============
   USP Lists & Advantages
   =============== */
.usp-list {
  gap: 18px;
}
.advantage-list,
.steps-list {
  gap: 12px;
}

/* ===============
   TEAM BIOS, VALUES GRID
   =============== */
.team-bios {
  margin-bottom: 20px;
}
.values-grid li {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 500;
  color: var(--color-secondary);
}

/* =====================
   TESTIMONIALS & CARDS
   ===================== */
.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.testimonial-card {
  background: #fff;
  color: var(--color-primary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  padding: 25px 30px 22px 30px;
  min-width: 230px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card p {
  font-size: 1.18rem;
  color: var(--color-primary);
  margin-bottom: 0;
}
.testimonial-card strong {
  font-size: 1rem;
  color: var(--color-secondary);
}

/* =====================
   CONTACT & DETAILS
   ===================== */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  padding: 8px 0;
}
.contact-details img {
  width: 23px;
  height: 23px;
  opacity: 0.77;
}
.office-hours h3 {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 6px;
}
.office-hours p {
  font-size: 1rem;
  color: var(--color-text);
}

/* =============
   LEGAL & TEXT
   ============= */
.legal {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.legal .text-section {
  margin-top: 24px;
}
.legal h2 {
  font-size: 1.16rem;
  margin-top: 26px;
  margin-bottom: 8px;
}
.legal ul {
  margin-bottom: 10px;
}
.legal ul li {
  padding-left: 0.8em;
  position: relative;
}
.legal ul li:before {
  content: '•';
  color: var(--color-secondary);
  position: absolute;
  left: 0;
  font-size: 1em;
}
/* Next steps section on thank-you */
.next-steps ul {
  margin-bottom: 12px;
}
.next-steps li {
  margin-bottom: 10px;
  padding-left: 1.2em;
  position: relative;
}
.next-steps li:before {
  content: '\2013';
  color: var(--color-secondary);
  position: absolute;
  left: 0;
}

/* ===================
   FOOTER STYLES
   =================== */
footer {
  background: #17223B;
  color: #fff;
  padding: 36px 0 22px 0;
  width: 100%;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-bottom: 24px;
  justify-content: center;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  opacity: 0.88;
  transition: color 0.14s, opacity 0.17s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
  opacity: 1;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  font-size: 1.09rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.footer-brand img {
  width: 28px;
  height: 28px;
}

/* =====================
   COOKIES CONSENT BANNER
   ===================== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1001;
  width: 100%;
  background: #fff;
  box-shadow: 0 -2px 28px rgba(23,34,59,0.08);
  border-top: 1px solid var(--color-gray-light);
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: transform .28s cubic-bezier(.6,1,.5,1);
}
#cookie-banner.hide {
  transform: translateY(100%);
}
#cookie-banner .banner-text {
  color: var(--color-primary);
  font-size: 1.08rem;
  margin-bottom: 6px;
  max-width: 680px;
  text-align: center;
}
#cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  padding: 9px 18px;
  border-radius: var(--radius-btn);
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s, color 0.15s, box-shadow 0.17s;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #21a292;
}
.cookie-btn.reject {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-gray-light);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--color-gray-light);
  color: var(--color-primary);
}
.cookie-btn.settings {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #20305a;
}

/* Cookie Consent MODAL popup */
#cookie-modal {
  position: fixed;
  z-index: 2000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(23,34,59,0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.23s cubic-bezier(.7,1,.8,1);
}
#cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-inner {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  padding: 42px 32px 32px 32px;
  min-width: 320px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: relative;
  margin: 16px;
}
.cookie-modal-close {
  position: absolute;
  top: 11px;
  right: 13px;
  background: transparent;
  border: none;
  color: var(--color-primary);
  font-size: 1.7rem;
  opacity: .8;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.12s;
  padding: 3px 4px;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  background: var(--color-gray-light);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 12px;
  width: 100%;
}
.cookie-category {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  background: var(--color-bg-card);
  border-radius: var(--radius-btn);
  padding: 10px 22px 10px 14px;
  box-shadow: var(--shadow-sm);
  font-size: 1.01rem;
  min-width: 210px;
  width: 100%;
}
.cookie-category .category-toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.cookie-category.essential .category-toggle input {
  display: none;
}
.category-label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 500;
}
.essential-lock {
  color: var(--color-secondary);
  font-size: 1.25em;
  margin-left: 4px;
}

/* ==============
   FORMS (BASIC)
   ============== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: var(--radius-btn);
  border: 1.5px solid var(--color-gray-light);
  padding: 10px 12px;
  transition: border-color 0.15s, box-shadow 0.16s;
  margin-bottom: 14px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 2px rgba(40,175,160,0.17);
  outline: none;
}

/* ===============
   RESPONSIVE DESIGN
   =============== */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}
@media (max-width: 1000px) {
  .container {
    max-width: 100vw;
  }
  .hero h1 {
    font-size: 2.3rem;
  }
}
@media (max-width: 900px) {
  .main-nav a {
    font-size: 0.97rem;
  }
  .service-list li {
    min-width: 170px;
    padding: 20px 12px 14px 15px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 98%;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  header .container {
    flex-direction: row;
    gap: 8px;
  }
  .main-nav, .btn.btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
    z-index: 2200;
  }
  .footer-nav {
    gap: 14px;
    flex-direction: column;
  }
  .content-wrapper {
    gap: 6px;
  }
  .hero {
    padding: 38px 8px 34px 8px;
    margin-bottom: 34px;
    min-height: 120px;
  }
  .hero h1 {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }
  .hero p {
    font-size: 1.06rem;
    margin-bottom: 18px;
  }
  .feature-grid, .values-grid, .usp-list,
  .service-list, .criteria-list, .comparison-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-cards {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    padding: 15px 12px 14px 14px;
    font-size: 1.01rem;
    min-width: unset;
  }
  .content-grid,
  .about .text-image-section {
    flex-direction: column;
    gap: 12px;
  }
  .feature-item {
    padding: 14px 8px;
    min-width: unset;
  }
  .service-list li,
  .feature-grid li,
  .values-grid li,
  .comparison-grid li {
    min-width: unset;
    width: 100%;
    padding: 15px 10px;
    font-size: 1rem;
  }
  .next-steps li {
    font-size: 1rem;
  }
  section, .section {
    padding: 20px 4px;
    margin-bottom: 34px;
  }
  .cookie-modal-inner {
    padding: 28px 7px 24px 14px;
    min-width: unset;
    max-width: 99vw;
  }
}
@media (max-width: 520px) {
  .footer-brand {
    flex-direction: column;
    gap: 7px;
    font-size: 0.97rem;
  }
  #cookie-banner {
    padding: 18px 3px 10px 3px;
    font-size: 0.97rem;
  }
}

/* ===========
   MICRO EFFECTS
   =========== */
button, .btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close, .cookie-modal-close {
  transition: background 0.16s, color 0.12s, transform .16s, box-shadow .12s;
}
.cookie-btn:active, .btn:active, button:active {
  transform: scale(.98);
  filter: brightness(0.98);
}
input:disabled, button:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

/* =======
   MISC
   ======= */
::selection {
  background: #28AFA0;
  color: #fff;
}
::-webkit-scrollbar {
  width: 9px;
  background: #e6eaea;
}
::-webkit-scrollbar-thumb {
  background: var(--color-gray-light);
  border-radius: 9px;
}
/* Hide cookie modal on load */
#cookie-modal.hide,
#cookie-banner.hide {
  display: none;
}
/* Focus visible for accessibility */
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--color-secondary);
}
