/* ===== CSS RESET AND 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%; vertical-align: baseline;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{
  display:block;
}
body {
  line-height:1.5;
  background: #F9F7F2;
  color: #2A271C;
}
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,q:before,q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
img { max-width: 100%; display: block; border: 0; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
*:focus { outline: 2px dashed #B49570; outline-offset: 2px; }

/* ===== VINTAGE RETRO DESIGN VARIABLES ===== */
:root {
  --primary: #215732;
  --secondary: #98C27B;
  --accent: #F1F5EB;
  --offwhite: #FFF9ED;
  --brown: #8D6748;
  --sand: #D4C2A5;
  --dark: #322A23;
  --vintage-orange: #E39347;
  --border: #B49570;
  --vintage-blue: #6A9BBE;
  --shadow: 0 2px 12px 0 rgba(34,24,6,0.08);
  --radius: 18px;
  --radius-small: 8px;
  --transition: all 0.23s cubic-bezier(0.44,0,0.56,1);
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', 'Arial', sans-serif;
  --font-body: 'Roboto', 'Lato', 'Arial', sans-serif;
}

/* ===== VINTAGE TYPOGRAPHY ===== */
body,
p,li,td,th,small {
  font-family: var(--font-body);
  font-size: 16px;
  color: #423A2B;
  line-height: 1.68;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: bold;
  color: var(--primary);
  letter-spacing: 0.018em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; line-height: 1.1; }
h2 { font-size: 1.8rem; margin-bottom: 20px; }
h3 { font-size: 1.5rem; margin-bottom: 14px; }
h4 { font-size: 1.25rem; margin-bottom: 12px; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }
strong, b {
  font-family: var(--font-display);
  color: var(--brown);
  font-weight: bold;
}

/* ===== GENERAL LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1040px;
  padding: 0 18px;
  margin: 0 auto;
  box-sizing: border-box;
}
main {
  min-height: 68vh;
  background: var(--offwhite);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 36px;
  margin-top: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  box-sizing: border-box;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* ===== NAVIGATION ===== */
header {
  background: var(--primary);
  padding: 0;
  box-shadow: 0 2px 10px 0 rgba(34,24,6,0.04);
  border-bottom: 3px double var(--border);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.logo img {
  width: 175px;
  height: auto;
  filter: sepia(0.2) contrast(1.02) brightness(0.97);
  margin-right: 14px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  color: var(--sand);
  font-size: 1.05rem;
  padding: 7px 13px;
  border-radius: var(--radius-small);
  letter-spacing: 0.03em;
  transition: var(--transition);
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--vintage-orange);
  color: var(--dark);
}
.btn-primary, .btn-secondary {
  font-family: var(--font-display);
  font-size: 1.06rem;
  padding: 10px 32px;
  border-radius: var(--radius);
  background: var(--vintage-orange);
  color: #fff8f0;
  border: none;
  letter-spacing: 0.045em;
  box-shadow: 2px 6px 20px -8px #6a593d12;
  transition: var(--transition);
  margin-left: 16px;
  font-weight: 700;
  text-shadow: 1px 1px 0 #cb9a62a6;
  cursor: pointer;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 8px 32px -8px #99c27b38;
}
.btn-secondary {
  background: var(--vintage-blue);
  color: #fff;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary);
  color: #fff8f0;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--vintage-orange);
  cursor: pointer;
  margin-left: auto;
  display: none;
  z-index: 50;
  border-radius: 50%;
  padding: 4px 9px;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #E39347ee;
  backdrop-filter: blur(2.5px);
  z-index: 1111;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.56,0,0.56,1);
  display: flex; flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  pointer-events: none;
  box-shadow: 6px 0 32px -10px #0006;
}
.mobile-menu.open {
  transform: translateX(0%);
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  border: none;
  color: white;
  position: relative;
  margin: 30px 0 10px 30px;
  z-index: 10;
  cursor: pointer;
  transition: color .20s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 0 38px;
  margin-top: 24px;
}
.mobile-nav a {
  color: #fff8ef;
  font-family: var(--font-display);
  font-size: 1.24rem;
  padding: 11px 0;
  border-bottom: 1.5px dashed #fff7;
  transition: color .17s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
}

