/* --- CSS RESET & NORMALIZE --- */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FFF9F4;
  color: #39322C;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #5B1D12;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #a63519;
  outline: none;
}
ul, ol {
  list-style-position: inside;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

:root {
  --primary: #5B1D12;
  --primary-dark: #43160d;
  --secondary: #D2B48C;
  --secondary-light: #E7D6BA;
  --accent: #FFF9F4;
  --white: #fff;
  --shadow: 0 4px 24px 0 rgba(91,29,18,0.10);
  --radius: 18px;
}

/* --- TYPOGRAPHY SCALE --- */
h1 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--primary);
  margin-bottom: 24px;
}
h2 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--primary);
  margin-bottom: 18px;
}
h3 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  color: var(--primary);
}
.subheadline {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 28px;
}
p, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #39322C;
}
strong {
  color: var(--primary);
  font-weight: bold;
}
.team-role {
  font-weight: 600;
  color: var(--primary);
}
.tag {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 0.95em;
  vertical-align: middle;
  margin-left: 8px;
}

/* --- CONTAINER & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section,
.about-brief,
.about,
.values,
.team,
.events-list,
.blog-list,
.descriptions,
.contact-form,
.contact-details {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section:last-child,
.about-brief:last-child,
.about:last-child,
.values:last-child,
.team:last-child,
.events-list:last-child,
.blog-list:last-child,
.descriptions:last-child,
.contact-form:last-child,
.contact-details:last-child {
  margin-bottom: 0;
}

.card-container, .feature-grid, .service-list, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(91,29,18,0.15);
  transform: translateY(-4px) scale(1.017);
}

.content-grid { 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;
  margin-bottom: 24px;
  background: var(--secondary-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s, transform 0.3s;
}
.testimonial-card:last-child {
  margin-bottom: 0;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(91,29,18,0.11);
  transform: translateY(-3px) scale(1.01);
}
.testimonial-meta {
  font-size: 0.95em;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #5B1D12;
  opacity: 0.9;
}

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

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 1px 8px 0 rgba(91,29,18,0.06);
  margin-bottom: 20px;
}
.text-section:last-child {
  margin-bottom: 0;
}

/* --- HEADER & NAV --- */
header {
  position: relative;
  background: linear-gradient(90deg, #D2B48C 0%, #FFF9F4 100%);
  box-shadow: 0 2px 12px rgba(91,29,18,0.04);
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 30px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
nav a:hover, nav a:focus {
  background: var(--secondary-light);
  color: var(--primary-dark);
}
.cta-btn {
  background: var(--primary);
  color: var(--white);
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 10px 28px;
  border-radius: var(--radius);
  box-shadow: 0 1px 8px 0 rgba(91,29,18,0.12);
  transition: background 0.22s, box-shadow 0.22s, transform 0.14s;
  outline: none;
  border: none;
  cursor: pointer;
  margin-left: 22px;
  display: inline-block;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #43160d;
  box-shadow: 0 6px 32px 0 rgba(91,29,18,0.13);
  transform: translateY(-2px) scale(1.04);
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  z-index: 52;
  cursor: pointer;
}
@media (max-width: 992px) {
  header .container {
    gap: 10px;
  }
  nav {
    gap: 12px;
  }
  .cta-btn {
    margin-left: 10px;
    padding: 9px 18px;
  }
}
@media (max-width: 850px) {
  header .container nav,
  header .container .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* Hamburger Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(115deg, var(--secondary) 55%, var(--accent) 100%);
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 48px 28px 24px 28px;
  box-shadow: -2px 0 18px 0 rgba(91,29,18,0.02);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 28px;
  right: 28px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 120;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 56px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.19rem;
  color: var(--primary);
  background: transparent;
  border-radius: 8px;
  padding: 12px 0;
  transition: background 0.16s, color 0.18s, padding 0.15s;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary-light);
  color: var(--primary-dark);
  padding-left: 14px;
}

/* --- HERO --- */
.hero {
  background: linear-gradient(120deg, var(--secondary) 28%, var(--accent) 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding: 40px 0 54px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  gap: 12px;
}
.hero h1 {
  color: var(--primary-dark);
  text-shadow: 0 2px 10px #fff3e3;
}

/* --- SERVICES & FEATURES LISTS --- */
.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
  margin-bottom: 0;
}
.feature-grid li, .service-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 240px;
  max-width: 300px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px 20px 20px;
  transition: box-shadow 0.25s, transform 0.19s;
  margin-bottom: 0;
  gap: 13px;
}
.feature-grid li:hover, .service-list li:hover {
  box-shadow: 0 8px 33px 0 rgba(91,29,18,0.13);
  transform: translateY(-5px) scale(1.01);
}
.feature-grid img, .service-list img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
}

/* --- CTA BLOCKS --- */
.cta, .cta-newsletter {
  margin-bottom: 60px;
  padding: 48px 20px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #FFF9F4 68%, #D2B48C 100%);
  text-align: center;
  box-shadow: var(--shadow);
}
.cta .content-wrapper, .cta-newsletter .content-wrapper {
  align-items: center;
  gap: 14px;
}
.cta h2, .cta-newsletter h2 {
  color: var(--primary);
  margin-bottom: 14px;
}
.cta-btn {
  margin: 8px 0;
}

