/* RESET & PRESETS ======================================================= */
/* Box-sizing, Remove Margins & Normalize font inheritance, etc. */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font: inherit;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: #FAF2E6;
}
body {
  font-family: 'Nunito', Arial, Helvetica, sans-serif;
  background-color: #FAF2E6;
  color: #3B2F2F;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #533C9A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #C67616;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: #533C9A;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 { font-size: 2.6rem; letter-spacing: 1px; margin-top: 0.5em; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }
p, dl, dt, dd, .tagline { font-size: 1rem; margin-bottom: 1.2em; }
strong { font-weight: 700; }

/* RETRO/VINTAGE STYLE TYPOGRAPHY ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&family=Playfair+Display:wght@700&display=swap');

.text-section, .content-wrapper.text-section {
  font-family: 'Nunito', Arial, Helvetica, sans-serif;
  background: #FFF8EC;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(150,125,85,0.08);
  border: 2px dashed #F2B134;
  padding: 32px 24px;
  margin-bottom: 30px;
}
.tagline {
  font-family: 'Playfair Display', serif;
  font-size: 1.16rem;
  font-style: italic;
  color: #BE8556;
  background: #FFF0C6;
  padding: 10px 18px;
  border-radius: 28px 14px 28px 6px/16px 32px 28px 8px;
  margin: 32px 0 0 0;
}

/* CONTAINER and SECTION LAYOUTS ========================================== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.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;
  background: #FFE7B2;
  box-shadow: 0 2px 14px 0 rgba(83,60,154,.10);
  border-radius: 20px;
  border: 1.5px solid #F2B134;
  margin-bottom: 24px;
  max-width: 700px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFFDF9;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(222,170,105,0.10);
  border: 2px solid #EACB99;
  padding: 28px 20px;
  min-width: 220px;
  flex: 1 1 220px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.card {
  background: #FFF7EA;
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: 0 3px 12px 0 rgba(222,170,105,0.13);
  border: 2px solid #EACB99;
  padding: 28px 18px;
  min-width: 200px;
  flex: 1 1 200px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.service-list li {
  background: #FFEED9;
  margin-bottom: 20px;
  border-radius: 14px;
  border: 2px solid #F2B134;
  box-shadow: 0 2px 8px 0 rgba(222,170,105,0.13);
  padding: 22px 18px;
  transition: box-shadow 0.2s;
}
.service-list li:hover,
.service-list li:focus-within {
  box-shadow: 0 6px 22px 0 rgba(80,56,130,.12);
  border-color: #533C9A;
}

/* SPACING & VISUAL HIERARCHY ============================================= */
main section {
  margin-bottom: 60px;
  padding-top: 20px;
}

/* HEADER & NAVIGATION ==================================================== */
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 18px 0;
  background: #FDE8B6;
  border-bottom: 3px dotted #F2B134;
}
.header-bar a img {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Nunito', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #533C9A;
  padding: 10px 12px;
  border-radius: 7px;
  position: relative;
  transition: background 0.15s, color 0.15s;
}
.main-nav a.cta-primary {
  background: #F2B134;
  color: #533C9A;
  border-radius: 22px 8px 22px 8px / 11px 28px 10px 17px;
  padding: 12px 22px;
  font-size: 1.09rem;
  margin-left: 12px;
  box-shadow: 0 3px 12px 0 rgba(242,177,52,0.20);
}
.main-nav a.cta-primary:hover {
  background: #533C9A;
  color: #FFFFFF;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F9D77A;
  color: #BE8556;
}

/* MOBILE MENU ============================================================ */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  line-height: 1;
  background: #F2B134;
  color: #533C9A;
  border: none;
  border-radius: 44px 20px 44px 18px/16px 44px 22px 34px;
  padding: 6px 18px 8px 18px;
  box-shadow: 0 3px 8px 0 rgba(242,177,52,0.16);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:focus {
  outline: 2px dashed #533C9A;
  background: #F9E9B7;
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFF6E2;
  box-shadow: 0 0 64px 0 rgba(41,25,71,.50);
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.71,.12,.43,.96);
  z-index: 1020;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px; right: 32px;
  background: #E9C99C;
  color: #533C9A;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 48px; height: 48px;
  box-shadow: 0 2px 10px 0 rgba(171,143,72,0.08);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  z-index: 1120;
}
.mobile-menu-close:focus {
  outline: 2px dashed #533C9A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 92px auto 0 auto;
  width: 90vw;
  max-width: 410px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Nunito', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.19rem;
  color: #533C9A;
  background: #FFEDD3;
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 12px;
  width: 100%;
  transition: background 0.18s, color 0.17s, box-shadow 0.22s;
  box-shadow: 0 2px 6px 0 rgba(235,205,130,0.09);
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F7E7C6;
  color: #C67616;
  box-shadow: 0 6px 18px 0 rgba(140,110,40,0.15);
}

