/* RESET & NORMALIZE (vintage retro, mobile-first, flexbox only) */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  height: 100%;
  scroll-behavior: smooth;
  background: #f7f3e9; /* ultra-light warm retro base */
}
body {
  background: #FAF7F1;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: #29241b;
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: #31526C;
  text-decoration: underline;
  transition: color .2s;
}
a:hover, a:focus {
  color: #a95d2e;
  text-decoration: underline wavy 2px #ffcb90;
}

/* ================= VINTAGE RETRO VARIABLES ================= */
:root {
  --vintage-navy: #1C2837;
  --vintage-blue: #426B89;
  --vintage-accent: #F5F6FA;
  --vintage-cream: #FAF7F1;
  --vintage-mustard: #F3C15C;  /* retro yellow */
  --vintage-orange: #c68642;   /* retro orange */
  --vintage-darkbrown: #53341A;
  --vintage-pastelblue: #B1C9D5; /* retro muted blue */
  --vintage-pastelyellow: #FFF8DE; /* off-white */
  --vintage-red: #D55336; /* retro red */
  --vintage-green: #4C834B; /* muted retro green */
  --font-display: 'Merriweather', serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --shadow-soft: 0 2px 8px rgba(44,27,17,.08);
  --border-radius: 14px;
  --border-radius-card: 18px;
  --border-radius-btn: 32px;
}

/* ================= BASE TYPOGRAPHY & HEADINGS ================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--vintage-darkbrown);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  color: var(--vintage-navy);
  text-shadow: 0 2px 0 #ffffff80, 0 4px 10px #d9b68f30;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--vintage-blue);
}
h3 {
  font-size: 1.38rem;
  margin-bottom: 10px;
  color: var(--vintage-orange);
  font-weight: 600;
}
h4 {
  font-size: 1.15rem;
  color: var(--vintage-darkbrown);
}
.subtitle {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--vintage-darkbrown);
  margin-bottom: 16px;
  font-weight: 400;
}
p, li {
  font-size: 1rem;
  color: #544024;
  margin-bottom: 8px;
}
strong {
  color: var(--vintage-navy);
  font-weight: 700;
}

/* ================ COMMON LAYOUT =============== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--vintage-pastelyellow);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
}

/* ============== FLEXBOX MANDATORY CONTAINERS & SPACING ============= */
.feature-grid,
.service-cards,
.testimonial-cards,
.team-bios,
.card-container,
.card-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.feature {
  background: #fff7dc;
  border: 2px solid #f3c15c60;
  border-radius: var(--border-radius-card);
  box-shadow: var(--shadow-soft);
  padding: 28px 22px;
  flex: 1 1 240px;
  min-width: 225px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.service-card {
  background: #f9f8f3;
  border: 2px dashed #c68642aa;
  border-radius: var(--border-radius-card);
  box-shadow: 0 2px 12px #a95d2e17;
  flex: 1 1 220px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px 22px;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  margin-right: 8px; /* for flex wrap space */
  transition: transform .14s, box-shadow .19s;
}
.service-card:hover, .feature:hover {
  box-shadow: 0 3px 16px #d5533620;
  transform: translateY(-2px) scale(1.025);
  border-color: #f3c15c;
}

.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fffbe3;
  border: 2px solid #b1c9d5;
  border-radius: var(--border-radius);
  box-shadow: 0 1px 8px #31526C16;
  max-width: 370px;
  min-width: 240px;
}
.testimonial-card p {
  font-size: 1.06rem;
  color: #33270c;
  font-family: var(--font-display);
}
.testimonial-card .stars {
  color: #ffe783;
  font-size: 1.32rem;
  letter-spacing: 0.09em;
  text-shadow: 0 2px 3px #e2ba008a;
}
.testimonial-card strong {
  color: #31526C;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
  margin-top: 8px;
}

.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-bio-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #f9f9ef;
  border: 2px solid #bfa990;
  border-radius: var(--border-radius-card);
  padding: 26px 20px;
  gap: 12px;
  flex: 1 1 240px;
  min-width: 220px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .12s, border-color .2s;
}
.team-bio-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  background: #ffeeda;
  border-radius: 98px;
  border: 2px solid #f3c15c;
  box-shadow: 0 1px 5px #e8c89f55;
}
.team-bio-card:hover {
  box-shadow: 0 4px 18px #bfa99034;
  border-color: #c68642;
}

