/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.45;
  background: #FFF7EF;
  color: #3B2B13;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  background: transparent;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
:focus {
  outline: 2px dashed #46877E;
  outline-offset: 2px;
}

/* ============= VARIABLES (NO CSS GRID) ============= */
:root {
  --primary: #3B2B13;
  --brand-dark: #2B1D0C;
  --secondary: #E7C59A;
  --accent: #46877E;
  --accent-dark: #247368;
  --background: #FFF7EF;
  --white: #fff;
  --border: #dabb93;
  --shadow: 0 2px 8px 0 rgba(42,24,10,0.13);
  --header-height: 84px;
}

/* ============= FONTS ============= */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--background);
  color: var(--primary);
  font-size: 16px;
  letter-spacing: 0.01em;
}
h1, h2, h3 {
  color: var(--brand-dark);
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 900;
  letter-spacing: 0.028em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 700;
}
p, li, blockquote {
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.6;
  margin-bottom: 14px;
  font-family: 'Roboto', Arial, sans-serif;
}
strong {
  font-weight: 700;
  color: var(--brand-dark);
}

/* ============= GENERAL LAYOUT & SPACING ============= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 830px;
}
.text-section {
  background: rgba(231,197,154,0.18);
  border-radius: 22px;
  padding: 34px 26px;
  box-shadow: 0 2px 8px 0 rgba(59,43,19,0.08);
  margin-bottom: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px 18px;
}

/* =================== FLEX LAYOUT PATTERNS ================== */
.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: #fff;
  border-radius: 18px;
  border: 2px solid var(--border);
  box-shadow: 0 2px 12px 0 rgba(59,43,19,0.07);
  margin-bottom: 24px;
  max-width: 670px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover,
.testimonial-card:focus {
  box-shadow: 0 4px 24px 0 rgba(36,115,104,.16);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 16px;
  border: 2px solid var(--border);
  box-shadow: 0 2px 8px 0 rgba(59,43,19,0.08);
  padding: 26px 18px 22px 18px;
  gap: 15px;
  min-width: 245px;
  max-width: 100%;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.feature-item:hover {
  border-color: var(--accent-dark);
  box-shadow: 0 4px 28px 0 rgba(70,135,126,0.09);
}
.feature-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 6px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
}

/* ================= SPACING & VISUAL HIERARCHY ================ */
ul, ol {
  margin-left: 18px;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 10px;
  padding-left: 0.35em;
  position: relative;
  font-size: 1rem;
}
ul li::before {
  content: '\25A0'; /* Filled square retro marker */
  color: var(--accent);
  margin-right: 8px;
  font-size: 0.7em;
  vertical-align: middle;
}
ol li {
  list-style-type: decimal;
  margin-left: 8px;
  color: var(--brand-dark);
}
ul li strong {
  color: var(--accent-dark);
}
blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 14px;
  color: var(--brand-dark);
  font-style: italic;
  background: rgba(70,135,126,0.07);
  border-radius: 5px;
}

/* ================= BRAND BUTTONS =================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  padding: 12px 34px;
  border-radius: 26px;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(36,115,104,.14);
  font-size: 1.1rem;
  margin-top: 12px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent-dark);
  box-shadow: 0 6px 16px 0 rgba(59,43,19,0.12);
  transform: translateY(-2px) scale(1.02);
}
.btn-link {
  background: none;
  color: var(--accent-dark);
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  font-size: 1.02rem;
  border: none;
  text-decoration: underline;
  padding: 0;
  margin-top: 8px;
  transition: color 0.18s;
}
.btn-link:hover, .btn-link:focus {
  color: var(--primary);
}

/* ============== HEADER & NAVIGATION ============== */
header {
  background: var(--secondary);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 12px 0 rgba(59,43,19,0.10);
  padding: 0;
  position: relative;
  z-index: 900;
}
.header-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  min-height: var(--header-height);
  height: var(--header-height);
}
.logo-link img {
  height: 56px;
  width: auto;
  margin-top: 5px;
  filter: sepia(0.24) contrast(1.12) brightness(0.98);
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  margin-left: 16px;
}
.main-nav a {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--primary);
  padding: 8px 3px;
  border-radius: 4px;
  background: none;
  transition: background 0.17s, color 0.17s;
  outline: none;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--accent);
  color: #fff;
}

