/* =====================================================================
   CSS RESET & BASE NORMALIZATION
   ===================================================================== */
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;
}
ol, ul {
  list-style: none;
}
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}
img {
  border: 0;
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  margin: 0;
}
:focus {
  outline: none;
}

/* =====================================================================
   CSS CUSTOM PROPERTIES (WITH FALLBACKS)
   ===================================================================== */
:root {
  --brassy-primary: #38465A;
  --brassy-secondary: #A78455;
  --brassy-accent: #F4F1ED;
  --brassy-warm1: #EFDEC2;
  --brassy-warm2: #FFDCC3;
  --brassy-bg: #FFF9F5;
  --brassy-bg-dark: #F4F1ED;
  --brassy-error: #d97063;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow-md: 0 4px 24px rgba(168, 132, 85, 0.12);
  --shadow-lg: 0 12px 28px rgba(56, 70, 90, 0.16);
  --shadow-inner: 0 2px 8px rgba(56, 70, 90, 0.09);
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--brassy-bg, #FFF9F5);
  color: var(--brassy-primary, #38465A);
  font-size: 16px;
  min-height: 100vh;
}

/* =====================================================================
   GENERAL TYPOGRAPHY & SCALE
   ===================================================================== */
h1, .h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brassy-primary);
  line-height: 1.15;
  margin-bottom: 16px;
}
h2, .h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--brassy-secondary);
  margin-bottom: 12px;
  line-height: 1.18;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--brassy-primary);
  margin-bottom: 8px;
}
h4, .h4 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--brassy-primary);
}
.subheadline {
  font-size: 1.25rem;
  margin-bottom: 18px;
  color: var(--brassy-primary);
  font-weight: 400;
  letter-spacing: 0.01em;
}
p, ul li, ol li {
  color: var(--brassy-primary);
  font-size: 1rem;
  margin-bottom: 14px;
}
strong {
  color: var(--brassy-secondary);
  font-weight: 600;
}
.text-section p:last-child {
  margin-bottom: 0;
}

/* =====================================================================
   LAYOUT: CONTAINER & SPACING (MOBILE-FIRST)
   ===================================================================== */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0; /* no extra gap here by default */
}


/* =====================================================================
   SPACING/SECTIONING SYSTEM
   ===================================================================== */
section {
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 24px 20px;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  min-width: 260px;
}
.card:hover {
  box-shadow: var(--shadow-lg);
}
.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;
  padding: 20px;
  background: var(--brassy-accent, #F4F1ED);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-inner);
  margin-bottom: 24px;
  min-width: 220px;
  max-width: 520px;
  color: var(--brassy-primary);
}
.testimonial-card p {
  color: var(--brassy-primary);
  font-size: 1.05rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px 16px;
  box-shadow: var(--shadow-md);
}

/* FLEX-LAYOUTS FOR LANDING-PAGE FEATURES */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
  padding: 0;
}
.feature-grid li {
  flex: 1 1 190px;
  min-width: 170px;
  max-width: 240px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  padding: 22px 18px 18px 18px;
  margin-bottom: 0;
  transition: box-shadow 0.2s, transform 0.22s;
}
.feature-grid li:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px) scale(1.012);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
}

ul, ol {
  padding-left: 0;
}

.section ul li, .section ol li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section ul li img, .section ol li img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--brassy-warm1, #EFDEC2);
  padding: 4px;
  box-shadow: 0 2px 6px rgba(168,132,85,0.06);
}

.work-ethic-points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}
.work-ethic-points li {
  background: #fff;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  margin: 0;
  min-width: 160px;
  font-size: 1rem;
  color: var(--brassy-primary);
  align-items: center;
  gap: 10px;
  font-family: 'Roboto', Arial, sans-serif;
}

/* =====================================================================
   HEADER & NAVIGATION
   ===================================================================== */
header {
  background: #fff;
  box-shadow: 0 1px 10px rgba(56,70,90,0.04);
  padding: 0;
  width: 100%;
  z-index: 100;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
header img {
  height: 46px;
  width: auto;
  border-radius: var(--radius-md);
}

/* Main desktop nav */
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brassy-primary);
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.main-nav a:hover:not(.main-cta),
.main-nav a:focus:not(.main-cta) {
  background: var(--brassy-warm1);
}
.main-cta {
  background: var(--brassy-secondary);
  color: #fff !important;
  border-radius: var(--radius-md);
  padding: 10px 22px;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(168,132,85,0.06);
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.2s, transform 0.15s;
  margin-left: 8px;
}
.main-cta:hover, .main-cta:focus {
  background: #84632e;
  transform: translateY(-2px) scale(1.03);
}

