/* =============================
   CSS RESET & NORMALIZE
   ============================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  scroll-behavior: smooth;
}
html {
  font-size: 16px;
}
body {
  background: #F4F0EB;
  color: #39332d;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #395145;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B99665;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.4rem;
  margin-top: 12px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: bold;
}
em {
  font-style: italic;
}

/* =============================
   BRAND TYPOGRAPHY
   ============================= */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Roboto:ital,wght@0,400;0,700;1,400&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  color: #395145;
  line-height: 1.15;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.75rem;
  letter-spacing: 0.5px;
  font-weight: 700;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.38rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 700;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  color: #395145;
  opacity: .8;
  margin-bottom: 22px;
}
.text-section p, .content-wrapper p {
  margin-bottom: 18px;
  font-size: 1.05rem;
  color: #39332d;
}

/* =============================
   vintage_retro COLOR PALETTE
   ============================= */
:root {
  --primary: #395145;
  --secondary: #B99665;
  --accent: #F4F0EB;
  --dark-text: #39332d;
  --light-bg: #F4F0EB;
  --border: #CFC0AD;
  --mid-bg: #F7E7CE;
  --retro-orange: #e1b07e;
  --retro-red: #AE5752;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--light-bg);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(185,150,101,0.10);
  border: 1.5px solid var(--border);
}

@media (max-width: 768px) {
  .section {
    padding: 22px 8px;
    margin-bottom: 36px;
    border-radius: 10px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fffbe7;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(57,81,69,0.08);
  margin-bottom: 20px;
  position: relative;
  border: 1.2px solid var(--border);
  padding: 28px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 4px 26px 0 rgba(57,81,69,.13);
  transform: translateY(-4px) scale(1.02);
  border-color: var(--secondary);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #39332d;
}
.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;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fffbe7;
  color: #1f271b;
  padding: 20px;
  border-radius: 16px;
  border: 1.2px solid var(--border);
  margin-bottom: 24px;
  box-shadow: 0 4px 20px 0 rgba(57,81,69,0.08);
}
.testimonial-card p {
  margin-bottom: 0;
  color: #39332d;
  font-size: 1rem;
}

.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.testimonial-card strong {
  color: var(--retro-red);
  font-family: 'Cormorant Garamond', serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* =============================
   HEADER & MAIN NAVIGATION
   ============================= */
header {
  width: 100%;
  background: var(--primary);
  border-bottom: 1.5px solid var(--border);
  position: relative;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.logo img {
  height: 50px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.07em;
  padding: 2px 4px;
  position: relative;
  transition: color 0.24s;
  font-size: 1rem;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
  text-decoration: underline wavy var(--secondary) 1.8px;
}

.btn-primary {
  font-family: 'Cormorant Garamond', serif;
  background: var(--secondary);
  color: #fff;
  font-size: 1.22rem;
  padding: 8px 32px;
  border-radius: 32px;
  border: none;
  box-shadow: 0 2px 7px rgba(185,150,101,0.07);
  cursor: pointer;
  font-weight: 600;
  margin-left: 32px;
  letter-spacing: 1px;
  transition: background 0.19s, color 0.19s, transform .14s;
  position: relative;
  z-index: 2;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary);
  color: var(--secondary);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 2px 20px 0 rgba(185,150,101,0.10);
}

@media (max-width: 1024px) {
  header .container {
    height: 64px;
  }
  .logo img {
    height: 42px;
  }
  .btn-primary {
    font-size: 1.08rem;
    margin-left: 22px;
    padding: 7px 20px;
  }
}

@media (max-width: 770px) {
  .main-nav, .btn-primary {
    display: none;
  }
  header .container {
    padding-right: 0;
  }
}

/* =============================
   MOBILE MENU (HAMBURGER NAV)
   ============================= */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: #fff;
  font-size: 2.3rem;
  border: none;
  border-radius: 8px;
  padding: 2px 16px 1px 18px;
  cursor: pointer;
  margin-left: 16px;
  margin-right: 4px;
  transition: background 0.2s, color 0.19s;
  z-index: 52;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--retro-red);
  color: #fffbe7;
}