/* MAIN CTA BUTTONS ======================================================= */
.cta-primary {
  background: #F2B134;
  color: #533C9A;
  font-family: 'Playfair Display', serif;
  font-size: 1.14rem;
  font-weight: bold;
  border: none;
  border-radius: 30px 10px 28px 10px / 16px 26px 28px 8px;
  padding: 14px 34px;
  cursor: pointer;
  transition: background 0.16s, color 0.14s, box-shadow 0.22s;
  box-shadow: 0 4px 18px 0 rgba(83,60,154,0.10);
  text-shadow: none;
  margin-top: 10px;
  min-width: 180px;
  letter-spacing: 0.8px;
  text-align: center;
  display: inline-block;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #533C9A;
  color: #FFF8EB;
  outline: none;
  box-shadow: 0 8px 28px 0 rgba(83,60,154,0.15);
}

/* FOOTER ================================================================ */
footer {
  background: #533C9A;
  color: #FFF8EC;
  padding: 40px 0 24px 0;
  border-top: 8px double #F2B134;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #F2B134;
  font-family: 'Nunito', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  background: transparent;
  border-radius: 7px;
  padding: 6px 12px;
  transition: background 0.14s, color 0.13s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #F2B134;
  color: #533C9A;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-size: 0.95rem;
  opacity: 0.96;
  margin-top: 7px;
}

/* TESTIMONIALS ========================================================== */
.testimonial-card {
  background: #FFE7B2;
  border-left: 9px solid #F2B134;
  color: #3B2F2F !important;
  font-family: 'Nunito', Arial, sans-serif;
  margin-bottom: 28px;
}
.testimonial-card p {
  font-size: 1.08rem;
  line-height: 1.6;
  color: #533C9A;
  margin-bottom: 10px;
  font-style: italic;
}
.testimonial-card .testimonial-author {
  font-size: 0.98rem;
  color: #A16F1D;
  margin-left: 20px;
  font-family: 'Playfair Display', serif;
}
.testimonials-rating span {
  color: #F2B134;
  font-size: 2.1rem;
  font-family: 'Playfair Display', serif;
  letter-spacing: 2px;
}

/* FAQ DL ================================================================ */
dt {
  font-weight: bold;
  color: #533C9A;
  margin-bottom: 8px;
  font-size: 1.1rem;
}
dd {
  margin-bottom: 18px;
  margin-left: 18px;
  color: #4D362A;
}

/* RETRO DETAILS / NOSTALGIC ELEMENTS ===================================== */
section, .features-grid, .testimonial-card, .service-list li, .feature-item {
  position: relative;
  /* Possible place for ::before/::after retro patterns */
}
.feature-item img {
  width: 38px;
  height: 38px;
  filter: sepia(0.18) saturate(1.25) hue-rotate(-8deg);
  margin-bottom: 2px;
}

/* Retro Pattern Example */
.section::before {
  content: "";
  display: block;
  position: absolute;
  left: -30px; top: -30px;
  width: 60px; height: 60px;
  background: repeating-linear-gradient(135deg,#F2B134 0 10px, #FFFFFF 10px 20px);
  opacity: 0.09;
  border-radius: 50%;
  z-index: 0;
}
.section .container,
.section .content-wrapper,
.section * {
  position: relative;
  z-index: 1;
}

/* BUTTONS, HOVER STATES & INTERACTIONS ================================== */
button, .cta-primary {
  transition: background 0.16s, color 0.14s, box-shadow 0.22s, transform 0.12s;
}
button:active,.cta-primary:active {
  transform: translateY(2px) scale(0.98);
}

/* CARD HOVER / ACTIVE ANIMATION ----------------------------------------- */
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 8px 24px 0 rgba(242,177,52,0.23);
  border-color: #F2B134;
  background: #FFF4D6;
}
.card:hover,
.card:focus {
  box-shadow: 0 12px 32px 0 rgba(80,56,130,0.15);
  border-color: #533C9A;
}

/* LINKS IN CARDS: NO UNDERLINE ON HOVER, RETRO COLOR CHANGE ------------ */
.card a,
.feature-item a {
  color: #A16F1D;
  text-decoration: underline;
  font-weight: 700;
  transition: color 0.14s;
}
.card a:hover,
.feature-item a:hover{
  color: #533C9A;
  text-decoration: underline;
}