@media (max-width: 1200px) {
  header .container { flex-wrap: wrap; }
  .main-nav { flex-wrap: wrap; }
}

@media (max-width: 990px) {
  .container { max-width: 98vw; }
  .main-nav { gap: 12px; }
  .logo img { width: 145px; }
}

@media (max-width: 900px) {
  .main-nav { gap: 8px; }
  .btn-primary { padding: 9px 18px; font-size: 1rem; }
}

@media (max-width: 768px) {
  header .main-nav, header .btn-primary { display: none; }
  .mobile-menu-toggle { display: block; }
  main { border-radius: 0; margin: 0; }
}

/* ===== SECTIONS, SPACING & FLEXBOX LAYOUTS ===== */
.section { /* Already set above */ }
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--offwhite);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow);
  border: 1.5px solid var(--sand);
  padding: 26px 25px;
  min-width: 260px;
  flex: 1 1 320px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  background: #fffbe8;
  border: 2px solid var(--vintage-orange);
  border-radius: var(--radius);
  box-shadow: 0 6px 36px -10px #BA904C33;
  padding: 20px;
  margin-bottom: 22px;
  max-width: 540px;
  color: #251c11;
  font-size: 1.13rem;
}
.testimonial-card p {
  color: #3d321b;
  font-style: italic;
  margin-bottom: 6px;
}
.testimonial-card strong {
  color: var(--vintage-orange);
  font-size: 1.1em;
  font-family: var(--font-display);
}

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

/* Cards & Classic Patterns */
.card {
  background: repeating-linear-gradient(
    135deg,
    var(--offwhite), var(--offwhite) 24px,
    var(--accent) 24px, var(--accent) 35px
  );
  border-bottom: 4px double var(--sand);
}

/* ===== LIST & TABLES ===== */
ul, ol {
  margin-left: 22px;
  margin-bottom: 10px;
}
ul li, ol li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 0.6em;
  font-size: 1.03rem;
}
ul li::before {
  content: '\2605'; /* Star bullet */
  color: var(--vintage-orange);
  position: absolute;
  left: -1.0em;
  font-size: 1rem;
  margin-top: 0.07em;
  font-family: var(--font-display);
}
ol li::before { display: none; }
table {
  width: 100%;
  background: #fffefb;
  border-radius: var(--radius-small);
  box-shadow: var(--shadow);
  border: 2px solid var(--sand);
  margin-bottom: 30px;
  font-size: 1rem;
}
th, td {
  padding: 14px 10px;
  text-align: left;
}
th {
  font-family: var(--font-display);
  background: var(--secondary);
  color: var(--primary);
  border-bottom: 2px solid var(--vintage-orange);
  font-size: 1.08rem;
}
tr:nth-child(even) td {
  background: var(--accent);
}
tr:hover td { background: var(--secondary); color: var(--primary); transition: background .16s; }

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 28px 0 10px 0;
  border-top: 3px double var(--border);
}
footer .container { padding-top: 0; padding-bottom: 0; }
footer .content-wrapper {
  flex-direction: row;
  gap: 38px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 9px;
}
.footer-menu a {
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 1.02rem;
  padding: 4px 14px;
  border-radius: 7px;
  transition: background 0.14s;
}
.footer-menu a:hover, .footer-menu a:focus { background: var(--vintage-orange); color: #fff; }
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
  font-size: 0.97em;
}
.footer-contact img { width: 20px; height: 20px; opacity: 0.7; }
.footer-copy {
  color: #d4cbb3;
  font-family: var(--font-body);
  font-size: 0.92rem;
  margin-top: 12px;
}
@media (max-width: 900px) {
  footer .content-wrapper { flex-direction: column; gap: 14px; align-items: flex-start; }
  .footer-menu { gap: 10px; margin-bottom: 8px; }
}

/* ===== ICONS IN CONTACT ===== */
p img {
  width: 22px;
  height: 22px;
  margin-right: 7px;
  margin-bottom: -3px;
  vertical-align: middle;
  opacity: 0.7;
}

/* ===== MICRO-INTERACTIONS & TRANSITIONS ===== */
a,
.btn-primary,
.btn-secondary,
.main-nav a,
.footer-menu a {
  transition: var(--transition);
}

