/* CSS RESET & NORMALIZE (MOBILE FIRST) */
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;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background: #FFF7F0; /* subtle warm background */
  color: #23292D;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #A6875B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #876435;
  outline: none;
}
ul, ol {
  margin: 0 0 12px 24px;
}
strong { font-weight: 600; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  color: #23292D;
  letter-spacing: 0.02em;
  font-weight: 600;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p {
  font-size: 1rem;
  margin-bottom: 12px;
}
blockquote {
  font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.15rem;
  background: #FFF3E3;
  color: #23292D;
  border-left: 4px solid #A6875B;
  padding: 16px 20px;
  border-radius: 16px;
  margin: 0 0 8px 0;
  font-style: italic;
}

/* CONTAINERS & SECTIONS */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  background: #F9EFE3;
  border-radius: 20px;
  padding: 32px 18px;
  box-shadow: 0 2px 12px 0 rgba(164, 135, 91, 0.05);
}

/* FLEX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  margin-bottom: 20px;
  position: relative;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(164,135,91,0.11);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow .2s, transform .18s;
}
.card:hover {
  box-shadow: 0 6px 28px 0 rgba(164,135,91,0.14);
  transform: translateY(-3px) scale(1.012);
}
.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 28px;
  background: #FFF7F0;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px 0 rgba(164,135,91,0.09);
}
.testimonial-card blockquote {
  background: transparent;
  border-left: 0;
  padding: 0;
  margin: 0 0 10px 0;
  color: #23292D;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO, FEATURES, SERVICES, TEAM, PRICING */
.feature-grid, .service-cards, .feature-grid ul, .feature-grid div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-start;
  align-items: center;
  margin-top: 10px;
}
.feature-grid li, .feature-grid div {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFF3E3;
  color: #23292D;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  min-width: 180px;
  box-shadow: 0 1px 5px 0 rgba(164,135,91,0.05);
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.service-cards > div {
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(164, 135, 91, 0.1);
  padding: 24px 20px;
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 325px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.22s, transform .2s;
}
.service-cards > div:hover {
  box-shadow: 0 7px 30px 0 rgba(164, 135, 91, 0.18);
  transform: translateY(-4px);
}
.service-cards img {
  width: 34px;
  height: 34px;
}
.team-member {
  background: #FFF7F0;
  border-radius: 14px;
  padding: 18px 18px 18px 24px;
  margin-bottom: 18px;
  box-shadow: 0 1px 6px 0 rgba(164,135,91,0.06);
}

/* PRICING TABLE */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(164,135,91,0.07);
  margin-bottom: 18px;
  margin-top: 12px;
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 14px 20px;
  font-size: 1rem;
}
.pricing-table th {
  background: #FFF3E3;
  color: #A6875B;
  font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
}
.pricing-table tr:nth-child(even) td {
  background: #F9EFE3;
}
.pricing-table tr:not(:last-child) {
  border-bottom: 1px solid #F3E4CA;
}

/* BUTTONS & CTA */
.cta-primary {
  display: inline-block;
  background: #A6875B;
  color: #FFF;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.09rem;
  border-radius: 32px;
  padding: 14px 32px;
  margin-top: 10px;
  box-shadow: 0 2px 14px 0 rgba(164,135,91,0.18);
  border: none;
  outline: none;
  cursor: pointer;
  transition: background .18s, box-shadow .18s, transform .16s;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  min-width: 153px;
}
.cta-primary:hover, .cta-primary:focus {
  background: #876435;
  box-shadow: 0 4px 18px 0 rgba(164,135,91,0.2);
  transform: translateY(-2px) scale(1.025);
  color: #FFF;
}
.button, button {
  font-family: 'Oswald', Arial, sans-serif;
  border-radius: 28px;
  padding: 12px 24px;
  border: none;
  background: #A6875B;
  color: #FFF;
  font-size: 1rem;
  cursor: pointer;
  transition: background .18s;
}
.button:hover, button:hover, .button:focus, button:focus {
  background: #876435;
  outline: none;
}

/* NAVIGATION STYLES */
header {
  background: #FFF;
  width: 100%;
  padding: 0;
  box-shadow: 0 1px 10px 0 rgba(164,135,91,0.06);
  position: sticky;
  top: 0;
  z-index: 90;
}
.main-navigation {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 17px 0 17px 0;
}
.main-navigation a img {
  height: 38px;
  width: auto;
  margin-right: 20px;
}
.main-navigation a {
  font-family: 'Oswald', Arial, sans-serif;
  color: #23292D;
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 18px;
  transition: background 0.18s, color 0.18s;
}
.main-navigation a.cta-primary {
  background: #A6875B;
  color: #FFF;
  font-size: 1.08rem;
  margin-left: 20px;
}
.main-navigation a:hover, .main-navigation a:focus {
  background: #FFF3E3;
  color: #A6875B;
}
.main-navigation a.cta-primary:hover, .main-navigation a.cta-primary:focus {
  background: #876435;
  color: #FFF;
}