@media (max-width: 770px) {
  .mobile-menu-toggle {
    display: block;
  }
}
/* Mobile Menu Overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  right: 0; top: 0;
  width: 100vw;
  max-width: 350px;
  height: 100vh;
  background: var(--primary);
  box-shadow: -4px 0 18px rgba(57,81,69,0.15);
  z-index: 6000;
  transform: translateX(110%);
  transition: transform 0.36s cubic-bezier(.77,0,.18,1);
  will-change: transform;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0%);
  transition: transform 0.34s cubic-bezier(.19,1,.22,1);
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.1rem;
  font-family: monospace;
  font-weight: bold;
  align-self: flex-end;
  margin: 21px 16px 8px 0;
  cursor: pointer;
  transition: color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0 0 24px 0;
  padding: 36px 32px 12px 38px;
}
.mobile-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.36rem;
  font-weight: 600;
  color: var(--accent);
  padding: 5px 8px;
  border-radius: 4px;
  transition: color .18s, background .17s;
}
.mobile-nav a:hover, .mobile-nav a:active, .mobile-nav a:focus {
  color: var(--secondary);
  background: #fffbe7;
  text-decoration: underline wavy var(--secondary) 1.6px;
}

@media (max-width: 450px) {
  .mobile-menu {
    max-width: 100vw;
  }
  .mobile-nav {
    padding: 34px 8vw 10px 16vw;
  }
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
  background: repeating-linear-gradient(
                130deg,
                var(--mid-bg), 
                var(--mid-bg) 32px,
                #F4F0EB 32px, 
                #F4F0EB 64px
              );
  border-bottom: 3px solid var(--secondary);
  box-shadow: 0 7px 24px -10px rgba(57,81,69,0.08) inset;
  padding: 58px 0 44px 0;
  margin-bottom: 34px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.hero h1 {
  font-size: 3.0rem;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 7px;
  text-shadow: 2px 2px 0 #e1b07e22;
}
.hero .subheadline {
  font-size: 1.23rem;
  color: #444032;
  margin-bottom: 18px;
}
.hero .btn-primary {
  margin: 15px 0 0 0;
  padding: 10px 36px;
  font-size: 1.22rem;
}
@media (max-width: 770px) {
  .hero {
    padding: 32px 0 18px 0;
    margin-bottom: 22px;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
}

/* =============================
   FOOTER
   ============================= */
footer {
  background: #395145;
  color: #fff;
  padding: 34px 0 28px 0;
  border-top: 2.5px solid var(--secondary);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer img {
  height: 34px;
  filter: grayscale(0.13) sepia(.3) contrast(1.17);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin: 4px 0 4px 0;
  font-size: 1.09rem;
}
.footer-nav a {
  color: #fffbe7;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: .7px;
  transition: color .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
  text-decoration: underline wavy var(--secondary) 1.5px;
}
footer p {
  color: #E7DBC0;
  font-size: 1.04rem;
  margin: 0;
  text-align: center;
}

@media (max-width: 550px) {
  .footer-nav {
    gap: 14px;
    font-size: 1.02rem;
    flex-direction: column;
  }
  footer .container {
    gap: 9px;
  }
}

/* =============================
   CARDS AND SECTIONS
   ============================= */
.card {
  background: #fffbe7;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(185,150,101,0.07);
  border: 1.4px solid var(--border);
  transition:box-shadow .2s, border .2s, transform .16s;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

/* =============================
   LISTS & UTILITY DECORATION
   ============================= */
ul {
  list-style-type: circle;
}
ul > li > strong {
  color: #AE5752;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  letter-spacing: .5px;
}
ul li span {
  background: var(--mid-bg);
  color: var(--primary);
  padding: 1px 7px;
  border-radius: 6px;
  font-size: .98em;
  margin-left: 6px;
}
@media (max-width: 600px) {
  ul, ol {
    padding-left: 1.05rem;
  }
}

/* =============================
   SPACING HELPERS AND UTILITIES
   ============================= */
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 8px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 16px !important; }
.mb-5 { margin-bottom: 32px !important; }
.text-center { text-align: center !important; }

/* =============================
   MICRO-INTERACTIONS & EFFECTS
   ============================= */
.btn-primary, .card, .testimonial-card, .mobile-menu, .cookie-banner, .cookie-modal {
  transition: box-shadow .23s, background .18s, color .19s, transform .16s;
}

/* =============================
   RESPONSIVE
   ============================= */
@media (max-width: 900px) {
  .container {
    max-width: 95vw;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size:1.32rem; }
  .content-wrapper {
    gap: 12px;
  }
  .section {
    padding: 16px 8px;
    margin-bottom: 28px;
  }
}
@media (max-width: 520px) {
  html { font-size: 14px; }
  .container {
    padding: 0 7px;
  }
  h1, h2 { text-align: center; }
  .btn-primary { width: 100%; text-align: center; font-size: 1em;}
}

/* =============================
   COOKIE BANNER & MODAL
   ============================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--mid-bg);
  border-top: 2px solid var(--secondary);
  padding: 16px 12px 14px 14px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 34px 0 rgba(185,150,101,0.09);
  font-size: 1.01em;
}
.cookie-banner__text {
  font-family: 'Roboto', Arial, sans-serif;
  color: #395145;
  margin-bottom: 10px;
  text-align: center;
}
.cookie-banner__actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 3px;
}
.cookie-btn {
  background: #fffbe7;
  color: #395145;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 5px 22px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  margin: 0 2px 0 2px;
  cursor: pointer;
  transition: background .18s, color .18s, border .16s;
  box-shadow: 0 1px 7px rgba(57,81,69,0.02);
  font-weight: 600;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: #fff;
  border: 1.2px solid var(--border);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--primary);
  color: #B99665;
  border-color: var(--secondary);
}
.cookie-btn.reject {
  background: var(--retro-red);
  color: #fff;
  border: 1.1px solid var(--retro-red);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fffbe7;
  color: var(--retro-red);
}
.cookie-btn.settings {
  background: var(--mid-bg);
  color: #395145;
  border: 1.1px solid var(--secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--secondary);
  color: #fff;
}

/* [COOKIE MODAL] */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(57,81,69,0.35);
  z-index: 10010;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fffbe7;
  color: #395145;
  max-width: 410px;
  min-width: 270px;
  padding: 32px 18px 22px 22px;
  border-radius: 17px;
  box-shadow: 0 8px 38px rgba(57,81,69,0.13);
  z-index: 10011;
  display: flex;
  flex-direction: column;
  gap: 11px;
  position: relative;
  animation: cookiein .44s cubic-bezier(.77,0,.18,1);
}
@keyframes cookiein {
  0% { transform: translateY(40px) scale(0.97); opacity: 0; }
  80% { transform: translateY(-9px) scale(1.01); opacity: .93; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 17px; top: 13px;
  font-size: 1.8rem;
  background: none;
  color: #395145;
  border: none;
  cursor: pointer;
  transition: color .15s;
  z-index: 20;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: var(--retro-red); }
.cookie-modal h3 {
  margin: 0 0 7px 0;
  font-size: 1.34rem;
}
.cookie-modal ul {
  margin: 9px 0 6px 16px;
  font-size: .99rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 1rem;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #F7E7CE;
  border-radius: 14px;
  border: 1px solid #B99665;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .18s;
}
.cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 3.5px;
  top: 2.5px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform .18s;
  box-shadow: 0 1px 3px rgba(185,150,101,.12);
}
.cookie-toggle:checked::before {
  transform: translateX(15px);
}
/* Always enabled text style */
.cookie-modal .always-on {
  color: #AE5752;
  font-size: .97em;
  margin-left: 7px;
  opacity: .77;
}
@media (max-width: 490px) {
  .cookie-modal {
    min-width: 0;
    padding: 17px 3vw 17px 3vw;
  }
}