/* ===== FORM & BUTTON ELEMENTS (For modal/cookies, future forms) ===== */
input, select, textarea {
  font-family: var(--font-body);
  font-size: 1.05rem;
  border-radius: var(--radius-small);
  border: 1.5px solid var(--sand);
  background: #fffefb;
  padding: 7px 12px;
  box-sizing: border-box;
  margin-bottom: 16px;
  outline: none;
  transition: border 0.19s;
}
input:focus, textarea:focus {
  border-color: var(--vintage-orange);
}
label {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 2024;
  background: linear-gradient(90deg, #F9F2E4 70%, #E39347 100%);
  box-shadow: 0 0 32px 0 rgba(50,34,10,0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 25px 20px 20px 20px;
  gap: 18px;
  border-top: 3px double var(--border);
  animation: cookieFadeIn 0.66s;
}
.cookie-banner p {
  font-size: 0.97rem;
  color: var(--primary);
  margin-right: 16px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}
.cookie-banner .btn-cookie {
  background: var(--primary);
  color: #fffefb;
  border-radius: var(--radius-small);
  border: 0;
  padding: 9px 19px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-right: 5px;
  box-shadow: 0 2px 6px -2px #0002;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-banner .btn-cookie:hover, .cookie-banner .btn-cookie:focus {
  background: var(--vintage-orange);
  color: var(--primary);
}
.cookie-banner .btn-cookie-settings {
  background: var(--vintage-orange);
  color: #fffefb;
  padding: 9px 15px;
}
/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: #3c2b13c9;
  z-index: 2025;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cookieOverlayIn 0.35s;
}
@keyframes cookieFadeIn {
  from{opacity: 0; transform: translateY(24px);}
  to{ opacity: 1; transform: translateY(0);}
}
@keyframes cookieOverlayIn {
  from{opacity: 0;}
  to{ opacity: 1;}
}
.cookie-modal {
  background: repeating-linear-gradient(100deg, #fff9ed 0px 40px, #f1ece1 41px 50px);
  padding: 32px 22px 21px 22px;
  max-width: 410px;
  width: 96vw;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2.5px solid var(--vintage-orange);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookieFadeIn .22s;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 9px;
  color: var(--primary);
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
  font-size: 1.04rem;
  color: var(--primary);
  font-family: var(--font-display);
  cursor: pointer;
}
.cookie-modal input[type='checkbox'] {
  accent-color: var(--secondary);
  width: 20px;
  height: 20px;
  margin-right: 6px;
}
.cookie-modal .modal-actions {
  display: flex; gap: 13px; margin-top: 12px; }
.cookie-modal .close-modal {
  position: absolute; top: 12px; right: 14px;
  background: none; border: none; font-size: 1.5rem;
  color: var(--vintage-orange); cursor:pointer;
}

/* ===== RESPONSIVE ADJUSTMENTS & MOBILE ===== */
@media (max-width: 600px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.19rem; }
  main, .section {
    box-shadow: none;
    border-radius: 0;
    padding-left: 7px;
    padding-right: 7px;
  }
  .testimonial-card {
    max-width: 98vw;
    font-size: 1.01rem;
    padding: 13px;
  }
  .card { min-width: 97vw; max-width: 100vw; }
}
@media (max-width: 500px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 7px 14px 7px;
    font-size: 1rem;
    gap: 11px;
  }
  .cookie-banner p { margin-right: 0; }
  .cookie-banner .cookie-actions { gap:9px; }
  .mobile-menu .mobile-nav { padding: 0 12px; }
  .mobile-menu-close { margin-left:10px; }
}

/* ===== RETRO-NOSTALGIC DETAILS (DECORATIVE STRIPES & DOTS) ===== */
.section {
  position: relative;
  overflow: visible;
}
.section::before {
  content: '';
  display: block;
  position: absolute;
  left: 24px; top: 8px;
  height: 36px; width: 6px;
  border-radius: 8px;
  background: var(--vintage-orange);
  opacity: 0.18;
  z-index: 1;
}
@media (max-width: 800px) {
  .section::before {left:7px; top:10px;}
}


/* ===== UTILITIES ===== */
.hide { display: none !important; }