/* 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;
  outline: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }
body { background: #FAF3EA; font-family: 'Montserrat', Arial, sans-serif; color: #323118; line-height: 1.65; min-height: 100vh; }

/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,900&display=swap');

:root {
  --color-primary: #4A5A2B;
  --color-secondary: #EFF3ED;
  --color-accent: #B42525;
  --color-bg: #FAF3EA;
  --color-dark: #19170c;
  --color-light: #fff;
  --color-mid: #e3c99c;
  --color-shadow: rgba(74,90,43,0.10);
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 32px var(--color-shadow);
}

/* --------------- TYPOGRAPHY --------------- */
body, p, ul, li {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  color: var(--color-dark);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--color-primary);
  letter-spacing: 1px;
}
h1   { font-size: 2.75rem; line-height: 1.1; margin-bottom: 12px; }
h2   { font-size: 2rem;   line-height: 1.1; margin-bottom: 12px; }
h3   { font-size: 1.4rem; line-height: 1.19; margin-bottom: 10px; }
h4,h5{ font-size: 1.1rem; line-height: 1.15; }
.lead { font-size: 1.25rem; color: var(--color-accent); font-weight: 500; margin-bottom: 16px; }
strong { font-weight: 700; color: var(--color-primary); }
em, cite { font-style: italic; color: var(--color-accent); }

