/* 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,
main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background-color: #f8f6ee;
  color: #2B3A22;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #264226;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD200;
  outline: none;
}
ul, ol {
  padding-left: 25px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
  font-size: 1.1em;
}

/* VINTAGE RETRO THEME COLORS, FONTS, PATTERNS */
:root {
  --vintage-primary: #265426;
  --vintage-primary-dark: #18371a;
  --vintage-secondary: #B2CCB0;
  --vintage-accent: #FFD200;
  --vintage-bg: #f8f6ee;
  --vintage-bg-alt: #f2eacc;
  --vintage-orange: #F5A623;
  --vintage-red: #d7472d;
  --vintage-shadow: rgba(44, 52, 30, 0.08);
  --radius-card: 18px;
  --radius-btn: 24px;
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  --font-body: 'Roboto', 'Segoe UI', Arial, sans-serif;
}

body {
  background: var(--vintage-bg);
  font-family: var(--font-body);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Header Styles */
header {
  background: var(--vintage-primary);
  color: #fff;
  width: 100%;
  box-shadow: 0 4px 24px var(--vintage-shadow);
}
header .container {
  min-height: 78px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header img {
  height: 42px;
  width: auto;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1.15em;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 1px 1px 0 #285d29;
  padding: 6px 2px;
  position: relative;
  transition: color 0.2s;
}
header nav a:hover,
header nav a:focus {
  color: var(--vintage-accent);
}
.cta-btn {
  display: inline-block;
  background: var(--vintage-accent);
  color: var(--vintage-primary-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12em;
  letter-spacing: 0.04em;
  border: none;
  border-radius: var(--radius-btn);
  padding: 10px 28px;
  box-shadow: 0 4px 12px var(--vintage-shadow);
  cursor: pointer;
  margin-left: 24px;
  text-transform: uppercase;
  transition: background 0.22s, color 0.22s, box-shadow 0.2s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #FFE25A;
  color: var(--vintage-primary-dark);
  box-shadow: 0 8px 24px var(--vintage-shadow);
}

/* Hamburger Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: var(--vintage-accent);
  color: var(--vintage-primary);
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2001;
  box-shadow: 0 4px 14px var(--vintage-shadow);
  cursor: pointer;
  transition: background 0.22s, color 0.18s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--vintage-orange);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #FFFBEA;
  box-shadow: 0 0 0 100vmax rgba(38,84,38,0.1);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.75,-0.35,.24,1.42);
  will-change: transform;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: transparent;
  color: var(--vintage-primary);
  font-size: 2.2rem;
  border: none;
  align-self: flex-end;
  margin: 26px 24px 12px 0;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--vintage-red);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0 0 0 42px;
}
.mobile-nav a {
  color: var(--vintage-primary-dark);
  padding: 12px 0;
  font-family: var(--font-display);
  font-size: 1.22em;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 1px dotted #c6c1a5;
  width: fit-content;
  transition: color 0.17s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--vintage-orange);
}

/* Main Layout Sections */
main {
  flex: 1 1 auto;
  width: 100%;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 0;
}
.hero {
  background: repeating-linear-gradient(45deg, #f8f5e5, #f8f5e5 24px, #ecdfc8 24px, #ecdfc8 48px);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 20px var(--vintage-shadow);
  text-align: center;
  margin-bottom: 60px;
  padding: 56px 20px 38px 20px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--vintage-primary);
  margin-bottom: 16px;
  text-shadow: 0 1px #fff7cc, 0 2px 8px var(--vintage-shadow);
}
.subheadline {
  font-size: 1.35rem;
  color: #72653a;
  margin-bottom: 32px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Features/Icons/Grids */
.features {
  background: var(--vintage-bg-alt);
  border-radius: var(--radius-card);
  margin-bottom: 60px;
}
ul.feature-icons, ul.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  justify-content: flex-start;
  margin: 28px 0 18px 0;
  list-style: none;
}
ul.feature-icons li, ul.feature-grid li {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #fffdf4;
  box-shadow: 0 2px 10px var(--vintage-shadow);
  border-radius: 16px;
  padding: 13px 20px 13px 14px;
  font-size: 1.12em;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--vintage-primary-dark);
  transition: box-shadow 0.22s, background 0.17s;
  gap: 11px;
  margin-bottom: 0;
}
ul.feature-icons li img, ul.feature-grid li img {
  margin-right: 12px;
  width: 34px;
  height: 34px;
  filter: sepia(0.6) hue-rotate(-16deg) brightness(1.2);
}
ul.feature-icons li:hover, ul.feature-grid li:hover {
  background: #fffbe3;
  box-shadow: 0 6px 16px var(--vintage-shadow);
}

/* Cards & Price Table */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  background: #FFFBEA;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 14px var(--vintage-shadow);
  padding: 26px 28px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 6px 30px var(--vintage-shadow);
  transform: translateY(-3px) scale(1.022);
}

/* Services / Offer List */
.services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.services ul li {
  background: #fffdf4;
  border-radius: 13px;
  box-shadow: 0 2px 10px var(--vintage-shadow);
  flex: 1 1 260px;
  min-width: 230px;
  padding: 22px 18px 20px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1.09em;
  font-family: var(--font-display);
  position: relative;
}
.services ul li .price {
  color: var(--vintage-accent);
  font-weight: bold;
  font-size: 1.13em;
  letter-spacing: 0.03em;
  font-family: var(--font-display);
  margin-top: 6px;
  text-shadow: 0 1px #fffab0;
}

/* Testimonial Slider */
.testimonials {
  background: #fffbe3;
  border-radius: var(--radius-card);
  margin-bottom: 60px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px 18px 28px;
  border-radius: 15px;
  background: #f9f9f4;
  box-shadow: 0 5px 18px var(--vintage-shadow);
  margin-bottom: 20px;
  flex: 1 1 280px;
  max-width: 350px;
  min-width: 220px;
  color: #222;
}
.testimonial-card p {
  font-size: 1.16em;
  font-family: var(--font-display);
  color: #483c17;
  line-height: 1.6;
}
.testimonial-card strong {
  font-size: 1em;
  color: var(--vintage-primary);
  margin-top: 8px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/***** TYPOGRAPHY - RETRO SCALE *****/
h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--vintage-primary);
  font-weight: 800;
  margin-bottom: 26px;
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-shadow: 0 1px #e6dfbb, 0 3px 10px var(--vintage-shadow);
}
h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--vintage-orange);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  font-weight: 700;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.19rem;
  color: var(--vintage-primary);
  font-weight: 600;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--vintage-primary-dark);
  font-size: 1.07rem;
}
p {
  font-size: 1.09em;
  color: #463c25;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--vintage-primary);
}