/* =============== MOBILE NAVIGATION =============== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 1200;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 2rem;
  border: none;
  justify-content: center;
  align-items: center;
  transition: background 0.15s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--accent-dark);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 88vw;
  max-width: 375px;
  height: 100vh;
  background: var(--secondary);
  box-shadow: -2px 0 28px 0 rgba(59,43,19,0.17);
  z-index: 3000;
  padding: 32px 22px 38px 22px;
  transform: translateX(105%);
  transition: transform 0.25s cubic-bezier(0.85, 0.03, 0.24, 1.04);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  font-size: 2.1rem;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: background 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--accent-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-nav a {
  width: 100%;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.19rem;
  font-weight: 700;
  color: var(--primary);
  padding: 14px 2px;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--accent);
  color: #fff;
}

/* ========== HERO SECTION (VINTAGE RETRO FEEL) ========== */
.hero {
  background: repeating-linear-gradient(
    135deg,
    #E7C59A 0px, #E7C59A 12px,
    #FFF7EF 12px, #FFF7EF 42px
  );
  padding: 64px 0 56px 0;
  box-shadow: 0 2px 16px 0 rgba(59,43,19,0.08);
  border-bottom: 4px solid var(--border);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.5rem;
  color: var(--brand-dark);
  text-shadow: 1px 1px 2px rgba(59,43,19,0.08);
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.12rem;
  margin-bottom: 28px;
  color: var(--primary);
  max-width: 600px;
}

/* ============= TESTIMONIALS ============== */
.testimonial-card {
  margin-bottom: 30px;
  background: #fff;
  color: #1B1307;
  border-radius: 18px;
  border: 2px solid var(--border);
  box-shadow: 0 2px 12px 0 rgba(59,43,19,0.07);
  align-items: center;
  line-height: 1.6;
}
.testimonial-card blockquote p {
  color: #1B1307;
  font-weight: 500;
  margin-bottom: 0;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.21rem;
  letter-spacing: 0.01em;
}
.testimonial-author {
  margin-left: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--accent-dark);
  font-weight: 700;
}

/* ============= FOOTER =============== */
footer {
  background: var(--brand-dark);
  color: var(--secondary);
  padding-top: 36px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 48px;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px 12px 18px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-menu a {
  color: var(--secondary);
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.07rem;
  font-weight: 700;
  opacity: 0.88;
  padding: 4px 0;
  border-radius: 4px;
  transition: background 0.12s, color 0.12s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  background: var(--accent);
  color: #fff;
  opacity: 1;
}
.contact-footer {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.02rem;
}
.contact-footer img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
}
.brand-footer {
  width: 100%;
  text-align: center;
  padding: 16px 0 24px 0;
  font-size: 0.97rem;
  color: var(--secondary);
  opacity: 0.67;
  background: transparent;
  border-top: 1.5px solid #a87c43;
  font-family: 'Roboto', Arial, sans-serif;
  letter-spacing: 0.01em;
}

/* ========== COOKIE CONSENT BANNER & MODAL ========== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  max-width: 100%;
  background: #fffbe7;
  border-top: 2.5px solid var(--border);
  box-shadow: 0 -2px 16px 0 rgba(59,43,19,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 18px 19px 18px;
  z-index: 50000;
  font-family: 'Roboto', Arial, sans-serif;
  transition: transform 0.3s, opacity 0.2s;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-content {
  max-width: 685px;
  text-align: center;
  color: var(--brand-dark);
  margin-bottom: 14px;
  font-size: 1.03rem;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: center;
  margin-bottom: 2px;
}
.cookie-btn {
  border-radius: 30px;
  padding: 8px 24px;
  font-size: 1.04rem;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  border: none;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.14s;
}
.cookie-accept {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 8px 0 rgba(36,115,104,.08);
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--accent-dark);
}
.cookie-reject {
  background: #fff;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #ffeedd;
}
.cookie-settings {
  background: none;
  color: var(--accent-dark);
  text-decoration: underline;
}
.cookie-settings:hover, .cookie-settings:focus {
  color: var(--brand-dark);
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(59,43,19, 0.46);
  z-index: 70000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s;
  opacity: 1;
}
.cookie-modal {
  background: #fffbe7;
  border: 2px solid var(--border);
  border-radius: 19px;
  box-shadow: 0 6px 44px 0 rgba(59,43,19,0.13);
  max-width: 95vw;
  width: 400px;
  padding: 32px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal-title {
  font-size: 1.35rem;
  color: var(--brand-dark);
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 900;
  margin-bottom: 15px;
  text-align: center;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.toggle-switch {
  display: inline-block;
  width: 38px;
  height: 22px;
  position: relative;
}
.toggle-switch input[type="checkbox"] {
  display: none;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #e9dac2;
  border-radius: 22px;
  transition: background 0.14s;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(59,43,19,.08);
  transition: transform 0.17s;
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--accent);
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(16px);
  background: #fff;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  justify-content: center;
}
.cookie-modal-close {
  position: absolute;
  top: 20px; right: 22px;
  border: none;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============= RETRO NOSTALGIC ELEMENTS ============= */
