/* CSS RESET & BASELINE -------------------------------------------------- */
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;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
:focus {
  outline: 2px solid #333;
  outline-offset: 2px;
}

/* FONT FACE -------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Roboto:wght@400;500;700&display=swap');

body {
  background: #fff;
  color: #181818;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}

/* TYPOGRAPHY ------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
  line-height: 1.18;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.subheadline {
  color: #333;
  font-size: 1.15rem;
  margin-bottom: 1.8em;
  letter-spacing: 0.02em;
  font-family: 'Roboto', Arial, sans-serif;
}
p, ul, ol, li {
  margin-bottom: 12px;
  font-size: 1.08rem;
  color: #222;
}
strong {
  font-weight: 700;
}
.bullet-list {
  padding-left: 20px;
  margin-bottom: 16px;
}
.bullet-list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 9px;
  color: #232323;
}
.bullet-list li:before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #333;
  margin-right: 8px;
  position: absolute;
  top: 0.57em;
  left: 0;
}
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.category-list li {
  background: #f7f7f7;
  color: #111;
  border-radius: 16px;
  padding: 7px 18px;
  font-size: 1.05rem;
  font-weight: 500;
  transition: background 0.22s;
}
.category-list li:hover,
.category-list li:focus {
  background: #ececec;
}

/* LAYOUT CONTAINERS ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 21px;
}
.content-wrapper {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.07), 0 0.5px 1px 0 rgba(0,0,0,0.01);
  padding: 40px 32px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section {
  background: #f8f8f8;
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  padding: 26px 22px;
  min-width: 265px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.23s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 34px rgba(0,0,0,0.13);
  transform: translateY(-3px) scale(1.019);
}
.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;
}
.team-member-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.profile {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px 24px 16px 24px;
  min-width: 220px;
  font-size: 1.08rem;
  color: #181818;
  box-shadow: 0 1px 5px rgba(0,0,0,0.04);
}

/* FEATURE GRID ----------------------------------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2.5px 24px rgba(0,0,0,0.09);
  padding: 30px 24px;
  min-width: 260px;
  flex: 1 1 290px;
  transition: box-shadow 0.22s, transform 0.19s;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
}
.feature-item:hover {
  box-shadow: 0 7px 34px rgba(30,30,30,0.18);
  transform: translateY(-2px) scale(1.012);
}
.feature-item span {
  color: #294545;
  font-family: 'Roboto', sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  background: #ede6dc;
  border-radius: 7px;
  padding: 1px 8px 2px 8px;
  margin-top: 3px;
  letter-spacing: 0.02em;
}

/* TAG CLOUD -------------------------------------------------------------- */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0 18px 0;
}
.tag-cloud span {
  font-size: 0.98rem;
  color: #888;
  background: #f1f1f1;
  border-radius: 6px;
  padding: 4px 14px;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 0.04em;
  transition: background 0.15s, color 0.15s;
}
.tag-cloud span:hover {
  background: #d7d7d7;
  color: #2d2d2d;
}

/* TESTIMONIAL ------------------------------------------------------------ */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 13px;
  background: #f7f7f9;
  box-shadow: 0 1.5px 12px rgba(30,30,30,0.05);
  margin: 32px 0 18px 0;
  border-left: 4px solid #232323;
  max-width: 580px;
}
.testimonial-card p {
  font-style: italic;
  color: #181818;
  margin-bottom: 0;
  font-size: 1.08rem;
}
.testimonial-card span {
  font-size: 1rem;
  color: #555;
  margin-left: 10px;
  white-space: nowrap;
}

