/* ========================== */
/*         RESET & BASE       */
/* ========================== */
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 {
  scroll-behavior: smooth;
}
body {
  background: #F6F2ED;
  color: #2E3943;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  color: #485C70;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #DCA37D;
  text-decoration: underline;
  outline: none;
}
:focus {
  outline: 2px dashed #DCA37D;
  outline-offset: 2px;
}

/* ============================ */
/*        VINTAGE RETRO STYLE   */
/* ============================ */

:root {
  --ms-primary: #485C70;
  --ms-secondary: #F6F2ED;
  --ms-accent: #DCA37D;
  --ms-retro-green: #577759;
  --ms-retro-red: #BA5954;
  --ms-retro-dark: #2E3943;
  --ms-retro-yellow: #EAD986;
  --ms-background: #F6F2ED;
  --ms-white: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--ms-primary);
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 16px;
}
h2 {
  font-size: 2.1rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.4rem;
}
h4 { font-size: 1.1rem; margin-bottom: 8px; }
p, li, ul, ol {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

/* Vintage details */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--ms-background);
  border-radius: 22px;
  box-shadow: 0 1.5px 16px 0 rgba(72,92,112, 0.08);
  border: 4px solid #eadab7;
  border-style: solid double;
  position: relative;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* Retro Borders/Patterns */
section:before {
  content: '';
  display: block;
  position: absolute;
  left: 26px;
  top: 26px;
  width: 60px;
  height: 6px;
  border-radius: 8px;
  background: var(--ms-accent);
  opacity: 0.35;
  z-index: 0;
}
section:after {
  content: '';
  display: block;
  position: absolute;
  right: 26px;
  bottom: 26px;
  width: 40px;
  height: 4px;
  border-radius: 8px;
  background: var(--ms-retro-yellow);
  opacity: 0.25;
  z-index: 0;
}
section {
  position: relative;
  z-index: 1;
}

/* ======================= */
/*        HEADER           */
/* ======================= */
header {
  background: var(--ms-retro-yellow);
  border-bottom: 4px solid #DCA37D;
  padding: 0 0 0 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px 12px 16px;
  gap: 20px;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.01rem;
  color: var(--ms-primary);
  letter-spacing: .5px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background .2s, color .2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--ms-accent);
  color: var(--ms-white);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ms-primary);
  color: var(--ms-white);
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.09rem;
  padding: 11px 32px;
  border-radius: 23px;
  box-shadow: 0 2.5px 7px rgba(72,92,112,0.18);
  border: none;
  cursor: pointer;
  letter-spacing: .6px;
  margin-left: 24px;
  transition: background .2s, box-shadow .2s, color .2s;
  text-shadow: 0 1px 0 rgba(0,0,0,.07);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--ms-accent);
  color: var(--ms-retro-dark);
  box-shadow: 0 6px 20px 0 rgba(220,163,125,0.13);
}

/* Hamburger Menu Styles */
.mobile-menu-toggle {
  display: none;
  background: var(--ms-accent);
  color: var(--ms-retro-dark);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 201;
  cursor: pointer;
  box-shadow: 0 2.5px 12px rgba(72,92,112,0.13);
  transition: background .2s;
}
.mobile-menu-toggle:focus {
  background: var(--ms-retro-yellow);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--ms-retro-yellow);
  z-index: 200;
  padding: 34px 32px 18px 32px;
  transform: translateX(-120vw);
  transition: transform .39s cubic-bezier(.68,-0.55,.27,1.55);
  box-shadow: 4px 0 17px rgba(72,92,112, .07);
  font-size: 1.23rem;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--ms-primary);
  font-size: 2.5rem;
  line-height: 1.1;
  position: absolute;
  top: 18px;
  right: 30px;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: var(--ms-accent); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
  width: 100%;
}
.mobile-nav a {
  padding: 16px 0;
  color: var(--ms-primary);
  font-size: 1.26rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(72,92,112,.08);
  transition: color .2s, background .2s;
  border-radius: 12px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--ms-accent);
  background: var(--ms-white);
}