.mobile-menu-toggle {
  background: var(--brassy-warm2);
  color: var(--brassy-secondary);
  font-size: 2rem;
  border: none;
  border-radius: var(--radius-md);
  padding: 6px 14px;
  margin-left: 14px;
  cursor: pointer;
  display: none;
  transition: background 0.18s, color 0.18s;
  align-items: center;
  z-index: 120;
}

/* Mobile navigation overlay panel */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(244,241,237,0.98);
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(0.65,0,0.35,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--brassy-primary);
  border: none;
  font-size: 2.2rem;
  padding: 12px 18px;
  align-self: flex-end;
  margin: 8px 16px 0 0;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--brassy-warm1);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 26px 24px 0 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  color: var(--brassy-primary);
  font-weight: 600;
  margin-bottom: 10px;
  padding: 18px 0 10px 0;
  border-radius: var(--radius-md);
  transition: background 0.18s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--brassy-warm1);
  color: var(--brassy-secondary);
}

/* =====================================================================
   HERO/CTA BUTTONS
   ===================================================================== */
.cta-button {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--brassy-secondary);
  color: #fff;
  font-size: 1.18rem;
  font-weight: 600;
  border: none;
  padding: 14px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  margin-top: 22px;
  margin-bottom: 10px;
  transition: background 0.18s, box-shadow 0.22s, transform 0.18s;
}
.cta-button:hover, .cta-button:focus {
  background: #84632e;
  box-shadow: var(--shadow-lg);
  color: #fff;
  transform: translateY(-2px) scale(1.032);
}

/* =====================================================================
   TESTIMONIALS (with contrast checks)
   ===================================================================== */
.testimonial-card {
  background: var(--brassy-accent);
  border-left: 5px solid var(--brassy-secondary);
  box-shadow: var(--shadow-inner);
  color: var(--brassy-primary);
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 24px;
  padding-right: 37px;
  position: relative;
  transition: box-shadow 0.24s;
}
.testimonial-card strong {
  color: var(--brassy-secondary);
  font-style: normal;
}
.testimonial-card div {
  font-size: 1.4rem; /* stars or ratings */
  color: #FFD700;
  margin-top: 4px;
  letter-spacing: 1.1px;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

/* =====================================================================
   CARDS (For future use/general cards)
   ===================================================================== */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  color: var(--brassy-primary);
  transition: box-shadow 0.18s, transform 0.18s;
  min-width: 220px;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px) scale(1.011);
}

/* =====================================================================
   ABOUT/TEAM/FOUNDER SECTIONS
   ===================================================================== */
.founder-message {
  background: var(--brassy-warm1);
  padding: 18px 25px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(56,70,90,0.06);
  color: var(--brassy-primary);
  margin-bottom: 22px;
  font-size: 1.03rem;
  font-style: italic;
}
.founder-message strong {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brassy-secondary);
  font-style: normal;
  font-size: 1.09rem;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
footer {
  background: var(--brassy-primary);
  color: #fff;
  padding: 38px 0 24px 0;
  position: relative;
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 40px;
  margin-right: 40px;
}
footer nav.footer-nav a {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 2px;
  opacity: 0.93;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  transition: background 0.16s;
}
footer nav.footer-nav a:hover, footer nav.footer-nav a:focus {
  background: rgba(167,132,85,0.22);
}
.footer-contact {
  font-size: 0.96rem;
  color: #ffffffcc;
  margin-left: auto;
  max-width: 270px;
}
footer img {
  height: 44px;
  width: auto;
  border-radius: var(--radius-md);
}
.footer-contact p{
  color: #ffffffcc;
}
/* =====================================================================
   COOKIE CONSENT BANNER & MODAL
   ===================================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #fffdf7;
  color: var(--brassy-primary);
  box-shadow: 0 -2px 12px rgba(56,70,90,0.08);
  padding: 22px 16px 22px 32px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 15px;
  align-items: flex-start;
  width: 100vw;
  max-width: 100vw;
  font-size: 1rem;
  transition: transform 0.22s ease, opacity 0.23s;
}
.cookie-banner.hide {
  transform: translateY(105%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner strong {
  color: var(--brassy-secondary);
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 5px;
}
.cookie-banner button {
  border: none;
  background: var(--brassy-secondary);
  color: #fff;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: var(--radius-md);
  font-size: 1rem;
  padding: 9px 24px;
  box-shadow: 0 2px 12px rgba(168,132,85,0.11);
  margin-right: 6px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.cookie-banner button.reject {
  background: #fff;
  color: var(--brassy-error, #d97063);
  border: 1px solid var(--brassy-error, #d97063);
}
.cookie-banner button.reject:hover,
.cookie-banner button.reject:focus {
  background: var(--brassy-error, #d97063);
  color: #fff;
}
.cookie-banner button.settings {
  background: var(--brassy-warm1);
  color: var(--brassy-secondary);
  border: 1px solid var(--brassy-secondary);
}
.cookie-banner button.settings:hover,
.cookie-banner button.settings:focus {
  background: #fff6eb;
  color: #84632e;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #84632e;
  color: #fff;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(56,70,90,0.45);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s;
}
.cookie-modal {
  background: #fff;
  padding: 30px 32px 24px 32px;
  border-radius: var(--radius-lg);
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 8px 34px rgba(56,70,90,0.19);
  display: flex;
  flex-direction: column;
  gap: 21px;
  font-size: 1rem;
}
.cookie-modal h3 {
  margin-bottom: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: var(--brassy-secondary);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 7px;
}
.cookie-modal label {
  font-weight: 500;
  color: var(--brassy-primary);
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal .cookie-toggle {
  margin-top: 2px;
  accent-color: var(--brassy-secondary);
  width: 20px;
  height: 20px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 11px;
}
.cookie-modal button {
  border: none;
  background: var(--brassy-secondary);
  color: #fff;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: var(--radius-md);
  font-size: 1rem;
  padding: 10px 30px;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal button.close {
  background: #fff;
  color: var(--brassy-secondary);
  border: 1px solid var(--brassy-secondary);
}
.cookie-modal button.close:hover {
  background: var(--brassy-warm2);
  color: #84632e;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #84632e;
  color: #fff;
}

/* =====================================================================
   MISC/ELEMENTS
   ===================================================================== */