/* Links */
a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color .2s;
}
a:hover { color: #782e2e; text-decoration: underline; }

/* --------------- LAYOUT CONTAINERS --------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-light);
  border-radius: var(--radius);
  box-shadow: 0 2px 20px var(--color-shadow);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 2px solid var(--color-mid);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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: #fff8ef;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px var(--color-shadow);
  margin-bottom: 24px;
  border-left: 4px solid var(--color-accent);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-light);
  padding: 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  box-shadow: 0 1px 8px var(--color-shadow);
}

/*--------------- HEADER ---------------*/
header {
  background: #e9e0d2 url('../assets/pattern-retro.png') repeat top left;
  border-bottom: 3px double var(--color-primary);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 16px 16px 16px;
}
header img {
  max-height: 48px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: .6px;
  font-size: 16px;
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: 8px;
  transition: background .18s, color .17s;
}
nav a:hover, nav a.active {
  background: var(--color-accent);
  color: var(--color-light);
}
.main-cta {
  background: var(--color-primary);
  color: var(--color-light)!important;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  border-radius: var(--radius-sm);
  padding: 10px 30px;
  box-shadow: 0 1px 6px var(--color-shadow);
  border: none;
  margin-left: 15px;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  transition: transform .2s, background .18s;
  cursor: pointer;
}
.main-cta:hover, .cta:hover {
  background: var(--color-accent);
  color: var(--color-light);
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 6px 40px var(--color-shadow);
}

/* --------------- BUTTONS & CTAS --------------- */
.cta {
  display: inline-block;
  margin-top: 18px;
  background: var(--color-accent);
  color: var(--color-light)!important;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: bold;
  border-radius: var(--radius-sm);
  padding: 10px 30px;
  border: none;
  box-shadow: 0 2px 13px var(--color-shadow);
  transition: background .2s, color .2s, transform .18s;
  text-transform: uppercase;
  letter-spacing: .9px;
  cursor: pointer;
}
.cta:active { transform: scale(.97); }

/* --------------- HERO SECTION --------------- */
.hero {
  background: #f5e5c5 url('../assets/pattern-retro.png') repeat fixed top left;
  padding: 60px 0 45px 0;
  margin-bottom: 0;
}
.hero h1 {
  font-size: 2.6rem;
  color: var(--color-accent);
  font-family: 'Playfair Display', serif;
  text-shadow: 1px 2px 0 #fff8ef;
}
.hero .lead {
  margin-bottom: 28px;
  font-size: 1.21rem;
  letter-spacing: .3px;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  max-width: 720px;
}

/* --------------- ICON LISTS --------------- */
ul,ol {
  margin-left: 24px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
ul li, ol li {
  list-style: none;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
ul li img, ol li img {
  width: 28px;
  height: 28px;
  vertical-align: middle;
  margin-right: 8px;
}
.text-section {
  background: #f9eedd;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: 0 1px 6px var(--color-shadow);
  font-size: 16px;
}

/* --------------- TESTIMONIALS --------------- */
.testimonial-card {
  font-size: 16px;
  color: #271c08;
  background: #fff8ef;
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  box-shadow: 0 2px 8px var(--color-shadow);
  line-height: 1.7;
  max-width: 600px;
}
.testimonial-card p {
  margin: 0;
  color: #271c08;
}
.testimonial-card span {
  margin-left: 18px;
  color: var(--color-primary);
  font-style: italic;
  font-size: 15px;
}

/* --------------- FOOTER --------------- */
footer {
  background: var(--color-primary);
  color: var(--color-light);
  padding: 40px 0 24px 0;
  border-top: 8px double #a5894a;
  font-size: 16px;
  letter-spacing: .3px;
}
footer .container {
  justify-content: flex-start;
  align-items: flex-start;
  gap: 28px;
}
.footer-logo img {
  max-height: 44px;
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.96;
  font-size: 15px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: opacity .19s, color .18s;
  background: none;
  border: none;
  padding: 0;
}
.footer-nav a:hover {
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
}
.footer-contact span img {
  width: 22px;
  height: 22px;
  margin-right: 7px;
  vertical-align: middle;
}
.footer-tagline {
  margin-top: 22px;
  font-family: 'Playfair Display', serif;
  color: #f9eedd;
  font-size: 1.13rem;
  opacity: 0.93;
  font-style: italic;
}

/* --------------- MOBILE MENU --------------- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  z-index: 2101;
  top: 18px;
  right: 18px;
  background: var(--color-primary);
  border: 0;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  box-shadow: 0 2px 9px var(--color-shadow);
  color: #fff;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .18s, transform .2s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:hover {
  background: var(--color-accent);
  color: #fff;
  transform: scale(1.04);
}
.mobile-menu {
  position: fixed;
  z-index: 2500;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #efe0c044; backdrop-filter: blur(4px);
  transform: translateX(-100vw);
  transition: transform .38s cubic-bezier(.6,.1,.4,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2510;
  transition: background .21s, color .19s;
  box-shadow: 0 2px 8px var(--color-shadow);
}
.mobile-menu-close:hover { background: #782e2e; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 80px 36px 24px 36px;
}
.mobile-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--color-primary);
  font-weight: 700;
  padding: 12px 10px;
  border-radius: 4px;
  transition: background .16s, color .18s, transform .14s;
  display: block;
  width: 100%;
}
.mobile-nav a:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateX(3px);
}

/* --------------- COOKIE CONSENT BANNER --------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 3200;
  background: #f7e1bb;
  color: #271c08;
  border-top: 3px double var(--color-primary);
  box-shadow: 0 -4px 14px var(--color-shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 18px 24px 18px 24px;
  font-size: 16px;
}
.cookie-banner button {
  background: var(--color-primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  font-weight: bold;
  border: none;
  border-radius: 22px;
  padding: 10px 28px;
  margin-left: 10px;
  cursor: pointer;
  margin-top: 7px;
  transition: background .19s;
}
.cookie-banner button:hover { background: var(--color-accent); }
.cookie-banner .cookie-settings {
  background: #fff8ef;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
  padding: 10px 18px;
  border-radius: 36px;
  font-size: 15px;
  margin-left: 13px;
  transition: background .15s;
}
.cookie-banner .cookie-settings:hover { background: #f5e5c5; }
/* Cookie Consent Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3300;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(41,34,25,0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px);
  pointer-events: auto;
  transition: opacity .22s;
}
.cookie-modal {
  background: #fff8ef;
  border-radius: var(--radius);
  box-shadow: 0 8px 36px var(--color-shadow);
  padding: 38px 32px 28px 32px;
  max-width: 460px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.cookie-modal h2 {
  margin-bottom: 12px;
  font-family: 'Playfair Display', serif;
  color: var(--color-primary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-bottom: 26px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  padding: 6px 0;
}
.cookie-category input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: var(--color-accent);
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
}
.cookie-modal button {
  background: var(--color-accent);
  color: #fff;
  border: none;
  font-size: 16px;
  border-radius: var(--radius-sm);
  padding: 10px 30px;
  margin: 0 8px 0 0;
  font-weight: 600;
  transition: background .18s;
  cursor: pointer;
}
.cookie-modal button.secondary {
  background: var(--color-primary);
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ece4ce;
  border: none;
  border-radius: 50%;
  font-size: 1.39rem;
  width: 36px;
  height: 36px;
  color: #943a3a;
  transition: background .16s;
  cursor: pointer;
}
.cookie-modal-close:hover { background: #b42525; color: #fff; }

/* --------------- FORM ELEMENTS (Contact, etc) --------------- */
input, textarea, select {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-mid);
  padding: 12px 16px;
  margin-bottom: 17px;
  outline: none;
  background: #fff8ef;
  transition: border .16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.7px solid var(--color-accent);
  background: #fff;
}

/* --------------- CARD & FEATURE --------------- */
.card {
  border: 2px solid var(--color-mid);
  border-radius: var(--radius-sm);
  background: #fff8ef;
  box-shadow: 0 2px 16px var(--color-shadow), 0 1px 8px #cdbb9877;
  padding: 24px 18px;
  margin-bottom: 20px;
  font-size: 1.04rem;
}
.card strong {
  color: var(--color-accent);
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
}

/* --------------- RESPONSIVE DESIGN --------------- */
@media (max-width: 1040px) {
  .container { max-width: 96vw; }
  .content-wrapper, .footer-contact, .footer-nav { gap: 12px; }
  header .container { flex-wrap: wrap; }
}
@media (max-width: 900px) {
  nav { gap: 10px; }
  header .container { gap: 8px; flex-wrap: wrap; }
  .footer-nav { gap: 10px; flex-wrap: wrap; }
  .section {
    padding: 24px 7vw;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .main-cta { display: none; }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding: 0 5vw;
  }
  .section {
    margin-bottom: 40px;
    padding: 20px 5vw;
  }
  .content-wrapper {
    gap: 14px;
    padding: 0;
  }
  .hero { padding: 32px 0 24px 0; }
  .hero h1 { font-size: 2rem; }
  .card-container, .content-grid { gap: 12px; }
  .testimonial-card, .feature-item { padding: 16px; font-size: 15px; }
  .text-image-section { flex-direction: column; gap: 16px; }
  .footer-tagline { margin-top: 11px; font-size: 0.94rem; }
}
@media (max-width: 520px) {
  html { font-size: 92%; }
  .container { padding: 0 2vw; }
  .section { padding: 11px 1vw; }
  h1 { font-size: 1.34rem; }
  h2 { font-size: 1.07rem; }
  .footer-logo img, header img { max-height: 35px; }
  .footer-contact span img { width: 16px; height: 16px; }
  .testimonial-card, .feature-item { padding: 8px; }
  .mobile-menu { padding: 0; }
  .mobile-nav { padding: 64px 10vw 10vw 10vw; }
}

/* --------------- ANIMATIONS & MICRO-INTERACTIONS --------------- */
.cta, .main-cta, .btn, .cookie-banner button, .cookie-modal button {
  transition: background .18s, color .18s, transform .18s, box-shadow .22s;
}
.card, .testimonial-card, .feature-item, .section {
  transition: box-shadow .15s;
}
.card:hover, .testimonial-card:hover, .feature-item:hover {
  box-shadow: 0 4px 32px var(--color-shadow);
  transform: translateY(-3px) scale(1.01);
}

/* --------------- RETRO PATTERN AND NOSTALGIC ACCENTS --------------- */
.section {
  border: 1.5px dashed #bba477;
  background-image: url('../assets/pattern-retro.png');
  background-repeat: repeat;
  background-size: 320px;
  background-position: center top;
  box-shadow: 0 1px 18px var(--color-shadow), 0 2px 5px #eed4bd66;
}
@media (max-width: 768px) {
  .section { background-size: 160px; }
}

/* --------------- VISUAL HIERARCHY SPACING --------------- */
.section > .container, .section > .content-wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 900px;
}
.section + .section { margin-top: 32px; }
.hero + .section { margin-top: 0; }

/* --------------- MISC --------------- */
::-webkit-scrollbar {
  width: 10px;
  background: #f7e1bb;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: #bba477;
  border-radius: 10px;
  border: 2px solid #f7e1bb;
}
img { max-width: 100%; height: auto; }

/* --------------- CLASSIC RETRO BADGES/ELEMENTS --------------- */
.badge-retro {
  display: inline-block;
  background: var(--color-accent);
  color: #fff8ef;
  border-radius: 50px;
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  padding: 4px 18px;
  box-shadow: 0 1px 3px #bba477;
  margin-right: 4px;
  letter-spacing: .6px;
}

/* --------------- Utilities --------------- */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }

/* Hide visually but keep for screen readers */
.visually-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  top: auto;
  overflow: hidden;
}