/* FOOTER ----------------------------------------------------------------- */
footer {
  background: #181818;
  color: #eee;
  padding: 42px 0 24px 0;
  font-size: 1.04rem;
  border-top: 7px solid #294545;
  margin-top: 70px;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-navigation a {
  color: #ede6dc;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  padding: 3px 0;
  opacity: 0.95;
  transition: color 0.13s, opacity 0.15s;
}
.footer-navigation a:hover,
.footer-navigation a:focus {
  color: #fff;
  opacity: 1;
}
.contact-info {
  text-align: center;
  color: #b5b5b5;
  font-size: 1rem;
  margin-top: 4px;
}
.contact-info strong {
  color: #fff;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.01em;
  font-size: 1.12em;
}

/* HEADER/NAVIGATION ------------------------------------------------------ */
header {
  background: #fff;
  position: relative;
  z-index: 50;
  border-bottom: 1.5px solid #ededed;
  box-shadow: 0 1.5px 11px rgba(70,70,70,0.03);
}
.main-navigation {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 0;
  justify-content: flex-start;
}
.main-navigation a {
  font-family: 'Roboto', Arial, sans-serif;
  color: #232323;
  font-size: 1.11rem;
  font-weight: 500;
  transition: color 0.15s, background 0.12s, box-shadow 0.12s;
  border-radius: 7.5px;
  padding: 7px 13px;
}
.main-navigation a.cta-btn {
  background: #181818;
  color: #fff;
  box-shadow: 0 2.5px 14px rgba(30,30,30,0.10);
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  letter-spacing: 0.015em;
  transition: background 0.18s, color 0.18s, box-shadow 0.14s;
}
.main-navigation a.cta-btn:hover,
.main-navigation a.cta-btn:focus {
  background: #294545;
  color: #ede6dc;
  box-shadow: 0 7px 32px rgba(47, 47, 47, 0.17);
}
.main-navigation a:hover,
.main-navigation a:focus {
  background: #f4f4f4;
  color: #111;
  box-shadow: 0 1.5px 8px rgba(120,120,120,0.06);
}
.main-navigation img {
  width: 46px;
  height: 46px;
  margin-right: 5px;
  display: inline-block;
  vertical-align: middle;
}
/* Hide on mobile */
.mobile-menu-toggle,
.mobile-menu {
  display: none;
}

/* MOBILE BURGER MENU ----------------------------------------------------- */
@media (max-width: 990px) {
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.84rem;
    color: #232323;
    background: #fff;
    border: none;
    border-radius: 8px;
    padding: 7px 15px;
    margin: 13px 6px 13px 0;
    box-shadow: 0 2.5px 12px rgba(20,20,20,0.05);
    position: absolute;
    top: 6px;
    right: 8px;
    z-index: 99;
    cursor: pointer;
    transition: background 0.17s, color 0.14s, box-shadow 0.13s;
  }
  .mobile-menu-toggle:active,
  .mobile-menu-toggle:focus {
    background: #232323;
    color: #fff;
    box-shadow: 0 6px 22px rgba(0,0,0,0.04);
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #181818;
    color: #ede6dc;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.34s cubic-bezier(.56,2.1,.33,.89);
    box-shadow: 0 2.5px 18px rgba(0,0,0,0.22);
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    margin: 23px 19px 16px auto;
    font-size: 2.1rem;
    color: #ede6dc;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 12px;
    border-radius: 7.5px;
    transition: background 0.17s;
  }
  .mobile-menu-close:active,
  .mobile-menu-close:focus {
    background: #294545;
    color: #fff;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 0 34px;
    margin-top: 16px;
  }
  .mobile-nav a {
    color: #ede6dc;
    font-family: 'Playfair Display', serif;
    font-size: 1.26rem;
    padding: 10px 0;
    font-weight: 600;
    border-bottom: 1px solid #232323;
    width: 100%;
    display: block;
    transition: color 0.14s, background 0.14s;
  }
  .mobile-nav a:focus,
  .mobile-nav a:hover {
    color: #ded6cb;
    background: #294545;
    border-radius: 7px;
    padding-left: 14px;
  }
}

/* RESPONSIVE BREAKPOINTS ------------------------------------------------- */
@media (max-width: 850px) {
  .feature-grid,
  .card-container,
  .team-member-profiles {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 7px;
  }
  .content-wrapper {
    padding: 26px 10px;
    margin-bottom: 36px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid {
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    text-align: left;
  }
}
@media (max-width: 580px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.31rem;
  }
  .feature-item, .card {
    min-width: unset;
    padding: 20px 7px;
  }
  .content-wrapper {
    padding: 16px 1.5vw;
    border-radius: 0;
  }
  footer {
    padding: 25px 0 14px 0;
  }
}

/* BUTTONS & LINKS -------------------------------------------------------- */
.cta-btn {
  background: #294545;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.13rem;
  font-weight: 700;
  padding: 11px 34px;
  border-radius: 7.5px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, box-shadow 0.18s;
  margin-top: 12px;
  box-shadow: 0 2.5px 18px rgba(41, 69, 69, 0.10);
  letter-spacing: 0.01em;
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #111;
  color: #ede6dc;
  box-shadow: 0 8px 36px rgba(41,69,69,0.13);
  transform: translateY(-1px) scale(1.014);
}
button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  background: none;
}

/* LINKS AS BUTTONS (accessibility) */
a[role=button]:focus {
  outline: 2px solid #222;
  outline-offset: 2px;
}