/* FOOTER */
footer {
  background: #23292D;
  color: #FFF;
  padding-top: 32px;
  padding-bottom: 28px;
  margin-top: 32px;
  font-size: 1rem;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-navigation a {
  color: #A6875B;
  font-family: 'Oswald', Arial, sans-serif;
  background: transparent;
  padding: 6px 14px;
  font-size: 1rem;
  border-radius: 14px;
  transition: background 0.16s, color 0.18s;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  background: #F9EFE3;
  color: #23292D;
}
.footer-contact {
  text-align: center;
  color: #EFEFEF;
  opacity: 0.93;
  margin-top: 8px;
  font-size: 0.98rem;
}
.footer-contact strong { color: #FFF; }

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #A6875B;
  background: none;
  border: none;
  margin-left: auto;
  padding: 8px 14px;
  border-radius: 16px;
  cursor: pointer;
  z-index: 110;
  transition: background .16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FBE5C8;
  color: #876435;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFF7F0;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 18px 0 26px;
  box-shadow: 0 8px 32px 0 rgba(35,41,45,0.18);
  transform: translateX(-100%);
  transition: transform .33s cubic-bezier(.75,.03,0,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #A6875B;
  align-self: flex-end;
  margin-bottom: 22px;
  border-radius: 16px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FBE5C8;
  color: #876435;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  color: #23292D;
  font-size: 1.14rem;
  padding: 12px 18px;
  background: transparent;
  border-radius: 16px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFF3E3;
  color: #A6875B;
}

/* Hide desktop nav, show mobile toggle on mobile */
@media (max-width: 1023px) {
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1024px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  .main-navigation {
    display: flex;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  z-index: 2000;
  background: #FFF3E3;
  color: #23292D;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 18px 18px 28px;
  box-shadow: 0 -3px 18px 0 rgba(164,135,91,0.12);
  font-size: 1rem;
  border-radius: 22px 22px 0 0;
  animation: cookie-slidein .6s cubic-bezier(.28,.66,.14,1);
}
@keyframes cookie-slidein {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0%); opacity: 1; }
}
.cookie-banner p {
  margin: 0 8px 0 0;
  flex: 1 1 200px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner .button {
  border-radius: 20px;
  padding: 10px 24px;
  min-width: 108px;
  font-size: 1rem;
}
.cookie-banner .cookie-settings {
  background: #EFEFEF;
  color: #A6875B;
  border: 1px solid #A6875B;
  transition: background .18s, color .18s;
}
.cookie-banner .cookie-settings:hover {
  background: #F9EFE3;
  color: #876435;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2100;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,41,45,0.23);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #FFF7F0;
  border-radius: 22px;
  box-shadow: 0 8px 40px 0 rgba(164,135,91,0.19);
  padding: 38px 24px 28px 24px;
  min-width: 310px;
  max-width: 95vw;
  max-height: 92vh;
  overflow-y: auto;
  animation: cookie-modal-appear .33s cubic-bezier(.62,.24,0,1.14);
}
@keyframes cookie-modal-appear {
  0% { transform: scale(.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.48rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F9EFE3;
  border-radius: 14px;
  padding: 12px 16px;
  margin: 10px 0 12px 0;
  font-size: 1rem;
}
.cookie-modal .cookie-toggle {
  margin-left: auto;
  accent-color: #A6875B;
  width: 24px;
  height: 24px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 18px;
  margin-top: 24px;
  justify-content: flex-end;
}
.cookie-modal .button {
  border-radius: 20px;
  padding: 10px 28px;
  font-size: 1rem;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  color: #a6875b;
  font-size: 2.1rem;
  position: absolute;
  top: 18px; right: 24px;
  cursor: pointer;
  border-radius: 14px;
  transition: background .16s, color .18s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #FBE5C8;
  color: #876435;
}

/* GENERIC ELEMENTS */
table, th, td {
  border: none;
  background: transparent;
}
dl, dt, dd {
  margin-bottom: 8px;
  line-height: 1.4;
}
dt {
  font-weight: 600;
  font-family: 'Oswald', Arial, sans-serif;
  margin-bottom: 4px;
}
dl, ul, ol {
  margin-bottom: 14px;
}
li {
  margin-bottom: 5px;
}

/* UTILITY: RESPONSIVE & SPACING */
@media (max-width: 991px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .card-container, .service-cards, .content-grid, .feature-grid {
    gap: 14px;
  }
  .section {
    padding: 30px 8px;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 16px;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 4px;
  }
  .feature-grid, .service-cards, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .feature-grid li, .feature-grid div, .service-cards > div {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
  }
  .testimonial-card {
    padding: 18px 10px;
  }
  .main-navigation { display: none !important; }
}
@media (max-width: 520px) {
  html, body {
    font-size: 15px;
  }
  h1 { font-size: 1.66rem; }
  h2 { font-size: 1.23rem; }
  h3 { font-size: 1.02rem; }
  .feature-grid li, .feature-grid div, .service-cards > div {
    padding: 10px 8px;
  }
  .container {
    padding: 0 2px;
  }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.cta-primary, .button, .service-cards > div, .card, .feature-grid li, .feature-grid div {
  transition: box-shadow .2s, background .15s, transform .15s, color .13s;
}
.cta-primary:active, .button:active, .service-cards > div:active, .card:active {
  transform: scale(0.99);
}

/* SCROLLBAR FOR BRAND HINT */
::-webkit-scrollbar {
  width: 12px;
  background: #F9EFE3;
}
::-webkit-scrollbar-thumb {
  background: #e3caa0;
  border-radius: 8px;
}

/* FOCUS STATES */
a:focus, .cta-primary:focus, .button:focus, button:focus {
  outline: 2px solid #A6875B;
  outline-offset: 2px;
}

/* OVERRIDES: ENSURE NO OVERLAP & SPACING */
.card, .service-cards > div, .testimonial-card, .team-member, .feature-grid li, .feature-grid div {
  margin-bottom: 20px;
}
.card:last-child, .service-cards > div:last-child, .testimonial-card:last-child, .team-member:last-child, .feature-grid li:last-child, .feature-grid div:last-child {
  margin-bottom: 0;
}

/* PRINT FRIENDLY */
@media print {
  header, footer, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  body, .container, .section {
    background: #FFF !important;
    color: #23292D !important;
    box-shadow: none !important;
  }
}
