/* =======================
   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;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background-color: #F7F5EF;
  color: #374165;
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
  position: relative;
}
img {
  border-style: none;
  max-width: 100%;
  height: auto;
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  background-color: transparent;
  color: #374165;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C89D68;
  text-decoration: underline;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 700;
  color: #374165;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: -2px;
  text-shadow: 2px 2px 0 #EAD5B7;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  letter-spacing: -1.5px;
  text-shadow: 1px 1px 0 #EAD5B7;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}
p {
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
  color: #C89D68;
}
em {
  font-style: italic;
  color: #706655;
}

/* =======================
   VINTAGE RETRO VIBES
   ======================= */
:root {
  --color-primary: #374165;     /* BlueViolet retro soft */
  --color-secondary: #C89D68;  /* Muted ochre gold */
  --color-accent: #F7F5EF;     /* Offwhite */
  --color-bg-alt: #F1E4C3;
  --color-pattern: #EAD5B7;
  --color-contrast: #1B1C24;
}

body {
  background-color: var(--color-accent);
  background-image: repeating-linear-gradient(135deg, var(--color-bg-alt), var(--color-bg-alt) 16px, transparent 18px, transparent 36px);
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(253, 247, 235, 0.95);
  box-shadow: 0 1px 12px rgba(200, 157, 104, 0.1);
  border-radius: 24px;
  /* subtle noise texture overlay (fallback) */
  position: relative;
}
section:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url('data:image/svg+xml;utf8,<svg width="32" height="32" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="3" cy="7" r="1" fill="%23ead5b7"/><circle cx="25" cy="23" r="1.5" fill="%23d1a05f"/><rect x="10" y="19" width="4" height="1.5" fill="%23f1e4c3"/></svg>') repeat;
  opacity: .06;
  border-radius: 24px;
  z-index: 1;
}
section > .container, section .content-wrapper {
  position: relative;
  z-index: 2;
}

.container {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 8px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.text-section {
  margin-bottom: 16px;
  font-size: 1rem;
}

/* Classic dotted horizontal separator */
hr, .hr {
  border: none;
  margin: 32px 0;
  border-top: 2px dotted var(--color-secondary);
  height: 0;
  width: 100%;
  opacity: .4;
}

/* =======================
   NAVIGATION
   ======================= */
header {
  position: sticky;
  top: 0;
  background: var(--color-primary);
  z-index: 991;
  box-shadow: 0 2px 12px rgba(55,65,101,0.08);
}
nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px 0;
  max-width: 1120px;
  margin: 0 auto;
  flex-wrap: wrap;
  position: relative;
}
nav > a img {
  height: 38px;
  width: auto;
  margin-right: 18px;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
nav ul li {
  list-style: none;
}
nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #fff;
  text-shadow: 0 1px 0 #374165, 0 0 2px #C89D6888;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
nav ul li a.active,
nav ul li a:hover,
nav ul li a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.btn-cta {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 1.13rem;
  letter-spacing: 0.08em;
  padding: 9px 26px;
  border-radius: 40px;
  font-weight: 600;
  margin-left: auto;
  box-shadow: 0 3px 16px rgba(200,157,104,0.16);
  border: 2px solid var(--color-accent);
  text-shadow: none;
  transition: background 0.16s, color 0.16s, box-shadow 0.2s;
  outline: none;
  position: relative;
  z-index: 2;
}
.btn-cta:hover, .btn-cta:focus {
  background: #af7c36;
  color: #fff;
  box-shadow: 0 2px 12px rgba(200,157,104,0.32);
  border-color: #eed3ad;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: #fff;
  background: var(--color-secondary);
  border-radius: 9px;
  height: 44px;
  width: 44px;
  align-items: center;
  justify-content: center;
  margin-left: 20px;
  transition: background .2s;
  position: relative;
  z-index: 1002;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #9a6a3e;
  outline: 2px dashed #fff;
}

/* =======================
   MOBILE NAV OVERLAY
   ======================= */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(55,65,101, 0.96);
  z-index: 1000;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.58,.01,.31,1.01);
  will-change: transform;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 22px 6px 0;
  font-size: 2.2rem;
  color: #fff;
  background: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #C89D68;
  color: #374165;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  width: 100%;
  padding: 26px 40px 10px 40px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.28rem;
  padding: 8px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-radius: 6px;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s;
  width: 100%;
  min-width: 180px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: #F7F5EF33;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  nav ul {
    gap: 10px;
  }
  .btn-cta {
    padding: 8px 18px;
    font-size: 1rem;
  }
}
@media (max-width: 880px) {
  .container {
    max-width: 98vw;
    padding: 0 6px;
  }
}
@media (max-width: 768px) {
  nav ul, .btn-cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }
  nav {
    padding: 10px 0;
    gap: 12px;
  }
}