/* COOKIE CONSENT BANNER ================================================= */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2400;
  background: #FFF7EC;
  border-top: 3px dotted #F2B134;
  box-shadow: 0 -4px 24px 0 rgba(83,60,154,0.10);
  padding: 22px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-family: 'Nunito', Arial, sans-serif;
}
.cookie-consent-banner p {
  color: #533C9A;
  font-size: 1rem;
  flex: 1 1 260px;
  margin-bottom: 0;
}
.cookie-buttons {
  display: flex;
  gap: 16px;
}
.cookie-btn,
.cookie-btn-accept,
.cookie-btn-decline,
.cookie-btn-settings {
  font-family: 'Playfair Display', serif;
  font-size: 1.02rem;
  font-weight: bold;
  padding: 9px 18px;
  background: #F2B134;
  color: #533C9A;
  border-radius: 17px 7px 13px 7px/9px 19px 15px 6px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.14s, box-shadow 0.18s;
  box-shadow: 0 1px 8px 0 rgba(242,177,52,0.10);
}
.cookie-btn-accept {
  background: #F2B134;
}
.cookie-btn-accept:hover,
.cookie-btn-accept:focus {
  background: #533C9A;
  color: #FFF8EB;
}
.cookie-btn-decline {
  background: #EEEEEE;
  color: #533C9A;
}
.cookie-btn-decline:hover,
.cookie-btn-decline:focus {
  background: #FFD5A8;
  color: #BE8556;
}
.cookie-btn-settings {
  background: #BE8556;
  color: #FFF8EB;
}
.cookie-btn-settings:hover,
.cookie-btn-settings:focus {
  background: #F2B134;
  color: #533C9A;
}

/* COOKIE PREFERENCES MODAL ============================================== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(83,60,154,0.13);
  z-index: 2410;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.26s;
}
@keyframes fadeInCookieModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #FFFAEC;
  border: 2px solid #F2B134;
  border-radius: 18px;
  padding: 40px 25px 30px 25px;
  box-shadow: 0 12px 44px 0 rgba(222,170,105,0.17);
  max-width: 440px;
  width: 90vw;
  z-index: 2420;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: popInCookie .33s cubic-bezier(.77,.12,.43,.94);
}
@keyframes popInCookie {
  0% {transform: scale(0.85) translateY(70px); opacity:0.3;}
  100% {transform: scale(1) translateY(0); opacity:1;}
}
.cookie-modal h3 {
  color: #533C9A;
  font-size: 1.26rem;
  margin-bottom: 7px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #F2B134;
  width: 18px; height: 18px;
}
.cookie-modal-category {
  margin-bottom: 9px;
}
.cookie-modal-footer {
  display: flex;
  width: 100%;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 15px;
}
.cookie-modal .cookie-btn-accept, .cookie-modal .cookie-btn-decline {
  min-width: 120px;
}

/* TABLES, FORMS (if any appear) ========================================= */
table {
  border-collapse: collapse;
}
td, th {
  padding: 9px 10px;
  border: 1px solid #F2B134;
}
input, textarea, select {
  border: 1.5px solid #EACB99;
  border-radius: 13px 6px 12px 6px/6px 13px 14px 7px;
  padding: 10px 14px;
  font-size: 1rem;
  background: #FFFDF7;
  margin-bottom: 14px;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #533C9A;
  outline: none;
}

/* RETRO PATTERN LINES / ICONIC DECORATION =============================== */
.features-grid::after {
  content: "";
  background: repeating-linear-gradient(90deg,#F2B134 0 10px, #FFF8EB 10px 20px);
  height: 6px;
  width: 130px;
  display: block;
  border-radius: 3px;
  margin: 24px 0 0 0;
  opacity: 0.12;
}

/* RESPONSIVE DESIGN & MEDIA QUERIES ===================================== */
@media (max-width: 1200px) {
  .container {
    padding: 0 14px;
  }
  .features-grid {
    gap: 22px;
  }
  .feature-item {
    min-width: 180px;
  }
}
@media (max-width: 900px) {
  .features-grid {
    flex-direction: column;
    gap: 24px;
  }
  .feature-item {
    min-width: 90vw;
  }
  .header-bar {
    flex-direction: row;
  }
}
@media (max-width: 768px) {
  .content-grid,
  .features-grid,
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card,
  .feature-item,
  .service-list li,
  .card {
    min-width: 0;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 13px;
  }
  .footer-contact {
    font-size: 0.98rem;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.36rem; }
}
@media (max-width: 500px) {
  .container {
    padding: 0 7px;
  }
  .cta-primary {
    padding: 12px 16px;
    font-size: 0.99rem;
    min-width: 145px;
  }
  .testimonial-card,
  .feature-item {
    padding: 17px 8px;
  }
}

/* ACCESSIBILITY FOCUS STYLES ============================================= */
a:focus, button:focus, .cta-primary:focus {
  outline: 2px dashed #533C9A;
  outline-offset: 2px;
}

/* Z-INDEX AND LAYERING FOR INTERACTIVE ELEMENTS ======================== */
.header-bar, .footer-nav, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay, .cookie-modal {
  z-index: 1000;
}

/* MIN HEIGHTS/PREVENT OVERLAPPING ======================================= */
main {
  min-height: 60vh;
}

/* EXTRA RETRO DETAILS (if you wish to add): polka-dot classic bg -------- */
body::before {
  content: "";
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: radial-gradient(circle, #F2B134 2.2px, transparent 2.2px) 0 0,
              radial-gradient(circle, #FFEED9 1.8px, transparent 1.8px) 17px 22px;
  background-size: 48px 48px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

/* END OF STYLE ========================================================== */
