/* RESET & BASE TYPOGRAPHY (MOBILE FIRST) */
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%;
  font-size: 16px;
  background: #F4F1EC;
}
body {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #23273B;
  background: #F4F1EC;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, picture, video {
  max-width: 100%;
  display: block;
}

::-webkit-input-placeholder { color: #a79673; }
::-moz-placeholder { color: #a79673; }
:-ms-input-placeholder { color: #a79673; }
::placeholder { color: #a79673; }

button, input, select, textarea {
  font-family: inherit;
  border-radius: 0;
}

/* BRAND FONTS & VINTAGE/RETRO TYPE SCALES */
h1, h2, h3, .logo {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  color: #23273B;
  letter-spacing: 0.02em;
  
}
h1 { font-size: 2.2rem; margin-bottom: 18px; }
h2 { font-size: 1.5rem; margin-bottom: 14px; }
h3 { font-size: 1.15rem; margin-bottom: 10px; }
@media (min-width: 600px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.4rem; }
}
p, ul, ol, li, span, a {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
strong { font-weight: bold; }
ul, ol {
  margin-left: 20px;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.7;
}
a {
  color: #AA9144;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #23273B;
}

/* VINTAGE/RETRO COLOR PALETTE - EARTHY HUES */
:root {
  --primary: #23273B;
  --secondary: #AA9144;
  --background: #F4F1EC;
  --accent: #f6d8af;
  --retro-green: #8F9779;
  --retro-blue: #8BAAC9;
  --retro-red: #C6715B;
  --retro-cream: #FAEDDD;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* VINTAGE SECTION PADDING & SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
  background: var(--retro-cream);
  border-radius: 18px;
  box-shadow: 0 3px 18px 0 rgba(189,178,145,0.16);
  border: 2px solid #e8d5b7;
}
section:nth-of-type(even) {
  background: #F4F1EC;
}

@media (min-width: 900px) {
  .content-wrapper {
    gap: 28px;
  }
  section {
    padding: 56px 48px;
    border-radius: 22px;
  }
}

/* FLEXBOX GRIDS & FEATURE CONTAINERS */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.features-grid > div {
  background: #fff8ea;
  border-radius: 16px;
  border: 2px solid #eed8b4;
  flex: 1 1 180px;
  min-width: 220px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(184, 160, 91, 0.09);
  transition: box-shadow 0.2s, background 0.2s;
}
.features-grid > div img {
  margin-bottom: 12px;
  width: 38px;
  height: 38px;
}
.features-grid > div:hover {
  background: #fbeed2;
  box-shadow: 0 5px 24px 0 rgba(119,97,30,0.13);
}

/* Classic Pattern - Subtle Diagonal Lines */
section:before {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  pointer-events: none;
  opacity: 0.08;
  z-index: 0;
  background: repeating-linear-gradient(135deg, #AA9144 0, #AA9144 2px, transparent 3px, transparent 20px);
  border-radius: 16px;
  display: block;
}
section:nth-of-type(even):before {
  opacity: 0.02;
}
section > .container, section > .container > * {
  position: relative;
  z-index: 1;
}

/* TESTIMONIALS FLEX CARDS */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.testimonial-card {
  flex: 1 1 280px;
  background: #fff;
  border-radius: 16px;
  border: 2px solid #e2dec3;
  box-shadow: 0 2px 12px 0 rgba(65, 49, 30, 0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  color: #23273B;
  transition: transform 0.15s, box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px 0 rgba(139, 170, 201, 0.18);
  transform: translateY(-5px) scale(1.02);
}
.testimonial-card p {
  font-style: italic;
  font-size: 1.05rem;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #AA9144;
  opacity: 0.95;
}

/* CTA BUTTONS */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border: 2px solid var(--secondary);
  background: #fff8ea;
  color: var(--primary);
  padding: 12px 32px;
  border-radius: 28px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(119,97,30,0.07);
  margin-top: 12px;
  transition: background 0.17s, color 0.18s, box-shadow 0.16s;
  gap: 10px;
}
.cta.primary, .cta.primary:visited {
  background: var(--secondary);
  color: #fff;
  border: 2px solid var(--primary);
  box-shadow: 0 2px 12px 0 rgba(170, 145, 68, 0.08);
}
.cta:hover, .cta:focus {
  background: var(--primary);
  color: #fff;
  border-color: var(--secondary);
  box-shadow: 0 6px 20px 0 rgba(35,39,59,0.14);
  text-decoration: none;
  outline: none;
}
.cta.primary:hover, .cta.primary:focus {
  background: #23273B;
  color: #FFD880;
  border-color: #FFD880;
}

/* LOGO STYLING */
.logo img {
  display: block;
  width: 124px;
  max-width: 90vw;
  height: auto;
  margin-right: 0;
}
.header .logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary);
}

/* HEADER & MAIN NAVIGATION */
header {
  background: #fff;
  border-bottom: 3px solid #E9D6B7;
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  box-shadow: 0 2px 9px 0 rgba(170,145,68,0.05);
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px 13px 18px;
}
.main-nav {
  display: none;
}
@media (min-width: 900px) {
  .main-nav {
    display: flex;
    flex-direction: row;
    gap: 26px;
    align-items: center;
  }
  .main-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.02rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #23273B;
    padding: 3px 0;
    position: relative;
    transition: color 0.2s;
  }
  .main-nav a:after {
    content: '';
    display: block;
    width: 0%;
    border-bottom: 2.5px solid #AA9144;
    transition: width 0.18s;
    margin-top: 2px;
  }
  .main-nav a:hover, .main-nav a.active {
    color: #AA9144;
  }
  .main-nav a:hover:after, .main-nav a.active:after {
    width: 86%;
    border-color: #AA9144;
  }
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  padding: 7px 18px;
  color: #AA9144;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.16s;
  z-index: 50;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #faf0da;
  outline: none;
}
@media (min-width: 900px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  z-index: 99;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: #23273bde;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(0.55,0,0.2,1);
  will-change: transform;
  overflow-y: auto;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #FFD880;
  background: none;
  outline: none;
  border: none;
  align-self: flex-end;
  margin: 18px 24px 6px 0;
  cursor: pointer;
  z-index: 110;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #AA9144;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100vw;
  margin-top: 26px;
  align-items: flex-start;
  padding: 2px 36px 2px 32px;
}
.mobile-nav a {
  color: #FFD880;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.07em;
  background: none;
  border: none;
  padding: 7px 0;
  border-bottom: 1.7px dashed #AA9144;
  transition: color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FAEDDD;
}
@media (min-width: 900px) {
  .mobile-menu { display: none !important; }
}

/* FOOTER STYLES */
footer {
  background: #F4F1EC;
  border-top: 2.5px solid #E4D6B2;
  padding: 32px 0 26px 0;
  width: 100%;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  align-items: center;
  justify-content: center;
}
.footer-nav a {
  font-size: 0.96rem;
  color: #AA9144;
  text-decoration: none;
  border-bottom: 1.2px solid #C7A65B;
  transition: color 0.16s;
  padding: 2px 0;
}
.footer-nav a:hover {
  color: #23273B;
}
footer span {
  color: #AA9144;
  font-size: 0.94rem;
  opacity: 0.8;
}

/* CARD LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff8ea;
  border-radius: 15px;
  box-shadow: 0 1.5px 7px 0 rgba(170,145,68,0.08);
  border: 2px solid #ecd2a8;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 24px;
  gap: 15px;
}

/* GRID ALTERNATIVES WITH FLEX */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 850px) {
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 10px 0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.map-placeholder {
  padding: 17px 15px;
  border: 2px dashed #AA9144;
  border-radius: 9px;
  background: #faf0da;
  margin-top: 12px;
  color: #896b37;
  font-size: 1.05rem;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  z-index: 180;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #23273B;
  color: #FAEDDD;
  padding: 20px 16px 17px 16px;
  box-shadow: 0 -2px 12px 0 rgba(40,35,17,0.12);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  font-size: 1rem;
  will-change: transform,opacity;
  transition: transform 0.22s, opacity 0.22s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 7px;
}
.cookie-banner button, .cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  padding: 9px 22px;
  border-radius: 24px;
  background: #AA9144;
  color: #fff;
  font-weight: 700;
  margin-top: 0;
  cursor: pointer;
  transition: background 0.16s, color 0.13s;
  outline: none;
}
.cookie-banner button:hover, .cookie-banner .cookie-btn:hover {
  background: #FFD880;
  color: #23273B;
}
.cookie-banner .cookie-btn.secondary {
  background: #fff8ea;
  color: #23273B;
  border: 2px solid #AA9144;
}
.cookie-banner .cookie-btn.secondary:hover {
  background: #23273B;
  color: #FFD880;
  border-color: #FFD880;
}
.cookie-banner .cookie-btn.settings {
  background: #8BAAC9;
  color: #fff;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #C6715B;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  z-index: 200;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(35, 39, 59, 0.90);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  transition: opacity 0.18s, transform 0.22s;
}
.cookie-modal.hide {
  opacity: 0;
  transform: scale(1.12);
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff8ea;
  border-radius: 22px;
  max-width: 350px;
  padding: 34px 32px 28px 32px;
  box-shadow: 0 7px 32px 0 rgba(170,144,68,0.17);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: #23273B;
}
.cookie-modal-content h2 {
  color: #AA9144;
  font-size: 1.25rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 8px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.cookie-category input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #AA9144;
}
.cookie-category label {
  font-size: 1rem;
  color: #23273B;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 9px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 18px; right: 24px;
  font-size: 1.4rem;
  color: #AA9144;
  background: none;
  border: none;
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: #C6715B;
}

/* RESPONSIVE SPACING */
@media (min-width: 600px) {
  .container { padding: 0 30px; }
}
@media (max-width: 768px) {
  footer .container { gap: 18px; }
  section {
    padding: 36px 7px;
    border-radius: 12px;
  }
  .features-grid > div { padding: 18px 8px; min-width: 148px; }
  .testimonial-card { padding: 15px; }
}

/* RETRO-INSPIRED DECORATIVE ELEMENTS */
section h2, section h1 {
  text-shadow: 1px 2px 0 #fff8ea, 2px 3px 0 #eed6a3;
  letter-spacing: 0.02em;
}
section h3 {
  color: #C6715B;
  font-style: italic;
}
ul li img {
  width: 17px;
  height: 17px;
  margin-right: 8px;
  vertical-align: middle;
}
ol li::marker {
  color: #AA9144;
}

/* SCROLLBAR RETRO COLORS */
body::-webkit-scrollbar {
  width: 12px;
  background: #FAEDDD;
}
body::-webkit-scrollbar-thumb {
  background: #C7A65B;
  border-radius: 5px;
}
body::-webkit-scrollbar-thumb:hover {
  background: #AA9144;
}

/* SEPARATORS */
hr {
  border: none;
  border-top: 2px dashed #AA9144;
  margin: 30px 0;
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.cta, .cta.primary, .main-nav a, .card, .features-grid > div, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.17s, background 0.16s, color 0.17s;
}
.cta:active, .cta.primary:active {
  transform: scale(0.98);
}
.card:active, .features-grid > div:active {
  transform: scale(0.98);
}

/* FOCUS STATES FOR ACCESSIBILITY */
a:focus, .cta:focus, button:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2.5px dashed #AA9144;
  outline-offset: 2px;
}

/* MISCELLANEOUS */
@media (max-width: 600px) {
  .features-grid, .card-container, .testimonials {
    flex-direction: column;
    gap: 18px;
  }
  footer .footer-nav {
    gap: 12px;
  }
}

/* HIDE DEFAULT ARROW FOR BUTTONS */
button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/* --- END --- */