input, textarea, select {
  border: 1px solid #d3c6b9;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 10px 16px;
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--brassy-primary);
  box-shadow: 0 1px 3px rgba(168,132,85,0.08);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brassy-secondary);
  box-shadow: 0 2px 12px rgba(167,132,85,0.13);
}

::selection {
  background: var(--brassy-secondary);
  color: #fff;
}

hr {
  border: none;
  border-bottom: 1px solid #ecd3bb;
  margin: 24px 0;
}

/* =====================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST, FLUID LAYOUTS)
   ===================================================================== */
@media (min-width: 600px) {
  .feature-grid {
    justify-content: flex-start;
  }
  .testimonial-card {
    max-width: 460px;
  }
  .card-container {
    gap: 28px;
  }
}
@media (min-width: 768px) {
  .container {
    padding-left: 36px;
    padding-right: 36px;
  }
  .content-wrapper {
    padding: 0 16px;
  }
  .section {
    padding: 56px 40px;
    margin-bottom: 75px;
  }
  .main-nav {
    gap: 28px;
  }
  .feature-grid {
    gap: 36px;
  }
  .testimonial-card {
    min-width: 370px;
    max-width: 600px;
  }
  .text-image-section {
    flex-direction: row;
    gap: 38px;
  }
  footer .container {
    gap: 36px;
  }
}

@media (min-width: 980px) {
  .feature-grid {
    gap: 42px;
  }
  .container {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
  }
  .content-wrapper {
    padding: 0 6px;
  }
  .section {
    padding: 38px 10px 38px 10px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .content-grid, .feature-grid, .card-container, .work-ethic-points {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .card {
    min-width: auto;
  }
  .section {
    padding: 28px 8px 30px 8px;
    margin-bottom: 48px;
  }
  .testimonial-card {
    width: 100%;
    min-width: auto;
    max-width: 100%;
    padding: 15px 12px 15px 18px;
  }
  header .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  footer nav.footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    margin: 6px 0;
    gap: 11px;
  }
  .footer-contact {
    margin-left: 0;
    max-width: 100vw;
    padding-top: 16px;
  }
}

@media (max-width: 540px) {
  .container, .content-wrapper {
    padding-left: 3vw;
    padding-right: 3vw;
  }
  .section {
    padding: 22px 2vw 18px 2vw;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 16px 5px 16px 7px;
    font-size: 0.99rem;
  }
}

/* REMOVE MARGIN IF LAST TESTIMONIAL or CARD */
.testimonial-card:last-child,
.card:last-child {
  margin-bottom: 0;
}

/* =====================================================================
   MICRO-INTERACTIONS & DETAIL TRANSITIONS
   ===================================================================== */
a, .cta-button, .main-cta, button, .cookie-banner button, .cookie-modal button {
  transition: background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.16s;
}

/* Focus state for accessibility */
a:focus, button:focus {
  outline: 2px solid var(--brassy-secondary);
  outline-offset: 2px;
}

/* Hide scroll when mobile menu or cookie modal open */
.mobile-menu.open, .cookie-modal-backdrop.open {
  overflow-y: auto;
}
body.modal-open {
  overflow: hidden;
}

/* =====================================================================
   UTILITIES
   ===================================================================== */
.mt-2 { margin-top: 12px; }
.mb-2 { margin-bottom: 12px; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }

/* =====================================================================
   PRINT/REDUCED MOTION
   ===================================================================== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { color: #222; background: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    transition: none !important;
    animation: none !important;
  }
}

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