.text-section {
  margin-bottom: 20px;
  font-size: 1.08em;
  line-height: 1.65;
  color: #463c25;
  font-family: var(--font-body);
}

/* CTA */
.cta {
  background: #fffbe3;
  border-radius: var(--radius-card);
  box-shadow: 0 3px 18px var(--vintage-shadow);
  text-align: center;
  margin-bottom: 60px;
  padding: 44px 20px 44px 20px;
}
.cta h2 {
  font-size: 1.7rem;
}
.cta .cta-btn {
  margin-top: 22px;
}

/* Footer */
footer {
  background: var(--vintage-primary);
  color: #fff;
  padding: 30px 0 0 0;
  box-shadow: 0 -2px 16px var(--vintage-shadow);
}
footer .container {
  flex-direction: column;
  gap: 18px;
  padding-bottom: 12px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: center;
  margin-bottom: 15px;
  margin-top: 0;
}
footer nav a {
  color: #ffee94;
  font-size: 1.03em;
  font-family: var(--font-display);
  border-bottom: 1px dashed #ffe366;
  transition: color 0.15s;
}
footer nav a:hover,
footer nav a:focus {
  color: #fff79b;
}
footer .text-section p {
  color: #f7e7c7;
  font-size: 0.96em;
  letter-spacing: 0.006em;
  margin-bottom: 0.4em;
  text-align: center;
}