/* =======================
   FLEXBOX LAYOUTS
   ======================= */
.section {margin-bottom: 60px; padding: 40px 20px;}
.card-container {display: flex; flex-wrap: wrap; gap: 24px;}
.card {margin-bottom: 20px; position: relative; flex: 1 1 320px; min-width: 260px; max-width: 423px; border-radius: 20px; background: #f9f5ea; box-shadow: 0 3px 18px rgba(200, 157, 104, 0.10); transition: box-shadow .22s;}
.card:hover {box-shadow: 0 5px 32px rgba(200,157,104,0.18);}
.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; flex-direction: column; align-items: flex-start; gap: 20px; padding: 20px; margin-bottom: 20px; background: #fffbe8; border-radius: 18px; border: 2px dashed var(--color-pattern); box-shadow: 0 3px 22px rgba(200,157,104,0.07); transition: box-shadow 0.2s;}
.testimonial-card:hover {box-shadow: 0 7px 30px rgba(200,157,104,0.17);}
.feature-item {display: flex; flex-direction: column; align-items: flex-start; gap: 15px;}

@media (max-width: 768px) {
  .content-grid, .card-container {flex-direction: column; gap: 18px;}
  .text-image-section {flex-direction: column; gap: 22px;}
}

/* =======================
   FLEXIBLE LISTS/FEATURES
   ======================= */
ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 34px;
  padding-left: 0;
  margin-bottom: 24px;
}
ul > li {
  flex: 1 1 190px;
  align-items: center;
  font-size: 1.06rem;
  display: flex;
  gap: 8px;
  background: transparent;
  border-radius: 8px;
  padding: 6px 0 6px 0;
  margin-bottom: 6px;
  min-width: 135px;
}
ul > li img {
  width: 29px;
  height: 29px;
  margin-right: 6px;
}

@media (max-width: 820px) {
  ul {gap: 13px 6px;}
  ul > li {font-size: 1rem;}
}
@media (max-width: 520px) {
  ul {gap: 7px 2px;}
  ul>li{min-width:100px;font-size:.97rem;}
}

/* =======================
   PATTERNS & NOSTALGIA
   ======================= */
section, .card, .testimonial-card, footer, header {
  border-radius: 24px;
}
.card {
  border: 2px solid #EAD5B7;
  background: #fcf8f4 url('data:image/svg+xml;utf8,<svg width="28" height="28" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="2" y="24" width="5" height="2" fill="%23ead5b7"/><circle cx="12" cy="14" r="1.5" fill="%23dac293"/></svg>') repeat;
  opacity: 0.99;
}

/* =======================
   FOOTER
   ======================= */
footer {
  background: #f1e4c3;
  color: #374165;
  margin-top: 70px;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 -2px 24px rgba(200,157,104,0.12);
  position: relative;
  z-index: 10;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 68px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px 10px 18px 10px;
}
.footer-nav ul, .footer-nav ul li {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  margin-bottom: 0;
}
.footer-nav ul li a {
  color: #374165;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  opacity: .88;
  transition: color .16s;
  padding: 4px 2px;
}
.footer-nav ul li a:hover {color: #C89D68;}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.98rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-direction: column;
  font-size: 0.93rem;
  color: #786056;
  text-align: center;
  margin-top: 12px;
}
.footer-brand img {
  height: 38px;
  margin-bottom: 5px;
}

@media (max-width: 900px) {
  footer .container {gap: 22px 24px;}
}
@media (max-width: 650px) {
  footer .container {flex-direction: column; gap: 13px; padding: 27px 5px 12px 5px;}
  .footer-brand {margin-top: 10px;}
}

/* =======================
   TYPOGRAPHY & DETAILS
   ======================= */
.text-section {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #374165;
  font-size: 1.05rem;
  padding: 6px 1px;
}
.text-section strong {
  color: #C89D68;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
}
.info-msg {
  background: #EAD5B7;
  color: #374165;
  border-radius: 8px;
  font-size: 1.05rem;
  padding: 12px 14px;
  margin: 16px 0 0 0;
  box-shadow: 0 1px 9px rgba(200, 157, 104, 0.11);
}

/* =======================
   TESTIMONIALS
   ======================= */
.testimonial-card {
  border: 2px dashed #c89d68;
  background: #fffef8;
  color: #2a2831 !important;
  font-family: 'Montserrat', Arial, sans-serif;
  min-width: 260px;
  max-width: 430px;
  font-size: 1.08rem;
}
.testimonial-card p {
  color: #2a2831;
  margin-bottom: 7px;
  font-style: italic;
}
.testimonial-card strong {
  color: #C89D68;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.04rem;
  margin-top: 4px;
}
.testimonial-card > div {
  font-size: 1.12rem;
  color: #c89d68;
  letter-spacing: 3px;
  margin: 2px 0;
}