.section {
  background: repeating-linear-gradient(45deg, #fcebdb, #fcebdb 32px, #fff7ef 32px, #fff7ef 72px);
  border: 1.8px solid var(--border);
  border-radius: 32px;
  box-shadow: 0 4px 28px 0 rgba(59,43,19,0.09);
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Add subtle dashed borders to major content blocks for vintage look */
.text-section {
  border: 2px dashed var(--border);
}
.card, .feature-item, .testimonial-card {
  border-style: dashed;
}


/* ============= MICRO-INTERACTIONS ============= */
a, .btn-primary, .cookie-btn, .main-nav a, .mobile-nav a {
  transition: color 0.17s, background 0.15s, box-shadow 0.14s, border-color 0.16s;
}

/* /* ICON-STYLE FOR SOCIALS */
.contact-footer img[alt*="Facebook"],
.contact-footer img[alt*="Instagram"] {
  filter: sepia(0.60)  hue-rotate(120deg) brightness(0.8);
  margin-right: 7px;
}

/* ============= RESPONSIVE DESIGN ============= */
@media (max-width: 1024px) {
  .container {
    padding: 0 8px;
  }
  .header-bar {
    padding: 0 8px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
@media (max-width: 850px) {
  .main-nav {
    gap: 16px;
    font-size: 0.95rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .testimonial-card {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 6px;
  }
  .section {
    padding: 24px 7px;
    margin-bottom: 40px;
    border-radius: 20px;
  }
  .header-bar {
    flex-direction: row;
    padding: 0 7px;
    height: 62px;
    min-height: 62px;
  }
  .logo-link img {
    height: 44px;
  }
  .main-nav {
    display: none;
  }
  .btn-primary {
    font-size: 1.02rem;
    padding: 11px 24px;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 14px 8px;
    gap: 9px;
    font-size: 0.98rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
    padding: 0 7px 12px 7px;
  }
  .footer-menu {
    flex-direction: row;
    gap: 13px;
    flex-wrap: wrap;
  }
  .brand-footer {
    padding: 10px 0 18px 0;
    font-size: 0.93rem;
  }
  .text-section {
    padding: 15px 9px;
    border-radius: 10px;
  }
}
@media (max-width: 512px) {
  h1 {
    font-size: 1.22rem;
  }
  h2 {
    font-size: 1.05rem;
  }
  h3 {
    font-size: 0.96rem;
  }
  .feature-item,
  .card {
    padding: 17px 8px;
    border-radius: 9px;
    min-width: 0;
  }
  .testimonial-card{
    font-size: 0.93rem;
    padding: 12px 5px;
  }
  .cookie-modal {
    width: 96vw;
    padding: 16px 4vw 12px 4vw;
  }
}

/* ========== PRINT SMALL DEVICE FIX ========== */
@media (max-width: 350px) {
  .container, .header-bar, .footer-nav, .cookie-modal {
    padding: 0 2vw;
  }
  .mobile-menu {
    width: 100vw;
    padding: 23px 7px;
    min-width: 0;
    max-width: 100vw;
  }
}

/* ============== UTILITIES ============= */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: 0;
}

/* =========== ACCESSIBILITY HOVER / FOCUS =========== */
a:active, a:focus { outline: 2px solid var(--accent); }

/* =========== OVERRIDES FOR RETRO LOOK ============= */
.section, .text-section, .feature-item, .card, .testimonial-card, .footer-nav, .brand-footer {
  font-family: 'Roboto', Arial, sans-serif;
}
h1, h2, h3 {
  font-family: 'Merriweather', Georgia, serif;
  text-transform: none;
  text-shadow: 0 1px 0 #e7c59a33;
}
.hero h1 {
  letter-spacing: 0.04em;
}

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