/* 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;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #F8F5F0; /* Brand accent */
  min-height: 100vh;
  color: #2D3A4A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  position: relative;
}
a {
  color: #2D3A4A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B69D60;
}
img {
  max-width: 100%;
  height: auto;
}
ul, ol {
  padding-left: 28px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: bold;
}

/* FONT FACE VINTAGE/RETRO */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,700|Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: #2D3A4A;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.7rem;
}
h3 {
  font-size: 1.25rem;
}
@media (min-width: 768px) {
  h1 {
    font-size: 2.75rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.4rem;
  }
}

p, li, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  color: #4C4C4C;
  font-size: 1rem;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
  max-width: 1200px;
}

/******** HEADER ********/
header {
  background: #FEFCF7; /* subtle off-white for retro feel */
  border-bottom: 4px double #B69D60;
  box-shadow: 0 4px 16px rgba(45,58,74,0.05);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 16px;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #2D3A4A;
  padding: 6px 12px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  transition: background 0.15s, color 0.2s;
  position: relative;
}
nav a.cta-btn {
  background: #B69D60;
  color: #fff !important;
  font-weight: bold;
  border: none;
  outline: none;
  box-shadow: 0 2px 6px rgba(182,157,96,0.12);
  font-family: 'Playfair Display', serif;
  margin-left: 16px;
  transition: background 0.2s, color 0.2s, box-shadow 0.15s;
}
nav a.cta-btn:hover, nav a.cta-btn:focus {
  background: #2D3A4A;
  color: #fff;
  box-shadow: 0 4px 12px rgba(45,58,74,0.18);
}
nav a:hover, nav a:focus {
  background: #F8F2E0;
  color: #B69D60;
}

.mobile-menu-toggle {
  display: inline-flex;
  background: #B69D60;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  padding: 6px 16px;
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #B69D60;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(45,58,74, 0.97);
  color: #fff;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 22px;
  width: 100vw;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F8F5F0;
  font-size: 2.5rem;
  align-self: flex-end;
  margin: 10px 22px 30px 0;
  cursor: pointer;
  padding: 2px 15px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #B69D60;
  color: #2D3A4A;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
  margin-left: 22px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  padding: 10px 0;
  border-bottom: 1px dashed #B69D60;
  width: 80vw;
  margin-right: 18px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F8F2E0;
  background: none;
  border-bottom: 2px solid #F8F2E0;
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}
@media (max-width: 1024px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 1025px) {
  nav { display: flex; }
}

/*********** MAIN STRUCTURE + SECTIONS ***********/
main {
  min-height: 70vh;
  margin-bottom: 40px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FEFCF7;
  border-radius: 22px;
  box-shadow: 0 8px 24px 0 rgba(45,58,74,0.07);
}
@media (max-width: 600px) {
  .section {
    padding: 28px 6px;
    margin-bottom: 36px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

/******** HERO ********/
.hero {
  background: repeating-linear-gradient(135deg, #F8F2E0, #F8F2E0 28px, #FFF8EC 34px, #FFF8EC 48px);
  border-bottom: 4px double #B69D60;
  margin-bottom: 56px;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero h1 {
  color: #2D3A4A;
  text-shadow: 0 1px 0 #F8F2E0, 0 2px 0 #B69D6044;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 2.2rem;
}
.hero p {
  color: #555;
  font-size: 1.125rem;
  margin-bottom: 26px;
}
@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
  .hero { padding-top: 88px; padding-bottom: 88px; }
}

/******** FLEX UTILITY CLASSES ********/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff8ec;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 rgba(182,157,96,0.13);
  border: 1.5px solid #edd39c;
  margin-bottom: 20px;
  padding: 32px 24px;
  position: relative;
  flex: 1 1 280px;
  min-width: 280px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 12px 36px 0 rgba(45,58,74,0.13);
  transform: translateY(-3px) scale(1.012);
  z-index: 4;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: center; gap:22px; }
}
/******* FEATURE + SERVICE FLEX LISTS ******/
.features, .topics, .services {
  margin-bottom: 60px;
}
.feature-grid, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  margin-top: 24px;
}
.feature-grid > div, .service-grid > div {
  background: #FEFCF7;
  border-radius: 14px;
  border: 1.5px dashed #edd39c;
  box-shadow: 0 2px 10px rgba(45,58,74,0.07);
  padding: 28px 22px 20px 22px;
  flex: 1 1 200px;
  min-width: 210px;
  text-align: center;
  transition: box-shadow 0.18s, transform 0.17s;
}
.feature-grid > div:hover, .service-grid > div:hover {
  box-shadow: 0 8px 32px rgba(45,58,74,0.13);
  transform: translateY(-2px) scale(1.012);
  background: #FFF8EC;
}
.feature-grid img, .service-grid img {
  max-width: 52px;
  margin-bottom: 15px;
  filter: sepia(0.18) hue-rotate(-30deg) brightness(0.90);
}
.features ul, .topics ul, .services ul {
  margin-bottom: 0;
}