/* FAQ List --------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 14px;
}
.faq-list li {
  background: #f5f5f5;
  border-radius: 7px;
  padding: 11px 15px;
  color: #232323;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}

/* TEAM HIGHLIGHTS -------------------------------------------------------- */
.team-highlight {
  margin-top: 18px;
  color: #294545;
  font-style: italic;
  font-size: 1.09rem;
  line-height: 1.6;
}

/* CONTACT DETAILS -------------------------------------------------------- */
.contact-details {
  margin-top: 20px;
  color: #232323;
  font-size: 1.07rem;
  line-height: 1.55;
  background: #f9f9f9;
  border-radius: 7px;
  padding: 16px 12px 16px 16px;
  box-shadow: 0 1px 9px rgba(0,0,0,0.04);
}
.contact-details a {
  color: #294545;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.14s;
}
.contact-details a:hover {
  color: #9A7634;
}

/* SPACING FOR SECTION ---------------------------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* COOKIE CONSENT BANNER -------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #232323;
  color: #ede6dc;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -3px 24px rgba(20,20,20,0.07);
  padding: 25px 7vw 23px 7vw;
  font-size: 1rem;
  gap: 17px;
  animation: slideup-banner 0.58s cubic-bezier(.46,1.42,.34,.81) 1;
}
@keyframes slideup-banner {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.cookie-banner p {
  color: #ede6dc;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin-top: 2px;
}
.cookie-btn {
  background: #ede6dc;
  color: #232323;
  border: none;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  border-radius: 7px;
  padding: 10px 26px;
  margin-bottom: 0;
  letter-spacing: 0.015em;
  box-shadow: 0 2px 12px rgba(41,69,69,0.10);
  transition: background 0.16s, color 0.13s, box-shadow 0.12s;
}
.cookie-btn.accept {
  background: #294545;
  color: #fff;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #111;
  color: #ede6dc;
  box-shadow: 0 5px 14px rgba(41,69,69,0.11);
}
.cookie-btn.settings {
  background: #ede6dc;
  color: #294545;
  border: 1.5px solid #294545;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #fff;
  color: #111;
  border: 1.5px solid #111;
}
.cookie-btn.reject {
  background: #fff;
  color: #232323;
  border: 1.2px solid #ede6dc;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #ede6dc;
  color: #111;
}

/* COOKIE SETTINGS MODAL -------------------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(22,22,22,0.72);
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein-modal 0.37s cubic-bezier(.53,1.21,.46,.96);
}
@keyframes fadein-modal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #232323;
  border-radius: 15px;
  padding: 35px 28px 30px 28px;
  min-width: 90vw;
  max-width: 400px;
  box-shadow: 0 8.5px 42px rgba(41,69,69,0.13), 0 1.5px 8px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 21px;
  animation: scalein-modal 0.38s cubic-bezier(.56,2.1,.33,.89);
}
@keyframes scalein-modal {
  from { transform: scale(.74); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.38rem;
  color: #294545;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.04rem;
  padding: 0;
}
.cookie-category label {
  flex: 1 1 auto;
  color: #232323;
  font-weight: 500;
  cursor: pointer;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 18px;
  background: #ccc;
  border-radius: 10px;
  position: relative;
  outline: none;
  transition: background 0.19s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #294545;
}
.cookie-toggle:disabled {
  background: #aaa;
  cursor: not-allowed;
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 2.6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.17s;
}
.cookie-toggle:checked::after {
  left: 18px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 60px;
  margin-bottom: 0;
}

/* MONOCHROME COLORS ------------------------------------------------------ */
body {
  background: #fafafa;
  color: #232323;
}
.text-section {
  background: #f6f6f6;
}
.feature-item,
.card {
  background: #fff;
  color: #181818;
}

/* DRAMATIC CONTRAST & ACCENT --------------------------------------------- */
hr {
  border: none;
  border-top: 1.5px solid #dde0e3;
  margin: 28px 0;
}

/* MICRO-INTERACTIONS ----------------------------------------------------- */
.card, .feature-item, .cta-btn, .main-navigation a {
  transition: box-shadow 0.22s, background 0.18s, transform 0.17s, color 0.15s;
}

/* Z-INDEX CORRECTNESS FOR OVERLAYS/MENU ---------------------------------- */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
  z-index: 1000;
}

/* ACCESSIBILITY ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

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

/* Extra spacing for page bottom spacing, avoids overlap with banner */
body {
  padding-bottom: 120px;
}

/* --- END --- */