/* --- CSS RESET & BASE TYPOGRAPHY --- */
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 {
  font-size: 16px;
  /* Set box sizing globally */
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #FAF7F2;
  color: #4B2E1F;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  line-height: 1.7;
  overflow-x: hidden;
}
a {
  color: #4B2E1F;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #D7B478;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li + li {
  margin-top: 0.25em;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* --- BRANDING FONTS --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #4B2E1F;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  color: #D7B478;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  color: #4B2E1F;
}
p, ul, li, span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #4B2E1F;
}
strong {
  color: #4B2E1F;
  font-weight: bold;
}

/* --- CONTAINER & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(75,46,31,0.05);
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 40px;
  }
  .container {
    padding: 0 8px;
  }
}

/* --- NAVIGATION --- */
header {
  background: #4B2E1F;
  color: #FAF7F2;
  padding: 0 0 0 0;
  box-shadow: 0 4px 32px rgba(75,46,31,0.10);
  z-index: 100;
  position: relative;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  min-height: 70px;
  padding: 0 24px;
  flex-wrap: wrap;
}
.main-nav a {
  color: #FAF7F2;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  position: relative;
  padding: 4px 8px;
  transition: color .2s;
}
.main-nav a.cta.primary {
  background: #D7B478;
  color: #4B2E1F;
  border-radius: 32px;
  font-family: 'Playfair Display', serif;
  font-size: 1.06rem;
  font-weight: bold;
  padding: 9px 24px;
  box-shadow: 0 6px 18px 0 rgba(215,180,120,0.10);
  margin-left: 20px;
  transition: background .2s, color .2s;
}
.main-nav a.cta.primary:hover, .main-nav a.cta.primary:focus {
  background: #fff;
  color: #4B2E1F;
}
.main-nav a:hover, .main-nav a:focus {
  color: #D7B478;
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 12px;
  padding-top: 2px;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
    min-height: 60px;
    padding: 0 8px;
  }
  .main-nav a.cta.primary {
    margin-left: 10px;
    padding: 8px 16px;
    font-size: 1rem;
  }
}

/* HIDE MAIN NAV ON MOBILE */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 2rem;
  background: #D7B478;
  color: #4B2E1F;
  border: none;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 300;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
  box-shadow: 0 2px 8px rgba(75,46,31,0.12);
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #4B2E1F;
  color: #D7B478;
  outline: none;
  transform: scale(1.05);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #4B2E1F;
  color: #FAF7F2;
  padding: 24px 32px;
  z-index: 9000;
  transform: translateX(-100vw);
  transition: transform .4s cubic-bezier(.65,.01,.46,1);
  box-shadow: 0 8px 48px 0 rgba(75,46,31,0.27);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #D7B478;
  font-size: 2.4rem;
  position: absolute;
  top: 12px;
  right: 24px;
  z-index: 9100;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 60px;
  width: 100%;
}
.mobile-nav a {
  color: #FAF7F2;
  font-size: 1.13rem;
  padding: 12px 4px;
  border-radius: 6px;
  transition: background .16s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #D7B478;
  color: #4B2E1F;
}

@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