/* =======================
   BUTTONS
   ======================= */
button, .btn-cta, .cookie-btn {
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}
.cookie-btn {
  padding: 8px 22px;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 28px;
  font-size: 1.04rem;
  margin: 0 8px 0 0;
  border: 1.5px solid #EAD5B7;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
}
.cookie-btn:focus,
.cookie-btn:hover {
  background: #af7c36;
  color: #fff;
}

/* =======================
   ANIMATION & MICRO-INTERACTIONS
   ======================= */
.card, .testimonial-card, .btn-cta, .cookie-btn, .mobile-menu {
  transition: box-shadow 0.2s, background 0.16s, color 0.16s, transform 0.28s;
}
.btn-cta:active {
  transform: translateY(1px) scale(.97);
}
.card:active, .testimonial-card:active {
  transform: scale(0.99);
}

/* =======================
   COOKIE CONSENT BANNER
   ======================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #f1e4c3ee;
  border-top: 2.5px solid var(--color-secondary);
  box-shadow: 0 -2px 32px rgba(200,157,104,0.11);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 16px 16px;
  gap: 15px;
  animation: bannerIn 430ms cubic-bezier(.58,.15,.31,1.01);
}
@keyframes bannerIn {
  from {transform: translateY(100%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
  text-align: center;
  color: #374165;
  font-size: 1.03rem;
  margin-bottom: 9px;
}
.cookie-banner .cookie-btn-container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 5px;
  align-items: center;
  justify-content: center;
}

/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(55, 65, 101, 0.36);
  z-index: 3000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: modalIn 0.39s cubic-bezier(.33,.11,.31,1.01);
}
@keyframes modalIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}
.cookie-modal-inner {
  background: #fcf8f4;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -3px 22px rgba(200,157,104,0.14);
  min-width: 94vw;
  max-width: 460px;
  padding: 28px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  animation: modalInnerIn .4s cubic-bezier(.48,.11,.31,1.01);
}
@keyframes modalInnerIn {
  from {transform: translateY(60px); opacity: .3;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}
.cookie-modal-header h3 {
  font-size: 1.33rem;
  font-family: 'Cormorant Garamond', serif;
}
.cookie-modal-close {
  font-size: 2rem;
  color: #374165;
  background: none;
  border-radius: 50%;
  padding: 4px 11px;
  outline: none;
  transition: background .2s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #EAD5B7;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 11px 0 19px 0;
}
.cookie-modal-category {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  line-height: 1.42;
  font-size: 1.05rem;
}
.cookie-modal-category input[type='checkbox'] {
  accent-color: var(--color-secondary);
  width: 22px;
  height: 22px;
  margin-top: 2px;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 3px;
  align-items: center;
  justify-content: flex-end;
}

@media (min-width: 768px) {
  .cookie-modal-inner {
    min-width: 370px;
    margin-bottom: 60px;
  }
}

@media (max-width: 480px) {
  .cookie-modal-inner {
    min-width: 96vw;
    padding: 18px 5px 14px 6px;
  }
}

/* =======================
   RESPONSIVE TYPOGRAPHY
   ======================= */
@media (max-width: 640px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.33rem;}
  .btn-cta {font-size: 0.99rem;}
}

/* =======================
   VINTAGE/RETRO DETAILS
   ======================= */
/* Retro drop shadow and pattern borders for strong hierarchy */
h1, h2 {
  border-bottom: 4px double var(--color-secondary);
  padding-bottom: 7px;
  padding-right: 18px;
  display: inline-block;
  background: linear-gradient(90deg, #ead5b7 30%, transparent 80%);
  border-radius: 0 36px 0 0;
  box-shadow: 1px 8px 0 #f7f5ef99;
}
@media (max-width: 500px) {
  h1, h2 {font-size: 1.18rem; padding-right:9px;}
}

/* Retro icon badges */
ul > li img {
  border-radius: 9px;
  background: #F6E8CD;
  border: 1px solid #EAD5B7;
  box-shadow: 1px 2px 5px #edd8b463;
  padding: 2px;
}

/* =======================
   TOOLTIPS & FOCUS
   ======================= */
a:focus, button:focus, .btn-cta:focus, .mobile-menu-toggle:focus, .cookie-btn:focus {
  outline: 2px dashed #C89D68;
  outline-offset: 3px;
}

/* =======================
   MISC SPACING & Z-ORDER
   ======================= */
main {position: relative; z-index: 3;}
section {z-index: 4;}

/* ========== END ========== */