/* =============================
   VINTAGE RETRO VISUAL ELEMENTS
   ============================= */
/* Patterns & Borders for Nostalgic Feel */
.section {
  background:
    linear-gradient(90deg,#fffbe7 7px,transparent 1%) center, 
    linear-gradient(#fffbe7 7px,transparent 1%) center, 
    var(--light-bg);
  background-size: 28px 28px;
  border-radius: 20px;
}

.hero {
  background:
    repeating-linear-gradient(110deg, #F7E7CE, #F4F0EB 44px, #B9966521 66px);
  border-bottom: 5px dotted #B99665;
}
.card, .testimonial-card {
  border: 1.5px dashed #e1b07e66;
}

/* Decorative corners for vintage style */
.card:before, .testimonial-card:before {
  content: '';
  position: absolute;
  left: 0; top:0;
  width: 28px; height: 28px;
  border-top: 4px double #B99665;
  border-left:4px double #B99665;
  border-radius: 18px 0 0 0;
  opacity:.18;
  pointer-events: none;
}
.card:after, .testimonial-card:after {
  content: '';
  position: absolute;
  right:0; bottom:0;
  width: 28px; height: 28px;
  border-bottom:4px double #B99665;
  border-right:4px double #B99665;
  border-radius: 0 0 18px 0;
  opacity:.18;
  pointer-events: none;
}

/* =============================
   FORMS (for future scalability)
   ============================= */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  padding: 8px;
  border: 1.2px solid #CFC0AD;
  border-radius: 5px;
  width: 100%;
  background: #fffbe7;
  color: #39332d;
  font-size: 1rem;
  margin-bottom: 18px;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #B99665;
  border-color: #B99665;
  background: #F4F0EB;
}
button, .btn {
  font-family: 'Cormorant Garamond', serif;
}

/* =============================
   ANIMATIONS
   ============================= */
.btn-primary, .btn, .card, .testimonial-card, .cookie-btn, .card:before, .card:after {
  transition: box-shadow .23s, background .20s, color .20s, border .14s, transform .13s;
}
.mobile-menu {
  transition: transform 0.38s cubic-bezier(.21, .89, .32, 1.15);
}

/* ================
   PRINT OPTIMIZE
   ================ */
@media print {
  header, footer, .cookie-banner, .mobile-menu {
    display: none !important;
  }
  body { background: #fff; color: #1b1a17; }
}