/* --- HERO, SECTION, SPACING --- */
section {
  margin-bottom: 60px;
  padding: 0px;
}
@media (max-width: 600px) {
  section {
    margin-bottom: 32px;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

/* --- FEATURE, CARD, GRID COMPONENTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  flex: 1 1 280px;
  min-width: 240px;
  background: #fff;
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 6px 28px 0 rgba(75,46,31,0.09);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-8px) scale(1.015) rotate(-1.2deg);
  box-shadow: 0 12px 36px 0 rgba(215,180,120,0.17);
}
.card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 18px;
  justify-content: center;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

@media (max-width: 900px) {
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .card-container {
    flex-direction: column;
    gap: 12px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fffbe8;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(215,180,120,0.09);
  padding: 20px 16px;
  margin-bottom: 20px;
}
.feature-item img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 2px 5px #D7B47833);
}

.team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.team-profiles > div {
  background: #fff;
  padding: 24px 18px;
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 rgba(75,46,31,0.08);
  flex: 1 1 260px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .18s;
}
.team-profiles > div:hover {
  transform: translateY(-4px) scale(1.03) rotate(1.5deg);
  box-shadow: 0 6px 36px 0 rgba(215,180,120,0.18);
}
@media (max-width: 900px) {
  .team-profiles {
    flex-direction: column;
    gap: 12px;
  }
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  color: #333;
  border-radius: 18px;
  box-shadow: 0 4px 22px 0 rgba(215,180,120,0.13);
  position: relative;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  min-height: 80px;
  /* Artistic colored "quote strip" accent */
  border-left: 8px solid #D7B478;
  transition: box-shadow .18s;
}
.testimonial-card span {
  font-family: 'Playfair Display', serif;
  color: #4B2E1F;
  font-size: 1.07em;
  font-style: italic;
}
.testimonial-card:hover {
  box-shadow: 0 7px 30px 0 rgba(75,46,31,0.19);
}

/* --- BUTTONS, CTA, LINKS --- */
.cta.primary {
  background: #D7B478;
  color: #4B2E1F;
  border: none;
  border-radius: 38px;
  font-family: 'Playfair Display', serif;
  font-weight: bold;
  font-size: 1.16rem;
  padding: 12px 34px;
  cursor: pointer;
  box-shadow: 0 4px 16px 0 rgba(215,180,120,0.09);
  transition: background .2s, color .2s, transform .15s;
  display: inline-block;
  margin-top: 20px;
}
.cta.primary:hover, .cta.primary:focus {
  background: #4B2E1F;
  color: #D7B478;
  transform: scale(1.04) translateY(-4px);
}

button, .button, input[type="submit"], input[type="button"] {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 38px;
  outline: none;
  border: none;
  font-size: 1rem;
  padding: 10px 26px;
  cursor: pointer;
  background: #D7B478;
  color: #4B2E1F;
  transition: background .2s, color .2s;
}
button:hover, .button:hover, input[type="submit"]:hover, input[type="button"]:hover {
  background: #4B2E1F;
  color: #D7B478;
}

/* --- FORMS (if any) --- */
input, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 7px;
  border: 1.5px solid #D7B478;
  background: #fff;
  color: #4B2E1F;
  padding: 10px 14px;
  font-size: 1rem;
  margin-bottom: 14px;
}
input:focus, textarea:focus {
  border-color: #4B2E1F;
  outline: 2px solid #D7B47866;
}

