/* RESET & BASE TYPOGRAPHY */
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.5;
  background: #DFD3BF;
  color: #4E3E24;
  font-family: 'Lato', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a {
  color: #7A5933;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #4E3E24;
  text-decoration: none;
}
strong { font-weight: 700; }
ul, ol {margin-left: 24px; margin-bottom: 16px;}
li {margin-bottom: 12px;}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  margin-bottom: 16px;
  color: #4E3E24;
  letter-spacing: 0.02em;
}
h1 {font-size: 2.5rem; margin-bottom: 20px;}
h2 {font-size: 2rem; margin-bottom: 16px;}
h3 {font-size: 1.5rem; margin-bottom: 12px;}
h4 {font-size: 1.2rem; margin-bottom: 8px;}
p, blockquote, .text-section {font-size: 1.08rem; margin-bottom: 16px;}
blockquote {
  padding: 16px 24px;
  background: #e6dacf;
  border-left: 6px solid #7A5933;
  font-style: italic;
  color: #624627;
  border-radius: 0 12px 12px 0;
  margin-top: 8px;
}

/* BRAND COLORS / CUSTOM PROPERTIES */
:root {
  --primary: #4E3E24;
  --secondary: #7A5933;
  --accent: #DFD3BF;
  --accent-dark: #B9A378;
  --white: #FCF7EF;
  --gray-bg: #EFE7DD;
  --border: #C0B299;
  --success: #81A08C;
  --shadow: rgba(60,40,15,0.07);
}

/* VINTAGE RETRO FONTS (WEB FONTS LOAD FALLBACK) */
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700,900&display=swap');

body {
  font-size: 1rem;
  background: var(--accent);
  color: var(--primary);
}

/* HEADER */
header {
  width: 100%;
  background: #efd8bb;
  border-bottom: 4px solid var(--secondary);
  box-shadow: 0 6px 24px var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  min-height: 72px;
  position: sticky;
  top: 0;
  z-index: 10;
}
header a img {
  height: 54px;
  margin-right: 10px;
  padding: 8px;
  border-radius: 10px;
  background: #fff8e7;
  box-shadow: 0 2px 5px rgba(85,61,35,0.09);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav a {
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--primary);
  padding: 10px 0;
  background: transparent;
  border: none;
  border-radius: 0;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  cursor: pointer;
  position: relative;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background-color: var(--secondary);
  margin: 0 auto;
  transition: width 0.2s;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 80%;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
}

.mobile-menu-toggle {
  display: none;
  padding: 12px 16px;
  background: var(--secondary);
  color: var(--accent);
  font-size: 1.5rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin-left: 18px;
  box-shadow: 0 2px 8px var(--shadow);
  transition: background 0.2s, box-shadow 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px var(--shadow);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  background: var(--accent);
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  transform: translateX(-120%);
  transition: transform 0.36s cubic-bezier(0.68,-0.55,0.27,1.25);
  box-shadow: 8px 0 14px var(--shadow);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 28px 20px 12px auto;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 18px 32px 24px 32px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--primary);
  background: none;
  border: none;
  padding: 14px 0;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--accent-dark);
  color: var(--white);
}

/* =========== MAIN LAYOUT =========== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 2px 18px var(--shadow);
  position: relative;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #F5EADB;
  border-radius: 16px;
  box-shadow: 0 2px 10px var(--shadow);
  border: 1.5px solid var(--border);
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  max-width: 340px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  gap: 12px;
  transition: box-shadow 0.23s, transform 0.23s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 22px 0 rgba(75, 60, 26, .14);
  transform: translateY(-4px) scale(1.03);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 15px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 14px;
  background: #ECE2D1;
  box-shadow: 0 2px 8px var(--shadow);
  border: 1px solid var(--border);
}

/* ============== CTA BUTTONS ============ */
.cta {
  display: inline-block;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 15px 36px;
  border-radius: 24px;
  background: var(--secondary);
  color: var(--accent);
  text-decoration: none;
  box-shadow: 0 2px 10px var(--shadow);
  transition: background 0.22s, color 0.13s, transform 0.16s;
  letter-spacing: 0.04em;
  margin-top: 12px;
  border: none;
  cursor: pointer;
  outline: none;
}
.cta:hover, .cta:focus {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px) scale(1.04);
}

/* ============ TESTIMONIALS ============= */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  padding: 20px 28px;
  background: #FCF7EF;
  border-radius: 12px;
  box-shadow: 0 1.5px 9px var(--shadow);
  border: 2px dashed var(--border);
  color: #231E12;
  font-size: 1.06rem;
  max-width: 600px;
}
.testimonial-card p {
  color: #231E12;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.08rem;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--secondary);
  font-family: 'Roboto Slab', Georgia, serif;
}