/* --- FOOTER --- */
footer {
  background: linear-gradient(90deg, #D2B48C 0%, #FFF9F4 100%);
  box-shadow: 0 -3px 24px 0 rgba(91,29,18,0.09);
  margin-top: 60px;
  padding-top: 28px;
  padding-bottom: 30px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  font-size: 0.99rem;
  font-weight: 600;
}
.footer-contact {
  margin-top: 8px;
  font-size: 0.97rem;
  color: #71553d;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.brand img {
  width: 48px;
  height: auto;
}

/* --- BLOG SPECIFICS --- */
.blog-list .text-section {
  background: var(--accent);
  box-shadow: var(--shadow);
}
.blog-list article {
  margin-bottom: 28px;
}
.blog-list article:last-child {
  margin-bottom: 0;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 992px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .section, .about-brief, .about, .values, .team, .events-list, .blog-list, .descriptions, .contact-form, .contact-details { padding: 32px 7vw; }
  .cta, .cta-newsletter { padding: 32px 10vw; }
  .feature-grid li, .service-list li { min-width: 180px; padding: 17px 10px 17px 13px; }
}
@media (max-width: 700px) {
  .feature-grid, .service-list, .content-grid, .card-container { flex-direction: column; gap: 20px; }
  .container { padding: 0 8px; }
  header .container { padding: 0 10px; }
  .section, .about-brief, .about, .values, .team, .events-list, .blog-list, .descriptions, .contact-form, .contact-details { padding: 24px 3vw; margin-bottom: 38px; }
  .cta, .cta-newsletter { padding: 22px 9px; }
  .testimonial-card { padding: 16px 10px; }
  .feature-grid li, .service-list li { min-width: 100%; max-width: 100%; }
  footer .container { gap: 18px; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; }
  .content-wrapper { gap: 14px; }
  .hero { min-height: 220px; padding: 22px 0 36px 0; }
}
@media (max-width: 400px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.1rem; }
}

/* --- ANIMATIONS & TRANSITIONS --- */
.card, .feature-grid li, .service-list li, .testimonial-card {
  transition: box-shadow 0.25s, transform 0.18s;
}
.cta-btn, .mobile-nav a, nav a {
  transition: background 0.18s, color 0.16s, transform 0.17s;
}

/* --- BUTTONS --- */
button, .cta-btn {
  outline: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(90deg, var(--accent) 60%, var(--secondary-light) 100%);
  color: var(--primary);
  border-top: 2.5px solid var(--secondary);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  font-size: 1em;
  box-shadow: 0 -2px 18px rgba(91,29,18,0.07);
  z-index: 2000;
  animation: cookie-slide-up 0.46s cubic-bezier(.8,.07,.34,1.03);
}
@keyframes cookie-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  border-radius: 10px;
  font-size: 1rem;
  font-weight: bold;
  padding: 7px 18px;
  border: none;
  cursor: pointer;
  background: var(--secondary);
  color: var(--primary);
  transition: background 0.18s, color 0.18s,
    box-shadow 0.14s, transform 0.14s;
}
.cookie-btn.accept {
  background: var(--primary);
  color: var(--white);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus
{ background: var(--primary-dark); color: var(--white); }
.cookie-btn.settings {
  background: var(--accent);
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--secondary-light);
  color: var(--primary-dark);
}

/* --- COOKIE CONSENT MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2100;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(91,29,18,0.41);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fade .28s;
}
@keyframes cookie-modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--accent);
  max-width: 370px;
  width: 95vw;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 32px 22px 22px 22px;
  color: var(--primary);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: cookie-modal-slide .32s cubic-bezier(.13,.98,.62,1);
}
@keyframes cookie-modal-slide {
  from { transform: translateY(45px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  font-family: 'Merriweather', Georgia, serif;
  color: var(--primary);
  margin-bottom: 4px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 10px;
}
.cookie-modal-category label {
  font-size: 1.01rem;
  color: var(--primary);
  cursor: pointer;
}
.cookie-modal-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  border-radius: 4px;
}
.cookie-modal-category.essential label {
  font-weight: bold;
  color: #71553d;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 3px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 16px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.65rem;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--primary-dark);
}

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

/* --- MISCELLANEOUS --- */
::-webkit-scrollbar {
  width: 10px;
  background: #EFE8D6;
}
::-webkit-scrollbar-thumb {
  background: #d2b48c;
  border-radius: 7px;
}

hr {
  border: 0;
  border-top: 1.5px solid var(--secondary);
  margin: 26px 0;
}

/* --- TABLES & FORMS (if any in pages) --- */
table {
  border-collapse: collapse;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  margin-bottom: 24px;
}
th, td {
  padding: 12px 16px;
  border-bottom: 1px solid #eee1cf;
  text-align: left;
}
tr:last-child td {
  border-bottom: 0;
}
input[type="text"], input[type="email"], textarea {
  width: 100%;
  font-size: 1rem;
  border: 1.5px solid var(--secondary);
  border-radius: 8px;
  padding: 9px;
  margin-bottom: 12px;
  background: var(--accent);
  color: var(--primary);
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  outline: 2.5px solid var(--secondary);
}

/* --- PRINT FRIENDLY --- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  .section, .about-brief, .about, .values, .team, .events-list, .blog-list, .descriptions, .contact-form, .contact-details { box-shadow: none; background: #fff; }
}