.text-section {
  margin-bottom: 24px;
}
.text-section ul, .text-section ol {
  margin-left: 1.3em;
  margin-bottom: 16px;
}
.text-section li {
  list-style: disc inside;
  margin-bottom: 10px;
}
.text-section h2, .text-section h3 {
  margin-top: 16px;
}

.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #f5f2e5;
  box-shadow: 0 2px 7px #99805e28;
  border-radius: var(--border-radius-card);
  margin-bottom: 20px;
  position: relative;
  min-width: 210px;
  flex: 1 1 210px;
}

/* Contact details & blocks */
.contact-details {
  background: #fff9eb;
  border-radius: var(--border-radius);
  border: 1px solid #ffe78360;
  padding: 18px 20px 16px 20px;
  margin-bottom: 20px;
  font-size: 1.01rem;
  color: #463811;
  box-shadow: 0 1px 7px #f3c15c22;
}
.address-block, .business-hours, .email-link, .location-map-embed {
  background: #f5f3ea;
  border-radius: var(--border-radius);
  padding: 18px 20px;
  margin-bottom: 20px;
  color: #39240f;
  border: 1px solid #c6864238;
}
.location-map-embed img {
  width: 28px;
  margin-bottom: 9px;
}
.transport-options ul {
  margin-left: 1.3em;
}
.transport-options li {
  list-style: circle inside;
  margin-bottom: 6px;
}