/* ========== FOOTER ========== */
footer {
  margin-top: 60px;
  background: #efd8bb;
  padding: 34px 0 24px 0;
  border-top: 3.5px solid var(--secondary);
  box-shadow: 0 -4px 24px var(--shadow);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  align-items: center;
  margin-bottom: 22px;
}
.footer-nav a {
  color: var(--secondary);
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1rem;
  text-decoration: none;
  background: none;
  padding: 4px 8px;
  transition: color 0.16s, background 0.13s;
  border-radius: 4px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--primary);
  background: #f4e2c2;
}
.footer-contact {
  text-align: center;
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.65;
  font-family: 'Lato', Arial, sans-serif;
}

/* ============ COOKIE CONSENT BANNER ============ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 998;
  background: #F0DAC0;
  border-top: 3px solid var(--secondary);
  box-shadow: 0 -2px 14px var(--shadow);
  padding: 18px 9vw 18px 9vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  animation: cookieSlideIn 0.5s cubic-bezier(0.61,0,0.39,1) 0s 1;
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-banner__msg {
  flex: 1 1 60%;
  color: var(--primary);
  font-size: 1.05rem;
  font-family: 'Lato', Arial, sans-serif;
}
.cookie-banner__actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 0.99rem;
  padding: 9px 21px;
  border: none;
  border-radius: 20px;
  background: var(--secondary);
  color: var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 5px var(--shadow);
  transition: background 0.18s, color 0.12s, transform 0.16s;
}
.cookie-btn.cookie-reject {
  background: #b98846;
  color: var(--accent);
}
.cookie-btn.cookie-settings {
  background: none;
  color: var(--secondary);
  border: 1.4px solid var(--secondary);
  box-shadow: none;
  margin-right: 8px;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: var(--primary);
  color: var(--white);
}
.cookie-btn.cookie-settings:focus, .cookie-btn.cookie-settings:hover {
  background: var(--secondary);
  color: var(--accent);
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(55, 39, 8, 0.35);
  justify-content: center;
  align-items: center;
  animation: cookieModalFadeIn 0.25s;
}
@keyframes cookieModalFadeIn {
  from{opacity:0;}
  to{opacity:1;}
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #FFFAF3;
  max-width: 420px;
  width: 90vw;
  border-radius: 20px;
  box-shadow: 0 6px 40px var(--shadow);
  padding: 34px 24px 24px 24px;
  border: 2px solid #D4C4AA;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  animation: modalPopUp 0.28s cubic-bezier(0.44,0.01,0.56,1.12);
}
@keyframes modalPopUp {
  from {transform: scale(0.95); opacity: .5;}
  to {transform: scale(1); opacity:1;}
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 12px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 14px;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 1.25rem;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: var(--primary);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 11px;
  font-family: 'Lato', Arial, sans-serif;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--primary);
}
.cookie-toggle {
  appearance: none;
  width: 32px;
  height: 18px;
  background: #e1c7a4;
  border-radius: 9px;
  border: 1.2px solid var(--border);
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .18s;
}
.cookie-toggle:checked {
  background: var(--success);
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.2s;
}
.cookie-toggle:checked:before {
  left: 17px;
}
/* Always enabled -> dimmed toggle */
.cookie-category.essential .cookie-toggle,
.cookie-category.essential label {
  opacity: 0.8;
  cursor: not-allowed;
}

.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 16px;
}

/* ============== RESPONSIVE STYLES =============== */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
}
@media (max-width: 850px) {
  .footer-nav {
    gap: 16px;
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 6px;
  }
  .section, section, .card {
    padding-left: 9px;
    padding-right: 9px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.33rem; }
  .footer-contact {
    font-size: 0.98rem;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card {
    padding: 14px 13px;
    font-size: 1rem;
    max-width: 96vw;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding-left: 4vw;
    padding-right: 4vw;
  }
}

@media (max-width: 480px) {
  header {
    min-height: 54px;
    padding: 2px 4px;
  }
  header a img {
    height: 36px;
    padding: 3px;
  }
  .section, section {
    padding-left: 2px;
    padding-right: 2px;
  }
  .cta {
    font-size: 1rem;
    padding: 11px 14px;
  }
  .footer-contact {
    font-size: 0.91rem;
  }
}
/* =============== MICRO-ANIMATIONS & EFFECTS =============== */
.cta, .mobile-menu-toggle, .cookie-btn {
  transition: background 0.18s, color 0.13s, box-shadow 0.17s, transform 0.15s;
}
.cta:active, .cookie-btn:active, .mobile-menu-toggle:active {
  background: var(--accent-dark);
  color: var(--primary);
  box-shadow: 0 1px 2.5px var(--shadow);
  transform: scale(0.97);
}

/* Nostalgic patterns / accents */
.section, .card, .testimonial-card, .feature-item {
  background-image: repeating-linear-gradient(135deg, rgba(192,178,153,0.06) 0 10px, transparent 10px 20px);
}

/* Subtle border pattern for vintage retro */
.section, .card, .testimonial-card, .feature-item {
  border-style: solid;
  border-width: 1.5px;
  border-color: var(--border);
}

/* ============= UTILITY CLASSES ============== */
.gap-20 { gap: 20px !important; }
.d-flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.justify-center { justify-content: center !important; }
.align-center { align-items: center !important; }
.rounded-12 { border-radius: 12px !important; }

/* END */