/* --- FOOTER --- */
footer {
  background: #4B2E1F;
  color: #FAF7F2;
  padding: 40px 0;
  margin-top: 60px;
}
.footer-nav, .footer-contact, .branding {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #D7B478;
  font-size: 1rem;
  text-decoration: none;
  padding: 4px 12px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #D7B478;
  color: #4B2E1F;
}
.footer-contact span {
  color: #FAF7F2;
  font-size: 0.96rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-contact img {
  height: 19px;
  width: auto;
  opacity: .89;
}
.branding img {
  height: 32px;
  width: auto;
}
.branding span {
  color: #FAF7F2;
  margin-left: 8px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}

@media (max-width: 600px) {
  footer {
    padding: 24px 0;
  }
  .footer-nav, .footer-contact, .branding {
    flex-direction: column;
    gap: 8px;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffde6;
  color: #4B2E1F;
  box-shadow: 0 -4px 32px 0 rgba(75,46,31,0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 36px;
  z-index: 5200;
  font-size: 1.01rem;
  animation: slide-in-up .7s 1;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}
.cookie-banner p {
  flex: 1;
  margin: 0;
  font-size: 1rem;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  background: #D7B478;
  color: #4B2E1F;
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 8px 18px;
  min-width: 62px;
  border: none;
  cursor: pointer;
  transition: background .17s, color .17s;
  box-shadow: 0 2px 6px 0 #D7B47833;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #4B2E1F;
  color: #D7B478;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 10px;
    font-size: 0.98rem;
  }
  .cookie-banner-buttons {
    width: 100%;
    gap: 9px;
    flex-direction: row;
    justify-content: flex-end;
  }
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(36,23,11,0.37);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fade-in .25s;
}
.cookie-modal {
  background: #fff;
  color: #4B2E1F;
  border-radius: 20px;
  max-width: 420px;
  width: 90vw;
  padding: 36px 22px 22px 22px;
  box-shadow: 0 8px 42px 0 #D7B47844;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: pop-in .5s;
}
.cookie-modal h2 {
  color: #4B2E1F;
  margin-bottom: 6px;
  font-family: 'Playfair Display', serif;
  font-size: 1.46rem;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 9px;
  font-size: 1.06rem;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: #D7B478;
  height: 18px;
  width: 18px;
}
.cookie-modal-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal button {
  background: #D7B478;
  color: #4B2E1F;
  border-radius: 10px;
  font-size: 1rem;
  padding: 8px 16px;
  min-width: 60px;
  border: none;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #4B2E1F;
  color: #D7B478;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px;
  right: 20px;
  background: none;
  border: none;
  color: #4B2E1F;
  font-size: 1.5rem;
  cursor: pointer;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #D7B478;
  outline: none;
}
@media (max-width: 600px) {
  .cookie-modal {
    max-width: 97vw;
    padding: 22px 6px 16px 8px;
  }
}

/* --- ANIMATIONS --- */
@keyframes slide-in-up {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pop-in {
  from { transform: scale(0.88); opacity: 0.7; }
  to { transform: scale(1); opacity: 1; }
}

/* --- ARTISTIC/CREATIVE DETAILS --- */
section, .card, .feature-item, .testimonial-card {
  position: relative;
  /* Artistic highlight effect (brush streak) for hero/cta */
}
section::before {
  content: "";
  display: block;
  position: absolute;
  top: -17px; left: 42px;
  width: 70px; height: 9px;
  background: #D7B478;
  opacity: 0.18;
  border-radius: 8px;
  z-index: 0;
}
section:nth-child(2)::before {
  left: auto; right: 24px; background: #4B2E1F; opacity: 0.18;
  width: 64px; height: 8px;
}
@media (max-width: 600px) {
  section::before { top: -8px; left: 18px; width: 40px; height: 5px; }
  section:nth-child(2)::before { right: 12px; width: 30px; height: 4px; }
}

/* Decorative circles on cards */
.card::after {
  content: "";
  position: absolute;
  right: 22px; top: 16px;
  width: 18px; height: 18px;
  background: #D7B47833;
  border-radius: 50%;
  z-index: 1;
  opacity: .6;
  pointer-events: none;
}
.card:hover::after {
  background: #D7B47877;
  opacity: 0.9;
}

/* --- VISUAL HIERARCHY SPACING --- */
.section + .section,
.container + .container,
.card + .card,
.feature-item + .feature-item {
  margin-top: 24px !important;
}

/* --- RESPONSIVE FLUIDITY & SPACING --- */
@media (max-width: 900px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
  .card, .feature-item, .testimonial-card, .team-profiles > div { min-width: 98%; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.34rem; }
  h2 { font-size: 1.06rem; }
}

/* --- GENERAL SPACING RULES PER SPEC --- */
.card-container, .content-grid, .team-profiles {
  gap: 24px;
}
.card, .feature-item, .testimonial-card {
  margin-bottom: 20px;
}
.text-image-section {
  gap: 30px;
  align-items: center;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; }
}

/* --- LINKS STYLES FOR ACCESSIBILITY --- */
a:focus-visible {
  outline: 2px solid #D7B478;
  outline-offset: 2px;
}

/* --- ADJUSTMENTS FOR HTML STRUCTURE --- */
ul > li > img {
  display: inline-block;
  height: 26px;
  width: auto;
  vertical-align: middle;
  margin-right: 6px;
}
ul > li > strong {
  color: #D7B478;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}

/* --- MISCELLANEOUS --- */
::-webkit-input-placeholder { color: #ac8968; opacity: 1; }
::-moz-placeholder { color: #ac8968; opacity: 1; }
:-ms-input-placeholder { color: #ac8968; opacity: 1; }
::placeholder { color: #ac8968; opacity: 1; }

/* --- PRINT FRIENDLINESS --- */
@media print {
  body, .container, section, .card, .content-wrapper, footer { background: #fff !important; color: #000 !important; }
  header, .main-nav, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
}

/* --- END OF CSS --- */