/********* CTA Buttons ************/
.cta-btn {
  display: inline-block;
  text-align: center;
  background: #B69D60;
  color: #fff !important;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.08rem;
  padding: 11px 32px;
  border-radius: 26px;
  border: none;
  box-shadow: 0 2px 10px rgba(182,157,96,0.12);
  margin-top: 14px;
  transition: background 0.15s, color 0.17s, box-shadow 0.17s, transform 0.13s;
  cursor: pointer;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #2D3A4A;
  color: #fff;
  box-shadow: 0 6px 24px rgba(45,58,74,0.18);
  transform: translateY(-2px) scale(1.03);
}

/*********** TESTIMONIALS ************/
.testimonials, .testimonial-slider {
  width: 100%;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.testimonial-card {
  background: #fff8ec;
  border: 2px solid #edd39c;
  border-radius: 19px;
  box-shadow: 0 3px 21px rgba(45,58,74,0.09);
  padding: 20px 32px 20px 24px;
  color: #2D3A4A;
  max-width: 360px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 40px rgba(182,157,96,0.13);
  transform: scale(1.025);
}
.testimonial-card p {
  font-size: 1.13rem;
  font-family: 'Playfair Display', serif;
  color: #2D3A4A;
  margin-bottom: 0;
}
.testimonial-info {
  color: #B69D60;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-top: -6px;
}

/******* FOOTER *******/
footer {
  background: #2D3A4A;
  color: #fff8ec;
  padding: 36px 0;
  border-top: 4px double #B69D60;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}
footer img {
  height: 44px;
  display: inline-block;
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
}
.footer-nav a {
  color: #FFF7E4;
  font-size: 1rem;
  font-family: 'Playfair Display',serif;
  padding: 2px 10px;
  border-radius: 4px;
  background: none;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #B69D60;
  background: #FEFCF7;
}
.footer-contact {
  max-width: 340px;
}
.footer-contact h3 {
  color: #B69D60;
  font-family: 'Playfair Display',serif;
  font-size: 1.18rem;
  margin-bottom: 8px;
}
.footer-contact a {
  color: #FFEDBE;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
}
.footer-contact a:hover, .footer-contact a:focus {
  text-decoration: underline;
  color: #B69D60;
}
.footer-contact p {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #fff8ec;
  font-size: 0.98rem;
  margin-bottom: 9px;
  letter-spacing: 0.01em;
}
.footer-contact img {
  height: 18px;
  margin-bottom: 0;
}

/******* SPECIAL BLOCKS & LISTS *******/
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.team-member {
  background: #FFF8EC;
  padding: 20px 18px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(45,58,74,0.07);
  flex: 1 1 220px;
  min-width: 200px;
  border: 1.1px solid #EDD39C;
  font-family: 'Roboto',sans-serif;
}
.team-member h3 {
  color: #B69D60;
  font-size: 1.06rem;
  margin-bottom: 9px;
}

.contact-details {
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-details img {
  height: 20px;
  width: 20px;
}
.contact-cta {
  margin-top: 9px;
}

/******* FORMS, THANK YOU, LEGAL *******/
.thank-you-actions {
  margin-top: 19px;
}
.legal {
  background: #FEFCF7;
  border-radius: 18px;
  box-shadow: 0 1.5px 10px rgba(182,157,96,0.11);
  padding: 38px 20px;
  margin-bottom: 54px;
}

/********* COOKIE CONSENT BANNER *********/
#cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #2D3A4A;
  color: #fff8ec;
  z-index: 99999;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px 16px 14px 16px;
  box-shadow: 0 -6px 30px 3px rgba(45,58,74,0.27);
  font-size: 1.1rem;
  gap: 16px;
  animation: fadeInCookie 1.1s cubic-bezier(.67,0,.34,1);
}
@keyframes fadeInCookie {
  from { opacity: 0; transform: translateY(44px); }
  to   { opacity: 1; transform: translateY(0); }
}
#cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}
#cookie-consent-banner button {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  padding: 8px 21px;
  border-radius: 24px;
  border: none;
  margin: 0;
  background: #B69D60;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(182,157,96,0.13);
  transition: background 0.16s, color 0.18s;
}
#cookie-consent-banner button:hover, #cookie-consent-banner button:focus {
  background: #FEFCF7;
  color: #B69D60;
}
#cookie-consent-banner .cookie-actions .settings-btn {
  background: #2D3A4A;
  color: #B69D60;
  border: 2px solid #B69D60;
  margin-left: 3px;
}
#cookie-consent-banner .cookie-actions .settings-btn:hover, #cookie-consent-banner .cookie-actions .settings-btn:focus {
  background: #B69D60;
  color: #fff;
}