/* Hide standard nav & show burger on mobile */
@media (max-width: 950px) {
  .main-nav {
    display: none !important;
  }
  .btn-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}
@media (max-width: 950px) {
  header .container {
    flex-direction: row;
    gap: 12px;
    align-items: center;
  }
}

/* =============================== */
/*           HERO BANNER           */
/* =============================== */
.hero {
  background: repeating-linear-gradient(135deg, #E5B49A 0 12px, #F6F2ED 12px 36px), var(--ms-secondary);
  border: none;
  box-shadow: 0 6px 20px 0 rgba(220,163,125,0.07);
}
.hero .container, .hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: var(--ms-retro-red);
  text-shadow: 0 2.5px 0 rgba(72,92,112,0.07);
}
.hero p {
  font-size: 1.17rem;
  margin-bottom: 16px;
}

/* =============================== */
/*     CARDS, FLEX STRUCTURE       */
/* =============================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff8f1;
  margin-bottom: 20px;
  border-radius: 17px;
  box-shadow: 0 7px 32px 0 rgba(200,80,53, 0.049), 0 1.5px 12px rgba(72,92,112,0.07);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  border: 2px solid #E5B49A;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.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;
}

/* Features and thematic parts */
.features, .feature-grid, .faq-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
}
.features .content-wrapper, .feature-grid {
  gap: 20px;
}
.feature-grid > div, .faq-grid > div {
  flex: 1 1 250px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2.5px 14px 0 rgba(72,92,112,0.09);
  padding: 20px 18px 18px 18px;
  border: 2.5px solid #eadab7;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow .18s, transform .18s;
}
.feature-grid > div:hover, .faq-grid > div:hover {
  box-shadow: 0 9px 32px 0 rgba(220,163,125,0.11);
  transform: translateY(-6px) scale(1.023);
}
.feature-grid img, .faq-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 9px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Thematic Inspiration */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.thematic-card {
  background: #f8ecd8;
  border-radius: 14px;
  padding: 23px 21px 18px 21px;
  box-shadow: 0 3px 14px 0 rgba(84,116,78, 0.04), 0 1.5px 8px rgba(220,163,125,0.07);
  border: 2.5px dashed #DCA37D;
  min-width: 210px;
  max-width: 350px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: box-shadow .15s, transform .15s;
}
.thematic-card:hover {
  box-shadow: 0 7px 24px 0 rgba(72,92,112,0.12);
  transform: scale(1.04);
}
.tips-list li {
  list-style: square inside;
  color: var(--ms-retro-green);
  margin-bottom: 7px;
}

/* =============================== */
/*            LISTS                */
/* =============================== */
ul, ol {
  padding-left: 26px;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 7px;
}

/* =============================== */
/*          TESTIMONIALS           */
/* =============================== */
.testimonials .testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--ms-white);
  color: var(--ms-primary);
  border-radius: 18px;
  box-shadow: 0 9px 28px 0 rgba(72,92,112,0.12);
  border: 2.5px solid #DCA37D;
  padding: 20px 36px;
  margin-bottom: 20px;
  font-size: 1.08rem;
  max-width: 600px;
  width: 100%;
  min-width: 230px;
  transition: box-shadow .17s, border .17s;
}
.testimonials .testimonial-card span {
  color: #857467;
  font-family: 'Playfair Display', serif;
  font-size: 1.02rem;
}
.testimonials .testimonial-card:hover {
  border: 2.5px solid var(--ms-retro-green);
  box-shadow: 0 18px 36px 0 rgba(87,119,89, 0.13);
}

/* ================================ */
/*           CTA SECTION            */
/* ================================ */
.cta {
  background: var(--ms-retro-green);
  color: var(--ms-white);
  border: 2.5px solid #BA5954;
  text-align: center;
  box-shadow: 0 4px 27px 0 rgba(87,119,89, 0.10);
}
.cta .btn-primary {
  background: var(--ms-accent);
  color: var(--ms-retro-dark);
  margin-top: 10px;
}
.cta .btn-primary:hover {
  background: var(--ms-primary);
  color: var(--ms-white);
}

