/* === 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, menu, 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;
}
html {
  box-sizing: border-box;
  font-family: 'Roboto', Arial, sans-serif;
  background: linear-gradient(120deg, #E6F1ED 0%, #FFFFFF 100%);
  color: #274A3D;
  min-height: 100%;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  background: linear-gradient(120deg, #E6F1ED 0%, #FFFFFF 100%);
  font-family: 'Roboto', Arial, sans-serif;
  color: #274A3D;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px; /* cookie banner room */
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #274A3D;
  text-decoration: none;
  transition: color 0.23s;
}
a:hover,
a:focus {
  color: #A37617;
}
ul, ol {
  margin-left: 1.5em;
  margin-top: 1em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.3em;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  outline: none;
}
:focus {
  outline: 2px solid #C89E5B;
  outline-offset: 2px;
}

/* === BRAND FONT STACKS === */
h1, h2, h3, .cta-primary, nav a, .service-card h3, .value-cards h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  font-weight: 600;
}
p, ul, ol, li {
  font-weight: 400;
  font-size: 1rem;
  color: #274A3D;
}
strong {
  font-weight: 700;
}

/* === CONTAINER SIZING === */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

/* === HEADER/NAVIGATION === */
header {
  width: 100%;
  background: #FFFFFFE6;
  box-shadow: 0 2px 16px -6px #B0C3B933;
  position: sticky;
  top: 0;
  z-index: 20;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 16px;
  height: 68px;
}
header nav a {
  font-size: 1rem;
  color: #274A3D;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background 0.22s, color 0.22s;
}
header nav a.cta-primary {
  background: linear-gradient(90deg, #274A3D 60%, #A37617 100%);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 9px 24px;
  border-radius: 24px;
  box-shadow: 0 2px 10px 0 #A3761724;
  transition: background 0.24s, color 0.24s, box-shadow 0.24s;
}
header nav a.cta-primary:hover, header nav a.cta-primary:focus {
  background: linear-gradient(90deg, #A37617 0%, #274A3D 100%);
  color: #fff;
  box-shadow: 0 4px 18px 0 #A3761755;
}
header nav a:hover, header nav a:focus {
  background: #E6F1ED;
  color: #A37617;
}
header nav a img {
  height: 35px;
  margin-right: 5px;
  vertical-align: middle;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #274A3D;
  background: none;
  padding: 8px 12px;
  border-radius: 8px;
  margin-right: 12px;
  margin-left: auto;
  cursor: pointer;
  border: none;
  transition: background 0.18s;
  z-index: 102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E6F1ED;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #E6F1ED 80%, #C89E5B11 100%);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.48,1.15,.53,1.08);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 0;
  box-shadow: 0 0 32px 0 #274A3D18;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  color: #274A3D;
  margin: 20px 28px 10px 0;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
  padding: 8px 12px;
  z-index: 122;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #E6F1ED;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  width: 100%;
  padding-left: 40px;
  padding-top: 24px;
  z-index: 121;
}
.mobile-nav a {
  font-size: 1.1rem;
  padding: 12px 0 12px 4px;
  color: #274A3D;
  width: 100%;
  border-radius: 8px;
  transition: background 0.21s, color 0.21s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E6F1ED;
  color: #A37617;
  font-weight: 600;
}

/* Hide nav on mobile, show burger */
@media (max-width: 1000px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

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

/* === MAIN CONTENT - SECTIONS === */
section {
  background: none;
  border-radius: 24px;
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}

@media (max-width: 600px) {
  section {
    margin-bottom: 36px;
    padding: 28px 0 28px 0;
  }

  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* === FLEX LAYOUT PATTERNS - STRICT FLEXBOX === */
.card-container, .value-cards, .benefit-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container {
  margin-top: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 #A3761712;
  padding: 28px 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.27s, transform 0.27s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 #274A3D26;
  transform: translateY(-5px) scale(1.02);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 28px 28px 20px 28px;
  border-radius: 18px;
  box-shadow: 0 2px 20px 0 #274A3D18;
  margin-bottom: 20px;
  min-width: 250px;
  max-width: 390px;
  margin-right: 28px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.testimonial-card:last-child { margin-right: 0; }
.testimonial-card p {
  color: #274A3D;
  font-size: 1.08rem;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #274A3D;
  font-weight: 600;
}
.testimonial-card strong {
  color: #A37617;
  font-weight: 700;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 34px 0 #A376171a;
  transform: translateY(-3px) scale(1.015);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.value-cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
  width: 100%;
}
.value-cards > div {
  flex: 1 1 220px;
  background: #E6F1ED;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 2px 18px 0 #A3761711;
  margin-bottom: 20px;
  min-width: 180px;
}
.value-cards > div h3 {
  color: #274A3D;
  margin-bottom: 8px;
}

.brand-promise {
  background: #fff;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 2px 12px 0 #274A3D0A;
}
.benefit-icons {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-top: 22px;
}
.benefit-icons > div {
  flex: 1 1 180px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  background: #E6F1ED;
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 1.03rem;
}

/* Services Page Cards */
.service-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 #C89E5B17;
  padding: 26px 20px;
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 420px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.service-card h3 {
  color: #A37617;
  letter-spacing: 0;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.service-card span {
  color: #274A3D;
  font-weight: 600;
  font-size: 0.98rem;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 6px 32px 0 #274A3D28;
  transform: translateY(-4px) scale(1.01);
}

/* =============== CTA BUTTONS =============== */
.cta-primary,
a.cta-primary {
  display: inline-block;
  background: linear-gradient(90deg, #274A3D 70%, #A37617 100%);
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  border-radius: 28px;
  border: none;
  padding: 12px 32px;
  text-align: center;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 18px 0 #A3761732;
  transition: background 0.24s, color 0.24s, box-shadow 0.24s, transform 0.16s;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus,
a.cta-primary:hover, a.cta-primary:focus {
  background: linear-gradient(90deg, #A37617 10%, #274A3D 100%);
  color: #fff;
  box-shadow: 0 6px 20px 0 #A3761744;
  transform: translateY(-2px) scale(1.03);
}

/* =============== LISTS, BLOCKQUOTES, QUOTES =============== */
ul, ol {
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 10px;
}
ul li img {
  vertical-align: middle;
  margin-right: 7px;
  height: 1.5em;
}
blockquote {
  background: #E6F1ED;
  border-left: 4px solid #A37617;
  color: #274A3D;
  margin: 20px 0;
  padding: 18px 24px;
  font-style: italic;
  font-size: 1.08rem;
  border-radius: 12px;
  box-shadow: 0 2px 9px 0 #A3761711;
}
blockquote span {
  display: block;
  margin-top: 12px;
  color: #A37617;
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
}

/* =============== FOOTER =============== */
footer {
  background: #274A3D;
  color: #fff;
  padding: 42px 0 24px 0;
  margin-top: 50px;
  font-size: 1rem;
  box-shadow: 0 -2px 16px 0 #A3761733;
  width: 100%;
}
footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  opacity: 0.95;
  padding: 7px 12px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  background: #E6F1ED;
  color: #A37617;
  font-weight: 600;
}
footer .contact-details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  color: #fff;
  opacity: 0.92;
  font-size: 0.97rem;
  margin-top: 10px;
}
footer .contact-details img {
  height: 1.2em;
  margin-right: 4px;
  vertical-align: middle;
}

/* =============== COOKIES CONSENT BANNER =============== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -4px 28px 0 #A3761766;
  border-radius: 18px 18px 0 0;
  padding: 24px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  z-index: 2000;
  font-size: 1rem;
  transition: transform 0.35s cubic-bezier(0.45,1,0.45,1);
  transform: translateY(0);
  animation: cookiefadein 0.7s ease;
}
@keyframes cookiefadein {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner.hidden {
  transform: translateY(120%);
}
.cookie-banner .cookie-text {
  color: #274A3D;
  font-size: 1rem;
  flex: 3 1 350px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.cookie-banner button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  background: #E6F1ED;
  color: #274A3D;
  padding: 9px 22px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cookie-banner button.accept {
  background: linear-gradient(90deg, #274A3D 60%, #A37617 100%);
  color: #fff;
}
.cookie-banner button.accept:hover,
.cookie-banner button.accept:focus {
  background: linear-gradient(90deg, #A37617 10%, #274A3D 100%);
  color: #fff;
}
.cookie-banner button.settings {
  background: #fff;
  color: #A37617;
  border: 2px solid #A37617;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #E6F1ED;
  color: #A37617;
}
.cookie-banner button.reject {
  background: #E6F1ED;
  color: #A37617;
  border: 2px solid #A37617;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #A37617;
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 94vw;
  max-width: 430px;
  background: #fff;
  box-shadow: 0 6px 60px 0 #274A3D5A;
  border-radius: 18px;
  z-index: 2100;
  padding: 32px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookiepop 0.36s cubic-bezier(.49,1.32,.13,1.01);
}
@keyframes cookiepop {
  from {opacity: 0; transform: translate(-50%,-43%);}
  to {opacity: 1; transform: translate(-50%,-50%);}
}
.cookie-modal h2 {
  color: #A37617;
  margin-bottom: 9px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.cookie-modal .cookie-category label {
  font-weight: 500;
  font-size: 1rem;
  color: #274A3D;
}
.cookie-modal .cookie-switch {
  margin-left: 16px;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 16px;
  top: 10px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #A37617;
  cursor: pointer;
  padding: 2px 7px;
}
.cookie-modal .close-modal:hover { color: #274A3D; background: #E6F1ED; border-radius: 4px; }
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal input[type='checkbox'] {
  height: 20px;
  width: 20px;
  accent-color: #A37617;
}


/* ====== MOBILE FIRST + RESPONSIVENESS ====== */
@media (max-width: 800px) {
  .card-container,
  .value-cards,
  .benefit-icons,
  .content-grid {
    flex-direction: column;
  }
  .testimonial-card {
    max-width: 100%;
    margin-right: 0;
  }
  .service-card {
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  h1 {
    font-size: 1.45rem;
    margin-bottom: 14px;
  }
  h2 {
    font-size: 1.12rem;
    margin-bottom: 14px;
  }
  section {
    padding-right: 0;
    padding-left: 0;
  }
  .testimonial-card {
    padding: 18px 10px 16px 10px;
  }
  .brand-promise, .value-cards > div {
    padding: 14px 9px;
  }
}

@media (max-width: 600px) {
  .content-wrapper, .text-section {
    gap: 12px;
  }
  .section {
    margin-bottom: 24px;
    padding: 18px 3px;
  }
  .card {
    padding: 16px 6px;
    margin-bottom: 10px;
  }
}

@media (max-width: 500px) {
  .cta-primary, a.cta-primary {
    padding: 10px 7vw;
    font-size: 1rem;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 8px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-actions {
    gap: 8px;
    flex-wrap: wrap;
  }
  .cookie-modal {
    padding: 17px 6px 12px 6px;
    font-size: 0.96rem;
  }
}

/* =============== INTERACTIVE MICRO-INTERACTIONS =============== */
.card, .service-card, .testimonial-card, .value-cards > div {
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .service-card:hover, .testimonial-card:hover, .value-cards > div:hover,
.card:focus-within, .service-card:focus-within, .testimonial-card:focus-within, .value-cards > div:focus-within {
  box-shadow: 0 5px 28px 0 #A3761744;
  transform: translateY(-3px) scale(1.012);
}

/* =============== MISC UTILS =============== */
.text-center {
  text-align: center;
}
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }

/* =============== COLOR UTILITIES =============== */
.bg-primary { background: #274A3D; color: #fff; }
.bg-secondary { background: #E6F1ED; color: #274A3D; }
.bg-accent { background: #A37617; color: #fff; }
.text-primary { color: #274A3D; }
.text-accent { color: #A37617; }

/* =============== FLEXBOX LAYOUT OVERRIDES [MANDATORY] =============== */
.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;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

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

/* ===== Extra Markup for Expert Quotes, Methods, Cards on Thematic Pages ===== */
.expert-quotes, .motivation-quotes, .method-highlights, .exercise-cards, .info-block, .client-examples {
  margin: 24px 0 8px 0;
  padding: 14px 18px;
  background: #E6F1ED;
  border-radius: 11px;
  box-shadow: 0 1px 7px 0 #274A3D11;
}

/* ===== Custom Switch (for cookie modal) ===== */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #E6F1ED;
  border-radius: 22px;
  transition: background 0.2s;
}
.cookie-switch input:checked + .slider {
  background: #A37617;
}
.cookie-switch .slider:before {
  position: absolute;
  content: '';
  height: 16px;
  width: 16px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.24s;
  box-shadow: 0 1px 3px #A3761733;
}
.cookie-switch input:checked + .slider:before {
  transform: translateX(18px);
}

/* ===== END OF CSS ===== */