/******* COOKIE CONSENT MODAL *******/
#cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100000;
  background: rgba(45,58,74,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInCookieModal .6s cubic-bezier(.75,0,.32,1);
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
#cookie-modal .modal-content {
  background: #fff8ec;
  padding: 37px 27px 22px 27px;
  border-radius: 22px;
  max-width: 390px;
  box-shadow: 0 10px 44px 3px rgba(45,58,74,0.15);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
#cookie-modal h3 {
  font-family: 'Playfair Display', serif;
  color: #2D3A4A;
  font-size: 1.25rem;
  margin-bottom: 12px;
}
#cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FEFCF7;
  padding: 8px 14px;
  margin-bottom: 11px;
  border-radius: 10px;
  font-size: 1.05rem;
}
#cookie-modal .category input[type='checkbox'] {
  accent-color: #B69D60;
  width: 18px;
  height: 18px;
}
#cookie-modal .category label {
  font-family: 'Roboto', sans-serif;
  color: #2D3A4A;
}
#cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 14px;
}
#cookie-modal .modal-actions button {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  padding: 7px 15px;
  border-radius: 20px;
  border: none;
  background: #B69D60;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 1px 7px rgba(182,157,96,0.11);
  transition: background 0.16s, color 0.18s;
}
#cookie-modal .modal-actions button.secondary {
  background: #2D3A4A;
  color: #B69D60;
  border: 2px solid #B69D60;
}
#cookie-modal .modal-actions button.secondary:hover, #cookie-modal .modal-actions button.secondary:focus {
  background: #B69D60;
  color: #fff;
}
#cookie-modal .modal-actions button:hover, #cookie-modal .modal-actions button:focus {
  background: #2D3A4A;
  color: #B69D60;
}

/******** MOBILE-RESPONSIVE DESIGN ********/
@media (max-width: 900px) {
  .feature-grid > div, .service-grid > div, .team-member, .testimonial-card {
    min-width: 160px;
    flex: 1 1 160px;
    padding: 18px 10px;
  }
  .testimonial-card { padding: 14px 12px 12px 12px; }
}
@media (max-width: 768px) {
  .container {
    padding-left: 8px; padding-right: 8px; max-width: 99vw;
  }
  .footer-nav, .footer-contact {
    width: 100%;
    flex: 1 1 100%;
  }
  footer .container {
    flex-direction: column;
    gap: 19px;
  }
  .feature-grid, .service-grid, .content-grid, .testimonial-slider, .card-container, .team-list {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  nav { gap: 18px; }
}
@media (max-width: 480px) {
  .container { padding-left: 2px; padding-right: 2px; }
  .hero h1 { font-size: 1.35rem; }
  .hero, .section {
    padding: 13px 2px;
    margin-bottom: 24px;
  }
}

/* Micro-interactions and retro/vintage effects */
.card, .feature-grid > div, .service-grid > div, .team-member, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.15s, background 0.18s;
}
.card:hover, .feature-grid > div:hover, .service-grid > div:hover, .team-member:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(182,157,96,0.19);
  background: #fffdf7;
}

/***** RETRO ACCENTS & DECORATIVE BORDERS *****/
.section, .legal, .card, .testimonial-card, .feature-grid > div, .service-grid > div, .team-member {
  border-style: solid;
  border-width: 1.5px;
  border-color: #edd39c;
  border-radius: 11px;
}

/***** FORMS & INPUTS RETRO STYLE (if shown) *****/
input, textarea, select {
  font-family: 'Roboto', sans-serif;
  border: 1.5px solid #B69D60;
  border-radius: 9px;
  padding: 9px 13px;
  font-size: 1rem;
  background: #FEFCF7;
  margin-bottom: 16px;
  width: 100%;
  box-shadow: 0 2px 12px rgba(45,58,74,0.09);
  transition: border 0.15s, background 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #2D3A4A;
  outline: none;
  background: #fff;
}

/********** HORIZONTAL RULE - RETRO STYLE **********/
hr {
  border: 0;
  height: 2px;
  background: repeating-linear-gradient(to right, #B69D60, #B69D60 20px, #fff 20px, #fff 40px);
  margin: 32px 0;
}

/********* SPACING & ALIGNMENT PATTERNS *********/
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/********** VISUAL VINTAGE TOUCHES (DECOR) **********/
.section, .card, .testimonial-card, .feature-grid > div, .service-grid > div {
  /* Faint corner accent (dotted), evokes nostalgia */
  box-shadow: 0 2px 10px rgba(182,157,96,0.07), 0 0.5px 0 rgba(45,58,74,0.05);
}

/* Accessibility: Force strong color contrast in testmonials/reviews */
.testimonial-card, .testimonial-card p, .testimonial-info {
  color: #2D3A4A !important;
  background: #fff8ec !important;
}

/*********** PRINT CSS ***********/
@media print {
  header, footer, #cookie-consent-banner, #cookie-modal { display: none !important; }
  main { margin: 0; }
}