/* =============================== */
/*           FOOTER                */
/* =============================== */
footer {
  background: #ede1d3;
  color: var(--ms-retro-dark);
  padding: 40px 0 16px;
  border-top: 4px solid #eedbb7;
  margin-top: 30px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 7px;
}
.footer-branding img {
  width: 52px;
  height: auto;
}
.footer-branding span {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  letter-spacing: 0.5px;
  color: var(--ms-retro-dark);
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 8px;
}
.footer-nav a {
  color: var(--ms-primary);
  font-family: 'Playfair Display', serif;
  font-size: 1.01rem;
  transition: color .19s;
}
.footer-nav a:hover, .footer-nav a:focus { color: var(--ms-retro-red); }
.footer-contact {
  font-size: .98rem;
  color: var(--ms-retro-dark);
  text-align: center;
}
.footer-contact img {
  width: 14px; height:14px; vertical-align: middle; margin-right: 5px;
}

/* =============================== */
/*         LEGAL SECTIONS          */
/* =============================== */
.legal {
  background: #fbf6ef;
  border: 2.5px solid #EAD986;
}
.legal h1, .legal h2, .legal h3 {
  color: var(--ms-primary);
}
.legal ul li::marker { color: var(--ms-accent); font-weight: bold; }

/* ======================= */
/*      CONTACT DETAILS    */
/* ======================= */
.contact-details ul {
  margin-bottom: 17px;
}
.contact-details ul li {
  margin-bottom: 12px;
  font-family: 'Lato', sans-serif;
  color: var(--ms-primary);
  font-size: 1.12rem;
}
.contact-details img {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  margin-right: 5px;
}
.map-placeholder {
  background: #f8f1e5;
  color: #857467;
  border: 2px dashed #DCA37D;
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 14px;
  font-family: 'Lato', sans-serif;
  font-size: .98rem;
}

/* ======================== */
/*        FAQ SECTION       */
/* ======================== */
.faq-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}
.faq-section > div {
  background: #fffdfa;
  border-radius: 11px;
  padding: 12px 20px;
  border: 1.5px solid #EAD986;
  margin-bottom: 6px;
  box-shadow: 0 2px 8px 0 rgba(220,163,125,0.10);
}
.faq-section h4 {
  color: var(--ms-retro-red);
  font-family: 'Playfair Display', serif;
}

/* ======================== */
/*       THANK YOU PAGE     */
/* ======================== */
.thank-you {
  background: #f7efe1;
  border: 2.5px solid #EAD986;
  border-radius: 20px;
  box-shadow: 0 5px 32px 0 rgba(220,163,125,0.11);
  text-align: center;
  min-height: 260px;
}
.thank-you .btn-primary {
  margin-top: 18px;
}