/* Responsive & Flexbox */
@media (max-width: 1024px) {
  header .container {
    flex-wrap: wrap;
    gap: 9px;
  }
  .features ul.feature-icons, .features ul.feature-grid {
    gap: 15px 12px;
  }
  .card-container {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 10px;
  }
  .section, section, .hero, .cta, .features {
    padding: 26px 4px;
    margin-bottom: 38px;
  }
  .hero {
    padding: 38px 3px 18px 3px;
  }
  .cta {
    padding: 28px 5px 30px 5px;
  }
  .services ul, .features ul.feature-grid, .features ul.feature-icons, .testimonial-slider {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 17px;
    align-items: stretch;
  }
}

/* Cookie Consent Banner */
#cookie-banner, .cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3300;
  background: #fffbe3;
  color: #483c17;
  box-shadow: 0 -4px 32px var(--vintage-shadow);
  padding: 22px 8px 18px 8px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 26px;
  font-size: 1.04em;
  font-family: var(--font-body);
  border-top: 2px dotted #FFD200;
  transition: transform 0.35s cubic-bezier(.6,-0.2,.15,1.15), opacity 0.22s;
}
#cookie-banner.hidden, .cookie-banner.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
#cookie-banner p, .cookie-banner p {
  margin: 0;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  background: var(--vintage-accent);
  border: none;
  color: var(--vintage-primary-dark);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-btn);
  padding: 6px 22px;
  font-size: 1em;
  cursor: pointer;
  margin: 0 2px;
  transition: background 0.17s, color 0.15s;
}
.cookie-btn.secondary {
  background: #f2eacc;
  color: #483c17;
  font-weight: 600;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #ffe898;
  color: var(--vintage-primary);
}

/* Cookie Modal */
#cookie-modal, .cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 3400;
  background: rgba(39,41,24,0.39);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
#cookie-modal.open, .cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fffbe3;
  border-radius: var(--radius-card);
  padding: 36px 30px 28px 30px;
  box-shadow: 0 8px 38px var(--vintage-shadow);
  min-width: 290px;
  max-width: 98vw;
  font-family: var(--font-body);
  color: #3a3623;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.cookie-modal-content h3 {
  font-family: var(--font-display);
  font-size: 1.28em;
  margin-bottom: 10px;
  color: var(--vintage-primary);
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 24px;
  font-size: 1.6em;
  background: transparent;
  border: none;
  color: #626240;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover {
  color: var(--vintage-orange);
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.cookie-switch {
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background: #dfce8c;
  position: relative;
  transition: background 0.14s;
  cursor: pointer;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-switch .slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px var(--vintage-shadow);
  transition: left 0.18s;
}
.cookie-switch input:checked + .slider {
  left: 20px;
  background: var(--vintage-accent);
}
.cookie-category label {
  font-size: 1.02em;
  color: var(--vintage-primary-dark);
  user-select: none;
}
.cookie-category.essential label { font-weight: bold; }

@media (max-width: 768px) {
  #cookie-banner, .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 16px 6px 14px 6px;
    font-size: 0.99em;
  }
  .cookie-banner-buttons {
    flex-direction: row;
    gap: 8px;
  }
  .cookie-modal-content {
    padding: 21px 7vw 19px 7vw;
    min-width: 0;
    max-width: 97vw;
    font-size: 0.99em;
  }
}

/* Utility Classes for Spacing */
.mt-8 { margin-top: 8px !important; }
.mb-8 { margin-bottom: 8px !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.gap-32 { gap: 32px !important; }

/* Decorative Retro Details */
.section, section {
  border-bottom: 2px dashed #e8e097;
  position: relative;
  overflow: visible;
}
.section:last-child, section:last-child {
  border-bottom: none;
}

/* Microinteractions / Transitions */
button, .cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.15s, color 0.13s, box-shadow 0.18s, transform 0.17s;
}
button:active, .cta-btn:active, .cookie-btn:active, .mobile-menu-toggle:active {
  transform: scale(0.98);
}

/* Accessibility / Focus Styles */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus, input:focus {
  outline: 2px dashed #FFD200;
  outline-offset: 2px;
}

/* Hide visually for accessiblity helpers */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