/* ========== HEADER & NAVIGATION ============ */
header {
  width: 100%;
  background: #eedbc070;
  box-shadow: 0 2px 16px #a95d2e08;
  border-bottom: 2px solid #f3c15c44;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  position: relative;
  gap: 18px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 18px;
  z-index: 21;
}
.logo img {
  height: 48px;
  width: auto;
  filter: sepia(13%) contrast(1.09) grayscale(.09); /* vintage effect */
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1rem;
  color: #1C2837;
  background: none;
  border-radius: 0;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-bottom .2s;
  text-decoration: none;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #c68642;
  border-bottom: 2px solid #f3c15c;
  background: none;
}
.cta-btn {
  font-family: var(--font-display);
  font-size: 1.08rem;
  background: linear-gradient(to right, #ffe783 40%, #f3c15c 100%);
  color: #3d2b13;
  border-radius: var(--border-radius-btn);
  padding: 12px 30px;
  border: none;
  font-weight: bold;
  box-shadow: 0 2px 8px #deaa0875;
  cursor: pointer;
  margin-left: 14px;
  transition: background .18s, box-shadow .25s, color .15s, transform .11s;
  text-decoration: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #c68642;
  color: #FFF8DE;
  box-shadow: 0 3px 22px #d5533631;
  transform: scale(1.04);
}

/* ======= MOBILE HAMBURGER MENU ====== */
.mobile-menu-toggle {
  display: inline-flex;
  font-size: 2.2rem;
  line-height: 1;
  color: #c68642;
  background: #fffbe3;
  border: none;
  border-radius: 12px;
  padding: 3px 11px;
  cursor: pointer;
  margin-left: 12px;
  box-shadow: 0 1px 8px #f3c15c3c;
  transition: background .15s, color .17s;
  z-index: 21;
}
.mobile-menu-toggle:hover {
  background: #f3c15c;
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: #f3c15c;
  position: fixed;
  top: 0;
  left: 0;
  width: 92vw;
  max-width: 350px;
  height: 100vh;
  z-index: 99;
  padding: 32px 24px 16px 28px;
  transform: translateX(-105%);
  box-shadow: 0 8px 32px #83572c40;
  transition: transform .34s cubic-bezier(.68, -.1, .25, 1.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #fff;
  background: none;
  border: none;
  position: absolute;
  top: 14px;
  right: 18px;
  cursor: pointer;
  z-index: 120;
  text-shadow: 0 2px 8px #83572c99;
}
.mobile-nav {
  margin-top: 46px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: #53341A;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 4px 10px 0;
  transition: background .18s, color .18s, padding .17s;
  text-decoration: none;
  position: relative;
  width: 100%;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #fffbe3;
  color: #c68642;
  padding-left: 10px;
}

/* Show/hide nav for breakpoints */
.main-nav, .cta-btn {
  display: none;
}
@media (min-width: 1020px) {
  .main-nav, .cta-btn {
    display: initial;
  }
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}

/* =========== HERO & SECTION LAYOUTS ========== */
main > section {
  margin-bottom: 60px;
  padding: 0;
  background: none;
}
/* Direct children of .container as flex for 2-col layouts on desktop */
@media (min-width: 900px) {
  .content-wrapper {
    flex-direction: column;
    gap: 36px;
  }
  .feature-grid, .service-cards, .testimonial-cards,
  .team-bios {
    flex-direction: row;
    gap: 32px;
    justify-content: flex-start;
    align-items: stretch;
  }
}

/* ========== FOOTER & STRUCTURE ============ */
footer {
  background: #1C2837;
  color: #F3C15C;
  margin-top: 64px;
  padding: 44px 0 40px 0;
  width: 100%;
  font-family: var(--font-body);
  box-shadow: 0 -2px 22px #76571d0f;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
  align-items: center;
}
@media (min-width: 750px) {
  footer .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
  }
}
.footer-brand img {
  width: 48px;
  height: 48px;
  filter: sepia(20%) contrast(1.19) grayscale(.09);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 750px) {
  .footer-nav {
    flex-direction: row;
    gap: 18px;
  }
}
.footer-nav a {
  color: #ffe783;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 2px 0;
  transition: color .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #f3c15c;
  text-decoration: underline wavy 1.5px #f3c15c;
}
.footer-contact {
  margin-top: 10px;
  font-size: 0.97rem;
  color: #FFE783;
  font-family: var(--font-body);
}
.footer-contact a {
  color: #ffd86b;
}
.footer-contact a:hover {
  color: #fff2be;
}

/* ============= FAQ / ACCORDION BASICS ============= */
.faq-accordion ul, .text-section ul, .text-section ol {
  padding-left: 1.4em;
}
.faq-accordion li {
  list-style: disc inside;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

/* ========== PRICING TABLE, HOVER/ACTIVE STYLES ========== */
.pricing-table {
  background: #fffcf3;
  border-radius: var(--border-radius-card);
  border: 2px solid #f3c15c66;
  box-shadow: 0 2px 8px #ffe78327;
  padding: 24px 20px;
  margin-bottom: 16px;
}
.pricing-table h3 {
  color: #c68642;
  margin-bottom: 14px;
}

/* ========== RETRO VINTAGE PATTERNS, LINES, ORNAMENTS ========== */
.section {
  background:
    repeating-linear-gradient(45deg, #f9edc3 0px, #f9edc3 6px, #f7f3e900 8px, #f7f3e900 14px),
    #FFF8DE;
  box-shadow: 0 4px 24px #bfa99021;
  border: 2px double #ffdc98;
}
@media (max-width: 600px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 40px;
  }
}

/* =============== ANIMATIONS/TRANSITIONS =============== */
.cta-btn, .service-card, .feature, .team-bio-card {
  transition: box-shadow 0.23s cubic-bezier(.4,.8,.6,1.2),
              border 0.15s, background 0.16s, color .14s;
}
.main-nav a, .mobile-nav a {
  transition: color .14s, background .17s;
}
.testimonial-card {
  transition: box-shadow .18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 30px #ffd86b44;
  background: #fffde6;
}
@media (hover: none) {}

/* =============== COOKIE BANNER + MODAL =============== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 199;
  background: #fffbe3;
  border-top: 3px solid #f3c15c;
  box-shadow: 0 -2px 18px #9e822e19;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  animation: cookieSlide 0.8s cubic-bezier(.43,1.42,.33,1.01);
}
@keyframes cookieSlide {
  from { transform: translateY(90px); opacity: 0.3; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #5a471b;
  font-size: 1rem;
}
.cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 2px;
}
.cookie-btn {
  background: #f3c15c;
  color: #2b1b03;
  border: none;
  padding: 10px 24px;
  font-size: 1rem;
  border-radius: var(--border-radius-btn);
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px #ffd86b33;
  transition: background .15s, color .15s, transform .12s;
  outline: none;
}
.cookie-btn:active, .cookie-btn:focus {
  background: #ffd86b;
  color: #7a5117;
  transform: scale(.98);
}
.cookie-btn.reject {
  background: #D55336;
  color: #fff;
}
.cookie-btn.reject:hover {
  background: #a22a12;
}
.cookie-btn.settings {
  background: #b1c9d5;
  color: #1C2837;
}
.cookie-btn.settings:hover {
  background: #426B89;
  color: #F5F6FA;
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: #1C2837ee;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 299;
  animation: fadeIn .42s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff9e5;
  border-radius: 24px;
  padding: 36px 22px 28px 22px;
  max-width: 92vw;
  width: 380px;
  box-shadow: 0 8px 32px #a95d2e30;
  position: relative;
  animation: modalPop .42s cubic-bezier(.55,1.24,.42,1.06);
}
@keyframes modalPop {
  from { transform: scale(.8) translateY(50px); opacity: .5; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  color: #D55336;
  font-size: 1.5rem;
  margin-bottom: 18px;
  font-family: var(--font-display);
}
.cookie-modal .option-group {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 17px;
}
.cookie-modal .option {
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-modal label {
  color: #53341A;
  font-size: 1.03rem;
  font-family: var(--font-body);
}
.cookie-modal input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #f3c15c;
}
.cookie-modal .option.essential label {
  color: #bbb;
  font-style: italic;
  font-size: .98rem;
}
.cookie-modal .modal-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 1.33rem;
  color: #aaa;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  padding: 3px 7px;
  border-radius: 8px;
  transition: background .15s, color .12s;
}
.cookie-modal-close:hover {
  background: #ffd86b;
  color: #a95d2e;
}

/*************************************
 MOBILE RESPONSIVE
**************************************/
/* NAV & SECTION RESPONSIVE */
@media (max-width: 1020px) {
  .main-nav, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 80em) {
  .container {
    max-width: 97vw;
    padding: 0 8px;
  }
}
@media (max-width: 850px) {
  .feature-grid, .service-cards, .testimonial-cards, .team-bios, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 700px) {
  header .container {
    height: auto;
    flex-direction: row;
  }
  .logo img {
    height: 42px;
  }
}
@media (max-width: 550px) {
  h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  h2 {
    font-size: 1.14rem;
    margin-bottom: 9px;
  }
  .section {
    padding: 11px 0;
    margin-bottom: 20px;
    border-width: 1.5px;
  }
  .service-card, .feature, .team-bio-card {
    padding: 15px 7px;
  }
  footer {
    padding: 19px 0 16px 0;
  }
  .footer-contact, .footer-nav, .footer-brand {
    font-size: .91rem;
  }
}

/*****************************************
 MICRO-INTERACTIONS & FOCUS STATES
*****************************************/
button, .cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  outline: none;
  border: none;
}
button:focus-visible, .cta-btn:focus-visible, .cookie-btn:focus-visible, .mobile-menu-toggle:focus-visible {
  outline: 2px dashed #D55336;
  outline-offset: 2px;
}

/* SUBTLE SHADOWS ON CARD HOVER */
.service-card:hover, .feature:hover, .team-bio-card:hover {
  z-index: 2;
  box-shadow: 0 7px 35px #ffe78322, 0 2px 14px #bfa99013;
}

/*****************************************
 VINTAGE PATTERNS FOR RETRO FEEL
*****************************************/
.feature, .testimonial-card, .service-card, .team-bio-card {
  background:
    repeating-linear-gradient(135deg, #fffbe3 0, #fffbe3 18px, #f3c15c10 18px, #f3c15c10 20px),
    #fffbe3;
  border-radius: var(--border-radius-card);
}
.section {
  position: relative;
  overflow: hidden;
}
.section::after {
  content: "";
  position: absolute;
  left: -48px;
  bottom: -18px;
  width: 230px;
  height: 40px;
  background: repeating-linear-gradient(90deg,#f3c15c50 0 4px,#fff8de 4px 19px);
  opacity: .32;
  border-radius: 60px 60px 0 0;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 600px){
  .section::after{display:none;}
}

/*****************************************
 RESPONSIVE FLEX FOR TEXT-IMAGE-SECTION
*****************************************/
.text-image-section {
  flex-direction: column;
  align-items: flex-start;
}
@media (min-width: 700px) {
  .text-image-section {
    flex-direction: row;
    align-items: center;
  }
}

/* Card grid example for demos */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/*****************************************
 RETRO BADGE/ORNAMENT UTILITY (OPTIONAL)
*****************************************/
.badge-retro {
  display: inline-block;
  background: #b1c9d5;
  border: 2px solid #f3c15c;
  color: #53341A;
  font-size: .98rem;
  font-family: var(--font-display);
  padding: 4px 18px 3px 14px;
  border-radius: 24px 9px 21px 24px/24px 21px 24px 12px;
  letter-spacing: 0.03em;
}