/* =============================== */
/*         COOKIE BANNER           */
/* =============================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2100;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #fffdee;
  color: var(--ms-primary);
  padding: 24px 30px 22px 30px;
  font-size: 1.01rem;
  border-top: 2.5px solid #eadab7;
  box-shadow: 0 -8px 40px 0 rgba(72,92,112,0.11);
  gap: 16px;
  transition: transform .32s;
}
.cookie-banner.hide {
  transform: translateY(130%);
}
.cookie-banner p {
  margin-right: 16px;
  max-width: 570px;
}
.cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  padding: 9px 22px;
  font-family: 'Lato', sans-serif;
  font-weight: bold;
  border-radius: 19px;
  font-size: 1.01rem;
  border: 2px solid var(--ms-primary);
  background: var(--ms-accent);
  color: var(--ms-primary);
  cursor: pointer;
  transition: background .18s, color .18s, border .18s;
}
.cookie-banner .btn-accept {
  background: var(--ms-primary);
  color: var(--ms-white);
  border-color: var(--ms-primary);
}
.cookie-banner .btn-accept:hover {
  background: var(--ms-retro-green);
}
.cookie-banner .btn-reject {
  background: #fff;
  color: var(--ms-retro-red);
  border-color: var(--ms-retro-red);
}
.cookie-banner .btn-reject:hover {
  background: var(--ms-retro-red);
  color: #fff;
}
.cookie-banner .btn-settings {
  background: #fff;
  color: var(--ms-accent);
  border-color: var(--ms-accent);
}
.cookie-banner .btn-settings:hover {
  background: var(--ms-accent);
  color: var(--ms-retro-dark);
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 48vh;
  transform: translate(-50%, -55%) scale(1);
  z-index: 4000;
  background: #FFFFFF;
  border-radius: 22px;
  box-shadow: 0 8px 52px 0 rgba(72,92,112,0.22);
  border: 3px solid #eadab7;
  min-width: 310px;
  max-width: 97vw;
  width: 430px;
  padding: 34px 29px 26px 29px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  opacity: 1;
  visibility: visible;
  transition: opacity .28s, visibility .28s;
}
.cookie-modal.hide {
  opacity: 0;
  visibility: hidden;
}
.cookie-modal h3 {
  color: var(--ms-primary);
  margin-bottom: 4px;
}
.cookie-modal ul {
  list-style: none;
  margin-bottom: 8px;
}
.cookie-modal li {
  padding: 5px 6px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.01rem;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
}
.cookie-modal label {
  margin-right: 6px;
}
.cookie-category-toggle {
  accent-color: var(--ms-accent);
  width: 19px;
  height: 19px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 7px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: var(--ms-primary);
  cursor: pointer;
  transition: color .21s;
}
.cookie-modal .cookie-modal-close:hover {
  color: var(--ms-retro-red);
}

/* ============================= */
/*       RESPONSIVE DESIGN       */
/* ============================= */
@media (max-width: 950px) {
  .container { max-width: 95vw; padding: 0 7px; }
  .main-nav { display: none; }
}
@media (max-width: 768px) {
  section, .section {
    padding: 28px 6px;
    margin-bottom: 40px;
  }
  .cta, .legal, .thank-you { padding: 22px 5px !important; }
  .container { padding: 0 2px; }

  .content-grid, .features, .feature-grid, .card-grid, .faq-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .thematic-card,
  .feature-grid > div, .faq-grid > div {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 13px;
  }
  header .container {
    flex-direction: row;
    gap: 6px;
    justify-content: space-between;
    align-items: center;
    padding: 14px 5px 9px 5px;
  }
  .footer-branding img {
    width: 38px;
  }
  .cta .btn-primary, .thank-you .btn-primary {
    width: 100%;
    padding: 13px 0 !important;
    font-size: 1.09rem;
  }
}
@media (max-width: 550px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.29rem; }
  section, .section {
    margin-bottom: 29px;
    padding: 14px 2px;
  }
  .card, .thematic-card {
    padding: 14px 7px;
  }
  .cookie-banner {
    padding: 15px 4px 12px 7px;
    font-size: .98rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .cookie-banner p {
    margin: 0 0 11px 0;
  }
  .cookie-banner .cookie-actions { gap: 9px; }
  .cookie-modal {
    padding: 10vw 2vw 10vw 2vw;
    width: 95vw;
    min-width: unset;
  }
}

/* ======================== */
/*     MICRO-INTERACTIONS   */
/* ======================== */
.btn-primary, .cookie-banner button, .cookie-modal-actions button {
  transition: background .19s, color .19s, box-shadow .18s;
}
.card, .feature-grid > div, .thematic-card {
  transition: box-shadow .2s, transform .16s;
}
.card:hover, .feature-grid > div:focus-within, .thematic-card:hover {
  box-shadow: 0 12px 32px 0 rgba(72,92,112,0.17);
  transform: translateY(-5px) scale(1.024);
}
